/* Vertex Bulletin — shared stylesheet */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a; background: #ffffff; line-height: 1.65; font-size: 17px;
}
a { color: #0b5fa5; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Masthead */
.masthead { border-bottom: 3px solid #111; padding: 22px 0 12px; text-align: center; }
.masthead .brand { font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 700; color: #111; letter-spacing: -0.5px; }
.masthead .brand:hover { text-decoration: none; }
.masthead .tagline { color: #666; font-size: 14px; margin-top: 4px; }
.masthead .dateline { color: #888; font-size: 13px; margin-top: 6px; }
nav.main-nav { border-bottom: 1px solid #ddd; background: #111; }
nav.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; max-width: 960px; margin: 0 auto; }
nav.main-nav li a { display: block; padding: 11px 18px; color: #fff; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
nav.main-nav li a:hover, nav.main-nav li a.active { background: #0b5fa5; text-decoration: none; }

/* Layout */
main { padding: 28px 0 40px; }
h1 { font-family: Georgia, serif; font-size: 34px; line-height: 1.25; margin-bottom: 12px; }
h2 { font-family: Georgia, serif; font-size: 24px; margin: 28px 0 10px; }
h3 { font-size: 19px; margin: 20px 0 8px; }
p { margin-bottom: 16px; }
.section-title { font-family: Georgia, serif; font-size: 22px; border-bottom: 2px solid #111; padding-bottom: 6px; margin: 30px 0 18px; }
.lede { font-size: 19px; color: #333; }

/* Featured story */
.featured { border-bottom: 1px solid #ddd; padding-bottom: 24px; margin-bottom: 8px; }
.featured .kicker { color: #0b5fa5; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.featured h1 a { color: #111; }
.featured p.summary { font-size: 18px; color: #444; }

/* Article list */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { border-top: 3px solid #111; padding-top: 12px; display: flex; flex-direction: column; }
.article-card .cat { color: #0b5fa5; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.article-card h3 { margin: 6px 0; font-family: Georgia, serif; font-size: 20px; line-height: 1.35; }
.article-card h3 a { color: #111; }
.article-card p { color: #555; font-size: 15px; margin-bottom: 8px; }
.meta { color: #888; font-size: 13px; }

/* Category chips */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 4px; }
.cat-chips a { background: #f0f0f0; color: #111; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.cat-chips a:hover { background: #0b5fa5; color: #fff; text-decoration: none; }

/* Article body */
.article-body { max-width: 720px; margin: 0 auto; }
.article-body .byline { color: #666; font-size: 14px; border-bottom: 1px solid #ddd; padding-bottom: 14px; margin-bottom: 22px; }
.article-body p { font-size: 18px; }
blockquote { border-left: 4px solid #0b5fa5; padding: 6px 0 6px 18px; margin: 20px 0; color: #444; font-style: italic; }
.related { background: #f7f7f7; padding: 18px 22px; margin-top: 32px; border-radius: 6px; }
.related h3 { margin-top: 0; }
.related ul { margin-left: 20px; }
.related li { margin-bottom: 6px; }

/* Static pages */
.page-body { max-width: 720px; margin: 0 auto; }
.page-body ul { margin: 0 0 16px 22px; }
.page-body li { margin-bottom: 6px; }
form.contact-form label { display: block; font-weight: 600; margin: 14px 0 4px; }
form.contact-form input, form.contact-form textarea { width: 100%; padding: 10px; font-size: 16px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
form.contact-form button { margin-top: 16px; background: #0b5fa5; color: #fff; border: none; padding: 12px 26px; font-size: 16px; border-radius: 4px; cursor: pointer; }
form.contact-form button:hover { background: #084a82; }
.form-note { color: #666; font-size: 14px; margin-top: 12px; }

/* Footer */
footer { background: #111; color: #bbb; padding: 30px 0; font-size: 14px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
footer a { color: #ddd; }
footer h4 { color: #fff; margin-bottom: 10px; font-size: 15px; }
footer ul { list-style: none; }
footer li { margin-bottom: 6px; }
footer .bottom { margin-top: 24px; padding-top: 14px; border-top: 1px solid #333; color: #888; font-size: 13px; }

@media (max-width: 900px) {
  .article-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .masthead .brand { font-size: 30px; }
  h1 { font-size: 26px; }
  .article-list { grid-template-columns: 1fr; }
  .article-body p { font-size: 17px; }
  nav.main-nav li a { padding: 10px 12px; font-size: 13px; }
}

/* Article images */
.card-img-link { display: block; }
.card-img { display: block; width: 100%; height: 180px; object-fit: cover; border-radius: 4px; margin-bottom: 12px; }
.featured-img-link { display: block; }
.featured-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; margin: 16px 0 4px; }
.hero-img { margin: 0 0 22px; }
.hero-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.hero-img figcaption { color: #888; font-size: 13px; margin-top: 8px; }
@media (max-width: 640px) {
  .card-img { height: 160px; }
}

.ad-slot-300x250 { min-height: 250px; width: 300px; max-width: 100%; }
.ad-slot-728x90 { min-height: 90px; width: 728px; max-width: 100%; }
.ad-slot-468x60 { min-height: 60px; width: 468px; max-width: 100%; }
.ad-slot-160x300 { min-height: 300px; width: 160px; max-width: 100%; }
.ad-slot-160x600 { min-height: 600px; width: 160px; max-width: 100%; }
.ad-slot-native { min-height: 180px; width: 100%; max-width: 820px; background: transparent; border: none; padding: 0; }
[id^="container-fef99946cb"] { width: 100% !important; min-height: 120px; }
.in-article-ad-box { margin: 18px auto; text-align: center; overflow: hidden; max-width: 100%; }
.ad-anchor-body { width: 100%; max-width: 728px; margin: 0 auto; text-align: center; }

/* Hero (front page) — big image left, text right; stacks on mobile */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; border-bottom: 1px solid #ddd; padding-bottom: 24px; margin-bottom: 8px; }
.hero__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.hero__body { display: flex; flex-direction: column; }
.hero .kicker { color: #0b5fa5; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.hero h1 { font-size: 34px; }
.hero h1 a { color: #111; }
.hero__dek { font-size: 18px; color: #444; }

/* Secondary row cards */
.secondary { display: flex; flex-direction: column; }
.article-card--row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; border-top: 0; border-bottom: 1px solid #ddd; padding: 18px 0; }
.article-card--row .card-img { height: 140px; margin-bottom: 0; }
.article-card--row h3 { margin-top: 4px; }

/* Most Read — numbered list */
.most-read { counter-reset: mr; list-style: none; margin: 0; padding: 0; }
.most-read li { counter-increment: mr; padding: 12px 0 12px 44px; position: relative; border-bottom: 1px solid #eee; font-weight: 600; }
.most-read li::before { content: counter(mr); position: absolute; left: 0; top: 8px; font-family: Georgia, serif; font-size: 28px; color: #0b5fa5; font-weight: 700; }
.most-read li:last-child { border-bottom: 0; }
.most-read a { color: #111; }

/* Article extras: breadcrumb, dek, tags, author box */
.breadcrumb { color: #888; font-size: 13px; margin-bottom: 14px; }
.breadcrumb a { color: #888; }
.article-dek { font-size: 19px; color: #444; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.tags a { background: #f0f0f0; color: #111; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.tags a:hover { background: #0b5fa5; color: #fff; text-decoration: none; }
.author-box { display: flex; gap: 16px; background: #f7f7f7; padding: 18px 22px; margin-top: 28px; border-radius: 6px; align-items: flex-start; }
.author-box__avatar { width: 52px; height: 52px; border-radius: 50%; background: #0b5fa5; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.author-box h4 { margin: 0 0 4px; font-size: 16px; }
.author-box p { margin: 0; font-size: 14px; color: #555; }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; gap: 16px; }
  .hero h1 { font-size: 28px; }
  .article-card--row { grid-template-columns: 1fr; gap: 12px; }
  .article-card--row .card-img { height: 180px; }
}
@media print {
  nav.main-nav, footer { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
