:root {
    --enp-orange: #f0740c;
    --enp-orange-dark: #d9640a;
    --enp-gold: #f2b705;
    --enp-gold-dark: #c98f02;
    --enp-black: #0d0d0d;
    --enp-black-soft: #17140d;
    --enp-gray-text: #6b7280;
    --enp-border: #ececec;
    --enp-bg: #faf9f7;
}

* { box-sizing: border-box; }

body { overflow-x: hidden; }

.enp-page {
    width: auto;
    color: #17171a;
    background: var(--enp-bg);
}

.enp-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Full-bleed helper (breaks out of any parent max-width) ---------- */
.enp-full-bleed {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.enp-body-wrap {
    background: var(--enp-bg);
    padding: 56px 40px 64px;
}

/* ---------- Premium badge (shared) ---------- */
.enp-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--enp-gold), #ffd75e);
    color: #4a3600;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(242, 183, 5, 0.35);
}

.enp-premium-badge i { font-size: 14px; }

/* ================= HERO (full-bleed, flush with header) ================= */
.enp-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -56px;
    background: radial-gradient(120% 140% at 20% 10%, #201a0a 0%, var(--enp-black) 55%, #060606 100%);
    padding: 76px 0 96px;
    overflow: hidden;
    isolation: isolate;
}

.enp-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

.enp-hero-glow--1 {
    width: 520px;
    height: 520px;
    top: -220px;
    right: -120px;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.35), transparent 70%);
}

.enp-hero-glow--2 {
    width: 420px;
    height: 420px;
    bottom: -220px;
    left: -100px;
    background: radial-gradient(circle, rgba(240, 116, 12, 0.28), transparent 70%);
}

.enp-hero-grain {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 22px 22px;
    z-index: 0;
    pointer-events: none;
}

.enp-hero-inner { position: relative; z-index: 1; }

.enp-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.enp-hero-text h1 {
    position: relative;
    display: inline-block;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.08;
    margin-bottom: 18px;
    color: #fff;
}

.enp-hero-underline {
    display: block;
    width: 120px;
    height: 6px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--enp-gold), var(--enp-orange));
}

.enp-hero-text p {
    color: #c9c6bd;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 480px;
}

.enp-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.enp-hero-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.enp-hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(242, 183, 5, 0.18);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 14px 18px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.enp-hero-badge:hover {
    transform: translateY(-3px);
    border-color: rgba(242, 183, 5, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.enp-hero-badge-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--enp-gold), var(--enp-orange));
    color: #1a1200;
}

.enp-hero-badge-icon svg {
    display: block;
}

.enp-hero-badge strong {
    display: block;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
}

.enp-hero-badge small {
    color: #a8a49a;
    font-size: 12px;
}

.enp-hero-image {
    position: relative;
}

.enp-hero-image::before {
    content: "";
    position: absolute;
    inset: -14px;
    background: linear-gradient(135deg, var(--enp-gold), var(--enp-orange));
    border-radius: 26px;
    z-index: -1;
    opacity: 0.55;
    filter: blur(26px);
}

.enp-hero-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.enp-hero-image-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--enp-black);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
}

.enp-hero-image-tag i { color: var(--enp-gold); }

/* ---------- Layout (Browse Editions body) ---------- */
.enp-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
    max-width: 1680px;
    margin: 0 auto;
}

.enp-main-head {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.enp-section-title {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.enp-section-title i { color: var(--enp-orange); }

.enp-section-sub {
    color: var(--enp-gray-text);
    font-size: 14px;
}

/* ---------- Filter bar (premium) ---------- */
.enp-filter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--enp-border);
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.enp-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.enp-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--enp-bg);
    font-weight: 600;
    font-size: 13.5px;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.enp-filter-pill:hover {
    border-color: var(--enp-gold);
    color: var(--enp-gold-dark);
}

.enp-filter-pill.active {
    background: linear-gradient(135deg, var(--enp-orange), var(--enp-gold));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(240, 116, 12, 0.28);
}

.enp-date-picker-form { flex-shrink: 0; }

.enp-date-picker-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--enp-black);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: filter 0.2s ease;
}

.enp-date-picker-btn:hover { filter: brightness(1.15); }

.enp-date-picker-btn i { color: var(--enp-gold); }

.enp-date-picker-btn input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* ---------- Editions grid: 3 per row ---------- */
.enp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.enp-card {
    background: #fff;
    border: 1px solid var(--enp-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.enp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(242, 183, 5, 0.22);
    border-color: var(--enp-gold);
}

.enp-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--enp-bg);
    overflow: hidden;
}

.enp-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.enp-card:hover .enp-card-thumb img { transform: scale(1.06); }

.enp-card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enp-card:hover .enp-card-glow { opacity: 1; }

.enp-card-read {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--enp-gold), var(--enp-orange));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}

.enp-card:hover .enp-card-read { opacity: 1; transform: translateY(0); }

.enp-card-body { padding: 16px 16px 10px; }

.enp-card-body h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.enp-card-body h3 a { color: inherit; text-decoration: none; }

.enp-card-footer {
    background: var(--enp-black);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.enp-card-footer span {
    font-size: 12px;
    color: #cfcfcf;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.enp-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--enp-gray-text);
}

.enp-empty-state i {
    font-size: 40px;
    color: var(--enp-border);
    margin-bottom: 10px;
    display: block;
}

.enp-view-all { text-align: center; margin-top: 34px; }

/* ---------- Startup Stories / Latest News — full-width premium cards ---------- */
.enp-stories-section {
    margin-top: 64px;
    padding: 0 40px;
}

.enp-stories-section .enp-main-head {
    margin-bottom: 26px;
}

.enp-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.enp-story-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--enp-border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.enp-story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(242, 183, 5, 0.2);
    border-color: var(--enp-gold);
}

.enp-story-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--enp-bg);
}

.enp-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.enp-story-card:hover .enp-story-thumb img { transform: scale(1.08); }

.enp-story-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--enp-black);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 6px 12px;
    border-radius: 999px;
}

.enp-story-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.enp-story-body h4 {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.enp-story-body p {
    font-size: 13px;
    color: var(--enp-gray-text);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.enp-story-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--enp-orange-dark);
}

.enp-story-card:hover .enp-story-readmore { color: var(--enp-gold-dark); }

/* ---------- Buttons ---------- */
.enp-btn-solid,
.enp-btn-outline,
.enp-btn-line,
.enp-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    padding: 12px 20px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, filter 0.2s ease;
}

.enp-btn-lg { padding: 15px 26px; font-size: 15px; }

.enp-btn-solid {
    background: linear-gradient(135deg, var(--enp-orange), var(--enp-gold));
    color: #fff;
    width: 100%;
}

.enp-btn-solid:hover { filter: brightness(1.06); color: #fff; transform: translateY(-1px); }

.enp-detail-actions .enp-btn-solid,
.enp-hero-cta .enp-btn-solid { width: auto; }

.enp-btn-outline {
    background: var(--enp-orange);
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.enp-btn-outline:hover { background: var(--enp-orange-dark); color: #fff; }

.enp-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(242, 183, 5, 0.35);
    color: #fff;
}

.enp-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--enp-gold); }

.enp-icon-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

.enp-btn-line { background: #fff; border: 1px solid var(--enp-border); color: #1a1a1a; width: 100%; }
.enp-btn-line:hover { background: var(--enp-bg); border-color: var(--enp-gold); color: #a97b00; }
.enp-btn-inline { width: auto; padding: 12px 28px; }

/* ---------- Sidebar ---------- */
.enp-sidebar-card {
    background: #fff;
    border: 1px solid var(--enp-border);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    position: relative;
}

.enp-sidebar-card--featured {
    border: 1px solid rgba(242, 183, 5, 0.4);
    background: linear-gradient(180deg, #fffdf6, #ffffff);
}

.enp-live-tag {
    position: absolute;
    top: -10px;
    right: 18px;
    background: var(--enp-black);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.enp-live-tag i { color: var(--enp-gold); }

.enp-sidebar-card h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.enp-sidebar-card h4 i { color: var(--enp-gold-dark); }

.enp-date { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.enp-meta { color: var(--enp-gray-text); font-size: 13px; margin-bottom: 16px; }

.enp-sidebar-thumb {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 16px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.enp-popular-list { list-style: none; margin: 0; padding: 0; }

.enp-popular-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--enp-border);
}

.enp-popular-list li:last-child { border-bottom: none; padding-bottom: 0; }

.enp-popular-thumb-wrap { position: relative; flex-shrink: 0; }

.enp-popular-rank {
    position: absolute;
    top: -6px;
    left: -6px;
    background: linear-gradient(135deg, var(--enp-gold), var(--enp-orange));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff;
    z-index: 1;
}

.enp-popular-list img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }

.enp-popular-list a { font-size: 13.5px; font-weight: 700; color: #1a1a1a; text-decoration: none; display: block; line-height: 1.35; }
.enp-popular-list a:hover { color: var(--enp-orange); }
.enp-popular-list small { color: var(--enp-gray-text); font-size: 12px; }

/* ================= DETAIL PAGE ================= */
.enp-detail-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -56px;
    background: radial-gradient(120% 140% at 80% 0%, #201a0a 0%, var(--enp-black) 55%, #060606 100%);
    padding: 48px 0 54px;
    overflow: hidden;
}

.enp-detail-hero-inner { position: relative; z-index: 1; }

.enp-back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    color: var(--enp-gold);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.enp-back-link:hover { color: var(--enp-orange); }

.enp-detail-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin: 8px 0 10px;
    color: #fff;
    max-width: 900px;
    line-height: 1.2;
}

.enp-detail-hero .enp-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 26px;
    color: #b9b6ad;
}

.enp-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.enp-pdf-viewer {
    background: #2b2b2b;
    padding: 28px 0 0;
}

.enp-pdf-viewer iframe {
    display: block;
    width: 100%;
    height: 92vh;
    border: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .enp-grid { grid-template-columns: repeat(2, 1fr); }
    .enp-hero-text h1 { font-size: 44px; }
    .enp-stories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .enp-hero-grid,
    .enp-body { grid-template-columns: 1fr; }
    .enp-hero-image { order: -1; }
    .enp-filter-card { flex-direction: column; align-items: stretch; }
    .enp-body-wrap { padding: 40px 20px 48px; }
    .enp-stories-section { padding: 0 24px; margin-top: 48px; }
}

@media (max-width: 640px) {
    .enp-stories-grid { grid-template-columns: 1fr; }
    .enp-stories-section { padding: 0 20px; }
}

@media (max-width: 600px) {
    .enp-grid { grid-template-columns: 1fr; }
    .enp-hero-text h1 { font-size: 34px; }
    .enp-hero { padding: 56px 0 70px; }
    .enp-detail-hero h1 { font-size: 28px; }
    .enp-pdf-viewer iframe { height: 70vh; }
    .enp-main-head { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 1500px) {
    .enp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}