/*
Theme Name: My Medical Choice
Theme URI: https://mymedicalchoice.com/
Author: ChatGPT
Author URI: https://openai.com/
Description: A patient-education WordPress theme for MyMedicalChoice.com with homepage sections, guide styling, checklists, disclaimers, and starter content seeding.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mymedicalchoice
Tags: blog, education, custom-logo, featured-images, full-width-template
*/

:root {
  --mmc-teal: #0f766e;
  --mmc-teal-dark: #115e59;
  --mmc-sky: #e0f2fe;
  --mmc-mint: #ccfbf1;
  --mmc-ink: #0f172a;
  --mmc-muted: #64748b;
  --mmc-border: #e2e8f0;
  --mmc-bg: #f8fafc;
  --mmc-white: #fff;
  --mmc-amber: #92400e;
  --mmc-amber-bg: #fffbeb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--mmc-ink);
  background: var(--mmc-bg);
  line-height: 1.6;
}
a { color: var(--mmc-teal); text-decoration: none; }
a:hover { color: var(--mmc-teal-dark); }
img { max-width: 100%; height: auto; }

.mmc-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.mmc-narrow { width: min(860px, calc(100% - 32px)); margin: 0 auto; }
.mmc-section { padding: 72px 0; }
.mmc-card { background: #fff; border: 1px solid var(--mmc-border); border-radius: 24px; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.mmc-card-pad { padding: 28px; }
.mmc-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mmc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mmc-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mmc-pill { display:inline-flex; align-items:center; gap:8px; padding: 8px 14px; border-radius: 999px; border:1px solid #99f6e4; background:#fff; color: var(--mmc-teal-dark); font-weight:700; font-size:14px; }
.mmc-button, .wp-block-button__link, button, input[type="submit"] { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding: 13px 20px; border-radius: 16px; border: 0; background: var(--mmc-teal); color:#fff !important; font-weight:800; cursor:pointer; text-decoration:none; }
.mmc-button:hover, .wp-block-button__link:hover, button:hover, input[type="submit"]:hover { background: var(--mmc-teal-dark); color:#fff !important; }
.mmc-button-outline { background:#fff; color:var(--mmc-ink) !important; border:1px solid #cbd5e1; }
.mmc-button-outline:hover { background:#f1f5f9; color:var(--mmc-ink) !important; }
.mmc-eyebrow { color: var(--mmc-teal); font-size:14px; font-weight:900; text-transform: uppercase; letter-spacing:.08em; }
.mmc-muted { color: var(--mmc-muted); }
.mmc-lead { font-size: 20px; color:#475569; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--mmc-border); }
.site-header-inner { height: 74px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-branding { display:flex; align-items:center; gap:12px; color:var(--mmc-ink); }
.site-logo-mark { width:42px; height:42px; border-radius:16px; background: var(--mmc-teal); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:900; }
.site-title { font-size:21px; line-height:1.1; font-weight:950; color:var(--mmc-ink); }
.site-tagline { font-size:12px; color:#64748b; }
.primary-menu { display:flex; list-style:none; margin:0; padding:0; gap:24px; align-items:center; }
.primary-menu a { color:#334155; font-weight:800; font-size:14px; }
.primary-menu a:hover { color:var(--mmc-teal); }

.hero { position:relative; overflow:hidden; background: linear-gradient(135deg, #fff 0%, #ecfeff 50%, #e0f2fe 100%); padding: 86px 0; }
.hero:before { content:""; position:absolute; width:360px; height:360px; border-radius:999px; background:#99f6e4; filter: blur(70px); opacity:.35; right:-120px; top:-120px; }
.hero:after { content:""; position:absolute; width:360px; height:360px; border-radius:999px; background:#bae6fd; filter: blur(70px); opacity:.45; left:-130px; bottom:-170px; }
.hero-inner { position:relative; z-index:1; display:grid; grid-template-columns: 1.05fr .95fr; gap:54px; align-items:center; }
.hero h1 { font-size: clamp(42px, 6vw, 70px); line-height: 1.02; letter-spacing:-.055em; margin:20px 0; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin: 28px 0; }
.hero-search-card { padding:32px; border-radius:34px; background:rgba(255,255,255,.9); box-shadow: 0 22px 60px rgba(15,23,42,.14); border:1px solid rgba(226,232,240,.85); }
.hero-search-box { display:flex; align-items:center; gap:10px; background:#f8fafc; border:1px solid var(--mmc-border); border-radius:18px; padding:12px 14px; margin: 22px 0; color:#94a3b8; }
.hero-search-box input { border:0; background:transparent; outline:0; width:100%; font-size:16px; }
.quick-links { display:grid; gap:10px; }
.quick-links a { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-radius:18px; border:1px solid var(--mmc-border); color:#1e293b; font-weight:800; background:#fff; }
.quick-links a:hover { border-color:#5eead4; background:#f0fdfa; color:var(--mmc-teal-dark); }

.topic-card .icon, .icon-badge { width:52px; height:52px; border-radius:18px; background:#ccfbf1; display:flex; align-items:center; justify-content:center; color:var(--mmc-teal); font-weight:900; font-size:22px; margin-bottom:18px; }
.topic-card h3, .article-card h3 { margin:0 0 10px; font-size:22px; line-height:1.2; }
.article-card .category { color:var(--mmc-teal); font-weight:900; font-size:14px; margin-bottom:10px; }

.checklist-band { background:#fff; border-top:1px solid var(--mmc-border); border-bottom:1px solid var(--mmc-border); }
.check-item { display:flex; gap:12px; padding:16px; border-radius:18px; border:1px solid var(--mmc-border); background:#f8fafc; }
.check-dot { color:var(--mmc-teal); font-weight:950; }
.dark-cta { background:var(--mmc-ink); color:#fff; border-radius:32px; padding:36px; }
.dark-cta p { color:#cbd5e1; }

.teal-band { background:var(--mmc-teal); color:#fff; }
.teal-band .mmc-muted, .teal-band p { color:#f0fdfa; }
.newsletter-card { border-radius:34px; padding:36px; display:grid; grid-template-columns:.9fr 1.1fr; gap:32px; align-items:center; }
.newsletter-card input { width:100%; padding:16px 18px; border-radius:16px; border:1px solid #cbd5e1; font-size:16px; margin-bottom:12px; }

.site-footer { background:#020617; color:#cbd5e1; padding:46px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr; gap:36px; margin-bottom:28px; }
.site-footer a { color:#cbd5e1; }
.site-footer a:hover { color:#fff; }
.site-footer h4 { color:#fff; margin:0 0 12px; }
.site-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer-disclaimer { border-top:1px solid #1e293b; padding-top:22px; font-size:13px; color:#94a3b8; }

.content-wrap { padding:54px 0; }
.entry-header { margin-bottom:26px; }
.entry-title { font-size: clamp(36px, 5vw, 56px); letter-spacing:-.04em; line-height:1.08; margin:0 0 12px; }
.entry-content { font-size:18px; }
.entry-content h2 { font-size:32px; line-height:1.2; margin-top:42px; }
.entry-content h3 { font-size:24px; margin-top:32px; }
.entry-content p, .entry-content li { color:#334155; }
.entry-content ul, .entry-content ol { padding-left:1.35em; }
.entry-content blockquote { border-left:5px solid var(--mmc-teal); padding:14px 20px; background:#f0fdfa; margin:24px 0; border-radius:0 16px 16px 0; }
.entry-content input[type="text"], .entry-content textarea { width:100%; border:1px solid var(--mmc-border); border-radius:12px; padding:12px; }
.disclaimer-box, .emergency-box { padding:18px 20px; border-radius:18px; margin:24px 0; border:1px solid #fde68a; background:var(--mmc-amber-bg); color:var(--mmc-amber); font-weight:700; }
.disclaimer-box { border-color:#99f6e4; background:#f0fdfa; color:var(--mmc-teal-dark); }
.post-list { display:grid; gap:24px; }
.post-list article { padding:26px; }
.post-list h2 { margin-top:0; }

@media (max-width: 900px) {
  .hero-inner, .newsletter-card { grid-template-columns: 1fr; }
  .mmc-grid-4, .mmc-grid-3, .mmc-grid-2, .footer-grid { grid-template-columns: 1fr; }
  .primary-menu { display:none; }
  .hero { padding:60px 0; }
  .mmc-section { padding:52px 0; }
}
