/* ==========================================================================
   MERIDIAN — Editorial Magazine  ·  Full layout & style rewrite
   Warm dark editorial aesthetic: espresso base, amber-gold + terracotta
   accents, serif display headings. DOM data variables are untouched;
   layout is driven entirely by this stylesheet via the new `mr-` classes.
   ========================================================================== */
:root {
    --bg: #0c1118;
    --bg-2: #121a24;
    --surface: #151d28;
    --surface-2: #1b2532;
    --surface-3: #243044;
    --line: rgba(126, 162, 196, 0.14);
    --line-2: rgba(126, 162, 196, 0.30);
    --accent: #38bdf8;          /* sky / cyan-blue */
    --accent-soft: rgba(56, 189, 248, 0.14);
    --accent-2: #22d3ee;        /* cyan (secondary) */
    --accent-3: #8aa0b4;        /* cool neutral grey-blue */
    --ink: #e8f1f8;             /* cool white headings */
    --text: #b3c0cf;            /* cool grey body */
    --mute: #7c8a99;            /* muted cool grey */
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 6px 22px rgba(0, 0, 0, 0.36);
    --glow: 0 0 0 1px rgba(56, 189, 248, 0.32), 0 14px 36px rgba(56, 189, 248, 0.16);
    --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --label: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --main-color: var(--accent);
    --main: var(--accent);
    --main-2: var(--accent-2);
    --main-3: var(--accent-3);
    --heading: var(--ink);
    --heading-color: var(--ink);
    --paragraph: var(--text);
    --paragraph-color: var(--text);
    --muted: var(--mute);
    --muted-color: var(--mute);
    --main-color-2: var(--accent-2);
    --heading-font: var(--serif);
    --border: var(--line);
    --border-strong: var(--line-2);
    --neon: 0 0 0 1px rgba(56, 189, 248, 0.30), 0 14px 36px rgba(56, 189, 248, 0.14);
    --neon-pink: 0 0 0 1px rgba(34, 211, 238, 0.30), 0 14px 36px rgba(34, 211, 238, 0.14);
}

/* ===================== base ===================== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(820px 380px at 10% -6%, rgba(56, 189, 248, 0.10), transparent 60%),
        radial-gradient(760px 380px at 92% -2%, rgba(34, 211, 238, 0.07), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.22;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
p { margin: 0 0 1rem; }
::selection { background: rgba(56, 189, 248, 0.30); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3a2f20; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===================== section spacing ===================== */
.mr-hero, .mr-feature, .mr-trending, .mr-video, .mr-feed { padding: 10px 0; }
.mr-hero { padding-top: 28px; }
.pd-top-60 { padding-top: 60px; }
.pd-bottom-60 { padding-bottom: 60px; }
.pd-top-100 { padding-top: 84px; }
.pd-bottom-100 { padding-bottom: 84px; }
.pd-top-30 { padding-top: 30px; }
.pd-bottom-30 { padding-bottom: 10px; }
.pd-bottom-40 { padding-bottom: 40px; }

.bg-deep {
    position: relative;
    background: linear-gradient(180deg, #121a24 0%, #0c1118 100%);
    overflow: hidden;
}
.bg-deep::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(126, 162, 196, 0.04) 0 1px, transparent 1px 22px);
    -webkit-mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 72%);
            mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 72%);
    pointer-events: none;
}
.bg-ink { background: #100c07; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.mr-btn, .mr-btn--ghost, .mr-btn--block, .mr-btn--cat {
    display: inline-block;
    position: relative;
    padding: 12px 26px;
    font-family: var(--label);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #06121a;
    background: linear-gradient(120deg, var(--accent), #7dd3fc);
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    box-shadow: var(--shadow-sm);
}
.mr-btn:hover, .mr-btn--ghost:hover, .mr-btn--block:hover, .mr-btn--cat:hover {
    color: #06121a;
    transform: translateY(-2px);
    box-shadow: var(--glow);
    filter: brightness(1.05);
}
.mr-btn--ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: none;
}
.mr-btn--ghost:hover { background: var(--accent); color: #06121a; box-shadow: var(--shadow-sm); }
.mr-btn--block { width: 100%; text-align: center; }
.mr-btn--cat {
    color: var(--accent);
    border: 1px solid var(--line-2);
    background: var(--surface);
    padding: 9px 18px;
    box-shadow: none;
}
.mr-btn--cat:hover { border-color: var(--accent); color: var(--accent); background: var(--surface-2); }

/* ==========================================================================
   BADGES / KICKERS (category labels)
   ========================================================================== */
.mr-badge {
    display: inline-block;
    position: absolute;
    left: 14px; bottom: 14px;
    z-index: 4;
    padding: 5px 13px;
    font-family: var(--label);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #06121a;
    background: var(--accent);
    border-radius: 3px;
}
.mr-badge--rust { background: var(--accent-2); color: #fff; }

.mr-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-family: var(--label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.mr-kicker--gold { color: var(--accent); }

/* ==========================================================================
   SECTION HEADING — serif title + gold rule
   ========================================================================== */
.mr-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    width: 100%;
}
.mr-heading > div:first-child { flex: 1 1 auto; }
.mr-heading::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 84px; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.mr-heading .title {
    position: relative;
    padding-left: 20px;
    font-size: 26px;
    letter-spacing: 0;
    margin: 0;
}
.mr-heading .title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 26px;
    background: var(--accent);
    border-radius: 2px;
}
.mr-heading > div > p {
    margin: 6px 0 0;
    font-family: var(--label);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mute);
}
.mr-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-left: auto;
    flex-shrink: 0;
    font-family: var(--label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--line-2);
    border-radius: 40px;
    white-space: nowrap;
    transition: all .25s ease;
}
.mr-more:hover { background: var(--accent); color: #06121a; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.mr-more .bi { fill: currentColor; }

/* ==========================================================================
   TOPBAR + NAVBAR
   ========================================================================== */
.mr-nav-wrap { background: transparent; }
.mr-topbar {
    background: #100c07;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.mr-topbar .topbar-menu ul { margin: 0; padding: 0; list-style: none; display: flex; }
.mr-topbar .topbar-menu a {
    color: var(--text);
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 0;
    display: inline-block;
}
.mr-topbar .topbar-menu a:hover { color: var(--accent); }

.mr-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    background: rgba(22, 18, 12, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
/* body top offset so fixed nav doesn't cover content (JS refines this) */
body { padding-top: 72px; }
.mr-nav__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-left: 20px; padding-right: 20px; }
.mr-nav__bar { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.mr-nav .navbar-collapse { flex: 1 1 auto; }
.mr-nav__brand { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; color: var(--ink); text-decoration: none; letter-spacing: .3px; white-space: nowrap; }
.mr-nav__brand:hover { color: var(--accent); }
.mr-logo img { max-height: 40px; }
.mr-logo__link { display: inline-flex; align-items: center; }
.mr-nav__toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    position: relative;
}
.mr-nav__toggle .icon-left,
.mr-nav__toggle .icon-right {
    position: absolute; left: 50%; top: 50%;
    width: 18px; height: 2px; background: var(--ink);
    transform: translate(-50%, -50%);
    transition: all .3s ease;
}
.mr-nav__toggle .icon-left { transform: translate(-50%, calc(-50% - 5px)); }
.mr-nav__toggle .icon-right { transform: translate(-50%, calc(-50% + 5px)); }
.mr-nav__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0; padding: 0;
    align-items: center;
}
.mr-nav__list > li { position: relative; }
.mr-nav__list > li > a {
    display: inline-block;
    padding: 10px 16px;
    font-family: var(--label);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .5px;
    color: var(--text);
    position: relative;
}
.mr-nav__list > li > a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.mr-nav__list > li > a:hover,
.mr-nav__list > li.active > a { color: var(--ink); }
.mr-nav__list > li > a:hover::after,
.mr-nav__list > li.active > a::after { transform: scaleX(1); }
.mr-nav__search {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: all .25s ease;
}
.mr-nav__search:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 991px) {
    .mr-nav__actions { display: none !important; }
}
/* sticky shadow when scrolled */
.mr-nav-wrap.mr-nav--fixed .mr-nav { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }

@media (min-width: 992px) {
    .mr-nav-wrap .mr-nav__inner .navbar-collapse { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; }
    .mr-nav-wrap .mr-nav__inner .navbar-collapse .mr-nav__list { width: auto !important; flex: 0 0 auto !important; }
    .header-info-right { margin-left: auto !important; flex: 0 0 auto !important; }
}
.header-info-right { display: flex !important; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-left: auto; }
@media (max-width: 991px) {
    .mr-nav__inner.container { padding-left: 16px !important; padding-right: 16px !important; }
    .header-info-right { flex-wrap: nowrap; gap: .5rem; justify-content: flex-end; width: auto; margin-left: 0; }
}

/* ---- auth user area (unified from nav.html inline styles) ---- */
.mr-user { position: relative; display: flex; align-items: center; margin-left: auto; }
.mr-signin {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: .45rem;
    height: 40px; line-height: 40px; padding: 0 18px;
    border: 1px solid var(--accent); border-radius: 4px;
    background: transparent; color: var(--accent);
    font-weight: 600; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none; white-space: nowrap;
    transform: perspective(1px) translateZ(0); transition: color .4s ease;
}
.mr-signin::before {
    content: ""; position: absolute; z-index: -1;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
    transition: transform .4s ease;
}
.mr-signin:hover, .mr-signin:focus { color: #06121a; }
.mr-signin:hover::before, .mr-signin:focus::before { transform: scaleX(1); }
.mr-udd { position: relative; }
.mr-udd__toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem .7rem; border-radius: 4px;
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9rem;
    transition: all .25s ease;
}
.mr-udd__toggle:hover { background: var(--surface-2); color: var(--accent); }
.mr-udd__toggle .bi { color: var(--ink) !important; fill: var(--ink) !important; transition: transform .25s ease, color .25s ease; }
.mr-udd__menu {
    display: none; position: absolute; top: 100%; right: 0;
    min-width: 200px; margin-top: .6rem; padding: .5rem;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line-2); border-radius: 6px; box-shadow: var(--shadow);
    list-style: none; z-index: 1060;
}
.mr-udd.open .mr-udd__menu { display: block; animation: mrDropIn .22s ease; }
.mr-udd.open .mr-udd__toggle .bi:last-child { transform: rotate(180deg); }
.mr-udd__item {
    display: flex; align-items: center; gap: .65rem;
    padding: .6rem .8rem; border-radius: 4px;
    color: var(--text); font-size: .92rem; font-weight: 500;
    text-decoration: none; transition: all .2s ease;
}
.mr-udd__item .bi { color: var(--accent); flex: none; transition: color .2s ease; }
.mr-udd__item:hover { background: var(--surface-2); color: var(--accent); }
.mr-udd__item:hover .bi { color: var(--accent); }
.mr-udd__divider { margin: .4rem .5rem; border: 0; border-top: 1px solid var(--line); }
@keyframes mrDropIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   CARDS — unified editorial card system
   Redesigned: restrained warm-dark editorial look. Thin hairline borders,
   a frosted surface, an accent top-rule that reveals on hover, gentle lift
   and image zoom. No heavy gold glow.
   ========================================================================== */

/* ---- base card ---- */
.mr-card {
    position: relative;
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.mr-card::before {                 /* accent top-rule revealed on hover */
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
    z-index: 6;
}
.mr-card:hover {
    border-color: var(--line-2);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-6px);
}
.mr-card:hover::before { transform: scaleX(1); }
.mr-card .thumb { position: relative; margin: 0; overflow: hidden; }
.mr-card .thumb img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.mr-card:hover .thumb img { transform: scale(1.06); }
.mr-card .thumb::after {           /* crisp gradient scrim for legible text */
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8, 12, 16, 0.92) 4%, rgba(8, 12, 16, 0.34) 42%, transparent 72%);
    pointer-events: none;
}
.mr-card .mr-badge {
    position: absolute;
    z-index: 5;
    top: 14px; left: 14px;
}
.mr-card .details { position: relative; padding: 20px 22px 22px; }
.mr-card .details .mr-kicker { color: var(--accent); }
.mr-card .details .title {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    margin: 6px 0 0;
    transition: color .3s ease;
}
.mr-card .details .title:hover { color: var(--accent); }
.mr-card .details .mr-meta { margin-top: 12px; }

/* ---- overlay variant : text sits on the image ---- */
.mr-card--overlay .thumb { height: 100%; }
.mr-card--overlay > .details {
    position: absolute;
    z-index: 4;
    left: 0; right: 0; bottom: 0;
    padding: 26px 24px 24px;
}
.mr-card--overlay > .details .title {
    color: #fff;
    font-size: 22px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.mr-card--overlay > .details .mr-kicker { color: #7dd3fc; }
.mr-card--overlay .details .mr-meta { color: rgba(255,255,255,.8); }
.mr-card--overlay .details .mr-meta i { color: var(--accent) !important; }

/* ---- hero / feature overlays : larger imagery + title ---- */
.mr-hero .mr-card--overlay .thumb img { aspect-ratio: 16 / 11; }
.mr-hero .mr-card--overlay > .details .title { font-size: 27px; }
.mr-feature .mr-card--overlay .thumb img { aspect-ratio: 16 / 9; }
.mr-feature .mr-card--overlay > .details .title { font-size: 25px; }

/* ---- static grid wrapper (replaces the old carousels) ---- */
.home-grid { display: grid; gap: 30px; }
.home-grid--single { grid-template-columns: 1fr; }
.home-grid--multi { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .home-grid--multi { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .home-grid--multi { grid-template-columns: 1fr; } }
.home-grid .item { margin: 0; width: 100%; }

/* ===================== SECOND LIST — editorial numbered rail ===================== */
.mr-rail { display: flex; flex-direction: column; height: 100%; counter-reset: rail; }
.mr-rail .mr-card {
    display: block;
    padding: 20px 0 20px 56px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    counter-increment: rail;
}
.mr-rail .mr-card::after { display: none; }   /* disable base top-rule here */
.mr-rail .mr-card:first-child { padding-top: 0; }
.mr-rail .mr-card:last-child { border-bottom: 0; }
.mr-rail .mr-card::before {
    content: counter(rail, decimal-leading-zero);
    position: absolute;
    left: 0; top: 18px;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-2);
    transition: -webkit-text-stroke .3s ease;
}
.mr-rail .mr-card:hover::before { -webkit-text-stroke: 1px var(--accent); }
.mr-rail .mr-kicker { display: block; }
.mr-rail .details h2 {
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 2px 0 0;
}
.mr-rail .details h2 a { color: var(--ink); }
.mr-rail .mr-card:hover .details h2 a { color: var(--accent); }
.mr-rail .mr-meta { margin-top: 6px; font-size: 12px; }

/* rail card with left thumbnail */
.mr-rail .mr-card.mr-rail-card {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0;
}
.mr-rail .mr-card.mr-rail-card::before { display: none; }
.mr-rail .mr-card.mr-rail-card .thumb {
    flex: 0 0 92px; width: 92px; height: 74px;
    border-radius: 8px; overflow: hidden;
}
.mr-rail .mr-card.mr-rail-card .thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.mr-rail .mr-card.mr-rail-card:hover .thumb img { transform: scale(1.06); }
.mr-rail .mr-card.mr-rail-card .details { flex: 1; min-width: 0; }
.mr-rail .mr-card.mr-rail-card .details h2 { margin: 2px 0 0; }
.mr-rail .mr-card.mr-rail-card .details h2 a { font-size: 15px; }

/* ===================== THIRD LIST — stacked overlay cards ===================== */
.row.thirdList { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.row.thirdList .mr-card--overlay .thumb img { aspect-ratio: 16 / 10; }
.row.thirdList .mr-card--overlay > .details .title { font-size: 17px; }

/* ===================== HERO RAIL (forthList) — mini tiles ===================== */
.mr-hero-rail { margin-top: 30px; }
.mr-hero-rail .mr-tile--mini {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.mr-hero-rail .mr-tile--mini:hover {
    border-color: var(--line-2);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}
.mr-hero-rail .media-left {
    flex: 0 0 76px;
    width: 76px; height: 76px;
    border-radius: 8px;
    overflow: hidden;
}
.mr-hero-rail .media-left img { width: 76px !important; height: 76px !important; object-fit: cover; }
.mr-hero-rail .media-body .mr-kicker { font-size: 10px; margin-bottom: 2px; }
.mr-hero-rail .media-body .title { color: var(--ink); font-size: 15px; line-height: 1.4; margin: 0; }
.mr-hero-rail .mr-tile--mini:hover .media-body .title { color: var(--accent); }

/* ===================== LEAD FEED (key==1 hero) — text editorial cards ===================== */
.lead-feed { display: flex; flex-direction: column; }
.lead-story {
    display: block;
    position: relative;
    padding: 22px 0 22px 22px;
    border-top: 1px solid var(--line);
    transition: padding-left .3s ease;
}
.lead-story:first-child { border-top: 0; padding-top: 0; }
.lead-story::before {
    content: "";
    position: absolute; left: 0; top: 22px; bottom: 22px;
    width: 3px; border-radius: 3px;
    background: var(--accent);
    transform: scaleY(0); transform-origin: top;
    transition: transform .3s ease;
}
.lead-story:first-child::before { top: 0; }
.lead-story:hover { padding-left: 26px; }
.lead-story:hover::before { transform: scaleY(1); }
.lead-story__title {
    margin: 0; color: var(--ink);
    font-family: var(--serif); font-weight: 700; line-height: 1.32;
    font-size: 20px;
}
.lead-story:hover .lead-story__title { color: var(--accent); }
.lead-story__meta {
    display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px;
    font: 500 12px/1 var(--label); color: var(--mute);
}
.lead-story__meta i { color: var(--accent); margin-right: 5px; }

/* ===================== MINI FEED (key==1 banner bottom) — numbered rows ===================== */
.mini-feed {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin-top: 26px; counter-reset: mini;
}
@media (max-width: 991px) { .mini-feed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .mini-feed { grid-template-columns: 1fr; } }
.mini-row {
    display: block; position: relative;
    background: var(--surface);
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    counter-increment: mini;
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.mini-row:hover {
    border-color: var(--line-2);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}
.mini-row__thumb {
    position: relative;
    width: 100%; height: 132px; overflow: hidden;
}
.mini-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mini-row:hover .mini-row__thumb img { transform: scale(1.06); }
.mini-row__index {
    position: absolute; left: 12px; top: 12px; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    min-width: 34px; height: 30px; padding: 0 6px;
    font: 800 14px/1 var(--serif);
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-2);
    background: rgba(8, 12, 16, 0.55); border-radius: 6px;
}
.mini-row__index::before { content: counter(mini, decimal-leading-zero); }
.mini-row:hover .mini-row__index { -webkit-text-stroke: 1px var(--accent); }
.mini-row__body { padding: 14px 16px 16px; }
.mini-row__title {
    margin: 0; color: var(--ink);
    font-size: 15px; font-weight: 700; line-height: 1.4;
}
.mini-row:hover .mini-row__title { color: var(--accent); }
.mini-row__meta {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px;
    font: 500 11px/1 var(--label); color: var(--mute);
}
.mini-row__meta i { color: var(--accent); margin-right: 4px; }

/* ===================== FEATURE FEED (key==2) — full-width list rows ===================== */
.feature-feed { display: flex; flex-direction: column; margin-top: 6px; }
.feature-row {
    display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center;
    padding: 22px 0; border-top: 1px solid var(--line);
    transition: padding-left .3s ease;
}
.feature-row:first-child { border-top: 0; padding-top: 4px; }
.feature-row:hover { padding-left: 6px; }
.feature-row__thumb {
    display: block;
    width: 280px; height: 180px; border-radius: 12px; overflow: hidden;
    background: var(--surface-2);
}
.feature-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.feature-row:hover .feature-row__thumb img { transform: scale(1.05); }
.feature-row__main { min-width: 0; }
.feature-row__kicker { display: inline-block; margin-bottom: 8px; }
.feature-row__title {
    margin: 0 0 8px; color: var(--ink);
    font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.3;
}
.feature-row:hover .feature-row__title a { color: var(--accent); }
.feature-row__summary {
    margin: 0 0 12px; color: var(--mute);
    font: 400 14px/1.55 var(--sans);
}
.feature-row__meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    font: 500 12px/1 var(--label); color: var(--mute);
}
.feature-row__meta i { color: var(--accent); margin-right: 5px; }
@media (max-width: 767px) {
    .feature-row { grid-template-columns: 1fr; gap: 14px; }
    .feature-row__thumb { width: 100%; height: 200px; }
    .feature-row__title { font-size: 19px; }
}

/* ===================== TAB LIST — horizontal cards ===================== */
.tab-content .tab-pane { display: none; }
.tab-content .tab-pane.active { display: block; }
.mr-tile--lead .mr-card {
    display: block;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}
.mr-tile--lead .mr-card:first-child { padding-top: 0; }
.mr-tile--lead .mr-card:last-child { border-bottom: 0; }
.mr-tile--lead .media { display: flex; gap: 18px; align-items: flex-start; }
.mr-tile--lead .media-body { flex: 1; min-width: 0; }
.mr-tile--lead .media-left {
    flex: 0 0 150px;
    width: 150px; height: 110px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.mr-tile--lead .media-left img { width: 150px !important; height: 110px !important; object-fit: cover; transition: transform .6s ease; }
.mr-tile--lead .mr-card:hover .media-left img { transform: scale(1.08); }
.mr-tile--lead .media-body .mr-kicker { display: block; }
.mr-tile--lead .title { color: var(--ink); font-size: 19px; line-height: 1.35; margin: 4px 0 0; }
.mr-tile--lead .mr-card:hover .title { color: var(--accent); }
.mr-tile--lead .mr-meta { margin-top: 8px; }
.mr-tile--lead .textline5 { color: var(--mute); font-size: 14px; margin-top: 6px; }

/* ===================== TRENDING ===================== */
.mr-trending .mr-card--overlay .thumb img { aspect-ratio: 4 / 3; }
.mr-trending .mr-card--overlay > .details .title { font-size: 18px; }

/* ===================== VIDEO ===================== */
.mr-video .mr-card--overlay { border-radius: 16px; }
.mr-video .mr-card--overlay .thumb img { aspect-ratio: 21 / 9; }
.mr-play {
    position: absolute;
    z-index: 5;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px; height: 76px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--accent);
    border: 2px solid rgba(255,255,255,.7);
    background: rgba(8, 12, 16, 0.5);
    backdrop-filter: blur(4px);
    transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.mr-play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); color: #06121a; border-color: var(--accent); }
.mr-video .mr-card--overlay > .details .title { font-size: 27px; }

/* ===================== FEED (sixList grid) ===================== */
.mr-feed .mr-card.border-bottom .thumb img { aspect-ratio: 16 / 10; }
.mr-feed .mr-card.border-bottom .mr-badge { left: auto; right: 14px; bottom: 14px; }
.mr-feed .mr-card.border-bottom .details { padding: 18px 18px 20px; }
.mr-feed .mr-card.border-bottom .mr-meta { margin-bottom: 10px; }
.mr-feed .mr-card.border-bottom .title { font-size: 19px; line-height: 1.35; margin: 0; }

/* ===================== GENERIC POST META ===================== */
.mr-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    font-size: 13px;
    color: var(--mute) !important;
    line-height: 1.6;
}
.mr-meta span { display: inline-flex; align-items: center; gap: 5px; }
.mr-meta i, .mr-meta .fa { color: var(--accent) !important; }
.mr-meta .meta-author { font-weight: 500; color: var(--text); }
@media (max-width: 575px) {
    .mr-meta { gap: 4px 12px; font-size: 12px; }
    .mr-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ==========================================================================
   PAGE TITLE / BREADCRUMB
   ========================================================================== */
.mr-pagehead {
    position: relative;
    padding: 66px 0;
    background:
        radial-gradient(560px 280px at 12% 0%, rgba(56, 189, 248, 0.14), transparent 60%),
        linear-gradient(180deg, #121a24, #0c1118);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.breadcrumb-inner { position: relative; z-index: 2; }
.breadcrumb-inner .page-title {
    font-size: 42px;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--ink);
}
.breadcrumb-inner .page-list {
    display: flex; gap: 10px; list-style: none; padding: 0; margin: 0;
    color: var(--mute);
    font-family: var(--label);
    font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.breadcrumb-inner .page-list li a { color: var(--accent); }
.breadcrumb-inner .page-list li:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--line-2); }

/* ==========================================================================
   BLOG LIST (list page) — magazine horizontal cards
   ========================================================================== */
.mr-page { padding: 10px 0; }
.mr-blog-list .mr-blog-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 0;
    margin-bottom: 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.mr-blog-list .mr-blog-card::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0;
    height: 3px; z-index: 6;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s ease;
}
.mr-blog-list .mr-blog-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 22px 50px rgba(0,0,0,.5); }
.mr-blog-list .mr-blog-card:hover::before { transform: scaleX(1); }
.mr-blog-list .mr-blog-card > a { display: block; }
.mr-blog-list .mr-blog-card .thumb { height: 100%; border-radius: 0; overflow: hidden; }
.mr-blog-list .mr-blog-card .thumb img {
    width: 100% !important; height: 100% !important;
    aspect-ratio: auto !important;
    min-height: 280px;
    object-fit: cover;
    transition: transform .6s ease;
}
.mr-blog-list .mr-blog-card:hover .thumb img { transform: scale(1.05); }
.mr-blog-list .mr-blog-card .details { padding: 30px 32px; align-self: center; }
.mr-blog-list .mr-blog-card .details > span {
    display: inline-block;
    font-family: var(--label);
    font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
    color: var(--accent); text-transform: uppercase;
    margin-bottom: 10px;
}
.mr-blog-list .mr-blog-card .details h5 a { color: var(--ink); font-size: 24px; }
.mr-blog-list .mr-blog-card .details h5 a:hover { color: var(--accent); }
.mr-blog-list .mr-blog-card .textline5,
.mr-blog-list .mr-blog-card .mr-line-5 { color: var(--text); margin: 12px 0 18px; }

/* category page vertical cards */
.mr-cat-list .mr-blog-card {
    position: relative;
    margin-bottom: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.mr-cat-list .mr-blog-card::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0;
    height: 3px; z-index: 6;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s ease;
}
.mr-cat-list .mr-blog-card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,.5); }
.mr-cat-list .mr-blog-card:hover::before { transform: scaleX(1); }
.mr-cat-list .mr-blog-card .thumb { position: relative; border-radius: 0; }
.mr-cat-list .mr-blog-card .thumb img {
    width: 100% !important; height: auto !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover;
    transition: transform .6s ease;
}
.mr-cat-list .mr-blog-card:hover .thumb img { transform: scale(1.05); }
.mr-cat-list .mr-blog-card .thumb .mr-badge { left: auto; right: 14px; bottom: 14px; }
.mr-cat-list .mr-blog-card .details { padding: 22px; }
.mr-cat-list .mr-blog-card .details h2 a { color: var(--ink); font-size: 19px; }
.mr-cat-list .mr-blog-card .details h2 a:hover { color: var(--accent); }
.mr-cat-list .mr-blog-card .textline5,
.mr-cat-list .mr-blog-card .mr-line-5 { color: var(--mute); margin: 10px 0 16px; }

/* ==========================================================================
   DETAIL PAGE
   ========================================================================== */
.mr-detail {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.mr-detail .single-blog-card { background: transparent; border: 0; border-radius: 0; padding: 0; overflow: hidden; }
.mr-detail .single-blog-card .thumb { margin: 0; }
.mr-detail .single-blog-card .thumb img {
    width: 100%; height: auto !important;
    aspect-ratio: 21 / 9 !important;
    object-fit: cover;
}
.blog-content { padding: 32px 36px; }
.blog-content > .single-blog-meta {
    display: flex; flex-wrap: wrap; gap: 18px;
    padding: 14px 18px;
    margin-bottom: 22px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    font-family: var(--label);
    font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    color: var(--mute);
}
.blog-content > .single-blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-content > .single-blog-meta i { color: var(--accent); }
.blog-content > h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--ink);
}
.blog-details-content-inner p { color: var(--text); margin-bottom: 18px; }
.blog-details-content-inner h3 { font-size: 24px; color: var(--ink); margin-top: 28px; }
.blog-details-content-inner ul { color: var(--text); padding-left: 20px; }
.blog-details-content-inner img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.blog-details-content-inner blockquote {
    margin: 26px 0;
    padding: 22px 28px;
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.08), rgba(34, 211, 238, 0.06));
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    color: var(--ink);
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
}
.blog-details-content-inner blockquote span { color: var(--ink); }

/* author box */
.author-info {
    display: flex; gap: 20px; align-items: flex-start;
    margin-top: 34px;
    padding: 24px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.author-info .media-left { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent); }
.author-info .media-left img { width: 80px; height: 80px; object-fit: cover; }
.author-info .media-body h5 { color: var(--ink); margin-bottom: 6px; }
.author-info .media-body p { color: var(--mute); margin: 0; font-size: 14px; }

/* ---------- comment area ---------- */
.blog-comment-area { margin-top: 40px; }
.blog-comment-area .comment-title { font-size: 24px; margin-bottom: 22px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .comment-item {
    display: flex; gap: 18px;
    padding: 22px;
    margin-bottom: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.comment-list .comment-item .media-left { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; }
.comment-list .comment-item .media-left img { width: 56px; height: 56px; object-fit: cover; }
.comment-list .comment-item .media-body .name-date { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.comment-list .comment-item .media-body .name-date .name { color: var(--ink); font-weight: 600; }
.comment-list .comment-item .media-body .name-date .date { color: var(--mute); font-size: 12px; font-family: var(--label); }
.comment-list .comment-item .media-body p { color: var(--text); margin: 0; }

/* contact-comment form (detail page) */
.contact-comment-form { margin-top: 30px; }
.contact-comment-form .input-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-comment-form .form-control,
.contact-comment-form textarea {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    padding: 12px 16px;
    font-family: var(--sans);
    font-size: 14px;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-comment-form .form-control:focus,
.contact-comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.contact-comment-form textarea { min-height: 140px; resize: vertical; margin-bottom: 16px; }
.contact-comment-form .mr-btn { border: 0; }

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */
.mr-sidebar .widget,
.mr-sidebar .mr-widget {
    margin-bottom: 26px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.mr-sidebar .widget-title,
.mr-sidebar .mr-widget__title {
    position: relative;
    padding-left: 16px;
    margin-bottom: 20px;
    font-size: 19px;
    letter-spacing: 0;
}
.mr-sidebar .widget-title::before,
.mr-sidebar .mr-widget__title::before {
    content: "";
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 20px;
    background: var(--accent);
    border-radius: 2px;
}
.widget_search .search-form { display: flex; align-items: stretch; gap: 8px; }
.widget_search .form-group { position: relative; margin: 0; flex: 1 1 auto; }
.widget_search .form-control {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    padding: 12px 16px;
    font-size: 14px;
}
.widget_search .form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.widget_search .submit-btn {
    position: static;
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    width: 46px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: 6px;
    color: var(--accent);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.widget_search .submit-btn:hover { background: var(--accent); color: #0b0e13; border-color: var(--accent); }
.widget_search .submit-btn .ic-search { width: 18px; height: 18px; display: block; }
/* recent posts */
.widget-recent-post .media,
.mr-widget--recent .media {
    display: flex; gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.widget-recent-post .media:last-child,
.mr-widget--recent .media:last-child { border-bottom: 0; }
.widget-recent-post .media .media-left,
.mr-widget--recent .media .media-left { flex: 0 0 84px; width: 84px; height: 64px; border-radius: 6px; overflow: hidden; }
.widget-recent-post .media .media-left img,
.mr-widget--recent .media .media-left img { width: 84px; height: 64px; object-fit: cover; transition: transform .5s ease; }
.widget-recent-post .media:hover .media-left img,
.mr-widget--recent .media:hover .media-left img { transform: scale(1.08); }
.widget-recent-post .media-body .title,
.mr-widget--recent .media-body .title { font-size: 14px; line-height: 1.4; margin: 0 0 4px; }
.widget-recent-post .media-body .title a,
.mr-widget--recent .media-body .title a { color: var(--ink); }
.widget-recent-post .media-body .title a:hover,
.mr-widget--recent .media-body .title a:hover { color: var(--accent); }
.widget-recent-post .media-body .mr-meta,
.mr-widget--recent .media-body .mr-meta { font-size: 12px; }

/* tags */
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tagcloud a {
    display: inline-block;
    padding: 7px 14px;
    font-size: 12px;
    letter-spacing: .5px;
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all .25s ease;
}
.tagcloud a:hover, .tagcloud a.active { color: #06121a; background: var(--accent); border-color: var(--accent); }

/* categories list widget */
.widget_categories ul { list-style: none; padding: 0; margin: 0; }
.widget_categories ul li { border-bottom: 1px solid var(--line); }
.widget_categories ul li a { display: flex; justify-content: space-between; padding: 12px 0; color: var(--text); font-size: 14px; }
.widget_categories ul li a:hover { color: var(--accent); padding-left: 6px; }
.widget_categories ul li a span { color: var(--mute); font-family: var(--label); }

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.mr-pager { margin-top: 20px; }
.mr-pager .pagination { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.mr-pager .page-item .page-link,
.mr-pager a,
.mr-pager .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 12px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: var(--label);
    font-size: 13px;
    transition: all .25s ease;
}
.mr-pager a:hover,
.mr-pager .page-item.active .page-link,
.mr-pager .current {
    color: #06121a; background: var(--accent); border-color: var(--accent);
}

/* pagination markup actually rendered (pagination-list / pagination-item / pagination-link) */
.mr-pager .pagination-list {
    display: flex; align-items: center; gap: 8px;
    list-style: none; padding: 0; margin: 0;
}
.mr-pager .pagination-item {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: var(--label); font-size: 13px;
    transition: all .25s ease;
}
.mr-pager .pagination-item .pagination-link {
    all: unset;
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    color: inherit; cursor: pointer;
}
.mr-pager .pagination-item:hover:not(.active):not(.disabled) { border-color: var(--accent); }
.mr-pager .pagination-item.active,
.mr-pager .pagination-item.disabled { pointer-events: none; }
.mr-pager .pagination-item.active {
    color: #06121a; background: var(--accent); border-color: var(--accent);
}
.mr-pager .pagination-item.disabled { opacity: .4; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.mr-footer { background: #100c07; border-top: 1px solid var(--line); padding: 34px 0 0; }
.mr-footer .widget .logo img { max-height: 30px; }
.mr-footer .widget .details { color: var(--mute); font-size: 13px; }
.mr-footer .widget-title { color: var(--ink); font-size: 15px; margin-bottom: 10px; position: relative; padding-left: 14px; }
.mr-footer .widget-title::before {
    content: ""; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 14px; background: var(--accent); border-radius: 2px;
}
.mr-footer .widget .about-list li { color: var(--mute); padding: 3px 0; list-style: none; }
.mr-footer .widget_nav_menu ul li { padding: 3px 0; }
.mr-footer .widget .social-area { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding: 0; list-style: none; }
.mr-footer .widget .social-area li { list-style: none; }
.mr-footer .widget .social-area li a {
    color: var(--text);
    width: 32px; height: 32px; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: all .25s ease;
}
.mr-footer .widget .social-area li a:hover { color: #06121a; background: var(--accent); border-color: var(--accent); }
.mr-footer .subcribe-form { display: flex; gap: 10px; margin-top: 14px; }
.mr-footer .subcribe-form input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); padding: 11px 14px; }
.mr-footer .subcribe-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mr-footer .row { row-gap: 22px; }
.mr-footer__bottom { border-top: 1px solid var(--line); margin-top: 24px; padding: 14px 0; color: var(--mute); font-size: 12px; }
.mr-footer__bottom a { color: var(--accent); }
.mr-footer__bottom .footer-menu { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.mr-footer__bottom .footer-menu li a { color: var(--mute); }
.mr-footer__bottom .footer-menu li a:hover { color: var(--accent); }

/* footer subscribe strip */
.mr-footer__top { margin-bottom: 28px; }
.mr-subscribe { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mr-subscribe__title {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: 0.5px;
}
.mr-subscribe__inner { display: flex; gap: 10px; width: 100%; }
.mr-subscribe__inner input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    padding: 11px 14px;
    font-family: var(--sans);
}
.mr-subscribe__inner input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ==========================================================================
   SEARCH POPUP / OVERLAY / BACK TO TOP
   ========================================================================== */
.mr-search-popup { position: fixed; inset: 0; z-index: 1200; display: none; }
.mr-search-popup .search-form {
    position: relative; max-width: 600px; margin: 18vh auto 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 10px; padding: 10px;
    box-shadow: var(--shadow), var(--glow);
}
.mr-search-popup .form-control {
    width: 100%; background: var(--surface-2); border: 1px solid var(--line);
    border-radius: 6px; color: var(--ink); padding: 14px 18px;
}
.mr-search-popup .submit-btn {
    position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: transparent; border: 0; color: var(--accent); cursor: pointer;
}
.mr-nav__search { display: inline-flex; align-items: center; justify-content: center; }
.ic-search { width: 18px; height: 18px; display: block; }
.mr-overlay { position: fixed; inset: 0; background: rgba(8, 6, 4, 0.82); z-index: 1100; display: none; }

.mr-totop { position: fixed; right: 22px; bottom: 22px; z-index: 1000; cursor: pointer; }
.mr-totop .back-top {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    background: var(--accent); color: #06121a;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.mr-totop:hover .back-top { transform: translateY(-3px); box-shadow: var(--glow); }

/* ==========================================================================
   ABOUT / CONTACT / generic text pages
   ========================================================================== */
.about-content { color: var(--text); }
.about-content h2 { color: var(--ink); }
.about-content h3 { color: var(--ink); margin-top: 28px; }
.about-content p { color: var(--text); }
.about-content ul { color: var(--text); padding-left: 20px; }
.about-content strong { color: var(--ink); }
.about-content .team-area .single-team {
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.about-content .team-area .single-team:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-content .team-area .single-team .thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.about-content .team-area .single-team .details { padding: 18px; }
.about-content .team-area .single-team .details h4 { color: var(--ink); margin: 0; }
.about-content .team-area .single-team .details span { color: var(--accent); font-family: var(--label); font-size: 12px; letter-spacing: 1px; }

/* contact page */
.contact-info-item {
    padding: 30px 20px; margin-bottom: 30px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
    transition: all .3s ease;
}
.contact-info-item:hover { background: var(--accent); color: #06121a; transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--accent); }
.contact-info-item:hover h4, .contact-info-item:hover p { color: #06121a; }
.contact-icon { font-size: 36px; color: var(--accent); margin-bottom: 20px; transition: color .3s ease; }
.contact-info-item:hover .contact-icon { color: #06121a; }
.contact-info-item h4 { color: var(--ink); font-weight: 600; margin-bottom: 15px; }
.contact-info-item p { margin: 0; line-height: 1.6; }
.contact-form-wrapper {
    background: var(--surface); padding: 40px; border-radius: 14px;
    border: 1px solid var(--line); box-shadow: var(--shadow); margin: 40px 0;
}
.contact-form .form-group { margin-bottom: 25px; }
.contact-form label { font-weight: 600; color: var(--ink); margin-bottom: 8px; display: block; }
.contact-form .form-control {
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px;
    padding: 12px 15px; font-size: 16px; color: var(--ink);
    transition: border-color .3s ease, box-shadow .3s ease;
}
.contact-form .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.contact-content h2 { color: var(--ink); font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 15px; }
.contact-content h2:after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: var(--accent);
}
.contact-content h3 { color: var(--ink); font-weight: 600; margin-bottom: 20px; }

/* ==========================================================================
   RESPONSIVE TWEAKS
   ========================================================================== */
@media (max-width: 1199px) {
    body { font-size: 15px; }
    .single-post-wrap .details h3, .single-post-list-wrap .details h3 { font-size: 24px; }
}
@media (max-width: 991px) {
    .mr-nav__inner { flex-wrap: nowrap; }
    .mr-hero .col-lg-6, .mr-hero .col-lg-3 { margin-bottom: 26px; }
    .mr-blog-list .mr-blog-card { grid-template-columns: 1fr; }
    .mr-blog-list .mr-blog-card .thumb img { min-height: 220px; }
    .mr-tile--lead .mr-card { flex-direction: column; }
    .mr-tile--lead .media-left { width: 100% !important; height: 180px !important; }
    .mr-tile--lead .media-left img { width: 100% !important; height: 180px !important; }
    .row.mr-cat-list { grid-template-columns: repeat(2, 1fr); }

    /* mobile menu: stack the nav list vertically */
    .mr-nav__toggle { display: block; }
    .mr-nav-wrap .mr-nav .navbar-collapse {
        display: none !important;
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        padding-top: 14px;
    }
    .mr-nav-wrap .mr-nav .navbar-collapse.sopen,
    .mr-nav-wrap .mr-nav .navbar-collapse.menu-open { display: flex !important; }
    .mr-nav__list { flex-direction: column; align-items: stretch; width: 100% !important; }
    .mr-nav__list > li > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
    .mr-nav__list > li > a::after { display: none; }
    .header-info-right { margin: 0 !important; flex: 0 0 auto; }
}
@media (max-width: 575px) {
    .blog-content { padding: 24px 18px; }
    .contact-comment-form .input-wrap { grid-template-columns: 1fr; }
    .breadcrumb-inner .page-title { font-size: 30px; }
    .mr-subscribe { gap: 14px; }
    .row.mr-cat-list { grid-template-columns: 1fr; }
}

/* Empty State Styles */
.category-empty-state {
    text-align: center !important;
    padding: 80px 40px !important;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    margin: 0 !important;
    min-height: 400px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}
.category-empty-icon {
    font-size: 150px !important;
    color: var(--accent) !important;
    margin-bottom: 30px !important;
    opacity: 0.5 !important;
    display: block !important;
    line-height: 1 !important;
}
.category-empty-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--ink) !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    font-family: var(--serif) !important;
}
.category-empty-desc {
    font-size: 16px !important;
    color: var(--mute) !important;
    margin-bottom: 30px !important;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.6 !important;
    padding: 0 !important;
}
.category-empty-state .mr-btn,
.category-empty-state .btn-base {
    padding: 12px 30px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    display: inline-block !important;
    text-decoration: none !important;
    background: var(--accent) !important;
    color: #06121a !important;
    border: none !important;
    box-shadow: var(--shadow-sm) !important;
}
.category-empty-state .mr-btn:hover,
.category-empty-state .btn-base:hover {
    background: var(--accent-2) !important;
    color: #fff !important;
}

/* ==========================================================================
   OWL CAROUSEL — nav + dots restyle (Meridian)
   ========================================================================== */
.mr-carousel .owl-nav,
.mr-carousel-3 .owl-nav,
.mr-carousel-2 .owl-nav { display: flex; gap: 8px; margin-top: 14px; }
.mr-carousel .owl-nav button,
.mr-carousel-2 .owl-nav button,
.mr-carousel-3 .owl-nav button {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50% !important;
    background: var(--surface) !important;
    border: 1px solid var(--line-2) !important;
    color: var(--accent) !important;
    font-size: 16px !important;
    transition: all .25s ease;
}
.mr-carousel .owl-nav button:hover,
.mr-carousel-2 .owl-nav button:hover,
.mr-carousel-3 .owl-nav button:hover {
    background: var(--accent) !important;
    color: #06121a !important;
    border-color: var(--accent) !important;
}
.mr-carousel .owl-dots,
.mr-carousel-2 .owl-dots,
.mr-carousel-3 .owl-dots { text-align: center; margin-top: 16px; }
.mr-carousel .owl-dots .owl-dot,
.mr-carousel-2 .owl-dots .owl-dot,
.mr-carousel-3 .owl-dots .owl-dot { display: inline-block; }
.mr-carousel .owl-dots .owl-dot span,
.mr-carousel-2 .owl-dots .owl-dot span,
.mr-carousel-3 .owl-dots .owl-dot span {
    display: block; width: 9px; height: 9px; margin: 0 5px;
    background: var(--surface-3); border-radius: 50%;
    transition: all .25s ease;
}
.mr-carousel .owl-dots .owl-dot.active span,
.mr-carousel-2 .owl-dots .owl-dot.active span,
.mr-carousel-3 .owl-dots .owl-dot.active span { background: var(--accent); width: 22px; border-radius: 5px; }

/* nav-right-top variant (trending): arrows top-right */
.nav-right-top .owl-nav { position: absolute; top: -54px; right: 0; margin-top: 0; }

/* ==========================================================================
   PAGE HERO (PAGE_HERO banner)
   ========================================================================== */
.hero {
    position: relative;
    padding: 64px 0;
    text-align: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.08), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(255, 45, 120, 0.08), transparent 45%),
        var(--surface);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--main-color), var(--main-color-2));
}
.hero::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(177, 75, 255, 0.12), transparent 70%);
    pointer-events: none;
}
.hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}
.hero .hero-content section { text-align: center; }
.hero .hero-content h1,
.hero .hero-content .hero-title {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
}
.hero .hero-content p {
    color: var(--paragraph-color);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 640px;
}
.hero .hero-content a { color: var(--main-color); }
.hero .hero-content .mr-btn,
.hero .hero-content .btn-base { margin-top: 22px; }
@media (max-width: 991px) {
    .hero { padding: 48px 0; }
}
@media (max-width: 575px) {
    .hero { padding: 38px 0; }
    .hero .hero-content h1,
    .hero .hero-content .hero-title { font-size: 28px; }
    .hero .hero-content p { font-size: 15px; }
}

/* ==========================================================================
   MISSING-CLASS FILLERS — classes used in HTML but were previously undefined
   ========================================================================== */

/* article / second list containers — semantic only, NO layout here.
   Layout comes from the container each class is paired with:
     .row      → category / list  (bootstrap row-direction grid)
     .mr-rail  → index            (column rail)
     .widget   → detail           (sidebar widget)
   Setting flex-direction on these classes would override .row and collapse
   the two-column grid (main content + sidebar) into a single stacked column. */

/* multi-line clamp utilities used by category / list card text.
   Colours & spacing come from the .mr-cat-list / .mr-blog-list rules above;
   these only handle the truncation so long titles can't stretch a card. */
.mr-line-3,
.mr-line-5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mr-line-3 { -webkit-line-clamp: 3; line-clamp: 3; }
.mr-line-5 { -webkit-line-clamp: 5; line-clamp: 5; }

/* --------------------------------------------------------------------------
   STACKED (single-column) PAGE LAYOUT — category / list / detail
   The project ships WITHOUT a Bootstrap grid (vendor.css is animate.css etc.),
   so .container / .row / .col-* classes have no styles of their own.
   These rules give content a bounded width and let the article cards form a
   responsive grid, keeping the sidebar below the main content (both full row).
   -------------------------------------------------------------------------- */
.mr-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
.row.mr-cat-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}
.mr-cat-list > .col-md-6 {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    min-width: 0;
}
.mr-cat-list .mr-blog-card { height: 100%; }

/* footer social icons (social-area-2) — brand-coloured round chips */
.mr-footer .widget .social-area-2 {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 14px; padding: 0; list-style: none;
}
.mr-footer .widget .social-area-2 li { list-style: none; }
.mr-footer .widget .social-area-2 li a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; font-size: 14px;
    color: #fff; background: var(--surface-2);
    border: 1px solid var(--line); border-radius: 50%;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, filter .25s ease;
}
.mr-footer .widget .social-area-2 li a:hover { transform: translateY(-2px); filter: brightness(1.12); color: #fff; }
.mr-footer .widget .social-area-2 .facebook-icon { background: #3b5998; }
.mr-footer .widget .social-area-2 .twitter-icon { background: #1da1f2; }
.mr-footer .widget .social-area-2 .youtube-icon { background: #ff0000; }
.mr-footer .widget .social-area-2 .instagram-icon { background: #e4405f; }

/* widget tags container (category sidebar) */
.mr-sidebar .widget_tags .tagcloud { margin-top: 6px; }

/* generic section title (profile panels & any future use) */
.section-title {
    position: relative;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--line);
}
.section-title::after {
    content: "";
    position: absolute; left: 0; bottom: -1px;
    width: 60px; height: 2px;
    background: var(--accent);
}

/* ==========================================================================
   COMMENT AREA (unified from detail.html inline styles)
   ========================================================================== */
.comment-area { margin-top: 40px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
@media (max-width:575px) { .comment-area { padding: 20px; } }
.blog-comment-form { margin-top: 0; }
.blog-comment-form h2 { font-size: 24px; margin-bottom: 18px; color: var(--ink); }
.comment-rating-label { display: block; font-size: 12px; color: var(--mute); margin: 0 0 6px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--label); }
.comment-rating { margin-bottom: 15px; }
.comment-rating .fa-star { font-size: 20px; color: var(--surface-3); cursor: pointer; transition: color .15s; margin-right: 4px; }
.comment-rating .fa-star.active { color: var(--accent); }
#commentContent { width: 100%; max-width: 100%; box-sizing: border-box; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); border-radius: 6px; padding: 12px 14px; font-size: 15px; resize: vertical; font-family: var(--sans); transition: border-color .25s ease, box-shadow .25s ease; }
#commentContent:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.comment-login-hint { margin-top: 12px; font-size: 14px; color: var(--mute); }
.comment-login-hint a { color: var(--accent); font-weight: 600; }
.blog-comments { margin-top: 40px; }
.blog-comments h2 { font-size: 24px; margin-bottom: 20px; color: var(--ink); }
.comment-item { display: flex; gap: 14px; padding: 18px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.comment-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-2); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.comment-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.comment-date { font-size: 12px; color: var(--mute); font-family: var(--label); }
.comment-delete { margin-left: auto; background: none; border: none; color: var(--mute); cursor: pointer; font-size: 12px; padding: 0; line-height: 1; font-family: var(--label); }
.comment-delete:hover { color: var(--cl-red, #e74c3c); }
.comment-stars { margin: 4px 0; }
.comment-stars .fa-star { font-size: 13px; color: var(--accent); }
.comment-stars .fa-star.empty { color: var(--surface-3); }
.comment-text { font-size: 14px; color: var(--text); line-height: 1.6; margin-top: 4px; word-break: break-word; }
.comment-more { text-align: center; margin-top: 24px; }
.comment-empty { text-align: center; color: var(--mute); padding: 30px 0; font-size: 14px; }
.comment-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); background: rgba(16, 12, 7, .94); color: var(--ink); padding: 12px 22px; border-radius: 8px; font-size: 14px; opacity: 0; transition: all .3s; z-index: 9999; pointer-events: none; border: 1px solid var(--line-2); }
.comment-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   BREADCRUMB (unified from detail.html inline; tokens normalized to Meridian)
   ========================================================================== */
.breadcrumb-nav { margin: 5px 0; }
.breadcrumb-list { display: flex; align-items: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 8px; }
.breadcrumb-item { display: flex; align-items: center; }
.breadcrumb-item a { text-decoration: none; color: var(--accent); font-weight: 500; padding: 4px 8px; border-radius: 4px; transition: all var(--fast, .25s ease); position: relative; }
.breadcrumb-item a:hover { background: var(--accent-soft, rgba(78, 205, 196, 0.1)); transform: translateY(-1px); }
.breadcrumb-item span[aria-current="page"] { color: var(--mute); font-weight: 600; padding: 4px 8px; }
.breadcrumb-separator { color: var(--mute); user-select: none; font-size: 14px; }
@media (max-width: 768px) {
    .breadcrumb-list { gap: 6px; }
    .breadcrumb-item a,
    .breadcrumb-item span[aria-current="page"] { padding: 3px 6px; font-size: 14px; }
    .breadcrumb-separator { font-size: 12px; }
}

/* ==========================================================================
   GDPR COOKIE BANNER (unified from terms/privacy/disclaimer inline)
   ========================================================================== */
.gdpr-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #100c07;
    color: var(--text, #b8a890);
    padding: 16px 28px;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 2px solid var(--accent, #e0a458);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .5);
    box-sizing: border-box;
    font-family: var(--sans, 'Inter', sans-serif);
}
.gdpr-cookie-banner .cookie-text { flex: 1 1 260px; font-size: 13px; line-height: 1.5; }
.gdpr-cookie-banner .cookie-text a { color: var(--accent, #e0a458); text-decoration: underline; font-weight: 600; }
.gdpr-cookie-banner .cookie-btns { display: flex; gap: 10px; }
.gdpr-cookie-banner .cookie-btn {
    border: none; padding: 8px 18px; border-radius: 4px;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; transition: transform .2s ease, filter .2s ease; font-family: inherit;
}
.gdpr-cookie-banner .btn-accept { background: linear-gradient(120deg, var(--accent, #e0a458), #f0c078); color: #1a120a; }
.gdpr-cookie-banner .btn-reject { background: transparent; color: var(--text, #b8a890); border: 1px solid var(--line-2, rgba(224, 184, 120, .32)); }
.gdpr-cookie-banner .cookie-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
@media (max-width: 768px) {
    .gdpr-cookie-banner { padding: 14px 16px; }
}

/* ==========================================================================
   ALERTS (unified from header.html inline)
   ========================================================================== */
.error-message-container {
    background-color: rgba(255, 45, 120, .12);
    border-bottom: 1px solid rgba(255, 45, 120, .35);
    padding: 10px 0;
}
.alert { position: relative; padding: 12px 20px; margin-bottom: 0; border: 1px solid transparent; border-radius: 4px; }
.alert-warning { color: #ff8fb3; background-color: rgba(255, 45, 120, .14); border-color: rgba(255, 45, 120, .4); }
.alert i.fa-exclamation-triangle { margin-right: 8px; }
