/* =========================================================================
   FCT block theme layer — maps WordPress blocks (groups, columns, buttons,
   lists…) and the block styles registered in inc/block-styles.php onto the
   approved FCT design (assets/css/main.css). Loaded on the site AND inside
   the editor, so editing looks like the live page.
   ========================================================================= */

/* Brand colours come from Appearance > Editor > Styles > Colors */
:root{
  --teal-900:var(--wp--preset--color--teal-900,#0A4F48);
  --teal-800:var(--wp--preset--color--teal-800,#0D5F57);
  --teal-700:var(--wp--preset--color--teal-700,#0E6E64);
  --teal-100:var(--wp--preset--color--teal-100,#E3F1EE);
  --teal-50:var(--wp--preset--color--teal-50,#F1F8F6);
  --coral-700:var(--wp--preset--color--coral-700,#C2410C);
  --coral-text:var(--wp--preset--color--coral-text,#A33A0F);
  --coral-100:var(--wp--preset--color--coral-100,#FDE7DC);
  --gold-500:var(--wp--preset--color--gold-500,#E8A93C);
  --gold-100:var(--wp--preset--color--gold-100,#FBF0DA);
  --ink-900:var(--wp--preset--color--ink-900,#22302C);
  --ink-700:var(--wp--preset--color--ink-700,#3E4C48);
  --ink-500:var(--wp--preset--color--ink-500,#55655F);
  --line:var(--wp--preset--color--line,#E4DECF);
  --cream-100:var(--wp--preset--color--cream-100,#F3EAD9);
  --cream-50:var(--wp--preset--color--cream-50,#FBF7EF);
  --fct-gap:28px;
  --card-pad:32px;
}

/* ---------- Page frame ---------- */
.wp-site-blocks{ padding:0; }
.wp-site-blocks > *, .site-main > *, .page-content > *, .wp-block-post-content > *{ margin-block-start:0; }
.wp-site-blocks > header.wp-block-template-part{ position:sticky; top:0; z-index:50; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part{ top:32px; }
@media (max-width:782px){ body.admin-bar .wp-site-blocks > header.wp-block-template-part{ top:46px; } }
.wp-site-blocks .header{ position:static; }
.site-main:focus{ outline:none; }

/* Links: plain in components, underlined in running text */
body a{ text-decoration:none; }
body :where(.wp-block-post-content, .prose-wrap, .entry-content) :where(p:not(.card-link), li:not(.pill), td) > a:not(.wp-element-button):not(.btn){ color:var(--teal-700); text-decoration:underline; text-underline-offset:3px; }
body :where(.is-style-info-card, .is-style-cta-banner, .is-style-stat-band, .footer, .pagehead) a:not(.wp-element-button):not(.btn){ color:inherit; }
/* Lists rendered by FCT blocks never show bullets */
ul[class*="wp-block-fct-"], [class*="wp-block-fct-"] ul, .pill-list, .fct-menu, .badges{ list-style:none; padding-left:0; margin-left:0; }

/* Default WordPress lists in content keep their bullets */
.wp-block-list:not([class*="is-style-"]){ list-style:disc; padding-left:1.4em; }
ol.wp-block-list:not([class*="is-style-"]){ list-style:decimal; }
.wp-block-list:not([class*="is-style-"]) li + li{ margin-top:.35em; }

/* Flow spacing inside small components */
.wp-site-blocks .header > *, .wp-site-blocks .header :where(.is-layout-flex, .is-layout-flow) > *,
.footer :where(.is-layout-flow) > *{ margin-block-start:0; }

/* ---------- Header ---------- */
.header-main.is-layout-flex{ max-width:var(--maxw); margin:0 auto; padding:14px 40px; gap:24px; }
.header-actions.is-layout-flex{ gap:22px; }
.header-toggles{ display:flex; align-items:center; gap:10px; }
.header-book .wp-block-button__link{ white-space:nowrap; }
@media (max-width:980px){
  .header-main.is-layout-flex{ padding:10px 28px; }
  .header-actions.is-layout-flex{ gap:10px; }
  body .header-actions .header-book{ display:none; }
}
@media (max-width:640px){ .header-main.is-layout-flex{ padding:10px 20px; } }

/* ---------- Footer ---------- */
.footer{ background:var(--teal-900); color:#D5E7E3; }
.footer-inner{ padding-top:64px; }
.footer-title{ font-family:"Montserrat",sans-serif; font-size:.875rem !important; letter-spacing:1px; text-transform:uppercase; color:#fff !important; font-weight:700; margin-bottom:16px !important; }
.footer .footer-about{ color:#C5DAD5; font-size:1rem; margin-top:14px; max-width:300px; }
.footer .fct-menu li{ margin-bottom:4px; font-size:1rem; color:#C5DAD5; }
.footer .fct-menu a{ display:inline-flex; align-items:center; min-height:34px; color:#C5DAD5; }
.footer .fct-menu a:hover{ color:#fff; }
.footer .social-row{ margin-top:18px; }
.footer-top.wp-block-columns{ margin-bottom:0; }
.footer-bottom.is-layout-flex{ padding:22px 0; font-size:.9062rem; color:#B9D1CC; border-top:1px solid rgba(255,255,255,.14); gap:14px 24px; }
.footer-bottom .links{ display:flex; gap:6px 24px; flex-wrap:wrap; }
.footer-bottom .links a{ color:#B9D1CC; }
.footer-bottom .fct-copyright{ margin:0; }
.footer .footer-badges{ padding:26px 0; border-top:1px solid rgba(255,255,255,.14); }

/* ---------- Sections ---------- */
.wp-block-group.is-style-section{ padding-top:88px; padding-bottom:88px; }
.wp-block-group.is-style-section-tight{ padding-top:64px; padding-bottom:64px; }
.wp-block-group.is-style-section > * + *, .wp-block-group.is-style-section-tight > * + *{ margin-block-start:var(--fct-gap); }
.wp-block-group.narrow > *{ max-width:900px !important; }
.search-band.is-style-section-tight{ padding-top:36px; padding-bottom:8px; }
.search-band > *{ max-width:860px !important; text-align:center; }
.search-band .sb-title{ margin-bottom:16px; }
.wp-block-group.paths.is-style-section-tight{ padding-top:44px; }
@media (max-width:980px){ .wp-block-group.is-style-section{ padding-top:64px; padding-bottom:64px; } }
@media (max-width:640px){
  .wp-block-group.is-style-section{ padding-top:52px; padding-bottom:52px; }
  .wp-block-group.is-style-section-tight{ padding-top:44px; padding-bottom:44px; }
  :root{ --fct-gap:20px; --card-pad:24px; }
}

/* Section heading */
.wp-block-group.is-style-section-head, .wp-block-group.is-style-section-head-left{ margin-bottom:20px; }
.wp-block-group.is-style-section-head{ max-width:760px !important; text-align:center; }
.wp-block-group.is-style-section-head-left > *{ max-width:760px; }
.is-style-section-head > * + *, .is-style-section-head-left > * + *{ margin-block-start:14px; }
.is-style-section-head h2, .is-style-section-head-left h2{ font-size:2.375rem; }
.is-style-section-head p:not(.is-style-eyebrow), .is-style-section-head-left p:not(.is-style-eyebrow){ color:var(--ink-500); font-size:1.1875rem; }
@media (max-width:640px){
  .is-style-section-head h2, .is-style-section-head-left h2{ font-size:1.875rem; }
  .is-style-section-head p:not(.is-style-eyebrow), .is-style-section-head-left p:not(.is-style-eyebrow){ font-size:1.0938rem; }
}

/* Hero */
.wp-block-group.is-style-hero{ padding-top:64px; padding-bottom:70px; }
.is-style-hero h1, .is-style-display{ font-size:3.25rem; letter-spacing:-.5px; }
.is-style-hero .is-style-lead{ max-width:560px; }
.is-style-hero .wp-block-column > * + *{ margin-block-start:18px; }
.is-style-hero .hero-ctas{ margin-top:32px !important; }
@media (max-width:640px){
  .wp-block-group.is-style-hero{ padding-top:36px; padding-bottom:44px; }
  .is-style-hero h1, .is-style-display{ font-size:2.25rem; }
  .hero-ctas .wp-block-button{ width:100%; }
  .hero-ctas .wp-block-button__link{ width:100%; justify-content:center; }
}

/* Two-column rows */
.wp-block-columns.is-style-split{ gap:48px 56px; }
.wp-block-columns.is-style-split > .wp-block-column > * + *{ margin-block-start:16px; }
.wp-block-columns{ margin-bottom:0; }
@media (max-width:781px){ .wp-block-columns.is-style-split{ gap:32px; } }

/* Grids */
.fct-grid.is-layout-grid{ gap:var(--fct-gap); }

/* ---------- Text styles ---------- */
.wp-block-heading{ margin:0; }
p.is-style-eyebrow{
  display:inline-flex; align-items:center; gap:8px; width:auto; max-width:100%;
  font-family:"Montserrat",sans-serif; font-weight:700; font-size:.8125rem; line-height:1.3;
  letter-spacing:1.5px; text-transform:uppercase; color:var(--coral-text);
  background:var(--coral-100); padding:8px 16px 8px 13px; border-radius:999px;
}
.is-style-section-head p.is-style-eyebrow{ margin-left:auto; margin-right:auto; }
.is-style-section-head-left p.is-style-eyebrow, .wp-block-column > p.is-style-eyebrow{ margin-left:0; }
p.is-style-lead{ color:var(--ink-500); font-size:1.25rem; }
p.is-style-muted{ color:var(--ink-500); font-size:1rem; }
p.is-style-stat{ font-family:"Montserrat",sans-serif; font-weight:800; font-size:2.625rem; line-height:1.1; color:inherit; }
.h-card{ font-size:1.375rem !important; }
.h3-size{ font-size:1.375rem !important; }
.screen-reader-text{ position:absolute !important; }

/* ---------- Icons (class fct-ico-*) ---------- */
[class*="fct-ico-"]{ --fct-ico-size:1.05em; }
:is(p, h1, h2, h3, h4, h5, h6, li)[class*="fct-ico-"]::before,
.wp-block-button[class*="fct-ico-"] > .wp-block-button__link::before{
  content:""; display:inline-block; flex-shrink:0; width:var(--fct-ico-size); height:var(--fct-ico-size);
  background:currentColor; -webkit-mask:var(--fct-ico) center/contain no-repeat; mask:var(--fct-ico) center/contain no-repeat;
  vertical-align:-.15em; margin-inline-end:.45em;
}
:is(h1, h2, h3, h4)[class*="fct-ico-"]::before{ color:var(--teal-700); }
.wp-block-button[class*="fct-ico-"] > .wp-block-button__link::before{ width:18px; height:18px; margin:0; }
p.is-style-eyebrow[class*="fct-ico-"]::before{ width:14px; height:14px; margin:0; }
.sb-title[class*="fct-ico-"]::before{ width:26px; height:26px; color:var(--coral-700); margin:0; }
.sb-title{ display:flex; align-items:center; justify-content:center; gap:10px; font-size:1.625rem; }

/* ---------- Buttons ---------- */
.wp-block-buttons{ gap:14px; }
.wp-block-button__link, .wp-element-button{
  display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:54px;
  padding:14px 28px; border-radius:999px; font-family:"Montserrat",sans-serif; font-weight:700;
  font-size:1.0625rem; line-height:1.2; text-decoration:none; border:2px solid transparent;
  transition:background-color .15s, box-shadow .15s, transform .15s;
}
.wp-block-button__link.has-coral-700-background-color{ box-shadow:0 10px 24px rgba(194,65,12,.28); }
.wp-block-button__link.has-teal-700-background-color{ box-shadow:0 10px 24px rgba(14,110,100,.28); }
.wp-block-button__link:hover{ transform:translateY(-1px); }
.wp-block-button__link.has-coral-700-background-color:hover{ background-color:#A93A0B !important; }
.wp-block-button__link.has-teal-700-background-color:hover{ background-color:var(--teal-900) !important; }
.wp-block-button.is-style-outline > .wp-block-button__link{ background:transparent !important; border:2px solid currentColor; color:var(--teal-700); box-shadow:none; padding:12px 26px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover{ background:var(--teal-50) !important; }
.wp-block-button.is-style-light > .wp-block-button__link{ background:#fff !important; color:var(--teal-800) !important; }
.wp-block-button.is-style-outline-light > .wp-block-button__link{ background:transparent !important; border:2px solid rgba(255,255,255,.7); color:#fff !important; }
.wp-block-button.is-style-outline-light > .wp-block-button__link:hover{ background:rgba(255,255,255,.1) !important; }
.wp-block-button__link.has-small-font-size, .wp-block-button.has-small-font-size > .wp-block-button__link{ min-height:44px; padding:10px 20px; font-size:.9375rem !important; }
.wp-block-button.is-style-outline > .wp-block-button__link.has-small-font-size{ padding:8px 18px; }
.wp-block-button.has-custom-width .wp-block-button__link{ width:100%; }
.wp-block-buttons.is-vertical{ flex-direction:column; align-items:stretch; }
.wp-block-buttons.is-vertical .wp-block-button{ width:100%; }

/* ---------- Lists ---------- */
ul.is-style-check{ list-style:none; padding:0; }
ul.is-style-check li{ display:flex; gap:12px; margin-bottom:14px; font-size:1.0625rem; color:var(--ink-700); align-items:flex-start; }
ul.is-style-check li::before{ content:""; width:21px; height:21px; flex-shrink:0; margin-top:3px; background:var(--teal-700);
  -webkit-mask:var(--fct-ico-check) center/contain no-repeat; mask:var(--fct-ico-check) center/contain no-repeat; }
ul.is-style-plain{ list-style:none; padding:0; }
ul.is-style-plain li + li{ margin-top:.5em; }
ul.is-style-pills{ list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:12px; }
ul.is-style-pills li{ display:flex; align-items:center; gap:9px; background:#fff; border:1.5px solid var(--line); min-height:48px; padding:10px 20px; border-radius:999px; font-weight:600; font-size:1rem; color:var(--ink-700); }
ul.is-style-pills li[class*="fct-ico-"]::before{ color:var(--teal-700); margin:0; width:18px; height:18px; }
ul.is-style-pills.is-centered{ justify-content:center; }
ul.is-style-pills.is-small li{ min-height:36px; padding:6px 14px; font-size:.875rem; }
ul.is-style-trust{ list-style:none; padding:0; display:flex; gap:12px 26px; flex-wrap:wrap; margin-top:34px !important; }
ul.is-style-trust li{ display:flex; align-items:center; gap:9px; font-size:.9688rem; font-weight:600; color:var(--ink-700); }
ul.is-style-trust li[class*="fct-ico-"]::before{ width:21px; height:21px; color:var(--teal-700); margin:0; }
.is-style-info-card ul.is-style-plain li{ display:flex; gap:12px; font-size:1.0625rem; color:#E0EEEB; }
.is-style-info-card ul.is-style-plain li[class*="fct-ico-"]::before{ color:var(--gold-500); width:20px; height:20px; margin:3px 0 0; }
.is-style-info-card ul.is-style-plain li + li{ margin-top:18px; }
:root{ --fct-ico-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.7'/%3E%3Cpath d='m8 12.3 2.8 2.8L16.4 9'/%3E%3C/svg%3E"); }

/* ---------- Cards, features, panels ---------- */
.wp-block-group.is-style-card, .wp-block-column.is-style-card{
  position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg,20px);
  padding:var(--card-pad); box-shadow:var(--shadow-soft);
}
.is-style-card > * + *{ margin-block-start:10px; }
.is-style-card h3{ font-size:1.3125rem; }
.is-style-card > p{ color:var(--ink-500); font-size:1.0312rem; }
.is-style-card.is-centered{ text-align:center; }
.is-style-card.is-row{ gap:16px 24px; }
.is-style-card.is-row h2{ font-size:1.375rem; }
.is-style-card .card-link a{ display:inline-flex; align-items:center; gap:6px; min-height:44px; font-family:"Montserrat",sans-serif; font-weight:700; color:var(--teal-700); text-decoration:none; }
.is-style-card .card-link a::after{ content:"→"; }
/* icon badge on cards: 56px tile with the icon */
.is-style-card[class*="fct-ico-"]::before{ content:""; display:block; width:56px; height:56px; border-radius:15px; background:var(--teal-100); margin-bottom:20px; }
.is-style-card.is-centered[class*="fct-ico-"]::before{ margin-left:auto; margin-right:auto; }
.is-style-card[class*="fct-ico-"]::after{ content:""; position:absolute; top:calc(var(--card-pad) + 14px); left:calc(var(--card-pad) + 14px); width:28px; height:28px; background:var(--teal-700);
  -webkit-mask:var(--fct-ico) center/contain no-repeat; mask:var(--fct-ico) center/contain no-repeat; }
.is-style-card.is-centered[class*="fct-ico-"]::after{ left:calc(50% - 14px); }
.is-style-card[class*="fct-ico-"] > :first-child{ margin-block-start:0; }

.wp-block-group.is-style-feature{ position:relative; display:grid; grid-template-columns:48px minmax(0,1fr); column-gap:16px; align-content:start; }
.is-style-feature > *{ grid-column:2; }
.is-style-feature > * + *{ margin-block-start:5px !important; }
.is-style-feature::before{ content:""; grid-column:1; grid-row:1 / span 3; width:48px; height:48px; border-radius:13px; background:var(--teal-100); }
.is-style-feature::after{ content:""; position:absolute; top:12px; left:12px; width:24px; height:24px; background:var(--teal-700);
  -webkit-mask:var(--fct-ico, var(--fct-ico-check)) center/contain no-repeat; mask:var(--fct-ico, var(--fct-ico-check)) center/contain no-repeat; }
.is-style-feature h3, .is-style-feature h4{ font-size:1.125rem; grid-row:1; }
.is-style-feature p{ color:var(--ink-500); font-size:1rem; }

/* Numbered steps */
.wp-block-group.is-style-steps{ counter-reset:fctstep; }
.is-style-steps > *{ counter-increment:fctstep; position:relative; }
.is-style-steps > * > h3:first-child::before, .is-style-steps > * > h4:first-child::before{
  content:counter(fctstep); display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%;
  background:var(--coral-700); color:#fff; font-family:"Montserrat",sans-serif; font-weight:800; font-size:1.0625rem; margin-bottom:18px;
}
.is-style-steps > [class*="fct-ico-"] > h3:first-child::before{ position:absolute; top:20px; right:20px; margin:0; width:36px; height:36px; font-size:.9375rem; }
.is-style-steps.is-compact{ display:grid; gap:20px; margin:22px 0 26px !important; }
.is-style-steps.is-compact > *{ padding-left:56px; min-height:44px; }
.is-style-steps.is-compact > * > h3:first-child::before{ position:absolute; left:0; top:0; margin:0; width:40px; height:40px; }
.is-style-steps.is-compact h3{ font-size:1.125rem; }
.is-style-steps.is-compact p{ color:var(--ink-500); font-size:1rem; margin-top:4px; }

/* Call-to-action banner */
.wp-block-group.is-style-cta-banner{
  background:linear-gradient(120deg,var(--teal-800),var(--teal-700)); border-radius:28px; padding:56px 60px;
  gap:30px; position:relative; overflow:hidden; color:#fff;
}
.is-style-cta-banner::after{ content:""; position:absolute; width:260px; height:260px; border-radius:50%; background:rgba(242,112,60,.22); right:-90px; bottom:-110px; pointer-events:none; }
.is-style-cta-banner .cta-text{ flex:1 1 380px; max-width:620px; position:relative; }
.is-style-cta-banner > .wp-block-buttons{ flex:0 0 auto; }
.is-style-cta-banner h2, .is-style-cta-banner h3{ color:#fff; font-size:1.875rem; }
.is-style-cta-banner p{ color:#E0EEEB; margin-top:10px; font-size:1.0625rem; }
.is-style-cta-banner .wp-block-buttons{ position:relative; z-index:1; }
@media (max-width:980px){ .wp-block-group.is-style-cta-banner{ padding:44px 36px; } }
@media (max-width:640px){
  .wp-block-group.is-style-cta-banner{ padding:36px 24px; border-radius:22px; }
  .is-style-cta-banner h2{ font-size:1.5625rem; }
  .is-style-cta-banner .wp-block-buttons, .is-style-cta-banner .wp-block-button, .is-style-cta-banner .wp-block-button__link{ width:100%; }
}

/* Statistics band */
.wp-block-group.is-style-stat-band{ background:linear-gradient(120deg,var(--teal-900),var(--teal-700)); border-radius:28px; padding:48px 40px; color:#fff; text-align:center; }
.is-style-stat-band p{ color:#E0EEEB; font-weight:600; }
.is-style-stat-band p.is-style-stat{ color:#fff; }
.is-style-stat-band .fct-grid > * > * + *{ margin-block-start:6px; }

/* Info card (dark) */
.wp-block-group.is-style-info-card{ background:var(--teal-900); color:#fff; border-radius:var(--radius-lg,20px); padding:36px; }
.is-style-info-card > * + *{ margin-block-start:18px; }
.is-style-info-card h2, .is-style-info-card h3{ color:#fff; font-size:1.25rem; }
.is-style-info-card p, .is-style-info-card li{ color:#E0EEEB; }
.is-style-info-card a{ color:#fff; }
.is-style-info-card .prep-phone{ font-family:"Montserrat",sans-serif; font-weight:800; font-size:1.75rem; }
.is-style-info-card .contact-list li{ display:flex; gap:12px; margin-bottom:16px; color:#E0EEEB; }
.is-style-info-card .contact-list svg{ width:20px; height:20px; color:var(--gold-500); flex-shrink:0; margin-top:3px; }

/* White panel */
.wp-block-group.is-style-panel{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg,20px); padding:40px; box-shadow:var(--shadow-soft); }
.is-style-panel h2{ font-size:2rem; }
@media (max-width:640px){ .wp-block-group.is-style-panel{ padding:26px 22px; } }

/* Notice */
.wp-block-group.is-style-notice{ position:relative; background:var(--teal-50); border:1.5px solid #BCD9D3; color:var(--teal-900); border-radius:var(--radius-md,14px); padding:14px 18px; font-size:.9688rem; line-height:1.5; }
.wp-block-group.is-style-notice[class*="fct-ico-"]{ padding-left:50px; }
.is-style-notice[class*="fct-ico-"]::before{ content:""; position:absolute; left:16px; top:15px; width:22px; height:22px; background:var(--teal-700); -webkit-mask:var(--fct-ico) center/contain no-repeat; mask:var(--fct-ico) center/contain no-repeat; }
.is-style-notice > * + *{ margin-block-start:8px; }
.is-style-notice h3{ font-size:1.0625rem; }
.is-style-notice ul.is-style-check li{ font-size:.9688rem; margin-bottom:6px; }
.is-style-notice ul.is-style-check li::before{ width:18px; height:18px; }

/* Tables */
.wp-block-table.is-style-fct{ margin:0; overflow-x:auto; }
.wp-block-table.is-style-fct table{ width:100%; border-collapse:collapse; background:#fff; border-radius:var(--radius-lg,20px); overflow:hidden; border:1px solid var(--line); }
.wp-block-table.is-style-fct thead{ border:0; }
.wp-block-table.is-style-fct th{ background:var(--teal-900); color:#fff; text-align:left; padding:18px 24px; font-family:"Montserrat",sans-serif; font-size:.875rem; letter-spacing:.5px; text-transform:uppercase; border:0; }
.wp-block-table.is-style-fct td{ padding:18px 24px; border:0; border-top:1px solid var(--line); font-size:1.0312rem; color:var(--ink-700); vertical-align:top; }
.wp-block-table.is-style-fct tr:nth-child(even) td{ background:var(--cream-50); }
.wp-block-table.is-style-fct td a{ font-family:"Montserrat",sans-serif; font-weight:700; color:var(--teal-700); text-decoration:none; white-space:nowrap; }
.wp-block-table.is-style-fct td a::after{ content:" →"; }

/* FAQ (details block) */
.wp-block-details.is-style-faq{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md,14px); margin-bottom:14px; overflow:hidden; }
.wp-block-details.is-style-faq summary{ min-height:64px; padding:16px 24px; font-family:"Montserrat",sans-serif; font-weight:700; font-size:1.125rem; display:flex; align-items:center; }
.wp-block-details.is-style-faq > :not(summary){ padding:0 24px 22px; color:var(--ink-500); }

/* Quote (testimonial style) */
.wp-block-quote.is-style-testimonial{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg,20px); padding:30px; margin:0; }

/* Images */
.wp-block-image.is-style-card-photo img{ border-radius:var(--radius-lg,20px); border:1px solid var(--line); }
.wp-block-post-featured-image.post-hero-img img{ border-radius:var(--radius-lg,20px); }

/* ---------- FCT blocks inside the layout ---------- */
.wp-block-fct-trust-badges.is-centered, .wp-block-fct-google-badge.is-centered, .wp-block-fct-nearby-towns.is-centered{ display:flex; justify-content:center; flex-wrap:wrap; }
.wp-block-fct-trust-badges.badges{ list-style:none; padding:0; }
.wp-block-fct-google-badge.is-centered{ margin:-14px 0 6px !important; }
.fct-paths .aud-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--fct-gap); }
.fct-paths .aud-card > * + *{ margin-block-start:10px; }
.fct-paths .aud-card .wp-block-buttons{ margin-top:auto; padding-top:18px; gap:10px; }
.fct-paths .aud-welcome-in .wp-block-buttons{ gap:10px; }
.fct-paths .aud-welcome-in .wp-block-button.is-style-outline > .wp-block-button__link{ color:#fff; border-color:rgba(255,255,255,.75); }
@media (max-width:980px){ .fct-paths .aud-grid{ grid-template-columns:minmax(0,1fr); } }
.wp-block-fct-hero-art .fc-top{ top:-20px; left:-24px; }
.wp-block-fct-hero-art .fc-bottom{ bottom:-22px; right:-18px; }
.fleet-photo{ display:flex; align-items:center; justify-content:center; padding:36px 30px; }
.fleet-photo img{ height:auto; border-radius:16px; }
.wp-block-fct-static-map{ margin:0; }
.fct-services-detail .service-row{ padding:40px 0; border-bottom:1px solid var(--line); }
.fct-services-detail .service-row:last-child{ border-bottom:0; }
.fct-services-detail .service-grid{ display:grid; grid-template-columns:1fr .85fr; gap:48px; align-items:center; }
.fct-services-detail .service-row.is-alt .service-grid{ grid-template-columns:.85fr 1fr; }
.fct-services-detail .service-text h2{ font-size:1.75rem; margin-top:14px; }
.fct-services-detail .service-body{ margin-top:12px; font-size:1.0625rem; color:var(--ink-700); }
.fct-services-detail .service-body p + p{ margin-top:.8em; }
.fct-services-detail .check-list{ margin-top:20px; }
.fct-services-detail .btn{ margin-top:8px; }
.fct-services-detail .service-art{ display:flex; align-items:center; justify-content:center; min-height:260px; }
.fct-services-detail .ic-badge-xl{ width:96px; height:96px; border-radius:24px; }
.fct-services-detail .ic-badge-xl svg{ width:46px; height:46px; }
.fct-services-detail .service-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:980px){ .fct-services-detail .service-grid, .fct-services-detail .service-row.is-alt .service-grid{ grid-template-columns:minmax(0,1fr); gap:28px; } }
.fct-faq .faq-group + .faq-group{ margin-top:40px; }
.fct-faq .faq-group-title{ font-size:1.3125rem; margin-bottom:18px; color:var(--teal-800); }
.fct-faq .faq-more{ margin-top:20px; }
.team-card{ text-align:center; }
.team-card h3{ margin-top:16px; }
.team-card p{ color:var(--ink-500); margin-top:4px; }
.team-card .badges{ justify-content:center; margin-top:14px; }
.vehicle-card{ padding:0 !important; overflow:hidden; }
.vehicle-card .vehicle-body{ padding:26px 28px 30px; }
.vehicle-card .spec-list{ margin-top:16px; }
.vehicle-card .vehicle-art{ border:0; border-radius:0; height:250px; display:flex; align-items:center; justify-content:center; }
.doc-card{ display:flex; gap:16px; align-items:flex-start; }
.doc-card .ic-badge{ margin:0; }
.doc-card h3{ font-size:1.1875rem; }
.doc-card p{ margin-top:4px; color:var(--ink-500); }
.rating-hero .rating-bars{ flex:1; margin:0; }
.rating-hero .rating-bar-row dd{ margin:0; flex:1; display:flex; align-items:center; gap:12px; }
.rating-hero .pct{ font-size:.9375rem; color:var(--ink-500); width:40px; }
.rating-hero .rating-based{ color:var(--ink-500); font-size:.9375rem; margin-top:8px; }
.featured-card{ display:grid !important; grid-template-columns:1fr 1fr; gap:0; padding:0 !important; overflow:hidden; margin-bottom:var(--fct-gap); }
.featured-card .featured-body{ padding:40px; }
.featured-card .featured-body h2{ font-size:1.625rem; margin-top:16px; }
.featured-card .featured-body p{ color:var(--ink-500); margin-top:14px; }
.featured-card .featured-body .btn{ margin-top:22px; }
.featured-card .featured-thumb.is-gradient{ background:linear-gradient(135deg,#0E6E64,#0A4F48); }
@media (max-width:980px){ .featured-card{ grid-template-columns:1fr; } }
.blog-tools{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center; margin-bottom:30px; }
.fct-booking .booking-help{ font-size:.9375rem; color:var(--ink-500); margin-top:10px; }
.fct-booking .iframe-slot{ min-height:360px; }
.fct-booking .iframe-slot .h3{ font-size:1.5rem; margin-top:6px; }
.portal-card h2{ margin-top:14px; }
.portal-card > * + *{ margin-top:14px; }
.town-book-card{ border:2px solid var(--teal-700) !important; }
.post-nav{ margin-top:40px !important; }
.wp-block-post-navigation-link a{ color:var(--teal-700); font-weight:700; text-decoration:none; }
.contact-list{ list-style:none; padding:0; }
.contact-list li{ display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; }
.contact-list svg{ width:20px; height:20px; flex-shrink:0; margin-top:3px; color:var(--teal-700); }
.contact-cards{ display:grid; gap:14px; }
.contact-card{ display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--radius-md,14px); padding:16px 18px; }
.contact-card .ic{ width:44px; height:44px; border-radius:12px; background:var(--teal-100); color:var(--teal-700); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-card .lbl{ display:block; font-size:.8125rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--ink-500); }
.social-head{ margin-bottom:6px; }
.fct-form-block.card{ padding:var(--card-pad); }
.fct-copyright{ font-size:.9062rem; }

/* ---------- Editor-only helpers ---------- */
.fct-block-empty{ padding:18px 20px; border:2px dashed var(--line); border-radius:12px; background:#fff; color:var(--ink-500); font-size:.9375rem; }

.testi-quote{ border:0; padding:0; }
.footer a{ color:inherit; }
.footer-contact a{ color:#fff; }

/* Classic FCT buttons rendered by FCT blocks */
body .btn-teal, body .btn-coral{ color:#fff; }
body .btn-white{ color:var(--teal-800); }
body .btn-outline{ color:var(--teal-700); }
body .btn-outline-light{ color:#fff; }
.explorer-svg.is-zoomed .m-tlabel.is-crowded{ visibility:visible; }

/* ---------------------------------------------------------------------------
   Fare estimator & quote (fct-core pricing) — table breakdown, actions, confirm
   --------------------------------------------------------------------------- */
.fct-estimator .est-kicker{ font-weight:600; color:var(--ink-500); font-size:0.9688rem; margin:0; }
.fct-estimator .est-route svg{ width:16px; height:16px; vertical-align:-3px; margin-right:4px; color:var(--coral-text); }
.fct-estimator .est-privacy svg{ flex:0 0 16px; }
table.est-lines{ width:100%; border-collapse:collapse; margin:18px 0; border-top:1px solid var(--line); font-size:0.9688rem; }
table.est-lines th, table.est-lines td{ padding:10px 0; border-bottom:1px dashed var(--line); text-align:left; vertical-align:top; font-weight:500; color:var(--ink-700); background:none; }
table.est-lines td{ text-align:right; white-space:nowrap; padding-left:12px; font-family:"Montserrat",sans-serif; font-weight:700; color:var(--ink-900); }
table.est-lines tfoot th, table.est-lines tfoot td{ border-bottom:0; border-top:2px solid var(--teal-700); font-weight:800; color:var(--teal-900); font-size:1.0625rem; padding-top:12px; }
.fct-estimator .est-note{ background:none; padding:0; margin:0 0 8px; font-size:0.875rem; color:var(--ink-500); }
.fct-estimator .est-note:first-of-type{ background:var(--teal-50); color:var(--teal-800); font-weight:600; padding:10px 14px; border-radius:var(--radius-sm); margin-bottom:12px; }
.fct-estimator .est-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.fct-estimator .est-actions .btn{ flex:1 1 180px; justify-content:center; text-decoration:none; }
.fct-estimator .est-custom{ background:var(--gold-100); border-radius:var(--radius-md); padding:16px 18px; margin:14px 0; }
.fct-estimator .est-loading{ color:var(--ink-500); font-weight:600; text-align:center; padding:40px 0; }
.fct-estimator .est-result.is-busy{ opacity:.7; }
.fct-estimator .est-submit.is-busy{ cursor:progress; opacity:.85; }
.fct-estimator .est-map{ margin-top:16px; }
.fct-estimator .est-map-canvas{ height:240px; border-radius:var(--radius-md); overflow:hidden; background:var(--teal-50); }
.fct-estimator .seg{ margin-bottom:16px; }
.fct-estimator .fct-error-summary{ margin-bottom:16px; }
.est-confirm{ margin-top:30px; scroll-margin-top:140px; }
.est-confirm[hidden]{ display:none; }
.est-confirm .eyebrow{ margin-bottom:10px; }
.est-confirm-title{ font-size:1.5rem; margin:4px 0 8px; }
.est-confirm > p{ color:var(--ink-500); }
/* Compact estimator (contact page and sidebars) */
.fct-estimator.is-compact .est-grid{ grid-template-columns:minmax(0,1fr); gap:18px; }
.fct-estimator.is-compact .est-result{ position:static; min-height:0; }
.fct-estimator.is-compact .est-result:not(.has-result){ display:none; }
.fct-estimator.is-compact .est-step{ padding-bottom:16px; margin-bottom:16px !important; }
.fct-estimator.is-compact .rc-in small{ display:none; }
.fct-estimator.is-compact .rc-in{ padding:12px 8px; }
.fct-estimator.is-compact .est-confirm{ margin-top:18px; }
/* Rate table block */
.rate-table td, .rate-table th{ white-space:nowrap; }
.rate-extras{ margin-top:14px; color:var(--ink-500); font-size:0.9375rem; }
@media (max-width: 600px){
	table.est-lines{ font-size:0.9063rem; }
	.est-confirm{ padding:22px 18px; }
}

/* Responsive grids — independent of the WordPress version's grid output */
@media (max-width:980px){
	.fct-grid.is-layout-grid{ grid-template-columns:repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width:600px){
	.fct-grid.is-layout-grid:not(.is-style-stat-band .fct-grid){ grid-template-columns:minmax(0,1fr) !important; }
}
