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

:root {
    --paper: #f7f4ed;
    --ink: #171717;
    --muted: #6f6a61;
    --line: #cfc8ba;
    --accent: #174f4a;
    --accent-soft: #dce8e5;
    --white: #fffdf8;
    --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Libre Franklin', Arial, sans-serif;
    line-height: 1.65;
}

a { color: inherit; }

.top-line {
    height: 7px;
    background: var(--accent);
}

.site-header {
    border-bottom: 1px solid var(--ink);
    background: rgba(247, 244, 237, .96);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 22px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
}

.brand-main {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: .9;
}

.brand-sub {
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .68rem;
    color: var(--muted);
}

.archive-toggle,
.date-form button {
    border: 1px solid var(--ink);
    background: transparent;
    padding: 10px 16px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.archive-toggle:hover,
.date-form button:hover {
    background: var(--ink);
    color: var(--paper);
}

.section-nav {
    max-width: var(--max);
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    gap: 26px;
    overflow-x: auto;
    border-top: 1px solid var(--line);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .78rem;
    font-weight: 700;
}

.section-nav a {
    text-decoration: none;
    white-space: nowrap;
}

.page-shell {
    max-width: var(--max);
    margin: 0 auto;
    padding: 26px 24px 64px;
}

.edition-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .72rem;
    color: var(--muted);
}

.editorial {
    padding: 54px 0 64px;
    border-bottom: 3px double var(--ink);
    display: grid;
    grid-template-columns: minmax(150px, .45fr) 1.5fr;
    column-gap: 42px;
}

.eyebrow,
.news-kicker {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--accent);
}

.editorial h1 {
    grid-column: 2;
    margin: -8px 0 18px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.editorial-text {
    grid-column: 2;
    max-width: 760px;
    font-size: 1.15rem;
    color: #312f2b;
}

.news-section {
    padding: 52px 0;
    border-bottom: 1px solid var(--ink);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-number {
    font-size: .72rem;
    color: var(--muted);
}

.section-heading h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--ink);
}

.news-card {
    padding: 26px 24px 16px;
    border-right: 1px solid var(--line);
}

.news-card:last-child {
    border-right: 0;
}

.news-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    line-height: 1.15;
    margin: 10px 0 14px;
}

.news-card p {
    margin: 0 0 16px;
    color: #3e3a34;
}

.source {
    border-top: 1px solid var(--line);
    padding-top: 10px;
    font-size: .78rem;
    color: var(--muted);
}

.source a {
    color: var(--accent);
    font-weight: 600;
}

.archive-panel {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, .45);
    z-index: 40;
    padding: 20px;
}

.archive-card {
    margin-left: auto;
    width: min(430px, 100%);
    min-height: 100%;
    background: var(--white);
    padding: 34px;
    position: relative;
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
}

.archive-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
}

.archive-close {
    position: absolute;
    right: 24px;
    top: 18px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
}

.date-form {
    display: grid;
    gap: 10px;
}

.date-form input {
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    padding: 12px;
    font: inherit;
}

.available-days {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.date-links {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.date-links a {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    text-decoration: none;
    border: 1px solid var(--line);
    font-size: .8rem;
}

.date-links a.active,
.date-links a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.site-footer {
    max-width: var(--max);
    margin: 0 auto;
    padding: 34px 24px 48px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    color: var(--muted);
}

.site-footer div {
    display: flex;
    flex-direction: column;
}

.site-footer a {
    color: var(--accent);
    font-weight: 600;
}

.empty-state,
.muted {
    color: var(--muted);
}

@media (max-width: 820px) {
    .site-header { position: static; }
    .editorial {
        grid-template-columns: 1fr;
        padding-top: 36px;
    }
    .editorial h1,
    .editorial-text {
        grid-column: 1;
    }
    .editorial h1 {
        margin-top: 8px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-left: 0;
        padding-right: 0;
    }
    .news-card:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
    .header-inner,
    .page-shell,
    .section-nav,
    .site-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    .brand-sub { display: none; }
    .archive-toggle { padding: 8px 12px; }
    .edition-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    .editorial {
        padding: 32px 0 42px;
    }
    .editorial-text {
        font-size: 1rem;
    }
    .news-section {
        padding: 38px 0;
    }
    .site-footer {
        flex-direction: column;
    }
}


/* ===== AUTOR ===== */

.author-card{
max-width:760px;
margin:60px auto;
text-align:center;
padding:0 20px;
}

.author-photo{
width:150px;
height:150px;
border-radius:50%;
object-fit:cover;
object-position:center top;
display:block;
margin:0 auto 24px;
border:1px solid var(--line);
}

.author-name{
margin:0;
font-family:'Playfair Display',serif;
font-size:2rem;
}

.author-role{
margin:8px 0 26px;
text-transform:uppercase;
letter-spacing:.12em;
font-size:.82rem;
color:var(--muted);
}

.author-divider{
width:70px;
height:1px;
background:var(--line);
margin:0 auto 24px;
}

.author-title{
font-size:.9rem;
text-transform:uppercase;
letter-spacing:.12em;
margin-bottom:16px;
color:var(--accent);
}

.author-description{
max-width:680px;
margin:0 auto;
font-size:1.02rem;
color:#3e3a34;
}
