/*
Theme Name: CasaRipara
Theme URI: https://casaripara.it
Author: CasaRipara
Description: Tema editoriale mobile first per le guide di CasaRipara.
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: casaripara
*/

:root{--orange:#bd3b00;--orange-bright:#ff4d00;--ink:#17202d;--muted:#5f6774;--surface:#f6f7f8;--line:#e7e9ed;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto;display:block}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{position:fixed!important;top:1rem;left:1rem;width:auto;height:auto;padding:.7rem;background:#fff;clip:auto;z-index:1000}.wrap{width:min(calc(100% - 36px),var(--max));margin-inline:auto}
.site-header{background:#fff;position:relative;z-index:30;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:82px}.brand{display:flex;align-items:center;gap:9px;min-width:0}.brand-mark{width:44px;flex:none}.brand-text{min-width:0}.brand-name{display:block;font-size:clamp(1.45rem,5vw,2.1rem);letter-spacing:-.055em;font-weight:850;line-height:1.1;white-space:nowrap}.brand-name span{color:var(--orange)}.brand-tagline{display:block;font-weight:780;letter-spacing:.035em;font-size:.56rem;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:8px}.icon-button{border:0;background:transparent;color:var(--ink);display:grid;place-items:center;width:42px;height:44px;padding:0}.icon-button svg{width:26px;height:26px}.menu-trigger{color:var(--orange)}.desktop-nav{display:none}.search-panel,.menu-panel{display:none;background:#fff;border-top:1px solid var(--line);box-shadow:0 12px 22px #17202d17}.search-panel.is-open,.menu-panel.is-open{display:block}.panel-inner{padding:16px 0 22px}.menu-panel nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.menu-panel a{display:block;padding:10px;border-radius:8px;font-weight:700}.menu-panel a:hover,.menu-panel a:focus-visible{background:var(--surface)}.search-form{display:flex;align-items:stretch;gap:8px;width:100%}.search-form input{flex:1;min-width:0;border:1px solid #cbd1d8;border-radius:9px;padding:12px 13px;font-size:1rem}.search-form button,.button{border:0;border-radius:9px;background:var(--orange);color:white;padding:11px 16px;font-weight:800}.search-form button:hover,.button:hover{background:#df4300}
.hero{background:#111b20;color:#fff;position:relative;isolation:isolate;overflow:hidden}.hero::before{content:"";position:absolute;inset:0;background:url('assets/img/hero-house-v2.jpg') right center/auto 100% no-repeat;z-index:-2}.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#111a1e 0%,#111a1ef2 39%,#111a1e84 72%,#111a1e1a 100%);z-index:-1}.hero-inner{padding:32px 0 19px}.eyebrow{color:#ff7c39;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;font-weight:850}.hero h1{font-size:clamp(2.4rem,7vw,4.5rem);letter-spacing:-.045em;line-height:1.05;margin:12px 0 10px}.hero h1 span{display:block;color:var(--orange-bright)}.hero p{max-width:440px;margin:0 0 21px;font-size:1rem;line-height:1.42}.hero .button{display:inline-flex;border-radius:99px;padding:12px 19px;text-transform:uppercase;align-items:center;gap:15px;font-size:.8rem}.hero-benefits{display:flex;justify-content:space-between;gap:10px;margin-top:23px}.hero-benefits div{display:flex;align-items:center;gap:6px;font-size:.7rem;line-height:1.1;font-weight:730}.hero-benefits svg{color:var(--orange-bright);width:27px;height:27px;flex:none}
.section{padding:25px 0}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.category-card{border:1px solid var(--line);border-radius:11px;overflow:hidden;min-width:0;background:#fff;transition:box-shadow .2s,transform .2s}.category-card:hover,.category-card:focus-visible{box-shadow:0 5px 22px #17202d18;transform:translateY(-2px)}.category-card img{width:100%;height:108px;object-fit:cover}.category-info{padding:10px 10px 13px;position:relative;min-height:92px}.category-info strong{font-size:1rem;letter-spacing:-.025em;display:block}.category-info p{font-size:.77rem;line-height:1.2;margin:3px 13px 0 0;color:#333f4e}.category-info .arrow{color:var(--orange);position:absolute;right:7px;top:16px;font-size:1.25rem}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px}.section-heading h2{margin:0;font-size:1.44rem;letter-spacing:-.045em;line-height:1.2}.section-heading h2::before{content:"";display:inline-block;width:4px;height:19px;background:var(--orange);border-radius:3px;margin-right:12px;vertical-align:-2px}.section-heading a{font-size:.87rem;white-space:nowrap}.section-heading a span{color:var(--orange);font-size:1.25rem;margin-left:3px}.post-list{display:grid;gap:12px}.post-card{display:grid;grid-template-columns:37% 1fr;min-height:166px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.post-card-image{height:100%;min-height:166px;background:var(--surface)}.post-card-image img{width:100%;height:100%;object-fit:cover}.post-card-body{padding:10px 12px;min-width:0}.post-card .badge{display:inline-block;background:var(--orange);color:#fff;border-radius:5px;font-size:.67rem;text-transform:uppercase;font-weight:800;padding:3px 7px}.post-card h3{font-size:1.1rem;line-height:1.18;margin:7px 0 5px;letter-spacing:-.03em}.post-card p{font-size:.81rem;line-height:1.25;margin:0 0 8px;color:#374151}.post-card time{font-size:.71rem;color:var(--muted)}.post-card:hover h3{text-decoration:underline;text-decoration-color:var(--orange)}
@media(max-width:699px){.post-list{grid-template-columns:1fr}.post-card{display:block;min-height:0}.post-card-image{display:block;width:100%;height:190px;min-height:0}.post-card-image img{width:100%;height:100%;object-fit:cover}.post-card-body{display:block;padding:13px 14px 15px}.post-card h3{font-size:1.2rem;line-height:1.2;margin:7px 0 6px}.post-card p{font-size:.88rem;line-height:1.35;margin-bottom:9px}.post-card time{font-size:.74rem}}
.content-area{padding-top:27px;padding-bottom:55px}.page-title{font-size:clamp(1.8rem,5vw,3.2rem);line-height:1.15;letter-spacing:-.04em;margin:0 0 18px}.content-area .intro{color:var(--muted);max-width:720px}.breadcrumb{font-size:.78rem;color:var(--muted);margin-bottom:14px}.breadcrumb a{text-decoration:underline}.article{max-width:820px;margin-inline:auto}.article-meta{color:var(--muted);font-size:.83rem;margin-bottom:22px}.article-cover{border-radius:12px;width:100%;max-height:460px;object-fit:cover;margin:20px 0}.article-body{font-size:1.06rem;line-height:1.76}.article-body h2{margin-top:1.7em;font-size:1.55rem;line-height:1.2}.article-body h3{font-size:1.25rem}.article-body a{color:#bb3b00;text-decoration:underline}.article-body img{border-radius:10px}.pagination{margin-top:25px;display:flex;justify-content:center;gap:15px}.pagination .page-numbers{padding:8px 13px;border-radius:7px;background:var(--surface)}.pagination .current{background:var(--orange);color:#fff}.empty-result{background:var(--surface);padding:20px;border-radius:10px}
.site-footer{background:#17202d;color:#fff;padding:38px 0 105px}.footer-grid{display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between}.site-footer p{color:#d5d9de;margin:6px 0}.site-footer a{text-decoration:underline;text-underline-offset:3px}.footer-links{display:flex;gap:16px;flex-wrap:wrap;font-size:.86rem}.mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:25;background:#fff;border-top:1px solid #e7e9ed;padding:5px 4px calc(4px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #0000000a}.mobile-bottom-nav a,.mobile-bottom-nav button{border:0;background:none;color:var(--ink);display:flex;flex-direction:column;align-items:center;gap:1px;padding:4px 0;font-size:.67rem;line-height:1.1}.mobile-bottom-nav svg{width:24px;height:24px;stroke-width:1.8}.mobile-bottom-nav .current{color:var(--orange)}
@media(min-width:700px){.brand-mark{width:52px}.brand-tagline{font-size:.63rem}.desktop-nav{display:flex;align-items:center;gap:12px;margin-left:auto;font-weight:700;font-size:.82rem;white-space:nowrap}.header-inner{gap:18px}.brand{flex:0 0 auto}.desktop-nav a:hover{color:var(--orange)}.menu-trigger{display:none}.hero-inner{padding:70px 0 35px}.hero-benefits{max-width:560px;margin-top:38px}.hero-benefits div{font-size:.89rem}.hero-benefits svg{width:35px;height:35px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.category-card img{height:160px}.post-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-bottom-nav{display:none}.site-footer{padding-bottom:35px}}
@media(min-width:700px) and (max-width:1120px){.desktop-nav{gap:8px;font-size:.74rem}.brand-name{font-size:1.55rem}.brand-tagline{font-size:.54rem}.brand-mark{width:44px}.header-actions{gap:2px}.icon-button{width:36px}}
@media(min-width:1000px){.hero::before{background-size:auto 115%}.hero::after{background:linear-gradient(90deg,#111a1e 0%,#111a1ef2 34%,#111a1e20 79%)}.hero-inner{min-height:520px;padding-top:92px}.section{padding:38px 0}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.post-list{grid-template-columns:repeat(3,minmax(0,1fr))}.post-card{display:flex;flex-direction:column;min-height:100%}.post-card-image{display:block;height:205px;min-height:205px;flex:none}.post-card-body{display:block!important;visibility:visible!important;opacity:1!important;padding:15px;flex:1}.post-card .badge,.post-card h3,.post-card p,.post-card time{display:block;visibility:visible;opacity:1}.post-card .badge{display:inline-block}.post-card h3{font-size:1.28rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.category-card{transition:none}}
.footer-menu{display:flex;gap:16px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.favorites-panel[hidden]{display:none}.favorites-panel{position:fixed;inset:0;z-index:100;background:#111a1eaa;display:flex;align-items:flex-end;justify-content:center}.favorites-box{position:relative;background:#fff;width:min(100%,550px);max-height:80vh;overflow:auto;padding:28px 22px calc(25px + env(safe-area-inset-bottom));border-radius:17px 17px 0 0}.favorites-box h2{margin:0 40px 18px 0}.favorites-close{position:absolute;right:18px;top:17px;border:0;background:var(--surface);width:36px;height:36px;border-radius:50%;display:grid;place-items:center}.favorites-close svg{width:18px;height:18px}.favorites-list{display:grid;gap:10px}.favorites-list a{padding:13px;border:1px solid var(--line);border-radius:9px;font-weight:700}.favorites-list a:hover{border-color:var(--orange)}
@media(max-width:390px){.header-inner{gap:7px;min-height:72px}.brand{gap:6px}.brand-mark{width:36px}.brand-name{font-size:1.2rem}.brand-tagline{display:none}.header-actions{gap:2px}.icon-button{width:36px}}

/* CasaRipara - template guida definitivo */
.guide-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
.guide-article{max-width:none;margin:0}
.guide-header{margin-bottom:16px}
.guide-category{display:inline-block;background:var(--orange);color:#fff;border-radius:5px;padding:4px 9px;font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.02em;margin-bottom:10px}
.guide-header .page-title{margin-bottom:10px}
.guide-deck{font-size:1.05rem;line-height:1.5;color:#394454;max-width:760px;margin:0 0 14px}
.guide-meta{display:flex;flex-wrap:wrap;gap:9px 18px;color:var(--muted);font-size:.82rem;margin-bottom:6px}
.guide-cover{margin:14px 0 14px;max-height:520px;border-radius:12px;object-fit:cover}
.guide-summary{display:grid;grid-template-columns:auto 1fr;gap:12px;border:1.5px solid var(--orange);border-radius:11px;padding:16px 18px;margin:0 0 27px;background:#fffaf7}
.guide-summary-icon{font-size:1.7rem;line-height:1}
.guide-summary strong{display:block;color:var(--orange);font-size:1.08rem;margin-bottom:3px}
.guide-summary p{margin:0;color:#273447;line-height:1.45}
.guide-content{font-size:1.04rem;line-height:1.72}
.guide-content h2{font-size:clamp(1.45rem,4vw,1.8rem);color:#10284f;letter-spacing:-.03em;margin:1.65em 0 .55em}
.guide-content h3{color:#16345f;margin-top:1.4em}
.guide-content ul,.guide-content ol{padding-left:1.3em}
.guide-content table{width:100%;border-collapse:collapse;margin:18px 0 26px;font-size:.94rem}
.guide-content th,.guide-content td{border:1px solid var(--line);padding:10px 12px;text-align:left}
.guide-content th{background:#eef1f4;color:#17202d}
.guide-content blockquote{margin:22px 0;padding:15px 17px;border-left:4px solid var(--orange);background:#fff8f3;border-radius:0 9px 9px 0}
.guide-content .guide-tools,.guide-content .guide-note,.guide-content .guide-warning,.guide-content .guide-tip{padding:18px;border-radius:11px;margin:24px 0}
.guide-content .guide-tools{background:#f2f5f8}
.guide-content .guide-note{background:#fff8f3;border:1px solid #ffd7c3}
.guide-content .guide-warning{background:#fff4ea;border:1px solid var(--orange)}
.guide-content .guide-tip{background:#eef8ee;border:1px solid #c9e7c9}
.guide-content .guide-steps{counter-reset:step;list-style:none;padding:0;margin:20px 0}
.guide-content .guide-steps>li{counter-increment:step;position:relative;padding:0 0 18px 46px;min-height:38px}
.guide-content .guide-steps>li::before{content:counter(step);position:absolute;left:0;top:-2px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--orange-bright);color:#fff;font-weight:850}
.guide-content details{border:1px solid var(--line);border-radius:8px;padding:0 14px;margin:8px 0;background:#fff}
.guide-content summary{cursor:pointer;font-weight:700;padding:12px 0}
.guide-content details p{padding:0 0 12px}
.guide-actions{margin:30px 0 10px}
.guide-sidebar{display:grid;gap:18px}
.sidebar-box{background:#f6f7f8;border:1px solid #edf0f3;border-radius:12px;padding:16px}
.sidebar-box h2{font-size:1.08rem;margin:0 0 12px;color:#10284f}
.sidebar-related{display:grid;gap:10px}
.sidebar-related a{display:grid;grid-template-columns:78px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:9px;padding:7px}
.sidebar-related img{width:78px;height:66px;object-fit:cover;border-radius:7px}
.sidebar-related strong{display:block;font-size:.82rem;line-height:1.2}
.sidebar-related small{display:block;color:var(--orange);font-size:.68rem;margin-top:5px}
.sidebar-cta{text-align:center;background:#fff8f3}
.sidebar-cta>strong{display:block;color:#10284f;font-size:1.15rem}
.sidebar-cta p{margin:7px 0 14px;color:#4b5563;font-size:.9rem}
.sidebar-cta .button{display:block}
.guide-related-bottom{margin-top:38px}
.guide-related-bottom h2{font-size:1.45rem;color:#10284f;margin-bottom:14px}
.guide-related-grid{display:grid;gap:12px}
.guide-related-card{display:grid;grid-template-columns:120px 1fr;gap:12px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;align-items:center}
.guide-related-card img{width:120px;height:90px;object-fit:cover}
.guide-related-card span{padding:8px 10px 8px 0}
.guide-related-card strong{display:block;line-height:1.2}
.guide-related-card small{display:block;color:var(--orange);margin-top:6px}
@media(max-width:699px){.content-area.guide-layout{padding-top:16px}.guide-layout{gap:20px}.guide-header .page-title{font-size:2rem;line-height:1.08}.guide-deck{font-size:.98rem}.guide-meta{font-size:.74rem;gap:7px 12px}.guide-cover{border-radius:10px}.guide-summary{padding:14px}.guide-content{font-size:1rem;line-height:1.65}.guide-sidebar{margin-top:6px}.sidebar-related{display:none}.guide-related-card{grid-template-columns:92px 1fr}.guide-related-card img{width:92px;height:78px}}
@media(min-width:900px){.guide-layout{grid-template-columns:minmax(0,760px) minmax(250px,310px);gap:34px}.guide-sidebar{position:sticky;top:18px}.guide-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.guide-related-card{display:block}.guide-related-card img{width:100%;height:135px}.guide-related-card span{display:block;padding:11px}.guide-related-card strong{font-size:.9rem}}

/* CasaRipara Guide Standard v1 */
.cr-guide-shell{width:min(calc(100% - 36px),1180px);margin:0 auto;padding:20px 0 56px;display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
.cr-guide-article{min-width:0;max-width:790px}
.cr-guide-breadcrumb{display:flex;flex-wrap:wrap;gap:7px;align-items:center;color:#64748b;font-size:.78rem;margin-bottom:12px}
.cr-guide-breadcrumb a{text-decoration:none}
.cr-guide-header{margin-bottom:12px}
.cr-guide-category{display:inline-block;background:#f25a0b;color:#fff;border-radius:4px;padding:4px 9px;font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.02em;margin-bottom:8px}
.cr-guide-header h1{margin:0 0 9px;color:#0b2c5d;font-size:clamp(2rem,4.7vw,3.45rem);line-height:1.02;letter-spacing:-.045em;font-weight:900}
.cr-guide-deck{margin:0 0 12px;max-width:760px;color:#3b4c63;font-size:1.04rem;line-height:1.42}
.cr-guide-meta{display:flex;flex-wrap:wrap;gap:9px 18px;color:#43566d;font-size:.82rem;font-weight:600}
.cr-guide-meta span{display:inline-flex;align-items:center;gap:6px}
.cr-guide-meta svg{width:18px;height:18px;fill:none;stroke:#f25a0b;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cr-guide-cover{width:100%;aspect-ratio:16/8.7;object-fit:cover;border-radius:9px;display:block;margin:12px 0 13px}
.cr-guide-brief{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:start;background:#fff8f3;border:1.5px solid #ee8b4c;border-radius:8px;padding:14px 16px;margin:0 0 20px}
.cr-guide-brief-icon{color:#f25a0b;width:38px;height:38px}
.cr-guide-brief-icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cr-guide-brief strong{display:block;color:#e55a10;font-size:1.12rem;line-height:1.05;margin-bottom:3px;font-weight:900}
.cr-guide-brief p{margin:0;color:#344b65;font-size:.94rem;line-height:1.38}
.cr-guide-content{font-size:1rem;line-height:1.58;color:#26394f}
.cr-guide-content p{margin:0 0 12px}
.cr-guide-content h2{margin:1.15em 0 .42em;color:#0b2c5d;font-size:1.6rem;line-height:1.12;letter-spacing:-.025em;font-weight:900}
.cr-guide-content h3{color:#0b2c5d}
.cr-guide-content .guide-tools,.cr-guide-content .cr-tools{background:#eef3f7;border-radius:8px;padding:15px 17px;margin:18px 0}
.cr-guide-content .guide-tools>p:first-child,.cr-guide-content .cr-tools>p:first-child{display:flex;align-items:center;gap:8px;margin:0 0 8px;color:#0b2c5d;font-size:1.14rem;font-weight:900}
.cr-guide-content .guide-tools>p:first-child::before,.cr-guide-content .cr-tools>p:first-child::before{content:"";width:27px;height:27px;flex:none;background:no-repeat center/25px 25px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5fa8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4.5 4.5 0 0 0-5.8 5.8L3 18v3h3l5.9-5.9a4.5 4.5 0 0 0 5.8-5.8l-3 3-3-3 3-3Z'/%3E%3C/svg%3E")}
.cr-guide-content .guide-tools ul,.cr-guide-content .cr-tools ul{list-style:none;margin:0;padding:0}
.cr-guide-content .guide-tools li,.cr-guide-content .cr-tools li{position:relative;padding:3px 0 3px 28px}
.cr-guide-content .guide-tools li::before,.cr-guide-content .cr-tools li::before{content:"✓";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#ff5a00;color:#fff;font-size:.7rem;font-weight:900}
.cr-guide-content .guide-steps,.cr-guide-content .cr-steps{counter-reset:step;list-style:none;padding:0;margin:12px 0 18px}
.cr-guide-content .guide-steps>li,.cr-guide-content .cr-steps>li{counter-increment:step;position:relative;padding:0 0 12px 48px;min-height:36px;line-height:1.34}
.cr-guide-content .guide-steps>li::before,.cr-guide-content .cr-steps>li::before{content:counter(step);position:absolute;left:0;top:0;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#ff5a00;color:#fff;font-weight:900}
.cr-guide-content .guide-steps strong,.cr-guide-content .cr-steps strong{color:#0b2c5d;font-weight:900}
.cr-guide-content .guide-warning,.cr-guide-content .guide-tip,.cr-guide-content .cr-alert{position:relative;background:#edf8ee;border:1px solid #b9dfbd;border-radius:8px;padding:14px 15px 14px 54px;margin:17px 0}
.cr-guide-content .guide-warning::before,.cr-guide-content .guide-tip::before,.cr-guide-content .cr-alert::before{content:"";position:absolute;left:15px;top:14px;width:28px;height:28px;background:no-repeat center/28px 28px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2332a545'%3E%3Cpath d='M21 3C13 3.5 6.6 6.1 4.1 10.8c-1.7 3.2-.9 6.6 1.6 8.1 2.9 1.8 6.8.5 8.7-2.8C16.6 12.3 16.4 8 21 3Z'/%3E%3Cpath d='M5.4 20.4c2.2-4.6 5.5-8.2 10.1-10.9' fill='none' stroke='%2332a545' stroke-width='1.4'/%3E%3C/svg%3E")}
.cr-guide-content .guide-warning strong,.cr-guide-content .guide-tip strong,.cr-guide-content .cr-alert strong{color:#2f8f3f;font-weight:900}
.cr-guide-content details{border:1px solid #dce4eb;border-radius:6px;background:#fff;margin:5px 0;overflow:hidden}
.cr-guide-content summary{position:relative;list-style:none;padding:10px 34px 10px 11px;color:#304863;font-weight:650;cursor:pointer}
.cr-guide-content summary::-webkit-details-marker{display:none}
.cr-guide-content summary::after{content:"›";position:absolute;right:11px;top:50%;transform:translateY(-50%);color:#0d3563;font-size:1.5rem;font-weight:900}
.cr-guide-content details[open] summary::after{transform:translateY(-50%) rotate(90deg)}
.cr-guide-content details p{padding:0 11px 11px;margin:0;font-size:.94rem}
.cr-guide-related{margin-top:28px}
.cr-guide-related h2{margin:0 0 10px;color:#0b2c5d;font-size:1.45rem}
.cr-guide-related-grid{display:grid;gap:10px}
.cr-guide-related-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;align-items:center;border:1px solid #dce4eb;border-radius:7px;overflow:hidden;background:#fff}
.cr-guide-related-card img{width:120px;height:82px;object-fit:cover}
.cr-guide-related-card span{padding:8px 10px 8px 0}
.cr-guide-related-card strong{display:block;color:#0b2c5d;font-size:.9rem;line-height:1.2}
.cr-guide-related-card small{display:block;color:#f25a0b;font-size:.7rem;margin-top:5px}
.cr-guide-sidebar{display:none}
.cr-guide-sidebar-box{background:#f6f7f8;border:1px solid #edf0f3;border-radius:10px;padding:15px}
.cr-guide-sidebar-box h2{font-size:1.05rem;margin:0 0 12px;color:#0b2c5d}
.cr-guide-sidebar-related{display:grid;gap:9px}
.cr-guide-sidebar-related a{display:grid;grid-template-columns:74px 1fr;gap:9px;align-items:center;background:#fff;border:1px solid #e5e9ee;border-radius:8px;padding:6px}
.cr-guide-sidebar-related img{width:74px;height:62px;object-fit:cover;border-radius:6px}
.cr-guide-sidebar-related strong{font-size:.8rem;line-height:1.2}

@media(max-width:699px){
  .cr-guide-shell{width:100%;padding:0 18px 38px;display:block}
  .cr-guide-breadcrumb{margin:0 -18px 9px;padding:7px 18px;background:#f4f6f9;border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3;font-size:.69rem;white-space:nowrap;overflow:hidden}
  .cr-guide-category{font-size:.67rem;padding:4px 8px;margin-bottom:6px}
  .cr-guide-header h1{font-size:2rem;line-height:1.01;margin-bottom:7px}
  .cr-guide-deck{font-size:.96rem;line-height:1.36;margin-bottom:10px}
  .cr-guide-meta{font-size:.72rem;gap:7px 13px}
  .cr-guide-meta svg{width:17px;height:17px}
  .cr-guide-cover{aspect-ratio:2.65/1;border-radius:7px;margin:10px 0 12px}
  .cr-guide-brief{grid-template-columns:48px minmax(0,1fr);padding:12px 13px;gap:8px;margin-bottom:15px}
  .cr-guide-brief-icon{width:42px;height:42px}
  .cr-guide-brief-icon svg{width:38px;height:38px}
  .cr-guide-brief strong{font-size:1.08rem}
  .cr-guide-brief p{font-size:.89rem;line-height:1.3}
  .cr-guide-content{font-size:.94rem;line-height:1.46}
  .cr-guide-content h2{font-size:1.45rem;line-height:1.08;margin-top:1.02em}
  .cr-guide-content .guide-tools,.cr-guide-content .cr-tools{padding:13px 15px;margin:14px 0}
  .cr-guide-content .guide-steps,.cr-guide-content .cr-steps{margin:9px 0 15px}
  .cr-guide-content .guide-steps>li,.cr-guide-content .cr-steps>li{padding-left:47px;padding-bottom:9px}
  .cr-guide-content .guide-warning,.cr-guide-content .guide-tip,.cr-guide-content .cr-alert{padding:12px 13px 12px 52px;margin:14px 0}
  .cr-guide-content .guide-warning::before,.cr-guide-content .guide-tip::before,.cr-guide-content .cr-alert::before{left:14px;top:12px}
  .cr-guide-content summary{font-size:.89rem;padding:9px 31px 9px 10px}
  .cr-guide-related{margin-top:20px}
  .cr-guide-related h2{font-size:1.38rem}
  body.single-post .mobile-bottom-nav{display:none!important}
}

@media(min-width:900px){
  .cr-guide-shell{grid-template-columns:minmax(0,790px) minmax(250px,300px);gap:34px}
  .cr-guide-sidebar{display:grid;gap:16px;position:sticky;top:18px}
  .cr-guide-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cr-guide-related-card{display:block}
  .cr-guide-related-card img{width:100%;height:135px}
  .cr-guide-related-card span{display:block;padding:10px}
}

