.fh-inner {
    background: var(--paper, #fff);
    color: var(--ink, #18251f);
}

.fh-inner-hero {
    padding-block: 25px clamp(34px, 4vw, 60px);
    border-bottom: 1px solid var(--line, #dce3df);
    background-color: var(--soft, #f2f6f3);
    background-image: linear-gradient(105deg, #e7efe9, transparent 64%);
}

.fh-crumb {
    margin-bottom: clamp(18px, 3vw, 32px);
    color: var(--muted, #53635c);
    font-size: 14px;
    line-height: 1.65;
}

.fh-crumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fh-crumb li {
    min-width: 0;
    overflow-wrap: anywhere;
}

.fh-crumb li + li {
    border-inline-start: 1px solid #b1bfb7;
    padding-inline-start: 10px;
}

.fh-crumb a {
    color: var(--accent, #166343);
    text-underline-offset: 0.19em;
}

.fh-inner-hero__layout {
    display: grid;
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
}

.fh-inner-hero__layout--media {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.fh-inner-hero__copy {
    min-width: 0;
}

.fh-inner-hero h1 {
    margin: 0;
    color: var(--deep, #102b21);
    font-family: var(--display, inherit);
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 700;
    line-height: 1.19;
    letter-spacing: -0.033em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.fh-inner-hero p {
    max-width: 42em;
    margin: 14px 0 0;
    color: var(--muted, #53635c);
    font-size: 17px;
    line-height: 1.76;
    overflow-wrap: anywhere;
}

.fh-inner-hero__media {
    align-self: stretch;
    min-width: 0;
}

.fh-inner-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.fh-entry-meta {
    display: block;
    margin-bottom: 11px;
    color: var(--accent, #166343);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
}

.fh-inner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.fh-inner-section {
    padding-block: clamp(30px, 4.25vw, 60px);
}

.fh-inner-section--related {
    border-top: 1px solid var(--line, #dce3df);
    background: var(--soft, #f2f6f3);
}

.fh-related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.fh-related-head h2 {
    margin: 0;
    color: var(--deep, #102b21);
    font-size: clamp(1.55rem, 2.5vw, 2.25rem);
    line-height: 1.3;
}

.fh-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.fh-directory-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fh-directory-grid:has(> :only-child) {
    grid-template-columns: minmax(0, 1fr);
}

.fh-directory-card {
    min-width: 0;
    display: flex;
    border: 1px solid var(--line, #dce3df);
    background: var(--paper, #fff);
    transition: border-color 180ms ease;
}

.fh-directory-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.fh-directory-card:is(:hover, :focus-within) {
    border-color: var(--accent, #166343);
}

.fh-directory-card__media {
    overflow: hidden;
    background: var(--soft, #f2f6f3);
}

.fh-directory-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 220ms ease-out;
}

.fh-directory-card__link:hover .fh-directory-card__media img {
    transform: scale(1.025);
}

.fh-directory-card__copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: clamp(16px, 2vw, 26px);
}

.fh-directory-card__meta {
    color: var(--accent, #166343);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.6;
}

.fh-directory-card__title {
    margin: 7px 0 0;
    color: var(--ink, #18251f);
    font-size: clamp(1.18rem, 1.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.fh-directory-card__link:is(:hover, :focus-visible) .fh-directory-card__title {
    color: var(--accent, #166343);
    text-decoration: underline;
    text-underline-offset: 0.19em;
}

.fh-directory-card__copy p,
.fh-directory-empty,
.fh-inner-message p {
    margin: 9px 0 0;
    color: var(--muted, #53635c);
    font-size: 17px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.fh-directory-grid:has(> .fh-directory-card) + .fh-directory-empty {
    display: none;
}

.fh-inner .pagination {
    margin-top: 25px;
}

.fh-inner .pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fh-inner .page-numbers {
    display: inline-grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    padding: 4px 11px;
    border: 1px solid var(--line, #dce3df);
    color: var(--deep, #102b21);
    font-size: 16px;
    text-decoration: none;
}

.fh-inner .page-numbers.current,
.fh-inner .page-numbers:hover {
    border-color: var(--accent, #166343);
    background: var(--accent, #166343);
    color: #fff;
}

.fh-rich-content {
    max-width: 960px;
    color: var(--ink, #18251f);
    font-size: 17px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.fh-rich-content > :first-child,
.fh-contact-info__intro > :first-child {
    margin-top: 0;
}

.fh-rich-content > :last-child,
.fh-contact-info__intro > :last-child {
    margin-bottom: 0;
}

.fh-rich-content h2,
.fh-rich-content h3,
.fh-inner-message h2 {
    margin: 1.05em 0 0.45em;
    color: var(--deep, #102b21);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.32;
    letter-spacing: -0.018em;
}

.fh-rich-content h3 {
    font-size: clamp(1.18rem, 1.8vw, 1.43rem);
}

.fh-rich-content p,
.fh-rich-content ul,
.fh-rich-content ol {
    margin: 0 0 0.95em;
}

.fh-rich-content :is(ul, ol) {
    padding-inline-start: 1.4em;
}

.fh-rich-content a {
    color: var(--accent, #166343);
    text-decoration: underline;
    text-underline-offset: 0.19em;
}

.fh-rich-content img,
.fh-rich-content video {
    display: block;
    max-width: 100%;
    height: auto;
}

.fh-rich-content :is(figure, blockquote, pre, .wp-block-table) {
    max-width: 100%;
    margin: 1.2em 0;
}

.fh-rich-content :is(figcaption, .wp-caption-text) {
    margin-top: 7px;
    color: var(--muted, #53635c);
    font-size: 14px;
}

.fh-rich-content blockquote {
    padding: 10px 16px;
    border-inline-start: 3px solid var(--accent, #166343);
    background: var(--soft, #f2f6f3);
}

.fh-rich-content blockquote p:last-child {
    margin-bottom: 0;
}

.fh-rich-content :is(pre, .wp-block-table) {
    overflow-x: auto;
}

.fh-rich-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.fh-rich-content :is(th, td) {
    padding: 10px 12px;
    border: 1px solid var(--line, #dce3df);
    text-align: start;
}

.fh-rich-content th {
    background: var(--soft, #f2f6f3);
}

.fh-entry-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.fh-searchform {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: min(100%, 500px);
    margin-top: 20px;
}

.fh-searchform input,
.fh-contact-form .fh049-field :is(input:not([type="checkbox"]), textarea) {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #bdcac1;
    border-radius: 0;
    background: #fff;
    color: var(--ink, #18251f);
    font: inherit;
    font-size: 16px;
}

.fh-searchform .fh-button {
    flex: none;
}

.fh-searchform .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.fh-inner-message {
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid var(--line, #dce3df);
    background: var(--soft, #f2f6f3);
}

.fh-inner-message h2 {
    margin-top: 0;
}

.fh-inner-message .fh-button {
    margin-top: 17px;
}

.fh-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
    align-items: start;
    gap: clamp(20px, 4vw, 56px);
}

.fh-contact-info__intro {
    margin-bottom: 20px;
}

.fh-contact-info__details {
    padding-block-start: 18px;
    border-top: 1px solid var(--line, #dce3df);
}

.fh-contact-info__details h2,
.fh-contact-form h2 {
    margin: 0 0 14px;
    color: var(--deep, #102b21);
    font-size: clamp(1.36rem, 2.2vw, 1.75rem);
    line-height: 1.36;
}

.fh-contact-info dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.fh-contact-info dt {
    color: var(--muted, #53635c);
    font-size: 14px;
    line-height: 1.55;
}

.fh-contact-info dd {
    margin: 4px 0 0;
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.fh-contact-info dd a {
    color: var(--accent, #166343);
    font-weight: 650;
    text-underline-offset: 0.17em;
}

.fh-contact-wechat {
    display: inline-grid;
    width: min(100%, 174px);
    justify-items: center;
    gap: 5px;
    margin: 16px 0 0;
    padding: 8px;
    border: 1px solid var(--line, #dce3df);
    color: var(--muted, #53635c);
    font-size: 14px;
    line-height: 1.45;
}

.fh-contact-wechat img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.fh-contact-form {
    min-width: 0;
    padding: clamp(16px, 3vw, 32px);
    border: 1px solid var(--line, #dce3df);
    background: var(--soft, #f2f6f3);
}

.fh-contact-form .fh049-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 15px;
}

.fh-contact-form .fh049-field {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 5px;
    color: var(--ink, #18251f);
    font-size: 16px;
}

.fh-contact-form .fh049-field--wide,
.fh-contact-form .fh049-field--consent {
    grid-column: 1 / -1;
}

.fh-contact-form .fh049-field--consent {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    line-height: 1.55;
}

.fh-contact-form .fh049-field--consent label {
    flex: 1 1 200px;
}

.fh-contact-form .fh049-field--consent a {
    color: var(--accent, #166343);
    text-decoration: underline;
    text-underline-offset: 0.19em;
}

.fh-contact-form .fh049-field--consent input {
    flex: none;
    width: 17px;
    height: 17px;
    margin: 4px 0 0;
    accent-color: var(--accent, #166343);
}

.fh-contact-form textarea {
    min-height: 115px;
    resize: vertical;
}

.fh-contact-form button[type="submit"] {
    margin-top: 15px;
}

.fh-contact-form .fh049-form-notice {
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #95b5a3;
    background: #edf7ef;
    color: #185936;
    font-size: 16px;
    line-height: 1.6;
}

.fh-contact-form .fh049-form-notice[data-status="error"] {
    border-color: #d7a59f;
    background: #fff1ef;
    color: #842a22;
}

@media (min-width: 741px) {
    .fh-directory-grid > .fh-directory-card:only-child .fh-directory-card__link:has(.fh-directory-card__media) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.17fr);
    }
}

@media (max-width: 900px) {
    .fh-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 740px) {
    .fh-inner-hero__layout--media,
    .fh-contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .fh-inner-hero p,
    .fh-directory-card__copy p,
    .fh-directory-empty,
    .fh-inner-message p,
    .fh-rich-content {
        font-size: 16px;
    }

    .fh-related-head {
        flex-wrap: wrap;
        align-items: center;
    }
}

@media (max-width: 490px) {
    .fh-directory-grid,
    .fh-directory-grid:has(> :nth-child(2):last-child),
    .fh-contact-form .fh049-form-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .fh-crumb {
        margin-bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fh-directory-card,
    .fh-directory-card__media img {
        transition: none;
    }

    .fh-directory-card__link:hover .fh-directory-card__media img {
        transform: none;
    }
}
