/* News uses the homepage's shell, fonts and pottery palette. */
.site-shell { min-height: calc(100dvh - 64px); display: flex; flex-direction: column; }
.logo { text-decoration: none; }
.nav-links a[aria-current="page"] { border-bottom-color: #b27a4d; color: #7a5538; }
a:focus-visible, button:focus-visible { outline: 2px solid #5a3e2b; outline-offset: 4px; }
.skip-link { position: absolute; left: 40px; top: -100px; background: #5a3e2b; color: #fcf6ed; padding: 12px 20px; border-radius: 8px; z-index: 1; }
.skip-link:focus { top: 12px; }
.public-main { flex: 1; }
.news-section { margin: 60px 0 50px; }
.section-header { display: flex; align-items: center; border-bottom: 2px solid #dac9b5; padding-bottom: 12px; margin-bottom: 28px; }
.section-header h1 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #3a281d; letter-spacing: .5px; line-height: 1.35; text-wrap: balance; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.news-item { display: block; background: #fcf6ed; border-radius: 24px; padding: 18px 18px 16px; border: 1px solid #dac9b5; transition: border-color .2s, box-shadow .2s; text-decoration: none; color: #3a281d; overflow: hidden; }
.news-item:hover { border-color: #b27a4d; box-shadow: 0 6px 14px rgba(90,62,43,.06); }
.news-cover { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.news-tag { display: inline-block; background: #dac9b5; padding: 2px 14px; border-radius: 40px; font-size: 11px; font-weight: 700; letter-spacing: .4px; color: #2e241b; margin-bottom: 10px; text-transform: uppercase; line-height: 1.6; }
.news-item h2 { font-size: 18px; font-weight: 700; color: #3a281d; margin-bottom: 6px; line-height: 1.35; overflow-wrap: anywhere; }
.news-item .date { font-size: 12px; color: #8a755f; font-weight: 500; font-variant-numeric: tabular-nums; }
.news-item .desc { font-size: 14px; color: #4d3b2c; margin-top: 8px; opacity: .85; line-height: 1.65; }
.empty-news { grid-column: 1/-1; padding: 18px 0; font-size: 15px; line-height: 1.7; color: #4d3b2c; }
.public-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 36px; font-size: 14px; }
.public-pagination a { color: #7a5538; font-weight: 600; text-decoration: none; border: 1px solid #dac9b5; border-radius: 40px; padding: 8px 18px; transition: background-color .2s; }
.public-pagination a:hover { background: #dac9b5; }
.public-article { max-width: 960px; margin: 48px auto 0; background: #fcf6ed; border: 1px solid #dac9b5; border-radius: 24px; overflow: hidden; }
.article-heading { padding: 32px 40px 0; }
.article-back { font-size: 13px; font-weight: 600; color: #7a5538; text-decoration: none; }
.article-back:hover { text-decoration: underline; }
.article-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; font-size: 12px; color: #8a755f; margin-top: 28px; }
.article-meta .news-tag { margin-bottom: 0; }
.article-meta time { font-variant-numeric: tabular-nums; }
.article-heading h1 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 40px; line-height: 1.2; color: #3a281d; margin: 18px 0 20px; text-wrap: balance; overflow-wrap: anywhere; }
.article-summary { font-size: 17px; line-height: 1.7; color: #4d3b2c; margin-bottom: 28px; max-width: 65ch; }
.article-cover { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 16px; }
.article-content { padding: var(--margin-top,32px) var(--margin-right,40px) var(--margin-bottom,32px) var(--margin-left,40px); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; color: #2e241b; }
.article-content p { margin-bottom: 1em; }
.article-content img { max-width: 100%; height: auto; }
.article-content table { border-collapse: collapse; max-width: 100%; display: block; overflow: auto; }
.article-content td, .article-content th { border: 1px solid #dac9b5; padding: 8px; }
.article-content pre { white-space: pre-wrap; padding: 16px; background: #f2e8dc; border-radius: 12px; }
.article-content blockquote { border-left: 4px solid #dac9b5; padding-left: 20px; margin: 20px 0; }
.article-content a { color: #7a5538; text-decoration: underline; }
.article-content h1, .article-content h2, .article-content h3 { line-height: 1.3; margin: 1em 0 .6em; }
.article-content ul, .article-content ol { padding-left: 1.5em; margin: 1em 0; }
.article-content figure { max-width: 100%; margin: 20px 0; }
.article-content figcaption { font-size: 13px; color: #8a755f; text-align: center; margin-top: 8px; }
.preview-banner { background: #e8d8c6; color: #5a3e2b; border: 1px solid #dac9b5; border-radius: 16px; padding: 14px 20px; margin: 32px auto -24px; max-width: 960px; line-height: 1.6; font-size: 14px; }
.preview-banner a { color: #5a3e2b; font-weight: 600; }
@media(max-width:700px) {
    .site-shell { min-height: calc(100dvh - 32px); }
    .news-section { margin-top: 36px; margin-bottom: 24px; }
    .section-header h1 { font-size: 25px; }
    .news-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%,260px),1fr)); gap: 20px; }
    .public-article { margin-top: 32px; }
    .article-heading { padding: 24px 20px 0; }
    .article-heading h1 { font-size: 30px; }
    .article-summary { font-size: 16px; }
    .article-content { padding: var(--margin-top,32px) min(var(--margin-right,40px),20px) var(--margin-bottom,32px) min(var(--margin-left,40px),20px); }
    .preview-banner { margin-top: 24px; }
    .skip-link { left: 16px; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { transition: none!important; } }
@media print {
    body { background: #fff; padding: 0; }
    .navbar, .footer, .preview-banner, .article-back, .skip-link { display: none; }
    .site-shell { min-height: auto; }
    .public-article { margin: 0; border: 0; max-width: none; }
    .article-content table { display: table; }
}
