/* article.css — Production article template for Mueller Today */
/* Fonts: Source Serif 4 (body), Inter (UI), SF Compact Display (headings) */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Source Serif 4", Georgia, serif;
  color: #404040;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Container ── */
.container {
  max-width: 730px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.header {
  background: #fff;
  border-bottom: 1px solid rgba(50,50,93,0.1);
}

.header-main {
  padding: 14px 0;
}

.header-main .container {
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "SF Compact Display", -apple-system, system-ui, Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #32325d;
  text-decoration: none;
  letter-spacing: -0.3px;
}

.mt-site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 13px;
}

.mt-site-nav a {
  color: rgba(50,50,93,0.6);
  text-decoration: none;
  padding: 14px 0;
  transition: color 0.15s;
}

.mt-site-nav a:hover {
  color: #32325d;
}

/* ── Page / Article ── */
.page.article {
  padding-bottom: 48px;
}

.page.article .container {
  max-width: 730px;
}

/* ── Byline area (above headline) ── */
.page.article .byline {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: Inter, -apple-system, sans-serif;
}

.community-badge {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(50,50,93,0.45);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.community-badge::before {
  content: "\26A0";
  font-size: 12px;
}

.type-badge a {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(50,50,93,0.45);
  background: rgba(50,50,93,0.05);
  padding: 4px 10px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s;
}

.type-badge a:hover {
  background: rgba(50,50,93,0.1);
}

/* ── Headline ── */
.page.article h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: #000;
  line-height: 1.15;
  margin: 16px 0 0;
  letter-spacing: -0.3px;
}

/* ── Article meta (author, date, share) ── */
.article-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: Inter, -apple-system, sans-serif;
}

.article-meta .author-name {
  font-size: 14px;
  font-weight: 600;
  color: #32325d;
}

.article-meta .dot {
  font-size: 13px;
  color: rgba(50,50,93,0.35);
}

.article-meta .date {
  font-size: 13px;
  color: rgba(50,50,93,0.5);
}

.share-button {
  margin-left: auto;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(50,50,93,0.5);
  background: rgba(50,50,93,0.04);
  border: 1px solid rgba(50,50,93,0.1);
  border-radius: 4px;
  padding: 4px 12px;
  text-decoration: none;
  transition: background 0.15s;
}

.share-button:hover {
  background: rgba(50,50,93,0.08);
}

/* ── Hero image area ── */
.images-wrapper {
  margin-top: 24px;
}

.article-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background: linear-gradient(135deg, #f0f0f5 0%, #e8e8f0 50%, #f0f0f5 100%);
  border-radius: 8px;
}

/* ── Article text ── */
.article-text {
  margin-top: 28px;
}

.article-text p {
  font-size: 19px;
  line-height: 1.8;
  color: #404040;
  margin: 20px 0;
}

.article-text h3 {
  font-family: "SF Compact Display", -apple-system, system-ui, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 32px 0 12px;
  letter-spacing: 0.1px;
}

.article-text a {
  color: #b5451b;
  text-decoration: underline;
  text-decoration-color: rgba(181,69,27,0.3);
  text-underline-offset: 2px;
}

.article-text a:hover {
  text-decoration-color: rgba(181,69,27,0.8);
}

/* ── Prompt link ── */
.prompt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  padding: 10px 16px;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #32325d;
  background: rgba(50,50,93,0.04);
  border: 1px solid rgba(50,50,93,0.1);
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.15s;
}

.prompt-link:hover {
  background: rgba(50,50,93,0.08);
}

/* ── Footer ── */
.footer {
  margin-top: 48px;
}

.footer-top {
  background: #f7f7fa;
  border-top: 1px solid rgba(50,50,93,0.1);
  padding: 36px 0;
}

.footer-top .container {
  max-width: 1100px;
}

.footer-columns {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col {
  min-width: 160px;
}

.footer-title {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #32325d;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 13px;
  color: rgba(50,50,93,0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: #32325d;
}

.footer-bottom {
  background: #f0f0f5;
  padding: 18px 0;
  text-align: center;
}

.footer-bottom .container {
  max-width: 1100px;
}

.footer-bottom p {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 12px;
  color: rgba(50,50,93,0.45);
}

.footer-bottom a {
  color: rgba(50,50,93,0.55);
  text-decoration: underline;
  text-decoration-color: rgba(50,50,93,0.2);
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: #32325d;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .page.article h1 { font-size: 28px; }
  .article-text p { font-size: 17px; }
  .mt-site-nav { gap: 16px; font-size: 12px; }
  .footer-columns { gap: 32px; }
}
