/**
 * Invest in Hail — Murshid / Hatem platform theme (matches advisor/css/style.css).
 */
:root {
    --icon-color: #05435c;
    --brand: #187c4a;
    --brand-dark: #125a38;
    --brand-light: #e8f4ed;
    --teal: var(--brand);
    --teal-dark: var(--brand-dark);
    --teal-light: var(--brand-light);
    --green: var(--brand);
    --gold: #c9a227;
    --bg: #f4f7f7;
    --surface: #ffffff;
    --text: #05435c;
    --text-muted: #4a7285;
    --border: #c5d8e0;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(5, 67, 92, 0.08);
    --layout-pad-x: clamp(1rem, 2.5vw, 2rem);
    --layout-pad-y: clamp(1rem, 1.75vw, 1.5rem);
    --topnav-height: 4.25rem;
    --font-sans: "Alexandria", sans-serif;

    --blue: var(--text);
    --light-blue: var(--brand);
    --light-green: var(--brand-light);
    --brown: var(--brand);
    --light-brown: var(--text-muted);
    --white-color: var(--surface);
    --header-height: var(--topnav-height);
    --ih-header-gradient: linear-gradient(115deg, #043247 0%, #05435c 48%, #125a38 100%);
    --ih-header-gradient-hover: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        linear-gradient(115deg, #043247 0%, #05435c 48%, #125a38 100%);
}

body {
    background: var(--bg) !important;
    color: var(--text);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h2 {
    color: var(--text) !important;
    font-weight: 700 !important;
}

hr {
    height: 1px !important;
    background: var(--border) !important;
    border-radius: 0;
    margin: 1rem 0;
}

/* —— Topnav (Murshid) —— */
.header,
.ih-header {
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.85rem var(--layout-pad-x);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: inherit;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.brand-text small {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.ih-nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ih-nav-links .nav-item {
    transform: none;
    visibility: visible;
}

.ih-nav-links .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.7rem;
    border-radius: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text) !important;
    transition: color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    box-shadow: inset 0 -2px 0 transparent;
}

.ih-nav-links .nav-link i {
    display: none;
}

.ih-nav-links .nav-link span::after {
    display: none;
}

.ih-nav-links .nav-link:hover,
.ih-nav-links .nav-link:focus {
    color: var(--brand) !important;
    background: transparent;
    box-shadow: inset 0 -2px 0 var(--brand);
}

.ih-topnav-side {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-inline-start: auto;
    flex-shrink: 0;
}

.ih-nav-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border);
}

.ih-nav-search:hover {
    color: var(--brand);
    border-color: var(--brand);
    background: var(--brand-light);
}

.ih-topnav-side .lang2 a {
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-decoration: none;
}

.ih-topnav-side .lang2 a:hover {
    color: var(--teal);
    border-color: var(--teal);
    background: var(--teal-light);
}

.nav-toggle,
.nav-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 1.25rem;
    padding: 0;
}

.nav-close.hide,
.nav-toggle.hide {
    display: none !important;
}

.dropdown-menu {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.dropdown-item {
    color: var(--text) !important;
    font-size: 0.85rem;
}

.dropdown-item:hover {
    background: var(--teal-light);
    color: var(--brand-dark) !important;
}

@media (max-width: 992px) {
    .topnav {
        flex-wrap: wrap;
        padding-bottom: 0.65rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .ih-nav-links {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.15rem;
        padding: 0.5rem 0 0.25rem;
    }

    .ih-nav-links.show-menu {
        display: flex;
    }

    .ih-nav-links .nav-link {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.7rem 0.35rem;
    }

    .brand-logo {
        height: 38px;
        max-width: 130px;
    }

    .brand-text strong {
        font-size: 0.82rem;
    }

    .brand-text small {
        font-size: 0.65rem;
    }
}

/* —— Page layout —— */
.page-main,
.ih-page-main {
    flex: 1 0 auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.ih-page-main:not(.ih-landing) {
    padding: var(--layout-pad-y) var(--layout-pad-x);
}

/* —— Hero (Murshid home-hero card) —— */
.hero-section,
.home-hero.ih-home-hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 6px);
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
    overflow: hidden;
    height: auto;
    min-height: 0;
    padding: 0;
    display: block;
    text-align: center;
}

.hero-overlay,
.home-hero-grid {
    position: static;
    background: none;
    width: 100%;
    height: auto;
    padding: 2.25rem 2rem 1.75rem;
    display: block;
}

.home-hero-copy,
.hero-overlay .container {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto;
    padding: 0;
}

.pill-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.pill-badge-brand {
    background: rgba(24, 124, 74, 0.12);
    color: var(--brand-dark);
    border: 1px solid rgba(24, 124, 74, 0.18);
}

.hero-title,
.home-hero-copy h1 {
    font-size: clamp(1.55rem, 3.5vw, 2.15rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
    margin: 0.85rem 0 0.65rem;
    text-shadow: none;
}

.hero-description,
.home-hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 34rem;
    margin: 0 auto;
    text-shadow: none;
}

.hero-section img.hero-logo {
    display: none;
}

/* —— Content sections as Murshid cards —— */
.opps-section,
.gov-comps-section,
.ads-section,
.events-section,
.splash-section,
.partners-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem !important;
    margin: 0 0 1.25rem !important;
}

.opps-section {
    margin-top: 0 !important;
    background: radial-gradient(circle at top, rgba(24, 124, 74, 0.06) 0%, var(--surface) 42%);
}

.gov-comps-section,
.events-section {
    background: var(--surface);
}

.opps-section .carousel .card,
.gov-comps-section .gov-comp-card,
.ads-section .card {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opps-section .carousel .card:hover,
.gov-comps-section .gov-comp-card:hover,
.ads-section .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(5, 67, 92, 0.12) !important;
}

.op-type-tag {
    background: var(--brand);
    color: #fff;
}

.op-city-tag {
    background: var(--brand-light);
    color: var(--brand-dark);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--border) !important;
}

.carousel-indicators .active {
    background-color: var(--brand) !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: none;
    background-color: var(--brand);
    border-radius: 50%;
    padding: 1rem;
    background-size: 50%;
}

/* —— Buttons —— */
.view-all-opps-btn,
.view-all-comp-btn,
.view-events,
.splash-btn,
.ads-section .btn.btn-register-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.view-all-opps-btn,
.view-all-comp-btn,
.view-events,
.splash-btn {
    background: var(--surface);
    color: var(--teal);
    border: 2px solid var(--teal);
}

.view-all-opps-btn:hover,
.view-all-comp-btn:hover,
.view-events:hover,
.splash-btn:hover {
    background: var(--teal-light);
    color: var(--teal-dark);
}

.ads-section .btn.btn-register-cta {
    background: var(--ih-header-gradient);
    background-color: #05435c;
    color: #fff !important;
    border: 2px solid transparent;
}

.ads-section .btn.btn-register-cta::after {
    display: none;
}

.ads-section .btn.btn-register-cta:hover,
.ads-section .btn.btn-register-cta:focus-visible {
    background: var(--ih-header-gradient-hover);
    color: #fff !important;
}

.ads-section .ad-title {
    background: var(--brand);
    border-radius: calc(var(--radius) - 2px);
}

.ads-section .card-text {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.splash-section .overlay {
    background: linear-gradient(90deg, rgba(18, 90, 56, 0.88), rgba(18, 90, 56, 0.45));
}

.splash-title {
    color: #fff;
}

/* —— Footer (Murshid site-footer) —— */
.main-footer,
.site-footer.ih-site-footer {
    width: 100%;
    text-align: start;
    padding: 2.5rem var(--layout-pad-x) 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
    margin-top: 0 !important;
}

.main-footer .container {
    max-width: none;
    padding: 0;
}

.footer-top {
    margin-bottom: 1rem;
}

.footer-title {
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.footer-divider {
    background: var(--border) !important;
    margin: 1rem 0;
}

footer a,
.site-footer a {
    color: var(--teal);
}

footer a:hover {
    color: var(--teal-dark);
}

footer .social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer .social i {
    background: transparent !important;
    color: var(--text-muted) !important;
    font-size: 0.95rem !important;
    padding: 0;
}

footer .social a:hover {
    background: var(--teal-light);
    border-color: var(--teal);
}

footer .social a:hover i {
    color: var(--teal) !important;
}

.lang2 a {
    border-color: var(--border);
    color: var(--text-muted);
}

.site-footer-line {
    margin: 0;
    line-height: 1.6;
}

.site-footer-sep {
    margin: 0 0.35rem;
    color: var(--border);
}

/* —— Modals —— */
.opportunity-request-modal .modal-header {
    background: var(--brand);
}

.opportunity-request-modal .btn-primary,
.consultation-request-modal .btn-primary,
.subscribe-btn,
.btn-opportunity-submit {
    background: var(--ih-header-gradient) !important;
    background-color: #05435c !important;
    border-color: transparent !important;
    color: #fff !important;
}

.opportunity-request-modal .btn-primary:hover,
.opportunity-request-modal .btn-primary:focus-visible,
.consultation-request-modal .btn-primary:hover,
.consultation-request-modal .btn-primary:focus-visible,
.subscribe-btn:hover,
.subscribe-btn:focus-visible,
.btn-opportunity-submit:hover,
.btn-opportunity-submit:focus-visible {
    background: var(--ih-header-gradient-hover) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.opportunity-request-modal .form-control:focus,
.opportunity-request-modal .form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(24, 124, 74, 0.15);
}

.partners-section h2 {
    color: var(--text);
}

/* —— Partners (static row, grayscale → color on hover, no frames) —— */
.partners-section .partners {
    overflow: visible;
    padding: 1.5rem 0;
    background: transparent;
}

.ih-partners-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem 2.25rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-inline: auto;
}

.ih-partner-item {
    width: 150px;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-height: 0;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.ih-partner-item:hover,
.ih-partner-item:focus-within {
    filter: grayscale(0%);
    opacity: 1;
}

.ih-partner-logo-wrap {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ih-partner-logo-wrap img {
    display: block;
    width: 150px;
    height: 80px;
    object-fit: contain;
    object-position: center;
}

/* —— Alexandria (override Bootstrap system fonts) —— */
:root {
    --bs-font-sans-serif: "Alexandria", sans-serif;
    --bs-body-font-family: var(--font-sans);
    --bs-btn-font-family: var(--font-sans);
}

html,
body,
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.form-label,
.modal,
.modal-title,
.dropdown-menu,
.dropdown-item,
.carousel,
.topnav,
.brand,
.brand-text,
.nav-link,
.footer-title,
.footer-description,
.site-footer-line,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-sans) !important;
}

.ih-opps-page-head {
    margin-bottom: 1.5rem;
}

.ih-opps-page-head h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text, #05435c);
    margin: 0 0 0.35rem;
}

.ih-opps-page-head p {
    margin: 0;
    color: var(--text-muted, #4a7285);
}

.ih-opps-empty {
    margin: 0;
    padding: 2.5rem 0;
    text-align: center;
    color: var(--text-muted, #4a7285);
}

.ih-opps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.opps-section .carousel-item .ih-opps-grid {
    padding: 1.25rem 0 2rem;
}

.opps-section .row {
    align-items: stretch !important;
}

.op-card,
.opps-section .op-card {
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
}

a.op-card.ih-op-card,
.ih-op-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #c5d8e0);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    text-align: start;
    box-shadow: 0 8px 24px rgba(29, 48, 63, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.op-card.ih-op-card:hover,
.ih-op-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(29, 48, 63, 0.12);
    color: inherit;
}

.ih-op-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.45rem;
    padding: 1.25rem 1.3rem 1.3rem;
    min-height: 0;
    height: 100%;
}

.op-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.7;
    color: var(--text, #05435c);
    display: block;
    overflow: visible;
    overflow-wrap: anywhere;
}

.ih-op-card-excerpt,
.opps-section .ih-op-card .card-text,
.ih-op-card .card-text {
    margin: 0;
    color: var(--text-muted, #4a7285);
    font-size: 0.95rem;
    line-height: 1.85;
    height: auto !important;
    display: block;
    overflow: visible;
    flex: 0 1 auto;
    min-height: 0;
}

.ih-op-card .op-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    min-height: 0;
    max-height: none;
    overflow: visible;
}

.ih-op-card .op-type-tag,
.ih-op-card .op-city-tag {
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.18rem 0.55rem;
    margin: 0;
    border-radius: 999px;
}

.ih-op-card-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border, #c5d8e0);
    flex-shrink: 0;
}

.ih-op-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1 1 auto;
}

.ih-op-card-owner {
    display: block;
    min-height: 0;
    font-size: 0.82rem;
    color: var(--text, #1d303f);
    font-weight: 600;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
}

.ih-op-card-amount,
.ih-detail-value.ih-money,
.js-money-input {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    direction: ltr;
    unicode-bidi: isolate;
}

.ih-op-card-amount {
    display: block;
    min-height: 1.2em;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--brand, #187c4a);
    letter-spacing: 0.01em;
}

.ih-op-card-date {
    display: block;
    min-height: 0;
    font-size: 0.82rem;
    color: var(--brand, #187c4a);
    font-weight: 600;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
}

.ih-op-card-more {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand, #187c4a);
}

.ih-op-card img,
.ih-opportunity-hero img,
.op-card .op-img,
.opps-section .ih-op-card .card-img-top {
    display: none !important;
}

.ih-op-card-link {
    color: inherit;
    text-decoration: none;
}

.ih-op-card-link:hover {
    color: var(--teal, #0d7377);
}

.ih-opportunity-article {
    max-width: 820px;
}

.ih-opportunity-show .ih-opportunity-hero {
    overflow: hidden;
    border: 1px solid var(--border, #c5d8e0);
    border-radius: 12px;
    background: var(--surface, #fff);
    box-shadow: 0 8px 24px rgba(29, 48, 63, 0.08);
    padding: 1.5rem 1.35rem 1.4rem;
    margin-bottom: 1.5rem;
}

.ih-opportunity-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand, #187c4a);
}

.ih-opportunity-title {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 700;
    color: var(--text, #05435c);
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.ih-opportunity-description {
    white-space: pre-line;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    color: var(--text, #05435c);
}

.ih-opportunity-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}

.ih-opportunity-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ih-opportunity-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius, 10px);
    background: var(--ih-header-gradient);
    background-color: #05435c;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
}

.ih-opportunity-link:hover,
.ih-opportunity-link:focus-visible {
    background: var(--ih-header-gradient-hover);
    color: #fff !important;
}

.ih-opportunity-hero .op-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ih-opportunity-hero .op-type-tag,
.ih-opportunity-hero .op-city-tag {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    margin: 0;
    border-radius: 999px;
}

.ih-detail-list {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #c5d8e0);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(29, 48, 63, 0.08);
    padding: 0.5rem 0;
    margin: 0;
}

.ih-detail-row {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ih-detail-row:last-child {
    border-bottom: none;
}

.ih-detail-label {
    font-weight: 700;
    margin: 0;
}

.ih-detail-value {
    margin: 0;
    white-space: pre-line;
    line-height: 1.7;
}

.ih-back-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--teal, #0d7377);
}

@media (max-width: 767px) {
    .ih-detail-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}

.ih-opps-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto 1.5rem;
    padding: 1.1rem 1.25rem;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #c5d8e0);
    border-radius: var(--radius, 14px);
    box-shadow: var(--shadow, 0 4px 24px rgba(5, 67, 92, 0.08));
}

.ih-opps-filter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    flex: 1 1 18rem;
}

.ih-opps-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1 1 14rem;
}

.ih-opps-filter-field span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text, #05435c);
}

.ih-opps-filter-field input,
.ih-opps-filter-field select {
    height: 2.6rem;
    padding: 0 0.75rem;
    border: 1px solid var(--border, #c5d8e0);
    border-radius: 10px;
    font: inherit;
    color: var(--text, #05435c);
    background: var(--surface, #fff);
}

.ih-opps-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.ih-opps-filter-submit,
.ih-opps-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.4rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
}

.ih-opps-filter-submit {
    background: var(--ih-header-gradient);
    background-color: #05435c;
    color: #fff;
}

.ih-opps-filter-submit:hover,
.ih-opps-filter-submit:focus-visible {
    background: var(--ih-header-gradient-hover);
    color: #fff;
}

.ih-opps-filter-reset {
    background: transparent;
    color: var(--text, #05435c);
    border-color: var(--border, #c5d8e0);
}

.ih-opps-filter-reset:hover {
    border-color: var(--teal, #0d7377);
    color: var(--teal, #0d7377);
}

.ih-opps-counter {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
    margin: 0 0 1.25rem;
}

.ih-opps-counter-range,
.ih-opps-counter-rest {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted, #4a7285);
}

.ih-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border, #c5d8e0);
}

.ih-pagination-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.ih-pagination-btn,
.ih-pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--border, #c5d8e0);
    border-radius: 10px;
    background: var(--surface, #fff);
    color: var(--text, #05435c);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.ih-pagination-page.is-active {
    background: var(--teal, #0d7377);
    border-color: var(--teal, #0d7377);
    color: #fff;
}

.ih-pagination-btn:hover,
.ih-pagination-page:hover:not(.is-active) {
    border-color: var(--teal, #0d7377);
    color: var(--teal, #0d7377);
}

.ih-pagination-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.ih-pagination-ellipsis {
    min-width: 1.5rem;
    text-align: center;
    color: var(--text-muted, #4a7285);
}

@media (max-width: 768px) {
    .ih-opps-filter,
    .ih-opps-counter {
        flex-direction: column;
        align-items: stretch;
    }

    .ih-opps-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .op-card,
    .opps-section .op-card {
        width: 100% !important;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .ih-opps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* —— Furas-inspired landing (Hail identity colors + Alexandria) —— */
.ih-landing {
    background: var(--bg);
}

.ih-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.85rem;
    padding: 0.55rem 1.4rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ih-btn-primary,
.ih-btn-success {
    background: var(--ih-header-gradient);
    background-color: #05435c;
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(4, 50, 71, 0.22);
}

.ih-btn-primary:hover,
.ih-btn-primary:focus-visible,
.ih-btn-success:hover,
.ih-btn-success:focus-visible {
    background: var(--ih-header-gradient-hover);
    border-color: transparent;
    color: #fff !important;
}

.ih-banner-hero .ih-btn-primary {
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ih-btn-outline {
    background: transparent;
    color: var(--brand) !important;
    border-color: var(--brand);
}

.ih-btn-outline:hover {
    background: var(--brand-light);
}

.ih-banner-hero {
    position: relative;
    overflow: hidden;
    min-height: min(72vh, 36rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3.5rem, 8vw, 6.5rem) var(--layout-pad-x);
    background:
        radial-gradient(circle at 18% 20%, rgba(24, 124, 74, 0.45), transparent 42%),
        var(--ih-header-gradient);
    color: #fff;
    text-align: start;
}

.ih-banner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 50, 71, 0.15) 0%, rgba(4, 50, 71, 0.55) 100%);
    pointer-events: none;
}

.ih-banner-hero-inner {
    position: relative;
    z-index: 1;
    width: min(68rem, 100%);
}

.ih-banner-kicker {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.ih-banner-title,
.ih-banner-hero h1 {
    margin: 0 0 1.1rem;
    font-size: clamp(2.15rem, 5.5vw, 4.15rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff !important;
    max-width: 16ch;
}

.ih-banner-lead {
    margin: 0 0 1.75rem;
    max-width: 38rem;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.86);
}

.ih-stats {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.75rem var(--layout-pad-x);
}

.ih-stats-inner {
    display: grid;
    grid-template-columns: minmax(12rem, 1.2fr) repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.75rem;
    width: min(72rem, 100%);
    margin: 0 auto;
    align-items: center;
}

.ih-stats-item h2,
.ih-stats-item h3 {
    margin: 0 0 0.25rem;
    color: var(--text) !important;
    font-weight: 800 !important;
}

.ih-stats-item h2 {
    font-size: 1.35rem !important;
}

.ih-stats-item h3 {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-variant-numeric: tabular-nums;
}

.ih-stats-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.ih-landing-section {
    padding: clamp(2.5rem, 5vw, 4.25rem) 0;
}

.ih-landing-section .container {
    width: min(72rem, calc(100% - 2 * var(--layout-pad-x)));
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

.ih-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.ih-section-head h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.55rem, 2.6vw, 2.05rem) !important;
    color: var(--text) !important;
}

.ih-section-head p {
    margin: 0;
    max-width: 36rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.ih-support-card,
.ih-idea-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 3vw, 2.4rem);
}

.ih-support-copy h2,
.ih-idea-card h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem) !important;
}

.ih-support-copy p,
.ih-idea-card p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    max-width: 40rem;
    line-height: 1.8;
}

.ih-idea-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.ih-idea-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.ih-partners-head {
    justify-content: center;
    text-align: center;
}

.ih-partners-head > div {
    width: 100%;
}

.ih-partners-head p {
    max-width: none;
}

.ih-partners-block .ih-partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.75rem 2.5rem;
}

.ih-partners-block .ih-partner-item {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-height: 0;
}

.ih-add-opportunity {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2.75rem, 6vw, 5rem) var(--layout-pad-x);
    background:
        radial-gradient(circle at 82% 16%, rgba(24, 124, 74, 0.42), transparent 44%),
        var(--ih-header-gradient);
    color: #fff;
    scroll-margin-top: 0;
}

.ih-add-opportunity-inner {
    width: min(72rem, 100%);
    margin: 0 auto;
}

.ih-add-opportunity-copy {
    text-align: center;
    margin-bottom: 1.75rem;
}

.ih-add-opportunity-copy h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.7rem, 3.2vw, 2.45rem) !important;
    font-weight: 800;
    color: #fff !important;
}

.ih-add-opportunity-copy p {
    margin: 0 auto;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.85;
}

.ih-add-opportunity-panel {
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    padding: clamp(1.5rem, 3vw, 2.4rem);
    color: var(--text);
}

.ih-add-opportunity-panel .form-label,
.ih-add-opportunity-panel h6 {
    color: var(--text);
    font-weight: 600;
}

.ih-add-opportunity-panel .form-control:focus,
.ih-add-opportunity-panel textarea.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(24, 124, 74, 0.15);
}

.ih-add-opportunity-panel .form-text {
    color: var(--text-muted);
}

.ih-page-banner {
    background: var(--ih-header-gradient);
    color: #fff;
    padding: clamp(2.25rem, 5vw, 3.5rem) var(--layout-pad-x);
}

.ih-page-banner .container {
    width: min(72rem, 100%);
    margin: 0 auto;
    padding: 0;
}

.ih-page-banner .ih-banner-kicker {
    color: rgba(255, 255, 255, 0.8);
}

.ih-page-banner h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff !important;
}

.ih-page-banner p {
    margin: 0;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.86);
}

.ih-opps-page {
    background: var(--bg);
}

.ih-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    width: min(72rem, 100%);
    margin: 0 auto 0.5rem;
    text-align: start;
}

.ih-footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.ih-footer-links a {
    text-decoration: none;
}

.ih-footer-dev-logo {
    height: 32px;
    filter: brightness(0) saturate(100%) invert(28%) sepia(47%) saturate(600%) hue-rotate(115deg);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    width: min(72rem, 100%);
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 992px) {
    .ih-stats-inner,
    .ih-footer-grid,
    .ih-idea-grid {
        grid-template-columns: 1fr;
    }

    .ih-banner-title,
    .ih-banner-hero h1 {
        max-width: none;
    }

    .ih-section-head {
        align-items: flex-start;
    }
}
