/*
Theme Name: GarageWise
Template: blocksy
Description: Real-world car care, garage gear and DIY maintenance. Child theme of Blocksy.
Version: 1.3
Text Domain: garagewise
*/
:root{--brand:#E4572E;--brand2:#3A6EA5;--ink:#1F2933;--soft:#E8E4DC;}
.entry-content, .wp-block-post-content{font-size:1.06rem;line-height:1.75;}
.wp-block-post-content p{margin-block:0 1em;}
/* Affiliate building blocks (same class names as the other sites) */
.affiliate-disclosure{background:var(--soft);border-left:4px solid var(--brand);padding:12px 16px;font-size:.9rem;border-radius:4px;margin:1.2em 0;}
.cta-box{background:#fff;border:1px solid var(--soft);border-top:4px solid var(--brand);border-radius:8px;padding:16px 20px;margin:1.4em 0;box-shadow:0 2px 10px rgba(0,0,0,.05);}
.cta-box p{margin:0 0 .6em;}
a.amz-btn, .amz-btn{display:inline-block;background:#FF9900;color:#111 !important;font-weight:700;padding:10px 20px;border-radius:4px;text-decoration:none !important;line-height:1.2;}
a.amz-btn:hover{background:#f08804;}
.amz-btn.amz-btn-sm{padding:6px 12px;font-size:.85rem;}
.table-thumb{width:55px;height:55px;object-fit:contain;transition:transform .2s;background:#fff;}
.table-thumb:hover{transform:scale(4);position:relative;z-index:5;box-shadow:0 4px 18px rgba(0,0,0,.2);}
.wp-block-table table, .entry-content table{border-collapse:collapse;width:100%;font-size:.95rem;}
.wp-block-table th{background:var(--ink);color:#fff;}
.wp-block-table td, .wp-block-table th{border:1px solid #ddd;padding:8px 10px;vertical-align:middle;}
.key-takeaways{background:#fff;border:1px solid var(--soft);border-radius:8px;padding:14px 20px;margin:1.2em 0;}
.more-guides{border-top:2px solid var(--soft);padding-top:12px;}
figure.wp-block-image figcaption{font-size:.85rem;color:#5B6770;}
.wp-block-post-featured-image img{border-radius:8px;}
/* Blocksy tweaks */
html:root{--theme-palette-color-1:#E4572E;--theme-palette-color-2:#C2431F;--theme-palette-color-3:#3D4852;--theme-palette-color-4:#1F2933;--theme-palette-color-5:#DCD8CF;--theme-palette-color-6:#EFEDE7;--theme-palette-color-7:#F6F5F1;--theme-palette-color-8:#FFFFFF;--theme-link-initial-color:#3A6EA5;--theme-headings-color:#1F2933;}
h1,h2,h3,h4,.site-title,.ct-menu-link,.entry-card .entry-title{font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif !important;letter-spacing:.3px;}
h1,h2,h3{font-weight:700;}
#header [data-row]{background:#1F2933 !important;}
#header [data-row="middle"]{border-bottom:4px solid #E4572E;}
#header .site-title a, #header .ct-menu-link, #header .ct-toggle, #header svg{color:#FFFFFF !important;fill:#FFFFFF;}
#header .ct-menu-link:hover, #header .current-menu-item > .ct-menu-link{color:#E4572E !important;}
#header .site-title a{font-size:30px;font-weight:700;text-transform:uppercase;}
#header .site-description{color:#B7C0C7 !important;}
#header .sub-menu{background:#1F2933 !important;}
.entry-card{border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 2px 14px rgba(31,41,51,.07);}
.entry-card .ct-image-container img{transition:transform .35s;}
.entry-card:hover .ct-image-container img{transform:scale(1.04);}
.entry-card .meta-categories a{background:#E4572E;color:#fff !important;padding:2px 8px;border-radius:3px;font-size:11px;text-transform:uppercase;letter-spacing:.6px;}
#footer [data-row]{background:#1F2933 !important;color:#B7C0C7;}
#footer a{color:#FFFFFF;}

/* === HOMEPAGE START v1 === */
/* Site-wide "Workshop Manual" look: dark palette for Blocksy */
html:root{
--theme-palette-color-1:#E4572E;--theme-palette-color-2:#FF7A4D;--theme-palette-color-3:#C9D1D7;--theme-palette-color-4:#FFFFFF;
--theme-palette-color-5:#2A3139;--theme-palette-color-6:#1F252C;--theme-palette-color-7:#15191E;--theme-palette-color-8:#0E1114;
--theme-font-family:Inter,system-ui,sans-serif;
}
body{background:#15191E;color:#C9D1D7;font-family:Inter,system-ui,sans-serif}
h1,h2,h3,h4,.entry-title,.page-title,.site-title{font-family:'Barlow Condensed',Inter,sans-serif;letter-spacing:.3px;color:#fff}
.entry-content h2,.entry-content h3{text-transform:none}
a{color:#FF7A4D}a:hover{color:#FFA07F}
header#header,#header [data-row],.ct-header [data-row]{background:#0E1114 !important;border-bottom:1px solid #2A3139}
#header .site-title a,.site-title a{font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:28px;letter-spacing:1px;text-transform:uppercase;color:#fff !important}
#header .menu > li > a,.ct-header .menu > li > a{color:#E9ECEF !important;font-weight:600;text-transform:uppercase;letter-spacing:.6px;font-size:14px}
#header .menu > li > a:hover{color:#FF7A4D !important}
#footer,.ct-footer,#footer [data-row]{background:#0E1114 !important;color:#8A96A0;border-top:1px solid #2A3139}
#footer a{color:#C9D1D7}
.entry-content,.entry-content p,.entry-content li{color:#C9D1D7}
.entry-content strong{color:#fff}
.entry-content table{border-color:#2A3139}
.entry-content th{background:#0E1114 !important;color:#fff !important;border-color:#2A3139 !important}
.entry-content td{border-color:#2A3139 !important;background:#1A1F25}
.entry-content tr:nth-child(even) td{background:#1F252C}
.cta-box,.key-takeaways,.affiliate-disclosure,.more-guides{background:#1F252C !important;border-color:#2A3139 !important;color:#C9D1D7 !important}
.cta-box *,.key-takeaways *,.more-guides *{color:inherit}
.cta-box h3,.key-takeaways h3,.key-takeaways strong,.more-guides h3{color:#fff !important}
.amz-btn,.amz-btn:hover{color:#111 !important}
input[type=text],input[type=email],input[type=search],textarea{background:#1F252C;color:#fff;border-color:#2A3139}
.entry-card,.ct-sidebar .widget{background:#1F252C}
/* Article width + one-line tables */
.entry-content figure.wp-block-table,.entry-content .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-left:0;margin-right:0}
.entry-content table{width:100%;border-collapse:collapse;font-size:14px}
.entry-content figure.wp-block-table table{width:max-content;min-width:100%}
.entry-content th,.entry-content td{white-space:nowrap;padding:8px 12px;vertical-align:middle}
.entry-content td img.table-thumb{display:inline-block !important;vertical-align:middle;margin:0 10px 0 0 !important;width:44px;height:44px;object-fit:contain}
.entry-content td .amz-btn{white-space:nowrap;display:inline-block}
body.single .entry-content,body.single .ct-container-narrow,body.page .ct-container-narrow{--narrow-container-max-width:1100px;max-width:1100px}
/* Product image frames (white-background photos sit on a white card) */
.entry-content figure.wp-block-image:has(img[style*="width"]),.entry-content figure.wp-block-image:has(img.product-img){text-align:center}
.entry-content img[style*="width"]:not(.table-thumb),.entry-content img.product-img{box-sizing:content-box;background:#fff;padding:18px;border:1px solid #2A3139;border-radius:14px;box-shadow:0 10px 26px rgba(0,0,0,.35);max-width:calc(100% - 38px);height:auto;object-fit:contain}
.entry-content figure.wp-block-image figcaption{color:#8A96A0;font-size:13px;margin-top:10px}
.entry-content img.table-thumb{background:#fff;border:1px solid #2A3139;border-radius:8px;padding:3px;box-sizing:border-box}
#header .site-logo-container img,#header .default-logo{max-height:42px !important;height:42px !important;width:auto !important}
#header .site-branding{display:flex !important;flex-direction:row !important;align-items:center;gap:12px}
#header .site-logo-container{--logo-max-height:42px}
.gwh-foot-brand{display:inline-flex;align-items:center;gap:10px}
.gwh-foot-brand img{height:28px;width:auto}
/* Homepage */
.gwh{font-family:Inter,system-ui,sans-serif;color:#E9ECEF;background:#15191E}
.gwh *{box-sizing:border-box}
.gwh-wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.gwh-sec{padding-top:56px;padding-bottom:56px}
.gwh-sec-tight{padding-top:8px;padding-bottom:48px}
.gwh-kicker{font-size:13px;font-weight:700;letter-spacing:1.4px;color:#FF7A4D;text-transform:uppercase}
.gwh-h2{margin:0 0 18px;font-family:'Barlow Condensed',sans-serif;font-size:34px;line-height:1.05;text-transform:uppercase;letter-spacing:.5px;color:#fff}
.gwh-sub{margin:6px 0 0;color:#9AA5AE;font-size:15px}
.gwh-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.gwh-head .gwh-h2{margin:0}
.gwh-head > a{font-weight:600;font-size:14px;color:#FF7A4D;text-decoration:none}
.gwh-hero{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:center;padding-top:56px;padding-bottom:40px}
.gwh-hero-copy{display:flex;flex-direction:column;gap:22px}
.gwh-hero h1{margin:0;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:clamp(44px,6vw,76px);line-height:.95;text-transform:uppercase;color:#fff}
.gwh-hero p{margin:0;font-size:19px;line-height:1.6;color:#B7C0C7}
.gwh-search{display:flex;gap:8px;background:#fff;border-radius:8px;padding:6px;max-width:520px}
.gwh-search input{flex:1;min-width:0;border:0 !important;background:#fff !important;color:#1F2933 !important;font-size:16px;padding:12px;outline:none;box-shadow:none !important}
.gwh-search button{background:#1F2933;color:#fff;border:0;border-radius:6px;padding:0 20px;font-weight:700;font-size:15px;cursor:pointer}
.gwh-popular-tags{display:flex;gap:18px;font-size:13px;color:#8A96A0;flex-wrap:wrap}
.gwh-popular-tags a{color:#FF7A4D;text-decoration:none}
.gwh-hero-media{position:relative;height:470px;border-radius:14px;overflow:hidden;background:#1F252C}
.gwh-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.gwh-hero-card{position:absolute;left:18px;right:18px;bottom:18px;background:rgba(14,17,20,.9);border-radius:10px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;text-decoration:none}
.gwh-hero-card span{font-size:12px;font-weight:700;color:#FF7A4D;letter-spacing:1px;text-transform:uppercase}
.gwh-hero-card strong{font-family:'Barlow Condensed',sans-serif;font-size:30px;font-weight:700;color:#fff;line-height:1.05}
.gwh-jobs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.gwh-job{background:#1F252C;border:1px solid #2A3139;border-radius:10px;padding:20px 18px;text-decoration:none;display:flex;flex-direction:column;gap:8px;min-height:120px;transition:border-color .15s,transform .15s}
.gwh-job:hover{border-color:#E4572E;transform:translateY(-2px)}
.gwh-job-ic{width:40px;height:40px;border-radius:8px;background:rgba(228,87,46,.15);color:#FF7A4D;display:flex;align-items:center;justify-content:center}
.gwh-job strong{color:#fff;font-size:16px}
.gwh-job small{color:#8A96A0;font-size:13px}
.gwh-band{background:#0E1114;padding:56px 0}
.gwh-band-alt{background:#1F252C}
.gwh-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.gwh-card{background:#1F252C;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.gwh-card-img{display:block;height:210px;background:#2A3139}
.gwh-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.gwh-card-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:10px}
.gwh-tags{display:flex;gap:8px;flex-wrap:wrap}
.gwh-tag{background:#E4572E;color:#0E1114;font-size:11px;font-weight:800;letter-spacing:.8px;padding:4px 8px;border-radius:4px;text-transform:uppercase}
.gwh-tag-dim{background:#2A3139;color:#C9D1D7;font-weight:600;letter-spacing:0;text-transform:none}
.gwh-card-title{font-family:'Barlow Condensed',sans-serif;font-size:26px;font-weight:700;line-height:1.1;color:#fff;text-decoration:none}
.gwh-card-title:hover{color:#FF7A4D}
.gwh-card p{margin:0;font-size:14px;line-height:1.55;color:#9AA5AE}
.gwh-video{text-decoration:none;display:flex;flex-direction:column;gap:12px}
.gwh-video-frame{position:relative;display:block;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#000}
.gwh-video-frame img,.gwh-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0}
.gwh-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;background:#E4572E;color:#0E1114;display:flex;align-items:center;justify-content:center}
.gwh-video strong{font-size:17px;color:#fff;line-height:1.3}
.gwh-channel-card{display:flex;gap:20px;align-items:center;background:#1F252C;border:1px solid #2A3139;border-radius:14px;padding:26px 28px;text-decoration:none;color:#9AA5AE;line-height:1.5}
.gwh-channel-card strong{color:#fff;font-size:20px}
.gwh-channel-card .gwh-play{position:static;transform:none;flex:none}
.gwh-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
.gwh-rank{margin:0;padding:0;list-style:none}
.gwh-rank li{display:flex;gap:18px;align-items:baseline;padding:14px 0;border-bottom:1px solid #2E3640;margin:0}
.gwh-rank span{font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:34px;color:#E4572E;width:34px;flex:none}
.gwh-rank a{color:#fff;text-decoration:none;font-weight:600;font-size:17px;line-height:1.35}
.gwh-rank a:hover{color:#FF7A4D}
.gwh-gear{background:#15191E;border:1px solid #2E3640;border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:6px}
.gwh-gear-row{display:flex;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid #2A3139}
.gwh-gear-row:last-child{border-bottom:0}
.gwh-gear-img{width:72px;height:72px;border-radius:8px;background:#fff;color:#E4572E;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}
.gwh-gear-img img{width:100%;height:100%;object-fit:contain}
.gwh-gear-img svg{width:30px;height:30px}
.gwh-gear-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.gwh-gear-txt strong{color:#fff}
.gwh-gear-txt small{font-size:13px;color:#9AA5AE}
.gwh .amz-btn{white-space:nowrap}
.gwh-cta{background:#E4572E;border-radius:16px;padding:40px 44px;display:flex;gap:32px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.gwh-cta > div{max-width:600px}
.gwh-cta h2{margin:0 0 8px;font-family:'Barlow Condensed',sans-serif;font-size:40px;text-transform:uppercase;color:#0E1114;line-height:1}
.gwh-cta p{margin:0;color:#2A1206;font-size:16px;line-height:1.5}
.gwh-cta form{display:flex;gap:8px;flex-wrap:wrap}
.gwh-cta input[type=email]{border:0 !important;background:#fff !important;color:#1F2933 !important;border-radius:8px;padding:14px 16px;font-size:16px;width:260px;max-width:100%}
.gwh-cta button{background:#0E1114;color:#fff;border:0;border-radius:8px;padding:14px 22px;font-weight:700;font-size:15px;cursor:pointer}
@media (max-width:1100px){.gwh-jobs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:860px){.gwh-hero,.gwh-split{grid-template-columns:1fr}.gwh-hero-media{height:320px}.gwh-grid3{grid-template-columns:1fr}.gwh-jobs{grid-template-columns:repeat(2,minmax(0,1fr))}.gwh-cta{padding:28px}}

#footer,.ct-footer{display:none !important}
.gwh-foot{background:#0E1114;border-top:1px solid #2A3139;padding:40px 0;font-family:Inter,system-ui,sans-serif}
.gwh-foot-in{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;font-size:14px;color:#8A96A0}
.gwh-foot-brand{font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:22px;letter-spacing:1px;color:#fff !important;text-decoration:none}
.gwh-foot nav{display:flex;gap:22px;flex-wrap:wrap}
.gwh-foot nav a{color:#C9D1D7;text-decoration:none}.gwh-foot nav a:hover{color:#FF7A4D}
.gwh-foot p{margin:0;max-width:420px}
/* === HOMEPAGE END === */
/* === ARTICLE LAYOUT FIXES 2026-11-23 === */
/* Lighter page background (was #15191E) and matching card/table tones */
body,.gwh{background:#1D232A !important}
:root{--theme-palette-color-7:#1D232A}
.entry-content td{background:#232A32}
.entry-content tr:nth-child(even) td{background:#28303A}
.cta-box,.key-takeaways,.affiliate-disclosure,.more-guides{background:#262E37 !important;border-color:#343D48 !important}
.entry-card,.ct-sidebar .widget{background:#262E37}
/* Centre the article body under the title block */
body.single .entry-content{margin-left:auto;margin-right:auto}
/* Tables: fit the column instead of running off the right edge */
.entry-content figure.wp-block-table table{width:100%;min-width:0;table-layout:auto}
.entry-content th,.entry-content td{white-space:normal;overflow-wrap:anywhere}
.entry-content td:first-child{min-width:150px}
.entry-content td .amz-btn,.entry-content td .amz-btn-sm{white-space:nowrap}
@media (max-width:640px){.entry-content figure.wp-block-table table{min-width:0;font-size:13px}.entry-content th,.entry-content td{padding:7px 6px}.entry-content td:first-child{min-width:0}.entry-content td img.table-thumb{display:block !important;margin:0 0 6px 0 !important}.entry-content td .amz-btn,.entry-content td .amz-btn-sm{padding:8px 10px;font-size:12px}}
/* Table of contents in the site's dark style */
#ez-toc-container,.ez-toc-v2_0_90{background:#262E37 !important;border:1px solid #343D48 !important;border-radius:10px;box-shadow:none !important;color:#C9D1D7}
#ez-toc-container .ez-toc-title,#ez-toc-container p.ez-toc-title{color:#fff !important}
#ez-toc-container a,#ez-toc-container a:visited{color:#C9D1D7 !important}
#ez-toc-container a:hover{color:#FF7A4D !important}
#ez-toc-container .ez-toc-title-toggle a,#ez-toc-container .ez-toc-icon-toggle-span svg{color:#C9D1D7 !important;fill:#C9D1D7 !important}
/* Product photos never taller than ~460px, whatever their shape */
.entry-content img[style*="width"]:not(.table-thumb),.entry-content img.product-img,.entry-content figure.wp-block-image img{max-height:460px;width:auto;object-fit:contain}
/* Featured image at the top of single posts */
body.single .ct-featured-image{margin-bottom:32px}
body.single .ct-featured-image img{border-radius:12px;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover}
/* Reading time is already shown under the title */
.entry-content > .span-reading-time{display:none !important}
/* === ARTICLE LAYOUT FIXES END === */