/*
Theme Name: Gym at Home Journal
Theme URI: https://gymathome.net/
Author: Gym at Home
Description: An editorial fitness blog theme with a fast, accessible, responsive layout.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: gym-at-home
License: GPL-2.0-or-later
*/
:root{--ink:#172322;--muted:#60706a;--paper:#fcfaf5;--cream:#f3f0e7;--line:#d9dfd8;--green:#234a3a;--lime:#dcf27e;--orange:#ed714f;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}button,input{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.wrap{width:min(calc(100% - 48px),var(--max));margin-inline:auto}.skip-link{position:absolute;top:-80px;left:16px;padding:10px;background:white;z-index:100}.skip-link:focus{top:8px}.site-header{border-bottom:1px solid var(--line);background:var(--paper)}.header-inner{min-height:92px;display:flex;align-items:center;gap:38px}.brand{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:-.065em;font-size:29px;line-height:1}.brand-mark{background:var(--green);color:var(--lime);width:39px;height:39px;display:grid;place-items:center;border-radius:50%;font-size:24px;letter-spacing:0}.brand small{display:block;letter-spacing:.2em;font:700 9px/1.5 system-ui;color:var(--orange);text-transform:uppercase}.primary-nav{margin-left:auto}.primary-nav ul,.footer-nav ul{display:flex;gap:28px;list-style:none;padding:0;margin:0}.primary-nav a{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.header-actions{display:flex;align-items:center;gap:12px}.search-toggle,.menu-toggle{border:0;background:transparent;padding:10px;font-size:20px}.menu-toggle{display:none}.search-panel{border-top:1px solid var(--line);padding:16px 0}.search-panel[hidden]{display:none}.search-form{display:flex;max-width:560px;gap:8px}.search-form label{flex:1}.search-form input{width:100%;padding:12px;border:1px solid #aebdb3;border-radius:4px;background:white}.search-form button,.pill-button{border:0;background:var(--green);color:white;padding:11px 20px;border-radius:100px;font-weight:800}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:var(--orange)}.intro{padding:45px 0 31px;display:flex;align-items:end;justify-content:space-between;gap:25px}.intro h1{margin:5px 0 0;font:800 clamp(42px,6vw,76px)/.98 Georgia,serif;letter-spacing:-.055em}.intro p{max-width:320px;margin:0;color:var(--muted);font-size:15px}.hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.9fr);gap:28px;padding-bottom:56px}.hero-feature{position:relative;min-height:505px;background:var(--green);overflow:hidden;border-radius:7px;display:flex;align-items:end}.hero-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-feature:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(7,24,19,.92))}.hero-copy{position:relative;z-index:1;color:white;padding:35px;max-width:670px}.hero-copy h2{font:700 clamp(34px,4vw,56px)/1.06 Georgia,serif;letter-spacing:-.04em;margin:10px 0}.hero-copy .meta{color:#e0e9df}.hero-side{display:flex;flex-direction:column;gap:23px}.side-story{display:grid;grid-template-columns:42% 1fr;gap:17px;border-bottom:1px solid var(--line);padding-bottom:23px;min-height:142px}.side-story:last-child{border:0}.side-story img{width:100%;height:125px;object-fit:cover;border-radius:4px}.side-story h3{font:700 21px/1.18 Georgia,serif;margin:7px 0}.meta{font-size:12px;color:var(--muted);font-weight:600}.section-heading{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--ink);padding-bottom:12px;margin-bottom:25px}.section-heading h2{font:700 clamp(29px,3vw,42px)/1 Georgia,serif;letter-spacing:-.04em;margin:0}.section-heading a{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.section{padding:25px 0 55px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.card-image{display:block;aspect-ratio:1.45;background:var(--cream);overflow:hidden;border-radius:5px}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.card-image:hover img{transform:scale(1.04)}.card .eyebrow{margin-top:17px}.card h3{font:700 25px/1.18 Georgia,serif;letter-spacing:-.025em;margin:8px 0 10px}.card p{color:var(--muted);font-size:14px;margin:0 0 8px}.topic-band{background:var(--green);color:white;padding:34px 0;margin:20px 0 44px}.topic-inner{display:flex;align-items:center;gap:28px}.topic-inner h2{margin:0 25px 0 0;font:700 27px Georgia,serif}.topic-list{display:flex;flex-wrap:wrap;gap:10px}.topic-list a{border:1px solid #719080;border-radius:100px;padding:7px 16px;font-size:13px;font-weight:700}.topic-list a:hover{background:var(--lime);color:var(--green);text-decoration:none}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:65px;padding:45px 0 85px}.article-header h1,.archive-header h1{font:700 clamp(40px,5vw,68px)/1.07 Georgia,serif;letter-spacing:-.05em;margin:10px 0 18px}.article-header .excerpt{font-size:20px;color:var(--muted)}.article-figure img{width:100%;height:auto;border-radius:5px}.entry-content{font-size:18px;line-height:1.85;overflow-wrap:break-word}.entry-content h2,.entry-content h3{font-family:Georgia,serif;line-height:1.2}.entry-content a{color:var(--green);text-decoration:underline}.entry-content img{height:auto}.entry-content blockquote{border-left:4px solid var(--orange);padding-left:22px;margin-left:0;font-family:Georgia,serif}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb a{text-decoration:underline}.sidebar-box{background:var(--cream);padding:25px;border-radius:5px;margin-bottom:20px}.sidebar-box h2{font:700 25px Georgia,serif;margin:0 0 12px}.sidebar-box p{font-size:14px;color:var(--muted)}.sidebar-box ul{padding-left:20px}.post-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.pagination{margin-top:42px}.pagination .page-numbers{display:inline-block;padding:8px 13px;border:1px solid var(--line);border-radius:4px;margin:3px}.pagination .current{background:var(--green);color:white}.author-box{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:35px 0}.comments-area{margin-top:45px}.comments-area input,.comments-area textarea{max-width:100%;border:1px solid var(--line);padding:10px}.site-footer{background:#142d24;color:#e9f1e8;padding:52px 0 30px}.footer-grid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.footer-grid p{max-width:370px;color:#aabeb1;font-size:14px}.footer-nav ul{flex-wrap:wrap}.copyright{border-top:1px solid #466052;margin-top:35px;padding-top:20px;color:#aabeb1;font-size:12px}.placeholder{width:100%;height:100%;min-height:180px;background:linear-gradient(135deg,#bcd1a1,#477662);display:grid;place-items:center;color:#fff;font:700 24px Georgia,serif}.hero-feature .placeholder{position:absolute;inset:0}.hero-feature .placeholder span{opacity:.55}.alignwide{max-width:1100px;margin-inline:auto}.alignfull{width:100vw;max-width:none;margin-left:calc(50% - 50vw)}@media(max-width:980px){.header-inner{flex-wrap:wrap;min-height:75px}.menu-toggle{display:block;margin-left:auto}.primary-nav{display:none;order:3;width:100%;margin:0 0 18px}.primary-nav.is-open{display:block}.primary-nav ul{display:flex;flex-direction:column;gap:12px}.hero{grid-template-columns:1fr}.hero-side{display:grid;grid-template-columns:repeat(3,1fr)}.side-story{display:block}.side-story img{height:125px}.content-layout{gap:30px}}@media(max-width:700px){.wrap{width:min(calc(100% - 32px),var(--max))}.intro{display:block;padding-top:34px}.intro p{margin-top:16px}.hero-feature{min-height:440px}.hero-copy{padding:22px}.hero-side,.grid,.post-list{grid-template-columns:1fr}.side-story{display:grid;grid-template-columns:36% 1fr;min-height:0}.side-story img{height:110px}.topic-inner{display:block}.topic-inner h2{margin-bottom:18px}.content-layout{grid-template-columns:1fr}.sidebar{border-top:1px solid var(--line);padding-top:20px}.footer-grid{display:block}.section{padding-bottom:35px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card-image img{transition:none}}

.topic-band{width:100vw;margin-left:calc(50% - 50vw)}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.screen-reader-text:focus{clip:auto;clip-path:none;height:auto;width:auto;padding:10px;background:white;z-index:100}
/* Widget areas */
.custom-logo-link{display:inline-flex;align-items:center;flex-shrink:0}.custom-logo{display:block;width:auto;max-width:230px;max-height:66px}.sidebar .widget{background:var(--cream);padding:25px;border-radius:5px;margin-bottom:20px}.sidebar .widget-title{font:700 25px Georgia,serif;margin:0 0 12px}.sidebar .widget p{font-size:14px;color:var(--muted)}.sidebar .widget ul{padding-left:20px}.home-widget-area{padding:0 0 48px}.home-widget-area>.widget{margin-bottom:22px}.home-widget-area img{height:auto}.home-widget-area .wp-block-columns{gap:28px}.intro>.widget{width:100%}.intro>.widget h1,.intro>.widget h2{font:800 clamp(42px,6vw,76px)/.98 Georgia,serif;letter-spacing:-.055em;margin:5px 0}.intro>.widget p{max-width:650px}.topic-inner>.widget{width:100%}.topic-inner .widget-title{font:700 27px Georgia,serif;margin:0 0 14px}.topic-inner a{color:inherit}.topic-inner .wp-block-categories-list{display:flex;gap:10px;flex-wrap:wrap;list-style:none;padding:0;margin:0}.topic-inner .wp-block-categories-list a{display:inline-block;border:1px solid #719080;border-radius:100px;padding:7px 16px;font-size:13px;font-weight:700}.footer-column{flex:1;min-width:210px;max-width:400px}.site-footer .widget{margin-bottom:22px}.site-footer .widget-title{font:700 23px Georgia,serif;margin:0 0 10px}.site-footer a{color:inherit}.site-footer ul{padding-left:18px}.site-footer .wp-block-social-links{padding:0}.site-footer .wp-block-social-link a{color:inherit}@media(max-width:700px){.custom-logo{max-width:180px;max-height:55px}.footer-column{margin-bottom:25px}}
