/* ==========================================================================
   News & article components — consolidated from the four inline <style>
   blocks previously copied into news.html and each article page.
   ========================================================================== */

/* Article body */
.news-article { background: #fff; border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, .05); padding: 32px; margin-bottom: 40px; }
.news-article h2 { color: var(--sb-ink, #2b2622); margin-bottom: 20px; position: relative; padding-bottom: 15px; font-size: clamp(22px, 3vw, 30px); }
.news-article h2::after { content: ""; position: absolute; width: 70px; height: 3px; background: var(--sb-primary); bottom: 0; left: 0; }
.news-article h3 { color: var(--sb-ink, #2b2622); font-size: 20px; margin: 32px 0 14px; }
.news-article p { line-height: 1.8; color: #555; margin-bottom: 20px; }
.news-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; font-size: .9rem; color: #6b625c; }
.news-meta span i { margin-right: 6px; color: var(--sb-primary); }
.highlight-box { background: var(--sb-surface-alt); border-left: 4px solid var(--sb-primary); padding: 20px; margin: 30px 0; border-radius: 0 8px 8px 0; }
.highlight-box p { margin: 0; font-style: italic; color: var(--sb-primary); }

/* Image grids */
.news-image-section { margin: 40px 0; }
.news-image-section h3 { color: var(--sb-primary); margin-bottom: 20px; text-align: center; }
.news-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.news-image-card { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, .1); transition: transform .3s ease; background: #fff; }
.news-image-card:hover { transform: translateY(-5px); }
.news-image-card img { width: 100%; height: 220px; object-fit: cover; }
.news-image-caption { padding: 15px; background: #fff; }
.news-image-caption p { margin: 0; color: #555; font-size: 14px; }

.anniversary-section { margin: 40px 0; text-align: center; }
.anniversary-section h3 { color: var(--sb-primary); margin-bottom: 30px; }
.anniversary-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.anniversary-card { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, .1); transition: transform .3s ease; background: #fff; }
.anniversary-card:hover { transform: translateY(-5px); }
.anniversary-caption { padding: 15px; background: #fff; }
.anniversary-caption p { margin: 0; color: #555; font-size: 14px; }

/* Timeline */
.news-timeline { margin: 40px 0; }
.news-timeline h3 { color: var(--sb-primary); margin-bottom: 20px; text-align: center; }
.timeline-item { position: relative; padding-left: 30px; margin-bottom: 30px; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--sb-primary); }
.timeline-item::after { content: ""; position: absolute; left: 5px; top: 20px; width: 2px; height: calc(100% + 10px); background: var(--sb-primary); }
.timeline-item:last-child::after { display: none; }
.timeline-year { font-weight: 700; color: var(--sb-primary); margin-bottom: 5px; }
.timeline-content { color: #555; }

/* Invitation (Celebrating 100 Years) */
.invitation-header .quote { font-size: 18px; font-style: italic; color: var(--sb-primary); margin-bottom: .5rem; }
.invitation-header .location { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #6b625c; }
.invitation-content h3, .legacy-section h3 { color: var(--sb-primary); }

/* News listing cards */
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, .05); transition: transform .3s ease, box-shadow .3s ease; height: 100%; }
.news-card > img { object-fit: contain !important; background: #f5f3f0; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, .1); }
.news-card-body { padding: 20px; }
.news-card-title { margin-bottom: 12px; font-size: 1.2rem; line-height: 1.35; }
.news-card-title a { color: var(--sb-ink, #2b2622); }
.news-card-title a:hover { color: var(--sb-primary); }
.news-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin-bottom: 15px; font-size: .85rem; color: #6b625c; }
.news-card-author { font-weight: 500; }
.news-card-date { color: var(--sb-primary); }
.news-card-excerpt { color: #555; line-height: 1.6; margin-bottom: 15px; }
.news-card-link { color: var(--sb-primary); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.news-card-link:hover { color: #2b2622; }
.news-card-link i { transition: transform .3s; }
.news-card-link:hover i { transform: translateX(5px); }

/* Sidebar */
.sidebar-card { background: #fff; border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, .05); padding: 25px; margin-bottom: 24px; }
.sidebar-card .sb-btn--primary,
.sidebar-card .sb-btn--primary span { color: #fff !important; }
.sidebar-card h3 { color: var(--sb-ink, #2b2622); font-size: 19px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.sidebar-card h3::after { content: ""; position: absolute; width: 50px; height: 3px; background: var(--sb-primary); bottom: 0; left: 0; }
.sidebar-card p { color: #555; line-height: 1.6; margin-bottom: 15px; }

@media (max-width: 767.98px) {
  .news-article { padding: 22px 18px; }
  .news-image-grid, .anniversary-images { grid-template-columns: 1fr; }
}
