/*
Theme Name: GetHealthyFX
Theme URI: https://gethealthyfx.com/
Author: GetHealthyFX
Description: Editorial health magazine with modern asymmetrical hero, 15 illustrated health categories, and robust native WordPress templates.
Version: 1.0.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: gethealthyfx
License: GPL-2.0-or-later
*/
:root{--gh-ink:#102f2b;--gh-green:#087347;--gh-orange:#ff7047;--gh-paper:#f6f8f4;--gh-border:#e2e9e5}*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--gh-ink);background:var(--gh-paper);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}a{color:var(--gh-green);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button,input{font:inherit}button{cursor:pointer}.gh-wrap{max-width:1480px;margin:auto;padding:0 28px}.gh-top{background:#e9f3e9;padding:7px 0;font-size:12px}.gh-top .gh-wrap{display:flex;justify-content:space-between;gap:15px}.gh-header{background:#fff;border-bottom:1px solid var(--gh-border);position:relative;z-index:10}.gh-header-row{display:flex;align-items:center;gap:24px;min-height:94px}.gh-brand{font-size:30px;font-weight:900;letter-spacing:-1.4px;white-space:nowrap;color:#123f30}.gh-brand span{color:var(--gh-orange)}.gh-brand small{display:block;font-size:11px;letter-spacing:.4px;font-weight:500;color:#6b7a71}.gh-nav{display:flex;gap:19px;align-items:center;margin-left:auto}.gh-nav a{font-size:14px;font-weight:750;color:#1b352f}.gh-search{display:flex;max-width:320px;min-width:170px;flex:1;border:1px solid #e3e8e5;border-radius:30px;overflow:hidden;background:#f6f7f6}.gh-search input{border:0;min-width:0;flex:1;padding:10px 15px;background:transparent;outline-offset:-2px}.gh-search button,.gh-btn{background:var(--gh-green);color:#fff;border:0;padding:11px 20px;border-radius:30px;font-weight:700}.gh-search button{border-radius:30px}.gh-btn.orange{background:var(--gh-orange)}.gh-main{padding-bottom:65px}.gh-hero{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.85fr);gap:18px;margin-top:24px}.gh-hero-primary{min-height:455px;border-radius:24px;padding:60px 52px;position:relative;overflow:hidden;background:radial-gradient(circle at 80% 25%,#b9d9b0,transparent 40%),linear-gradient(120deg,#e8f5e3,#fef7dc 60%,#d8e9ca)}.gh-hero-primary:after{content:'✿';position:absolute;font-size:360px;line-height:1;right:-24px;bottom:-95px;color:#0e7d55;opacity:.13;transform:rotate(-20deg);pointer-events:none}.gh-eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:900;color:#26734d}.gh-hero h1{font:800 clamp(38px,4.6vw,72px)/1.02 Georgia,serif;letter-spacing:-2.4px;max-width:650px;margin:20px 0}.gh-hero h1 em{color:var(--gh-green);font-style:normal}.gh-hero p{max-width:490px}.gh-actions{display:flex;flex-wrap:wrap;gap:12px;margin:25px 0}.gh-hero-side{border-radius:24px;display:flex;flex-direction:column;justify-content:end;min-height:455px;padding:35px;background:linear-gradient(160deg,#b7a7ce,#efb7aa 55%,#5c836b);color:#fff;position:relative;overflow:hidden}.gh-hero-side:before{content:'☀';font-size:190px;opacity:.22;position:absolute;top:0;right:10px}.gh-hero-side h2{font:700 43px/1.06 Georgia,serif;max-width:330px;z-index:1}.gh-hero-side p{z-index:1}.gh-metrics{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 35px}.gh-metric{background:#fff;border:1px solid var(--gh-border);border-radius:15px;padding:16px 23px;flex:1;min-width:160px}.gh-metric strong{font-size:25px;color:var(--gh-green);display:block}.gh-section{margin-top:45px}.gh-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:17px}.gh-section h2{font:700 30px Georgia,serif;margin:0}.gh-cats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.gh-cat{background:#fff;border:1px solid var(--gh-border);border-radius:17px;overflow:hidden;color:var(--gh-ink);box-shadow:0 5px 20px #183d2610;transition:transform .2s}.gh-cat:hover{transform:translateY(-4px);text-decoration:none}.gh-cat img{width:100%;aspect-ratio:1.55;object-fit:cover;display:block}.gh-cat b{display:block;padding:10px 12px;font-size:13px;text-align:center}.gh-content-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.7fr);gap:24px}.gh-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gh-post{background:#fff;border:1px solid var(--gh-border);border-radius:18px;overflow:hidden}.gh-post img{width:100%;aspect-ratio:1.5;object-fit:cover;display:block}.gh-post-body{padding:17px}.gh-post h3{font:700 21px/1.25 Georgia,serif;margin:9px 0}.gh-post h3 a{color:var(--gh-ink)}.gh-post p{font-size:14px;color:#66766e}.gh-tag{font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--gh-orange)}.gh-sidebox{padding:25px;border-radius:20px;background:#e9f4ec;margin-bottom:20px}.gh-sidebox h3{font:700 26px Georgia,serif;margin-top:0}.gh-sidebox a{display:block;padding:8px 0;border-bottom:1px solid #d3e3d8}.gh-newsletter{background:#153c35;color:#fff;border-radius:24px;padding:40px;display:flex;align-items:center;justify-content:space-between;gap:25px}.gh-newsletter h2{font:700 34px Georgia,serif;margin:0}.gh-footer{background:#0a2925;color:#dbece4;margin-top:30px;padding-top:60px}.gh-footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px}.gh-footer h3{color:#fff;font-size:16px}.gh-footer a{display:block;color:#c5e2d5;margin:9px 0;font-size:14px}.gh-footer .gh-brand{color:#fff}.gh-footer .gh-brand small{color:#b9d2c5}.gh-footer-bottom{border-top:1px solid #ffffff2a;margin-top:45px;padding:20px 0;font-size:12px;color:#a8c4b6;display:flex;justify-content:space-between;gap:20px}.gh-article{background:#fff;border-radius:22px;padding:clamp(22px,4vw,60px);max-width:980px;margin:35px auto}.gh-article h1{font:700 clamp(35px,5vw,60px)/1.12 Georgia,serif}.gh-article .gh-featured{width:100%;max-height:540px;object-fit:cover;border-radius:16px}.gh-article-content{font-size:18px;line-height:1.85;overflow-wrap:anywhere}.gh-article-content img{height:auto}.gh-article-content iframe{max-width:100%}.gh-article-content a{color:#00785a;text-decoration:underline}.gh-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gh-ad{border:1px dashed #b8ccc0;background:#f7faf7;border-radius:12px;padding:15px;text-align:center;color:#799084;font-size:12px;margin:24px 0}.gh-mobile-menu{display:none}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{position:static;height:auto;width:auto;clip:auto}.alignwide{max-width:1200px}.alignfull{width:100%}@media(max-width:1100px){.gh-header-row{flex-wrap:wrap;padding:16px 0}.gh-nav{order:3;width:100%;justify-content:center}.gh-search{margin-left:auto}.gh-cats{grid-template-columns:repeat(4,minmax(0,1fr))}.gh-footer-top{grid-template-columns:repeat(2,1fr)}}@media(max-width:740px){.gh-wrap{padding:0 17px}.gh-top{display:none}.gh-header-row{gap:12px}.gh-brand{font-size:24px}.gh-nav{gap:12px;flex-wrap:wrap}.gh-nav a{font-size:12px}.gh-search{order:4;max-width:none;width:100%;flex:auto}.gh-hero{grid-template-columns:1fr}.gh-hero-primary{min-height:350px;padding:40px 26px}.gh-hero-side{min-height:250px}.gh-hero h1{letter-spacing:-1px}.gh-cats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gh-content-grid,.gh-post-grid,.gh-related{grid-template-columns:1fr}.gh-footer-top{grid-template-columns:1fr 1fr;gap:20px}.gh-newsletter{display:block}.gh-footer-bottom{display:block}.gh-section h2{font-size:26px}}
/* v1.0.1: protect homepage article cards against long excerpts and third-party styles. */
.gh-content-grid > *, .gh-post-grid > *, .gh-related > * { min-width:0; }
.gh-post-grid { align-items:stretch; }
.gh-post { min-width:0; max-width:100%; display:flex; flex-direction:column; overflow:hidden; }
.gh-post > a { display:block; flex:0 0 auto; overflow:hidden; }
.gh-post > a img { width:100%; height:auto; aspect-ratio:1.5; object-fit:cover; display:block; }
.gh-post .gh-post-body { min-width:0; width:100%; flex:1; display:flex; flex-direction:column; padding:17px; overflow:hidden; }
.gh-post .gh-post-body h3 { overflow-wrap:anywhere; word-break:normal; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; }
.gh-post .gh-post-body p { margin:10px 0 15px; max-width:100%; overflow-wrap:anywhere; word-break:normal; display:-webkit-box !important; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden !important; line-height:1.6; max-height:4.8em; }
.gh-post .gh-post-body small { margin-top:auto; display:block; }
.gh-post .gh-post-body * { max-width:100%; }
@media (min-width:741px) and (max-width:1100px) { .gh-content-grid { grid-template-columns:minmax(0,1fr); } .gh-post-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:740px) { .gh-post-grid { grid-template-columns:1fr; } }
