/*
Theme Name: JINCHI GLOBAL B2B
Theme URI: https://jinchiglobal.com/
Description: JINCHI GLOBAL B2B child theme for Astra. Light design system driven by Elementor Global Colors/Fonts, B2B catalogue (FOB tier pricing, MOQ, inquiry basket, filters) and a single "JINCHI Settings" page for company facts.
Author: JINCHI GLOBAL
Version: 2.6.8
Requires at least: 6.5
Requires PHP: 8.0
Template: astra
Text Domain: jinchi-global-b2b
*/

/* --------------------------------------------------------------------------
   Design tokens.
   Every value falls back to the approved palette but is driven by the
   Elementor Site Settings > Global Colors / Global Fonts when they exist, so
   colours and fonts are edited in ONE place (Elementor), not in this file.
   Defined on body because Elementor prints its globals on .elementor-kit-N
   (a body class).  #7EBDFD is the logo colour and must never be changed.
   -------------------------------------------------------------------------- */
:root, body {
	--jc-brand: var(--e-global-color-accent, #1A64B3);
	--jc-brand-hover: var(--e-global-color-jchover, #14508F);
	--jc-logo: var(--e-global-color-jclogo, #7EBDFD);
	--jc-tint: var(--e-global-color-jctint, #EAF4FF);
	--jc-bg: var(--e-global-color-jcbg, #FFFFFF);
	--jc-bg-alt: var(--e-global-color-jcbgalt, #F5F7F9);
	--jc-steel: var(--e-global-color-jcsteel, #E3E8EC);
	--jc-text: var(--e-global-color-text, #1D2A31);
	--jc-heading: var(--e-global-color-primary, #1D2A31);
	--jc-muted: var(--e-global-color-secondary, #4A5A64);
	--jc-border: var(--e-global-color-jcborder, #D9E0E6);
	--jc-font: var(--e-global-typography-text-font-family, "Familjen Grotesk"), "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
	--jc-font-heading: var(--e-global-typography-primary-font-family, "Familjen Grotesk"), "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
	--jc-radius: 10px;
	--jc-radius-sm: 6px;
	--jc-shadow: 0 10px 28px rgba(29, 42, 49, .08);
	--jc-content: 1200px;

	/* Legacy names used by the v1.x PHP-rendered pages, mapped onto the new palette. */
	--jg-ink: var(--jc-text);
	--jg-muted: var(--jc-muted);
	--jg-brand: var(--jc-brand);
	--jg-brand-dark: var(--jc-brand-hover);
	--jg-accent: var(--jc-logo);
	--jg-paper: var(--jc-bg-alt);
	--jg-line: var(--jc-border);
	--jg-white: var(--jc-bg);
	--jg-radius: var(--jc-radius);
	--jg-content: var(--jc-content);
	--jg-shadow: var(--jc-shadow);
}

html { scroll-behavior: smooth; }
body { color: var(--jg-ink); font-family: var(--jc-font); line-height: 1.6; background: var(--jc-bg); }
.ast-container, .site-primary-footer-wrap .ast-builder-grid-row-container-inner { max-width: var(--jg-content); }
h1, h2, h3, h4, h5, h6, .entry-title { color: var(--jc-heading); font-family: var(--jc-font-heading); font-weight: 600; letter-spacing: -.025em; line-height: 1.16; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
/* Muted copy only inside theme-rendered blocks, so Elementor widget colours always win. */
:where(.jg-page, .jg-footer, .jinchi-b2b-section, .woocommerce, .jc-scope) :is(p, li) { color: var(--jg-muted); }
a { text-underline-offset: .18em; }

/* Header, navigation and mobile menu */
.site-header, .ast-primary-header-bar { border-bottom: 1px solid var(--jg-line); background: var(--jc-bg); }
.main-header-menu .menu-link { color: var(--jg-ink); font-size: .94rem; font-weight: 400; letter-spacing: .01em; padding-inline: 13px; }
.main-header-menu .menu-link:hover, .main-header-menu .current-menu-item > .menu-link { color: var(--jg-brand); }
.main-header-menu .jg-menu-cta .menu-link { margin-left: 8px; border-radius: 5px; background: var(--jg-brand); color: #fff; padding: 11px 16px; }
.main-header-menu .jg-menu-cta .menu-link:hover { background: var(--jg-brand-dark); color: #fff; }
.ast-header-button-1 .ast-custom-button, .wp-block-button__link, .button, .single_add_to_cart_button, .jinchi-b2b-inquiry-link {
	border: 0; border-radius: 5px; background: var(--jg-brand); color: var(--jg-white) !important;
	font-weight: 700; line-height: 1.25; padding: 14px 21px; text-decoration: none; transition: background .18s ease, transform .18s ease;
}
.ast-header-button-1 .ast-custom-button:hover, .wp-block-button__link:hover, .button:hover, .single_add_to_cart_button:hover, .jinchi-b2b-inquiry-link:hover { background: var(--jg-brand-dark); transform: translateY(-1px); }
.menu-toggle, .ast-mobile-menu-trigger-minimal { color: var(--jg-ink); }

/* Editorial page modules */
.jg-page { overflow: hidden; }
.jg-wrap { width: min(var(--jg-content), calc(100% - 48px)); margin-inline: auto; }
.jg-hero { position: relative; padding: clamp(72px, 10vw, 132px) 0; background: linear-gradient(110deg, var(--jc-tint) 0%, var(--jc-bg) 58%, var(--jc-bg-alt) 100%); }
.jg-hero::after { position: absolute; right: 7%; bottom: 14%; width: 150px; height: 4px; background: var(--jg-accent); content: ""; }
.jg-eyebrow { margin: 0 0 18px; color: var(--jg-brand); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.jg-hero h1 { max-width: 850px; margin: 0 0 22px; }
.jg-lede { max-width: 690px; margin: 0; font-size: clamp(1.06rem, 1.8vw, 1.28rem); }
.jg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.jg-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--jg-brand); border-radius: 5px; background: var(--jg-brand); color: white; font-weight: 700; padding: 12px 20px; text-decoration: none; }
.jg-actions a.jg-secondary { background: transparent; color: var(--jg-brand); }
.jg-section { padding: clamp(54px, 8vw, 92px) 0; }
.jg-section--soft { background: var(--jg-paper); }
.jg-section-head { max-width: 720px; margin-bottom: 34px; }
.jg-section-head h2 { margin: 0 0 13px; }
.jg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.jg-card { height: 100%; border: 1px solid var(--jg-line); border-radius: var(--jg-radius); background: var(--jg-white); padding: 26px; }
.jg-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.jg-card p { margin: 0 0 16px; }
.jg-card a, .jg-text-link { color: var(--jg-brand); font-weight: 700; }
.jg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); align-items: center; gap: clamp(32px, 7vw, 86px); }
.jg-note { border-left: 4px solid var(--jg-accent); background: var(--jg-paper); padding: 28px; }
.jg-note p:last-child { margin-bottom: 0; }
.jg-steps { counter-reset: jg-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.jg-step { border-top: 2px solid var(--jg-accent); padding: 22px 4px; }
.jg-step::before { counter-increment: jg-step; content: "0" counter(jg-step); display: block; margin-bottom: 18px; color: var(--jg-brand); font-size: .85rem; font-weight: 800; letter-spacing: .1em; }
.jg-step h3 { margin: 0 0 8px; }
.jg-cta { background: var(--jc-brand); padding: clamp(42px, 6vw, 66px) 0; }
.jg-cta h2, .jg-cta p { color: white; }
.jg-cta h2 { margin: 0 0 12px; }
.jg-cta .jg-actions a { background: #fff; color: var(--jc-brand); border-color: #fff; }
.jg-cta .jg-actions a.jg-secondary { color: white; background: transparent; }

/* WooCommerce archive and product detail */
.woocommerce-products-header, .woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 24px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; overflow: hidden; border: 1px solid var(--jg-line); border-radius: var(--jg-radius); background: #fff; padding: 14px 14px 20px; box-shadow: none; }
.woocommerce ul.products li.product a img { aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px; background: var(--jg-paper); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--jg-ink); font-size: 1.08rem; font-weight: 700; }

.woocommerce ul.products li.product .button { margin-top: 10px; }
.woocommerce ul.products li.product-category a img { aspect-ratio: 4 / 3; object-fit: cover; }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.single-product div.product .summary { width: 100% !important; float: none !important; }
.single-product div.product .product_title { font-size: clamp(2rem, 4vw, 3rem); }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--jg-radius); background: var(--jg-paper); }
.jinchi-b2b-section { max-width: 850px; margin: 30px auto; border-bottom: 1px solid var(--jg-line); padding: 0 0 28px; }
.jinchi-b2b-section h2 { font-size: 1.5rem; }
.jinchi-b2b-specifications dl { display: grid; grid-template-columns: minmax(160px, .8fr) 1.2fr; margin: 0; }
.jinchi-b2b-specifications dt, .jinchi-b2b-specifications dd { margin: 0; border-bottom: 1px solid var(--jg-line); padding: 12px 10px; }
.jinchi-b2b-specifications dt { color: var(--jg-ink); font-weight: 700; }
.jinchi-b2b-procurement dl { display: grid; grid-template-columns: minmax(160px, .8fr) 1.2fr; margin: 0; }
.jinchi-b2b-procurement dt, .jinchi-b2b-procurement dd { margin: 0; border-bottom: 1px solid var(--jg-line); padding: 12px 10px; }
.jinchi-b2b-procurement dt { font-weight: 700; }
.jinchi-b2b-resources__figure { max-width: 680px; margin: 0; }
.jinchi-b2b-resources__image { display: block; width: 100%; max-height: 480px; object-fit: contain; border: 1px solid var(--jg-line); border-radius: var(--jg-radius); background: var(--jg-paper); }
.jinchi-b2b-resources__figure figcaption { margin-top: 8px; color: var(--jg-muted); font-size: .9rem; }

/* Inquiry form and footer */
.srfm-form, .srfm-form-container { max-width: 820px; }
.srfm-form label, .srfm-form .srfm-label { color: var(--jg-ink); font-weight: 650; }
.srfm-form input, .srfm-form select, .srfm-form textarea { min-height: 48px; border: 1px solid var(--jc-border) !important; border-radius: 5px !important; background: white; padding: 11px 13px !important; }
.srfm-form textarea { min-height: 150px; }
.srfm-form input:focus, .srfm-form select:focus, .srfm-form textarea:focus { outline: 2px solid var(--jc-tint); border-color: var(--jg-brand) !important; }
.srfm-form button[type=submit] { min-height: 48px; border-radius: 5px; background: var(--jg-brand); font-weight: 700; padding: 12px 24px; }
.site-footer, .site-primary-footer-wrap { background: var(--jc-bg-alt); color: var(--jc-text); }
.site-footer p, .site-primary-footer-wrap p, .site-primary-footer-wrap a { color: var(--jc-muted); }
.site-primary-footer-wrap a:hover { color: var(--jc-brand); }
.site-below-footer-wrap { border-top: 1px solid var(--jc-border); background: var(--jc-bg-alt); color: var(--jc-muted); }

@media (max-width: 921px) {
	.ast-container, .site-primary-footer-wrap .ast-builder-grid-row-container-inner { padding-inline: 22px; }
	.jg-wrap { width: min(var(--jg-content), calc(100% - 40px)); }
	.single-product div.product { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.jg-wrap { width: calc(100% - 36px); }
	.jg-hero { padding: 68px 0 76px; }
	.jg-hero::after { right: 18px; bottom: 22px; width: 78px; }
	.jg-grid, .jg-steps { grid-template-columns: 1fr; gap: 12px; }
	.jg-split { grid-template-columns: 1fr; }
	.jg-section { padding: 52px 0; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.woocommerce ul.products li.product { padding: 8px 8px 14px; }
	.single-product div.product .product_title { font-size: 2rem; }
	.jinchi-b2b-specifications dl { grid-template-columns: 1fr; }
	.jinchi-b2b-specifications dt { padding-bottom: 2px; border-bottom: 0; }
	.jinchi-b2b-specifications dd { padding-top: 2px; }
	.jinchi-b2b-procurement dl { grid-template-columns: 1fr; }
	.jinchi-b2b-procurement dt { padding-bottom: 2px; border-bottom: 0; }
	.jinchi-b2b-procurement dd { padding-top: 2px; }
	.ast-header-break-point .main-header-menu .jg-menu-cta .menu-link { display: inline-flex; margin: 8px 14px 14px; }
}
@media (max-width: 390px) {
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.jg-actions { align-items: stretch; flex-direction: column; }
}
/* Language entry notice shown only for visitors arriving through Español. */
.jg-language-notice {
	position: relative;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--jc-tint);
	color: var(--jc-text);
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.5;
}

.jg-language-notice p {
	margin: 0;
}

/* ==========================================================================
   v1.2.0 — Day 1 build
   Brand header · homepage modules · four-column footer
   ========================================================================== */

/* --- Front page: sections run edge to edge, .jg-wrap restores the column --- */
.home .site-content > .ast-container { max-width: none; padding-inline: 0; }
.home .site-content #primary { margin: 0; padding: 0; }
.home .entry-content { margin-block: 0; }

/* --- Header: brand mark, retired commerce icons, right-aligned CTA --- */
.site-header .site-branding .custom-logo-link { display: inline-flex; align-items: center; }
.site-header .site-branding img.custom-logo { display: block; width: auto; height: auto; max-height: 46px; }
#ast-desktop-header .ast-header-woo-cart,
#ast-desktop-header .ast-header-account,
#ast-mobile-header .ast-header-woo-cart,
#ast-mobile-header .ast-header-account,
.ast-mobile-header-wrap .ast-header-woo-cart,
.ast-mobile-header-wrap .ast-header-account { display: none !important; }

.site-header-primary-section-left { flex: 1 1 auto; }
.site-header-primary-section-left .ast-builder-menu-1,
.site-header-primary-section-left .main-header-bar-navigation,
.site-header-primary-section-left .main-navigation,
.site-header-primary-section-left #ast-hf-menu-1 { flex: 1 1 auto; }
.main-header-menu .jg-menu-cta { margin-left: auto; }
.main-header-menu .jg-menu-cta > .menu-link { white-space: nowrap; }

/* --- Buttons usable outside .jg-actions --- */
.jg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--jg-brand); border-radius: 5px; background: var(--jg-brand); color: var(--jg-white); font-weight: 700; padding: 12px 22px; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.jg-btn:hover, .jg-btn:focus { border-color: var(--jg-brand-dark); background: var(--jg-brand-dark); color: var(--jg-white); }
.jg-btn.jg-secondary { background: transparent; color: var(--jg-brand); }
.jg-btn.jg-secondary:hover, .jg-btn.jg-secondary:focus { background: var(--jg-brand); color: var(--jg-white); }

/* --- Homepage hero --- */
.jg-hero--band { overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; }
.jg-hero--band::after { display: none; }
.jg-hero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: center; gap: clamp(32px, 5vw, 68px); }
.jg-hero__copy h1 { max-width: 20ch; }
.jg-hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; }
.jg-hero__points li { position: relative; padding-left: 20px; color: var(--jg-ink); font-size: .95rem; font-weight: 600; }
.jg-hero__points li::before { position: absolute; left: 0; top: .68em; width: 9px; height: 2px; background: var(--jg-accent); content: ""; }
.jg-hero__panel { border: 1px solid var(--jg-line); border-radius: var(--jg-radius); background: var(--jg-white); box-shadow: var(--jg-shadow); padding: 26px 28px; }
.jg-hero__panel-title { margin: 0 0 12px; color: var(--jg-brand); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.jg-hero__panel ul { margin: 0; padding: 0; list-style: none; }
.jg-hero__panel li { border-bottom: 1px solid var(--jg-line); padding: 11px 0; color: var(--jg-ink); font-weight: 600; }
.jg-hero__panel li:last-child { border-bottom: 0; }
.jg-hero__panel-note { margin: 16px 0 0; color: var(--jg-muted); font-size: .9rem; }

/* --- Capability strip --- */
.jg-capabilities { border-top: 1px solid var(--jg-line); border-bottom: 1px solid var(--jg-line); background: var(--jg-white); }
.jg-capabilities__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jg-capability { border-left: 1px solid var(--jg-line); padding: 34px 26px; }
.jg-capability:first-child { border-left: 0; }
.jg-capability h2 { margin: 0 0 8px; color: var(--jg-ink); font-size: 1.04rem; letter-spacing: -.01em; }
.jg-capability p { margin: 0; font-size: .93rem; }

/* --- Product line cards --- */
.jg-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.jg-line { display: flex; flex-direction: column; border: 1px solid var(--jg-line); border-top: 3px solid var(--jg-brand); border-radius: var(--jg-radius); background: var(--jg-white); padding: 24px; }
.jg-line h3 { margin: 0 0 10px; font-size: 1.15rem; }
.jg-line p { margin: 0 0 18px; }
.jg-line a { margin-top: auto; }
.jg-section-foot { margin: 26px 0 0; }

/* --- Customisation checklist --- */
.jg-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 22px 0 0; padding: 0; list-style: none; }
.jg-check li { position: relative; padding-left: 24px; color: var(--jg-ink); }
.jg-check li::before { position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--jg-accent); content: ""; }
.jg-check + .jg-actions { margin-top: 28px; }

/* --- Four-step process and supporting notes --- */
.jg-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jg-note--plain { border-left-width: 0; border-top: 4px solid var(--jg-accent); background: var(--jg-white); }
.jg-note__meta { margin: 14px 0 0; font-size: .92rem; }
.jg-split--reverse { align-items: start; }

/* --- Four-column footer --- */
.jg-footer { border-top: 1px solid var(--jc-border); background: var(--jc-bg-alt); padding: clamp(44px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.jg-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 52px); }
.jg-footer__brand { margin: 0 0 10px; color: var(--jc-heading); font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; }
.jg-footer__tagline { max-width: 34ch; margin: 0 0 18px; color: var(--jc-muted); }
.jg-footer__title { margin: 0 0 16px; color: var(--jc-heading); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.jg-footer__list { margin: 0; padding: 0; list-style: none; }
.jg-footer__list li { margin-bottom: 10px; }
.jg-footer__list a { color: var(--jc-muted); text-decoration: none; }
.jg-footer__list a:hover, .jg-footer__list a:focus { color: var(--jc-brand); text-decoration: underline; }
.jg-footer__label { margin-right: 6px; color: var(--jc-muted); font-size: .86rem; }
.site-below-footer-wrap, .site-below-footer-wrap p, .site-below-footer-wrap a { color: var(--jc-muted); }
.site-below-footer-wrap a:hover { color: var(--jc-brand); }

@media (max-width: 1024px) {
	.jg-capabilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jg-capability:nth-child(odd) { border-left: 0; }
	.jg-capability:nth-child(n+3) { border-top: 1px solid var(--jg-line); }
	.jg-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jg-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 921px) {
	.jg-hero__inner { grid-template-columns: 1fr; }
	.jg-check { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.jg-capabilities__grid { grid-template-columns: 1fr; }
	.jg-capability { border-left: 0; border-top: 1px solid var(--jg-line); padding: 26px 0; }
	.jg-capability:first-child { border-top: 0; }
	.jg-lines, .jg-steps, .jg-footer__grid { grid-template-columns: 1fr; }
	.jg-lines--2 { grid-template-columns: 1fr; }
	.main-header-menu .jg-menu-cta { margin-left: 0; }
	.site-header .site-branding img.custom-logo { max-height: 38px; }
}

/* ==========================================================================
   v1.2.1 — Day 2: inner pages (About, Products, OEM/ODM, Quality)
   ========================================================================== */

/* Compact hero used by the inner pages: copy column only, tighter rhythm. */
.jg-hero--page { padding: clamp(48px, 6vw, 84px) 0; }
.jg-hero--page::after { display: none; }
.jg-hero--page .jg-hero__copy h1 { max-width: 22ch; }

/* Two-card variant of the product-line grid. */
.jg-lines--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Facts list on the About page (rendered only when company data is supplied). */
.jg-facts { margin: 0; max-width: 720px; }

/* Inner pages: same edge-to-edge treatment as the front page. */
.page .site-content > .ast-container { max-width: none; padding-inline: 0; }
.page .site-content #primary { margin: 0; padding: 0; }
.page .entry-content { margin-block: 0; }

@media (max-width: 1024px) {
	.jg-lines--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   v1.2.2 — Day 3: FAQ, enquiry pages, contact blocks
   ========================================================================== */

.jg-faq { max-width: 860px; border-top: 1px solid var(--jg-line); }
.jg-faq__item { border-bottom: 1px solid var(--jg-line); }
.jg-faq__item > summary {
	position: relative;
	padding: 20px 44px 20px 0;
	color: var(--jg-ink);
	font-size: 1.06rem;
	font-weight: 700;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
}
.jg-faq__item > summary::-webkit-details-marker { display: none; }
.jg-faq__item > summary::after {
	position: absolute;
	top: 22px;
	right: 4px;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--jg-brand);
	border-bottom: 2px solid var(--jg-brand);
	transform: rotate(45deg);
	transition: transform .18s ease;
	content: "";
}
.jg-faq__item[open] > summary { color: var(--jg-brand); }
.jg-faq__item[open] > summary::after { top: 26px; transform: rotate(-135deg); }
.jg-faq__answer { padding: 0 44px 22px 0; }
.jg-faq__answer p { margin: 0; }

/* Contact and quote pages: make the enquiry path obvious above the form. */
.jg-contact-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 34px; }
.jg-contact-point { border: 1px solid var(--jg-line); border-top: 3px solid var(--jg-brand); border-radius: var(--jg-radius); background: var(--jg-white); padding: 22px 24px; }
.jg-contact-point h3 { margin: 0 0 8px; font-size: 1.02rem; }
.jg-contact-point p { margin: 0; font-size: .95rem; }
.entry-content .srfm-form-container, .entry-content .srfm-form { margin-top: 8px; }

@media (max-width: 921px) {
	.jg-contact-points { grid-template-columns: 1fr; }
}

/* v2.1.1 original logo (custom logo, 4:1 PNG): fixed height, natural aspect ratio, never recoloured */
.site-header .site-branding .site-logo-img { padding-right: 0; }
.site-header .site-branding img.custom-logo { height: 44px !important; max-height: none !important; width: auto !important; max-width: none !important; filter: none !important; transition: height .25s ease; }
.ast-site-identity:has(img.custom-logo) .ast-site-title-wrap { display: none; }
.jc-scrolled .site-header .site-branding img.custom-logo { height: 36px !important; }
@media (max-width: 921px) {
	.site-header .site-branding img.custom-logo { height: 34px !important; }
	.jc-scrolled .site-header .site-branding img.custom-logo { height: 30px !important; }
}
