/*
Theme Name: HeightCompare Studio
Description: A focused, responsive theme built for HeightCompare tools and source-backed guides.
Version: 1.0.6
Requires at least: 6.5
Requires PHP: 8.1
Author: HeightCompare
License: GPL-2.0-or-later
Text Domain: heightcompare-studio
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--bg:#f6f7f9;--paper:#fff;--ink:#27362f;--muted:#7d8982;--line:#e5eae6;--accent:#405fe8;--green:#28694e;--soft:#eef2fd}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 'DM Sans',Arial,sans-serif}a{color:var(--green);text-underline-offset:4px}button,input,select{font:inherit}h1,h2,h3,h4{font-family:Manrope,Arial,sans-serif;line-height:1.2;letter-spacing:-.035em;color:var(--ink)}h1{font-size:clamp(30px,4vw,48px);font-weight:800}h2{font-size:28px}h3{font-size:20px}p{margin:0 0 20px}img{max-width:100%;height:auto}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #7e97ec;outline-offset:5px}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.skip-link:focus{clip:auto;clip-path:none;width:auto;height:auto;left:15px;top:10px;padding:10px 18px;background:white;z-index:99999}.hc-header{background:white;border-bottom:1px solid var(--line)}.hc-header-inner{max-width:1560px;margin:auto;min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 30px}.hc-logo{display:flex;flex-shrink:0}.hc-logo img{display:block;width:235px;height:auto}.hc-nav{display:flex;align-items:center;gap:7px}.hc-nav>a,.hc-guides>summary{display:block;padding:10px 16px;font-size:13px;font-weight:600;text-decoration:none;color:#748077;border-radius:9px;white-space:nowrap}.hc-nav>a:hover,.hc-nav>a[aria-current=page],.hc-guides>summary:hover{background:var(--soft);color:var(--accent)}.hc-nav>a.hc-nav-library{border:1px solid var(--line);margin-left:8px;color:var(--ink)}.hc-guides{position:relative}.hc-guides>summary{cursor:pointer;list-style:none}.hc-guides>summary::-webkit-details-marker{display:none}.hc-guides>summary::after{content:'⌄';margin-left:7px}.hc-guides-menu{position:absolute;top:calc(100% + 12px);right:0;min-width:280px;padding:10px;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 40px #243b2815;z-index:30}.hc-guides-menu a{display:block;color:#5a6c60;padding:10px 12px;font-size:13px;text-decoration:none;border-radius:7px}.hc-guides-menu a:hover{background:#f1f5f2}.hc-menu-toggle{display:none;align-items:center;gap:8px;border:1px solid var(--line);border-radius:9px;background:white;padding:9px 12px;font-size:12px;font-weight:700;color:var(--ink)}.hc-main{max-width:1560px;margin:auto;padding:24px 30px 60px}.hc-studio-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:0 3px}.hc-studio-bar h1{font-size:14px;letter-spacing:0;margin:0;font-weight:700}.hc-studio-bar h1 span{display:inline-block;width:7px;height:7px;margin:0 9px 1px 0;background:#79a38c;border-radius:50%}.hc-local-note{color:var(--muted);font-size:11px}.hc-local-note:before{content:'◈';margin-right:7px}.hc-page-intro{padding:16px 2px 24px;max-width:900px}.hc-eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.19em;color:#83917e;margin:0 0 12px}.hc-page-intro h1{margin:0 0 14px}.hc-page-intro p{font-size:16px;color:#7a887e;max-width:720px;margin:0}.hc-content>.heightcompare-embed{margin-top:0}.heightcompare-embed{width:100%;max-width:none;margin:0 0 40px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:white;box-shadow:0 5px 26px #243b2804}.heightcompare-embed iframe{display:block;width:100%;border:0;border-radius:17px!important}.hc-content>.heightcompare-embed~p{max-width:900px}.hc-tool-page .hc-content>p:first-child{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.seo-content{max-width:1140px;margin:40px auto;background:white;border:1px solid var(--line);border-radius:20px;padding:45px;color:#617066}.seo-content>h2:first-child{margin-top:0}.seo-content h2,.seo-content h3{color:var(--ink)}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}.guide-grid>div{border:1px solid #e9eee7;background:#f7f9f5;border-radius:14px;padding:24px}.guide-grid h3{margin-top:0}.hc-content details:not(.hc-guides){padding:18px 0;border-top:1px solid var(--line)}.hc-content details summary{cursor:pointer;font-weight:600;color:#3e5546}.hc-content details p{margin:16px 0 0}.hc-content li{margin:8px 0}.hc-content code{font-size:.85em;background:#edf3ee;padding:3px 6px;border-radius:5px;overflow-wrap:anywhere}.hc-guide-page .hc-main{max-width:1140px}.hc-guide-page .hc-content{background:white;border:1px solid var(--line);border-radius:18px;padding:40px;color:#617066}.hc-guide-page .hc-content>h2{margin-top:32px}.hc-guide-page .hc-content>p:first-child{font-size:18px;line-height:1.7;color:#4e6357}.hc-guide-page .hc-page-intro{padding-bottom:32px}.hc-content nav[aria-label='HeightCompare tools and guides']{max-width:1140px;margin:38px auto 0;padding-top:30px;border-top:1px solid var(--line)}.hc-content nav[aria-label='HeightCompare tools and guides']:before{content:'MORE WAYS TO FIND PERSPECTIVE';display:block;font-size:10px;letter-spacing:.16em;font-weight:700;color:#83917e;margin-bottom:18px}.hc-content nav[aria-label='HeightCompare tools and guides'] ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hc-content nav[aria-label='HeightCompare tools and guides'] li{margin:0}.hc-content nav[aria-label='HeightCompare tools and guides'] a{display:flex;align-items:center;height:100%;min-height:74px;background:white;padding:16px;border:1px solid var(--line);border-radius:12px;font-size:12px;font-weight:600;line-height:1.45;text-decoration:none;color:#526b5a}.hc-content nav[aria-label='HeightCompare tools and guides'] a:hover{background:#edf3ee;border-color:#9ab29d}.hc-footer{border-top:1px solid var(--line);background:white;padding:40px 30px 24px}.hc-footer-inner{max-width:1500px;margin:auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.hc-footer-brand img{width:220px}.hc-footer-brand p{font-size:13px;color:#849087;max-width:310px;margin:14px 0}.hc-footer h2{font:700 10px 'DM Sans',Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#85917f;margin:7px 0 16px}.hc-footer ul{list-style:none;margin:0;padding:0}.hc-footer li{margin:9px 0}.hc-footer a{color:#617268;text-decoration:none;font-size:12px}.hc-footer a:hover{color:var(--accent)}.hc-footer-bottom{max-width:1500px;margin:28px auto 0;border-top:1px solid #edf0ec;padding-top:18px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#96a095}.hc-article-card{padding:28px;background:white;border:1px solid var(--line);border-radius:15px;margin:20px 0}.hc-article-card h2{margin-top:0}.hc-empty{padding:50px;max-width:800px;margin:30px auto;background:white;border:1px solid var(--line);border-radius:18px}
@media(min-width:1800px){.hc-main,.hc-header-inner{max-width:1700px}}
@media(max-width:980px){.hc-header-inner{padding-inline:22px}.hc-logo img{width:210px}.hc-nav>a,.hc-guides>summary{padding:9px 11px;font-size:12px}.hc-main{padding-inline:20px}.hc-content nav[aria-label='HeightCompare tools and guides'] ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.hc-header-inner{min-height:68px;flex-wrap:wrap;padding:13px 16px;gap:0}.hc-logo img{width:196px}.hc-menu-toggle{display:flex}.hc-nav{display:none;width:100%;padding:18px 0 4px;align-items:stretch;flex-direction:column;gap:5px}.hc-nav.is-open{display:flex}.hc-nav>a,.hc-guides>summary{padding:13px 15px;font-size:14px}.hc-nav>a.hc-nav-library{margin-left:0}.hc-guides-menu{position:static;box-shadow:none;min-width:0;margin:5px 0 10px;background:#f8faf6}.hc-main{padding:18px 12px 35px}.hc-studio-bar{margin-bottom:14px;align-items:flex-start}.hc-studio-bar h1{font-size:12px}.hc-local-note{font-size:9px;max-width:116px;text-align:right;line-height:1.5}.hc-page-intro{padding:6px 5px 24px}.hc-page-intro h1{font-size:31px;line-height:1.2}.hc-page-intro p{font-size:14px}.heightcompare-embed{border-radius:14px;margin-bottom:28px}.heightcompare-embed iframe{border-radius:13px!important}.seo-content{padding:24px 20px;border-radius:15px;margin:28px 0;font-size:14px}h2{font-size:24px}h3{font-size:19px}.guide-grid{grid-template-columns:1fr;gap:14px;margin:22px 0}.guide-grid>div{padding:20px}.hc-guide-page .hc-content{padding:24px 20px}.hc-guide-page .hc-content>p:first-child{font-size:16px}.hc-content nav[aria-label='HeightCompare tools and guides'] a{padding:12px;min-height:70px;font-size:11px}.hc-footer{padding:30px 20px 20px}.hc-footer-inner{grid-template-columns:1fr 1fr;gap:25px}.hc-footer-brand{grid-column:1/-1}.hc-footer-brand p{max-width:100%;margin-bottom:0}.hc-footer-bottom{display:block;font-size:10px}.hc-footer-bottom span{display:block;margin-top:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.hc-story .hc-page-intro{max-width:1000px}.hc-story-content>p,.hc-story-content>h2,.hc-story-content>ul,.hc-story-content>nav{max-width:900px;margin-left:auto;margin-right:auto}.hc-tool-page .hc-story-content>p:first-child{position:static;clip:auto;clip-path:none;width:auto;height:auto;overflow:visible;font-size:18px}.hc-story-content>.heightcompare-embed{margin-top:30px}.hc-source-table{background:white;border:1px solid var(--line);border-radius:14px;padding:16px;max-width:100%}.hc-story-content nav{margin-top:40px;padding-top:24px;border-top:1px solid var(--line)}@media(max-width:760px){.hc-tool-page .hc-story-content>p:first-child{font-size:16px}.hc-source-table{padding:8px}.hc-story-content>p,.hc-story-content>h2,.hc-story-content>nav{padding-inline:6px}}

.hc-tool-description-heading{margin:36px 0 20px}.hc-tool-description-heading h1{font-size:clamp(27px,3vw,38px);line-height:1.2}.hc-tool-page .hc-content>.hcu:first-child,.hc-tool-page .hc-content>.hcscale:first-child{margin-top:0}

.hc-guides-menu{max-height:70vh;overflow-y:auto}.hc-tool-page .hc-content>.hcr:first-child{margin-top:0}

.hc-tool-page .hc-content>.hcbc:first-child{margin-top:0}
