/* =========================================================
   Green Electric Solutions: Blog (News & Guides)
   Builds on main.css (tokens, header, footer, buttons).
   gb- = blog components · .gb-entry = post content (Gutenberg blocks)
========================================================= */

body.ges-body { background: var(--white); }
.ges-menu a[aria-current="page"] { color: var(--green-700); }
.gb-main { display: block; }

/* =========================================================
   HERO (listing + post)
========================================================= */
.gb-hero-inner { padding-top: clamp(32px, 4.5vw, 60px); padding-bottom: clamp(40px, 5vw, 68px); max-width: calc(var(--container) + var(--gutter) * 2); }
.gb-hero-inner > * { max-width: 820px; }
.gb-hero-sm .gb-hero-inner { padding-bottom: clamp(32px, 4vw, 52px); }
.gb-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 22px; flex-wrap: wrap; }
.gb-crumbs a { color: rgba(255,255,255,.75); }
.gb-crumbs a:hover { color: var(--amber); }
.gb-crumbs span { color: rgba(255,255,255,.9); }
.gb-h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.035em; }
.gb-h1 .ges-hl { color: var(--amber); }

/* Search */
.gb-search { position: relative; display: flex; align-items: center; max-width: 560px; margin-top: 30px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 6px 6px 18px; transition: border-color .2s ease, background-color .2s ease; }
.gb-search:focus-within { border-color: var(--amber); background: rgba(255,255,255,.12); }
.gb-search > .ges-ico { color: rgba(255,255,255,.6); }
.gb-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--white); font: inherit; font-size: 15.5px; padding: 10px 12px; }
.gb-search input::placeholder { color: rgba(255,255,255,.5); }
.gb-search input::-webkit-search-cancel-button { filter: invert(1); opacity: .6; }
.gb-search button { flex-shrink: 0; border: 0; border-radius: 999px; background: var(--amber); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 14.5px; padding: 11px 20px; transition: background-color .2s ease; }
.gb-search button:hover { background: var(--amber-300); }
.gb-search:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 3px; }
.gb-search input:focus-visible { outline: 0; }

/* =========================================================
   TOPIC CHIPS
========================================================= */
.gb-chips-wrap { border-bottom: 1px solid var(--line); background: var(--white); }
.gb-chips { display: flex; gap: 10px; padding: 18px 0 !important; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.gb-chips::-webkit-scrollbar { display: none; }
.gb-chips li { flex-shrink: 0; }
.gb-chips li:last-child { padding-right: 40px; }
.gb-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.gb-chip span { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 1px 8px; }
.gb-chip:hover { border-color: var(--ink); color: var(--ink); }
.gb-chip.is-active { background: var(--char); border-color: var(--char); color: var(--white); }
.gb-chip.is-active span { background: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }

/* =========================================================
   POST GRID + CARDS
========================================================= */
.gb-list { padding: clamp(36px, 5vw, 64px) 0 var(--section); background: var(--cream); }
.gb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.gb-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.gb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.gb-card-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--green-50); }
.gb-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gb-card:hover .gb-card-img img { transform: scale(1.04); }
.gb-card-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green-300); }
.gb-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; background: var(--amber); color: var(--ink); font-family: var(--font-head); font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.gb-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.gb-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px !important; }
.gb-card-title { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; }
.gb-card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.gb-card:hover .gb-card-title a { color: var(--green-700); }
.gb-card-excerpt { font-size: 14.5px; color: var(--muted); margin-top: 10px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gb-card-more { margin-top: auto; padding-top: 18px; font-size: 14.5px; }
.gb-card:hover .gb-card-more .ges-ico { transform: translateX(4px); }
.gb-card:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }
.gb-card-title a:focus-visible { outline: 0; }

/* Lead story: wide, image beside the copy */
.gb-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.gb-card-featured .gb-card-img { aspect-ratio: auto; min-height: 360px; }
.gb-card-featured .gb-card-body { padding: clamp(26px, 3.5vw, 48px); justify-content: center; }
.gb-card-featured .gb-card-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; }
.gb-card-featured .gb-card-excerpt { font-size: 16px; -webkit-line-clamp: 4; margin-top: 14px !important; }
.gb-card-featured .gb-card-more { margin-top: 26px; padding-top: 0; font-size: 15.5px; }
.gb-card-featured .gb-meta::before { content: 'Latest'; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); margin-right: 4px; }

/* Pagination */
.gb-pages { margin-top: 48px; }
.gb-pages ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.gb-pages .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); transition: border-color .2s ease, background-color .2s ease; }
.gb-pages a.page-numbers:hover { border-color: var(--ink); }
.gb-pages .page-numbers.current { background: var(--char); border-color: var(--char); color: var(--white); }
.gb-pages .page-numbers.dots { background: transparent; border-color: transparent; min-width: 24px; padding: 0; }
.gb-pages-inpost { display: flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; }
.gb-pages-inpost .post-page-numbers { display: inline-grid; place-items: center; min-width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); }
.gb-pages-inpost .post-page-numbers.current { background: var(--char); color: var(--white); border-color: var(--char); }

.gb-empty { text-align: center; background: var(--white); border-radius: var(--r-lg); padding: 56px 24px; border: 1px solid var(--line); }
.gb-empty-title { font-family: var(--font-head); font-weight: 800; font-size: 24px; margin-bottom: 8px !important; }
.gb-empty p:not(.gb-empty-title) { color: var(--muted); margin-bottom: 24px !important; }

/* =========================================================
   QUOTE STRIP (in grid + end of post)
========================================================= */
.gb-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 28px; background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px) clamp(22px, 3.5vw, 40px); }
.gb-band-in-grid { grid-column: 1 / -1; }
.gb-band-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--white); color: var(--green-700); box-shadow: var(--shadow-sm); }
.gb-band-eyebrow { font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.gb-band-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(19px, 2vw, 23px); line-height: 1.25; letter-spacing: -0.02em; margin-top: 4px !important; }
.gb-band-text { font-size: 14.5px; color: var(--muted); margin-top: 6px !important; max-width: 62ch; }
.gb-band-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gb-band-call { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.gb-band-call:hover { color: var(--green-700); }
/* In the article column: copy full width, actions in a row underneath */
.gb-band-post { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.gb-band-post .gb-band-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 10px 20px; }

/* =========================================================
   SINGLE POST
========================================================= */
.gb-post-hero.has-img .gb-hero-inner { padding-bottom: clamp(120px, 14vw, 200px); }
.gb-post-head > * { max-width: 900px; }
.gb-tag-hero { position: static; margin-bottom: 18px; box-shadow: none; transition: background-color .2s ease; }
.gb-tag-hero:hover { background: var(--amber-300); }
.gb-post-title { font-size: clamp(30px, 3.9vw, 50px); line-height: 1.08; }
.gb-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px !important; font-size: 14.5px; color: rgba(255,255,255,.72); }
.gb-post-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.gb-post-meta .ges-ico { color: var(--green-300); }
.gb-post-meta a { color: var(--white); font-weight: 600; }
.gb-post-meta a:hover { color: var(--amber); }
.gb-author-initial { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 13px; }
.gb-updated { color: var(--green-300); font-weight: 600; }

.gb-cover-wrap { position: relative; z-index: 2; margin-top: clamp(-180px, -12.5vw, -100px); }
.gb-cover { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--cream); aspect-ratio: 2 / 1; padding: 3px; background: linear-gradient(135deg, var(--amber), rgba(237,163,33,.15) 35%, rgba(94,132,58,.2) 65%, var(--green)); }
.gb-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-lg) - 3px); }

.gb-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.gb-post-main { min-width: 0; max-width: 760px; }
.gb-side { align-self: stretch; } /* full column height, so the card inside can stick */

/* Sidebar */
.gb-side-sticky { position: sticky; top: 130px; display: grid; gap: 20px; }
.admin-bar .gb-side-sticky { top: 162px; }
.gb-offer { background: radial-gradient(90% 70% at 100% 0%, rgba(237,163,33,.18), transparent 70%), var(--char); color: var(--white); border-radius: var(--r-lg); padding: 28px 26px 24px; }
.gb-offer .ges-eyebrow { margin-bottom: 12px; font-size: 12px; }
.gb-offer-title { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 22px !important; }
.gb-offer-call { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.85); }
.gb-offer-call:hover { color: var(--amber); }
.gb-offer-rating { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255,255,255,.7); text-align: center; }
.gb-offer-rating strong { color: var(--white); }
.gb-toc { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 18px; background: var(--white); }
.gb-side-h { font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px !important; }
.gb-toc ol { counter-reset: toc; display: grid; gap: 2px; max-height: 46vh; overflow-y: auto; }
.gb-toc li { counter-increment: toc; }
.gb-toc a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 7px 10px 7px 8px; border-radius: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.gb-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-size: 11.5px; font-weight: 700; color: var(--green); padding-top: 2px; }
.gb-toc a:hover { background: var(--cream); color: var(--ink); }
.gb-toc a.is-active { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.gb-toc li.is-sub a { padding-left: 22px; font-size: 13.5px; color: var(--muted); }
.gb-toc li.is-sub a::before { content: '–'; color: var(--line); }
.gb-toc li.is-sub a.is-active { color: var(--green-700); }

/* After the article */
.gb-post-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin: 48px 0 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.gb-post-terms { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-post-terms .gb-chip { padding: 7px 14px; font-size: 13.5px; }
.gb-share { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.gb-share > span { margin-right: 4px; }
.gb-share a, .gb-copy { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.gb-share a:hover, .gb-copy:hover { border-color: var(--ink); color: var(--ink); }
.gb-copy.is-done { background: var(--green-50); border-color: var(--green); color: var(--green-700); }
.gb-copy-done { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--char); color: var(--white); font-size: 12px; padding: 0; border-radius: 6px; }
.gb-copy-done:not(:empty) { padding: 5px 9px; }

/* Related */
.gb-related { background: var(--cream); padding: var(--section) 0; }
.gb-related-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.gb-related-title { font-size: clamp(26px, 3.2vw, 38px); }

/* Comments */
.gb-comments { margin-top: 56px; }
.gb-comments-title { font-size: 26px; margin-bottom: 24px !important; }
.gb-comment-list, .gb-comment-list .children { display: grid; gap: 14px; }
.gb-comment-list .children { margin: 14px 0 0 28px !important; padding-left: 20px !important; border-left: 2px solid var(--line); }
.gb-comment-body { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; background: var(--cream); border-radius: var(--r); padding: 18px 20px; }
.gb-comment-initial { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-family: var(--font-head); font-weight: 800; }
.bypostauthor > .gb-comment-body .gb-comment-initial { background: var(--green); color: var(--white); }
.gb-comment-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 13px; color: var(--muted); margin-bottom: 6px !important; }
.gb-comment-meta strong { font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.gb-comment-text { font-size: 15px; color: var(--ink-2); }
.gb-comment-text p + p { margin-top: 10px; }
.gb-comment-wait { font-size: 13px; color: var(--amber-600); font-weight: 600; }
.gb-comment-reply { margin-top: 8px !important; }
.gb-comment-reply a { font-size: 13.5px; font-weight: 700; color: var(--green-700); }
.gb-comments .comment-respond { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.gb-reply-title { font-family: var(--font-head); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.gb-reply-title small { margin-left: 10px; font-size: 13px; }
.gb-reply-title small a { color: var(--green-700); }
.gb-form-note, .gb-comments .logged-in-as { font-size: 13.5px; color: var(--muted); margin: 8px 0 18px !important; }
.gb-comments .comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.gb-comments .comment-form > p { grid-column: 1 / -1; }
.gb-comments .comment-form-author, .gb-comments .comment-form-email { grid-column: auto !important; }
.gb-comments .comment-form-url { display: none; }
.gb-comments .comment-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.gb-comments .comment-form :is(input[type=text], input[type=email], input[type=url], textarea) { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.gb-comments .comment-form :is(input, textarea):focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-100); }
.gb-comments .comment-form textarea { min-height: 130px; resize: vertical; }
.gb-comments .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.gb-comments .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.gb-comments .comment-form-cookies-consent input { margin-top: 4px; accent-color: var(--green); }
.gb-comments .form-submit { margin-top: 4px !important; }

/* Standalone pages */
.gb-page-body { padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section); }
.gb-page-body .gb-entry { max-width: 760px; }

/* =========================================================
   POST CONTENT (Gutenberg blocks from the editor)
========================================================= */
.gb-entry { font-size: 17px; line-height: 1.75; color: var(--ink-2); overflow-wrap: break-word; }
.gb-entry > * + * { margin-top: 1.25em; }
.gb-entry > :first-child { margin-top: 0 !important; }
.gb-entry :is(h2, h3, h4, h5, h6) { color: var(--ink); scroll-margin-top: 130px; }
.gb-entry h2 { font-size: clamp(25px, 2.6vw, 31px); line-height: 1.2; letter-spacing: -0.025em; margin-top: 2em; margin-bottom: -.35em; }
.gb-entry h3 { font-size: clamp(20px, 2vw, 23px); line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; margin-top: 1.7em; margin-bottom: -.5em; }
.gb-entry :is(h4, h5, h6) { font-family: var(--font-head); font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; margin-top: 1.6em; margin-bottom: -.6em; }
.gb-entry strong { color: var(--ink); font-weight: 600; }
.gb-entry a:not(.wp-block-button__link):not(.wp-element-button) { color: var(--green-700); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--green) 40%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .2s ease, color .2s ease; }
.gb-entry a:not(.wp-block-button__link):not(.wp-element-button):hover { color: var(--green); text-decoration-color: currentColor; }

/* Lists */
.gb-entry :is(ul, ol):not(.wp-block-gallery):not(.blocks-gallery-grid):not(.wp-block-latest-posts) { padding-left: 0; display: grid; gap: .5em; }
.gb-entry ul:not(.wp-block-gallery):not(.blocks-gallery-grid):not(.wp-block-latest-posts) > li { position: relative; padding-left: 1.6em; }
.gb-entry ul:not(.wp-block-gallery):not(.blocks-gallery-grid):not(.wp-block-latest-posts) > li::before { content: ''; position: absolute; left: .25em; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-100); }
.gb-entry ol:not(.wp-block-latest-posts) { counter-reset: gbol; }
.gb-entry ol:not(.wp-block-latest-posts) > li { position: relative; padding-left: 2.1em; counter-increment: gbol; }
.gb-entry ol:not(.wp-block-latest-posts) > li::before { content: counter(gbol); position: absolute; left: 0; top: .2em; display: grid; place-items: center; width: 1.55em; height: 1.55em; border-radius: 50%; background: var(--green-50); color: var(--green-700); font-family: var(--font-head); font-size: .8em; font-weight: 800; }
.gb-entry li > :is(ul, ol) { margin-top: .5em; }

/* Images, figures, galleries */
.gb-entry :is(figure, .wp-block-image) { margin-left: 0; margin-right: 0; }
.gb-entry figure { margin-top: 1.75em; margin-bottom: 0; }
.gb-entry figure + * { margin-top: 1.75em; }
.gb-entry .wp-block-image img, .gb-entry > p > img, .gb-entry figure > img { border-radius: var(--r); }
.gb-entry .wp-block-image.is-style-rounded img { border-radius: 999px; }
.gb-entry figcaption, .gb-entry .wp-element-caption { font-size: 13.5px; line-height: 1.5; color: var(--muted); text-align: center; margin-top: 10px; }
.gb-entry .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.gb-entry .aligncenter img { margin-left: auto; margin-right: auto; }
.gb-entry .alignleft { float: left; margin: .4em 1.5em 1em 0; max-width: 50%; }
.gb-entry .alignright { float: right; margin: .4em 0 1em 1.5em; max-width: 50%; }
.gb-entry .alignwide, .gb-entry .alignfull { max-width: 100%; }
.gb-entry::after { content: ''; display: table; clear: both; }
.gb-entry .wp-block-gallery { gap: 10px; }
.gb-entry .wp-block-gallery img { border-radius: 12px; }
.gb-entry .wp-block-columns { gap: 1.5em; }
.gb-entry .wp-block-media-text { gap: 1.5em; background: var(--cream); border-radius: var(--r); overflow: hidden; }

/* Tables (system specs, rebate breakdowns) */
.gb-entry .wp-block-table, .gb-scroll-x { margin-left: 0; margin-right: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gb-entry table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.gb-entry .wp-block-table table { border-collapse: separate; }
.gb-entry :is(th, td) { padding: 13px 16px; text-align: left; vertical-align: top; border: 0 !important; border-bottom: 1px solid var(--line) !important; }
.gb-entry tr:last-child > :is(td, th) { border-bottom: 0 !important; }
.gb-entry :is(td, th) + :is(td, th) { border-left: 1px solid var(--line) !important; }
.gb-entry thead th, .gb-entry thead td { background: var(--char); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.gb-entry tbody tr:nth-child(even) { background: var(--cream); }
.gb-entry td:first-child { color: var(--ink); font-weight: 500; }
.gb-entry tbody tr:last-child td strong { color: var(--green-700); }
.gb-entry .wp-block-table figcaption { text-align: left; }
.gb-entry .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--white); }

/* Buttons: brand amber pills (posts carry old theme colours inline) */
.gb-entry .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.gb-entry .wp-block-buttons.is-content-justification-center { justify-content: center; }
.gb-entry .wp-block-buttons.is-content-justification-right { justify-content: flex-end; }
.gb-entry .wp-block-button { margin: 0; }
.gb-entry :is(.wp-block-button__link, .wp-element-button) { display: inline-flex; align-items: center; gap: 10px; background: var(--amber) !important; color: var(--ink) !important; font-family: var(--font-head) !important; font-weight: 700 !important; font-size: 15px !important; line-height: 1.25 !important; padding: 13px 22px !important; border-radius: 999px !important; border: 0 !important; text-decoration: none !important; box-shadow: 0 8px 24px rgba(237,163,33,.3); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.gb-entry :is(.wp-block-button__link, .wp-element-button)::after { content: '→'; font-weight: 700; transition: transform .2s ease; }
.gb-entry :is(.wp-block-button__link, .wp-element-button):hover { background: var(--amber-300) !important; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(237,163,33,.4); }
.gb-entry :is(.wp-block-button__link, .wp-element-button):hover::after { transform: translateX(3px); }
.gb-entry .is-style-outline .wp-block-button__link { background: transparent !important; box-shadow: inset 0 0 0 2px var(--ink); }

/* Quotes, callouts, code, separators */
.gb-entry blockquote, .gb-entry .wp-block-quote { margin-left: 0; margin-right: 0; padding: 22px 26px; background: var(--green-50); border-left: 4px solid var(--green); border-radius: 0 var(--r) var(--r) 0; font-size: 18px; color: var(--ink); }
.gb-entry blockquote p + p { margin-top: .75em; }
.gb-entry blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; font-weight: 600; color: var(--green-700); }
.gb-entry .wp-block-pullquote { border: 0; padding: 28px; text-align: left; background: var(--char); color: var(--white); border-radius: var(--r-lg); }
.gb-entry .wp-block-pullquote blockquote { background: transparent; border: 0; padding: 0; color: inherit; font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.gb-entry .has-background:not(.wp-block-button__link):not(.wp-element-button):not(.wp-block-pullquote) { border-radius: var(--r); padding: 22px 26px; }
/* Coloured paragraphs from the old theme become one consistent brand callout */
.gb-entry p.has-background { background: var(--green-50) !important; color: var(--ink) !important; border-left: 4px solid var(--green); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; font-size: 16px; }
.gb-entry .wp-block-group.has-background { padding: clamp(20px, 3vw, 30px); }
.gb-entry hr, .gb-entry .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; opacity: 1; }
.gb-entry pre, .gb-entry .wp-block-preformatted { font-family: var(--font-body); font-size: 15px; line-height: 1.65; white-space: pre-wrap; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; color: var(--ink-2); overflow-x: auto; }
.gb-entry code { font-size: .9em; background: var(--cream); border-radius: 6px; padding: 2px 6px; }
.gb-entry pre code { background: none; padding: 0; }
.gb-entry .wp-block-embed { margin-left: 0; margin-right: 0; }
.gb-entry .wp-block-embed__wrapper { position: relative; border-radius: var(--r); overflow: hidden; }
.gb-entry .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper::before { content: ''; display: block; padding-top: 56.25%; }
.gb-entry .wp-block-embed.wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.gb-entry iframe { max-width: 100%; border: 0; }
.gb-entry .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 18px; background: var(--cream); border-radius: var(--r); }
.gb-entry .wp-block-file__button { background: var(--char) !important; color: var(--white) !important; border-radius: 999px !important; padding: 8px 16px !important; font-size: 14px !important; text-decoration: none !important; }
.gb-entry details { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
.gb-entry details summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.gb-entry details[open] summary { margin-bottom: 10px; }

/* Blocks that came from the old theme's sidebar or shortcodes */
.gb-entry .wp-block-latest-posts { display: grid; gap: 10px; padding: 0; }
.gb-entry .wp-block-latest-posts a { font-weight: 600; }
.gb-entry .wp-block-search { display: none; }
.gb-entry .fluentform { margin-top: 1.75em; padding: clamp(20px, 3vw, 30px); background: var(--cream); border-radius: var(--r-lg); font-size: 15px; line-height: 1.5; }
.gb-entry .fluentform .ff-el-input--label label { font-weight: 600; color: var(--ink); font-size: 14px; }
.gb-entry .fluentform :is(.ff-el-form-control, input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea) { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease; }
.gb-entry .fluentform :is(.ff-el-form-control, input, select, textarea):focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-100); }
.gb-entry .fluentform :is(.ff-btn-submit, button[type=submit]) { background: var(--amber) !important; color: var(--ink) !important; border: 0 !important; border-radius: 999px !important; font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 13px 26px !important; box-shadow: 0 8px 24px rgba(237,163,33,.3); }
.gb-entry .fluentform :is(.ff-btn-submit, button[type=submit]):hover { background: var(--amber-300) !important; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
    .gb-post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
    .gb-offer-title { font-size: 20px; }
}
@media (max-width: 1024px) {
    .gb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gb-grid-3 > :nth-child(3) { display: none; }
    .gb-card-featured { grid-template-columns: 1fr; }
    .gb-card-featured .gb-card-img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
    .gb-post-layout { grid-template-columns: minmax(0, 1fr); }
    .gb-post-main { max-width: none; }
    .gb-side { order: -1; }
    .gb-side-sticky { position: static; }
    .gb-toc, .gb-offer-rating { display: none; }
    .gb-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; padding: 20px 22px; }
    .gb-offer .ges-eyebrow { grid-column: 1 / -1; margin-bottom: 2px; }
    .gb-offer-title { font-size: 18px; margin: 0 !important; }
    .gb-offer .ges-btn { width: auto; grid-row: 2 / 4; grid-column: 2; }
    .gb-offer-call { justify-content: flex-start; margin-top: 6px; font-size: 13.5px; }
    .gb-band { grid-template-columns: auto minmax(0, 1fr); }
    .gb-band-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 18px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .gb-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .gb-grid-3 > :nth-child(3) { display: flex; }
    .gb-card-body { padding: 20px; }
    .gb-search { padding-left: 14px; }
    .gb-search button { padding: 11px 16px; }
    .gb-post-hero.has-img .gb-hero-inner { padding-bottom: 96px; }
    .gb-cover-wrap { margin-top: -72px; }
    .gb-cover { aspect-ratio: 3 / 2; }
    .gb-post-meta { gap: 8px 16px; font-size: 13.5px; }
    .gb-offer { grid-template-columns: minmax(0, 1fr); }
    .gb-offer .ges-btn { grid-row: auto; grid-column: auto; width: 100%; margin-top: 12px; }
    .gb-offer-call { justify-content: center; }
    .gb-entry { font-size: 16.5px; }
    .gb-entry .alignleft, .gb-entry .alignright { float: none; margin: 1.5em 0 0; max-width: 100%; }
    .gb-band { grid-template-columns: minmax(0, 1fr); text-align: left; }
    .gb-band-ico { width: 48px; height: 48px; }
    .gb-band-actions .ges-btn { width: 100%; }
    .gb-band-actions { justify-content: center; }
    .gb-comments .comment-form { grid-template-columns: minmax(0, 1fr); }
    .gb-post-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .gb-card, .gb-card-img img, .gb-entry .wp-block-button__link { transition: none; }
    .gb-card:hover, .gb-card:hover .gb-card-img img { transform: none; }
}

/* =========================================================
   TRUST: accreditation band (listing), badges in the offer card, review on posts
========================================================= */
.gb-hero + .ges-trustband { box-shadow: none; }

/* Offer card: three compact badges, mark above name */
.gb-offer .ges-badges-dark { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.gb-offer .ges-badges-dark .ges-badge { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 10px 6px; border-radius: 12px; text-align: center; min-width: 0; }
.gb-offer .ges-badges-dark .ges-badge-mark { width: 34px; height: 34px; }
.gb-offer .ges-badges-dark .ges-badge-txt strong { font-size: 12px; line-height: 1.2; }
.gb-offer .ges-badges-dark .ges-badge-txt small { display: none; }
.gb-offer .ges-badges-dark a.ges-badge:hover { transform: translateY(-2px); }

/* Customer review before the quote strip */
.gb-review { position: relative; margin: 0 0 24px; padding: 26px 28px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.gb-review-mark { position: absolute; right: 22px; top: 20px; color: var(--green-100); }
.gb-review-stars { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px !important; }
.gb-review blockquote { margin: 0; }
.gb-review blockquote p { font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.gb-review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.gb-review figcaption > span:nth-child(2) { display: grid; margin-right: auto; }
.gb-review figcaption strong { font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.gb-review figcaption small { font-size: 13px; }
.gb-review-initial { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-family: var(--font-head); font-weight: 800; }

@media (max-width: 900px) {
    .gb-offer .ges-badges-dark { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .gb-review { padding: 22px 20px 18px; }
    .gb-offer .ges-badges-dark { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
}
