/* Mohr Digital Media — components for pages built from blocks.
 *
 * Pages on the "Block content page" template keep their words in the
 * database and get their look from the class names below, which the
 * patterns in patterns/ apply. style.css still holds the shared base
 * (fonts, .wrap, .btn, .card-g, .faq, .pane, .price, header, footer);
 * this file adds the section/card/list vocabulary that used to live in
 * inline styles inside each page template.
 *
 * Every selector is scoped to the page body on the front end (.entry) and
 * the editor canvas (.is-root-container), so it never touches the header,
 * footer or the older hand-built templates. Loaded in the editor too
 * (add_editor_style), so the editor looks like the page.
 */

:root{
	/* Fluid type: desktop sizes match the original designs exactly; they
	   scale down on tablets and phones instead of staying at 50-62px. */
	--h1:clamp(38px,3.2vw + 20px,56px);
	--h2:clamp(32px,2.6vw + 16px,50px);
	--h-display:clamp(38px,4vw + 12px,62px);
	--sec-y:clamp(64px,7.8vw,112px);
	--body-ink:#2c4249;
	--line:#d3d9db;
}

/* ---- Reset: WordPress's own block gaps off; components set spacing ---- */
:is(.entry,.is-root-container) :where(h1,h2,h3,h4,p,ul,ol,figure,details,blockquote){margin:0}
:is(.entry,.is-root-container) :where(.is-layout-flow,.is-layout-constrained,.is-layout-flex,.is-layout-grid) > *{margin-block:0}
.entry{color:var(--ink)}

/* ---- Type ---- */
/* Elements carrying a shared u- class (case studies) keep that class's size and color; :where() keeps these rules' weight unchanged. */
:is(.entry,.is-root-container) h1:where(:not([class*="u-h"])){font-size:var(--h1);line-height:1.05;font-weight:800;letter-spacing:-.025em;text-wrap:balance}
:is(.entry,.is-root-container) h2:where(:not([class*="u-h"])){font-size:var(--h2);line-height:1.08;font-weight:800;letter-spacing:-.02em;text-wrap:balance}
:is(.entry,.is-root-container) h2.display{font-size:var(--h-display);line-height:1.05;letter-spacing:-.025em}
:is(.entry,.is-root-container) h3:where(:not([class*="u-h"])){font-size:26px;line-height:1.2;font-weight:800;letter-spacing:-.01em}
:is(.entry,.is-root-container) :where(p:not([class*="u-"],.rbig)){font-size:17px;line-height:1.6}
:is(.entry,.is-root-container) .eyebrow:where(:not([class*="u-"])){font:600 13px/1.2 "Work Sans",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--rust)}
:is(.entry,.is-root-container) .lead{font-size:20px;line-height:1.6}
:is(.entry,.is-root-container) .small{font-size:16px;line-height:1.5}
:is(.entry,.is-root-container) .tagline{font:700 18px/1.35 "Manrope","Work Sans",sans-serif;color:var(--body-ink)}
:is(.entry,.is-root-container) .intro{max-width:720px;margin-inline:auto;text-align:center;font-size:20px;line-height:1.65;color:var(--body-ink)}
:is(.entry,.is-root-container) .note{max-width:720px;margin:32px auto 0;text-align:center;font-size:15px;line-height:1.6;color:var(--muted)}
:is(.entry,.is-root-container) a:where(:not(.wp-block-button__link):not(.btn)){color:var(--deep);text-underline-offset:3px}
:is(.entry,.is-root-container) a:where(:not(.wp-block-button__link):not(.btn)):hover{color:var(--abyss);text-decoration-thickness:2px}
@media (max-width:900px){
	:is(.entry,.is-root-container) .lead{font-size:18px}
	:is(.entry,.is-root-container) h3:where(:not([class*="u-h"])){font-size:24px}
}

/* ---- Sections ---- */
:is(.entry,.is-root-container) .sec{position:relative;padding:var(--sec-y) 0}
:is(.entry,.is-root-container) .sec.is-white{background:#fff}
:is(.entry,.is-root-container) .sec.is-gray{background:#eceeef}
:is(.entry,.is-root-container) .sec.is-dark{background:var(--black);color:#fff}
:is(.entry,.is-root-container) .sec.is-teal{background:var(--deep);color:#fff;overflow:hidden;padding:clamp(80px,8.4vw,120px) 0}
:is(.entry,.is-root-container) .sec:is(.is-dark,.is-teal) :is(h2,h3){color:#fff}
:is(.entry,.is-root-container) .sec.is-dark .eyebrow{color:var(--orange)}
:is(.entry,.is-root-container) .sec.is-teal .eyebrow{color:var(--pale)}
:is(.entry,.is-root-container) :is(.sec,.util-hero,.hero-wrap) > .wrap{position:relative}

/* Orange bar + pill across the top of a section (first section after the hero). */
:is(.entry,.is-root-container) .sec.has-notch{padding-top:calc(var(--sec-y) - 16px)}
:is(.entry,.is-root-container) .sec.has-notch::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:var(--orange)}
:is(.entry,.is-root-container) .sec.has-notch::after{content:"";position:absolute;left:50%;top:3px;width:220px;height:22px;transform:translate(-50%,-50%);background:var(--orange);border-radius:22px / 50%;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 1px 0 rgba(0,0,0,.3)}

/* Centered eyebrow + heading (+ optional intro) above a section's content. */
:is(.entry,.is-root-container) .sec-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;margin-bottom:56px}
:is(.entry,.is-root-container) .sec-head.is-left{align-items:flex-start;text-align:left}
@media (max-width:900px){:is(.entry,.is-root-container) .sec-head{margin-bottom:40px}}

/* ---- Hero (utility style: Pricing, Services, About, ...) ---- */
:is(.entry,.is-root-container) .util-hero{position:relative;overflow:hidden}
:is(.entry,.is-root-container) .hero-copy{max-width:760px;display:flex;flex-direction:column;gap:20px}
:is(.entry,.is-root-container) .hero-copy h1{color:#fff}
:is(.entry,.is-root-container) .hero-copy .eyebrow{color:var(--pale)}
:is(.entry,.is-root-container) .hero-copy p:not(.eyebrow){font-size:20px;line-height:1.6;color:#fff;max-width:620px}
@media (max-width:900px){:is(.entry,.is-root-container) .hero-copy p:not(.eyebrow){font-size:18px}}

/* ---- Grids ---- */
:is(.entry,.is-root-container) :is(.cols-2,.cols-3,.cols-4){display:grid;gap:28px;align-items:stretch}
:is(.entry,.is-root-container) .cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
:is(.entry,.is-root-container) .cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
:is(.entry,.is-root-container) .cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
:is(.entry,.is-root-container) .is-narrow{max-width:1080px;margin-inline:auto}
@media (max-width:1100px){:is(.entry,.is-root-container) .cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){:is(.entry,.is-root-container) :is(.cols-2,.cols-3,.cols-4){grid-template-columns:minmax(0,1fr)}}

/* ---- Cards ---- */
:is(.entry,.is-root-container) .card-g.card{padding:40px;display:flex;flex-direction:column;gap:18px}
:is(.entry,.is-root-container) .card-g p:not(.eyebrow){color:var(--body-ink)}
:is(.entry,.is-root-container) .tier h3{font-size:30px;line-height:1.1;letter-spacing:-.015em}
:is(.entry,.is-root-container) .stack{display:flex;flex-direction:column;gap:14px}
:is(.entry,.is-root-container) .stack-sm{display:flex;flex-direction:column;gap:8px}
:is(.entry,.is-root-container) .icon-head{display:flex;align-items:center;gap:16px}
:is(.entry,.is-root-container) :is(.tier,.card) > .wp-block-buttons:last-child{margin-top:auto}
/* Buttons inside plan cards and the wide band fill the column, as in the original design. */
:is(.entry,.is-root-container) :is(.tier,.band) .wp-block-buttons{flex-direction:column;align-items:stretch;gap:12px}
:is(.entry,.is-root-container) :is(.tier,.band) .wp-block-button__link{width:100%}
@media (max-width:900px){:is(.entry,.is-root-container) .card-g.card{padding:28px}}

/* Prices: a group of mohr/price rows; the last row closes with a rule. */
:is(.entry,.is-root-container) .prices > .price:last-child{border-bottom:1px solid var(--line)}
/* 34px on desktop as designed; eases to 28px on narrow phones so "$2,000–$2,500" stays on one line. */
:is(.entry,.is-root-container) .price .amt{font-size:clamp(28px,1.2vw + 24px,34px)}
:is(.entry,.is-root-container) .price-sm .price{border-top:0;padding:0}
:is(.entry,.is-root-container) .price-sm .amt{font-size:clamp(20px,2vw + 13.5px,26px)}
:is(.entry,.is-root-container) .price-sm .unit{font-size:clamp(15px,.6vw + 13px,17px)}

/* Wide card with copy on the left and a price + buttons on the right. */
:is(.entry,.is-root-container) .band{padding:40px;margin:40px auto 0;max-width:1040px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
:is(.entry,.is-root-container) .band > :first-child{flex:1;min-width:280px;display:flex;flex-direction:column;gap:12px}
:is(.entry,.is-root-container) .band > :last-child{flex:none;min-width:min(240px,100%);display:flex;flex-direction:column;gap:18px}
:is(.entry,.is-root-container) .band h2{font-size:32px;line-height:1.15;letter-spacing:-.015em}
:is(.entry,.is-root-container) .band .price{border-top:0;padding:0}
:is(.entry,.is-root-container) .band .wp-block-buttons{flex-direction:column;align-items:stretch;gap:12px}
@media (max-width:900px){:is(.entry,.is-root-container) .band{padding:28px}:is(.entry,.is-root-container) .band > :first-child{min-width:min(280px,100%)}:is(.entry,.is-root-container) .band > :last-child{flex:1 1 100%}:is(.entry,.is-root-container) .band .wp-block-button__link{white-space:normal}}

/* Round icon beside a card heading (mohr/icon). */
.ibead{flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -2px 0 rgba(0,0,0,.25)}
.ibead-lg{width:52px;height:52px}
.ibead-md{width:44px;height:44px}
.ibead-teal{background:var(--deep)}
.ibead-orange{background:linear-gradient(180deg,#c2570c,#ab4a08)}

/* ---- Lists ---- */
:is(.entry,.is-root-container) :is(ul,ol):is(.is-style-check,.is-style-dash){list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;font-size:16px;line-height:1.55;color:var(--body-ink)}
:is(.entry,.is-root-container) :is(ul,ol):is(.is-style-check,.is-style-dash) > li{position:relative;padding-left:32px}
:is(.entry,.is-root-container) .is-style-check > li::before{content:"";position:absolute;left:0;top:3px;width:20px;height:20px;background:var(--deep);
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 L10 17.5 L19 7'/%3E%3C/svg%3E") center/20px 20px no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 L10 17.5 L19 7'/%3E%3C/svg%3E") center/20px 20px no-repeat}
:is(.entry,.is-root-container) .is-style-dash > li{padding-left:22px}
:is(.entry,.is-root-container) .is-style-dash > li::before{content:"";position:absolute;left:0;top:.72em;width:10px;height:3px;border-radius:2px;background:#c2570c}
:is(.entry,.is-root-container) .card :is(.is-style-check,.is-style-dash){font-size:17px}
:is(.entry,.is-root-container) .sec:is(.is-dark,.is-teal) :is(.is-style-check,.is-style-dash){color:#d9dcde}
:is(.entry,.is-root-container) .sec:is(.is-dark,.is-teal) .is-style-check > li::before{background:var(--sky)}

/* ---- Buttons (core/buttons) ---- */
:is(.entry,.is-root-container) .wp-block-buttons{display:flex;flex-wrap:wrap;gap:16px}
:is(.entry,.is-root-container) .wp-block-buttons.is-content-justification-center{justify-content:center}

/* ---- Numbered steps (dark section) ---- */
:is(.entry,.is-root-container) .pane.is-numbered{counter-reset:step;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
:is(.entry,.is-root-container) .pane.is-numbered > .pstep::before{counter-increment:step;content:counter(step);font:800 72px/1 "Manrope",sans-serif;letter-spacing:-.02em;color:#f97615;text-shadow:0 -1px 0 rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.2)}
:is(.entry,.is-root-container) .pstep h3{font-size:24px;font-weight:700;color:#fff}
:is(.entry,.is-root-container) .pstep p{font-size:16px;line-height:1.65;color:#d9dcde}
@media (max-width:900px){
	:is(.entry,.is-root-container) .pane.is-numbered{grid-auto-flow:row}
	:is(.entry,.is-root-container) .pane.is-numbered > .pstep::before{font-size:56px}
}

/* ---- FAQ (core/details inside .faq) ---- */
:is(.entry,.is-root-container) .faq-grid h2{font-size:var(--h2)}
:is(.entry,.is-root-container) .faq-head{display:flex;flex-direction:column;gap:16px}
/* Core's ":root :where(.is-layout-flow) > :last-child" outranks style.css's .faq p, so restate the answer spacing here. */
:is(.entry,.is-root-container) .faq details > p{margin:0 0 24px}

/* ---- Closing call to action (teal section) ---- */
:is(.entry,.is-root-container) .brk{overflow:visible}
:is(.entry,.is-root-container) .brk-r{right:0;filter:drop-shadow(-6px 8px 12px rgba(0,0,0,.5))}
:is(.entry,.is-root-container) .brk-l{left:0;filter:drop-shadow(6px 8px 12px rgba(0,0,0,.5))}
:is(.entry,.is-root-container) .cta-body{max-width:760px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
:is(.entry,.is-root-container) .cta-body p{color:#fff}
:is(.entry,.is-root-container) .cta-body .small{color:#e2f8fb}
:is(.entry,.is-root-container) .cta-body .wp-block-buttons{justify-content:center;margin-top:12px}

/* ---- Service-page hero (split: copy left, panel right) ----
   Layout comes from style.css (.hero-wrap, .hero-grid, .hero-left, .hero-right);
   these rules cover the pieces that were inline styles in the old templates. */
:is(.entry,.is-root-container) .hero-left .crumb{font:600 13px/1.2 "Work Sans",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#c5f7ff;max-width:none}
:is(.entry,.is-root-container) .crumb a{color:#c5f7ff;text-decoration:none}
:is(.entry,.is-root-container) .crumb a:hover{color:#fff;text-decoration:underline}
:is(.entry,.is-root-container) .crumb a::after{content:"";flex:none;width:12px;height:12px;margin-left:10px;background:#c5f7ff;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6'%3E%3Cpath d='M9 5 L16 12 L9 19'/%3E%3C/svg%3E") center/12px no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6'%3E%3Cpath d='M9 5 L16 12 L9 19'/%3E%3C/svg%3E") center/12px no-repeat}
:is(.entry,.is-root-container) .hero-left .wp-block-buttons{margin-top:8px}

/* "Your Month" checklist panel in the hero. */
:is(.entry,.is-root-container) .pane.month{display:block;padding:26px;max-width:420px;margin-left:auto}
:is(.entry,.is-root-container) .month-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
:is(.entry,.is-root-container) .month-head .eyebrow{color:#f97615}
:is(.entry,.is-root-container) .month-head p:not(.eyebrow){font:600 13px/1 "Work Sans",sans-serif;color:#a9bdc2}
:is(.entry,.is-root-container) .month-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:14px;font:700 16px/1.3 "Manrope",sans-serif;color:#fff}
:is(.entry,.is-root-container) .month-list > li{display:flex;align-items:center;gap:14px}
:is(.entry,.is-root-container) .month-list > li::before{content:"";flex:none;width:26px;height:26px;border-radius:50%;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -2px 0 rgba(0,0,0,.25);
	background:#0a6c7d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 L10 17.5 L19 7'/%3E%3C/svg%3E") center/14px no-repeat}

/* Three cards in a row (.chan grid from style.css). */
:is(.entry,.is-root-container) .chan .card{padding:36px;border-radius:24px}
:is(.entry,.is-root-container) .chan h3{font-size:28px;line-height:1.15;letter-spacing:-.015em}
@media (max-width:900px){:is(.entry,.is-root-container) .chan .card{padding:28px}}

/* Charcoal variant of the dark section (Local Presence "How a Month Works"). */
:is(.entry,.is-root-container) .sec.is-dark.is-charcoal{background:#2d3133}

/* Example report card beside copy (.rep grid from style.css). */
:is(.entry,.is-root-container) .rep-copy{display:flex;flex-direction:column;gap:22px}
:is(.entry,.is-root-container) .rep-copy p:not(.eyebrow){font-size:20px;line-height:1.65;color:var(--body-ink)}
:is(.entry,.is-root-container) .rep-copy .eyebrow{color:var(--rust)}
:is(.entry,.is-root-container) .rep-copy p.rule-line{padding-top:20px;border-top:4px solid var(--orange);font-weight:600;color:var(--ink)}
:is(.entry,.is-root-container) .card-g.report{padding:32px;border-radius:24px}
:is(.entry,.is-root-container) .report-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:2px solid #0b1f24}
:is(.entry,.is-root-container) .report-head .disp{font-weight:800;font-size:20px;color:var(--ink)}
:is(.entry,.is-root-container) .report-head .chip{font-size:13px;line-height:1}
:is(.entry,.is-root-container) .rrow .ibead{width:40px;height:40px}
:is(.entry,.is-root-container) .rrow > p{flex:1;min-width:0;font:700 16px/1.3 "Manrope",sans-serif;color:#0b1f24}
/* Decorative bars: fixed widths, no numbers (the report is an example). */
:is(.entry,.is-root-container) .rrow > p::after{content:"";display:block;margin-top:8px;height:8px;border-radius:4px;background:linear-gradient(90deg,#0a6c7d,#0f99ae);width:60%}
:is(.entry,.is-root-container) .report > .rrow:nth-child(2) > p::after{width:72%}
:is(.entry,.is-root-container) .report > .rrow:nth-child(3) > p::after{width:48%}
:is(.entry,.is-root-container) .report > .rrow:nth-child(4) > p::after{width:84%}
:is(.entry,.is-root-container) .report > .rrow:nth-child(5) > p::after{width:36%}
:is(.entry,.is-root-container) .next-note{margin-top:6px;padding:16px 18px;border-radius:16px;background:#eceeef;display:flex;gap:12px;align-items:flex-start}
:is(.entry,.is-root-container) .next-note .ibead{width:36px;height:36px}
:is(.entry,.is-root-container) .next-note p{font-size:15px;line-height:1.5}
:is(.entry,.is-root-container) .next-note strong{color:#0b1f24}

/* ---- Services page ---- */
:is(.entry,.is-root-container) .hero-left .eyebrow{color:var(--pale)}
:is(.entry,.is-root-container) .sec-head h2{max-width:900px}

/* Hero diagram: monthly pieces stacked on the website. Real text, so it reads
   in order for screen readers; the divider is a CSS drawing. */
:is(.entry,.is-root-container) .pane.stack{display:block;max-width:420px;margin-left:auto}
:is(.entry,.is-root-container) .stack-tier:first-child .eyebrow{color:#f97615}
:is(.entry,.is-root-container) .stack-tier + .stack-tier{position:relative;padding-top:46px}
:is(.entry,.is-root-container) .stack-tier + .stack-tier .eyebrow{color:#a9bdc2}
:is(.entry,.is-root-container) .stack-tier + .stack-tier::before{content:"";position:absolute;left:0;right:0;top:0;height:28px;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 28' preserveAspectRatio='none'%3E%3Cpath d='M0 22 H184 L210 0 L236 22 H420' fill='none' stroke='rgba(0,0,0,.55)' stroke-width='1.5'/%3E%3Cpath d='M0 23.5 H184.6 L210 2 L235.4 23.5 H420' fill='none' stroke='rgba(255,255,255,.14)' stroke-width='1'/%3E%3C/svg%3E") center/100% 28px no-repeat}
:is(.entry,.is-root-container) .stack-row p{font:inherit;color:inherit}
@media (max-width:900px){:is(.entry,.is-root-container) .stack-tier + .stack-tier{padding-top:40px}}

/* Offer cards (.offers grid from style.css). */
:is(.entry,.is-root-container) .card-g.offer{border-radius:24px;padding:44px;display:flex;flex-direction:column;gap:22px}
:is(.entry,.is-root-container) .offer-top{display:flex;align-items:center;gap:16px}
:is(.entry,.is-root-container) .offer .ibead{width:60px;height:60px}
:is(.entry,.is-root-container) .offer-top .chip{font-size:13px;line-height:1}
:is(.entry,.is-root-container) .offer h3{font-size:34px;line-height:1.15;letter-spacing:-.015em}
:is(.entry,.is-root-container) .offer .tagline{font-size:21px;line-height:1.35}
:is(.entry,.is-root-container) .offer-foot{margin-top:auto;padding-top:20px;border-top:1px solid var(--line)}
@media (max-width:900px){
	:is(.entry,.is-root-container) .card-g.offer{padding:28px}
	:is(.entry,.is-root-container) .offer h3{font-size:28px}
	:is(.entry,.is-root-container) .offer .tagline{font-size:20px}
}

/* Orange-dash tags (e.g. "Built once"). */
:is(.entry,.is-root-container) .tags{display:flex;gap:10px 18px;flex-wrap:wrap;padding-top:6px}
:is(.entry,.is-root-container) .tags .ptag{font-size:15px;line-height:1}

/* Text link with an arrow. */
:is(.entry,.is-root-container) a.tlink{color:#0a6c7d;text-decoration:none}
:is(.entry,.is-root-container) a.tlink::after{content:"";flex:none;width:18px;height:18px;background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M5 12 H18 M12 6 L18 12 L12 18'/%3E%3C/svg%3E") center/18px no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M5 12 H18 M12 6 L18 12 L12 18'/%3E%3C/svg%3E") center/18px no-repeat}
:is(.entry,.is-root-container) a.tlink:hover{color:#064a57;text-decoration:underline}

:is(.entry,.is-root-container) .after-offers{max-width:720px;margin:32px auto 0;text-align:center;color:var(--body-ink)}
:is(.entry,.is-root-container) .capstone-line{border-radius:24px;padding:28px 32px;margin-top:32px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
:is(.entry,.is-root-container) .capstone-line p:first-child{flex:1;min-width:260px;font-size:18px;line-height:1.5;font-weight:600;color:var(--ink)}

/* "How it fits together" table (core/table with class fit; .fit cell
   styles from style.css). Row icons are drawn here, one per row, in order:
   website, Google listing, reviews, local listings. */
:is(.entry,.is-root-container) .fit-wrap{border-radius:24px;padding:16px 24px;max-width:1040px;margin:0 auto;overflow-x:auto}
:is(.entry,.is-root-container) .wp-block-table.fit table{width:100%;border-collapse:separate;border-spacing:0;font-size:17px}
:is(.entry,.is-root-container) .fit thead th:not(:first-child){width:17%;text-align:center}
:is(.entry,.is-root-container) .wp-block-table.fit :is(thead,tfoot){border:0}
:is(.entry,.is-root-container) .wp-block-table.fit :is(th,td){border:0;border-bottom:1px solid #d3d9db}
:is(.entry,.is-root-container) .wp-block-table.fit thead th{border-bottom:2px solid #0b1f24}
:is(.entry,.is-root-container) .wp-block-table.fit tbody tr:last-child :is(th,td){border-bottom:0}
:is(.entry,.is-root-container) .fit tbody th br{display:none}
:is(.entry,.is-root-container) .fit figcaption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
:is(.entry,.is-root-container) .fit tbody th{position:relative;padding-left:84px;font-size:14px;line-height:1.3;color:#43595f}
:is(.entry,.is-root-container) .fit tbody th strong{display:block;margin-bottom:4px;font:700 18px/1.2 "Manrope",sans-serif;color:#0b1f24}
:is(.entry,.is-root-container) .fit tbody th::before{content:"";position:absolute;left:24px;top:50%;width:44px;height:44px;margin-top:-22px;border-radius:50%;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -2px 0 rgba(0,0,0,.25);background-color:#0a6c7d;background-position:center;background-size:20px;background-repeat:no-repeat}
:is(.entry,.is-root-container) .fit tbody tr:nth-child(1) th::before{background-color:#b8500a;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21 H16 M12 17 V21'/%3E%3C/svg%3E")}
:is(.entry,.is-root-container) .fit tbody tr:nth-child(2) th::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21 C12 21 5 14.5 5 9.5 A7 7 0 0 1 19 9.5 C19 14.5 12 21 12 21 Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E")}
:is(.entry,.is-root-container) .fit tbody tr:nth-child(3) th::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 L14.6 8.9 L20.5 9.7 L16.2 13.8 L17.3 19.7 L12 16.9 L6.7 19.7 L7.8 13.8 L3.5 9.7 L9.4 8.9 Z'/%3E%3C/svg%3E")}
:is(.entry,.is-root-container) .fit tbody tr:nth-child(4) th::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6 H20 M9 12 H20 M9 18 H20'/%3E%3Cpath d='M4.5 6 H5 M4.5 12 H5 M4.5 18 H5'/%3E%3C/svg%3E")}
/* Yes / No marks: the word stays for screen readers, hidden visually. */
:is(.entry,.is-root-container) .fit .dot,:is(.entry,.is-root-container) .fit .nodot{overflow:hidden;white-space:nowrap;text-indent:100px;vertical-align:middle}
:is(.entry,.is-root-container) .fit .dot{display:inline-block;background:#0a6c7d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 L10 17.5 L19 7'/%3E%3C/svg%3E") center/16px no-repeat}

/* Phone version of the table: one card per piece. */
:is(.entry,.is-root-container) .fit-card{border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:14px}
:is(.entry,.is-root-container) .fit-name{display:flex;align-items:center;gap:14px}
:is(.entry,.is-root-container) .stack-xs{display:flex;flex-direction:column;gap:3px}
:is(.entry,.is-root-container) .fit-name .disp{font:700 18px/1.2 "Manrope",sans-serif;color:#0b1f24}
:is(.entry,.is-root-container) .fit-name .sub{font-size:14px;line-height:1.3;color:#43595f}
:is(.entry,.is-root-container) .fit-card .tags{padding:0 0 0 58px}

/* Plain line icons on dark panels (mohr/icon, tone "plain"). */
.iplain{display:inline-flex;color:#f97615;filter:drop-shadow(0 -1px 0 rgba(0,0,0,.6)) drop-shadow(0 1px 0 rgba(255,255,255,.18))}
:is(.entry,.is-root-container) .pane:not(.is-numbered) .pstep h3{margin-top:6px;font-size:22px;line-height:1.25}

/* ---- Case studies (inc/case-studies.php turns the tables, quote and
   visit link into the site's markup; these rules cover what core blocks
   add or leave out) ---- */
/* Core's flow-layout margin reset outranks these shared classes. */
:is(.entry,.is-root-container) .u-mb-48{margin-bottom:48px}
:is(.entry,.is-root-container) .u-statement{margin-bottom:20px}
/* The facts list kept the browser's 16px list margins in the original design. */
:is(.entry,.is-root-container) dl.facts{margin-block:16px}
/* Challenge list: an orange dash before each point (core/list, class clist). */
:is(.entry,.is-root-container) ul.clist > li{display:block;position:relative;padding-left:28px}
:is(.entry,.is-root-container) ul.clist > li::before{content:"";position:absolute;left:0;top:.8em;width:14px;height:3px;border-radius:2px;background:var(--wp--preset--color--button-orange-start)}
/* "What we did" cards number themselves: 01, 02, 03. */
:is(.entry,.is-root-container) .proof{counter-reset:did}
:is(.entry,.is-root-container) .proof > .did::before{counter-increment:did;content:counter(did,decimal-leading-zero);content:counter(did,decimal-leading-zero) / "";font:800 40px/1 "Manrope",sans-serif;color:var(--wp--preset--color--button-orange-start);letter-spacing:-.02em}
/* Image caption shown as a dark label on the image ("Before", "After"). */
:is(.entry,.is-root-container) .cs-shot .wp-element-caption{position:absolute;top:16px;left:16px;margin:0;display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:10px;background:var(--ink);color:white;font:700 13px/1 "Work Sans",sans-serif;letter-spacing:.04em}
/* Result without a client quote: one column. */
:is(.entry,.is-root-container) .cs-result:not(:has(.cs-quote)){grid-template-columns:minmax(0,1fr)}
/* Links that draw their own icon. */
:is(.entry,.is-root-container) a.tlink.no-arrow::after{content:none}
