/*
Theme Name: RHH Light
Theme URI: https://renewableheatinghub.co.uk/
Author: Renewable Heating Hub
Description: A standalone, category-driven editorial theme with AdRotate placements, installer finder integration and a dedicated wpForo layout. No PenNews or page-builder dependency.
Version: 0.1.6
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhh-light
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root{--rhh-green:#2b594e;--rhh-dark:#183c33;--rhh-ink:#202b28;--rhh-muted:#626d68;--rhh-bg:#f0f2ef;--rhh-line:#dce3dd;--rhh-white:#fff;--rhh-serif:Georgia,"Times New Roman",serif;--rhh-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--rhh-gap:24px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--rhh-bg);color:var(--rhh-ink);font:1rem/1.7 var(--rhh-sans);overflow-wrap:break-word}
img{max-width:100%;height:auto;vertical-align:middle}
iframe,video{max-width:100%}
a{color:var(--rhh-green);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--rhh-dark)}
button,input,select,textarea{font:inherit}
button,input[type=submit],.rhh-button{cursor:pointer}
button,input[type=submit]{border:1px solid var(--rhh-green);border-radius:3px;background:var(--rhh-green);color:#fff;padding:.65rem 1rem;font-weight:600}
input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea{border:1px solid #a9b6af;border-radius:3px;padding:.65rem .75rem;max-width:100%;background:#fff;color:var(--rhh-ink)}
select{appearance:none;padding-right:2.4rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%232b594e' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .8rem center}
:focus-visible{outline:3px solid #c57925;outline-offset:4px}
h1,h2,h3,h4,h5,h6{font-family:var(--rhh-serif);color:var(--rhh-ink);line-height:1.2;margin:0 0 1rem}
h1{font-size:clamp(2rem,3.1vw,2.65rem)}
h2{font-size:clamp(1.5rem,2.2vw,2rem)}
h3{font-size:1.4rem}
p{margin:0 0 1.2rem}
figure{margin:0 0 1.5rem}
.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!important;width:1px;white-space:nowrap!important}
.skip-link:focus{clip:auto!important;clip-path:none;display:block;left:16px;top:16px;width:auto;height:auto;padding:12px 20px;z-index:100000;background:#fff;color:var(--rhh-dark);font-weight:700}
.rhh-header{background:#fff;border-bottom:1px solid var(--rhh-line)}
.rhh-header-inner{width:min(100% - 48px,1380px);min-height:96px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:32px}
.rhh-brand{flex:0 0 auto;line-height:1}
.rhh-brand img{width:244px;max-height:74px;object-fit:contain}
.rhh-brand a{display:inline-block}
.rhh-nav{display:flex;align-items:center;gap:24px}
.rhh-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:26px}
.rhh-menu li{position:relative;margin:0}
.rhh-menu a{display:block;padding:16px 0;color:var(--rhh-ink);text-decoration:none;font-size:.875rem;font-weight:600;line-height:1.4}
.rhh-nav>.rhh-menu>li>a{text-transform:uppercase;letter-spacing:.02em}
.rhh-menu a:hover,.rhh-menu .current-menu-item>a{color:var(--rhh-green);text-decoration:underline}
.rhh-menu .sub-menu{display:none;position:absolute;z-index:50;top:100%;left:-16px;min-width:220px;max-width:280px;list-style:none;margin:0;padding:8px 16px;background:#fff;box-shadow:0 8px 24px #183c3320;border:1px solid var(--rhh-line)}
.rhh-menu .sub-menu a{padding:12px 0}
.rhh-menu .sub-menu[hidden]{display:none!important}
.rhh-menu li:hover>.sub-menu,.rhh-menu li:focus-within>.sub-menu,.rhh-menu li.rhh-submenu-open>.sub-menu{display:block}
.rhh-menu .sub-menu .sub-menu{left:100%;top:0}
.rhh-submenu-toggle{padding:6px;margin-left:4px;min-width:26px;min-height:32px;border:0;background:transparent;color:var(--rhh-green);vertical-align:middle;line-height:1}
.rhh-submenu-toggle::after{content:"";display:inline-block;width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:translateY(-2px) rotate(45deg)}
.rhh-menu li:has(>.rhh-submenu-toggle)>a{display:inline-block}
.rhh-menu-toggle{display:none;align-items:center;gap:10px;padding:10px 12px;font-size:.875rem}
.rhh-menu-icon{display:inline-block;width:18px;height:13px;border-block:2px solid;position:relative}
.rhh-menu-icon::after{content:"";position:absolute;top:4px;left:0;width:100%;border-top:2px solid}
.rhh-search{position:relative}
.rhh-search summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:46px;height:46px;background:var(--rhh-green);color:#fff;border-radius:2px}
.rhh-search summary::-webkit-details-marker{display:none}
.rhh-search-panel{position:absolute;right:0;top:calc(100% + 14px);width:min(360px,90vw);padding:16px;background:#fff;z-index:60;box-shadow:0 8px 24px #183c3320;border:1px solid var(--rhh-line)}
.rhh-search-form{display:flex;flex-direction:column;gap:12px;width:100%}
.rhh-search-input-row{display:flex;gap:8px;width:100%}
.rhh-search-form input{min-width:0;flex:1}
.rhh-search-form button{font-size:.875rem;flex:0 0 auto}
.rhh-layout{width:min(100% - 48px,1380px);margin:32px auto 48px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:var(--rhh-gap);align-items:start}
.rhh-layout--home{grid-template-columns:minmax(0,1fr) 340px}
.rhh-layout--forum{grid-template-columns:minmax(0,1fr) 320px}
.rhh-layout--full{grid-template-columns:minmax(0,1fr)}
.rhh-main-column{min-width:0;display:flex;flex-direction:column;gap:var(--rhh-gap)}
.rhh-panel{background:#fff;padding:26px;border:1px solid #e2e7e2;border-radius:8px}
.rhh-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:22px}
.rhh-section-heading h2,.rhh-section-heading h3,.rhh-widget-title{position:relative;font:700 1.45rem/1.2 var(--rhh-serif);text-transform:uppercase;margin:0;padding-bottom:14px}
.rhh-section-heading h2::after,.rhh-section-heading h3::after,.rhh-widget-title::after{content:"";position:absolute;left:0;bottom:0;width:36px;border-bottom:2px solid var(--rhh-green)}
.rhh-view-all{flex-shrink:0;font-size:.875rem;text-decoration:none;font-weight:600}
.rhh-feature-grid{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;min-height:420px}
.rhh-card{min-width:0;margin:0;position:relative}
.rhh-card-image{display:block;overflow:hidden;background:#e1e7e2;aspect-ratio:3/2;border-radius:5px}
.rhh-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.rhh-card-title{margin:14px 0 8px;font-size:1.2rem;line-height:1.25}
.rhh-card-title a{color:inherit;text-decoration:none}
.rhh-card-title a:hover{text-decoration:underline}
.rhh-card-date{font-size:.875rem;color:var(--rhh-muted);line-height:1.4;margin:0}
.rhh-card--feature{background:var(--rhh-dark);min-height:205px;overflow:hidden;border-radius:6px}
.rhh-card--feature:first-child{grid-row:1/3}
.rhh-card--feature .rhh-card-image{position:absolute;inset:0;aspect-ratio:auto}
.rhh-card--feature .rhh-card-image::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,#071a12e8)}
.rhh-card--feature .rhh-card-copy{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-height:205px;padding:20px;pointer-events:none}
.rhh-card--feature:first-child .rhh-card-copy{min-height:420px}
.rhh-card--feature .rhh-card-title{font-size:1.15rem;color:#fff;margin:0 0 8px}
.rhh-card--feature:first-child .rhh-card-title{font-size:clamp(1.3rem,2.1vw,1.85rem)}
.rhh-card--feature .rhh-card-title a{pointer-events:auto}
.rhh-card--feature .rhh-card-title a::after{content:"";position:absolute;inset:0}
.rhh-card--feature .rhh-card-date{color:#fff;font-size:.8rem}
.rhh-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 22px}
.rhh-home-section--reviews .rhh-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.rhh-home-section--reviews .rhh-card-title{font-size:1.12rem}
.rhh-sidebar{min-width:0;display:flex;flex-direction:column;gap:20px}
.rhh-widget{background:#fff;padding:22px;min-width:0;border:1px solid #e2e7e2;border-radius:8px}
.rhh-widget-title{font-size:1.35rem;margin:0 0 18px}
.rhh-widget p:last-child{margin-bottom:0}
.rhh-widget .rhh-widget{padding:0}
.rhh-widget .rhh-section-heading h2{font-size:1.35rem}
.rhh-small-posts{display:flex;flex-direction:column;gap:16px}
.rhh-card--small{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:start}
.rhh-card--small:not(:has(.rhh-card-image)){grid-template-columns:1fr}
.rhh-card--small .rhh-card-title{font:600 .95rem/1.4 var(--rhh-sans);margin:0}
.rhh-card--small .rhh-card-image{aspect-ratio:4/3}
.rhh-latest .rhh-card-title{font:700 1rem/1.3 var(--rhh-serif)}
.rhh-card--sidebar-news{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:start}
.rhh-card--sidebar-news:not(:has(.rhh-card-image)){grid-template-columns:1fr}
.rhh-card--sidebar-news .rhh-card-image{aspect-ratio:3/2}
.rhh-card--sidebar-news .rhh-card-title{font-size:1rem;line-height:1.25;margin:0 0 5px}
.rhh-card--sidebar-news .rhh-card-date{font-size:.875rem}
.rhh-card--sidebar-lead .rhh-card-title{font-size:1.2rem;margin:10px 0 6px}
.rhh-ad{text-align:center;min-width:0}
.rhh-ad img{max-width:100%;height:auto}
.rhh-ad .g,.rhh-ad .g-single,.rhh-ad .a-single{max-width:100%}
.rhh-ad a{display:inline-block;max-width:100%}
.rhh-ad iframe{display:block;margin-inline:auto;max-width:100%}
.rhh-ad .rhh-widget{text-align:left}
.rhh-ad .rhh-widget-title{text-align:left}
.rhh-ad--header{width:min(100% - 48px,1380px);margin:24px auto}
.rhh-ad--forum_top,.rhh-ad--forum_bottom,.rhh-ad--home_inline,.rhh-ad--home_bottom{padding:16px;background:#fff;border-radius:6px}
.rhh-ad--article_top,.rhh-ad--article_bottom{margin:24px 0}
.rhh-installer{min-width:0;overflow:hidden}
.rhh-installer-frame{display:block;width:100%;border:0;overflow:hidden;background:transparent}
.rhh-installer--horizontal .rhh-installer-frame{min-height:110px}
.rhh-installer--sidebar .rhh-installer-frame{min-height:300px}
.rhh-cartoon img{width:100%;height:auto}
.rhh-text-link{display:inline-block;margin-top:16px;font-size:.875rem;font-weight:600}
.rhh-video{position:relative;aspect-ratio:16/9;background:#183c33;overflow:hidden}
.rhh-video-play{display:block;position:relative;width:100%;height:100%;color:#fff}
.rhh-video-play img{width:100%;height:100%;object-fit:cover}
.rhh-video-play::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#0009)}
.rhh-video-play span{position:absolute;bottom:14px;left:14px;z-index:1;font-weight:700;font-size:.95rem}
.rhh-video-play span::before{content:"▶";margin-right:8px}
.rhh-video iframe{border:0;width:100%;height:100%}
.rhh-promos{display:grid;grid-template-columns:1fr 1fr;gap:0;overflow:hidden;border-radius:4px}
.rhh-promo{padding:30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.rhh-promo--book{background:var(--rhh-dark);color:#fff;display:grid;grid-template-columns:100px minmax(0,1fr);gap:22px}
.rhh-promo h2{font-size:1.65rem;line-height:1.15;margin:0 0 14px}
.rhh-promo--book h2{color:#fff}
.rhh-promo p{font-size:.95rem;line-height:1.6}
.rhh-promo .rhh-kicker{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
.rhh-book-cover{width:100%;height:auto;max-height:220px;object-fit:contain;filter:drop-shadow(5px 8px 8px #0004)}
.rhh-promo--course{background:#e1ece3;color:var(--rhh-dark)}
.rhh-button{display:inline-block;background:var(--rhh-green);color:#fff;font-size:.875rem;font-weight:700;text-decoration:none;padding:11px 17px;border:1px solid transparent;border-radius:3px}
.rhh-button:hover{background:#102e25;color:#fff}
.rhh-button--light{background:#fff;color:var(--rhh-dark)}
.rhh-button--light:hover{background:#e1ece3;color:var(--rhh-dark)}
.rhh-article{padding:34px 38px}
.rhh-article-header{text-align:center;margin-bottom:28px}
.rhh-article-header h1{margin:8px auto 16px;max-width:28ch}
.rhh-meta,.rhh-breadcrumb{font-size:.875rem;line-height:1.6;color:var(--rhh-muted);margin-bottom:10px}
.rhh-meta a,.rhh-breadcrumb a{color:inherit;text-decoration:none}
.rhh-meta span{padding:0 8px}
.rhh-breadcrumb{text-align:left}
.rhh-article-image img{display:block;width:100%;height:auto}
figcaption,.wp-caption-text{font-size:.875rem;line-height:1.5;color:var(--rhh-muted);margin-top:8px}
@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/roboto-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:Roboto;font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/roboto-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:Roboto;font-style:italic;font-weight:400;font-display:swap;src:url("assets/fonts/roboto-latin-400-italic.woff2") format("woff2")}
@font-face{font-family:Roboto;font-style:italic;font-weight:700;font-display:swap;src:url("assets/fonts/roboto-latin-700-italic.woff2") format("woff2")}
.rhh-entry-content{font-size:1.0625rem;line-height:1.85}
.single-post .rhh-entry-content{font-family:Roboto,sans-serif;font-size:15px;line-height:1.7}
.rhh-entry-content>*:last-child{margin-bottom:0}
.rhh-entry-content h2,.rhh-entry-content h3,.rhh-entry-content h4{margin:1.75em 0 .65em;line-height:1.3}
.rhh-entry-content a{text-decoration:underline}
.rhh-entry-content ul,.rhh-entry-content ol{padding-left:1.5em}
.rhh-entry-content li{margin-bottom:.6em}
.rhh-entry-content blockquote{margin:28px 0;padding:8px 0 8px 24px;border-left:3px solid var(--rhh-green);font:italic 1.25rem/1.65 var(--rhh-serif)}
.rhh-entry-content table{border-collapse:collapse;width:100%;font-size:.95rem}
.rhh-entry-content td,.rhh-entry-content th{padding:12px;text-align:left;border:1px solid var(--rhh-line)}
.rhh-entry-content th{background:#edf3ee}
.rhh-entry-content .wp-block-table{overflow-x:auto}
.rhh-entry-content pre{white-space:pre-wrap;overflow:auto;background:#edf3ee;padding:18px}
.rhh-entry-content .alignwide{max-width:none}
.rhh-entry-content .alignleft{float:left;margin:0 20px 20px 0}
.rhh-entry-content .alignright{float:right;margin:0 0 20px 20px}
.rhh-entry-content .aligncenter{display:block;margin-inline:auto}
.rhh-entry-content::after{content:"";display:table;clear:both}
.rhh-post-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.rhh-post-tags a{padding:4px 9px;background:#edf3ee;font-size:.8rem;text-decoration:none}
.post-navigation{margin:0;padding:0}
.nav-links{display:flex;justify-content:space-between;gap:24px}
.nav-links>div{max-width:48%;font-family:var(--rhh-serif);line-height:1.5}
.nav-links a{text-decoration:none}
.post-navigation .nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.post-navigation .nav-links>div{max-width:none;min-width:0}
.post-navigation .nav-next{grid-column:2}
.post-navigation a{display:flex;align-items:center;gap:14px;height:100%;padding:18px;background:#fff;border:1px solid var(--rhh-line);border-radius:8px;color:var(--rhh-ink);transition:border-color .16s ease,box-shadow .16s ease}
.post-navigation a:hover{border-color:var(--rhh-green);box-shadow:0 3px 12px #183c330b}
.rhh-adjacent-thumb{display:block;flex:0 0 82px;width:82px;height:66px;overflow:hidden;border-radius:4px;background:#edf3ee}
.rhh-adjacent-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.rhh-adjacent-copy{display:block;min-width:0}
.rhh-adjacent-label{display:block;font:700 .75rem/1.4 var(--rhh-sans);text-transform:uppercase;letter-spacing:.04em;color:var(--rhh-muted);margin-bottom:5px}
.rhh-adjacent-title{display:block;font:700 1.05rem/1.3 var(--rhh-serif)}
.rhh-archive-header{margin-bottom:24px}
.rhh-archive-header h1{font-size:2.3rem}
.rhh-archive-description{color:var(--rhh-muted)}
.rhh-post-list{display:flex;flex-direction:column;gap:24px}
.rhh-card--list{display:grid;grid-template-columns:34% minmax(0,1fr);gap:22px;padding-bottom:24px;border-bottom:1px solid var(--rhh-line)}
.rhh-card--list:not(:has(.rhh-card-image)){grid-template-columns:1fr}
.rhh-card--list .rhh-card-title{margin:0 0 10px;font-size:1.5rem}
.rhh-card-excerpt{font-size:1rem;line-height:1.7;margin:12px 0 0;color:#59655e}
.pagination{margin-top:30px}
.pagination .nav-links{justify-content:center;gap:8px;flex-wrap:wrap}
.page-numbers{padding:7px 12px;border:1px solid var(--rhh-line);text-decoration:none;font-size:.95rem}
.page-numbers.current{background:var(--rhh-green);color:#fff;border-color:var(--rhh-green)}
.comment-list{list-style:none;padding:0}
.comment-list .children{list-style:none;padding-left:20px}
.comment-body{border-bottom:1px solid var(--rhh-line);padding:18px 0}
.comment-author img{float:left;margin-right:12px}
.comment-metadata{font-size:.8rem;margin:4px 0 14px}
.comment-form label{display:block;margin-bottom:4px}
.comment-form textarea{width:100%}
.comment-form-cookies-consent{display:flex;align-items:start;gap:10px}
.comment-form-cookies-consent label{font-size:.875rem}
.rhh-comments{border-top:3px solid var(--rhh-green);padding:26px}
.rhh-comments-heading{font-size:1.5rem;margin:0 0 20px}
.rhh-comments #comments,.rhh-comments .comments-area,.rhh-comments #wpdcom{width:100%;max-width:none;margin:0;padding:0;background:transparent}
.rhh-comments #wpdcom{font-family:var(--rhh-sans)}
.rhh-comments #wpdcom .wpd-form-wrap{max-width:none;margin:0 0 24px;padding:18px;background:#f6f8f5;border:1px solid var(--rhh-line);border-radius:6px}
.rhh-comments #wpdcom .wpd-form-head{margin-top:0}
.rhh-comments #wpdcom .ql-container{background:#fff;border:1px solid var(--rhh-line);border-radius:5px 5px 0 0;font:1rem/1.6 var(--rhh-sans)}
.rhh-comments #wpdcom .ql-editor{min-height:110px}
.rhh-comments #wpdcom .ql-editor.ql-blank::before{font-style:normal;color:var(--rhh-muted)}
.rhh-comments #wpdcom .ql-toolbar{background:#fff;border:1px solid var(--rhh-line);border-top:0;border-radius:0 0 5px 5px}
.rhh-comments #wpdcom a{color:var(--rhh-green)}
.rhh-comments #wpdcom .wpd-thread-head{margin-top:0;border-color:var(--rhh-line)}
.rhh-comments #wpdcom .wpd-thread-list{padding:0}
.rhh-comments #wpdcom .wpd-comment-wrap{border-bottom:1px solid var(--rhh-line);padding-bottom:18px}
.rhh-comments #wpdcom input[type=submit]{background:var(--rhh-green);border-color:var(--rhh-green);border-radius:4px}
@media(max-width:650px){.post-navigation .nav-links{grid-template-columns:1fr;gap:12px}.post-navigation .nav-next{grid-column:auto}.post-navigation a{padding:14px}.rhh-adjacent-title{font-size:1rem}.rhh-comments{padding:18px}.rhh-comments #wpdcom .wpd-form-wrap{padding:14px}.rhh-comments-heading{font-size:1.35rem}}
.rhh-footer{background:#fff;border-top:1px solid var(--rhh-line)}
.rhh-footer-inner{width:min(100% - 48px,1380px);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0}
.rhh-footer p{margin:0;font-size:.8rem;color:var(--rhh-muted)}
.rhh-footer .rhh-menu{gap:20px}
.rhh-footer .rhh-menu a{font-size:.875rem;font-weight:400;padding:3px 0}
.wp-caption{max-width:100%}.sticky{position:relative}.bypostauthor{border-left:2px solid var(--rhh-green);padding-left:16px}.gallery-caption{font-size:.875rem}

@media(min-width:1500px){.rhh-feature-grid{min-height:465px}.rhh-card--feature:first-child .rhh-card-copy{min-height:465px}}
@media(max-width:1190px){.rhh-header-inner{gap:20px}.rhh-menu{gap:16px}.rhh-nav{gap:16px}.rhh-brand img{width:210px}.rhh-layout,.rhh-layout--home{grid-template-columns:minmax(0,1fr) 300px}.rhh-feature-grid{min-height:360px}.rhh-card--feature:first-child .rhh-card-copy{min-height:360px}.rhh-card--feature{min-height:178px}.rhh-card--feature .rhh-card-copy{min-height:178px;padding:14px}.rhh-card--feature .rhh-card-title{font-size:1rem}.rhh-promo--book{grid-template-columns:1fr}.rhh-book-cover{display:none}.rhh-promo{padding:24px}.rhh-panel{padding:22px}.rhh-article{padding:30px}}
@media(max-width:1000px){.rhh-header-inner{flex-wrap:wrap;gap:0;padding:18px 0}.rhh-brand img{width:225px}.rhh-js .rhh-menu-toggle{display:flex}.rhh-nav{width:100%;flex-basis:100%;padding-top:16px;align-items:flex-start;gap:12px}.rhh-js .rhh-nav:not(.is-open){display:none}.rhh-nav>.rhh-menu{flex:1;display:flex;flex-direction:column;align-items:stretch;gap:0}.rhh-nav .rhh-menu a{padding:12px 0}.rhh-nav .rhh-menu .sub-menu{position:static;box-shadow:none;border:0;border-left:2px solid var(--rhh-line);margin:0 0 8px 6px;padding:0 16px;max-width:none}.rhh-nav .rhh-menu .sub-menu .sub-menu{margin-left:0}.rhh-layout,.rhh-layout--home,.rhh-layout--forum{grid-template-columns:minmax(0,1fr)}.rhh-layout{margin-top:24px}.rhh-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.rhh-layout--forum .rhh-sidebar{display:flex}.rhh-section-heading h2{font-size:1.4rem}.rhh-feature-grid{min-height:420px}.rhh-card--feature:first-child .rhh-card-copy{min-height:420px}.rhh-card--feature .rhh-card-title{font-size:1.15rem}.rhh-promo--book{grid-template-columns:100px minmax(0,1fr)}.rhh-book-cover{display:block}.rhh-search-panel{top:calc(100% + 6px)}}
@media(max-width:650px){:root{--rhh-gap:18px}.rhh-header-inner,.rhh-layout,.rhh-footer-inner,.rhh-ad--header{width:calc(100% - 28px)}.rhh-header-inner{min-height:82px;padding:15px 0}.rhh-brand img{width:205px}.rhh-menu-toggle{padding:8px 10px}.rhh-layout{margin:20px auto 30px}.rhh-panel,.rhh-widget,.rhh-article{padding:20px}.rhh-section-heading h2,.rhh-widget-title{font-size:1.2rem}.rhh-view-all{font-size:.8rem}.rhh-section-heading{margin-bottom:18px}.rhh-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;min-height:0;gap:5px}.rhh-card--feature:first-child{grid-column:1/3;grid-row:auto;min-height:310px}.rhh-card--feature:first-child .rhh-card-copy{min-height:310px}.rhh-card--feature{min-height:190px}.rhh-card--feature .rhh-card-copy{min-height:190px;padding:13px}.rhh-card--feature .rhh-card-title{font-size:1rem}.rhh-card--feature:first-child .rhh-card-title{font-size:1.5rem}.rhh-card--feature .rhh-card-date{font-size:.75rem}.rhh-card-grid{gap:22px 16px}.rhh-card-title{font-size:1.12rem}.rhh-home-section--reviews .rhh-card-grid{grid-template-columns:1fr}.rhh-home-section--reviews .rhh-card{display:grid;grid-template-columns:40% minmax(0,1fr);gap:16px}.rhh-home-section--reviews .rhh-card-title{margin-top:0}.rhh-promos{grid-template-columns:1fr}.rhh-promo{padding:26px}.rhh-promo--book{grid-template-columns:90px minmax(0,1fr);gap:20px}.rhh-promo h2{font-size:1.65rem}.rhh-sidebar{display:flex}.rhh-card--list{grid-template-columns:1fr;gap:14px}.rhh-card--list .rhh-card-title{font-size:1.55rem}.rhh-card--list .rhh-card-image{aspect-ratio:16/9}.rhh-card-excerpt{font-size:1rem}.rhh-article-header h1{font-size:2rem}.rhh-entry-content{font-size:1.0625rem;line-height:1.8}.rhh-article-header{text-align:left}.rhh-installer--horizontal .rhh-installer-frame{min-height:310px}.rhh-footer-inner{flex-direction:column;align-items:flex-start;gap:14px}.rhh-footer .rhh-menu{flex-wrap:wrap;gap:12px}.rhh-footer .rhh-menu a{font-size:.875rem}.nav-links{gap:16px}.rhh-archive-header h1{font-size:2rem}.rhh-layout--full .rhh-panel{padding:20px}}
/* Compact homepage rhythm; editorial reading and native forum spacing stay independent. */
.home .rhh-header-inner{min-height:84px}
.rhh-layout--home{gap:20px;margin-top:22px;--rhh-feature-height:320px}
.rhh-layout--home .rhh-main-column,.rhh-layout--home .rhh-sidebar{gap:16px}
.rhh-layout--home .rhh-panel,.rhh-layout--home .rhh-widget{padding:18px;border-radius:6px}
.rhh-layout--home .rhh-section-heading{margin-bottom:16px}
.rhh-layout--home .rhh-section-heading h2,.rhh-layout--home .rhh-widget-title{font-size:1.3rem;padding-bottom:10px}
.rhh-layout--home .rhh-widget-title{margin-bottom:16px}
.rhh-layout--home .rhh-feature-grid{min-height:var(--rhh-feature-height);gap:6px}
.rhh-layout--home .rhh-card--feature,.rhh-layout--home .rhh-card--feature .rhh-card-copy{min-height:157px}
.rhh-layout--home .rhh-card--feature .rhh-card-copy{padding:16px}
.rhh-layout--home .rhh-card--feature:first-child .rhh-card-copy{min-height:var(--rhh-feature-height)}
.rhh-layout--home .rhh-card--feature .rhh-card-title{font-size:1.05rem}
.rhh-layout--home .rhh-card--feature:first-child .rhh-card-title{font-size:clamp(1.3rem,2vw,1.7rem)}
.rhh-home-section--questions .rhh-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.rhh-home-section--questions .rhh-card-title{font-size:1.05rem;line-height:1.28;margin:10px 0 0}
.rhh-layout--home .rhh-home-section--reviews .rhh-card-grid{gap:18px}
.rhh-layout--home .rhh-home-section--reviews .rhh-card-title{font-size:1.05rem;line-height:1.28;margin:10px 0 0}
.rhh-layout--home .rhh-installer--horizontal .rhh-installer-frame{min-height:80px}
.rhh-layout--home .rhh-ad--home_inline,.rhh-layout--home .rhh-ad--home_bottom{padding:10px}
.rhh-layout--home .rhh-promo{padding:24px}
.rhh-layout--home .rhh-promo h2{font-size:1.5rem;margin-bottom:10px}
.rhh-layout--home .rhh-promo p{margin-bottom:16px}
.rhh-layout--home .rhh-promo .rhh-kicker{margin-bottom:10px}
@media(max-width:1190px) and (min-width:1001px){.rhh-layout--home{--rhh-feature-height:300px}.rhh-layout--home .rhh-card--feature,.rhh-layout--home .rhh-card--feature .rhh-card-copy{min-height:147px}.rhh-home-section--questions .rhh-card-grid{gap:12px}.rhh-home-section--questions .rhh-card-title{font-size:1rem}}
@media(max-width:650px){.rhh-layout--home{margin-top:16px;gap:16px}.rhh-layout--home .rhh-panel,.rhh-layout--home .rhh-widget{padding:16px}.rhh-layout--home .rhh-section-heading h2,.rhh-layout--home .rhh-widget-title{font-size:1.15rem}.rhh-layout--home .rhh-feature-grid{min-height:0}.rhh-layout--home .rhh-card--feature:first-child,.rhh-layout--home .rhh-card--feature:first-child .rhh-card-copy{min-height:275px}.rhh-layout--home .rhh-card--feature,.rhh-layout--home .rhh-card--feature .rhh-card-copy{min-height:172px}.rhh-layout--home .rhh-card--feature .rhh-card-copy{padding:12px}.rhh-layout--home .rhh-card--feature .rhh-card-title{font-size:1rem}.rhh-layout--home .rhh-card--feature:first-child .rhh-card-title{font-size:1.35rem}.rhh-home-section--questions .rhh-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.rhh-home-section--questions .rhh-card-title{font-size:1rem}.rhh-layout--home .rhh-home-section--reviews .rhh-card-title{margin-top:0}.rhh-layout--home .rhh-promo{padding:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print{.rhh-header,.rhh-sidebar,.rhh-footer,.rhh-ad,.rhh-installer,.rhh-comments,.post-navigation{display:none!important}body{background:#fff;color:#000}.rhh-layout{display:block;width:100%;margin:0}.rhh-panel{padding:0}.rhh-entry-content a{color:#000}.rhh-article-image{max-width:600px}}

/* Books & learning: native links and lazy local covers; no frontend script. */
.rhh-learning-course{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:var(--rhh-dark);color:#fff;border-radius:4px}
.rhh-learning-course h3{font-size:1.65rem;color:#fff;margin:0 0 8px}
.rhh-learning-course p{margin:0;max-width:42ch;font-size:1rem;line-height:1.6}
.rhh-learning-course .rhh-learning-kicker{font-size:.875rem;font-weight:600;margin-bottom:8px;opacity:.85}
.rhh-learning-course .rhh-button{flex-shrink:0;white-space:nowrap}
.rhh-books{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:20px 0 0}
.rhh-books li{min-width:0;margin:0}
.rhh-book{display:block;padding:4px;color:var(--rhh-ink);text-decoration:none;border-radius:2px}
.rhh-book:hover img{opacity:.88}
.rhh-book-art{height:140px;display:block;width:100%}
.rhh-book-art img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(2px 3px 2px #183c3320)}
.rhh-book-fallback{display:block;font-size:.875rem;line-height:1.4;text-align:center}
@media(max-width:650px){.rhh-learning-course{display:block;padding:20px}.rhh-learning-course h3{font-size:1.5rem}.rhh-learning-course .rhh-button{margin-top:16px}.rhh-books{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px;margin-top:18px}.rhh-book-art{height:120px}}
