/*--------------------------------------------------------------
# INGO Partners & Sponsors Platform Stylesheet
# Strict adherence to design tokens: Jost font, #7f180c (primary),
# #0f0d1d (dark), #cba158 (gold), #f2f4f8 (light)
--------------------------------------------------------------*/

/* ===== 1. NAVIGATION DROPDOWN STYLING ===== */
.main-menu .main-menu__list li.dropdown > a:after,
.stricky-header .main-menu__list li.dropdown > a:after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 11px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.main-menu .main-menu__list li.dropdown:hover > a:after,
.stricky-header .main-menu__list li.dropdown:hover > a:after {
    transform: rotate(180deg);
}

.main-menu .main-menu__list li ul,
.stricky-header .main-menu__list li ul {
    min-width: 270px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
    border-top: 3px solid var(--thm-primary);
    padding: 8px 0;
    background-color: #ffffff;
}

.main-menu .main-menu__list li ul li a,
.stricky-header .main-menu__list li ul li a {
    font-size: 13.5px;
    text-transform: none;
    letter-spacing: 0;
    padding: 9px 22px;
    font-weight: 600;
    color: #222222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.main-menu .main-menu__list li ul li.dropdown-primary-cta a,
.stricky-header .main-menu__list li ul li.dropdown-primary-cta a {
    background-color: rgba(127, 24, 12, 0.07);
    color: var(--thm-primary) !important;
    font-weight: 800;
    font-size: 14px;
    border-bottom: 1px solid rgba(127, 24, 12, 0.15);
    margin-bottom: 4px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.main-menu .main-menu__list li ul li.dropdown-primary-cta a:hover,
.stricky-header .main-menu__list li ul li.dropdown-primary-cta a:hover {
    background-color: var(--thm-primary) !important;
    color: #ffffff !important;
    padding-left: 26px;
}

.main-menu .main-menu__list li ul li:hover > a,
.stricky-header .main-menu__list li ul li:hover > a {
    background-color: rgba(203, 161, 88, 0.12);
    color: var(--thm-primary);
    padding-left: 26px;
}

/* Mobile Nav Adjustments */
.mobile-nav__container .main-menu__list .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav__container .main-menu__list .dropdown > a button {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 16px;
    padding: 4px 10px;
}

.mobile-nav__container .main-menu__list li.dropdown-primary-cta a {
    color: #cba158 !important;
    font-weight: 800;
}


/* ===== 2. HOMEPAGE PROMINENT PARTNERS & SPONSORS SECTION ===== */
.partners-home-section {
    position: relative;
    padding: 100px 0 100px;
    background: linear-gradient(180deg, #fbfbfc 0%, #f4f6fa 100%);
    overflow: hidden;
}

.partners-home-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(203, 161, 88, 0.4), transparent);
}

.partners-home-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 55px;
}

.partners-tagline {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: #cba158;
    background: rgba(203, 161, 88, 0.14);
    border: 1px solid rgba(203, 161, 88, 0.4);
    border-radius: 30px;
    padding: 6px 20px;
    margin-bottom: 16px;
}

.partners-home-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f0d1d;
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.partners-home-subtitle {
    font-size: 17px;
    line-height: 1.75;
    color: #555555;
    margin-bottom: 25px;
}

/* Value Delivery Highlight Pills */
.partners-value-pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.partners-pillar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e5eb;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1d20;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.partners-pillar-badge i {
    color: var(--thm-primary);
    font-size: 14px;
}

/* Partner Cards Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-bottom: 50px;
}

.partner-card {
    background: #ffffff;
    border: 1px solid #e7eaef;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    position: relative;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(15, 13, 29, 0.1);
    border-color: rgba(203, 161, 88, 0.5);
}

.partner-card__logo-box {
    height: 95px;
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    margin-bottom: 18px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.02);
}

.partner-card__logo {
    max-height: 70px;
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.partner-card:hover .partner-card__logo {
    transform: scale(1.04);
}

.partner-card__category {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--thm-primary);
    background: rgba(127, 24, 12, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.partner-card__title {
    font-size: 17.5px;
    font-weight: 700;
    color: #0f0d1d;
    margin-bottom: 8px;
    line-height: 1.35;
}

.partner-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.partner-card__title a:hover {
    color: var(--thm-primary);
}

.partner-card__desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #61646b;
    margin-bottom: 16px;
    flex-grow: 1;
}

.partner-card__initiative {
    font-size: 12px;
    font-weight: 600;
    color: #2b303a;
    background: #f7f8fa;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.partner-card__initiative i {
    color: #cba158;
}

.partner-card__link {
    font-size: 13px;
    font-weight: 800;
    color: var(--thm-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
    margin-top: auto;
}

.partner-card__link:hover {
    color: #0f0d1d;
    gap: 10px;
}

/* Prominent Homepage Section CTA */
.partners-home-cta {
    background: #ffffff;
    border: 1px solid #e5e8ee;
    border-radius: 12px;
    padding: 32px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.partners-home-cta__text h4 {
    font-size: 22px;
    font-weight: 800;
    color: #0f0d1d;
    margin-bottom: 6px;
}

.partners-home-cta__text p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 0;
}

.partners-home-cta__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.thm-btn--outline {
    background: transparent !important;
    color: #0f0d1d !important;
    border: 2px solid #0f0d1d !important;
}

.thm-btn--outline:hover {
    background: #0f0d1d !important;
    color: #ffffff !important;
}


/* ===== 3. DEDICATED DIRECTORY PAGE (partners.html) ===== */
.partners-directory-hero {
    background: linear-gradient(135deg, #0f0d1d 0%, #1a1218 60%, #7f180c 100%);
    color: #ffffff;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.partners-directory-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #cba158, #df2a29, #cba158);
}

.partners-directory-hero h2 {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.partners-directory-hero p {
    font-size: 17px;
    line-height: 1.75;
    color: #e2e2e2;
    max-width: 820px;
    margin-bottom: 0;
}

/* Value Delivery Framework 4 Pillars */
.value-framework-section {
    padding: 80px 0 60px;
    background: #ffffff;
}

.value-framework-card {
    background: #fbfcff;
    border: 1px solid #e7ecf3;
    border-radius: 12px;
    padding: 30px 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.value-framework-card:hover {
    border-color: rgba(203, 161, 88, 0.6);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.value-framework-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: rgba(127, 24, 12, 0.08);
    color: var(--thm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.value-framework-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #0f0d1d;
    margin-bottom: 10px;
}

.value-framework-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #5b626e;
    margin-bottom: 0;
}

/* Visibility Platform Touchpoints */
.visibility-platform-box {
    background: linear-gradient(135deg, #13161a 0%, #1f242b 100%);
    border-radius: 14px;
    color: #ffffff;
    padding: 50px 40px;
    margin: 50px 0;
    border: 1px solid rgba(203, 161, 88, 0.3);
}

.visibility-touchpoint-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.visibility-touchpoint-item i {
    font-size: 20px;
    color: #cba158;
    margin-top: 4px;
}

.visibility-touchpoint-item h5 {
    color: #ffffff;
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.visibility-touchpoint-item p {
    color: #a8b0bd;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Institutional Endorsement Banner */
.endorsement-strip {
    background: #f7f8fb;
    border: 1px solid #e1e6ee;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 50px;
}

.endorsement-strip__logo-box {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e7ecf3;
    padding: 10px;
}

.endorsement-strip__logo-box img {
    max-height: 55px;
    max-width: 90%;
    object-fit: contain;
}


/* ===== 4. INDIVIDUAL PARTNER DETAIL PAGES ===== */
.partner-detail-header-card {
    background: #ffffff;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    padding: 36px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 35px;
}

.partner-detail-logo-frame {
    height: 120px;
    width: 100%;
    max-width: 280px;
    background: #ffffff;
    border: 1px solid #e9edf2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.partner-detail-logo-frame img {
    max-height: 90px;
    max-width: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-detail-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f0d1d;
    margin: 35px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef1f5;
    position: relative;
}

.partner-detail-section-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--thm-primary);
}

/* Visibility Matrix Grid in Detail Page */
.visibility-matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.visibility-matrix-card {
    background: #fbfbfc;
    border: 1px solid #eaedf3;
    border-radius: 8px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.visibility-matrix-card i {
    color: var(--thm-primary);
    font-size: 18px;
    margin-top: 2px;
}

.visibility-matrix-card h6 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.visibility-matrix-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 0;
}

/* Audience & Reach Metrics Container */
.reach-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.reach-metric-card {
    background: #ffffff;
    border: 1px solid #e3e7ee;
    border-top: 3px solid #cba158;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.reach-metric-card .metric-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.reach-metric-card .metric-value {
    font-size: 17px;
    font-weight: 800;
    color: #0f0d1d;
    margin-bottom: 4px;
}

.reach-metric-card .metric-sub {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Partner Sidebar List */
.partner-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-sidebar-list li {
    margin-bottom: 8px;
}

.partner-sidebar-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f9fb;
    border: 1px solid #e7ecf2;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #222;
    transition: all 0.2s ease;
}

.partner-sidebar-list li.active a,
.partner-sidebar-list li a:hover {
    background: var(--thm-primary);
    color: #ffffff;
    border-color: var(--thm-primary);
    padding-left: 18px;
}


/* ===== 5. RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1199px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .visibility-matrix-grid {
        grid-template-columns: 1fr;
    }
    .reach-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
    .partners-home-title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .partners-home-section {
        padding: 70px 0;
    }
    .partners-home-title {
        font-size: 28px;
    }
    .partners-home-cta {
        padding: 24px 20px;
        text-align: center;
        flex-direction: column;
    }
    .partners-home-cta__actions {
        justify-content: center;
    }
    .reach-metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    .partner-card__logo-box {
        height: 100px;
    }
}
