:root {
    --explore-red: #c90f45;
    --explore-red-dark: #a40736;
    --explore-navy: #101a38;
    --explore-ink: #16213f;
    --explore-muted: #65708a;
    --explore-line: #dde2eb;
    --explore-soft: #f7f8fb;
    --explore-blue: #1959d7;
    --explore-green: #079568;
    --explore-purple: #8837dc;
    --explore-orange: #ee6506;
}

html { scroll-behavior: smooth; }
body.explore-body { background: #fff; color: var(--explore-ink); font-family: Inter, "Segoe UI", Arial, sans-serif; }
.explore-container { max-width: 1480px; padding-left: clamp(1.25rem, 4vw, 4rem); padding-right: clamp(1.25rem, 4vw, 4rem); }

.explore-header { background: #fff; border-bottom: 1px solid var(--explore-line); position: relative; z-index: 20; }
.explore-header .navbar { min-height: 84px; }
.explore-header .nav-link { color: var(--explore-ink); font-size: .9rem; font-weight: 650; padding: .8rem .7rem !important; }
.explore-header .nav-link:hover { color: var(--explore-red); }
.explore-header .nav-link i { font-size: .55rem; }
.explore-account-links .btn { border-radius: 7px; font-size: .86rem; font-weight: 700; padding: .65rem 1.1rem; }

.explore-wordmark { display: inline-flex; flex-wrap: wrap; line-height: 1; min-width: 150px; text-decoration: none; width: 150px; }
.explore-wordmark span, .explore-wordmark strong { color: var(--explore-navy); font-size: 1.35rem; font-weight: 800; letter-spacing: -.05em; }
.explore-wordmark strong { color: var(--explore-red); }
.explore-wordmark.compact { width: 160px; }
.explore-home-link { color: var(--explore-muted); font-size: .9rem; text-decoration: none; }
.explore-home-link:hover { color: var(--explore-red); }

.btn-explore { background: var(--explore-red); border-color: var(--explore-red); color: #fff; font-weight: 750; }
.btn-explore:hover, .btn-explore:focus { background: var(--explore-red-dark); border-color: var(--explore-red-dark); color: #fff; }

.market-hero { background: radial-gradient(circle at 75% 22%, #f7edff 0, transparent 27%), linear-gradient(120deg, #fff 0%, #fdfdff 56%, #f7f8fc 100%); padding: clamp(3.5rem, 7vw, 7rem) 0 4.5rem; }
.market-hero-copy { max-width: 980px; margin: 0 auto; }
.market-hero h1 { color: var(--explore-navy); font-size: clamp(2.4rem, 3.8vw, 4.3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; margin-bottom: 1.5rem; }
.market-hero-copy > p { color: #52607c; font-size: clamp(1rem, 1.4vw, 1.3rem); line-height: 1.65; }
.market-hero-copy > .btn { border-radius: 7px; margin-top: 1.25rem; }

.trust-row { display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 4rem; }
.trust-row > div { align-items: center; border-right: 1px solid var(--explore-line); display: flex; gap: .8rem; padding: 0 1rem; }
.trust-row > div:first-child { padding-left: 0; }
.trust-row > div:last-child { border-right: 0; }
.trust-row p { line-height: 1.2; margin: 0; }
.trust-row strong, .trust-row small { display: block; }
.trust-row strong { font-size: .78rem; }
.trust-row small { color: var(--explore-muted); font-size: .64rem; margin-top: .25rem; }
.trust-icon { align-items: center; border-radius: 50%; display: inline-flex; flex: 0 0 39px; font-size: 1.25rem; height: 39px; justify-content: center; }
.trust-icon.pink { background: #fff0f5; color: var(--explore-red); }
.trust-icon.green { background: #effbf4; color: #51ad38; }

.featured-showcase { background: linear-gradient(135deg, #11154c, #5b1681); border-radius: 24px; box-shadow: 0 20px 55px rgba(27, 31, 74, .2); min-height: 500px; overflow: hidden; }
.featured-showcase .carousel-inner, .featured-showcase .carousel-item { min-height: 500px; }
.featured-showcase-image { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.featured-shade { background: linear-gradient(90deg, rgba(15,15,62,.96) 0%, rgba(29,14,74,.82) 48%, rgba(36,11,65,.25) 100%); inset: 0; position: absolute; }
.featured-content { color: #fff; display: flex; flex-direction: column; min-height: 500px; padding: clamp(2rem, 4vw, 3.75rem); position: relative; width: min(68%, 620px); z-index: 2; }
.featured-label { align-self: flex-start; background: #fff4f8; border-radius: 999px; color: var(--explore-red); font-size: .72rem; font-weight: 800; padding: .45rem .75rem; text-transform: uppercase; }
.featured-provider { font-size: .85rem; font-weight: 750; letter-spacing: .06em; margin: 2.2rem 0 .6rem; text-transform: uppercase; }
.featured-content h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 3.3rem); font-weight: 800; line-height: 1.08; margin-bottom: 1rem; }
.featured-content > p:not(.featured-provider) { font-size: 1rem; line-height: 1.6; margin-bottom: 1.25rem; }
.featured-deadline { font-size: .8rem; margin: .5rem 0 1.8rem; }
.featured-content .btn { align-self: flex-start; border: 0; border-radius: 7px; color: var(--explore-navy); font-size: .86rem; font-weight: 750; margin-top: auto; padding: .8rem 1.2rem; }
.featured-showcase .carousel-indicators { bottom: 1.25rem; margin: 0; z-index: 4; }
.featured-showcase .carousel-indicators button { border: 0; border-radius: 999px; height: 7px; width: 7px; }
.featured-showcase .carousel-indicators button.active { width: 24px; }
.empty-featured .featured-content { width: 75%; }

.category-section { background: #fff; padding: 1.5rem 0 2.75rem; }
.category-grid { display: grid; gap: 1rem; grid-template-columns: repeat(6, minmax(0,1fr)); }
.category-tile { align-items: center; background: #fff; border: 1px solid var(--explore-line); border-radius: 10px; color: var(--explore-ink); display: flex; gap: .9rem; min-height: 86px; padding: 1rem; text-align: left; transition: .18s ease; }
.category-tile:hover { border-color: #cbd2df; box-shadow: 0 8px 22px rgba(22,33,63,.07); transform: translateY(-2px); }
.category-tile.active { background: #fff7fa; border-color: var(--explore-red); color: var(--explore-red); }
.category-tile span { align-items: center; background: #edf3ff; border-radius: 50%; color: var(--explore-blue); display: inline-flex; flex: 0 0 43px; font-size: 1.1rem; height: 43px; justify-content: center; }
.category-tile:nth-child(1) span { background: #fff0f5; color: var(--explore-red); }
.category-tile:nth-child(3) span { background: #eef4ff; color: var(--explore-blue); }
.category-tile:nth-child(4) span { background: #eefbff; color: #1599bb; }
.category-tile:nth-child(5) span { background: #f1f2ff; color: #344cc4; }
.category-tile:nth-child(6) span { background: #eefbf6; color: var(--explore-green); }
.category-tile strong { font-size: .8rem; line-height: 1.3; }

.opportunities-section { background: linear-gradient(#fafbfc, #fff); padding: 2rem 0 4rem; }
.opportunities-section h2 { color: var(--explore-navy); font-size: clamp(1.7rem, 2.5vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 .35rem; }
.opportunities-section .d-flex > div > p { color: var(--explore-muted); margin: 0; }
.opportunity-column[hidden] { display: none !important; }
.opportunity-card { background: #fff; border: 1px solid var(--explore-line); border-radius: 12px; box-shadow: 0 4px 14px rgba(22,33,63,.04); display: flex; flex-direction: column; height: 100%; overflow: hidden; transition: .18s ease; }
.opportunity-card:hover { box-shadow: 0 14px 32px rgba(22,33,63,.1); transform: translateY(-3px); }
.opportunity-image { background: #e9edf3; display: block; overflow: hidden; }
.opportunity-image img { aspect-ratio: 1/1; object-fit: contain; transition: transform .3s ease; width: 100%; }
.opportunity-card:hover .opportunity-image img { transform: scale(1.025); }
.opportunity-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.opportunity-badge { align-self: flex-start; border-radius: 5px; color: #fff; font-size: .62rem; font-weight: 800; margin-bottom: .85rem; padding: .38rem .62rem; text-transform: uppercase; }
.opportunity-badge.scholarship, .opportunity-cta.scholarship { background: var(--explore-red); }
.opportunity-badge.event, .opportunity-cta.event { background: var(--explore-blue); }
.opportunity-badge.campus, .opportunity-cta.campus { background: var(--explore-green); }
.opportunity-badge.intake, .opportunity-cta.intake { background: var(--explore-purple); }
.opportunity-badge.guide, .opportunity-cta.guide { background: var(--explore-orange); }
.opportunity-badge.general, .opportunity-cta.general { background: #49556d; }
.opportunity-card h3 { font-size: 1.03rem; font-weight: 800; line-height: 1.3; margin-bottom: .55rem; }
.opportunity-card h3 a { color: var(--explore-ink); text-decoration: none; }
.opportunity-card h3 a:hover { color: var(--explore-red); }
.opportunity-provider { color: var(--explore-muted); font-size: .75rem; font-weight: 700; margin-bottom: .55rem; }
.opportunity-meta { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .8rem; }
.opportunity-meta span { color: #4f5a72; font-size: .7rem; }
.opportunity-meta i { color: #68758e; margin-right: .5rem; width: 12px; }
.opportunity-body > p { color: #56627a; font-size: .78rem; line-height: 1.55; margin-bottom: 1.25rem; }
.opportunity-cta { align-self: flex-start; border: 0; border-radius: 6px; color: #fff; font-size: .74rem; font-weight: 750; margin-top: auto; padding: .65rem .9rem; }
.opportunity-cta:hover { color: #fff; filter: brightness(.92); }
.empty-listings { background: #fff; border: 1px solid var(--explore-line); border-radius: 12px; color: var(--explore-muted); padding: 3rem; text-align: center; }
.empty-listings i { color: var(--explore-red); font-size: 2rem; margin-bottom: 1rem; }
.empty-listings h3 { color: var(--explore-ink); font-size: 1.15rem; }

.guidance-section { padding: 1rem 0 4rem; }
.guidance-banner { align-items: center; background: linear-gradient(100deg, #fff0f4, #fff8fa); border: 1px solid #f6cad8; border-radius: 13px; display: grid; gap: 2rem; grid-template-columns: 250px 1.25fr 1fr auto; min-height: 190px; overflow: hidden; padding: 1.5rem 2rem 0; }
.guidance-banner > img { align-self: end; max-height: 185px; max-width: 100%; object-fit: contain; }
.guidance-copy h2 { color: var(--explore-navy); font-size: 1.5rem; font-weight: 800; }
.guidance-copy p { color: #56627a; font-size: .82rem; line-height: 1.55; margin: 0; }
.guidance-banner ul { list-style: none; margin: 0; padding: 0; }
.guidance-banner li { color: #48546c; font-size: .72rem; margin: .8rem 0; }
.guidance-banner li i { color: var(--explore-green); margin-right: .65rem; }
.guidance-banner > .btn { font-size: .78rem; white-space: nowrap; }

.explore-market-footer { background: #f8f9fb; padding: 2.5rem 0 1.5rem; }
.newsletter-bar { align-items: center; border-bottom: 1px solid var(--explore-line); display: grid; gap: 1rem; grid-template-columns: auto 1fr minmax(380px, 520px); padding: 0 0 1.5rem; }
.newsletter-icon { align-items: center; background: var(--explore-red); border-radius: 50%; color: #fff; display: flex; font-size: 1.15rem; height: 48px; justify-content: center; width: 48px; }
.newsletter-copy strong, .newsletter-copy span { display: block; }
.newsletter-copy strong { font-size: .9rem; }
.newsletter-copy span { color: var(--explore-muted); font-size: .72rem; margin-top: .25rem; }
.newsletter-form { display: flex; gap: .6rem; }
.newsletter-form .form-control { border-color: var(--explore-line); font-size: .8rem; }
.newsletter-form .btn { min-width: 115px; }
.footer-links h2 { font-size: .8rem; font-weight: 800; }
.footer-links a:not(.explore-wordmark) { color: #4e596f; display: block; font-size: .75rem; margin: .45rem 0; text-decoration: none; }
.footer-links a:hover { color: var(--explore-red); }
.footer-links p { color: var(--explore-muted); font-size: .75rem; max-width: 260px; }
.footer-wordmark { display: inline-flex !important; }
.social-links { display: flex; gap: .65rem; }
.social-links a { align-items: center; border: 1px solid #b8bfcc; border-radius: 50%; display: inline-flex !important; height: 30px; justify-content: center; margin: 0 !important; width: 30px; }
.footer-bottom { border-top: 1px solid var(--explore-line); color: #737e92; font-size: .7rem; padding-top: 1.25rem; }

/* Generated campaign pages keep a focused conversion layout. */
.explore-kicker { color: var(--explore-red); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.explore-lead { color: var(--explore-muted); font-size: 1.1rem; line-height: 1.7; max-width: 720px; }
.campaign-hero { background: linear-gradient(135deg, #fff 25%, #fff3f5 100%); padding: 3.5rem 0; }
.campaign-hero h1 { color: var(--explore-ink); font-size: clamp(2.15rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.tag-badge { background: #fff0f2; border: 1px solid #ffd3d9; border-radius: 999px; color: var(--explore-red-dark); display: inline-block; font-size: .72rem; font-weight: 700; padding: .35rem .65rem; }
.campaign-visual { border-radius: 24px; box-shadow: 0 20px 55px rgba(23,32,51,.14); max-height: 540px; object-fit: cover; width: 100%; }
.fact-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.fact-badge { background: #fff; border: 1px solid var(--explore-line); border-radius: 14px; padding: .85rem; }
.fact-badge small { color: var(--explore-muted); display: block; }
.fact-badge strong { display: block; margin-top: .2rem; }
.lead-card { background: #fff; border: 1px solid var(--explore-line); border-radius: 24px; box-shadow: 0 20px 50px rgba(23,32,51,.12); padding: 1.5rem; }
.lead-card h2 { font-size: 1.5rem; font-weight: 800; }
.lead-card .form-label { font-size: .86rem; font-weight: 700; }
.lead-card .form-control, .lead-card .form-select { border-radius: 10px; min-height: 46px; }
.lead-card textarea.form-control { min-height: 90px; }
.honey-field { left: -9999px; position: absolute; }
.privacy-note { color: var(--explore-muted); font-size: .76rem; line-height: 1.45; }
.campaign-content { font-size: 1.05rem; line-height: 1.75; }
.campaign-content img { height: auto; max-width: 100%; }
.expired-notice { background: #fff4e5; border: 1px solid #ffd89b; border-radius: 16px; color: #754c00; padding: 1rem 1.25rem; }
.section-space { padding: 4rem 0; }
.explore-footer { background: #101828; color: #d0d5dd; font-size: .86rem; }
.explore-footer a { color: #fff; text-decoration: none; }

@media (max-width: 1199.98px) {
    .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .guidance-banner { grid-template-columns: 200px 1fr 1fr; }
    .guidance-banner > .btn { grid-column: 2 / 4; justify-self: start; margin-bottom: 1.5rem; }
}

@media (max-width: 991.98px) {
    .explore-header .navbar-collapse { border-top: 1px solid var(--explore-line); margin-top: .75rem; padding: 1rem 0; }
    .explore-account-links { margin-top: 1rem; }
    .market-hero { padding-top: 3.5rem; }
    .trust-row { margin-top: 2.5rem; }
    .featured-showcase { min-height: 470px; }
    .featured-showcase .carousel-inner, .featured-showcase .carousel-item, .featured-content { min-height: 470px; }
    .newsletter-bar { grid-template-columns: auto 1fr; }
    .newsletter-form { grid-column: 1 / 3; }
}

@media (max-width: 767.98px) {
    .market-hero h1 br { display: none; }
    .market-hero { padding: 2.75rem 0; }
    .trust-row { grid-template-columns: 1fr; }
    .trust-row > div { border-bottom: 1px solid var(--explore-line); border-right: 0; padding: .8rem 0; }
    .trust-row > div:last-child { border-bottom: 0; }
    .featured-showcase, .featured-showcase .carousel-inner, .featured-showcase .carousel-item, .featured-content { min-height: 430px; }
    .featured-content { padding: 2rem; width: 88%; }
    .featured-shade { background: linear-gradient(90deg,rgba(15,15,62,.96),rgba(29,14,74,.72)); }
    .category-grid { display: flex; overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x mandatory; }
    .category-tile { flex: 0 0 180px; scroll-snap-align: start; }
    .opportunities-section { padding-top: 1rem; }
    .guidance-banner { grid-template-columns: 110px 1fr; padding: 1.25rem 1.25rem 0; }
    .guidance-banner > img { max-height: 150px; }
    .guidance-banner ul { grid-column: 1 / 3; }
    .guidance-banner > .btn { grid-column: 1 / 3; margin-bottom: 1.25rem; }
    .newsletter-bar { grid-template-columns: auto 1fr; }
    .newsletter-form { flex-direction: column; grid-column: 1 / 3; }
    .newsletter-form .btn { width: 100%; }
    .explore-home-link { font-size: 0; }
    .explore-home-link i { font-size: 1rem; margin: 0 !important; }
    .fact-grid { grid-template-columns: 1fr; }
    .section-space { padding: 3rem 0; }
}

@media (max-width: 479.98px) {
    .guidance-banner { display: block; padding-top: 1.5rem; }
    .guidance-banner > img { float: right; margin-left: 1rem; max-width: 42%; }
    .guidance-banner ul { clear: both; padding-top: .5rem; }
    .guidance-banner > .btn { margin-bottom: 1.25rem; }
}
