@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --red: #e50914;
    --red-dark: #9b0710;
    --ink: #07101a;
    --muted: #5d6878;
    --line: #e6ebf2;
    --soft: #f5f7fb;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(7, 16, 26, 0.11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: #050607;
    background-image:
        linear-gradient(rgba(2, 4, 7, .3), rgba(4, 6, 9, .4)),
        url('https://eandelmagazine.com/eandelmagazine/wp-content/uploads/2025/05/abstract-black-diagonal-lines-with-textured-surfaces-free-photoe.jpg');
    background-position: center top, center top;
    background-size: cover, cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea {
    font: inherit;
}

.site-shell { min-height: 100vh; background: transparent; }

.top-strip {
    background: #111c26;
    color: #d9e2ec;
    font-size: 12px;
}

.top-strip-inner,
.masthead-inner,
.category-inner,
.page-inner {
    width: min(1420px, calc(100% - 48px));
    margin: 0 auto;
}

.top-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 34px;
}

.top-strip-links,
.social-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.social-links a {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 5px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.masthead {
    background: linear-gradient(90deg, #06121d 0%, #090d12 54%, #111111 100%);
    color: #fff;
}

.masthead-inner {
    display: grid;
    grid-template-columns: auto minmax(260px, 560px) auto;
    gap: 34px;
    align-items: center;
    min-height: 92px;
}

.brand-logo img {
    width: 222px;
    height: auto;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 4px;
    padding: 0 52px 0 20px;
    background: #fff;
    color: var(--ink);
    outline: none;
}

.search-form button {
    position: absolute;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.masthead-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    white-space: nowrap;
}

.red-button,
.dark-button,
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    border-radius: 6px;
    padding: 0 24px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.red-button {
    border: 0;
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 28px rgba(229, 9, 20, 0.25);
}

.red-button:hover,
.dark-button:hover,
.outline-button:hover {
    transform: translateY(-1px);
}

.dark-button {
    background: var(--ink);
    color: #fff;
}

.outline-button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}

.signin-link {
    font-weight: 800;
    color: #fff;
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
    display: block;
    width: 21px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
    position: relative;
}

.menu-button span::before,
.menu-button span::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-button span::before { top: -7px; }
.menu-button span::after { top: 7px; }

.category-nav {
    background: linear-gradient(90deg, #68060b 0%, #22080a 100%);
    color: #fff;
}

.category-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-inner::-webkit-scrollbar { display: none; }

.category-inner a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 800;
    border-bottom: 3px solid transparent;
    opacity: .92;
}

.category-inner a.is-active,
.category-inner a:hover {
    border-color: var(--red);
    background: rgba(255,255,255,0.08);
    opacity: 1;
}

.breaking-bar {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.breaking-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 50px;
    overflow: hidden;
}

.breaking-label {
    flex: 0 0 auto;
    padding: 8px 18px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
}

.breaking-track-wrap {
    min-width: 0;
    overflow: hidden;
}

.breaking-items {
    display: flex;
    width: max-content;
    color: #27364a;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    animation: breaking-scroll 42s linear infinite;
}

.breaking-set {
    display: flex;
    align-items: center;
    gap: 34px;
    padding-right: 34px;
}

.breaking-track-wrap:hover .breaking-items { animation-play-state: paused; }

@keyframes breaking-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.mobile-drawer {
    display: none;
    border-top: 1px solid rgba(255,255,255,.1);
    background: #080d12;
    color: #fff;
}

.mobile-drawer.is-open { display: block; }

.mobile-drawer-inner {
    width: min(1420px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 24px;
}

.mobile-drawer a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-weight: 800;
}

.hero-fs-wrapper {
    background: #000;
    color: #fff;
    width: 100%;
}
.hero-fs-headers {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 2px;
    margin-bottom: 12px;
}
.hero-fs-header-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
    padding-right: 16px;
}
.hero-fs-header-col .fs-section-title {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    position: relative;
}
.hero-fs-header-col .fs-section-title::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--red);
}
.hero-fs-inner {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 2px;
    height: 480px;
    background: #222;
}
.hero-fs-main {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #111;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
}
.hero-fs-main.is-active {
    opacity: 1;
    visibility: visible;
}
.hero-fs-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.hero-fs-main:hover img {
    transform: scale(1.05);
}
.hero-fs-main-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
}
.hero-fs-main h1 {
    font-size: 38px;
    line-height: 1.15;
    margin: 12px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}
.fs-section-title {
    font-size: 18px;
    font-weight: 700;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}
.hero-fs-editors {
    display: flex;
    flex-direction: column;
    background: #111;
}
.fs-editors-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    flex: 1;
    gap: 2px;
    background: #222;
}
.fs-editor-card {
    position: relative;
    overflow: hidden;
    background: #111;
    display: block;
}
.fs-editor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.fs-editor-card:hover img {
    transform: scale(1.05);
}
.fs-editor-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
}
.fs-editor-overlay h2 {
    font-size: 20px;
    line-height: 1.25;
    margin: 8px 0;
}
.hero-fs-trending {
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #111;
    color: #fff;
    padding: 0;
    gap: 12px;
}
.fs-trending-header {
    background: transparent;
    color: #fff;
    border-bottom: none;
    padding: 0 0 16px 0;
}
.fs-trending-nav button {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
}
.fs-trending-nav button:hover {
    background: #333;
}
.fs-trending-list {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}
.fs-trend-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 12px;
    gap: 12px;
    background: #fff;
    color: #111;
    border-radius: 4px;
    border-bottom: none;
    transition: transform 0.2s ease;
}
.fs-trend-item:hover {
    transform: translateY(-2px);
    background: #fff;
}
.fs-trend-image {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}
.fs-trend-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fs-trend-number {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
}
.fs-trend-cat {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.fs-trend-content h3 {
    font-size: 14px;
    margin: 4px 0 0;
    line-height: 1.35;
}
.meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #cbd5e1;
}

.hero-main img,
.side-story img,
.story-card img,
.feature-card img,
.editor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.hero-main:hover img,
.side-story:hover img,
.story-card:hover img,
.feature-card:hover img,
.editor-card:hover img {
    transform: scale(1.04);
}

.hero-overlay,
.side-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.84));
}

.side-overlay { padding: 18px; }

.tag {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-title {
    max-width: 760px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
    font-size: clamp(32px, 3vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-copy {
    max-width: 650px;
    margin: 16px 0 20px;
    color: #f3f5f8;
    font-size: 17px;
    line-height: 1.58;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #d7dde6;
    font-size: 12px;
    font-weight: 700;
}

.side-column {
    position: relative;
    min-height: 540px;
}

.side-group {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    transition: opacity .45s ease, transform .45s ease, visibility .45s ease;
}

.side-group.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.side-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

/* ── Category Strip ───────────────────────────────── */
.cat-strip-section {
    padding: 28px 0 20px;
}
.cat-strip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.cat-strip-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
}
.cat-strip-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cat-strip-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    z-index: 2;
}
.cat-strip-arrow:hover {
    background: rgba(229,9,20,0.35);
    border-color: rgba(229,9,20,0.6);
    transform: scale(1.08);
}
.cat-strip-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.cat-strip-scroll::-webkit-scrollbar { display: none; }

.cat-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    width: 120px;
    padding: 18px 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    cursor: pointer;
}
.cat-strip-item:hover {
    background: rgba(229,9,20,0.18);
    border-color: rgba(229,9,20,0.5);
    transform: translateY(-3px);
    color: #fff;
}
.cat-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(229,9,20,0.15);
    border: 1.5px solid rgba(229,9,20,0.35);
    border-radius: 50%;
    color: #e87880;
    transition: background 0.2s, color 0.2s;
}
.cat-strip-item:hover .cat-strip-icon {
    background: rgba(229,9,20,0.3);
    color: #fff;
}
.cat-strip-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
.cat-strip-count {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

.action-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.action-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 108px;
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 20px 24px;
    color: #111;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.action-card:hover { 
    border-color: #d1d5db; 
    transform: translateY(-6px) scale(1.02); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); 
}

.action-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: rgba(229, 9, 20, .1);
    color: var(--red);
    transition: transform 0.4s ease, background 0.4s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.15) rotate(-5deg);
    background: rgba(229, 9, 20, .18);
}

.action-card h3 {
    margin: 0 0 4px;
    font-size: 17px;
    color: #111;
}

.action-card p {
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
}

.arrow-pill {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    font-weight: 900;
    color: #fff;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 18px;
}

.news-section {
    margin-top: 28px;
    padding: 0 0 26px;
    color: #fff;
}

.news-section .section-head { margin-top: 24px; }
.news-section .section-title { color: #fff; }
.news-section .category-pills a { background: rgba(255,255,255,.1); color: #dce4ee; }
.news-section .category-pills a.is-active,
.news-section .category-pills a:hover { background: var(--red); color: #fff; }

.section-head-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
}

.section-more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border: 1px solid rgba(229, 9, 20, .2);
    border-radius: 6px;
    padding: 0 14px;
    background: rgba(255,255,255,.06);
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
}

.section-more:hover {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.section-title {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: none;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.category-pills a {
    border-radius: 999px;
    padding: 8px 14px;
    background: #eef2f7;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.category-pills a.is-active,
.category-pills a:hover {
    background: var(--red);
    color: #fff;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.scrolling-story-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scrolling-story-grid::-webkit-scrollbar {
    display: none;
}

.story-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: #111;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 0 0 calc(25% - 15px);
    min-width: 280px;
    border-radius: 12px;
    overflow: hidden;
}

.story-card .media {
    display: block;
    height: 178px;
    overflow: hidden;
    background: #101820;
}

.story-card .media img,
.feature-card .media img,
.editor-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-card-body {
    padding: 14px 14px 16px;
}

.story-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.34;
    letter-spacing: -0.01em;
}
.story-card-body a {
    color: #111;
    text-decoration: none;
}
.story-card-body a:hover {
    color: var(--red);
}

.story-card .tag {
    position: absolute;
    left: 12px;
    top: 134px;
    margin: 0;
}

.subscription-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    margin: 32px 0;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 55px rgba(0,0,0,.34);
    border-radius: 8px;
    padding: 34px 42px;
    min-height: 190px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 70% 50%, rgba(229,9,20,.58), transparent 23%),
        linear-gradient(95deg, rgba(9,12,18,.96), rgba(64,7,12,.9)),
        url('/images/home-banner.jpg') center/cover;
}

.subscription-banner h2 {
    margin: 0 0 8px;
    max-width: 620px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.subscription-banner p {
    max-width: 620px;
    margin: 0 0 20px;
    color: #e7ebf0;
}

.benefit-list {
    display: grid;
    gap: 12px;
    color: #eef3f8;
    font-size: 13px;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card .media { height: 210px; }

.editor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.editor-card {
    border: 1px solid rgba(229, 9, 20, 0.15);
    background: #0f1015;
}

.editor-card .media {
    display: block;
    height: 130px;
    overflow: hidden;
    background: #101820;
}

.editor-card-body {
    padding: 12px;
}

.editor-card h3 {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.32;
}

.newsletter-band {
    margin-top: 42px;
    background: linear-gradient(90deg, #8a050d, #12090b);
    color: #fff;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 700px);
    gap: 32px;
    align-items: center;
    padding: 34px 0;
}

.newsletter-inner h2 {
    margin: 0 0 6px;
    font-size: 30px;
}

.newsletter-inner p {
    margin: 0;
    color: #f0cdd0;
}

.newsletter-form {
    display: flex;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 24px;
    outline: none;
    min-height: 60px;
    font-size: 16px;
}

.newsletter-form button {
    border: 0;
    background: var(--red);
    color: #fff;
    padding: 0 40px;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
}

.site-footer {
    background: #071018;
    color: #dbe4ee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.45fr;
    gap: 34px;
    padding: 46px 0;
}

.footer-logo {
    width: 210px;
    margin-bottom: 16px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
}

.site-footer a,
.site-footer p {
    color: #bdc8d5;
}

.footer-links {
    display: grid;
    gap: 8px;
    font-size: 13px;
}

.store-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    padding: 0 14px;
    color: #fff;
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    color: #aeb9c6;
    font-size: 12px;
}

.listing-hero,
.article-hero {
    padding: 56px 0 28px;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(118, 0, 9, .97), rgba(17, 9, 12, .96) 64%, rgba(0, 0, 0, .98)),
        url('/images/africa map.png') right center / 560px auto no-repeat;
}

.article-hero {
    position: relative;
    isolation: isolate;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    padding: 74px 0 58px;
    background: #08090c;
    overflow: hidden;
}

.article-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: var(--article-image);
    background-position: center 34%;
    background-size: cover;
    filter: saturate(.88) contrast(1.08);
}

.article-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 7, 10, .96) 0%, rgba(31, 4, 8, .88) 47%, rgba(0, 0, 0, .38) 100%),
        linear-gradient(0deg, rgba(0,0,0,.82), transparent 58%);
}

.article-hero .page-inner { width: min(1500px, calc(100% - 64px)); }
.article-hero h1 {
    max-width: 1050px;
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    text-shadow: 0 4px 24px rgba(0,0,0,.48);
}
.article-hero p { max-width: 900px; color: #f2d7da; }
.article-hero .meta-row { color: #f3e7e9; }

.subscribe-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 76px;
    border-bottom: 4px solid #e50914;
    background: linear-gradient(112deg, #050608 0%, #16070a 54%, #8f0710 100%);
    color: #fff;
}

.subscribe-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://eandelmagazine.com/eandelmagazine/wp-content/uploads/2025/05/abstract-black-diagonal-lines-with-textured-surfaces-free-photoe.jpg');
    background-size: cover;
    background-position: center;
    opacity: .2;
    pointer-events: none;
}
.subscribe-hero .page-inner { position: relative; z-index: 1; }
.subscribe-hero h1 { color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.35); }

.listing-hero h1,
.article-hero h1,
.subscribe-hero h1 {
    margin: 0;
    max-width: 980px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -1.5px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.06;
}

.listing-hero p,
.article-hero p {
    max-width: 760px;
    color: #f4c9cd;
    font-size: 17px;
    line-height: 1.65;
}

.article-hero h1 {
    max-width: 1050px;
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.08;
}

.subscribe-hero p {
    max-width: 760px;
    color: #f7d9dc;
    font-size: 17px;
    line-height: 1.65;
}

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 4px;
}

.page-link,
.page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #d7dee8;
    border-radius: 6px;
    padding: 0 15px;
    background: #fff;
    color: #172033;
    font-size: 13px;
    font-weight: 800;
}

.page-number { min-width: 42px; padding: 0; }
.page-number.is-active,
.page-link:hover,
.page-number:hover { border-color: var(--red); background: var(--red); color: #fff; }
.page-link.is-disabled { cursor: not-allowed; opacity: .45; }

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    align-items: start;
    gap: 30px;
    padding: 38px 0 64px;
}

.article-stage {
    position: relative;
    background:
        linear-gradient(120deg, rgba(10, 13, 18, .98), rgba(42, 4, 9, .96) 56%, rgba(5, 7, 11, .98)),
        url('/images/africa map.png') center / 900px auto fixed no-repeat;
}

.article-main {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: #fff;
    color: #111;
    box-shadow: 0 22px 60px rgba(0,0,0,.28);
}
.article-main a { color: #111; }
.article-main h1, .article-main h2, .article-main h3, .article-main h4 { color: #0a0d12; }
.article-main p, .article-main li { color: #1a1d24; }

.article-cover {
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 0;
    max-height: 680px;
}

.article-cover img { width: 100%; max-height: 680px; object-fit: cover; }

.article-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 38px 46px 52px;
    font-size: 18px;
    line-height: 1.82;
}

.article-content p {
    margin: 0 0 22px;
}

.locked-content {
    position: relative;
    min-height: 330px;
    max-height: 430px;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 20px;
}

.locked-content .locked-copy {
    filter: blur(5px);
    opacity: .28;
    user-select: none;
    pointer-events: none;
}

.lock-panel {
    position: absolute;
    inset: auto 0 0;
    border-top: 3px solid var(--red);
    border-radius: 0 0 8px 8px;
    padding: 32px 28px 28px;
    background: #fff;
    box-shadow: 0 -10px 40px rgba(0,0,0,.12);
    text-align: center;
    color: #111;
}

.lock-panel h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: #0a0d12;
    letter-spacing: -0.02em;
}

.lock-panel p {
    margin: 0 0 20px;
    color: #5d6878;
    font-size: 15px;
    line-height: 1.6;
}

.sidebar-panel {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 20px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    box-shadow: 0 14px 32px rgba(7,16,26,.06);
}

.article-layout aside {
    min-width: 0;
    align-self: stretch;
}
.article-layout aside .sidebar-panel {
    position: sticky;
    top: 24px;
}

.sidebar-panel h2 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #fff;
    font-weight: 800;
}

.mini-list {
    display: grid;
    gap: 16px;
}

.mini-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}
.mini-item:hover h3 { color: #ff6b6b; }

.mini-item img {
    width: 84px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
}

.mini-item h3 {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.35;
    color: #fff;
    transition: color 0.2s;
}

.subscribe-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
    gap: 34px;
    padding-top: 42px;
    padding-bottom: 72px;
    align-items: start;
}

.benefits-panel,
.checkout-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 28px;
}

.benefits-panel { position: relative; overflow: hidden; border-top: 4px solid #e50914; padding: 34px; }
.benefits-panel::before { content: ''; position: absolute; top: 0; right: 0; width: 150px; height: 150px; background: linear-gradient(135deg, transparent 42%, rgba(229,9,20,.07)); pointer-events: none; }
.benefits-panel h2, .benefits-panel h3 { position: relative; margin: 5px 0 16px; color: #101827; }
.benefits-panel h2 { font-size: 26px; }
.benefits-panel h3 { font-size: 20px; }
.benefits-kicker { display: block; color: #d70d22; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.benefits-copy { color: #536174; line-height: 1.7; }

.benefits-panel ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding-left: 20px;
    color: #334155;
    line-height: 1.6;
}
.benefits-panel li::marker { color: #d70d22; }
.csr-block { margin-top: 30px; border-top: 1px solid #e2e8f0; padding-top: 26px; }
.csr-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.csr-gallery img { width: 100%; height: 190px; border-radius: 7px; object-fit: cover; background: #e2e8f0; }
.csr-gallery img:first-child:nth-last-child(odd) { grid-column: 1 / -1; height: 250px; }
.checkout-panel { border-top: 4px solid #101827; padding: 30px; }

.checkout-intro { margin: -6px 0 20px; color: #64748b; line-height: 1.55; }
.checkout-step { margin-bottom: 20px; }
.checkout-step-label { display: block; margin-bottom: 8px; color: #334155; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.purpose-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.purpose-tabs a { min-width: 0; border: 1px solid #cbd5e1; border-radius: 7px; padding: 13px 14px; color: #334155; text-decoration: none; transition: .2s ease; }
.purpose-tabs strong, .purpose-tabs small { display: block; letter-spacing: 0; }
.purpose-tabs strong { font-size: 14px; }
.purpose-tabs small { margin-top: 4px; color: #64748b; font-size: 11px; line-height: 1.35; }
.purpose-tabs a.is-active { border-color: #e50914; background: #fff1f2; color: #b40711; box-shadow: inset 0 0 0 1px rgba(229,9,20,.15); }
.currency-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.currency-choice button { min-height: 58px; border: 1px solid #cbd5e1; border-radius: 7px; padding: 9px 12px; background: #fff; color: #334155; text-align: left; cursor: pointer; }
.currency-choice strong, .currency-choice span { display: block; letter-spacing: 0; }
.currency-choice strong { font-size: 15px; }
.currency-choice span { margin-top: 2px; color: #64748b; font-size: 11px; }
.currency-choice button.is-active { border-color: #e50914; background: #fff1f2; color: #b40711; box-shadow: inset 0 0 0 1px rgba(229,9,20,.15); }
.gateway-display { min-height: 54px; border: 1px solid #cbd5e1; border-radius: 7px; padding: 10px 14px; background: #f8fafc; }
.gateway-display strong, .gateway-display span { display: block; letter-spacing: 0; }
.gateway-display strong { color: #0f172a; font-size: 14px; }
.gateway-display span { margin-top: 3px; color: #64748b; font-size: 11px; }

.form-grid {
    display: grid;
    gap: 16px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 14px;
    outline: none;
}

.segmented {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.segmented label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 800;
}

.segmented input {
    position: absolute;
    opacity: 0;
}

.segmented input:checked + span {
    color: var(--red);
}

.segmented label:has(input:checked) {
    border-color: rgba(229,9,20,.32);
    background: rgba(229,9,20,.08);
}

.amount-box {
    border-radius: 8px;
    padding: 16px;
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
}

.alert {
    border-radius: 6px;
    padding: 14px 16px;
    background: #fff1f2;
    color: #a40b14;
    font-weight: 700;
}

.empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 42px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .masthead-inner {
        grid-template-columns: auto 1fr auto;
        gap: 18px;
    }

    .brand-logo img { width: 185px; }
    .hero-grid,
    .subscribe-layout { grid-template-columns: 1fr; }
    .side-column { min-height: 190px; }
    .side-group { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
    .story-grid,
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .editor-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .article-hero .page-inner { width: min(100% - 36px, 1420px); }
}

@media (max-width: 920px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-layout aside .sidebar-panel { position: static; }
}

@media (max-width: 820px) {
    .top-strip-inner,
    .masthead-inner,
    .category-inner,
    .page-inner { width: min(100% - 28px, 1420px); }

    .top-strip-links,
    .social-links,
    .signin-link,
    .masthead-actions .red-button { display: none; }

    .masthead-inner {
        grid-template-columns: 1fr auto;
        min-height: 76px;
    }

    .brand-logo img { width: 160px; }
    .search-form {
        grid-column: 1 / -1;
        order: 3;
        margin-bottom: 16px;
    }

    .menu-button { display: inline-flex; align-items: center; justify-content: center; }
    .category-nav { display: none; }
    .hero-grid { padding-top: 16px; }
    .hero-main { min-height: 440px; }
    .side-column { min-height: 552px; }
    .side-group { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
    .action-row,
    .story-grid,
    .feature-grid,
    .editor-grid,
    .newsletter-inner,
    .footer-grid { grid-template-columns: 1fr; }
    .subscription-banner { grid-template-columns: 1fr; padding: 28px; }
    .hero-overlay { padding: 24px; }
    .article-content { font-size: 16px; }
    .article-content { padding: 28px 22px 38px; }
    .article-hero { min-height: 380px; padding: 58px 0 42px; }
    .news-section { padding: 0 14px 18px; }
    .section-head-actions { width: 100%; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
    .hero-main { min-height: 420px; }
    .hero-title { font-size: 29px; }
    .hero-copy { font-size: 15px; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .story-card .media { height: 210px; }
    .newsletter-form { display: grid; }
    .newsletter-form input { min-height: 50px; }
    .newsletter-form button { min-height: 50px; }
    .lock-panel { inset: auto 12px 12px; padding: 18px; }
    .segmented { grid-template-columns: 1fr; }
    .subscribe-hero { padding: 48px 0 52px; }
    .subscribe-layout { padding-top: 28px; }
    .purpose-tabs, .currency-choice { grid-template-columns: 1fr; }
    .benefits-panel, .checkout-panel { padding: 22px; }
    .csr-gallery img, .csr-gallery img:first-child:nth-last-child(odd) { height: 180px; }
}

/* Site Gutters for Ads */
.site-gutter {
    position: absolute;
    top: 40px;
    width: 160px;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}
.site-gutter-left {
    left: -170px;
}
.site-gutter-right {
    right: -170px;
}
.ad-slot-vertical {
    position: relative;
    width: 100%;
    max-width: 160px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ad-slot-vertical.empty-slot {
    border: 1px dashed rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}
.ad-slot-vertical.empty-slot::before {
    content: 'AD SPACE';
}
.gutter-ad-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
.gutter-ad-item.is-active {
    opacity: 1;
    visibility: visible;
}
.gutter-ad-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media (max-width: 1780px) {
    .site-gutter { display: none; }
}

.light-body-section {
    background: transparent;
    color: #fff;
    padding-bottom: 60px;
    padding-top: 20px;
}
.light-body-section a {
    color: #fff;
}

/* Category Grid Section */
.category-grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px 0;
}
.category-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    color: #111;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.category-col a {
    color: #111;
    text-decoration: none;
}
.category-col a:hover {
    color: var(--red);
}
.cat-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 12px;
    margin-bottom: 8px;
}
.cat-col-head h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: #111;
}
.cat-col-head a {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
}
.cat-main-story {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #111;
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.cat-main-story .img-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 6px;
    overflow: hidden;
}
.cat-main-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.cat-main-story:hover img {
    transform: scale(1.04);
}
.cat-main-story h4 {
    font-size: 20px;
    margin: 0;
    line-height: 1.3;
}
.cat-main-story .meta {
    font-size: 13px;
    color: #999;
}
.cat-sub-stories {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}
.cat-sub-story {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px;
    align-items: center;
    color: #111;
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.cat-sub-story .img-wrapper {
    width: 90px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}
.cat-sub-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.cat-sub-story:hover img {
    transform: scale(1.08);
}
.cat-sub-story .sub-details h5 {
    font-size: 14px;
    margin: 0 0 4px;
    line-height: 1.35;
}
.cat-sub-story .meta {
    font-size: 11px;
    color: #555;
}

.story-card h3 a {
    color: #111;
    text-decoration: none;
}
.story-card h3 a:hover {
    color: var(--red);
}
.story-card .meta-row {
    color: #666;
}

@media (max-width: 1024px) {
    .category-grid-section { grid-template-columns: repeat(2, 1fr); }
    
    .hero-fs-headers, .hero-fs-inner, .hero-fs-wrapper {
        display: contents;
    }
    .hero-fs-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .hero-fs-headers .hero-fs-header-col:nth-child(1) { order: 1; margin-top: 24px; }
    .hero-fs-main-wrapper { order: 2; height: 420px; width: 100%; border-radius: 12px; }
    
    .hero-fs-headers .hero-fs-header-col:nth-child(2) { order: 3; margin-top: 24px; }
    .hero-fs-editors { order: 4; gap: 12px; background: transparent; }
    .hero-fs-editors .fs-editors-grid { display: flex; flex-direction: column; background: transparent; gap: 12px; }
    .hero-fs-editors .fs-editor-card { height: 280px; border-radius: 12px; }
    
    .hero-fs-headers .hero-fs-header-col:nth-child(3) { order: 5; margin-top: 24px; }
    .hero-fs-trending { order: 6; background: transparent; }
    .hero-fs-trending .fs-trending-list { gap: 16px; }
}

@media (max-width: 768px) {
    .category-grid-section { grid-template-columns: 1fr; }
    .hero-fs-main-wrapper { height: 350px; }
    .hero-fs-main h1 { font-size: 26px; line-height: 1.2; }
    .fs-editor-card h2 { font-size: 18px; line-height: 1.25; }
}

.floating-account {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    width: min(270px, calc(100vw - 32px));
    color: #fff;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .42));
}

.floating-account-login,
.floating-account-menu > summary {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: linear-gradient(135deg, #111923 0%, #05080c 68%, #4d050b 100%);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.floating-account-menu > summary { list-style: none; }
.floating-account-menu > summary::-webkit-details-marker { display: none; }
.floating-account strong,
.floating-account small { display: block; letter-spacing: 0; }
.floating-account strong { font-size: 14px; line-height: 1.3; }
.floating-account small { margin-top: 2px; color: #cbd5e1; font-size: 11px; }
.floating-account-icon,
.floating-account-avatar {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #e30613;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}
.floating-account-options {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: #090d12;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .38);
}
.floating-account-options a,
.floating-account-options button {
    display: block;
    width: 100%;
    padding: 13px 15px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.floating-account-options a:hover,
.floating-account-options button:hover { background: #e30613; }
.floating-account-options form { margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); }

@media (max-width: 768px) {
    .floating-account { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 225px; }
    .floating-account-login, .floating-account-menu > summary { min-height: 52px; padding: 8px 12px; }
}
