/* homepage-redesign-v2.css — ohc-home-v2 (2026-07-01)
   Blue + Green + White brand redesign inspired by shiksha.com.
   Coexists with the older homepage-redesign.css by scoping everything
   under body.ohc-v2 (added by homepage-redesign-v2.js at boot). */

:root {
    /* Brand palette — matches OhCampus logo */
    --ohc-blue-900: #0d47a1;
    --ohc-blue-700: #1565c0;
    --ohc-blue-500: #2196f3;
    --ohc-blue-300: #64b5f6;
    --ohc-blue-50:  #e3f2fd;

    --ohc-green-700: #2e7d32;
    --ohc-green-500: #4caf50;
    --ohc-green-300: #81c784;
    --ohc-green-50:  #e8f5e9;

    --ohc-slate-900: #0f172a;
    --ohc-slate-700: #334155;
    --ohc-slate-500: #64748b;
    --ohc-slate-300: #cbd5e1;
    --ohc-slate-100: #f1f5f9;
    --ohc-slate-50:  #f8fafc;

    --ohc-shadow-sm:  0 2px 6px rgba(15, 23, 42, .06);
    --ohc-shadow-md:  0 8px 24px rgba(15, 23, 42, .08);
    --ohc-shadow-lg:  0 24px 48px rgba(15, 23, 42, .12);
    --ohc-radius-sm: 8px;
    --ohc-radius-md: 12px;
    --ohc-radius-lg: 18px;
}

body.ohc-v2 {
    font-family: 'Manrope', 'Inter var', system-ui, -apple-system, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    color: var(--ohc-slate-900);
    background: var(--ohc-slate-50);
}

/* ─────────────────── MARQUEE ─────────────────── */
.ohc-marquee {
    background: linear-gradient(90deg, var(--ohc-blue-50) 0%, #ffffff 50%, var(--ohc-green-50) 100%);
    border-top: 1px solid var(--ohc-slate-100);
    border-bottom: 1px solid var(--ohc-slate-100);
    overflow: hidden;
    padding: 0;
    position: relative;
}
.ohc-marquee-label {
    display: inline-block;
    background: var(--ohc-blue-700);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 0 var(--ohc-radius-sm) var(--ohc-radius-sm) 0;
    margin: 10px 12px 10px 0;
    text-transform: uppercase;
    vertical-align: middle;
    box-shadow: var(--ohc-shadow-sm);
}
.ohc-marquee-label i { margin-right: 6px; }
.ohc-marquee-track {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    animation: ohcMarqueeSlide 60s linear infinite;
    padding: 8px 0;
    white-space: nowrap;
    vertical-align: middle;
}
.ohc-marquee:hover .ohc-marquee-track { animation-play-state: paused; }
@keyframes ohcMarqueeSlide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ohc-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--ohc-slate-100);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ohc-slate-900);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
    flex-shrink: 0;
}
.ohc-marquee-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--ohc-shadow-md);
    border-color: var(--ohc-blue-500);
    color: var(--ohc-blue-700);
}
.ohc-marquee-item img {
    width: 26px; height: 26px; border-radius: 50%;
    object-fit: cover; background: var(--ohc-slate-100);
    flex-shrink: 0;
}
.ohc-marquee-item .nirf {
    background: var(--ohc-green-500);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ─────────────────── CATEGORY TILES ─────────────────── */
.ohc-cats-wrap {
    max-width: 1200px;
    margin: 32px auto 20px;
    padding: 0 16px;
}
.ohc-section-heading {
    font-family: 'Cabinet Grotesk', 'Manrope', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--ohc-slate-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ohc-section-heading::before {
    content: '';
    width: 4px; height: 26px;
    background: linear-gradient(180deg, var(--ohc-blue-700), var(--ohc-green-500));
    border-radius: 4px;
}
.ohc-section-sub {
    color: var(--ohc-slate-500);
    font-size: 0.95rem;
    margin: 0 0 18px 14px;
}
.ohc-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}
.ohc-cat-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 22px 12px;
    background: #fff;
    border-radius: var(--ohc-radius-md);
    text-decoration: none !important;
    color: var(--ohc-slate-900);
    border: 1px solid var(--ohc-slate-100);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ohc-cat-tile::before {
    content: '';
    position: absolute; inset: auto 0 0 0; height: 4px;
    background: linear-gradient(90deg, var(--ohc-blue-700), var(--ohc-green-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.ohc-cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--ohc-shadow-lg);
    border-color: var(--ohc-blue-300);
}
.ohc-cat-tile:hover::before { transform: scaleX(1); }
.ohc-cat-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 6px 16px rgba(21, 101, 192, .18);
}
.ohc-cat-tile h4 {
    margin: 0; font-size: 0.95rem; font-weight: 700; color: var(--ohc-slate-900);
    line-height: 1.25;
}
.ohc-cat-tile p {
    margin: 0; font-size: 0.78rem; color: var(--ohc-slate-500);
}

/* ─────────────────── TOP RANKED TABS ─────────────────── */
.ohc-top-wrap {
    max-width: 1200px;
    margin: 44px auto 20px;
    padding: 0 16px;
}
.ohc-tabs {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin: 14px 0 18px;
    border-bottom: 1px solid var(--ohc-slate-100);
    padding-bottom: 4px;
    overflow-x: auto;
}
.ohc-tab {
    padding: 10px 16px;
    background: transparent;
    border: 0;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ohc-slate-500);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color .15s;
}
.ohc-tab.active { color: var(--ohc-blue-700); }
.ohc-tab.active::after {
    content: '';
    position: absolute; inset: auto 12px -5px 12px; height: 3px;
    background: linear-gradient(90deg, var(--ohc-blue-700), var(--ohc-green-500));
    border-radius: 3px;
}
.ohc-tab:hover { color: var(--ohc-blue-700); }
.ohc-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.ohc-clg-card {
    background: #fff;
    border-radius: var(--ohc-radius-md);
    padding: 16px;
    border: 1px solid var(--ohc-slate-100);
    text-decoration: none !important;
    color: inherit;
    display: flex; flex-direction: column; gap: 10px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    position: relative;
}
.ohc-clg-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ohc-shadow-md);
    border-color: var(--ohc-blue-300);
}
.ohc-clg-header { display: flex; align-items: center; gap: 12px; }
.ohc-clg-logo {
    width: 48px; height: 48px; object-fit: cover; border-radius: 10px;
    background: var(--ohc-slate-100); flex-shrink: 0;
    border: 1px solid var(--ohc-slate-100);
}
.ohc-clg-title {
    font-size: 0.92rem; font-weight: 700; color: var(--ohc-slate-900);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.3;
}
.ohc-clg-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 0.78rem; }
.ohc-clg-nirf {
    background: var(--ohc-green-500); color: #fff; padding: 3px 10px; border-radius: 999px;
    font-weight: 700; letter-spacing: 0.02em;
}
.ohc-clg-naac {
    background: var(--ohc-blue-50); color: var(--ohc-blue-700); padding: 3px 10px; border-radius: 999px;
    font-weight: 700;
}
.ohc-clg-loading { padding: 40px; text-align: center; color: var(--ohc-slate-500); }
.ohc-clg-loading i { margin-right: 8px; }

/* ─────────────────── UPCOMING EXAMS ─────────────────── */
.ohc-exams-wrap { max-width: 1200px; margin: 44px auto 20px; padding: 0 16px; }
.ohc-exam-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.ohc-exam-tile {
    background: #fff;
    border-radius: var(--ohc-radius-md);
    padding: 18px;
    border: 1px solid var(--ohc-slate-100);
    text-decoration: none !important;
    color: inherit;
    display: flex; flex-direction: column; gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative;
    overflow: hidden;
}
.ohc-exam-tile::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: var(--tile-accent, var(--ohc-blue-700));
}
.ohc-exam-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--ohc-shadow-md);
}
.ohc-exam-tile h5 {
    margin: 6px 0 0; font-size: 1.05rem; font-weight: 700; color: var(--ohc-slate-900);
}
.ohc-exam-tile .ohc-exam-desc { font-size: 0.85rem; color: var(--ohc-slate-500); margin: 0; }
.ohc-exam-tile .ohc-exam-date {
    background: var(--ohc-blue-50);
    color: var(--ohc-blue-700);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    align-self: flex-start;
    margin-top: 4px;
}

/* ─────────────────── NEWS CAROUSEL ─────────────────── */
.ohc-news-wrap { max-width: 1200px; margin: 44px auto 20px; padding: 0 16px; }
.ohc-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}
.ohc-news-card {
    background: #fff;
    border-radius: var(--ohc-radius-md);
    overflow: hidden;
    border: 1px solid var(--ohc-slate-100);
    text-decoration: none !important;
    color: inherit;
    display: flex; flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.ohc-news-card:hover { transform: translateY(-3px); box-shadow: var(--ohc-shadow-md); }
.ohc-news-thumb {
    width: 100%; height: 160px; object-fit: cover; background: var(--ohc-slate-100);
}
.ohc-news-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.ohc-news-body h5 {
    margin: 0; font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: var(--ohc-slate-900);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ohc-news-meta { font-size: 0.78rem; color: var(--ohc-slate-500); display: flex; gap: 8px; align-items: center; }

/* ─────────────────── PREDICTOR STRIP ─────────────────── */
.ohc-pred-wrap { max-width: 1200px; margin: 44px auto 20px; padding: 0 16px; }
.ohc-pred-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.ohc-pred-card {
    display: flex; align-items: center; gap: 14px; padding: 20px;
    background: linear-gradient(135deg, var(--ohc-blue-700), var(--ohc-green-500));
    color: #fff;
    border-radius: var(--ohc-radius-md);
    text-decoration: none !important;
    box-shadow: var(--ohc-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative;
    overflow: hidden;
}
.ohc-pred-card:nth-child(2) { background: linear-gradient(135deg, #10519D, #2196F3); }
.ohc-pred-card:nth-child(3) { background: linear-gradient(135deg, #2e7d32, #4caf50); }
.ohc-pred-card:hover { transform: translateY(-3px) scale(1.01); box-shadow: var(--ohc-shadow-lg); }
.ohc-pred-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(255, 255, 255, .18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
    backdrop-filter: blur(6px);
}
.ohc-pred-text h5 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; }
.ohc-pred-text p  { margin: 0; font-size: 0.85rem; opacity: 0.9; }

/* ─────────────────── FOOTER RIBBON ─────────────────── */
.ohc-ribbon {
    max-width: 1200px; margin: 30px auto 44px; padding: 0 16px;
}
.ohc-ribbon-inner {
    background: linear-gradient(135deg, var(--ohc-blue-700), var(--ohc-blue-900));
    color: #fff;
    padding: 30px;
    border-radius: var(--ohc-radius-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    box-shadow: var(--ohc-shadow-md);
}
.ohc-ribbon-inner h3 {
    margin: 0 0 6px;
    font-family: 'Cabinet Grotesk', 'Manrope', sans-serif;
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.ohc-ribbon-inner p { margin: 0; opacity: 0.9; font-size: 0.95rem; }
.ohc-ribbon-cta {
    background: var(--ohc-green-500);
    color: #fff;
    text-decoration: none !important;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 8px 20px rgba(46, 125, 50, .35);
    transition: transform .18s;
    white-space: nowrap;
}
.ohc-ribbon-cta:hover { transform: scale(1.05); background: var(--ohc-green-700); }

/* ─────────────────── MOBILE ─────────────────── */
@media (max-width: 768px) {
    .ohc-marquee-label { display: block; margin: 6px 0; border-radius: 0; text-align: center; }
    .ohc-cats-wrap, .ohc-top-wrap, .ohc-exams-wrap, .ohc-news-wrap, .ohc-pred-wrap, .ohc-ribbon { margin-top: 24px; padding: 0 12px; }
    .ohc-section-heading { font-size: 1.35rem; }
    .ohc-section-sub { font-size: 0.85rem; margin-left: 12px; }
    .ohc-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ohc-cat-tile { padding: 16px 8px; }
    .ohc-cat-icon { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 12px; }
    .ohc-cat-tile h4 { font-size: 0.82rem; }
    .ohc-cat-tile p { display: none; }
    .ohc-ribbon-inner { grid-template-columns: 1fr; text-align: center; padding: 22px; }
    .ohc-ribbon-cta { justify-self: center; }
    .ohc-tabs { padding-bottom: 2px; }
    .ohc-tab { padding: 8px 12px; font-size: 0.82rem; }
    .ohc-clg-card { padding: 12px; }
    .ohc-clg-logo { width: 40px; height: 40px; }
    .ohc-clg-title { font-size: 0.85rem; }
}

/* ─────────────────── LOADING STATES ─────────────────── */
.ohc-skeleton {
    background: linear-gradient(90deg, var(--ohc-slate-100) 0%, #f5f9fc 50%, var(--ohc-slate-100) 100%);
    background-size: 200% 100%;
    animation: ohcShimmer 1.4s infinite;
    border-radius: var(--ohc-radius-sm);
}
@keyframes ohcShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ─────────────────── HIDE OLD DUPLICATED SECTIONS ─────────────────── */
/* These are legacy sections (Angular built-ins + old homepage-redesign.js
   injections) that the v2 redesign supersedes. Kept in DOM so bookmarks
   and scroll-anchors keep working, but visually hidden. */
body.ohc-v2 #predictors,
body.ohc-v2 #ohc-top-exams,
body.ohc-v2 #ohc-categories { display: none !important; }

/* ─────────────────── POPULAR SEARCHES ─────────────────── */
.ohc-popular-wrap {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 16px;
}
.ohc-popular-inner {
    background: #fff;
    border-radius: var(--ohc-radius-lg);
    padding: 14px 18px;
    box-shadow: var(--ohc-shadow-sm);
    border: 1px solid var(--ohc-slate-100);
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.ohc-popular-label {
    font-size: 0.82rem; font-weight: 800;
    color: var(--ohc-slate-900);
    letter-spacing: 0.03em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ohc-popular-label i { color: #ef6c00; }
.ohc-popular-chips {
    display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0;
}
.ohc-popular-chip {
    padding: 6px 12px;
    background: var(--ohc-slate-50);
    border: 1px solid var(--ohc-slate-100);
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--ohc-slate-700);
    text-decoration: none !important;
    transition: all .15s;
    white-space: nowrap;
}
.ohc-popular-chip:hover {
    background: var(--ohc-blue-50);
    border-color: var(--ohc-blue-300);
    color: var(--ohc-blue-700);
}

/* ─────────────────── COMPARE + SCHOLARSHIP PAIR ─────────────────── */
.ohc-pair-wrap {
    max-width: 1200px;
    margin: 44px auto 20px;
    padding: 0 16px;
}
.ohc-pair-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.ohc-pair-card {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 26px;
    border-radius: var(--ohc-radius-lg);
    text-decoration: none !important;
    color: #fff;
    box-shadow: var(--ohc-shadow-md);
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative; overflow: hidden;
}
.ohc-pair-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 90% -20%, rgba(255,255,255,0.18), transparent 60%);
    pointer-events: none;
}
.ohc-pair-card:hover { transform: translateY(-4px); box-shadow: var(--ohc-shadow-lg); }
.ohc-pair-compare { background: linear-gradient(135deg, #10519d, #2196f3); }
.ohc-pair-schol   { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.ohc-pair-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: rgba(255, 255, 255, .2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; flex-shrink: 0;
    backdrop-filter: blur(6px);
}
.ohc-pair-body h4 {
    margin: 0 0 4px;
    font-family: 'Cabinet Grotesk', 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.ohc-pair-body p {
    margin: 0 0 12px;
    opacity: 0.92;
    font-size: 0.9rem;
    line-height: 1.5;
}
.ohc-pair-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; font-size: 0.9rem;
    background: rgba(255, 255, 255, .18);
    padding: 6px 14px; border-radius: 999px;
    transition: gap .15s;
}
.ohc-pair-card:hover .ohc-pair-cta { gap: 10px; }

/* ─────────────────── TESTIMONIALS ─────────────────── */
.ohc-testi-wrap {
    max-width: 1200px;
    margin: 44px auto 20px;
    padding: 0 16px;
}
.ohc-testi-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.ohc-testi-card {
    background: #fff;
    border-radius: var(--ohc-radius-md);
    padding: 22px;
    border: 1px solid var(--ohc-slate-100);
    box-shadow: var(--ohc-shadow-sm);
    display: flex; flex-direction: column; gap: 12px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.ohc-testi-card:hover { transform: translateY(-3px); box-shadow: var(--ohc-shadow-md); }
.ohc-testi-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.ohc-testi-quote {
    margin: 0;
    color: var(--ohc-slate-700);
    font-size: 0.94rem;
    line-height: 1.55;
    font-style: italic;
    position: relative;
    padding-left: 22px;
}
.ohc-testi-quote::before {
    content: '“';
    position: absolute; left: 0; top: -8px;
    font-size: 2.4rem;
    color: var(--ohc-blue-500);
    font-family: 'Cabinet Grotesk', Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}
.ohc-testi-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ohc-slate-100);
}
.ohc-testi-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff;
    font-size: 1.05rem;
    background: var(--ohc-blue-700);
    flex-shrink: 0;
}
.ohc-testi-meta { display: flex; flex-direction: column; gap: 2px; }
.ohc-testi-meta strong { font-size: 0.9rem; color: var(--ohc-slate-900); }
.ohc-testi-meta span   { font-size: 0.78rem; color: var(--ohc-slate-500); }

/* ─────────────────── STUDY ABROAD ─────────────────── */
.ohc-abroad-wrap {
    max-width: 1200px;
    margin: 44px auto 20px;
    padding: 0 16px;
}
.ohc-abroad-inner {
    background:
        radial-gradient(circle at 90% 20%, rgba(255,255,255,0.08), transparent 40%),
        linear-gradient(135deg, #0d47a1, #1565c0 65%, #2e7d32);
    color: #fff;
    padding: 34px;
    border-radius: var(--ohc-radius-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    box-shadow: var(--ohc-shadow-lg);
    position: relative;
    overflow: hidden;
}
.ohc-abroad-inner::before {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(76,175,80,0.35), transparent 65%);
    pointer-events: none;
}
.ohc-abroad-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(76, 175, 80, .3);
    padding: 5px 12px; border-radius: 999px;
    font-size: 0.75rem; font-weight: 800;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 10px;
}
.ohc-abroad-text h3 {
    margin: 0 0 6px;
    font-family: 'Cabinet Grotesk', 'Manrope', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.ohc-abroad-text p {
    margin: 0 0 14px;
    opacity: 0.92;
    max-width: 620px;
    font-size: 0.95rem;
    line-height: 1.55;
}
.ohc-abroad-flags {
    display: flex; gap: 12px; align-items: center;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.ohc-abroad-actions { display: flex; flex-direction: column; gap: 10px; }
.ohc-abroad-primary,
.ohc-abroad-secondary {
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700; font-size: 0.9rem;
    text-decoration: none !important;
    display: inline-flex; align-items: center; gap: 8px;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
}
.ohc-abroad-primary {
    background: #fff; color: var(--ohc-blue-900);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.ohc-abroad-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.22); }
.ohc-abroad-secondary {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
}
.ohc-abroad-secondary:hover { background: rgba(255, 255, 255, .28); }

/* NEWS CATEGORY LABEL */
.ohc-news-cat {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--ohc-blue-700);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.ohc-news-card { position: relative; }

/* ─────────────────── MOBILE OVERRIDES for new sections ─────────────────── */
@media (max-width: 768px) {
    .ohc-popular-wrap { margin-top: 18px; padding: 0 12px; }
    .ohc-popular-inner { padding: 12px 14px; border-radius: var(--ohc-radius-md); }
    .ohc-popular-label { font-size: 0.75rem; }
    .ohc-popular-chip  { font-size: 0.78rem; padding: 5px 10px; }

    .ohc-pair-wrap, .ohc-testi-wrap, .ohc-abroad-wrap { padding: 0 12px; margin-top: 32px; }
    .ohc-pair-grid { grid-template-columns: 1fr; gap: 12px; }
    .ohc-pair-card { padding: 20px; gap: 14px; }
    .ohc-pair-icon { width: 48px; height: 48px; font-size: 1.3rem; }
    .ohc-pair-body h4 { font-size: 1.1rem; }
    .ohc-pair-body p  { font-size: 0.85rem; }

    .ohc-abroad-inner { grid-template-columns: 1fr; padding: 24px; text-align: left; }
    .ohc-abroad-actions { flex-direction: row; }
    .ohc-abroad-primary, .ohc-abroad-secondary { flex: 1; justify-content: center; font-size: 0.82rem; padding: 10px 14px; }
    .ohc-abroad-flags { font-size: 1.5rem; }
    .ohc-testi-card  { padding: 18px; }
    .ohc-testi-quote { font-size: 0.88rem; }
}

/* ─────────────────── COLLEGES BY CITY ─────────────────── */
.ohc-cities-wrap {
    max-width: 1200px;
    margin: 44px auto 20px;
    padding: 0 16px;
}
.ohc-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
.ohc-city-tile {
    display: flex; align-items: center; gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: var(--ohc-radius-md);
    border: 1px solid var(--ohc-slate-100);
    text-decoration: none !important;
    color: var(--ohc-slate-900);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ohc-city-tile:hover {
    transform: translateX(3px);
    box-shadow: var(--ohc-shadow-md);
    border-color: var(--ohc-blue-300);
}
.ohc-city-tile:hover .ohc-city-arrow { transform: translateX(4px); color: var(--ohc-blue-700); }
.ohc-city-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(21, 101, 192, .18);
}
.ohc-city-tile h5 {
    margin: 0 0 3px;
    font-size: 1rem; font-weight: 700;
    color: var(--ohc-slate-900);
}
.ohc-city-tile .ohc-city-count {
    font-size: 0.8rem; color: var(--ohc-slate-500); font-weight: 600;
}
.ohc-city-arrow {
    margin-left: auto;
    color: var(--ohc-slate-300);
    font-size: 0.9rem;
    transition: transform .18s, color .18s;
}
@media (max-width: 768px) {
    .ohc-cities-wrap { padding: 0 12px; margin-top: 32px; }
    .ohc-cities-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ohc-city-tile { padding: 12px; gap: 10px; flex-direction: column; text-align: center; }
    .ohc-city-icon { width: 40px; height: 40px; font-size: 1rem; }
    .ohc-city-tile h5 { font-size: 0.9rem; }
    .ohc-city-tile .ohc-city-count { font-size: 0.72rem; }
    .ohc-city-arrow { display: none; }
}


/* ─────────────────── HIDE OLD DUPLICATED SECTIONS (v4 extended) ─────────────────── */
body.ohc-v2 #predictors,
body.ohc-v2 #ohc-top-exams,
body.ohc-v2 #ohc-categories,
body.ohc-v2 #ohc-predictor-wrapper,
body.ohc-v2 #ohc-loans-scholarships,
body.ohc-v2 section.py-16.bg-white  /* Angular "Download our mobile app" */ { display: none !important; }

/* Hide legacy "Featured Colleges" and "Articles & Events" Angular Sections when v2 is active */
body.ohc-v2 div.p-6.sm\:px-14.md\:px-30.lg\:px-30.ng-tns-c148-5:not(#ohcHomeV2Sections):not(#ohc-nearby-section):not(#ohc-exam-finder):not(.ohc-hide-trending):not(.bgContact) { display: none !important; }

/* But make sure ohc-nearby-section (Colleges Near You), ohc-exam-finder (interactive picker),
   and Quick Enquiry form (bgContact) remain visible — they're unique + useful. */
body.ohc-v2 #ohc-nearby-section,
body.ohc-v2 #ohc-exam-finder,
body.ohc-v2 div.bgContact { display: block !important; }

/* ─────────────────── FREE COUNSELING SCHEDULER ─────────────────── */
.ohc-counsel-wrap { max-width: 1200px; margin: 44px auto 20px; padding: 0 16px; }
.ohc-counsel-card {
    background: linear-gradient(135deg, #0d47a1, #1565c0 60%, #2e7d32);
    color: #fff;
    border-radius: var(--ohc-radius-lg);
    padding: 28px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: stretch;
    box-shadow: var(--ohc-shadow-lg);
    position: relative;
    overflow: hidden;
}
.ohc-counsel-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(76,175,80,0.35), transparent 65%);
    pointer-events: none;
}
.ohc-counsel-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(76, 175, 80, .3);
    padding: 5px 12px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 10px;
}
.ohc-counsel-card h3 {
    margin: 0 0 6px;
    font-family: 'Cabinet Grotesk', 'Manrope', sans-serif;
    font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800;
    letter-spacing: -0.02em; line-height: 1.2;
}
.ohc-counsel-card p { margin: 0 0 14px; opacity: 0.94; font-size: 0.94rem; line-height: 1.55; max-width: 500px; }
.ohc-counsel-perks { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.ohc-counsel-perks li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; opacity: 0.92; }
.ohc-counsel-perks li i { color: #81c784; font-size: 0.85rem; flex-shrink: 0; }
.ohc-counsel-schedule {
    background: rgba(255, 255, 255, .1);
    border-radius: var(--ohc-radius-md);
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex; flex-direction: column; gap: 10px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .18);
}
.ohc-counsel-schedule h5 { margin: 0 0 6px; font-size: 0.95rem; font-weight: 700; }
.ohc-schedule-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ohc-schedule-day {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    padding: 6px 4px;
    text-align: center;
    font-size: 0.75rem; font-weight: 700;
    cursor: pointer;
    transition: all .15s;
    color: #fff;
}
.ohc-schedule-day:hover, .ohc-schedule-day.selected {
    background: #4caf50; border-color: #4caf50;
}
.ohc-schedule-day span { display: block; font-size: 0.68rem; opacity: 0.85; font-weight: 600; }
.ohc-schedule-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.ohc-schedule-slot {
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px; padding: 6px 4px; text-align: center;
    font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: all .15s;
    color: #fff;
}
.ohc-schedule-slot:hover, .ohc-schedule-slot.selected {
    background: #4caf50; border-color: #4caf50;
}
.ohc-counsel-cta {
    background: #4caf50; color: #fff;
    padding: 11px 20px; border-radius: 10px;
    font-weight: 700; font-size: 0.9rem;
    text-align: center; text-decoration: none !important;
    border: 0; cursor: pointer;
    box-shadow: 0 6px 16px rgba(46, 125, 50, .35);
    transition: transform .15s, box-shadow .15s;
    margin-top: 4px;
}
.ohc-counsel-cta:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(46, 125, 50, .5); }
.ohc-counsel-cta:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─────────────────── Q&A / COMMUNITY ─────────────────── */
.ohc-qa-wrap { max-width: 1200px; margin: 44px auto 20px; padding: 0 16px; }
.ohc-qa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.ohc-qa-card {
    background: #fff;
    border-radius: var(--ohc-radius-md);
    padding: 18px;
    border: 1px solid var(--ohc-slate-100);
    box-shadow: var(--ohc-shadow-sm);
    transition: transform .18s, box-shadow .18s;
    display: flex; flex-direction: column; gap: 10px;
}
.ohc-qa-card:hover { transform: translateY(-2px); box-shadow: var(--ohc-shadow-md); }
.ohc-qa-question {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.95rem; font-weight: 700; color: var(--ohc-slate-900); line-height: 1.4;
}
.ohc-qa-question .q-badge {
    background: linear-gradient(135deg, #1565c0, #2196f3); color: #fff;
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 800; flex-shrink: 0; margin-top: 2px;
}
.ohc-qa-answer {
    color: var(--ohc-slate-500); font-size: 0.85rem; line-height: 1.5;
    padding-left: 34px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.ohc-qa-meta {
    display: flex; align-items: center; gap: 10px;
    padding-left: 34px; font-size: 0.78rem; color: var(--ohc-slate-500);
}
.ohc-qa-meta strong { color: var(--ohc-slate-700); }
.ohc-qa-meta .replies { color: var(--ohc-green-700); font-weight: 700; }
.ohc-qa-ask {
    background: linear-gradient(135deg, var(--ohc-blue-700), var(--ohc-green-500)); color: #fff;
    padding: 14px 22px; border-radius: 999px;
    font-weight: 700; text-decoration: none !important;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: var(--ohc-shadow-md);
    transition: transform .15s;
    margin-top: 16px;
}
.ohc-qa-ask:hover { transform: translateY(-2px); }

/* ─────────────────── RANKING EXPLORER ─────────────────── */
.ohc-rank-wrap { max-width: 1200px; margin: 44px auto 20px; padding: 0 16px; }
.ohc-rank-controls { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 18px; }
.ohc-rank-btn {
    padding: 8px 16px;
    background: #fff; border: 1.5px solid var(--ohc-slate-100);
    border-radius: 999px; font-weight: 600; font-size: 0.86rem;
    color: var(--ohc-slate-700); cursor: pointer;
    transition: all .15s;
}
.ohc-rank-btn.active {
    background: linear-gradient(135deg, var(--ohc-blue-700), var(--ohc-blue-500));
    color: #fff; border-color: transparent;
    box-shadow: 0 4px 12px rgba(21, 101, 192, .3);
}
.ohc-rank-btn:hover:not(.active) { background: var(--ohc-blue-50); border-color: var(--ohc-blue-300); }
.ohc-rank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ohc-rank-card {
    background: #fff;
    border-radius: var(--ohc-radius-md);
    padding: 16px;
    border: 1px solid var(--ohc-slate-100);
    display: flex; gap: 12px; align-items: center;
    text-decoration: none !important; color: inherit;
    transition: transform .18s, box-shadow .18s;
    position: relative;
}
.ohc-rank-card:hover { transform: translateY(-3px); box-shadow: var(--ohc-shadow-md); }
.ohc-rank-num {
    background: linear-gradient(135deg, #ef6c00, #fbbf24); color: #fff;
    min-width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.05rem; flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(239, 108, 0, .3);
}
.ohc-rank-body { flex: 1; min-width: 0; }
.ohc-rank-title { font-size: 0.9rem; font-weight: 700; color: var(--ohc-slate-900); line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ohc-rank-year { font-size: 0.72rem; color: var(--ohc-slate-500); margin-top: 3px; }

/* ─────────────────── VIDEO CAMPUS TOURS ─────────────────── */
.ohc-video-wrap { max-width: 1200px; margin: 44px auto 20px; padding: 0 16px; }
.ohc-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.ohc-video-card {
    background: #000; border-radius: var(--ohc-radius-md); overflow: hidden;
    text-decoration: none !important; color: #fff;
    position: relative;
    display: block; cursor: pointer;
    transition: transform .18s;
    aspect-ratio: 16/9;
}
.ohc-video-card:hover { transform: translateY(-3px); }
.ohc-video-thumb {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(.72);
    transition: filter .2s, transform .3s;
}
.ohc-video-card:hover .ohc-video-thumb { filter: brightness(.55); transform: scale(1.04); }
.ohc-video-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.ohc-video-play::before {
    content: '';
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, #1565c0, #2196f3);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    display: block;
}
.ohc-video-play::after {
    content: '';
    position: absolute; left: 50%; top: 50%;
    transform: translate(-40%, -50%);
    width: 0; height: 0;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
.ohc-video-overlay {
    position: absolute; inset: auto 0 0 0;
    padding: 12px 14px;
    background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
}
.ohc-video-overlay h5 { margin: 0 0 3px; font-size: 0.95rem; font-weight: 700; }
.ohc-video-overlay span { font-size: 0.78rem; opacity: 0.85; }

/* ─────────────────── TRENDING NEAR YOU ─────────────────── */
.ohc-trending-wrap { max-width: 1200px; margin: 44px auto 20px; padding: 0 16px; }
.ohc-trending-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 16px; }
.ohc-trend-tab {
    padding: 8px 16px;
    background: transparent; border: 1.5px solid var(--ohc-slate-100);
    border-radius: 999px; font-weight: 600; font-size: 0.85rem;
    color: var(--ohc-slate-700); cursor: pointer; transition: all .15s;
}
.ohc-trend-tab.active {
    background: var(--ohc-green-500); color: #fff; border-color: transparent;
    box-shadow: 0 4px 12px rgba(46, 125, 50, .3);
}
.ohc-trend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ohc-trend-card {
    background: #fff; border: 1px solid var(--ohc-slate-100); border-radius: var(--ohc-radius-md);
    padding: 14px; display: flex; align-items: center; gap: 12px;
    text-decoration: none !important; color: inherit;
    transition: all .18s;
    position: relative;
}
.ohc-trend-card:hover { transform: translateY(-2px); box-shadow: var(--ohc-shadow-md); border-color: var(--ohc-green-300); }
.ohc-trend-num {
    background: var(--ohc-slate-50);
    color: var(--ohc-slate-500);
    min-width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem;
    flex-shrink: 0;
}
.ohc-trend-card:nth-child(1) .ohc-trend-num { background: linear-gradient(135deg,#ef6c00,#fbbf24); color:#fff; }
.ohc-trend-card:nth-child(2) .ohc-trend-num { background: linear-gradient(135deg,#9e9e9e,#bdbdbd); color:#fff; }
.ohc-trend-card:nth-child(3) .ohc-trend-num { background: linear-gradient(135deg,#795548,#a1887f); color:#fff; }
.ohc-trend-body { flex: 1; min-width: 0; }
.ohc-trend-title { font-size: 0.9rem; font-weight: 700; color: var(--ohc-slate-900); line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ohc-trend-meta { font-size: 0.75rem; color: var(--ohc-slate-500); margin-top: 3px; }
.ohc-trend-meta i { color: var(--ohc-green-700); margin-right: 3px; }

/* ─────────────────── CUTOFF TRENDS ─────────────────── */
.ohc-cutoff-wrap { max-width: 1200px; margin: 44px auto 20px; padding: 0 16px; }
.ohc-cutoff-inner {
    background: #fff; border-radius: var(--ohc-radius-lg);
    padding: 24px; border: 1px solid var(--ohc-slate-100);
    box-shadow: var(--ohc-shadow-sm);
}
.ohc-cutoff-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.ohc-cutoff-tabs { display: flex; gap: 6px; }
.ohc-cutoff-tab {
    padding: 6px 14px; background: var(--ohc-slate-50); border: 1px solid var(--ohc-slate-100);
    border-radius: 999px; font-weight: 700; font-size: 0.82rem; color: var(--ohc-slate-700);
    cursor: pointer; transition: all .15s;
}
.ohc-cutoff-tab.active { background: linear-gradient(135deg, var(--ohc-blue-700), var(--ohc-blue-500)); color: #fff; border-color: transparent; }
.ohc-cutoff-chart {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    align-items: end;
    height: 220px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--ohc-slate-100);
    position: relative;
}
.ohc-cutoff-bar {
    background: linear-gradient(180deg, var(--ohc-blue-500), var(--ohc-blue-700));
    border-radius: 6px 6px 0 0;
    position: relative;
    min-height: 10px;
    transition: transform .2s;
    cursor: default;
}
.ohc-cutoff-bar:hover { transform: scaleY(1.02); }
.ohc-cutoff-bar-value {
    position: absolute; inset: auto 0 100% 0;
    text-align: center;
    font-size: 0.72rem; font-weight: 700; color: var(--ohc-slate-700);
    padding-bottom: 4px;
}
.ohc-cutoff-labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.ohc-cutoff-label { text-align: center; font-size: 0.78rem; color: var(--ohc-slate-500); font-weight: 600; }
.ohc-cutoff-legend { display: flex; gap: 14px; margin-top: 14px; font-size: 0.82rem; color: var(--ohc-slate-700); flex-wrap: wrap; }
.ohc-cutoff-legend .badge {
    background: var(--ohc-blue-50); padding: 4px 10px; border-radius: 999px;
    color: var(--ohc-blue-700); font-weight: 700; font-size: 0.78rem;
}

/* ─────────────────── Mobile overrides for new v4 sections ─────────────────── */
@media (max-width: 768px) {
    .ohc-counsel-wrap, .ohc-qa-wrap, .ohc-rank-wrap, .ohc-video-wrap,
    .ohc-trending-wrap, .ohc-cutoff-wrap { padding: 0 12px; margin-top: 32px; }
    .ohc-counsel-card { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
    .ohc-cutoff-chart { height: 170px; }
    .ohc-cutoff-inner { padding: 18px; }
    .ohc-cutoff-header { flex-direction: column; align-items: flex-start; }
    .ohc-qa-answer, .ohc-qa-meta { padding-left: 0; }
}
