/* ========================================
   HPR THEME - Full Design
   ======================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:100%;scroll-behavior:smooth}
body{font-family:'Source Serif 4',Georgia,'Times New Roman',serif;font-size:18px;line-height:1.7;color:#212529;background:#fff;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6{font-family:'Inter',sans-serif;font-weight:600;line-height:1.3;color:#1a1a1a;margin-top:1em;margin-bottom:.5em}
h1{font-size:2.25rem;font-weight:700;margin-top:0}
h2{font-size:1.75rem}
h3{font-size:1.375rem}
h4{font-size:1.125rem;font-weight:600}
p{margin-bottom:1.2em}
a{color:#4A7C9D;text-decoration:none;transition:color .15s}
a:hover{color:#3A6A8A;text-decoration:underline}
img{max-width:100%;height:auto;display:block}
ul,ol{margin:1em 0;padding-left:1.5em}
li{margin-bottom:.3em}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
/* ====== HEADER & NAV (WORKING) ====== */
.site-header{position:sticky;top:0;z-index:9999;background:#fff;border-bottom:1px solid #e9ecef;transition:box-shadow .3s}
.site-header.is-scrolled{box-shadow:0 2px 12px rgba(0,0,0,.06)}
.header-inner{display:flex;align-items:center;height:64px;gap:40px}
.site-branding{flex-shrink:0}
.site-title{font-family:'Inter',sans-serif;font-weight:700;font-size:1.1rem;color:#212529;white-space:nowrap;text-decoration:none}
.site-title:hover{color:#4A7C9D;text-decoration:none}
.site-logo-link{display:flex;align-items:center;height:100%}
.site-logo{height:40px;width:auto}
.primary-nav{flex:1;display:flex;overflow:visible}
.nav-menu{display:flex;list-style:none;margin:0;padding:0;align-items:stretch;gap:0}
.nav-menu>.menu-item{position:relative;flex-shrink:0}
.nav-menu>.menu-item>a{display:flex;align-items:center;padding:0 10px;height:64px;font-family:'Inter',sans-serif;font-size:13px;font-weight:500;color:#495057;white-space:nowrap;transition:color .15s,background .15s}
.nav-menu>.menu-item>a:hover{background:#f8f9fa;color:#212529;text-decoration:none}
.mega-sub-menu{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid #e9ecef;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.1);padding:16px;min-width:420px;z-index:99999}
.mega-sub-menu.is-visible{display:block}
.mega-inner{display:flex;gap:0}
.mega-column{list-style:none;margin:0;padding:0;min-width:160px}
.mega-column li{margin:0}
.mega-column a{display:block;padding:5px 10px;font-family:'Inter',sans-serif;font-size:13px;color:#495057;border-radius:4px}
.mega-column a:hover{background:#f0f4f8;color:#4A7C9D;text-decoration:none}
.menu-toggle{display:none;background:none;border:none;font-size:22px;cursor:pointer;padding:8px;color:#495057}
.header-actions{flex-shrink:0}
.search-toggle{background:none;border:none;font-size:18px;cursor:pointer;padding:8px;color:#495057}
.search-toggle:hover{background:#f8f9fa;border-radius:6px}
.search-overlay{display:none;position:fixed;top:64px;left:0;right:0;background:#fff;border-bottom:1px solid #e9ecef;padding:20px 0;z-index:9998;box-shadow:0 4px 12px rgba(0,0,0,.06)}
.search-overlay.is-visible{display:block}
.search-field{padding:10px 14px;font-family:'Inter',sans-serif;font-size:15px;border:2px solid #dee2e6;border-radius:6px;color:#212529;width:100%;transition:border-color .2s}
.search-field:focus{outline:none;border-color:#4A7C9D}
/* ====== SECTIONS ====== */
.section{padding:64px 0}
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}
.section-title{font-size:1.5rem;font-weight:600;margin:0}
.section-link{font-family:'Inter',sans-serif;font-size:14px;font-weight:500;color:#4A7C9D}
.bg-light{background:#f8f9fa}
/* ====== TOPICS GRID ====== */
.topics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.topic-card{display:block;padding:28px;background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;text-decoration:none;transition:background .2s,border-color .2s,box-shadow .2s}
.topic-card:hover{background:#fff;border-color:#dee2e6;text-decoration:none;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.topic-name{font-family:'Inter',sans-serif;font-size:1.1rem;font-weight:600;color:#212529;margin:0 0 6px}
.topic-desc{font-size:14px;color:#6C757D;margin:0}
/* ====== ARTICLE GRID ====== */
.article-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:28px}
.article-card{background:#fff;border:1px solid #e9ecef;border-radius:12px;overflow:hidden;transition:box-shadow .2s}
.article-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.06)}
.card-image{width:100%;height:200px;object-fit:cover;transition:transform .3s}
.card-image-link:hover .card-image{transform:scale(1.02)}
.card-body{padding:20px}
.card-category{display:inline-block;font-family:'Inter',sans-serif;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#5B8C8C;margin-bottom:8px}
.card-title{font-family:'Inter',sans-serif;font-size:1.1rem;font-weight:600;margin:0 0 8px;line-height:1.35}
.card-title a{color:#212529}
.card-title a:hover{color:#4A7C9D;text-decoration:none}
.card-excerpt{font-size:14px;color:#6C757D;margin:0 0 12px}
.card-meta{font-family:'Inter',sans-serif;font-size:12px;color:#adb5bd;display:flex;gap:12px}
/* ====== TRUST ====== */
.trust-grid{display:flex;justify-content:center;gap:64px}
.trust-item{text-align:center}
.trust-number{display:block;font-family:'Inter',sans-serif;font-size:2rem;font-weight:700;color:#4A7C9D;margin-bottom:4px}
.trust-label{font-family:'Inter',sans-serif;font-size:13px;color:#6C757D}
/* ====== NEWSLETTER ====== */
.newsletter-box{max-width:520px;margin:0 auto;text-align:center}
.newsletter-title{font-size:1.5rem;font-weight:600;margin-bottom:8px}
.newsletter-desc{font-size:16px;color:#6C757D;margin-bottom:24px}
.newsletter-form{max-width:420px;margin:0 auto}
.newsletter-input-group{display:flex;gap:8px}
.newsletter-input{flex:1;padding:12px 16px;font-family:'Inter',sans-serif;font-size:15px;border:2px solid #dee2e6;border-radius:8px;color:#212529}
.newsletter-input:focus{outline:none;border-color:#4A7C9D}
.newsletter-btn{padding:12px 24px;font-family:'Inter',sans-serif;font-weight:500;font-size:14px;background:#4A7C9D;color:#fff;border:none;border-radius:8px;cursor:pointer;white-space:nowrap;transition:background .2s}
.newsletter-btn:hover{background:#3A6A8A}
.newsletter-note{font-size:12px;color:#adb5bd;margin-top:8px}
/* ====== SINGLE ARTICLE ====== */
.single-main{padding:0 0 64px}
.breadcrumb{font-family:'Inter',sans-serif;font-size:13px;color:#6C757D;padding:16px 0;margin-bottom:8px}
.breadcrumb a{color:#6C757D}
.breadcrumb a:hover{color:#4A7C9D}
.breadcrumb .sep{margin:0 6px;color:#adb5bd}
.article-header{margin-bottom:32px}
.article-cat-badge{display:inline-block;font-family:'Inter',sans-serif;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#5B8C8C;margin-bottom:12px}
.article-title{font-size:2.25rem;font-weight:700;line-height:1.2;margin-bottom:16px}
.article-meta-top{font-family:'Inter',sans-serif;font-size:13px;color:#6C757D;margin-bottom:24px}
.article-meta-top a{color:#4A7C9D}
.meta-sep{margin:0 8px;color:#dee2e6}
.article-featured-image{margin-bottom:32px;border-radius:12px;overflow:hidden}
.article-layout{display:flex;gap:48px}
.article-body{max-width:800px;margin:0 auto}
.article-sidebar{width:300px;flex-shrink:0;position:sticky;top:88px;align-self:flex-start}
.article-text{font-family:"Source Serif 4",serif;font-size:1.125rem;line-height:1.75}
.article-text p{margin-bottom:1.2em}
.article-text img{border-radius:8px;margin:24px 0}
.article-text blockquote{border-left:3px solid #4A7C9D;padding:12px 24px;margin:24px 0;font-style:italic;color:#495057;background:#f8f9fa;border-radius:0 8px 8px 0}
.article-text .wp-block-embed{margin:24px 0}
.article-text .wp-block-embed__wrapper{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;max-width:680px;margin:0 auto;border-radius:8px}
.article-text .wp-block-embed__wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}
/* TOC */
.toc-wrapper{margin-bottom:32px;position:sticky;top:88px;background:#f8f9fa;border-radius:8px;padding:16px 20px;border:1px solid #e9ecef}
.toc-title{font-family:'Inter',sans-serif;font-size:13px;font-weight:600;color:#212529;text-transform:uppercase;letter-spacing:.05em;margin-bottom:12px;margin-top:0}
.toc-list{list-style:none;margin:0;padding:0}
.toc-list li{margin-bottom:4px}
.toc-list a{font-family:'Inter',sans-serif;font-size:13px;color:#495057;padding:4px 0;display:block}
.toc-list a:hover{color:#4A7C9D;text-decoration:none}
.toc-h3{padding-left:16px}
.toc-h3 a{font-size:12px}
/* Reading progress */
.reading-progress{position:fixed;top:64px;left:0;height:3px;background:#7A9D7A;z-index:999;width:0%}
/* Author box */
.author-box{display:flex;gap:20px;background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;padding:24px;margin-top:40px}
.author-avatar img{border-radius:50%;width:80px;height:80px}
.author-name{font-family:'Inter',sans-serif;font-size:1rem;font-weight:600;margin:0 0 4px}
.author-name a{color:#212529}
.author-name a:hover{color:#4A7C9D}
.author-bio{font-size:14px;color:#6C757D;margin:0 0 4px}
.author-meta{font-family:'Inter',sans-serif;font-size:12px;color:#adb5bd;margin:0}
/* Medical disclaimer */
.medical-disclaimer{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:20px;margin-top:32px}
.medical-disclaimer h4{font-family:'Inter',sans-serif;font-size:13px;font-weight:600;margin:0 0 8px;color:#6C757D}
.medical-disclaimer p{font-size:13px;color:#6C757D;margin:0}
/* Related posts */
.related-posts{margin-top:48px}
.related-title{font-size:1.25rem;font-weight:600;margin-bottom:20px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.related-image{width:100%;height:140px;object-fit:cover;border-radius:8px;margin-bottom:8px}
.related-card-title{font-family:'Inter',sans-serif;font-size:14px;font-weight:500;margin:0 0 4px;line-height:1.3}
.related-card-title a{color:#212529}
.related-card-title a:hover{color:#4A7C9D;text-decoration:none}
.related-date{font-family:'Inter',sans-serif;font-size:12px;color:#adb5bd}
/* Sidebar */
.sidebar-newsletter{background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;padding:24px}
.sidebar-newsletter h4{font-family:'Inter',sans-serif;font-size:1rem;font-weight:600;margin:0 0 8px}
.sidebar-newsletter p{font-size:13px;color:#6C757D;margin:0 0 16px}
/* ====== ARCHIVE ====== */
.archive-header{padding:32px 0 24px}
.archive-title{font-size:2rem;font-weight:700;margin-bottom:8px}
.archive-desc{font-size:16px;color:#6C757D;max-width:600px}
.archive-count{font-family:'Inter',sans-serif;font-size:13px;color:#adb5bd}
.subcategory-nav{display:flex;gap:8px;overflow-x:auto;padding:16px 0 24px}
.subcat-pill{display:inline-block;padding:8px 18px;font-family:'Inter',sans-serif;font-size:13px;font-weight:500;background:#fff;border:1px solid #dee2e6;border-radius:100px;color:#495057;white-space:nowrap;transition:all .15s}
.subcat-pill:hover{background:#f8f9fa;border-color:#4A7C9D;color:#4A7C9D;text-decoration:none}
.subcat-pill.active{background:#4A7C9D;color:#fff;border-color:#4A7C9D}
/* ====== PAGINATION ====== */
.pagination{margin:48px 0;text-align:center}
.page-numbers{display:inline-block;padding:8px 14px;margin:0 2px;font-family:'Inter',sans-serif;font-size:13px;border:1px solid #dee2e6;border-radius:6px;color:#495057}
.page-numbers.current{background:#4A7C9D;color:#fff;border-color:#4A7C9D}
.page-numbers:hover{background:#f8f9fa;text-decoration:none}
/* ====== PAGE ====== */
.page-content{padding:48px 0;max-width:720px}
.page-title{margin-bottom:24px}
.error-404{text-align:center;padding:80px 0}
.error-title{font-size:2.5rem;margin-bottom:16px}
/* ====== FOOTER ====== */
.site-footer{background:#212529;color:#dee2e6;font-family:'Inter',sans-serif}
.footer-main{padding:48px 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:48px}
.footer-logo{font-size:1.1rem;font-weight:700;color:#fff;margin:0 0 12px}
.footer-desc{font-size:13px;color:#adb5bd;margin-bottom:16px}
.footer-disclaimer{font-size:11px;color:#6C757D;border-top:1px solid #343a40;padding-top:12px}
.footer-heading{font-size:13px;font-weight:600;color:#fff;text-transform:uppercase;letter-spacing:.05em;margin:0 0 16px}
.footer-links{list-style:none;margin:0;padding:0}
.footer-links li{margin-bottom:8px}
.footer-links a{color:#adb5bd;font-size:13px}
.footer-links a:hover{color:#fff}
.footer-bottom{border-top:1px solid #343a40;padding:16px 0;text-align:center}
.footer-bottom p{font-size:12px;color:#6C757D;margin:0}
/* ====== MOBILE ====== */
@media(max-width:900px){
  .menu-toggle{display:flex!important;align-items:center}
  .nav-menu{display:none;position:fixed;top:64px;left:0;right:0;background:#fff;flex-direction:column;padding:8px 0;max-height:calc(100vh-64px);overflow-y:auto;border-bottom:1px solid #e9ecef;z-index:999}
  .nav-menu.is-visible{display:flex}
  .nav-menu>.menu-item>a{height:auto;padding:12px 16px;border-bottom:1px solid #f8f9fa}
  .mega-sub-menu{position:static;box-shadow:none;border:none;display:none;padding:0 0 8px 20px;min-width:auto;border-radius:0}
  .mega-sub-menu.is-visible{display:block}
  .mega-inner{flex-direction:column}
  .mega-column{min-width:auto}
  .search-overlay{top:64px}
  .search-overlay-inner{flex-direction:column;align-items:stretch}
  .hero-title{font-size:1.75rem}
  .article-layout{flex-direction:column}
  .article-sidebar{width:100%;position:static}
  .topics-grid{grid-template-columns:1fr}
  .trust-grid{flex-direction:column;gap:24px}
  .related-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:32px}
  .section{padding:40px 0}
}
/* ====== PODCAST COVER SECTION ====== */
.hpr-podcast-section{padding:64px 24px;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);overflow:hidden}
.podcast-cover{display:flex;align-items:center;gap:48px;max-width:900px;margin:0 auto}
.podcast-artwork{flex-shrink:0;position:relative;width:260px;height:260px}
.podcast-artwork img{width:100%;height:100%;object-fit:cover;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.3)}
.podcast-badge{position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);background:#c00;color:#fff;font-family:"Inter",sans-serif;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:5px 14px;border-radius:50px;white-space:nowrap}
.podcast-info{flex:1;min-width:0}
.podcast-label{font-family:"Inter",sans-serif;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.5);margin-bottom:8px;display:block}
.podcast-title{font-family:"Inter",sans-serif;font-size:2.5rem;font-weight:800;color:#fff;margin:0 0 10px;letter-spacing:-.03em;line-height:1.1}
.podcast-desc{font-family:"Inter",sans-serif;font-size:15px;color:rgba(255,255,255,.6);margin:0 0 24px;line-height:1.5;max-width:480px}
.podcast-meta{display:flex;gap:32px;margin-bottom:28px}
.podcast-stat{display:flex;flex-direction:column}
.podcast-stat-num{font-family:"Inter",sans-serif;font-size:1.5rem;font-weight:700;color:#fff;line-height:1}
.podcast-stat-label{font-family:"Inter",sans-serif;font-size:12px;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.06em;margin-top:4px}
.podcast-actions{display:flex;gap:12px}
.podcast-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;font-family:"Inter",sans-serif;font-size:14px;font-weight:600;border-radius:50px;text-decoration:none!important;transition:all .2s}
.podcast-btn-primary{background:#c00;color:#fff!important;box-shadow:0 4px 15px rgba(204,0,0,.3)}
.podcast-btn-primary:hover{background:#a00;transform:translateY(-2px);box-shadow:0 6px 20px rgba(204,0,0,.4);color:#fff!important}
.podcast-btn svg{flex-shrink:0}
@media(max-width:768px){.hpr-podcast-section{padding:40px 20px}.podcast-cover{flex-direction:column;text-align:center;gap:24px}.podcast-artwork{width:180px;height:180px}.podcast-title{font-size:1.75rem}.podcast-desc{margin-left:auto;margin-right:auto}.podcast-meta{justify-content:center}.podcast-actions{justify-content:center}}
/* ====== HERO SECTION ====== */
.hero-section{position:relative;padding:100px 0 80px;text-align:center;overflow:hidden;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%)}
.hero-bg{position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at 20% 30%,rgba(74,124,157,.12) 0,transparent 50%),radial-gradient(circle at 80% 70%,rgba(204,0,0,.06) 0,transparent 50%);pointer-events:none}
.hero-section .container{position:relative;z-index:1}
.hero-badge{display:inline-block;font-family:'Inter',sans-serif;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.4);margin-bottom:16px;padding:5px 14px;border:1px solid rgba(255,255,255,.1);border-radius:50px}
.hero-title{font-family:'Inter',sans-serif;font-size:2.75rem;font-weight:800;line-height:1.15;max-width:700px;margin:0 auto 16px;color:#fff;letter-spacing:-.02em}
.hero-subtitle{font-size:1.1rem;color:rgba(255,255,255,.6);max-width:560px;margin:0 auto 32px;line-height:1.6}
.hero-search{display:flex;max-width:520px;margin:0 auto;gap:8px}
.hero-search-field{flex:1;padding:14px 18px;font-size:1rem;font-family:'Inter',sans-serif;border:2px solid rgba(255,255,255,.15);border-radius:8px;color:#fff;background:rgba(255,255,255,.08);transition:border-color .2s,background .2s;outline:none}
.hero-search-field::placeholder{color:rgba(255,255,255,.35)}
.hero-search-field:focus{border-color:#4A7C9D;background:rgba(255,255,255,.12)}
.hero-search-btn{padding:14px 28px;font-family:'Inter',sans-serif;font-weight:600;font-size:15px;background:#4A7C9D;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:background .2s;white-space:nowrap}
.hero-search-btn:hover{background:#3A6A8A}
@media(max-width:768px){.hero-section{padding:64px 0 48px}.hero-title{font-size:1.75rem}.hero-subtitle{font-size:1rem}}
.newsletter-msg{font-size:13px;padding:10px 14px;border-radius:6px;margin-bottom:12px;text-align:center}
.newsletter-msg--success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}
.newsletter-msg--error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}
