:root {
    --news-bg: #f6f1e8;
    --news-panel: rgba(255, 252, 247, 0.88);
    --news-ink: #1d2430;
    --news-muted: #5f6570;
    --news-accent: #a4452c;
    --news-accent-soft: #e4b97c;
    --news-line: rgba(29, 36, 48, 0.12);
    --news-shadow: 0 24px 60px rgba(34, 39, 48, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--news-ink);
    background:
        radial-gradient(circle at top, rgba(228, 185, 124, 0.35), transparent 28%),
        linear-gradient(180deg, #fbf6ee 0%, var(--news-bg) 48%, #efe5d8 100%);
}

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

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

.news-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.news-header,
.detail-shell {
    position: relative;
}

.news-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}

.news-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.news-brand img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--news-shadow);
}

.news-brand span,
.news-nav a {
    color: var(--news-muted);
}

.news-brand strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
}

.news-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.news-nav a {
    font-weight: 700;
}

.news-nav a[aria-current="page"],
.news-nav a:hover,
.text-link:hover,
.button-link:hover {
    color: var(--news-accent);
}

.news-hero,
.featured-post,
.post-card,
.detail-article,
.related-posts,
.empty-state {
    background: var(--news-panel);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    box-shadow: var(--news-shadow);
}

.news-hero {
    padding: 56px;
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(164, 69, 44, 0.92), rgba(46, 63, 78, 0.88)),
        rgba(255, 252, 247, 0.88);
    color: #fff8f1;
}

.news-hero h1,
.detail-article h1,
.featured-copy h2,
.post-card h2,
.section-head h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    line-height: 0.94;
}

.news-hero h1 {
    max-width: 760px;
    font-size: clamp(3.1rem, 8vw, 5.6rem);
}

.hero-copy,
.detail-excerpt,
.detail-body,
.post-card p,
.featured-copy p,
.empty-state p {
    line-height: 1.75;
    color: var(--news-muted);
}

.news-hero .hero-copy {
    max-width: 620px;
    margin-top: 18px;
    color: rgba(255, 248, 241, 0.9);
}

.eyebrow,
.post-date {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
}

.eyebrow {
    color: var(--news-accent-soft);
}

.post-date {
    color: var(--news-accent);
}

.news-main,
.detail-main {
    margin-top: 38px;
}

.featured-post {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    padding: 24px;
    border-radius: 32px;
}

.featured-image img,
.detail-cover img {
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    border-radius: 24px;
}

.featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-copy h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.button-link,
.text-link {
    font-weight: 800;
}

.button-link {
    margin-top: 10px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.post-card,
.empty-state {
    border-radius: 28px;
    overflow: hidden;
}

.post-card-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.post-card-copy,
.empty-state {
    padding: 24px;
}

.post-card h2 {
    font-size: 2.2rem;
    margin: 10px 0 12px;
}

.detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.detail-article {
    padding: 32px;
    border-radius: 32px;
}

.detail-article h1 {
    font-size: clamp(2.9rem, 6vw, 5rem);
    margin-bottom: 18px;
}

.detail-cover {
    margin: 28px 0 32px;
}

.detail-cover img {
    border-radius: 28px;
    max-height: 640px;
}

.detail-body p {
    margin: 0 0 1.2em;
}

.gallery-section {
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--news-line);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-card {
    margin: 0;
}

.gallery-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--news-shadow);
}

.gallery-card figcaption {
    margin-top: 10px;
    color: var(--news-muted);
    line-height: 1.55;
}

.related-posts {
    padding: 24px;
    border-radius: 28px;
}

.related-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--news-line);
}

.related-card:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.related-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
}

.related-card h3 {
    margin: 6px 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
}

@media (max-width: 920px) {
    .featured-post,
    .detail-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .news-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 20px;
    }

    .news-topbar,
    .news-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-hero,
    .detail-article,
    .related-posts,
    .post-card-copy,
    .empty-state {
        padding: 22px;
    }

    .featured-post {
        padding: 18px;
    }

    .featured-image img,
    .detail-cover img {
        min-height: 220px;
    }
}
