/* ========== Medicare Page Styles ========== */

/* Page background and base text */
body {
  background: url("/images/pdx_ai_skyline.webp") center/cover no-repeat fixed;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #0f172a;
}

/* Content wrapper (uses same look as rest of site: light card on dark/bg image) */
.content-wrapper {
  max-width: 1100px;
  margin: 22px auto;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.08);
}

/* Headings */
h1, h2, h3 {
  color: #0b1324;
  margin: 0 0 10px;
}
.hero-medicare h1 {
  font-size: clamp(28px, 4vw, 42px);
}
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: clamp(18px, 2.4vw, 22px); }

/* Hero paragraph & small utility text */
.hero-medicare p { margin: 0 0 14px; }
.small { font-size: 0.92rem; }
.tip   { color: #475569; margin-top: 10px; }

/* ======= CTA Buttons ======= */
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
  justify-content: center;   /* centers the buttons horizontally */
  text-align: center;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: transform .15s ease-in-out, filter .15s ease-in-out, box-shadow .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #1ea5f7 0%, #8c5ae8 100%);
  box-shadow: 0 6px 16px rgba(30, 165, 247, 0.25);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn-secondary {
  color: #0f172a;
  background: #fff;
  border: 2px solid rgba(30, 165, 247, 0.35);
}
.btn-secondary:hover { background: #f8fafc; border-color: rgba(30, 165, 247, 0.6); transform: translateY(-1px); }

/* Stack & center buttons on small screens */
@media (max-width: 600px) {
  .cta-row { flex-direction: column; align-items: center; }
}

/* ======= Two-column info blocks ======= */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 900px) {
  .grid-two { grid-template-columns: 1fr; }
}

/* ======= Comparison “table” ======= */
.plan-table {
  display: grid;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.plan-table .row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}
.plan-table .head {
  background: #f8fafc;
  font-weight: 700;
}
.plan-table .cell {
  padding: 12px 14px;
  border-top: 1px solid #eef2f7;
}
.plan-table .row.head .cell { border-top: none; }

/* Mobile: convert to stacked rows */
@media (max-width: 860px) {
  .plan-table .row { grid-template-columns: 1fr; }
  .plan-table .head { display: none; }
  .plan-table .row { border-top: 1px solid #eef2f7; }
  .plan-table .cell:first-child {
    font-weight: 700;
    background: #f9fafb;
  }
}

/* ======= FAQs ======= */
#faqs details {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0;
  background: #fff;
}
#faqs summary { cursor: pointer; font-weight: 700; }
#faqs p { margin: 10px 0 0; }

/* ======= Disclaimers ======= */
.disclaimer {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

/* ======= Optional: tighten top hero spacing on very wide screens ======= */
@media (min-width: 1200px) {
  .hero-medicare.content-wrapper { padding-top: 26px; padding-bottom: 18px; }
}
