/* 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; }
}
