/* =========================================================
   BLOG PAGE — base styles
   Uses tokens from style.css:
   --navy-950 --navy-900 --navy-800 --indigo --indigo-2
   --amber --amber-2 --teal --ink --slate --slate-soft
   --paper --paper-2 --line --line-dark
   --radius-lg --radius-md --radius-sm --shadow-soft --shadow-pop --ease
========================================================= */

/* =========================================================
   TOP UTILITY BAR (blog page uses its own class names,
   different from .sv-topbar on the other pages — styled here)
========================================================= */
.top-bar {
    background: var(--navy-950);
    color: #C9CEDA;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px clamp(20px, 5vw, 48px);
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar .left-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar .info {
    display: flex;
    align-items: center;
    gap: 7px;
}

.top-bar .info i {
    color: var(--amber);
    font-size: 11px;
}

.top-bar .divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, .15);
}

.top-bar .top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.follow-label {
    font-size: 12.5px;
    color: #C9CEDA;
}

.top-bar .social-icons {
    display: flex;
    gap: 10px;
}

.top-bar .social-icons a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9CEDA;
    font-size: 11px;
    transition: .2s var(--ease);
}

.top-bar .social-icons a:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--navy-950);
}

/* Extra button variants used on this page */
.btn-navy {
    background: var(--navy-900);
    color: #fff;
}

.btn-navy:hover {
    background: var(--indigo);
    transform: translateY(-2px);
}

.btn-outline-navy {
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: #fff;
}

.btn-outline-navy:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
}

/* =========================================================
   BLOG HERO — dark hero matching the rest of the site
========================================================= */
.blog-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
    padding: clamp(56px, 8vw, 90px) clamp(20px, 5vw, 48px);
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 420px at 88% 8%, rgba(226, 160, 63, .16), transparent 60%);
    pointer-events: none;
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.blog-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--amber-2);
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.blog-hero-copy h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -.01em;
}

.blog-hero-copy h1 .highlight {
    color: var(--amber-2);
}

.blog-hero-copy p {
    font-size: 15.5px;
    color: #B9C1D4;
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.blog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.blog-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    transition: .25s var(--ease);
}

/* ---------- Visual ---------- */
.blog-hero-visual {
    position: relative;
}

.blog-hero-visual::before {
    content: "";
    position: absolute;
    inset: -18px -18px 18px 18px;
    background: linear-gradient(135deg, rgba(70, 80, 214, .28), rgba(226, 160, 63, .2));
    border-radius: var(--radius-lg);
    z-index: 0;
}

.blog-hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
}

.blog-hero-badge {
    position: absolute;
    left: 24px;
    bottom: -22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-pop);
    padding: 14px 20px;
}

.blog-hero-badge i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(70, 80, 214, .1);
    color: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.blog-hero-badge h4 {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.1;
}

.blog-hero-badge span {
    font-size: 11.5px;
    color: var(--slate);
}

/* =========================================================
   MAIN LAYOUT
========================================================= */
.blog-main {
    padding: clamp(56px, 8vw, 90px) clamp(20px, 5vw, 48px);
    max-width: 1240px;
    margin: auto;
}

.blog-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.blog-section-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-900);
    margin: 0 0 24px;
    letter-spacing: -.01em;
}

.blog-content .blog-section-title:not(:first-child) {
    margin-top: 50px;
}

/* ---------- Featured article ---------- */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    align-items: center;
    transition: .3s var(--ease);
}

.featured-article:hover {
    box-shadow: var(--shadow-pop);
    transform: translateY(-4px);
    border-color: transparent;
}

.featured-article-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    min-height: 220px;
}

.featured-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-tag {
    display: inline-block;
    background: rgba(70, 80, 214, .1);
    color: var(--indigo);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.featured-article-body h3 {
    font-family: 'Sora', sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.35;
    margin-bottom: 12px;
}

.featured-article-body p {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.65;
    margin-bottom: 16px;
}

.post-meta {
    display: flex;
    gap: 18px;
    font-size: 12.5px;
    color: var(--slate-soft);
    margin-bottom: 16px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy-900);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 20px;
    border-radius: 100px;
    transition: .25s var(--ease);
}

.featured-article:hover .read-more {
    background: var(--indigo);
}

/* ---------- Blog grid ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: .3s var(--ease);
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-pop);
    border-color: transparent;
}

.blog-card-img {
    height: 150px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s var(--ease);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 18px;
}

.post-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(70, 80, 214, .1);
    color: var(--indigo);
    font-size: 12.5px;
    margin-bottom: 10px;
}

.post-tag-inline {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--indigo);
    margin-bottom: 8px;
}

.blog-card-body h4 {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-body .post-meta {
    margin-bottom: 0;
    gap: 6px;
    font-size: 11.5px;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

.view-more a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--navy-900);
    color: var(--navy-900);
    font-weight: 700;
    font-size: 14.5px;
    padding: 13px 26px;
    border-radius: 100px;
    transition: .25s var(--ease);
}

.view-more a:hover {
    background: var(--navy-900);
    color: #fff;
}

/* =========================================================
   SIDEBAR
========================================================= */
.sidebar-search {
    display: flex;
    gap: 6px;
    margin-bottom: 26px;
}

.sidebar-search input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    outline: none;
    transition: .25s var(--ease);
}

.sidebar-search input:focus {
    border-color: var(--indigo);
}

.sidebar-search button {
    width: 48px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--indigo);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: .25s var(--ease);
}

.sidebar-search button:hover {
    background: var(--amber);
    color: var(--navy-950);
}

.sidebar-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 26px;
}

.sidebar-box h3 {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 18px;
}

.category-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.category-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    transition: .2s;
}

.category-list li a:hover {
    color: var(--indigo);
}

.category-list li a i {
    color: var(--indigo);
    font-size: 13px;
    width: 16px;
}

.category-list li span {
    font-size: 12.5px;
    color: var(--slate-soft);
    font-weight: 700;
}

/* ---------- Newsletter box ---------- */
.newsletter-box {
    background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
    border: none;
    color: #fff;
}

.newsletter-box h3 {
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
}

.newsletter-box p {
    font-size: 13px;
    color: #B9C1D4;
    line-height: 1.6;
    margin-bottom: 18px;
}

.newsletter-form input {
    width: 100%;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    outline: none;
    margin-bottom: 12px;
}

.newsletter-form button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--amber);
    color: var(--navy-950);
    font-weight: 700;
    font-size: 14px;
    padding: 13px;
    cursor: pointer;
    transition: .25s var(--ease);
}

.newsletter-form button:hover {
    background: var(--amber-2);
}

/* ---------- Recent posts ---------- */
.recent-list li {
    margin-bottom: 16px;
}

.recent-list li:last-child {
    margin-bottom: 0;
}

.recent-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recent-list li img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.recent-list li span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: .2s;
}

.recent-list li a:hover span {
    color: var(--indigo);
}

.recent-list li small {
    font-size: 11.5px;
    color: var(--slate-soft);
}

/* =========================================================
   DREAM JOB CTA
========================================================= */
.dream-cta {
    background: var(--paper);
    padding: clamp(48px, 6vw, 70px) clamp(20px, 5vw, 48px);
}

.dream-cta-inner {
    max-width: 1240px;
    margin: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 40px);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 34px;
    align-items: center;
}

.dream-cta-visual img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.dream-cta-copy h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.dream-cta-copy p {
    font-size: 14.5px;
    color: var(--slate);
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 640px;
}

.dream-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.dream-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    transition: .25s var(--ease);
}

.dream-cta-actions .btn-navy {
    background: var(--navy-900);
    color: #fff;
}

.dream-cta-actions .btn-navy:hover {
    background: var(--indigo);
    transform: translateY(-2px);
}

.dream-cta-actions .btn-outline-navy {
    border: 1.5px solid var(--navy-900);
    color: var(--navy-900);
    background: transparent;
}

.dream-cta-actions .btn-outline-navy:hover {
    background: var(--navy-900);
    color: #fff;
}

.dream-cta-features {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid var(--line);
    padding-top: 30px;
}

.dream-feature {
    text-align: center;
}

.dream-feature i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(70, 80, 214, .1);
    color: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
}

.dream-feature b {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.dream-feature span {
    font-size: 12.5px;
    color: var(--slate);
    line-height: 1.5;
}

/* =========================================================
   STATS SECTION — was completely missing before, added here
========================================================= */
.stats {
    background: var(--navy-900);
    padding: clamp(40px, 6vw, 60px) clamp(20px, 5vw, 48px);
}

.stats-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 16px;
    border-right: 1px solid var(--line-dark);
}

.stat:last-child {
    border-right: none;
}

.stat i {
    font-size: 30px;
    color: var(--amber-2);
    flex-shrink: 0;
}

.stat h3 {
    font-family: 'Sora', sans-serif;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 2px;
}

.stat p {
    font-size: 12.5px;
    color: #9AA3B8;
    margin: 0;
}

/* =========================================================
   SCROLL REVEAL — fade-in + slide-up on scroll
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* Mobile view me top bar hide */
@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }
}