@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --ink:        #0d0f0e;
    --cream:      #f5f0eb;
    --red:        #a32a29;
    --red-dark:   #8f1f1f;
    --gold:       #E7A98E;
    --mid:        #6b6b6b;
    --rule:       #d8d0c7;
    --white:      #ffffff;
    --card-bg:    #fdfbf8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'D-DIN', sans-serif;
    color: var(--ink);
    /* background: var(--cream); */
}

/* ─── UTILITIES ────────────────────────────────────── */

.container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ─── MASTHEAD BAR ──────────────────────────────────── */

.nr-masthead {
    background: var(--ink);
    border-bottom: 3px solid var(--red);
    padding: 18px 0;
}

.nr-masthead-inner {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.nr-masthead-label {
    font-family: 'D-DIN', serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--white);
}

.nr-masthead-label span {
    color: var(--red);
}

.nr-masthead-date {
    font-size: 12px;
    font-weight: 500;
    color: #8a8a8a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ─── HERO SLIDER ───────────────────────────────────── */

.nr-hero {
    position: relative;
    width: 100%;
    height: 82vh;
    min-height: 480px;
    overflow: hidden;
    background: var(--ink);
}

.nr-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    opacity: 0;
    transition: opacity 1s ease;
}

.nr-slide.active { opacity: 1; z-index: 2; }

.nr-slide-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(13,15,14,0.84) 0%,
        rgba(13,15,14,0.50) 55%,
        rgba(13,15,14,0.15) 100%
    );
}

.nr-slide-body {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    padding: 0 64px 64px;
    max-width: 740px;
}

.nr-slide-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201,147,58,0.12);
    border: 1px solid rgba(201,147,58,0.35);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 18px;
}

.nr-slide-body h2 {
    font-family: 'D-DIN', serif;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 16px;
}

.nr-slide-body p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255,255,255,0.78);
    margin-bottom: 28px;
    max-width: 520px;
}

.nr-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--white);
    background: var(--red);
    padding: 13px 26px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
    max-width: 20;
}

.nr-slide-cta:hover { background: var(--red-dark); }

.nr-slide-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.nr-slide-cta:hover svg { transform: translateX(4px); }

/* Slide counter */
.nr-slide-count {
    position: absolute;
    bottom: 64px;
    right: 48px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nr-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.nr-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 3px;
}

/* Prev / Next */
.nr-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}

.nr-nav:hover { background: rgba(255,255,255,0.18); }
.nr-nav.prev { left: 28px; }
.nr-nav.next { right: 28px; }

/* ─── CATEGORY NAV ──────────────────────────────────── */

.nr-category-bar {
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nr-category-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.nr-cat-link {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mid);
    text-decoration: none;
    padding: 18px 22px;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s;
    border-bottom: 3px solid transparent;
}

.nr-cat-link:hover { color: var(--ink); }

.nr-cat-link.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

/* Mobile dropdown */
.nr-cat-dropdown {
    display: none;
    width: 100%;
    padding: 14px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    margin: 14px 0;
}

/* ─── NEWS SECTION ──────────────────────────────────── */

.nr-section {
    padding: 22px 0 22px;
}

.nr-tab-content {
    display: none;
}

.nr-tab-content.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Section heading rule */
.nr-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}

.nr-section-head-bar {
    width: 32px;
    height: 3px;
    background: var(--red);
    flex-shrink: 0;
}

.nr-section-head h3 {
    font-family: 'D-DIN', serif;
    font-size: 22px;
    font-weight: 700;
}

/* ─── CARD GRID ─────────────────────────────────────── */

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

/* First card spans 2 columns as a feature */
.nr-grid .nr-card:first-child {
    grid-column: span 2;
    flex-direction: row;
}

.nr-grid .nr-card:first-child .nr-card-img {
    width: 55%;
    flex-shrink: 0;
}

.nr-grid .nr-card:first-child .nr-card-img img {
    height: 100%;
    object-fit: cover;
}

.nr-grid .nr-card:first-child .nr-card-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nr-grid .nr-card:first-child .nr-card-title {
    font-size: 22px;
}

.nr-card {
    background: var(--card-bg);
    border: 1px solid var(--rule);
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 48px rgba(0,0,0,0.09);
}

.nr-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.nr-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nr-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.nr-card-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
}

.nr-card-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(184,44,44,0.08);
    padding: 2px 8px;
    border-radius: 2px;
}

.nr-card-title {
    font-family: 'D-DIN', serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--ink);
}

.nr-card-excerpt {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--mid);
    margin-bottom: 20px;
}

.nr-card-link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background-color: var(--red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.25s ease;
    border: 1px solid var(--red);
    cursor: pointer;
    max-width: 20;
}

.nr-card-link:hover {
    gap: 10px;
    background-color: transparent;
    color: var(--red);
}

/* ─── EMPTY STATE ───────────────────────────────────── */

.nr-empty {
    text-align: center;
    padding: 64px 0;
    color: var(--mid);
    font-size: 15px;
}

/* ─── RESPONSIVE ────────────────────────────────────── */

@media (max-width: 1024px) {
    .nr-grid { grid-template-columns: repeat(2, 1fr); }

    .nr-grid .nr-card:first-child {
        grid-column: span 2;
        flex-direction: column;
    }

    .nr-grid .nr-card:first-child .nr-card-img {
        width: 100%;
    }

    .nr-grid .nr-card:first-child .nr-card-img img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .nr-slide-body { padding: 0 28px 48px; }

    .nr-category-inner { display: none; }
    .nr-cat-dropdown { display: block; }
    .container { padding: 0 20px; }

    .nr-grid {
        grid-template-columns: 1fr;
    }

    .nr-grid .nr-card:first-child {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .nr-hero { height: 68vh; }
    .nr-masthead-label { font-size: 22px; }
    .nr-nav { display: none; }
}

.nr-load-more-wrap {
margin-top: 2rem;
}