/* H4H Step 4A — routed navigation, dropdown and public index pages */
.h4h-nav-dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.h4h-nav-dropdown-toggle { appearance: none; border: 0; background: transparent; padding: 0; font: inherit; color: inherit; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; transition: color .2s ease; }
.h4h-nav-dropdown-toggle svg { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s ease; }
.h4h-nav-dropdown:hover > .h4h-nav-dropdown-toggle,
.h4h-nav-dropdown:focus-within > .h4h-nav-dropdown-toggle,
.h4h-nav-dropdown.is-open > .h4h-nav-dropdown-toggle,
.h4h-nav-dropdown.is-active > .h4h-nav-dropdown-toggle { color: var(--h4h-orange); }
.h4h-nav-dropdown:hover > .h4h-nav-dropdown-toggle svg,
.h4h-nav-dropdown:focus-within > .h4h-nav-dropdown-toggle svg,
.h4h-nav-dropdown.is-open > .h4h-nav-dropdown-toggle svg { transform: rotate(180deg); }
.h4h-nav-dropdown-menu { position: absolute; top: calc(100% + 20px); inset-inline-start: 50%; transform: translateX(-50%) translateY(8px); width: 318px; padding: 17px 0; background: #fff; border-top: 3px solid var(--h4h-orange); box-shadow: 0 18px 45px rgba(0,0,0,.14); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; z-index: 80; }
[dir="rtl"] .h4h-nav-dropdown-menu { transform: translateX(50%) translateY(8px); }
.h4h-nav-dropdown:hover > .h4h-nav-dropdown-menu,
.h4h-nav-dropdown:focus-within > .h4h-nav-dropdown-menu,
.h4h-nav-dropdown.is-open > .h4h-nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
[dir="rtl"] .h4h-nav-dropdown:hover > .h4h-nav-dropdown-menu,
[dir="rtl"] .h4h-nav-dropdown:focus-within > .h4h-nav-dropdown-menu,
[dir="rtl"] .h4h-nav-dropdown.is-open > .h4h-nav-dropdown-menu { transform: translateX(50%) translateY(0); }
.h4h-nav-dropdown-menu a { display: block; padding: 11px 24px; color: #252525; font-size: 14px; line-height: 1.55; font-weight: 700; white-space: normal; }
.h4h-nav-dropdown-menu a:hover,
.h4h-nav-dropdown-menu a.active { color: var(--h4h-orange); background: #fcf8f3; }

.h4h-view-all-wrap { display: flex; justify-content: center; margin-top: 35px; }
.h4h-view-all { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; height: 48px; padding: 0 28px; border: 1.5px solid var(--h4h-orange); color: #202020; font-size: 14px; font-weight: 800; transition: color .2s ease, background .2s ease; }
.h4h-view-all:hover { background: var(--h4h-orange); color: #fff; }

.h4h-public-inner { background: #fff; color: #1b1b1b; }
.h4h-index-hero,
.h4h-info-hero,
.h4h-partner-foundation-hero { position: relative; overflow: hidden; padding: 92px 0 82px; background: #fbf7f1; border-bottom: 1px solid #f1ece4; }
.h4h-index-hero::after,
.h4h-info-hero::after,
.h4h-partner-foundation-hero::after { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 440px; height: 440px; border: 1px solid rgba(242,138,22,.15); border-radius: 50%; box-shadow: 0 0 0 55px rgba(242,138,22,.035), 0 0 0 110px rgba(242,138,22,.025); pointer-events: none; }
.h4h-index-hero .h4h-shell,
.h4h-info-hero .h4h-shell,
.h4h-partner-foundation-hero .h4h-shell { position: relative; z-index: 1; }
.h4h-index-kicker,
.h4h-info-hero > .h4h-shell > span { display: block; margin-bottom: 10px; color: var(--h4h-orange); font-size: 13px; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.h4h-index-hero h1,
.h4h-info-hero h1,
.h4h-partner-foundation-hero h1 { margin: 0 0 16px; max-width: 980px; font-size: clamp(38px, 4.2vw, 68px); line-height: 1.15; font-weight: 800; }
.h4h-index-hero p,
.h4h-info-hero p { max-width: 810px; margin: 0; color: #707070; font-size: 17px; line-height: 1.9; }

.h4h-index-content,
.h4h-info-content,
.h4h-partner-foundation-intro,
.h4h-partner-projects-foundation { padding: 78px 0 92px; }
.h4h-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.h4h-index-card { display: flex; flex-direction: column; min-height: 100%; background: #f7f4ee; border: 1px solid #efebe4; }
.h4h-index-card-image { height: 240px; overflow: hidden; background: #eee9e0; }
.h4h-index-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.h4h-index-card:hover .h4h-index-card-image img { transform: scale(1.025); }
.h4h-index-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px 25px 25px; }
.h4h-index-card-label { color: var(--h4h-orange); font-size: 12px; font-weight: 800; }
.h4h-index-card h2 { margin: 8px 0 11px; font-size: 22px; line-height: 1.5; font-weight: 800; }
.h4h-index-card p { flex: 1; margin: 0 0 20px; color: #757575; font-size: 14px; line-height: 1.9; }
.h4h-index-read { align-self: flex-start; padding-top: 13px; border-top: 2px solid var(--h4h-orange); color: #202020; font-size: 13px; font-weight: 800; }

.h4h-partner-index-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.h4h-partner-index-card { min-height: 225px; padding: 27px 22px; border: 1px solid #eeeae3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.h4h-partner-index-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.07); }
.h4h-partner-index-logo { height: 100px; width: 100%; display: grid; place-items: center; margin-bottom: 18px; }
.h4h-partner-index-logo img { max-width: 88%; max-height: 92px; object-fit: contain; }
.h4h-partner-index-card h2 { margin: 0 0 7px; font-size: 18px; line-height: 1.5; }
.h4h-partner-index-card span { color: var(--h4h-orange); font-size: 12px; font-weight: 700; }

.h4h-report-list,
.h4h-career-list { display: grid; gap: 0; border-top: 1px solid #ddd8d0; }
.h4h-report-row,
.h4h-career-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 6px; border-bottom: 1px solid #ddd8d0; }
.h4h-report-row small,
.h4h-career-row span:first-child { color: var(--h4h-orange); font-size: 12px; font-weight: 800; }
.h4h-report-row h2,
.h4h-career-row h2 { margin: 6px 0 8px; font-size: 24px; line-height: 1.45; }
.h4h-report-row p,
.h4h-career-row p { margin: 0; color: #777; font-size: 14px; line-height: 1.8; }
.h4h-index-button { display: inline-flex; align-items: center; justify-content: center; min-width: 145px; min-height: 45px; padding: 10px 20px; border: 1.5px solid var(--h4h-orange); font-size: 13px; font-weight: 800; }
.h4h-index-button:hover { background: var(--h4h-orange); color: #fff; }
.h4h-career-status { flex: 0 0 auto; padding: 8px 15px; background: #eef9f1; color: #278b4b; border-radius: 999px; font-size: 12px; font-weight: 800; }

.h4h-pagination { margin-top: 50px; }
.h4h-pagination nav { display: flex; justify-content: center; }
.h4h-pagination svg { width: 18px; height: 18px; }
.h4h-pagination span[aria-current="page"] span { background: var(--h4h-orange) !important; border-color: var(--h4h-orange) !important; color: #fff !important; }
.h4h-empty-state { padding: 70px 20px; text-align: center; background: #faf8f4; }
.h4h-empty-state h2 { margin: 0 0 10px; font-size: 26px; }
.h4h-empty-state p { margin: 0; color: #777; }

.h4h-info-hero.has-cover { background-image: linear-gradient(rgba(14,14,14,.48), rgba(14,14,14,.48)), var(--h4h-info-cover); background-size: cover; background-position: center; color: #fff; }
.h4h-info-hero.has-cover p { color: rgba(255,255,255,.88); }
.h4h-info-shell { max-width: 1100px; }
.h4h-rich-content { color: #393939; font-size: 16px; line-height: 2; }
.h4h-rich-content h2,
.h4h-rich-content h3 { margin: 34px 0 12px; color: #1b1b1b; font-size: 28px; line-height: 1.45; }
.h4h-rich-content p { margin: 0 0 18px; }
.h4h-info-blocks { display: grid; gap: 42px; }
.h4h-info-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 38px; align-items: center; padding-bottom: 42px; border-bottom: 1px solid #e6e2db; }
.h4h-info-block:nth-child(even) img { order: 2; }
.h4h-info-block img { width: 100%; height: 320px; object-fit: cover; }
.h4h-info-block h2 { margin: 0 0 12px; font-size: 30px; }
.h4h-faq-foundation { display: grid; gap: 12px; }
.h4h-faq-foundation details { border: 1px solid #e7e2da; padding: 20px 24px; }
.h4h-faq-foundation summary { cursor: pointer; font-size: 17px; font-weight: 800; }
.h4h-faq-foundation details > div { padding-top: 14px; color: #666; line-height: 1.9; white-space: pre-line; }
.h4h-contact-panel { display: grid; grid-template-columns: 1fr 1fr auto; gap: 25px; align-items: end; padding: 35px; background: #f8f5ef; }
.h4h-contact-panel span { display: block; color: #8b8b8b; font-size: 12px; margin-bottom: 7px; }
.h4h-contact-panel strong { font-size: 20px; }

.h4h-back-link { display: inline-block; margin-bottom: 18px; color: #777; font-size: 13px; font-weight: 700; }
.h4h-partner-foundation-grid { display: grid; grid-template-columns: minmax(230px,.7fr) minmax(0,1.6fr); gap: 72px; align-items: center; max-width: 1120px; }
.h4h-partner-foundation-logo { min-height: 230px; display: grid; place-items: center; border: 1px solid #ede8df; background: #fff; }
.h4h-partner-foundation-logo img { max-width: 78%; max-height: 180px; object-fit: contain; }
.h4h-partner-foundation-intro h2 { margin: 8px 0 15px; font-size: 34px; line-height: 1.35; }
.h4h-partner-foundation-intro p { margin: 0 0 20px; color: #666; font-size: 15px; line-height: 1.9; }
.h4h-partner-projects-foundation { padding-top: 30px; }
.h4h-partner-projects-foundation > .h4h-shell > h2 { margin: 0 0 30px; font-size: 30px; }
.h4h-partner-project-row { display: grid; grid-template-columns: 330px 1fr; gap: 36px; align-items: center; padding: 26px 0; border-top: 1px solid #d9d4cc; }
.h4h-partner-project-image { height: 210px; overflow: hidden; background: #eee9e1; }
.h4h-partner-project-image img { width: 100%; height: 100%; object-fit: cover; }
.h4h-partner-project-row small { color: var(--h4h-orange); font-size: 11px; font-weight: 800; }
.h4h-partner-project-row h3 { margin: 7px 0 8px; font-size: 23px; line-height: 1.4; }
.h4h-partner-project-row p { margin: 0; color: #777; line-height: 1.75; }
.h4h-inner-footer { margin-top: 0; }

@media (max-width: 1180px) {
    .h4h-nav { gap: 15px; font-size: 15px; }
    .h4h-nav-dropdown-menu { width: 285px; }
    .h4h-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h4h-partner-index-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 920px) {
    .h4h-nav-dropdown { width: 100%; height: auto; display: block; }
    .h4h-nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 2px 0; }
    .h4h-nav-dropdown-menu,
    [dir="rtl"] .h4h-nav-dropdown-menu { position: static; width: 100%; padding: 7px 0 4px; border-top: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; display: none; background: #faf8f4; margin-top: 8px; }
    .h4h-nav-dropdown.is-open > .h4h-nav-dropdown-menu { display: block; transform: none; }
    .h4h-nav-dropdown-menu a { padding: 9px 16px; font-size: 13px; }
    .h4h-partner-foundation-grid { grid-template-columns: 1fr; gap: 32px; }
    .h4h-contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .h4h-index-hero,
    .h4h-info-hero,
    .h4h-partner-foundation-hero { padding: 65px 0 58px; }
    .h4h-index-content,
    .h4h-info-content,
    .h4h-partner-foundation-intro,
    .h4h-partner-projects-foundation { padding: 55px 0 68px; }
    .h4h-index-grid,
    .h4h-partner-index-grid { grid-template-columns: 1fr; }
    .h4h-index-card-image { height: 220px; }
    .h4h-report-row,
    .h4h-career-row { align-items: flex-start; flex-direction: column; }
    .h4h-info-block { grid-template-columns: 1fr; gap: 20px; }
    .h4h-info-block:nth-child(even) img { order: 0; }
    .h4h-info-block img { height: 230px; }
    .h4h-partner-project-row { grid-template-columns: 1fr; gap: 18px; }
    .h4h-partner-project-image { height: 230px; }
}
