/* Editorial layouts use the shop's Barlow typography and Gabex palette. */
.gx-blog { padding-block: 2.5rem 5rem; }
.gx-blog :where(a):focus-visible { outline: 2px solid #E30613; outline-offset: 5px; }
.gx-blog-crumbs { display:flex; flex-wrap:wrap; gap:.6rem; font-size:.875rem; color:#596168; margin-bottom:2.5rem; }
.gx-blog-crumbs a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.gx-blog-head { border-bottom:1px solid #D7D7D9; padding-bottom:2.75rem; margin-bottom:2.75rem; }
.gx-blog .gx-blog-eyebrow { color:#B7050F; text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; font-weight:600; margin:0 0 1rem; }
.gx-blog h1 { font-size:clamp(2.5rem,4.2vw,4.5rem); line-height:1.05; margin:0 0 1.25rem; max-width:960px; }
.gx-blog-head > p:last-child { font-size:1.2rem; color:#3D4448; line-height:1.65; max-width:680px; margin:0; }
.gx-blog .gx-blog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem; list-style:none; padding:0; }
.gx-blog-grid > li { min-width:0; margin:0; }
.gx-blog .gx-blog-card { background:#fff; border:1px solid #D7D7D9; height:100%; display:flex; flex-direction:column; overflow:hidden; margin:0; }
.gx-blog .gx-blog-card-image { display:block; aspect-ratio:3/2; margin:0; overflow:hidden; background:#ECECEE; }
.gx-blog-card-image a { display:block; height:100%; }
.gx-blog .gx-blog-card-image img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .2s ease; }
@media (prefers-reduced-motion:no-preference) { .gx-blog-card:has(a:hover) .gx-blog-card-image img { transform:scale(1.025); } }
.gx-blog .gx-blog-card-body { padding:1.5rem; margin:0; display:flex; flex-direction:column; gap:.9rem; flex:1; }
.gx-blog .gx-blog-card-body > * { margin:0; }
.gx-blog .wp-block-post-date { font-size:.83rem; color:#596168; }
.gx-blog .gx-blog-card h2, .gx-blog .gx-blog-card h3 { font-size:1.65rem; line-height:1.15; }
.gx-blog .gx-blog-card h2 a, .gx-blog .gx-blog-card h3 a { color:#17191A; }
.gx-blog .gx-blog-card h2 a:hover, .gx-blog .gx-blog-card h3 a:hover { color:#B7050F; }
.gx-blog-card-body p { color:#3D4448; line-height:1.65; }
.gx-blog .wp-block-read-more { margin-top:auto; padding-top:.6rem; font-weight:600; color:#B7050F; }
.gx-blog .wp-block-query-pagination { padding-top:2rem; gap:1rem; }
.gx-blog .page-numbers { display:inline-block; padding:.65rem 1rem; border:1px solid #D7D7D9; }
.gx-blog .page-numbers.current { background:#17191A; color:white; }
.gx-blog-article-head { max-width:900px; margin:0 auto 2rem; }
.gx-blog-article-head h1 { margin-bottom:1.25rem; }
.gx-blog .gx-blog-cover { max-width:1040px; margin:2rem auto 3rem; background:#ECECEE; }
.gx-blog .gx-blog-cover img { display:block; width:100%; height:auto; max-height:580px; object-fit:contain; }
.gx-blog .gx-blog-content { max-width:780px; margin:0 auto; font-size:1.125rem; line-height:1.8; color:#30373B; overflow-wrap:anywhere; }
.gx-blog-content > * { margin-block:1.3rem; }
.gx-blog-content h2 { font-size:2rem; line-height:1.2; margin-top:2.75rem; }
.gx-blog-content h3 { font-size:1.55rem; line-height:1.25; margin-top:2rem; }
.gx-blog-content :is(img,video,iframe) { max-width:100%; }
.gx-blog-content img { height:auto; }
.gx-blog-content figure { margin:2rem 0; }
.gx-blog-content figure img { display:block; margin-inline:auto; }
.gx-blog-content figcaption { color:#596168; font-size:.9rem; line-height:1.5; margin-top:.65rem; text-align:center; }
.gx-blog-content a { color:#B7050F; text-decoration:underline; text-underline-offset:3px; }
.gx-blog-content :is(ul,ol) { padding-left:1.5rem; }
.gx-blog-content li { margin-bottom:.55rem; }
.gx-blog-content table { width:100%; border-collapse:collapse; }
.gx-blog-content :is(th,td) { border:1px solid #D7D7D9; padding:.7rem; }
.gx-blog-back { max-width:780px; margin:2.5rem auto 0; border-top:1px solid #D7D7D9; padding-top:1.5rem; font-weight:600; }
.gx-blog-related { border-top:1px solid #D7D7D9; padding-top:3rem; margin-top:4rem; }
.gx-blog-section-head { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:1rem; margin-bottom:1.75rem; }
.gx-blog-section-head h2 { font-size:2.25rem; margin:0; }
.gx-blog-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem; }
.gx-blog-cta { display:flex; justify-content:space-between; align-items:center; gap:2.5rem; padding:2.5rem; border-top:3px solid #E30613; background:#fff; margin-top:3.5rem; }
.gx-blog-cta h2 { font-size:2rem; margin:0 0 .8rem; }
.gx-blog-cta p:last-child { margin:0; color:#3D4448; max-width:650px; }
.gx-blog-cta > a { flex-shrink:0; }
@media (max-width:1000px) { .gx-blog .gx-blog-grid,.gx-blog-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .gx-blog-cta { align-items:flex-start; flex-direction:column; } }
@media (max-width:600px) { .gx-blog { padding-block:1.5rem 3rem; } .gx-blog-crumbs { margin-bottom:1.75rem; font-size:.8rem; } .gx-blog .gx-blog-grid,.gx-blog-related-grid { grid-template-columns:1fr; gap:1.5rem; } .gx-blog-head { padding-bottom:2rem; margin-bottom:2rem; } .gx-blog .gx-blog-content { font-size:1.05rem; line-height:1.75; } .gx-blog .gx-blog-cover { margin:1.5rem auto 2rem; } .gx-blog-cta { padding:1.5rem; } .gx-blog-cta > a { white-space:normal; } }
/* Keep contact actions below the reading area on narrow screens. */
@media (max-width:767px) {
	body:has(.gx-blog) { padding-bottom:calc(64px + env(safe-area-inset-bottom)); }
	body:has(.gx-blog) .gabex-sticky { left:0 !important; right:0 !important; bottom:0 !important; width:100% !important; flex-direction:row !important; gap:0 !important; padding:0 0 env(safe-area-inset-bottom) !important; background:#fff; border-top:1px solid #D7D7D9; }
	body:has(.gx-blog) .gabex-sticky__item { flex:1 !important; width:auto !important; height:60px !important; flex-direction:column !important; gap:4px !important; border:0 !important; box-shadow:none; padding:7px !important; }
	body:has(.gx-blog) .gabex-sticky__label { display:block !important; font-size:12px; line-height:1.2; }
	body:has(.gx-blog) .gabex-sticky__quote .gabex-quote-count { display:none !important; }
}
