/* The Meridian Times — subscription page styles.
   Plausible newspaper look: serif masthead, clean form card.
   No framework. */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #1a1a1a;
  background: #f5f3ee;
  line-height: 1.55;
}

a { color: #1a4a8a; text-decoration: underline; }
a:hover { color: #0d2f5a; }

/* ── Masthead ─────────────────────────────────────────────────────────────── */
.masthead {
  background: #fff;
  border-bottom: 3px double #1a1a1a;
}

.masthead-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  color: #555;
}

.masthead-tagline {
  font-style: italic;
  letter-spacing: 0.03em;
}

.masthead-nav {
  display: flex;
  gap: 1.25rem;
}

.masthead-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

.masthead-nav a:hover { color: #1a4a8a; }

.masthead-title {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
  padding: 0.6rem 0 0.3rem;
  line-height: 1.05;
}

.masthead-date {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #666;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #ddd;
}

/* ── Hero section ─────────────────────────────────────────────────────────── */
.hero {
  padding: 3rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

.hero-kicker {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b22222;
  margin-bottom: 0.5rem;
}

.hero-headline {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-body {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-benefits li {
  padding-left: 1.4em;
  position: relative;
  font-size: 0.95rem;
  color: #333;
}

.hero-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2a7a2a;
  font-weight: 700;
}

/* ── Trial card (signup form) ─────────────────────────────────────────────── */
.trial-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: sticky;
  top: 1.5rem;
}

.trial-card-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.trial-card-subhead {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 1.25rem;
}

/* ── Form elements ────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid #bbb;
  border-radius: 3px;
  background: #fafafa;
  color: #111;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1a4a8a;
  box-shadow: 0 0 0 2px rgba(26,74,138,0.15);
  background: #fff;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #1a4a8a;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s;
  margin-bottom: 0.75rem;
}

.btn-primary:hover { background: #0d2f5a; }
.btn-primary:active { background: #0a2040; }

.btn-primary:disabled {
  background: #888;
  cursor: not-allowed;
}

.form-legal {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  color: #777;
  line-height: 1.45;
}

/* ── Confirmation message (shown after successful submit) ─────────────────── */
.trial-confirmation {
  text-align: center;
  padding: 1rem 0;
}

.trial-confirmation .confirm-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.trial-confirmation h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.trial-confirmation p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  color: #444;
}

/* ── Teasers ──────────────────────────────────────────────────────────────── */
.teasers {
  padding: 2.5rem 1.5rem;
  background: #f5f3ee;
}

.teasers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.teasers-heading {
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 0.4rem;
}

.teasers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.teaser {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.teaser-section {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b22222;
}

.teaser-headline {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.teaser-summary {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.83rem;
  color: #444;
  flex: 1;
}

.teaser-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a4a8a;
  text-decoration: none;
  margin-top: 0.25rem;
}

.teaser-link:hover { text-decoration: underline; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  color: #aaa;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
}

.footer-nav a:hover { color: #fff; }

.footer-copy {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  color: #777;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 780px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .trial-card {
    position: static;
  }

  .masthead-nav {
    display: none; /* simplified mobile header */
  }
}
