/* ========== Base / Tokens ========== */
:root {
    --bg: #f7f2ea;
    --surface: #fffcf7;
    --ink: #0d1117;
    --ink2: #2a2f3a;
    --muted: #6b6860;
    --orange: #ff5c00;
    --orange2: #ff7a2e;
    --orange-pale: #fff1e8;
    --navy: #111c2e;
    --navy2: #1c2d46;
    --green: #0f8a5f;
    --line: rgba(17, 24, 39, .09);
    --line2: rgba(17, 24, 39, .16);
    --r-md: 22px;
    --r-lg: 32px;
    --r-xl: 44px;
    --font: 'anjoman';
    --cont: min(1280px, calc(100% - 56px));
}

@font-face {
    font-family: 'anjoman';
    src: url(../font/Anjoman-Medium.woff);
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'anjoman-titr';
    src: url(../font/Anjoman-Black.ttf);
    font-style: normal;
    font-weight: 100;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: radial-gradient(ellipse 80% 50% at 92% 0%, rgba(255, 92, 0, .11), transparent 60%),
    radial-gradient(ellipse 60% 60% at 8% 14%, rgba(17, 28, 46, .07), transparent 55%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: .14;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.05' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a {
    text-decoration: none;
    color: inherit
}

button,
input {
    font-family: var(--font)
}

img {
    max-width: 100%;
    display: block
}

.c {
    width: var(--cont);
    margin: 0 auto
}

.card {
    background: rgba(255, 252, 247, .88);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px)
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3px;
    margin-bottom: 12px
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--orange), transparent)
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 99px;
    background: var(--orange-pale);
    border: 1px solid rgba(255, 92, 0, .18);
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap
}

.dot,
.live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(15, 138, 95, .14);
    animation: pulse 1.8s ease-in-out infinite
}

.rev {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease
}

.rev.on {
    opacity: 1;
    transform: none
}

.d1 {
    transition-delay: .07s
}

.d2 {
    transition-delay: .14s
}

.d3 {
    transition-delay: .21s
}

.d4 {
    transition-delay: .28s
}

/* ========== Header / Navigation ========== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 76px;
    display: flex;
    align-items: center;
    background: rgba(247, 242, 234, .82);
    backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    transition: height .3s, background .3s, box-shadow .3s
}

.nav.s {
    height: 66px;
    background: rgba(247, 242, 234, .96);
    box-shadow: 0 10px 36px rgba(17, 24, 39, .07)
}

.nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative
}

.brand {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    line-height: 1.2;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--orange);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(255, 92, 0, .24);
    flex-shrink: 0;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.brand-name {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.4px
}

.brand-sub {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none
}

.nav-links a {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 13px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink2);
    transition: color .2s, background .2s
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
    background: rgba(255, 92, 0, .08)
}

.nav-r {
    display: flex;
    align-items: center;
    gap: 9px
}

.nav-search-btn,
.menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line2);
    background: rgba(255, 255, 255, .65);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink2);
    transition: transform .2s, border-color .2s, background .2s;
    flex-shrink: 0
}

.nav-search-btn:hover,
.menu-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 92, 0, .4);
    background: var(--orange-pale)
}

.nav-search-btn.open {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff
}

.ncta {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 16px;
    border-radius: 99px;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: background .2s, transform .2s
}

.ncta:hover {
    background: var(--orange);
    transform: translateY(-2px)
}

.menu-btn {
    display: none;
    border-radius: 12px
}

.nav-mobile-link {
    display: none !important
}

/* ========== Reading progress + search ========== */
.read-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 3px;
    background: transparent
}

.read-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--orange), var(--orange2));
    border-radius: 0 99px 99px 0;
    transition: width .1s linear
}

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 88px;
    background: rgba(17, 24, 39, .52);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease
}

.search-overlay.open {
    opacity: 1;
    pointer-events: all
}

.search-box {
    width: min(680px, calc(100% - 40px));
    background: var(--surface);
    border-radius: var(--r-xl);
    border: 1px solid var(--line2);
    box-shadow: 0 32px 80px rgba(17, 24, 39, .2);
    overflow: hidden;
    transform: translateY(-12px) scale(.97);
    transition: transform .3s cubic-bezier(.22, .68, 0, 1.2)
}

.search-overlay.open .search-box {
    transform: none
}

.search-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line)
}

.search-input-row svg {
    flex-shrink: 0;
    color: var(--orange)
}

.search-input-row input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink)
}

.search-close {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    border: 1px solid var(--line2);
    background: rgba(255, 255, 255, .8);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 18px;
    transition: background .2s, color .2s
}

.search-close:hover {
    background: var(--orange-pale);
    color: var(--orange)
}

.search-hints {
    padding: 16px 22px 20px
}

.search-hints-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: .3px;
    margin-bottom: 12px
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.stag {
    height: 32px;
    padding: 0 13px;
    border-radius: 99px;
    border: 1px solid var(--line2);
    background: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 800;
    color: var(--ink2);
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s
}

.stag:hover {
    border-color: rgba(255, 92, 0, .3);
    color: var(--orange);
    background: var(--orange-pale)
}

.search-results {
    border-top: 1px solid var(--line);
}

.sr-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 22px;
    border-bottom: 1px solid var(--line);
    transition: background .15s;
}

.sr-item:last-child {
    border-bottom: 0;
}

.sr-item:hover {
    background: var(--orange-pale);
}

.sr-item-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}

.sr-item-intro {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.sr-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.sr-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    background: var(--orange-pale);
    padding: 2px 8px;
    border-radius: 99px;
}

.sr-time {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}

.sr-loading, .sr-empty {
    padding: 18px 22px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* ========== Hero ========== */
.hero {
    padding: 36px 0 0
}

.hero-main {
    min-height: 560px;
    border-radius: var(--r-xl);
    padding: clamp(30px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden
}

.hero-main::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url(../img/Rhino\ Pattern\ 5.png);
    background-size: cover;
    opacity: 0.2;
}

.hero-body,
.hero-stats {
    position: relative;
    z-index: 1
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px
}

.hero-h1 {
    font-size: clamp(35px, 5vw, 65px);
    font-weight: 200;
    letter-spacing: -2px;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 16px
}

.hero-h1 em {
    font-style: normal;
    color: var(--orange);
    position: relative;
    isolation: isolate;
    white-space: nowrap
}

.hero-h1 em::after {
    content: "";
    position: absolute;
    inset: auto -3px 5px;
    height: 13px;
    z-index: -1;
    border-radius: 99px;
    background: rgba(255, 92, 0, .14)
}

.hero-desc {
    max-width: 640px;
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--muted);
    line-height: 1.9;
    font-weight: 500
}

.hero-btns {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
    margin-top: 28px
}

.hbtn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 54px;
    padding: 0 22px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s, box-shadow .2s, background .2s;
    white-space: nowrap
}

.hbtn.p {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 12px 32px rgba(255, 92, 0, .22)
}

.hbtn.p:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(255, 92, 0, .3);
    background: var(--orange2)
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 32px
}

.stat {
    padding: 15px;
    border-radius: 18px;
    border: 1px solid rgba(17, 28, 46, .08);
    background: rgba(255, 255, 255, .6);
    text-align: center
}

.stat strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.8px;
    color: var(--navy);
    line-height: 1
}

.stat span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    margin-top: 5px
}

/* ========== Shared section title ========== */
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px
}

.sec-title {
    font-size: clamp(24px, 3.2vw, 42px);
    font-weight: 900;
    letter-spacing: -.9px;
    color: var(--ink);
    line-height: 1.15
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 99px;
    border: 1px solid var(--line2);
    background: rgba(255, 255, 255, .65);
    font-size: 13px;
    font-weight: 800;
    color: var(--ink2);
    transition: transform .2s, border-color .2s;
    flex-shrink: 0;
    backdrop-filter: blur(14px)
}

.link-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 92, 0, .38)
}

/* ========== Editor slider ========== */
.ed-sec {
    padding: 36px 0 0
}

.ed-slider-wrap {
    position: relative
}

.ed-track-outer {
    overflow: hidden;
    border-radius: var(--r-xl);
    transition: height .25s ease
}

.ed-track {
    display: flex;
    transition: transform .55s cubic-bezier(.22, .68, 0, 1.2);
    will-change: transform
}

.ed-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex
}

.ed-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    min-height: 460px;
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .07)
}

.ed-body {
    padding: clamp(28px, 3.5vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    background: linear-gradient(155deg, rgba(255, 92, 0, .16) 0%, var(--navy2) 28%, #0b1321 100%);
    min-width: 0
}

.ed-body::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0/42px 42px, linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0/42px 42px;
    pointer-events: none
}

.ed-body::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 92, 0, .26), transparent 58%);
    pointer-events: none
}

.ed-content,
.ed-footer {
    position: relative;
    z-index: 1
}

.ed-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffb07a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    margin-bottom: 14px
}

.ed-eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #ffb07a, transparent)
}

.ed-num {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, .35);
    letter-spacing: .3px;
    margin-bottom: 10px
}

.ed-title {
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 900;
    letter-spacing: -.7px;
    line-height: 1.32;
    color: #fff;
    margin-bottom: 14px
}

.ed-copy {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .68);
    font-weight: 500;
    max-width: 520px
}

.ed-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px
}

.ed-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .8)
}

.ed-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 92, 0, .3);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0
}

.ed-author-name {
    font-size: 13px;
    font-weight: 800;
    color: #fff
}

.ed-author-role {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
    margin-top: 1px
}

.ed-read {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    background: var(--orange);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(255, 92, 0, .3);
    transition: transform .2s, background .2s
}

.ed-read:hover {
    transform: translateY(-2px);
    background: var(--orange2)
}

.ed-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px
}

.ed-meta-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .55)
}

.ed-meta-chip span {
    color: rgba(255, 255, 255, .3)
}

.ed-vis {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: #111827
}

.ed-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center
}

.ed-vis-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, .42), transparent 65%)
}

.ed-vis-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(10px)
}

.ed-vis-tag {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    padding: 15px;
    border-radius: 18px;
    background: rgba(0, 0, 0, .38);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px)
}

.ed-vis-tag small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 4px
}

.ed-vis-tag strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    line-height: 1.55
}

.ed-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 18px
}

.ed-dots {
    display: flex;
    gap: 7px;
    align-items: center
}

.ed-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--line2);
    border: 0;
    cursor: pointer;
    transition: width .3s, background .3s
}

.ed-dot.active {
    width: 26px;
    background: var(--orange)
}

.ed-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line2);
    background: rgba(255, 255, 255, .7);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink2);
    transition: background .2s, border-color .2s, transform .2s
}

.ed-arrow:hover {
    background: var(--orange-pale);
    border-color: rgba(255, 92, 0, .3);
    transform: scale(1.08)
}

/* ========== News ticker ========== */
.ticker {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 252, 247, .72);
    backdrop-filter: blur(14px);
    overflow: hidden;
    width: 100%;
    margin-top: 22px;
}

.ticker-inner {
    display: flex;
    direction: ltr;
    width: max-content;
    will-change: transform;
}

.ticker-inner.running {
    animation: ticker-scroll var(--ticker-dur, 20s) linear infinite;
}

.ticker-inner:hover {
    animation-play-state: paused;
}

.ticker ul {
    display: flex;
    direction: ltr;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.ticker li {
    white-space: nowrap;
    padding: 11px 32px;
    color: var(--ink2);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticker li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

/* ========== Recent articles carousel ========== */
.recent-sec {
    padding: 64px 0 0
}

.article-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    padding: 18px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .54), rgba(255, 252, 247, .76)), radial-gradient(circle at 88% 10%, rgba(255, 92, 0, .10), transparent 34%);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 54px rgba(17, 24, 39, .08)
}

.article-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(rgba(17, 28, 46, .025) 1px, transparent 1px) 0 0/40px 40px, linear-gradient(90deg, rgba(17, 28, 46, .025) 1px, transparent 1px) 0 0/40px 40px
}

.article-carousel-viewport {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: calc(var(--r-xl) - 14px);
    direction: ltr
}

.article-carousel-track {
    display: flex;
    gap: 18px;
    transition: transform .55s cubic-bezier(.22, .68, 0, 1.2);
    will-change: transform;
    direction: ltr
}

.recent-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    min-height: 360px;
    padding: 16px;
    border-radius: 28px;
    border: 1px solid rgba(17, 24, 39, .095);
    background: rgba(255, 252, 247, .72);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 34px rgba(17, 24, 39, .06);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    direction: rtl;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease
}

.recent-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 18% 14%, rgba(255, 255, 255, .65), transparent 26%), radial-gradient(circle at 86% 8%, rgba(255, 92, 0, .105), transparent 34%);
    opacity: .9
}

.recent-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 92, 0, .30);
    box-shadow: 0 24px 58px rgba(17, 24, 39, .12);
    background: rgba(255, 252, 247, .9)
}

.rc-top,
.rc-body,
.rc-foot {
    position: relative;
    z-index: 1
}

.rc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px
}

.rc-cover {
    height: 210px;
    border-radius: 22px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.ac-author {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


.rc-cover span {
    position: absolute;
    right: 30px;
    bottom: 12px;
    display: flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .72);
    color: var(--navy);
    font-size: 10px;
    font-weight: 900;
    backdrop-filter: blur(10px)
}

.rc-title {
    font-size: 19px;
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: -.35px;
    color: var(--navy);
    margin-bottom: 10px
}

.rc-copy {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.85;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.rc-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(17, 24, 39, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.rc-author {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: var(--ink2);
    font-size: 12px;
    font-weight: 800
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0
}

.rc-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap
}

.recent-controls {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 44px 1fr auto 44px;
    align-items: center;
    gap: 12px;
    margin-top: 18px
}

.recent-progress {
    height: 6px;
    border-radius: 99px;
    background: rgba(17, 24, 39, .10);
    overflow: hidden
}

.recent-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--orange), var(--orange2));
    transition: width .35s ease
}

.recent-counter {
    min-width: 64px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900
}

.recent-counter strong {
    color: var(--orange)
}

.sl-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line2);
    background: rgba(255, 255, 255, .72);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink2);
    transition: background .2s, border-color .2s, transform .2s;
    backdrop-filter: blur(14px)
}

.sl-arrow:hover {
    background: var(--orange-pale);
    border-color: rgba(255, 92, 0, .3);
    transform: scale(1.08)
}

/* ========== Study paths ========== */
.paths-sec {
    padding: 64px 0 0;
    margin-bottom: 50px
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px
}

.path-card {
    display: block;
    padding: 20px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s
}

.path-card::after {
    content: "";
    position: absolute;
    bottom: -28px;
    left: -28px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 92, 0, .07);
    transition: transform .3s
}

.path-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 92, 0, .3);
    box-shadow: 0 20px 44px rgba(17, 24, 39, .09)
}

.path-card:hover::after {
    transform: scale(1.3)
}

.path-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--orange-pale);
    font-size: 22px;
    margin-bottom: 14px
}

.path-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 7px
}

.path-card p {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.72
}

/* ══ FOOTER ══ */
.footer {
    background: var(--navy);
    padding: 44px 0 0
}

.footer-in {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.footer-brand .brand-name {
    color: #fff
}

.footer-brand .brand-sub {
    color: rgba(255, 255, 255, .52)
}

.footer-desc {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .52);
    line-height: 1.8;
    max-width: 320px;
    margin-top: 6px
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center
}

.footer-address {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .52);
    line-height: 1.8
}

.footer-socials {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: center
}

.fsoc {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .11);
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .8);
    transition: background .2s, transform .2s, border-color .2s
}

.fsoc:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-3px)
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px
}

.footer-links-col a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .52);
    transition: color .2s
}

.footer-links-col a:hover {
    color: #fff
}

.footer-bottom {
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.footer-bottom span {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .36)
}

/* ========== Animations ========== */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(.74);
        opacity: .7
    }
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ========== Responsive ========== */
@media (max-width: 1180px) {
    .ed-card {
        grid-template-columns: minmax(0, 1fr) 360px
    }

    .recent-card {
        flex-basis: calc((100% - 18px) / 2)
    }

    .paths-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width: 980px) {
    .nav-links {
        display: none
    }

    .menu-btn {
        display: grid
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        right: 0;
        left: 0;
        padding: 10px;
        border-radius: 20px;
        border: 1px solid var(--line);
        background: rgba(247, 242, 234, .97);
        box-shadow: 0 20px 50px rgba(17, 24, 39, .1);
        z-index: 200
    }

    .nav-links.open a {
        justify-content: center;
        border-radius: 11px
    }

    .nav-mobile-link {
        display: flex !important
    }

    .ncta {
        display: none
    }

    .ed-card {
        grid-template-columns: 1fr;
        min-height: auto
    }

    .ed-vis {
        height: 260px;
        min-height: 260px
    }

    .ed-body {
        min-height: 360px
    }
}

@media (max-width: 720px) {
    :root {
        --cont: min(100% - 30px, 1280px)
    }
     .brand-sub {
        display: none
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .hero-main {
        min-height: auto
    }

    .hero-stats {
        grid-template-columns: 1fr
    }

    .hero-h1 {
        font-size: 36px;
        letter-spacing: -1.4px
    }

    .sec-head {
        display: grid;
        grid-template-columns: repeat(2, 150px);
    }

    .link-btn {
        width: 150px;

    }

    .ed-sec {
        padding-top: 28px
    }

    .ed-track-outer,
    .ed-card,
    .article-carousel {
        border-radius: var(--r-lg)
    }

    .ed-body {
        padding: 24px;
        min-height: 380px
    }

    .ed-title {
        font-size: 22px;
        line-height: 1.42
    }

    .ed-copy {
        font-size: 13px;
        line-height: 1.85
    }

    .ed-read {
        width: 100%
    }

    .ed-vis {
        height: 220px;
        min-height: 220px
    }

    .article-carousel {
        padding: 12px
    }

    .article-carousel-viewport {
        border-radius: 24px
    }

    .article-carousel-track {
        gap: 12px
    }

    .recent-card {
        flex-basis: 100%;
        min-height: 340px;
        border-radius: 24px
    }

    .recent-controls {
        grid-template-columns: 42px 1fr 58px 42px;
        gap: 9px
    }

    .sl-arrow {
        width: 42px;
        height: 42px
    }

    .paths-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .ticker li {
        font-size: 12px;
        padding: 10px 18px
    }

    /* footer section */
    .footer-in {
        flex-direction: column;
        align-items: center;
        text-align: center
    }

    .footer-brand {
        justify-content: center;
        text-align: right;
    }

    .footer-desc,
    .footer-address {
        text-align: center
    }

    .footer-links-col,
    .footer-socials {
        align-items: center;
        justify-content: center
    }

    .footer-bottom {
        justify-content: center;
        text-align: center
    }
}

@media (max-width: 500px) {


    .hero-stats {
        grid-template-columns: 1fr
    }

    .paths-grid {
        grid-template-columns: 1fr
    }

    .ed-body {
        padding: 20px;
        min-height: 420px
    }

    .ed-vis {
        height: 190px;
        min-height: 190px
    }

    .ed-vis-tag strong {
        font-size: 12px
    }

    .recent-card {
        padding: 14px;
        min-height: 335px
    }

    .rc-foot {
        align-items: flex-start;
        flex-direction: column
    }

    .rc-read {
        width: 100%;
        justify-content: center;
        min-height: 38px;
        border-radius: 13px;
        background: var(--orange-pale)
    }

    .recent-controls {
        grid-template-columns: 40px 1fr 50px 40px
    }

    .recent-counter {
        font-size: 12px;
        min-width: 50px
    }

}