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

html, body {
    height: 100%;
    background-color: #faf8f3;
}

body {
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: #000000;
}

a:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #faf8f3;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000000;
    color: #ffffff;
    padding: 8px 12px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

.site-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000000;
}

.site-title {
    font-size: 1.4rem;
    font-weight: normal;
    font-variant: small-caps;
    margin-bottom: 4px;
}

.site-header p {
    font-size: 0.9rem;
    font-style: italic;
}

.site-header a {
    color: #0066cc;
    text-decoration: underline;
}

.site-header a:hover {
    color: #004499;
}

.main-content {
    margin-bottom: 40px;
}

h1 {
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 10px;
    line-height: 1.3;
}

h2 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 32px;
    margin-bottom: 12px;
    text-decoration: underline;
}

h3 {
    font-size: 1.1rem;
    font-weight: normal;
    margin-top: 24px;
    margin-bottom: 8px;
    font-style: italic;
}

p {
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

p.indented {
    text-indent: 2em;
}

ul, ol {
    margin-left: 2em;
    margin-bottom: 16px;
}

li {
    margin-bottom: 6px;
    font-size: 1.05rem;
    line-height: 1.7;
}

a {
    color: #0066cc;
    text-decoration: underline;
}

a:hover {
    color: #004499;
}

.article-meta {
    font-size: 0.9rem;
    font-style: italic;
    color: #333333;
    margin-bottom: 32px;
}

.article-list {
    list-style: none;
    margin-left: 0;
}

.article-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #cccccc;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list .article-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.article-list .article-date {
    font-size: 0.9rem;
    font-style: italic;
    color: #333333;
    margin-bottom: 4px;
}

.article-list .article-summary {
    font-size: 1rem;
    margin-bottom: 0;
}

.article-list .article-source {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

.article-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
    margin-bottom: 24px;
}

.back-link {
    font-size: 0.9rem;
    font-style: italic;
    display: block;
    margin-bottom: 32px;
}

.contact-cta {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #000000;
}

.contact-cta p {
    margin-bottom: 8px;
}

.site-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #000000;
}

.site-footer p {
    font-size: 0.9rem;
    margin: 0;
}

.site-footer a {
    color: #0066cc;
    text-decoration: underline;
}

/* ── Masthead ── */

.masthead {
    text-align: center;
    padding: 28px 20px 16px;
    border-bottom: 3px double #000;
    background: #faf8f3;
}

.masthead-date {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 10px;
    font-style: normal;
}

.masthead-title {
    font-size: 3rem;
    font-weight: normal;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 6px;
    font-variant: small-caps;
}

.masthead-tagline {
    font-size: 0.85rem;
    font-style: italic;
    color: #444;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}

.masthead-tagline a {
    color: #444;
    text-decoration: none;
}

.masthead-tagline a:hover {
    text-decoration: underline;
}

/* ── Masthead analog clocks ── */

.masthead-main {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 8px auto 4px;
    padding: 0 20px;
    box-sizing: border-box;
}

.masthead-title {
    flex-shrink: 0;
}

.clock-group {
    flex: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.clock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 56px;
}

.clock-city {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    text-align: center;
    line-height: 1.2;
}

/* ── Ticker ── */

.ticker-bar {
    background: #111;
    color: #faf8f3;
    padding: 7px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
}

.ticker-bar:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    font-size: 0.82rem;
    font-family: "Times New Roman", Times, serif;
    padding: 0 28px;
    letter-spacing: 0.02em;
}

.tick-up { color: #7ecb7e; }
.tick-dn { color: #e07070; }
.tick-sep { color: #555; }

/* ── News body layout ── */

.news-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-rule {
    border: none;
    border-top: 1px solid #000;
    margin: 20px 0;
}

.news-columns {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.news-main {
    flex: 1 1 0;
    min-width: 0;
}

.news-sidebar {
    width: 300px;
    flex-shrink: 0;
    border-left: 1px solid #ccc;
    padding-left: 32px;
}

.news-section { margin-bottom: 40px; }

.news-section-head {
    font-size: 0.72rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
    margin-bottom: 16px;
    text-decoration: none;
    margin-top: 0;
}

.news-empty {
    font-style: italic;
    color: #555;
}

/* ── News footer ── */

.news-footer {
    text-align: center;
    border-top: 1px solid #000;
    padding: 16px 20px;
    margin-top: 40px;
    font-size: 0.85rem;
}

.news-footer a { color: #000; }

/* ── Article page header (non-index pages keep old .site-header) ── */

.site-header {
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid #000;
}

.site-header h1, .site-header p.site-title {
    font-size: 1.1rem;
    font-weight: normal;
    font-variant: small-caps;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .clock-item { width: 44px; }
    .clock-item svg { width: 32px; height: 32px; }
}

@media (max-width: 640px) {
    .masthead-title { font-size: 2rem; }
    .masthead-main { flex-direction: column; gap: 8px; padding: 0 12px; }
    .clock-group { width: 100%; justify-content: space-evenly; }
    .clock-item { width: 44px; }
    .clock-item svg { width: 30px; height: 30px; }
    .news-columns { flex-direction: column; }
    .news-sidebar { width: 100%; border-left: none; padding-left: 0; border-top: 1px solid #ccc; padding-top: 24px; }
}
