/*
 * Cornerstone Bank - site styles (Kadence).
 *
 * Decisions (see DESIGN.md):
 * - Palette lives in Kadence Global Palette; this file only uses var(--global-paletteN).
 *   1 forest, 2 pine, 3 ink, 4 body, 5 muted, 6 sandstone, 7 mist, 8 sage wash, 9 white.
 * - Type: Libre Caslon Text (headings) + Public Sans (body, UI). Local files.
 * - Grid: wide 1180, prose 760. Breakpoints 544 / 767 / 1024.
 * - Signature: the cornerstone. Sandstone block "Chartered 1902" on the home hero;
 *   small sandstone squares mark product names and steps.
 * - Prefix x-. Section classes name the section, not the style.
 */

/* ---------- Fonts ---------- */
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/libre-caslon-text-400.woff2) format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/libre-caslon-text-400i.woff2) format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/libre-caslon-text-700.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/public-sans-var.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/public-sans-var-italic.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--x-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
	--x-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--x-edge: var(--global-content-edge-padding, 1.5rem);
	--x-wide: calc(var(--global-content-width, 1228px) - 2 * var(--x-edge));
	--x-prose: 760px;
	--x-pad-l: clamp(56px, 7vw, 92px);
	--x-pad-m: clamp(40px, 5vw, 60px);
	--x-gap: clamp(24px, 3.4vw, 48px);
	--x-radius: 3px;
	--x-carve: #5e4b2f;
	--x-stone-top: #e3d5b5;
	--x-stone-side: #a58c60;
	--x-line: var(--global-palette7);
}

/* ---------- Base ---------- */
body{ -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.entry-content h1, .entry-content h2, .entry-content h3{ text-wrap: balance; }
.entry-content p{ text-wrap: pretty; }
.entry-content a:not(.wp-element-button){ text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.entry-content a:not(.wp-element-button):hover{ text-decoration-thickness: 2px; }
.entry-content strong{ color: var(--global-palette3); font-weight: 650; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible{
	outline: 3px solid var(--global-palette6);
	outline-offset: 2px;
	border-radius: 2px;
}
.entry-content img{ border-radius: var(--x-radius); }
a[href^="tel:"]{ white-space: nowrap; }

/*
 * Kadence is a classic theme, so core wraps every group's children in
 * .wp-block-group__inner-container. Component grids need the real children,
 * so the wrapper steps aside; bands keep it as their centred max-width box.
 */
:is(.entry-content, .editor-styles-wrapper) .wp-block-group[class*="x-"]:not(.x-band):not(.x-subbar) > .wp-block-group__inner-container { display: contents; }
.entry-content .wp-block-group[class*="x-"] .wp-block-group { margin-bottom: 0; }
.entry-content .wp-block-group__inner-container > :last-child { margin-bottom: 0; }

/* ---------- Header ---------- */
.site-top-header-wrap .site-header-row-container-inner{ border: 0; }
.site-top-header-inner-wrap.site-header-row { grid-template-columns: 1fr; }
.site-top-header-inner-wrap .site-header-top-section-right { display: none; }
.site-top-header-inner-wrap .site-header-top-section-left { flex: 1 1 auto; }
.site-top-header-inner-wrap .site-header-top-section-left > .site-header-item { flex: 1 1 auto; }
.site-top-header-wrap .header-html,
.site-top-header-wrap .header-html-inner{ width: 100%; }
.site-top-header-wrap .header-html-inner{ display: flex; justify-content: space-between; align-items: center; gap: 24px; }
:is(.entry-content, .editor-styles-wrapper) .x-top__phone a{ font-weight: 600; text-decoration: none; }
.site-main-header-wrap .site-header-row-container-inner{ border-bottom: 1px solid var(--x-line); }
.site-branding a.brand img{ height: auto; }
/* Top-level menu: sandstone underline under the label only (the dropdown arrow is an svg, so it stays clear). */
.main-navigation .primary-menu-container > ul > li.menu-item > a{
	text-decoration: underline; text-decoration-color: transparent;
	text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a{ text-decoration-color: var(--global-palette6); }
.header-navigation .header-menu-container ul ul.sub-menu{ border-top: 3px solid var(--global-palette6); }
.mobile-drawer-content .x-drawer__hours,
.mobile-drawer-content .x-drawer__phone{ margin: 0 0 14px; }
.mobile-drawer-content .site-header-item-mobile-html{ padding-top: 24px; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.drawer-content .drawer-sub-toggle{ color: var(--global-palette6); }

/* ---------- Page title band (inner pages) ---------- */
.page-hero-section .entry-hero-container-inner{
	background-image: url(../img/ashlar.svg);
	background-repeat: repeat;
	background-position: left bottom;
	border-bottom: 4px solid var(--global-palette6);
}
.page-hero-section .entry-header{ padding-block: 8px; }
.page-hero-section .entry-title{ max-width: 18em; }

/* ---------- Content rhythm (inner pages) ---------- */
.entry-content.single-content{ --x-flow: 18px; }
.entry-content.single-content > *{ margin-top: 0; margin-bottom: 0; }
.entry-content.single-content > :where(p, ul, ol, h2, h3, h4, figure, .wp-block-group, .wp-block-columns, .wp-block-buttons) + *{ margin-top: var(--x-flow); }
.entry-content.single-content > h2{ margin-top: clamp(48px, 6vw, 76px); margin-bottom: 4px; }
.entry-content.single-content > h3{ margin-top: 36px; }
.entry-content.single-content > h2 + *, .entry-content.single-content > h3 + *{ margin-top: 14px; }
.entry-content.single-content > p, .entry-content.single-content > ul, .entry-content.single-content > ol, .entry-content.single-content > h2, .entry-content.single-content > h3{ max-width: var(--x-prose); }
.entry-content.single-content > .x-subbar + *{ margin-top: clamp(36px, 4.5vw, 56px); }
body:not(.home) .single-content{ padding-bottom: var(--x-pad-l); }
.entry-content.single-content :where(.wp-block-group, .wp-block-column) > :first-child{ margin-top: 0; }
.entry-content.single-content :where(.wp-block-group, .wp-block-column) > :last-child{ margin-bottom: 0; }

:is(.entry-content, .editor-styles-wrapper) .x-lead, .entry-content.single-content > .x-lead{ font-size: clamp(19px, 1.6vw, 21px); line-height: 1.55; color: var(--global-palette3); max-width: var(--x-prose); }

/* Plain multi-link line: "Read our history  Meet our leadership team" */
:is(.entry-content, .editor-styles-wrapper) .x-more{ display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; font-size: 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-more a{ color: var(--global-palette1); }
:is(.entry-content, .editor-styles-wrapper) .x-more.x-more--line{ display: block; padding-top: 22px; border-top: 1px solid var(--x-line); font-weight: 400; }

/* ---------- Section subnav ---------- */
.entry-content.single-content > .x-subbar{
	background: var(--global-palette9);
	border-bottom: 1px solid var(--x-line);
	padding-inline: var(--x-edge);
}
:is(.entry-content, .editor-styles-wrapper) .x-subnav{
	max-width: var(--x-wide); margin: 0 auto; padding: 0; list-style: none;
	display: flex; gap: 4px 30px; overflow-x: auto; scrollbar-width: thin;
}
:is(.entry-content, .editor-styles-wrapper) .x-subnav li{ margin: 0; flex: 0 0 auto; }
:is(.entry-content, .editor-styles-wrapper) .x-subnav a, :is(.entry-content, .editor-styles-wrapper) .x-subnav strong{
	display: block; padding: 16px 0 13px; font-size: 15px; font-weight: 600;
	border-bottom: 3px solid transparent; text-decoration: none; white-space: nowrap;
}
:is(.entry-content, .editor-styles-wrapper) .x-subnav a{ color: var(--global-palette5); }
:is(.entry-content, .editor-styles-wrapper) .x-subnav a:hover{ color: var(--global-palette1); border-bottom-color: var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-subnav strong{ color: var(--global-palette3); border-bottom-color: var(--global-palette6); font-weight: 650; }

/* ---------- Bands (home) ---------- */
.entry-content.single-content > .x-band{ padding: var(--x-pad-l) var(--x-edge); }
:is(.entry-content, .editor-styles-wrapper) .x-band > *{ max-width: var(--x-wide); margin-inline: auto; }
:is(.entry-content, .editor-styles-wrapper) .x-band--wash{ background: var(--global-palette8); }
:is(.entry-content, .editor-styles-wrapper) .x-band--forest{ background: var(--global-palette1); color: var(--global-palette8); }
:is(.entry-content, .editor-styles-wrapper) .x-band--forest :is(h2, h3, strong){ color: var(--global-palette9); }
:is(.entry-content, .editor-styles-wrapper) .x-band__title{ margin: 0 auto 32px; }
.entry-content.single-content .x-band .wp-block-columns{ margin: 0 auto; }

/* Core forces align-items:normal!important on columns, so vertical alignment goes on the columns themselves. */
:is(.entry-content, .editor-styles-wrapper) :is(.x-hero__grid, .x-online__grid, .x-history__grid, .x-protect__grid, .x-intro) > .wp-block-column{ align-self: center; }
:is(.entry-content, .editor-styles-wrapper) :is(.x-about, .x-contact, .x-visit__grid, .x-pair) > .wp-block-column{ align-self: start; }

/* Hero */
.entry-content.single-content > .x-hero{ padding-block: clamp(48px, 6vw, 84px) clamp(64px, 8vw, 104px); background: var(--global-palette8); }
:is(.entry-content, .editor-styles-wrapper) .x-hero__grid.wp-block-columns{ display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
:is(.entry-content, .editor-styles-wrapper) .x-hero__title{ font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 22px; color: var(--global-palette3); }
:is(.entry-content, .editor-styles-wrapper) .x-hero__text .x-lead{ margin-bottom: 12px; }
:is(.entry-content, .editor-styles-wrapper) .x-hero__text .wp-block-buttons{ margin-top: 30px; gap: 12px; }
:is(.entry-content, .editor-styles-wrapper) .x-hero__media{ position: relative; }
:is(.entry-content, .editor-styles-wrapper) .x-hero__photo{ margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-hero__photo img{ display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* The cornerstone: a sandstone block set into the corner of the photo */
:is(.entry-content, .editor-styles-wrapper) .x-cornerstone{
	position: absolute; left: -30px; bottom: -34px; z-index: 1;
	width: 150px; aspect-ratio: 1; margin: 0;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	background: linear-gradient(160deg, #d3be96 0%, var(--global-palette6) 55%, #c2aa7e 100%);
	color: var(--x-carve); font-family: var(--x-serif); text-align: center;
	font-size: 46px; line-height: 1; letter-spacing: 0.02em;
	text-shadow: 1px 1px 0 rgba(255, 250, 238, 0.55);
}
:is(.entry-content, .editor-styles-wrapper) .x-cornerstone span{ display: block; font-style: italic; font-size: 17px; letter-spacing: 0.03em; margin-bottom: 8px; }
:is(.entry-content, .editor-styles-wrapper) .x-cornerstone::before, :is(.entry-content, .editor-styles-wrapper) .x-cornerstone::after{ content: ""; position: absolute; }
:is(.entry-content, .editor-styles-wrapper) .x-cornerstone::before{ left: 0; top: -14px; width: 100%; height: 14px; background: var(--x-stone-top); transform: skewX(-45deg); transform-origin: bottom left; }
:is(.entry-content, .editor-styles-wrapper) .x-cornerstone::after{ right: -14px; top: 0; width: 14px; height: 100%; background: var(--x-stone-side); transform: skewY(-45deg); transform-origin: top left; }

/* Visit strip */
.entry-content.single-content > .x-visit{ padding-block: var(--x-pad-m); background: var(--global-palette9); border-bottom: 1px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-visit__grid.wp-block-columns{ display: grid; grid-template-columns: 5fr 7fr; gap: var(--x-gap); }
:is(.entry-content, .editor-styles-wrapper) .x-visit h2{ font-size: clamp(24px, 2.4vw, 28px); margin: 0 0 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-hours{ list-style: none; padding: 0; margin: 0; max-width: 460px; }
:is(.entry-content, .editor-styles-wrapper) .x-hours li{ display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dotted #b9c4bb; margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-hours li strong{ font-weight: 600; }
:is(.entry-content, .editor-styles-wrapper) .x-places{ list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
:is(.entry-content, .editor-styles-wrapper) .x-places li{ margin: 0; padding: 10px 0; border-bottom: 1px dotted #b9c4bb; color: var(--global-palette5); font-size: 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-places a{ display: block; font-family: var(--x-serif); font-size: 21px; color: var(--global-palette1); text-decoration: none; }
:is(.entry-content, .editor-styles-wrapper) .x-places a:hover{ text-decoration: underline; }
:is(.entry-content, .editor-styles-wrapper) .x-visit__phone{ margin-top: 18px; font-weight: 600; }

/* Tiles */
:is(.entry-content, .editor-styles-wrapper) .x-tiles.wp-block-columns{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
:is(.entry-content, .editor-styles-wrapper) .x-tile{ display: flex; flex-direction: column; }
:is(.entry-content, .editor-styles-wrapper) .x-tile .x-tile__img{ margin: 0 0 18px; }
:is(.entry-content, .editor-styles-wrapper) .x-tile .x-tile__img img{ display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
:is(.entry-content, .editor-styles-wrapper) .x-tile h3{ margin: 0 0 8px; }
:is(.entry-content, .editor-styles-wrapper) .x-tile p{ font-size: 16px; line-height: 1.6; margin: 0 0 14px; }
:is(.entry-content, .editor-styles-wrapper) .x-tile .x-more{ margin-top: auto; padding-top: 12px; border-top: 1px solid var(--x-line); }

/* Online banking */
:is(.entry-content, .editor-styles-wrapper) .x-online__grid.wp-block-columns{ display: grid; grid-template-columns: 7fr 5fr; gap: var(--x-gap); align-items: center; }
:is(.entry-content, .editor-styles-wrapper) .x-online h2{ margin: 0 0 12px; }
:is(.entry-content, .editor-styles-wrapper) .x-online .x-lead{ color: var(--global-palette8); }
:is(.entry-content, .editor-styles-wrapper) .x-online .wp-block-buttons{ margin-top: 26px; }
:is(.entry-content, .editor-styles-wrapper) .x-online .wp-block-button__link{ background: var(--global-palette9); color: var(--global-palette1); }
:is(.entry-content, .editor-styles-wrapper) .x-online .wp-block-button__link:hover{ background: var(--global-palette6); color: var(--global-palette3); }

/* History */
:is(.entry-content, .editor-styles-wrapper) .x-history__grid.wp-block-columns{ display: grid; grid-template-columns: 5fr 7fr; gap: var(--x-gap); align-items: center; }
:is(.entry-content, .editor-styles-wrapper) .x-history h2{ margin: 0 0 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-history__text p{ max-width: 640px; }
:is(.entry-content, .editor-styles-wrapper) .x-history__photo img, :is(.entry-content, .editor-styles-wrapper) .x-about__photo img{ filter: grayscale(1) contrast(1.06); display: block; width: 100%; }
.wp-block-image figcaption.wp-element-caption{ font-family: var(--x-serif); font-style: italic; font-size: 15px; color: var(--global-palette5); margin-top: 10px; text-align: left; }

/* Protect */
:is(.entry-content, .editor-styles-wrapper) .x-protect__grid.wp-block-columns{ display: grid; grid-template-columns: 6fr 6fr; gap: var(--x-gap); align-items: center; }
:is(.entry-content, .editor-styles-wrapper) .x-protect h2{ margin: 0 0 12px; }

/* ---------- Callout ---------- */
:is(.entry-content, .editor-styles-wrapper) .x-callout{
	background: var(--global-palette8); border-left: 4px solid var(--global-palette6);
	padding: 18px 22px; font-size: 17px; line-height: 1.55; color: var(--global-palette3);
	max-width: var(--x-prose); border-radius: 0 var(--x-radius) var(--x-radius) 0;
}
:is(.entry-content, .editor-styles-wrapper) .x-band--wash .x-callout{ background: var(--global-palette9); }
.entry-content.single-content > .x-callout{ margin-top: 32px; }

/* ---------- Intro row: lead text + section image ---------- */
.entry-content.single-content > .x-intro.wp-block-columns{ display: grid; grid-template-columns: 6fr 5fr; gap: var(--x-gap); align-items: center; max-width: var(--x-wide); margin-bottom: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-intro__img{ margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-intro__img img{ display: block; width: 100%; height: auto; }
:is(.entry-content, .editor-styles-wrapper) .x-intro__img--crop img{ aspect-ratio: 12 / 5; object-fit: cover; }

/* ---------- Plates (section images) ---------- */
.entry-content.single-content > .x-plate{ max-width: var(--x-prose); margin-top: 28px; }
:is(.entry-content, .editor-styles-wrapper) .x-plate img{ display: block; width: 100%; height: auto; }
:is(.entry-content, .editor-styles-wrapper) .x-plate--wide img{ aspect-ratio: 760 / 260; object-fit: cover; }

/* ---------- Index (Personal, Business) ---------- */
.entry-content.single-content > .x-index{ margin-top: 24px; }
:is(.entry-content, .editor-styles-wrapper) .x-index{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
:is(.entry-content, .editor-styles-wrapper) .x-index--four{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.entry-content, .editor-styles-wrapper) .x-index__item{ border-top: 3px solid var(--global-palette6); padding-top: 18px; display: flex; flex-direction: column; }
:is(.entry-content, .editor-styles-wrapper) .x-index__item h3{ margin: 0 0 10px; }
:is(.entry-content, .editor-styles-wrapper) .x-index__item ul{ list-style: none; padding: 0; margin: 0 0 16px; font-size: 16px; color: var(--global-palette4); }
:is(.entry-content, .editor-styles-wrapper) .x-index__item li{ margin: 0; padding: 5px 0; border-bottom: 1px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-index__item .x-more{ margin-top: auto; }
:is(.entry-content, .editor-styles-wrapper) .x-index__item--wide{ grid-column: span 2; }
:is(.entry-content, .editor-styles-wrapper) .x-index__item--wide ul{ columns: 2; column-gap: 40px; }
:is(.entry-content, .editor-styles-wrapper) .x-index__item--wide li{ break-inside: avoid; }

/* Small sandstone square: product names and loan types */
:is(.entry-content, .editor-styles-wrapper) .x-ledger__row h3::before, :is(.entry-content, .editor-styles-wrapper) .x-defs__item h3::before{
	content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-right: 0.5em;
	background: var(--global-palette6); vertical-align: 0.12em;
}

/* ---------- Ledger (deposit products) ---------- */
.entry-content.single-content > .x-ledger{ margin-top: 18px; }
:is(.entry-content, .editor-styles-wrapper) .x-ledger{ border-top: 1px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-ledger__row{
	display: grid; grid-template-columns: minmax(220px, 4fr) 7fr; gap: 10px var(--x-gap);
	padding: 26px 0; border-bottom: 1px solid var(--x-line);
}
:is(.entry-content, .editor-styles-wrapper) .x-ledger__row h3{ margin: 0; font-size: 22px; }
:is(.entry-content, .editor-styles-wrapper) .x-ledger__row ul{ margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 36px; }
:is(.entry-content, .editor-styles-wrapper) .x-ledger__row li{ margin: 0 0 8px; padding-left: 18px; position: relative; font-size: 17px; break-inside: avoid; }
:is(.entry-content, .editor-styles-wrapper) .x-ledger__row li::before{ content: ""; position: absolute; left: 0; top: 0.68em; width: 7px; height: 2px; background: var(--global-palette1); }

/* ---------- Definitions (loan types) ---------- */
.entry-content.single-content > .x-defs{ margin-top: 36px; }
:is(.entry-content, .editor-styles-wrapper) .x-defs{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--x-gap); border-top: 1px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-defs__item{ padding: 26px 0; border-bottom: 1px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-defs__item h3{ margin: 0 0 8px; font-size: 22px; }
:is(.entry-content, .editor-styles-wrapper) .x-defs__item p{ margin: 0; }

/* ---------- Notice (S.A.F.E. Act) ---------- */
.entry-content.single-content > .x-notice{ margin-top: clamp(48px, 6vw, 72px); max-width: var(--x-prose); }
:is(.entry-content, .editor-styles-wrapper) .x-notice{ border: 1px solid var(--x-line); border-top: 4px solid var(--global-palette1); padding: 28px 30px; border-radius: 0 0 var(--x-radius) var(--x-radius); }
:is(.entry-content, .editor-styles-wrapper) .x-notice h2{ font-size: clamp(21px, 2vw, 24px); font-weight: 700; margin: 0 0 14px; line-height: 1.3; }
:is(.entry-content, .editor-styles-wrapper) .x-notice p, :is(.entry-content, .editor-styles-wrapper) .x-notice ul{ margin: 0 0 12px; }
:is(.entry-content, .editor-styles-wrapper) .x-notice ul{ padding-left: 1.1em; }

/* ---------- Pair of columns ---------- */
.entry-content.single-content .x-pair.wp-block-columns{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--x-gap); margin-bottom: 0; }
.entry-content.single-content .x-pair--wide-right.wp-block-columns{ grid-template-columns: 5fr 7fr; }
:is(.entry-content, .editor-styles-wrapper) .x-pair h2{ margin: 0 0 14px; }
:is(.entry-content, .editor-styles-wrapper) .x-pair h3{ margin: 0 0 10px; }
.entry-content.single-content > .x-pair{ margin-top: 30px; }

/* ---------- Tables ---------- */
.entry-content.single-content > .x-table-title{ margin-top: 44px; }
:is(.entry-content, .editor-styles-wrapper) .x-table{ overflow-x: auto; margin: 0; }
.entry-content.single-content > .x-table{ margin-top: 18px; }
:is(.entry-content, .editor-styles-wrapper) .x-table table{ table-layout: auto; width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
:is(.entry-content, .editor-styles-wrapper) .x-table thead{ border: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-table th{ background: var(--global-palette1); color: var(--global-palette9); font-weight: 600; text-align: left; padding: 14px 16px; border: 0; vertical-align: bottom; }
:is(.entry-content, .editor-styles-wrapper) .x-table td{ padding: 14px 16px; border: 0; border-bottom: 1px solid var(--x-line); vertical-align: top; }
:is(.entry-content, .editor-styles-wrapper) .x-table tbody tr:nth-child(even) td{ background: var(--global-palette8); }
:is(.entry-content, .editor-styles-wrapper) .x-table td:first-child{ color: var(--global-palette3); }
:is(.entry-content, .editor-styles-wrapper) .x-table--compare table{ min-width: 680px; }
:is(.entry-content, .editor-styles-wrapper) .x-table--compare td:first-child{ width: 34%; font-weight: 600; }
:is(.entry-content, .editor-styles-wrapper) .x-table--share table{ min-width: 600px; }
:is(.entry-content, .editor-styles-wrapper) .x-table--share td:not(:first-child){ width: 20%; }

/* ---------- Checks list ---------- */
:is(.entry-content, .editor-styles-wrapper) .x-checks{ list-style: none; padding: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-checks li{ position: relative; padding-left: 30px; margin: 0 0 10px; }
:is(.entry-content, .editor-styles-wrapper) .x-checks li::before{
	content: ""; position: absolute; left: 0; top: 0.22em; width: 19px; height: 19px;
	background: var(--global-palette1);
	-webkit-mask: url(../img/check.svg) center / contain no-repeat; mask: url(../img/check.svg) center / contain no-repeat;
}
:is(.entry-content, .editor-styles-wrapper) .x-checks--light li{ color: var(--global-palette9); font-size: 19px; margin-bottom: 14px; }
:is(.entry-content, .editor-styles-wrapper) .x-checks--light li::before{ background: var(--global-palette6); }
.entry-content.single-content > .x-checks--cols{ max-width: var(--x-wide); columns: 2; column-gap: var(--x-gap); }
:is(.entry-content, .editor-styles-wrapper) .x-checks--cols li{ break-inside: avoid; }

/* ---------- Panels (services) ---------- */
.entry-content.single-content > .x-panels{ margin-top: 44px; }
:is(.entry-content, .editor-styles-wrapper) .x-panels{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
:is(.entry-content, .editor-styles-wrapper) .x-panel{ background: var(--global-palette8); border-top: 3px solid var(--global-palette6); padding: 22px 22px 24px; }
:is(.entry-content, .editor-styles-wrapper) .x-panel h3{ font-size: 20px; margin: 0 0 10px; }
:is(.entry-content, .editor-styles-wrapper) .x-panel p, :is(.entry-content, .editor-styles-wrapper) .x-panel ul{ font-size: 16px; margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-panel ul{ padding-left: 1.1em; }
:is(.entry-content, .editor-styles-wrapper) .x-panel li{ margin: 0 0 6px; }
.entry-content.single-content > .x-more--line{ margin-top: 44px; max-width: var(--x-wide); }

/* ---------- ID theft ---------- */
.entry-content.single-content > .x-toc{ margin-top: 28px; max-width: var(--x-wide); }
:is(.entry-content, .editor-styles-wrapper) .x-toc{ list-style: none; padding: 16px 22px; margin: 0; background: var(--global-palette8); display: flex; flex-wrap: wrap; gap: 6px 28px; }
:is(.entry-content, .editor-styles-wrapper) .x-toc li{ margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-toc a{ font-weight: 600; font-size: 16px; }
.entry-content.single-content > .x-cadence{ margin-top: 22px; }
:is(.entry-content, .editor-styles-wrapper) .x-cadence{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
:is(.entry-content, .editor-styles-wrapper) .x-cadence__item{ border-top: 3px solid var(--global-palette6); padding-top: 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-cadence__item h3{ margin: 0 0 10px; font-size: 21px; }
:is(.entry-content, .editor-styles-wrapper) .x-cadence__item ul{ padding-left: 1.05em; margin: 0; font-size: 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-cadence__item li{ margin: 0 0 10px; }
.entry-content.single-content > .x-cards{ margin-top: 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-cards{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-cards__item{ background: var(--global-palette8); padding: 20px; border-radius: var(--x-radius); }
:is(.entry-content, .editor-styles-wrapper) .x-cards__item h4{ margin: 0 0 8px; font-size: 17px; }
:is(.entry-content, .editor-styles-wrapper) .x-cards__item p{ margin: 0; font-size: 15.5px; line-height: 1.55; }
.entry-content.single-content > .x-schemes{ margin-top: 24px; }
:is(.entry-content, .editor-styles-wrapper) .x-schemes{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--x-gap); }
:is(.entry-content, .editor-styles-wrapper) .x-scheme h3{ margin: 0 0 8px; }
:is(.entry-content, .editor-styles-wrapper) .x-scheme p{ margin: 0 0 12px; }
:is(.entry-content, .editor-styles-wrapper) .x-steps{ list-style: none; padding: 0; margin: 0; counter-reset: x-step; }
:is(.entry-content, .editor-styles-wrapper) .x-steps li{ counter-increment: x-step; position: relative; padding-left: 38px; margin: 0 0 10px; font-size: 16.5px; }
:is(.entry-content, .editor-styles-wrapper) .x-steps li::before{
	content: counter(x-step); position: absolute; left: 0; top: 0.1em; width: 24px; height: 24px;
	display: grid; place-items: center; background: var(--global-palette6); color: var(--x-carve);
	font: 700 13px/1 var(--x-sans);
}

/* ---------- Alerts memo ---------- */
.entry-content.single-content > .x-memo{ margin-top: 22px; max-width: 880px; }
:is(.entry-content, .editor-styles-wrapper) .x-memo{ border: 1px solid var(--x-line); border-radius: var(--x-radius); overflow: hidden; }
:is(.entry-content, .editor-styles-wrapper) .x-memo__head{ background: var(--global-palette8); padding: 22px 28px; border-bottom: 1px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-memo__head p, :is(.entry-content, .editor-styles-wrapper) .x-memo__foot p{ margin: 0 0 8px; display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
:is(.entry-content, .editor-styles-wrapper) .x-memo__head p:last-child, :is(.entry-content, .editor-styles-wrapper) .x-memo__foot p:last-child{ margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-memo__body{ padding: 26px 28px 8px; }
:is(.entry-content, .editor-styles-wrapper) .x-memo__body p{ margin: 0 0 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-memo__sign{ font-size: 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-memo__foot{ padding: 18px 28px; border-top: 1px solid var(--x-line); font-size: 15.5px; color: var(--global-palette5); }

/* ---------- About ---------- */
.entry-content.single-content .x-about.wp-block-columns{ display: grid; grid-template-columns: 5fr 7fr; gap: var(--x-gap); align-items: start; margin-bottom: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-about h2{ margin: 0 0 14px; }
:is(.entry-content, .editor-styles-wrapper) .x-timeline{ list-style: none; padding: 0; margin: 0; counter-reset: none; }
.entry-content.single-content > .x-timeline{ margin-top: 26px; max-width: var(--x-prose); }
:is(.entry-content, .editor-styles-wrapper) .x-timeline li{ position: relative; margin: 0; padding: 0 0 26px 34px; border-left: 2px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-timeline li:last-child{ padding-bottom: 4px; }
:is(.entry-content, .editor-styles-wrapper) .x-timeline li::before{ content: ""; position: absolute; left: -7px; top: 0.35em; width: 12px; height: 12px; background: var(--global-palette6); }
:is(.entry-content, .editor-styles-wrapper) .x-timeline li strong{ display: block; font-family: var(--x-serif); font-weight: 700; font-size: 20px; color: var(--global-palette1); margin-bottom: 2px; }
.entry-content.single-content > .x-stat{ margin-top: clamp(40px, 5vw, 64px); }
:is(.entry-content, .editor-styles-wrapper) .x-stat{ display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; align-items: center; padding: 28px 0; border-block: 1px solid var(--x-line); max-width: var(--x-wide); }
:is(.entry-content, .editor-styles-wrapper) .x-stat__num{ font-family: var(--x-serif); font-size: clamp(64px, 8vw, 96px); line-height: 0.9; color: var(--global-palette1); margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-stat__text{ font-size: 19px; line-height: 1.5; color: var(--global-palette3); margin: 0; max-width: 560px; }
.entry-content.single-content > .x-stat + .x-more{ margin-top: 26px; }

/* ---------- People ---------- */
.entry-content.single-content > .x-people{ margin-top: 22px; }
:is(.entry-content, .editor-styles-wrapper) .x-people{ display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 36px 28px; }
:is(.entry-content, .editor-styles-wrapper) .x-person .x-person__photo{ margin: 0 0 12px; }
:is(.entry-content, .editor-styles-wrapper) .x-person .x-person__photo img{ display: block; width: 150px; height: 225px; object-fit: cover; background: var(--global-palette8); }
:is(.entry-content, .editor-styles-wrapper) .x-person h3{ font-size: 19px; margin: 0 0 4px; line-height: 1.3; }
:is(.entry-content, .editor-styles-wrapper) .x-person__role{ font-size: 15px; line-height: 1.45; color: var(--global-palette5); margin: 0; max-width: 200px; }

/* ---------- Privacy facts ---------- */
.entry-content.single-content > .x-facts{ margin-top: 18px; max-width: var(--x-wide); }
:is(.entry-content, .editor-styles-wrapper) .x-facts{ border-top: 1px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-facts__row{ display: grid; grid-template-columns: minmax(200px, 4fr) 8fr; gap: 8px var(--x-gap); padding: 22px 0; border-bottom: 1px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-facts__row h3{ font-size: 20px; margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-facts__body p, :is(.entry-content, .editor-styles-wrapper) .x-facts__body ul{ margin: 0 0 10px; }
:is(.entry-content, .editor-styles-wrapper) .x-facts__body ul{ padding-left: 1.1em; }

/* ---------- Contact ---------- */
.entry-content.single-content .x-contact.wp-block-columns{ display: grid; grid-template-columns: 7fr 5fr; gap: var(--x-gap); margin-bottom: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-contact__main p{ margin: 0 0 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-contact__main .x-callout{ margin: 24px 0 8px; }
:is(.entry-content, .editor-styles-wrapper) .x-contact h2{ font-size: clamp(24px, 2.4vw, 30px); margin: 36px 0 12px; }
:is(.entry-content, .editor-styles-wrapper) .x-contact__side h2{ margin-top: 28px; }
:is(.entry-content, .editor-styles-wrapper) .x-contact__photo{ margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-contact__photo img{ display: block; width: 100%; aspect-ratio: 604 / 370; object-fit: cover; }
:is(.entry-content, .editor-styles-wrapper) .x-phones{ list-style: none; padding: 0; margin: 0; max-width: 460px; }
:is(.entry-content, .editor-styles-wrapper) .x-phones li{ display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dotted #b9c4bb; margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-phones a{ font-weight: 600; }
:is(.entry-content, .editor-styles-wrapper) .x-contact__side .x-more{ margin-top: 18px; }

/* ---------- Locations ---------- */
.entry-content.single-content > .x-offices{ margin-top: 28px; }
:is(.entry-content, .editor-styles-wrapper) .x-offices{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
:is(.entry-content, .editor-styles-wrapper) .x-office{ border: 1px solid var(--x-line); border-radius: var(--x-radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 24px; }
:is(.entry-content, .editor-styles-wrapper) .x-office .x-office__photo{ margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-office .x-office__photo img{ display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-office h2{ margin: 24px 28px 4px; font-size: clamp(26px, 2.6vw, 32px); }
:is(.entry-content, .editor-styles-wrapper) .x-office__details{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; padding: 14px 28px 24px; }
:is(.entry-content, .editor-styles-wrapper) .x-office__cell h3{ font-family: var(--x-sans); font-size: 14px; font-weight: 700; color: var(--global-palette5); margin: 0 0 6px; letter-spacing: 0.01em; }
:is(.entry-content, .editor-styles-wrapper) .x-office__cell p{ font-size: 16px; line-height: 1.55; margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-office__cell a{ font-weight: 600; white-space: nowrap; }
:is(.entry-content, .editor-styles-wrapper) .x-office__manager{ margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 16px 28px; border-top: 1px solid var(--x-line); background: var(--global-palette8); }
:is(.entry-content, .editor-styles-wrapper) .x-office__manager p{ margin: 0; font-size: 16px; line-height: 1.4; }
:is(.entry-content, .editor-styles-wrapper) .x-office .x-office__avatar{ margin: 0; flex: 0 0 auto; }
:is(.entry-content, .editor-styles-wrapper) .x-office .x-office__avatar img{ display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 18%; }

/* ---------- Calculators ---------- */
:is(.entry-content, .editor-styles-wrapper) .x-calcs{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
:is(.entry-content, .editor-styles-wrapper) .x-calc{ border: 1px solid var(--x-line); border-top: 4px solid var(--global-palette1); border-radius: 0 0 var(--x-radius) var(--x-radius); padding: 26px 28px 28px; display: flex; flex-direction: column; }
:is(.entry-content, .editor-styles-wrapper) .x-calcs .x-calc{ margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-calc__title{ font-size: clamp(24px, 2.4vw, 30px); margin: 0 0 6px; }
:is(.entry-content, .editor-styles-wrapper) .x-calc__intro{ margin: 0 0 18px; color: var(--global-palette5); font-size: 16px; }
:is(.entry-content, .editor-styles-wrapper) .x-calc__fields{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin-bottom: 20px; }
:is(.entry-content, .editor-styles-wrapper) .x-field{ display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: var(--global-palette3); }
:is(.entry-content, .editor-styles-wrapper) .x-field input{
	font: 400 18px/1.3 var(--x-sans); color: var(--global-palette3); padding: 10px 12px;
	border: 1px solid #b4c0b7; border-radius: var(--x-radius); background: var(--global-palette9); width: 100%;
}
:is(.entry-content, .editor-styles-wrapper) .x-field input:focus{ border-color: var(--global-palette1); }
:is(.entry-content, .editor-styles-wrapper) .x-calc__result{ margin-top: auto; background: var(--global-palette8); padding: 18px 20px; border-radius: var(--x-radius); }
:is(.entry-content, .editor-styles-wrapper) .x-calc__result p{ display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .x-calc__result .x-calc__main{ padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--x-line); }
:is(.entry-content, .editor-styles-wrapper) .x-calc__main span{ font-weight: 600; color: var(--global-palette3); }
:is(.entry-content, .editor-styles-wrapper) .x-calc__main output{ font-family: var(--x-serif); font-size: clamp(28px, 3vw, 36px); color: var(--global-palette1); }
:is(.entry-content, .editor-styles-wrapper) .x-calc__sub{ font-size: 16px; color: var(--global-palette5); padding: 3px 0; }
:is(.entry-content, .editor-styles-wrapper) .x-calc__sub output{ color: var(--global-palette3); font-weight: 600; }
:is(.entry-content, .editor-styles-wrapper) .x-calc__note{ font-size: 15px; color: var(--global-palette5); margin-top: 18px; }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link{
	background: transparent; color: var(--global-palette1); border: 2px solid var(--global-palette1);
	padding: 13px 24px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover{ background: var(--global-palette1); color: var(--global-palette9); }

/* ---------- Footer ---------- */
.site-footer .x-footer-title{ font-size: 19px; margin: 0 0 14px; color: var(--global-palette9); }
.site-footer .x-footer-links{ list-style: none; padding: 0; margin: 0; }
.site-footer .x-footer-links li{ margin: 0 0 7px; }
.site-footer .x-footer-links a{ text-decoration: none; }
.site-footer .x-footer-links a:hover{ text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer .footer-widget-area p{ margin: 0 0 14px; }
.site-footer .x-footer-logo{ margin: 0 0 18px; }
.site-footer .x-footer-logo img{ width: 240px; height: auto; }
.site-footer .footer-widget1 p{ max-width: 300px; }
.site-bottom-footer-wrap .site-footer-row-container-inner{ border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer .x-fdic{ margin: 0; display: inline-block; }
.site-footer .x-fdic img{ display: block; background: var(--global-palette9); padding: 8px 12px; border-radius: var(--x-radius); width: 156px; height: auto; box-sizing: content-box; }
.site-bottom-footer-inner-wrap{ align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	:is(.entry-content, .editor-styles-wrapper) .x-cards{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
	:is(.entry-content, .editor-styles-wrapper) .x-panels{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	:is(.entry-content, .editor-styles-wrapper) .x-visit__grid.wp-block-columns{ grid-template-columns: 1fr 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-ledger__row{ grid-template-columns: 1fr; gap: 12px; }
	:is(.entry-content, .editor-styles-wrapper) .x-tiles.wp-block-columns{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
	:is(.entry-content, .editor-styles-wrapper) .x-index, :is(.entry-content, .editor-styles-wrapper) .x-index--four{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:is(.entry-content, .editor-styles-wrapper) .x-cadence{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:is(.entry-content, .editor-styles-wrapper) .x-calcs{ grid-template-columns: 1fr; max-width: 640px; }
	:is(.entry-content, .editor-styles-wrapper) .x-office__details{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:is(.entry-content, .editor-styles-wrapper) .x-hero__grid.wp-block-columns{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.entry-content.single-content > .x-intro.wp-block-columns{ grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-hero__grid.wp-block-columns,
	:is(.entry-content, .editor-styles-wrapper) .x-visit__grid.wp-block-columns,
	:is(.entry-content, .editor-styles-wrapper) .x-online__grid.wp-block-columns,
	:is(.entry-content, .editor-styles-wrapper) .x-history__grid.wp-block-columns,
	:is(.entry-content, .editor-styles-wrapper) .x-protect__grid.wp-block-columns,
	.entry-content.single-content .x-pair.wp-block-columns,
	.entry-content.single-content .x-pair--wide-right.wp-block-columns,
	.entry-content.single-content .x-about.wp-block-columns,
	.entry-content.single-content .x-contact.wp-block-columns{ grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-hero__media{ margin: 8px 14px 30px 0; }
	:is(.entry-content, .editor-styles-wrapper) .x-cornerstone{ width: 112px; left: -6px; bottom: -26px; font-size: 34px; }
	:is(.entry-content, .editor-styles-wrapper) .x-cornerstone span{ font-size: 14px; margin-bottom: 6px; }
	:is(.entry-content, .editor-styles-wrapper) .x-cornerstone::before{ top: -10px; height: 10px; }
	:is(.entry-content, .editor-styles-wrapper) .x-cornerstone::after{ right: -10px; width: 10px; }
	:is(.entry-content, .editor-styles-wrapper) .x-ledger__row, :is(.entry-content, .editor-styles-wrapper) .x-facts__row{ grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-ledger__row ul{ columns: 1; }
	:is(.entry-content, .editor-styles-wrapper) .x-defs, :is(.entry-content, .editor-styles-wrapper) .x-schemes, :is(.entry-content, .editor-styles-wrapper) .x-offices{ grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.entry-content.single-content > .x-checks--cols{ columns: 1; }
	:is(.entry-content, .editor-styles-wrapper) .x-memo__head p, :is(.entry-content, .editor-styles-wrapper) .x-memo__foot p{ grid-template-columns: 1fr; gap: 0; }
	:is(.entry-content, .editor-styles-wrapper) .x-memo__head, :is(.entry-content, .editor-styles-wrapper) .x-memo__body, :is(.entry-content, .editor-styles-wrapper) .x-memo__foot{ padding-inline: 20px; }
	:is(.entry-content, .editor-styles-wrapper) .x-stat{ grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-places{ grid-template-columns: 1fr 1fr; gap: 0 20px; }
	:is(.entry-content, .editor-styles-wrapper) .x-office__details, :is(.entry-content, .editor-styles-wrapper) .x-office__manager{ padding-inline: 20px; margin-inline: 0; }
	:is(.entry-content, .editor-styles-wrapper) .x-office h2{ margin-inline: 20px; }
	:is(.entry-content, .editor-styles-wrapper) .x-calc{ padding: 22px 20px; }
}
@media (max-width: 544px) {
	:is(.entry-content, .editor-styles-wrapper) .x-index__item--wide{ grid-column: auto; }
	:is(.entry-content, .editor-styles-wrapper) .x-index__item--wide ul{ columns: 1; }
	:is(.entry-content, .editor-styles-wrapper) .x-tiles.wp-block-columns, :is(.entry-content, .editor-styles-wrapper) .x-index, :is(.entry-content, .editor-styles-wrapper) .x-index--four, :is(.entry-content, .editor-styles-wrapper) .x-cadence, :is(.entry-content, .editor-styles-wrapper) .x-cards, :is(.entry-content, .editor-styles-wrapper) .x-panels{ grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-calc__fields{ grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-places{ grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-people{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	:is(.entry-content, .editor-styles-wrapper) .x-person .x-person__photo img{ width: 100%; max-width: 150px; height: auto; aspect-ratio: 2 / 3; }
	:is(.entry-content, .editor-styles-wrapper) .x-office__details{ grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .x-hours li, :is(.entry-content, .editor-styles-wrapper) .x-phones li{ font-size: 16px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	.main-navigation .primary-menu-container > ul > li.menu-item > a{ transition: color 0.2s ease, text-decoration-color 0.2s ease; }
	.wp-block-button__link, :is(.entry-content, .editor-styles-wrapper) .x-online .wp-block-button__link{ transition: background-color 0.15s ease, color 0.15s ease; }
}
