/* CTAR block theme. Tokens come from theme.json; this file holds layout and component rules. */

/* Wordmark and band strip */
.ctar-wordmark { gap: 0.125rem; position: relative; width: fit-content; }
.ctar-wordmark__title { margin: 0; line-height: 1.1; }
.ctar-wordmark__title a { text-decoration: none; }
/* The home link covers the whole wordmark: title, tagline and band strip. */
.ctar-wordmark__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ctar-wordmark__tagline { margin: 0; font-size: 0.6875rem !important; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
/* The strip spans the tagline width so title, tagline and strip read as one block. */
.ctar-band-strip { display: flex; align-self: stretch; gap: 0.25rem; margin-top: 0.375rem; }
.ctar-band-strip__segment { flex: 1 1 0; height: 0.25rem; border-radius: 0.125rem; }
.ctar-band-strip__segment--1 { background: #FFFFFF; }
.ctar-band-strip__segment--2 { background: var(--wp--preset--color--band-2); }
.ctar-band-strip__segment--3 { background: var(--wp--preset--color--band-3); }
.ctar-band-strip__segment--4 { background: var(--wp--preset--color--band-4); }

/* Header */
.ctar-header { position: relative; z-index: 30; }
.ctar-header a { color: inherit; }
.ctar-header .wp-block-navigation a { text-decoration: none; }
.ctar-header .wp-block-navigation a:hover { color: var(--wp--preset--color--yellow); }
.ctar-header .wp-block-navigation__responsive-container-open,
.ctar-header .wp-block-navigation__responsive-container-close { color: inherit; }
.ctar-header .wp-block-navigation__responsive-container.is-menu-open { padding: 4.5rem 1.5rem 2rem; }
.ctar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1rem; }
.ctar-header .wp-block-navigation__responsive-container.is-menu-open a { font-size: 1.25rem; }
.ctar-header .wp-block-navigation__submenu-container { color: var(--wp--preset--color--ink); background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 0.5rem; padding: 0.5rem 0; }
.ctar-header .wp-block-navigation__submenu-container a { color: var(--wp--preset--color--navy); padding: 0.5rem 1rem; }
.ctar-header .wp-block-navigation__submenu-container a:hover { color: var(--wp--preset--color--band-2); }
.ctar-header__cta .wp-block-button__link { white-space: nowrap; color: var(--wp--preset--color--navy); padding: 0.875rem 1.5rem; font-size: 0.9375rem; line-height: 1.2; }
.ctar-header__cta .wp-block-button__link:hover { color: var(--wp--preset--color--navy); }
/* A text "Log in" link beside Register free once the menu collapses, so returning members need one tap. */
.ctar-header__login { display: none; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.ctar-header .ctar-header__nav > .ctar-header__login { margin: 0 0 0 auto; }
.ctar-header__login a { color: var(--wp--preset--color--base); text-decoration: none; }
.ctar-header__login a:hover { text-decoration: underline; }

/* Collapse the navigation to a toggle below 1024px, not only below core's 600px; the five menu links no longer fit beside the wordmark on tablets. */
@media (min-width: 600px) and (max-width: 1023.98px) {
	.ctar-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.ctar-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1023.98px) {
	.ctar-header__row { flex-wrap: nowrap; }
	.ctar-header__login { display: block; }
	.ctar-header__nav { flex-wrap: nowrap; gap: 0.75rem; }
}
@media (max-width: 767.98px) {
	.ctar-header__cta .wp-block-button__link { padding: 0.5rem 0.875rem; font-size: 0.875rem; }
}
@media (max-width: 389.98px) {
	.ctar-header .ctar-header__row { flex-wrap: wrap; }
	.ctar-header__nav.ctar-when-logged-out { flex-basis: 100%; justify-content: space-between; }
	/* Core block layout styles can follow this stylesheet and restore flex. */
	.ctar-header .ctar-when-logged-in .ctar-header__cta { display: none !important; }
}

/* Focus: 3:1 against both light surfaces and the navy header. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--wp--preset--color--navy); outline-offset: 2px; }
.ctar-header :where(a, button):focus-visible,
.ctar-footer :where(a, button):focus-visible { outline-color: var(--wp--preset--color--yellow); }
.skip-link { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }

/* Buttons: every button in page content, forms and search is the same navy button; the header CTA keeps the theme's yellow. */
main .wp-block-button .wp-block-button__link,
main .ctar-button,
.pmpro_btn, .pmpro_login_wrap #wp-submit, .pmpro_login_wrap .button-primary, .pmpro_btn-submit-checkout, .pmpro_btn-submit,
.ctar-contact-columns .ff-btn-submit { display: inline-block; box-sizing: border-box; background: var(--wp--preset--color--navy) !important; color: var(--wp--preset--color--base) !important; border: 2px solid var(--wp--preset--color--navy) !important; border-radius: 0.5rem !important; padding: 0.875rem 1.5rem !important; font-family: var(--wp--preset--font-family--body); font-size: 0.9375rem !important; font-weight: 600 !important; line-height: 1.2 !important; text-align: center; text-decoration: none; text-shadow: none !important; box-shadow: none !important; cursor: pointer; }
main .wp-block-button .wp-block-button__link:hover,
main .ctar-button:hover,
.pmpro_btn:hover, .pmpro_login_wrap #wp-submit:hover, .pmpro_login_wrap .button-primary:hover, .pmpro_btn-submit-checkout:hover, .pmpro_btn-submit:hover,
.ctar-contact-columns .ff-btn-submit:hover { background: var(--wp--preset--color--navy-deep) !important; border-color: var(--wp--preset--color--navy-deep) !important; color: var(--wp--preset--color--base) !important; }

/* Eyebrow headings and lists */
.ctar-eyebrow { font-family: var(--wp--preset--font-family--heading); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8125rem; margin-bottom: 0.375rem; }
.ctar-list { list-style: none; padding-left: 0; }
.ctar-list li { position: relative; padding-left: 2rem; margin-bottom: 0.5625rem; }
.ctar-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.ctar-list--check li::before { content: "\2713"; color: var(--wp--preset--color--band-2); }
.ctar-list--cross li::before { content: "\2715"; color: var(--wp--preset--color--band-4); }

/* Cards */
.ctar-card { border: 1px solid var(--wp--preset--color--line); border-radius: 0.75rem; background: var(--wp--preset--color--base); }
.ctar-card--band { border-top-width: 0.375rem; box-shadow: 0 1rem 2rem rgba(13, 34, 64, 0.08); }
.ctar-card--band-1 { border-top-color: var(--wp--preset--color--band-1); }
.ctar-card--band-2 { border-top-color: var(--wp--preset--color--band-2); }
.ctar-card--band-3 { border-top-color: var(--wp--preset--color--band-3); }
.ctar-card--band-4 { border-top-color: var(--wp--preset--color--band-4); }
.ctar-card__result { text-align: right; align-items: flex-end; }
.ctar-card__band { line-height: 1; margin: 0; }
.ctar-card__commentary, .ctar-card__code, .ctar-card__period, .ctar-card__name { margin: 0; }
.ctar-card--value { height: 100%; }
/* Why it matters: the heading sits beside its icon and the sentence runs full width below, keeping the cards short. */
.wp-block-group.ctar-card--value { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.75rem; align-items: center; align-content: start; }
.wp-block-group.ctar-card--value > * { max-width: none; margin-inline: 0 !important; }
.ctar-card--value > .ctar-icon { grid-column: 1; margin: 0 !important; }
.ctar-card--value > h3 { grid-column: 2; margin: 0 !important; }
.ctar-card--value > p { grid-column: 1 / -1; margin: 0.75rem 0 0 !important; }
/* Linked card: the heading link stretches over the whole card, which gains a navy border on hover or keyboard focus. */
.ctar-card--link { position: relative; cursor: pointer; transition: border-color 0.15s ease; }
.ctar-card--link:hover, .ctar-card--link:focus-within { border-color: var(--wp--preset--color--navy); }
.ctar-card--link a, .ctar-card--link a:hover { color: inherit; text-decoration: none; }
.ctar-card--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ctar-card--link a:focus-visible { outline: none; }
.ctar-card--link:has(a:focus-visible) { outline: 2px solid var(--wp--preset--color--navy); outline-offset: 2px; }
.ctar-card--is, .ctar-card--is-not { border-radius: 0.75rem; }

/* Band scale */
.ctar-band-scale__segments { gap: 0.25rem; }
.ctar-band-scale__segment { margin: 0; padding: 0.5rem 0.25rem; text-align: center; border-radius: 0.25rem; border: 2px solid transparent; background: var(--wp--preset--color--surface-alt); color: var(--wp--preset--color--ink); }
.ctar-band-scale__segment.is-active { color: #FFFFFF; }
.ctar-band-scale__segment.ctar-band-1.is-active { background: #FFFFFF; color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--band-1); }
.ctar-band-scale__segment.ctar-band-2.is-active { background: var(--wp--preset--color--band-2); }
.ctar-band-scale__segment.ctar-band-3.is-active { background: var(--wp--preset--color--band-3); color: var(--wp--preset--color--navy); }
.ctar-band-scale__segment.ctar-band-4.is-active { background: var(--wp--preset--color--band-4); }
.ctar-band-scale__labels p { margin: 0; }

/* With the hero columns side by side, the lead paragraph scales with its column so it stays on three lines (never below 16px). */
@media (min-width: 782px) {
	.ctar-hero__columns > .wp-block-column:first-child { container-type: inline-size; }
	.ctar-hero .ctar-hero__lead { font-size: clamp(16px, 3.55cqi, var(--wp--preset--font-size--large)) !important; }
}

/* Home hero sample: the mock uses a compact scale, separate from search results.
 * Important declarations override WordPress preset utilities and block inline padding. */
.ctar-hero .ctar-card--band { padding: 0 !important; border-color: #E1E7F0; border-top: 5px solid #1E7A3C; border-radius: 11px; overflow: hidden; box-shadow: 0 16px 40px rgba(13, 34, 64, 0.09); }
.ctar-hero .ctar-card__head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 20px 22px 18px; border-bottom: 1px solid #EDF1F6; }
.ctar-hero .ctar-card__name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.ctar-hero .ctar-card__code { font-size: 12px !important; color: #6B7789 !important; margin-top: 3px; }
.ctar-hero .ctar-card__result { gap: 0; }
.ctar-hero .ctar-card__band { font-family: var(--wp--preset--font-family--heading); font-size: 32px !important; font-weight: 800; line-height: 0.95; letter-spacing: -0.02em; }
.ctar-hero .ctar-card__band strong { font-weight: inherit; }
.ctar-hero .ctar-card__commentary { font-size: 14px; font-weight: 700; margin-top: 6px; }
.ctar-hero .ctar-card__period { font-size: 12px !important; margin-top: 4px; }
.ctar-hero .ctar-band-scale { margin-top: 0; padding: 16px 22px 20px; }
.ctar-hero .ctar-band-scale__segments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.ctar-hero .ctar-band-scale__segment { padding: 0; border: 0; border-radius: 0; background: transparent; color: #667385; font-size: 12px !important; text-align: left; }
.ctar-hero .ctar-band-scale__segment::before { content: ""; display: block; height: 7px; margin-bottom: 7px; border-radius: 2px; opacity: 0.28; }
.ctar-hero .ctar-band-1::before { background: #FFFFFF; border: 1px solid #A8B4C6; box-sizing: border-box; opacity: 1; }
.ctar-hero .ctar-band-2::before { background: #1E7A3C; }
.ctar-hero .ctar-band-3::before { background: #F5C518; }
.ctar-hero .ctar-band-4::before { background: #D6252B; }
.ctar-hero .ctar-band-scale__segment.is-active { background: transparent; color: #0D2240; }
.ctar-hero .ctar-band-scale__segment.is-active::before { opacity: 1; }
.ctar-hero .ctar-band-scale__labels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 4px; }
.ctar-hero .ctar-band-scale__labels p { font-size: 12px !important; color: #667385 !important; }
.ctar-hero .ctar-band-scale__labels p:first-child { grid-column: 1 / span 2; text-align: left; }
.ctar-hero .ctar-band-scale__labels p:last-child { grid-column: 3 / span 2; text-align: right; }
/* From tablet width the direction labels start and end under the middle of Band 1 and Band 4, as on Historical Research, rather than at the card edges. */
@media (min-width: 768px) {
	.ctar-hero .ctar-band-scale__labels { display: flex; justify-content: space-between; padding-inline: 12.5%; }
}
@media (max-width: 767.98px) {
	.ctar-hero .ctar-card__head { grid-template-columns: minmax(0, 1fr); }
	.ctar-hero .ctar-band-scale__labels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ctar-hero .ctar-band-scale__labels p:first-child { grid-column: 1; text-align: left; margin-right: 0; }
	.ctar-hero .ctar-band-scale__labels p:last-child { grid-column: 2; text-align: right; margin-left: 0; }
}

/* Band cards on Home: coloured top rule per band */
.ctar-band-cards { gap: 0.75rem; }
.ctar-band-cards .ctar-card { border-top-width: 0.375rem; }

/* Icons: circled outline icons drawn with CSS masks so no icon font or image request is needed. */
.ctar-icon { display: inline-flex; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid currentColor; margin-bottom: 0.5625rem; align-items: center; justify-content: center; color: var(--wp--preset--color--navy); }
.ctar-icon::before { content: ""; width: 1.25rem; height: 1.25rem; background: currentColor; mask-repeat: no-repeat; mask-position: center; mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain; }
.ctar-icon--band-2 { color: var(--wp--preset--color--band-2); }
.ctar-icon--band-3 { color: var(--wp--preset--color--band-3); }
.ctar-icon--band-4 { color: var(--wp--preset--color--band-4); }
.ctar-icon--navy { color: var(--wp--preset--color--navy); }
.ctar-icon--monitor::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.ctar-icon--assess::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); }
.ctar-icon--classify::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3 2 20h20L12 3z'/%3E%3Cpath d='M12 9v5M12 17h.01'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3 2 20h20L12 3z'/%3E%3Cpath d='M12 9v5M12 17h.01'/%3E%3C/svg%3E"); }
.ctar-icon--investigate::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E"); }
.ctar-icon--shield::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.4 8 9 4.6-.6 8-4 8-9V6l-8-3z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.4 8 9 4.6-.6 8-4 8-9V6l-8-3z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ctar-icon--clock::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ctar-icon--chart::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9'%3E%3Cpath d='M3 20h18'/%3E%3Crect x='4.5' y='12' width='3.4' height='6'/%3E%3Crect x='10.3' y='8' width='3.4' height='10'/%3E%3Crect x='16.1' y='4' width='3.4' height='14'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9'%3E%3Cpath d='M3 20h18'/%3E%3Crect x='4.5' y='12' width='3.4' height='6'/%3E%3Crect x='10.3' y='8' width='3.4' height='10'/%3E%3Crect x='16.1' y='4' width='3.4' height='14'/%3E%3C/svg%3E"); }
.ctar-icon--block::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E"); }
.ctar-icon--decline::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l6 6 4-4 8 8'/%3E%3Cpath d='M15 16h6v-6'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l6 6 4-4 8 8'/%3E%3Cpath d='M15 16h6v-6'/%3E%3C/svg%3E"); }
.ctar-icon--alert::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.4-3 8-7.5 9.5-4.5-1.5-7.5-5.1-7.5-9.5V6z'/%3E%3Cpath d='M12 8v4.5'/%3E%3Ccircle cx='12' cy='15.5' r='.9' fill='black' stroke='none'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.4-3 8-7.5 9.5-4.5-1.5-7.5-5.1-7.5-9.5V6z'/%3E%3Cpath d='M12 8v4.5'/%3E%3Ccircle cx='12' cy='15.5' r='.9' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.ctar-icon--small { width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; margin: 0; }

/* Callout */
.ctar-callout { border-radius: 0.75rem; }

/* Sections */
.ctar-section { border-top: 1px solid var(--wp--preset--color--line); }
.ctar-main--front > .wp-block-group.alignfull:first-child { margin-top: 0; }
/* Sections, header, main and footer sit flush like the mock-up; the divider line and section padding carry the rhythm. */
.wp-block-group.ctar-section, .wp-site-blocks > main, .wp-site-blocks > footer { margin-block-start: 0; }

/* Grids fall to two columns at 768px and one at 390px. */
@media (max-width: 1023.98px) {
	.ctar-value-cards, .ctar-band-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767.98px) {
	.ctar-hero__columns { flex-wrap: wrap !important; }
	.ctar-hero__columns > .wp-block-column { flex-basis: 100% !important; }
	.ctar-card__result { text-align: left; align-items: flex-start; }
	.ctar-card__head { flex-direction: column; }
	.ctar-footer__columns { flex-wrap: wrap !important; }
	.ctar-footer__columns > .wp-block-column { flex-basis: 48% !important; }
}
@media (max-width: 599.98px) {
	.ctar-value-cards, .ctar-band-cards { grid-template-columns: minmax(0, 1fr) !important; }
	.ctar-footer__columns > .wp-block-column { flex-basis: 100% !important; }
	.ctar-band-scale__segment { padding: 0.5rem 0.125rem; font-size: 0.75rem; }
	.ctar-is-is-not { gap: 0.75rem; }
}

/* Footer */
.ctar-footer a { color: inherit; text-decoration: none; }
.ctar-footer a:hover { color: var(--wp--preset--color--yellow); text-decoration: underline; }
.ctar-footer__heading { color: inherit; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; opacity: 0.85; margin-bottom: 0.75rem; }
.ctar-footer__links { list-style: none; padding: 0; margin: 0; }
.ctar-footer__links li { margin-bottom: 0.5rem; }
.ctar-footer__rule { opacity: 1; margin-top: 2rem; margin-bottom: 1.5rem; }
.ctar-footer__disclaimer { opacity: 0.8; margin: 0; }
/* Left-aligned: with the operator line it sits on its own row under the disclaimer. */
.ctar-footer__copyright { margin: 0; opacity: 0.8; }

/* Paid Memberships Pro pages */
.pmpro_card { border: 1px solid var(--wp--preset--color--line); border-radius: 0.75rem; background: var(--wp--preset--color--base); box-shadow: 0 1rem 2rem rgba(13, 34, 64, 0.06); }
.pmpro_card_title, .pmpro h1, .pmpro h2, .pmpro h3 { font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--navy); }
.pmpro_form_label { font-weight: 600; color: var(--wp--preset--color--navy); }
.pmpro_form_input, .pmpro_login_wrap input[type="text"], .pmpro_login_wrap input[type="password"], .pmpro_login_wrap input[type="email"] { border: 1px solid #C5CCD6; border-radius: 0.5rem; padding: 0.75rem 1rem; font-family: inherit; }
.pmpro_btn-plain, .pmpro_btn.pmpro_btn-plain,
.pmpro_btn.pmpro_btn-plain:hover { background: transparent !important; border-color: transparent !important; color: var(--wp--preset--color--navy) !important; text-decoration: underline; padding: 0.25rem !important; }
.pmpro_message, .pmpro_error, .pmpro_success, .pmpro_alert { border-radius: 0.5rem; border-left: 0.375rem solid var(--wp--preset--color--navy); background: var(--wp--preset--color--surface-alt); color: var(--wp--preset--color--ink); padding: 0.75rem 0.9375rem; }
.pmpro_message.pmpro_error, .pmpro_error { border-left-color: var(--wp--preset--color--band-4); background: #FCEBEC; color: #7A1216; }
.pmpro_message.pmpro_success, .pmpro_success { border-left-color: var(--wp--preset--color--band-2); background: #E8F4EC; color: #124D27; }
.pmpro_actions_nav a, .pmpro_login_wrap a { color: var(--wp--preset--color--navy); }
/* Login card at about half the content width, with the standard-size button rather than a full-width bar. */
.pmpro_section .pmpro_card.pmpro_login_wrap,
.pmpro_section .pmpro_card.pmpro_lost_password_wrap,
.pmpro_section .pmpro_card.pmpro_reset_password_wrap { max-width: 36rem; }
/* Paid Memberships Pro spaces its sections 72px apart; use the site's section gap instead (Account, profile and other multi-section pages). */
.pmpro .pmpro_section { margin: 0 0 var(--wp--preset--spacing--50); }
.pmpro .pmpro_section_title { margin: 0 0 0.6562rem; }
.pmpro_section #loginform .login-submit #wp-submit { width: auto !important; }
/* Registration: the CTAR plugin generates the username from the name and email, so its field is hidden. */
#pmpro_user_fields .pmpro_form_field-username { display: none; }
/* Two columns: the name pair spans both, then Email sits under First Name and Password under Surname (the CTAR plugin moves Email first). */
#pmpro_user_fields .pmpro_form_fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13.5px; }
#pmpro_user_fields .pmpro_form_fields > * { grid-column: 1 / -1; }
#pmpro_user_fields .pmpro_form_fields > .pmpro_form_field-password,
#pmpro_user_fields .pmpro_form_fields > .pmpro_form_field-bemail { grid-column: auto; }
@media (max-width: 599.98px) {
	#pmpro_user_fields .pmpro_form_fields { grid-template-columns: minmax(0, 1fr); }
}
.ctar-checkout-lead { margin: 0 0 1.125rem; font-size: 1.125rem; line-height: 1.6; color: #41506B; }
/* The owner removed the "Account Information" heading; it stays available to screen readers as the fieldset's name. */
#pmpro_user_fields-title { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ctar-checkout-terms { margin: 1.125rem 0 0.9375rem; }
/* Block label with the box set into its left padding, so the asterisk Paid Memberships Pro appends flows straight after "Policy". */
.ctar-checkout-terms label { display: block !important; position: relative; padding-left: 2rem !important; font-weight: 400; color: var(--wp--preset--color--ink-muted); }
.ctar-checkout-terms a { font-weight: 700; color: var(--wp--preset--color--navy); }
.ctar-checkout-terms .ctar-checkout-terms__text, .ctar-checkout-terms .pmpro_asterisk { display: inline !important; }
.ctar-checkout-terms input[type="checkbox"] { position: absolute !important; left: 0; top: 0.125rem; width: 1.25rem; height: 1.25rem; margin: 0 !important; }
.ctar-checkout-note { margin: 0.75rem 0 0; font-size: 0.9375rem; line-height: 1.6; color: #8792A4; }
/* Keep the password label row as tall as its neighbour's so the two password fields line up. */
.pmpro_form_field-password-toggle .pmpro_btn.pmpro_btn-plain { padding: 0 !important; }

/* Content pages */
.ctar-callout { display: flex; gap: 1rem; align-items: center; }
.ctar-callout p { margin: 0; }
.ctar-icon-row { align-items: center; margin-bottom: 0.5625rem; }
.ctar-icon-row p { margin: 0; }

/* Home: the mock-up's compact callout, 36/64 methodology columns and process steps. */
.ctar-section--first + .ctar-section { border-top: 0; padding-top: 1.125rem !important; }
.wp-block-group.ctar-callout { max-width: 52rem; margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; gap: 1.25rem; align-items: flex-start; }
.ctar-callout .has-large-font-size { font-size: 1.03125rem !important; line-height: 1.6; }
.ctar-callout .ctar-icon { width: 2.125rem; height: 2.125rem; flex: 0 0 2.125rem; border: 0; color: var(--wp--preset--color--navy); }
.ctar-callout .ctar-icon::before { width: 100%; height: 100%; }
.ctar-callout .ctar-icon--assess::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M7.6 12l1.8-2.4 1.7 1.5 2-2.6'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M7.6 12l1.8-2.4 1.7 1.5 2-2.6'/%3E%3C/svg%3E"); }
.wp-block-columns.ctar-home-columns { gap: 3.5rem; }
.wp-block-columns.ctar-home-columns > .wp-block-column:first-child { flex: 1 1 0%; }
.wp-block-columns.ctar-home-columns > .wp-block-column:last-child { flex: 1 1 0%; }
.ctar-home-columns > .wp-block-column > .ctar-eyebrow + p { margin-top: 0.75rem; }
.ctar-icon-row > .ctar-icon--small { width: 3.375rem; height: 3.375rem; flex: 0 0 3.375rem; box-sizing: border-box; }
.ctar-icon-row > .ctar-icon--small::before { width: 1.5625rem; height: 1.5625rem; }
.ctar-icon-row p { font-size: 0.96875rem; line-height: 1.55; }

/* Page intro band: eyebrow, large title and lead on the surface colour, flush under the header (page-wide template). */
.wp-block-group.ctar-page-intro > * { margin-block: 0; }
.ctar-page-intro + * { margin-block-start: 0; }
.ctar-page-intro + .wp-block-group.ctar-faq { padding-top: 1.0625rem !important; }
.wp-block-group.ctar-faq > .ctar-faq__toolbar { display: flex; justify-content: flex-end; margin: 0 0 0.75rem; }
.wp-block-group.ctar-faq > .ctar-faq__toolbar + .wp-block-details { margin-top: 0; }
.ctar-page-intro__eyebrow { font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6B7789; }
.ctar-page-intro > .ctar-page-intro__title { margin-top: 0.4688rem; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.ctar-page-intro > .ctar-page-intro__lead, .ctar-page-intro__row > .ctar-page-intro__lead { margin-top: 0.75rem; max-width: 45rem; margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; font-size: 1.125rem; line-height: 1.6; color: #41506B; }
/* FAQs: faq.js moves the Show all button into the intro band, level with the lead. */
.ctar-page-intro > .ctar-page-intro__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 0.75rem; }
.ctar-page-intro__row > .ctar-page-intro__lead { margin: 0 !important; }
.ctar-page-intro__row > .ctar-faq__toolbar { margin: 0; }

/* Band table: navy header, coloured band marker and bold band name, as in the mock-up. */
/* Privacy Policy service provider table: plain bordered rows, top-aligned so long cells read cleanly on phones. */
.ctar-provider-table table { font-size: 0.9375rem; }
.ctar-provider-table th, .ctar-provider-table td { padding: 0.4688rem 0.5625rem; text-align: left; vertical-align: top; border: 1px solid var(--wp--preset--color--line, #DDE3EC); }
.ctar-provider-table thead { border: 0; }
.ctar-provider-table thead th { background: var(--wp--preset--color--surface-alt); font-weight: 700; }

.ctar-band-table { margin: 0.9375rem 0 0; }
.ctar-band-table table { border-collapse: separate; border-spacing: 0; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 0.625rem; overflow: hidden; }
.ctar-band-table thead { border: 0; }
.ctar-band-table th, .ctar-band-table td { border: 0; border-top: 1px solid #EDF1F6; padding: 0.8438rem 0.9375rem; text-align: left; vertical-align: middle; }
.ctar-band-table thead th { border-top: 0; padding: 0.7031rem 0.9375rem; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--base); font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.ctar-band-table th:first-child { width: 26%; }
.ctar-band-table tbody td:first-child { font-family: var(--wp--preset--font-family--heading); font-weight: 700; color: var(--wp--preset--color--navy); white-space: nowrap; }
.ctar-band-table tbody td:first-child::before { content: ""; display: inline-block; width: 0.625rem; height: 1.625rem; margin-right: 0.875rem; border-radius: 2px; vertical-align: middle; }
.ctar-band-table tbody tr:nth-child(1) td:first-child::before { background: var(--wp--preset--color--base); box-shadow: inset 0 0 0 1px #B8C2CE; }
.ctar-band-table tbody tr:nth-child(2) td:first-child::before { background: #1E7A3C; }
.ctar-band-table tbody tr:nth-child(3) td:first-child::before { background: #F5C518; }
.ctar-band-table tbody tr:nth-child(4) td:first-child::before { background: #D6252B; }
.ctar-band-table tbody td:last-child { font-size: 0.9375rem; color: #41506B; }

/* Call-to-action cards: sentence-case title, short text and a navy button. */
.ctar-cta-cards:has(.ctar-cta-card) { gap: 1.5938rem; }
.wp-block-group.ctar-cta-card { display: flex; flex-direction: column; height: 100%; padding: 1.6875rem 1.5938rem; border-radius: 0.625rem; }
.wp-block-group.ctar-cta-card > * { margin-block: 0; margin-inline: 0 !important; }
.ctar-cta-card > .ctar-cta-card__title { font-size: 1.25rem; line-height: 1.5; }
.ctar-cta-card > p { margin-top: 0.4688rem; font-size: 0.9375rem; line-height: 1.6; color: var(--wp--preset--color--ink-muted); }
/* Buttons sit on a common baseline at the foot of each card and share one width. */
.wp-block-group.ctar-cta-card > .wp-block-buttons { margin-top: auto; padding-top: 0.9375rem; }
.ctar-cta-card .wp-block-button, .ctar-cta-card .wp-block-button__link { width: 100%; max-width: 15rem; }

/* Historical Research: chart card beside the "What it means" panel, as in the mock-up. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wp-block-group.ctar-historical { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.08fr); gap: 2.0625rem; align-items: stretch; }
.wp-block-group.ctar-historical > * { margin: 0 !important; max-width: none !important; }
.ctar-chart-card { padding: 1.5rem 1.5938rem 1.125rem; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.625rem; }
.ctar-chart-card__title { margin: 0 0 0.75rem; font-size: 0.9375rem; font-weight: 600; line-height: 1.5; }
.ctar-chart { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--wp--preset--font-family--body); }
.ctar-chart__tick { font-size: 11.5px; fill: #8792A4; }
.ctar-chart__band { font-size: 13px; font-weight: 600; fill: var(--wp--preset--color--navy); }
.ctar-chart__value { font-size: 13px; font-weight: 700; fill: var(--wp--preset--color--navy); }
.ctar-chart__key { display: flex; align-items: center; gap: 0.375rem; margin: 0.5625rem 0 0; font-size: 0.75rem; color: #41506B; }
.ctar-chart__dash { flex: 0 0 1.5rem; border-top: 2px dashed #C31C22; }
/* Risk and breadth: two chart cards side by side, stacked below 1024px. */
.ctar-risk-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.125rem; }
.ctar-risk-charts .ctar-chart-card { margin: 0; }
.ctar-chart__direction { display: flex; justify-content: center; gap: 6rem; margin: 0.5rem 0 0; font-size: 0.8125rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.ctar-chart-card__note { margin: 0.9375rem 0 0; padding-top: 0.6562rem; border-top: 1px solid #EDF1F6; font-size: 0.75rem; line-height: 1.6; color: #8792A4; }
.wp-block-group.ctar-insights { padding: 1.5rem 1.4062rem; background: var(--wp--preset--color--surface-alt); border: 1px solid #E4E9F0; border-radius: 0.625rem; }
.ctar-insights > .ctar-insights__title { margin: 0; text-align: center; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; }
.ctar-insights__list { list-style: none; margin: 1.125rem 0 0; padding: 0; }
.ctar-insights__list li { display: flex; gap: 0.7031rem; align-items: flex-start; margin: 0 0 1.125rem; font-size: 0.9375rem; line-height: 1.6; color: #41506B; }
.ctar-insights__list li:last-child { margin-bottom: 0; }
.ctar-insights__list .ctar-icon { flex: 0 0 3.375rem; width: 3.375rem; height: 3.375rem; margin: 0; box-sizing: border-box; }
.ctar-insights__list .ctar-icon::before { width: 1.5625rem; height: 1.5625rem; }

/* Month-by-month heat map: navy header, coloured band labels, one colour per result and an average column. */
.ctar-heatmap-lead, .ctar-heatmap-note, .ctar-risk-lead { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; }
.ctar-heatmap-lead, .ctar-risk-lead { max-width: 46.5rem; font-size: 0.96875rem; line-height: 1.6; color: #41506B; }
.ctar-heatmap { position: relative; margin-top: 1.125rem; overflow-x: auto; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.625rem; }
.ctar-heatmap table { width: 100%; min-width: 68rem; border-collapse: separate; border-spacing: 1px 0.25rem; table-layout: fixed; margin: -0.25rem 0 0; }
.ctar-heatmap th, .ctar-heatmap td { border: 0; padding: 0; text-align: center; }
.ctar-heatmap thead th { padding: 0.625rem 0.125rem; background: var(--wp--preset--color--navy); box-shadow: 1px 0 0 var(--wp--preset--color--navy); color: var(--wp--preset--color--base); font-size: 0.5625rem; font-weight: 700; line-height: 1.25; vertical-align: middle; }
.ctar-heatmap__date { white-space: nowrap; }
.ctar-heatmap thead th small { display: block; margin-top: 0.125rem; font-size: 0.5rem; font-weight: 500; color: #8FA0BC; }
.ctar-heatmap .ctar-heatmap__corner { width: 6.5rem; }
.ctar-heatmap .ctar-heatmap__average { width: 4.5rem; }
.ctar-heatmap tbody td { height: 2.125rem; }
.ctar-heatmap tbody .ctar-heatmap__average { font-family: var(--wp--preset--font-family--heading); font-size: 0.8125rem; font-weight: 700; }
.ctar-heatmap .ctar-heatmap__count { width: 4rem; }
.ctar-heatmap tbody .ctar-heatmap__count { background: #F4F6F9; font-family: var(--wp--preset--font-family--heading); font-size: 0.9375rem; font-weight: 700; }
.ctar-heatmap tbody .ctar-heatmap__count--best { color: #1E7A3C; }
.ctar-heatmap tbody .ctar-heatmap__count--worst { color: #C31C22; }
.ctar-heatmap__band { padding: 0.625rem 0.5rem !important; font-family: var(--wp--preset--font-family--heading); font-size: 0.8125rem; font-weight: 700; color: var(--wp--preset--color--base); }
.ctar-heatmap__band--1 { background: var(--wp--preset--color--base); color: #5A4A00; box-shadow: inset 0 0 0 1px #A8B4C6; }
.ctar-heatmap__band--2 { background: #1E7A3C; }
.ctar-heatmap__band--3 { background: #F5C518; color: #5A4A00; }
.ctar-heatmap__band--4 { background: #D6252B; }
.ctar-heatmap-legend { display: flex; flex-wrap: wrap; gap: 0.4688rem 1.3125rem; list-style: none; margin: 0.9375rem 0 0; padding: 0; font-size: 0.8125rem; color: #41506B; }
.ctar-heatmap-legend li { display: flex; align-items: center; gap: 0.5rem; }
.ctar-heatmap-legend__swatch { display: inline-block; width: 1rem; height: 1rem; border-radius: 2px; }
.ctar-chart__legend { justify-content: center; margin-top: 1.125rem; }
.ctar-heatmap-note { max-width: 50rem; margin-top: 0.9375rem; font-size: 0.8125rem; line-height: 1.7; color: #8792A4; }
/* The Band column stays in view while the table scrolls sideways; the hint shows only when it can scroll. */
.ctar-heatmap tbody th[scope="row"], .ctar-heatmap thead .ctar-heatmap__corner { position: sticky; left: 0; z-index: 2; }
.ctar-heatmap tbody th[scope="row"] { box-shadow: 4px 0 6px -4px rgba(13, 34, 64, 0.35); }
.ctar-heatmap tbody .ctar-heatmap__band--1 { box-shadow: inset 0 0 0 1px #A8B4C6, 4px 0 6px -4px rgba(13, 34, 64, 0.35); }
.ctar-heatmap-hint { display: none; margin: 0.9375rem 0 -0.375rem; font-size: 0.8125rem; font-weight: 600; color: #41506B; }
@media (max-width: 1199.98px) {
	.ctar-heatmap-hint { display: block; }
}
@media (max-width: 1023.98px) {
	.wp-block-group.ctar-historical { grid-template-columns: minmax(0, 1fr); gap: 1.125rem; }
	.ctar-risk-charts { grid-template-columns: minmax(0, 1fr); gap: 1.125rem; }
}
@media (max-width: 599.98px) {
	.ctar-chart-card { padding: 0.9375rem 0.75rem 0.75rem; }
	.ctar-chart__direction { justify-content: space-between; gap: 0.5rem; font-size: 0.75rem; }
	/* Chart text is in SVG units, which shrink with the chart; these sizes render at about 12px on a phone. */
	.ctar-chart__tick { font-size: 24px; }
	.ctar-chart__tick--minor { display: none; }
	.ctar-chart__band, .ctar-chart__value { font-size: 26px; }
	.ctar-heatmap .ctar-heatmap__corner { width: 5.25rem; }
	.ctar-heatmap thead th { font-size: 0.6875rem; }
	.ctar-heatmap thead th small { font-size: 0.5625rem; }
	.ctar-heatmap__band { font-size: 0.75rem; }
}
@media (max-width: 359.98px) {
	.ctar-chart__tick { font-size: 28px; }
	.ctar-chart__band, .ctar-chart__value { font-size: 30px; }
}
.ctar-band-card__title { margin: 0 0 0.375rem; }
.ctar-band-cards .ctar-card--band-1 { border-top-color: var(--wp--preset--color--band-1); }
.ctar-band-cards .ctar-card--band-2 { border-top-color: var(--wp--preset--color--band-2); }
.ctar-band-cards .ctar-card--band-3 { border-top-color: var(--wp--preset--color--band-3); }
.ctar-band-cards .ctar-card--band-4 { border-top-color: var(--wp--preset--color--band-4); }
.ctar-band-cards .ctar-card { border-top-width: 0.375rem; }
.ctar-cta-cards { gap: 0.75rem; }
.ctar-cta-cards .ctar-card { height: 100%; }
.ctar-band-table table td:first-child { font-weight: 600; }
.ctar-faq .wp-block-details { border: 1px solid var(--wp--preset--color--line); border-radius: 0.5rem; padding: 0.5625rem 0.75rem; margin-bottom: 0.5625rem; background: var(--wp--preset--color--base); }
.ctar-faq .wp-block-details summary { font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--wp--preset--color--navy); cursor: pointer; }
.ctar-faq .wp-block-details p { margin: 0.5625rem 0 0; }
.ctar-landing__title { line-height: 1.1; }
.ctar-landing__line-navy { color: var(--wp--preset--color--navy); }
.ctar-landing__line-red { color: var(--wp--preset--color--band-4); }
.ctar-landing__image img { width: 100%; min-height: 16rem; border-radius: 0.75rem; background: var(--wp--preset--color--line); object-fit: cover; }
.ctar-landing__tagline { font-size: 1.125rem; }
.ctar-contact-columns .fluentform { max-width: 36rem; }
@media (max-width: 1023.98px) {
	.ctar-cta-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767.98px) {
	.ctar-home-columns, .ctar-contact-columns, .ctar-landing__columns { flex-wrap: wrap !important; }
	.ctar-home-columns > .wp-block-column, .ctar-contact-columns > .wp-block-column, .ctar-landing__columns > .wp-block-column { flex-basis: 100% !important; }
}
@media (max-width: 599.98px) {
	.ctar-cta-cards { grid-template-columns: minmax(0, 1fr) !important; }
	.ctar-callout { flex-direction: column; align-items: flex-start; }
}
/* "Last updated" date above the legal page headings. */
.ctar-last-updated { margin: 0 0 0.375rem; }

/* Compact spacing (October 2026): cards and intro bands at 75% of their earlier padding. The cards carry
 * WordPress's inline 1.5rem preset padding and the intro bands an inline top and bottom, so these override them. */
.wp-block-group.ctar-card:not(.ctar-card--band), .wp-block-column.ctar-card, .wp-block-group.ctar-disclaimer { padding: 1.125rem !important; }
.wp-block-group.ctar-page-intro { padding-top: calc(var(--wp--preset--spacing--50) * 0.75) !important; padding-bottom: 1.4062rem !important; }

/* Home hero: both buttons take the width of the wider one; on phones they stack at that width. */
.wp-block-buttons.ctar-hero__buttons { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.ctar-hero__buttons .wp-block-button, .ctar-hero__buttons .wp-block-button__link { width: 100%; box-sizing: border-box; }
@media (max-width: 599.98px) {
	.wp-block-buttons.ctar-hero__buttons { grid-auto-flow: row; }
}

/* Home Band boxes: each filled with its Band colour at the search scale's 28% strength (Band 1 stays white), with the
 * full colour kept on the top edge. The preset background class is !important, so these are too. */
.ctar-band-cards .wp-block-group.ctar-card--band-2 { background-color: #C0DAC8 !important; }
.ctar-band-cards .wp-block-group.ctar-card--band-3 { background-color: #FCEFBE !important; }
.ctar-band-cards .wp-block-group.ctar-card--band-4 { background-color: #F4C2C4 !important; }

/* Pre-footer call to action on the product pages (visitors only): a navy band joined to the top of the footer, its content
 * aligned with the footer columns and set off from them by the footer's divider colour. */
.wp-site-blocks > .wp-block-group.ctar-prefooter { margin-block: 0; padding: 2.125rem var(--wp--preset--spacing--20) 0; }
.wp-block-group.ctar-prefooter__panel { gap: 1.25rem 2rem; padding-bottom: 2.125rem; border-bottom: 1px solid #2B3D5E; }
.ctar-prefooter__text > * { margin: 0; }
.ctar-prefooter__title { color: inherit; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.01em; }
.ctar-prefooter__lead { margin-top: 0.375rem !important; font-size: 1.0625rem; color: #C9D3E2; }
.ctar-prefooter__cta .wp-block-button__link { background: var(--wp--preset--color--yellow); border-color: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); padding: 1rem 2rem; font-weight: 700; }
.ctar-prefooter__cta .wp-block-button__link:hover { background: #E0B411; border-color: #E0B411; color: var(--wp--preset--color--navy); }
@media (max-width: 599.98px) {
	.ctar-prefooter__cta, .ctar-prefooter__cta .wp-block-button, .ctar-prefooter__cta .wp-block-button__link { width: 100%; }
}

/* Home hero: a reassurance line under the two buttons (visitors only), centred across their combined width. */
.wp-block-group.ctar-hero__actions { display: inline-flex; flex-direction: column; gap: 0.625rem; max-width: 100%; }
.ctar-hero__actions > * { margin: 0 !important; }
.ctar-hero__reassure { font-size: 0.875rem; color: #667385; text-align: center; }
@media (max-width: 599.98px) {
	.ctar-hero__reassure { text-align: left; }
}
/* Home hero sample card, larger on desktop so it balances the text column. */
@media (min-width: 782px) {
	.ctar-hero .ctar-card__head { gap: 20px; padding: 34px 32px 30px; }
	.ctar-hero .ctar-card__name { font-size: 23px; }
	.ctar-hero .ctar-card__code { font-size: 14px !important; margin-top: 6px; }
	.ctar-hero .ctar-card__band { font-size: 44px !important; }
	.ctar-hero .ctar-card__commentary { font-size: 16px; margin-top: 10px; }
	.ctar-hero .ctar-card__period { font-size: 12.5px !important; margin-top: 6px; }
	.ctar-hero .ctar-band-scale { padding: 28px 32px 32px; }
	.ctar-hero .ctar-band-scale__segment { font-size: 12px !important; }
	.ctar-hero .ctar-band-scale__segment::before { height: 9px; margin-bottom: 9px; }
	.ctar-hero .ctar-band-scale__labels { margin-top: 8px; }
	.ctar-hero .ctar-band-scale__labels p { font-size: 12px !important; }
}

/* About page: sectioned layout with an illustration, an experience card and principle cards. */
.ctar-icon--cap::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2.5 9 2.5 12 0v-5'/%3E%3Cpath d='M22 10v6'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2.5 9 2.5 12 0v-5'/%3E%3Cpath d='M22 10v6'/%3E%3C/svg%3E"); }
.ctar-icon--gear::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E"); }
.ctar-icon--document::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6M9 17h6M9 9h2'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6M9 17h6M9 9h2'/%3E%3C/svg%3E"); }
.ctar-icon--shield-plain::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.4 8 9 4.6-.6 8-4 8-9V6l-8-3z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.4 8 9 4.6-.6 8-4 8-9V6l-8-3z'/%3E%3C/svg%3E"); }
/* Soft icons: a tinted circle without a border; the glyph takes the deeper text shade of its colour. */
.ctar-icon--soft { width: 3rem; height: 3rem; flex: 0 0 3rem; margin: 0; border: 0; box-sizing: border-box; }
.ctar-icon--soft::before { width: 1.375rem; height: 1.375rem; }
.ctar-icon--soft.ctar-icon--navy { background: #E6EBF2; color: var(--wp--preset--color--navy); }
.ctar-icon--soft.ctar-icon--band-2 { background: #E0ECE4; color: #17652F; }
.ctar-icon--soft.ctar-icon--band-3 { background: #FEF7DF; color: #8A6400; }
.ctar-icon--soft.ctar-icon--band-4 { background: #F9E0E1; color: #B3191F; }
.ctar-icon--soft.ctar-icon--slate { background: #EEF1F5; color: #41506B; }
.wp-block-columns.ctar-about-columns { gap: 2.5rem; }
.wp-block-image.ctar-about-flow { max-width: 34rem; margin: 0 auto; }
.ctar-about-flow img { display: block; width: 100%; height: auto; }
.wp-block-group.ctar-principles { gap: 1.5rem; margin-top: 1.125rem; align-items: stretch; }
.wp-block-group.ctar-principle { padding: 1.25rem 1.125rem; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.625rem; }
.ctar-principle > * { margin: 0 !important; }
.ctar-principle__title { margin-top: 0.875rem !important; font-size: 1.0625rem; }
.ctar-principle > p { margin-top: 0.5rem !important; font-size: 0.9375rem; line-height: 1.55; color: var(--wp--preset--color--ink-muted); }
@media (max-width: 1023.98px) {
	.wp-block-group.ctar-principles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 781.98px) {
	.wp-block-group.ctar-principles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 479.98px) {
	.wp-block-group.ctar-principles { grid-template-columns: minmax(0, 1fr) !important; }
}
/* FAQs: questions grouped under section headings, each with a plain icon and a short accent bar in its colour. */
.ctar-icon--people::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='9' cy='7.5' r='4'/%3E%3Cpath d='M1.5 21v-1.5A6.5 6.5 0 0 1 8 13h2a6.5 6.5 0 0 1 6.5 6.5V21z'/%3E%3Ccircle cx='17' cy='7' r='3.25'/%3E%3Cpath d='M15.4 12.6A5.6 5.6 0 0 1 22.5 18v3h-4.5v-1.5a8.5 8.5 0 0 0-2.6-6.1z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='9' cy='7.5' r='4'/%3E%3Cpath d='M1.5 21v-1.5A6.5 6.5 0 0 1 8 13h2a6.5 6.5 0 0 1 6.5 6.5V21z'/%3E%3Ccircle cx='17' cy='7' r='3.25'/%3E%3Cpath d='M15.4 12.6A5.6 5.6 0 0 1 22.5 18v3h-4.5v-1.5a8.5 8.5 0 0 0-2.6-6.1z'/%3E%3C/svg%3E"); }
.ctar-icon--plain { width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; margin: 0; border: 0; }
.ctar-icon--plain::before { width: 2rem; height: 2rem; }
.wp-block-group.ctar-faq__section { gap: 0.875rem; margin: 1.5rem 0 0.875rem; }
.wp-block-group.ctar-faq__section:first-child { margin-top: 0.25rem; }
.ctar-faq__title { margin: 0; font-size: 1.5rem; }
.ctar-faq__title::after { content: ""; display: block; width: 2.75rem; height: 4px; margin-top: 0.375rem; border-radius: 2px; background: var(--wp--preset--color--navy); }
.ctar-faq__section--band-2 .ctar-faq__title::after { background: var(--wp--preset--color--band-2); }
.ctar-faq__section--band-3 .ctar-faq__title::after { background: var(--wp--preset--color--band-3); }

/* Member login: a welcome panel beside the form panel (the CTAR plugin wraps the Paid Memberships Pro form). */
.ctar-login { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); max-width: 68rem; margin: 0.5rem auto 0; overflow: hidden; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.875rem; box-shadow: 0 16px 40px rgba(13, 34, 64, 0.08); }
/* The form panel comes first in the markup so the page heading leads; the welcome panel is placed on the left from 782px. */
.ctar-login__welcome { order: -1; display: flex; flex-direction: column; justify-content: flex-start; padding: 2.5rem 2.75rem; background: var(--wp--preset--color--surface-alt); }
.ctar-login__welcome > *, .ctar-login__form > p, .ctar-login__form > h1 { margin: 0; }
.ctar-login__welcome-title { margin-top: 1.5625rem !important; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.01em; }
.ctar-login__welcome-lead { margin-top: 0.625rem !important; font-size: 1.1875rem; line-height: 1.5; color: var(--wp--preset--color--ink); }
.ctar-login__form { padding: 2.5rem 2.75rem; }
.ctar-login__eyebrow { font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #667385; }
.ctar-login__title { margin-top: 0.375rem !important; font-size: clamp(1.75rem, 3vw, 2.125rem); font-weight: 800; letter-spacing: -0.01em; }
.ctar-login__lead { margin: 0.375rem 0 1.25rem !important; color: var(--wp--preset--color--ink-muted); }
.ctar-login .pmpro, .ctar-login .pmpro_section { margin: 0; }
.ctar-login .pmpro_section .pmpro_card.pmpro_login_wrap { max-width: none; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.ctar-login .pmpro_card_content { padding: 0 !important; }
.ctar-login #loginform p { margin: 0 0 1rem; }
.ctar-login #loginform label { display: block; margin-bottom: 0.375rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.ctar-login #loginform input[type="text"], .ctar-login #loginform input[type="password"] { width: 100%; box-sizing: border-box; }
.ctar-login #loginform .login-password { position: relative; }
.ctar-login #loginform .login-password .pmpro_form_field-password-toggle { position: absolute; top: 0; right: 0; }
.ctar-login #loginform .login-password .pmpro_btn-plain { min-height: 0; height: auto; line-height: 1.2; gap: 0.375rem; font-size: 0.875rem; white-space: nowrap; }
.ctar-login #loginform .login-remember { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ctar-login #loginform .login-remember label { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 400; color: var(--wp--preset--color--ink); }
.ctar-login__lost { font-size: 0.9375rem; color: var(--wp--preset--color--navy); }
.ctar-login #loginform .login-submit { margin-bottom: 0; }
.ctar-login.ctar-login #loginform #wp-submit { width: 100% !important; }
.ctar-login__divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0 0.875rem !important; font-size: 0.875rem; color: #667385; }
.ctar-login__divider::before, .ctar-login__divider::after { content: ""; flex: 1; height: 1px; background: #E1E7F0; }
.ctar-login__register-link { display: block; padding: 0.75rem 1rem; border: 2px solid var(--wp--preset--color--navy); border-radius: 0.5rem; text-align: center; font-weight: 600; color: var(--wp--preset--color--navy); text-decoration: none; }
.ctar-login__register-link:hover { background: var(--wp--preset--color--surface-alt); color: var(--wp--preset--color--navy); }
.ctar-login__help { margin-top: 1rem !important; text-align: center; font-size: 0.875rem; color: var(--wp--preset--color--ink-muted); }
.ctar-login__help a { color: var(--wp--preset--color--navy); }
@media (max-width: 781.98px) {
	.ctar-login { grid-template-columns: minmax(0, 1fr); }
	.ctar-login__form { padding: 1.75rem 1.25rem; }
	.ctar-login__welcome { order: 0; padding: 1.75rem 1.25rem; }
}

/* Free registration: a welcome panel beside the form panel (the CTAR plugin wraps the Paid Memberships Pro checkout). */
.ctar-register { --ctar-mail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.ctar-register { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); max-width: 68rem; margin: 0.5rem auto 0; overflow: hidden; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.875rem; box-shadow: 0 16px 40px rgba(13, 34, 64, 0.08); }
.ctar-register__welcome { order: -1; padding: 2.5rem 2.75rem; background: var(--wp--preset--color--surface-alt); }
.ctar-register__welcome > *, .ctar-register__form > p, .ctar-register__form > h1 { margin: 0; }
.ctar-register__welcome-title { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.ctar-register__welcome-lead { margin-top: 0.75rem !important; font-size: 1.0625rem; line-height: 1.5; color: var(--wp--preset--color--ink); }
.ctar-register__bands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin: 1.5rem 0 0 !important; padding: 0; list-style: none; }
.ctar-register__band { font-size: 0.75rem; font-weight: 700; text-align: center; color: var(--wp--preset--color--navy); }
.ctar-register__band::before { content: ""; display: block; height: 0.75rem; margin-bottom: 0.5rem; border-radius: 3px; }
.ctar-register__band--1::before { background: #FFFFFF; box-shadow: inset 0 0 0 1px #A8B4C6; }
.ctar-register__band--2::before { background: #1E7A3C; }
.ctar-register__band--3::before { background: #F5C518; }
.ctar-register__band--4::before { background: #D6252B; }
.ctar-register__points { margin: 1.5rem 0 0 !important; padding: 0; list-style: none; }
.ctar-register__points li { display: flex; align-items: center; gap: 0.875rem; margin-top: 0.75rem; color: var(--wp--preset--color--navy); }
.ctar-register__points .ctar-icon--soft { width: 2.5rem; height: 2.5rem; flex-basis: 2.5rem; background: var(--wp--preset--color--base); }
.ctar-register__points .ctar-icon--soft::before { width: 1.125rem; height: 1.125rem; }
.ctar-register__next-title { margin-top: 1.75rem !important; padding-top: 1.5rem; border-top: 1px solid #DCE4EE; font-size: 1.1875rem; }
.ctar-register__steps { counter-reset: ctar-step; margin: 0.875rem 0 0 !important; padding: 0; list-style: none; }
.ctar-register__steps li { counter-increment: ctar-step; display: flex; align-items: center; gap: 0.875rem; margin-top: 0.625rem; color: var(--wp--preset--color--navy); }
.ctar-register__steps li::before { content: counter(ctar-step); display: inline-flex; flex: 0 0 2rem; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: #DCE4EE; font-family: var(--wp--preset--font-family--heading); font-weight: 700; }
.ctar-register__form { padding: 2.5rem 2.75rem; }
.ctar-register__title { margin: 0 0 1rem !important; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.01em; }
.ctar-register .pmpro, .ctar-register .pmpro_section { margin: 0; }
.ctar-register .pmpro_card { margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.ctar-register .pmpro_card_content { padding: 0 !important; }
.ctar-register #pmpro_user_fields { margin: 0; padding: 0; border: 0; }
.ctar-register .pmpro_form_field-password .pmpro_form_field-password-toggle { justify-self: end; align-self: center; }
.ctar-register .pmpro_form_field-password .ctar-password-hint { grid-column: 1 / -1; margin: 0.375rem 0 0; }
.ctar-register .pmpro_form_field-password .pmpro_btn-plain { min-height: 0; height: auto; line-height: 1.2; gap: 0.375rem; font-size: 0.875rem; white-space: nowrap; }
.ctar-register .pmpro_form_submit, .ctar-register #pmpro_submit_span, .ctar-register #pmpro_btn-submit { display: block; width: 100% !important; }
.ctar-register .ctar-checkout-note { position: relative; margin: 1.25rem 0 0; padding: 0.875rem 1rem 0.875rem 4rem; background: var(--wp--preset--color--surface-alt); border-radius: 0.625rem; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.ctar-register .ctar-checkout-note::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 2.25rem; height: 2.25rem; margin-top: -1.125rem; border-radius: 50%; background: #DCE4EE; }
.ctar-register .ctar-checkout-note::after { content: ""; position: absolute; left: 1.5rem; top: 50%; width: 1.25rem; height: 1.25rem; margin-top: -0.625rem; background: var(--wp--preset--color--navy); mask: var(--ctar-mail-icon) center / contain no-repeat; -webkit-mask: var(--ctar-mail-icon) center / contain no-repeat; }
.ctar-register__divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0 0.875rem !important; font-size: 0.875rem; color: #667385; }
.ctar-register__divider::before, .ctar-register__divider::after { content: ""; flex: 1; height: 1px; background: #E1E7F0; }
.ctar-register__login-link { display: block; padding: 0.75rem 1rem; border: 2px solid var(--wp--preset--color--navy); border-radius: 0.5rem; text-align: center; font-weight: 600; color: var(--wp--preset--color--navy); text-decoration: none; }
.ctar-register__login-link:hover { background: var(--wp--preset--color--surface-alt); color: var(--wp--preset--color--navy); }
@media (max-width: 781.98px) {
	.ctar-register { grid-template-columns: minmax(0, 1fr); }
	.ctar-register__form { padding: 1.75rem 1.25rem; }
	.ctar-register__welcome { order: 0; padding: 1.75rem 1.25rem; }
}
/* The hidden "Processing…" line keeps its height under the button; take it out of the flow until it shows. */
.ctar-register #pmpro_processing_message[style*="hidden"] { display: none; }
.ctar-register .ctar-checkout-note { margin-top: 1rem; }

/* Contact: the form in a card beside three help cards. */
.ctar-icon--question::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M9.5 8.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .8-1 1.5v.2'/%3E%3Cpath d='M12 15.5h.01'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M9.5 8.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .8-1 1.5v.2'/%3E%3Cpath d='M12 15.5h.01'/%3E%3C/svg%3E"); }
.ctar-icon--key::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.8-9.8'/%3E%3Cpath d='m16 7 3 3'/%3E%3Cpath d='m19 4 2 2'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.8-9.8'/%3E%3Cpath d='m16 7 3 3'/%3E%3Cpath d='m19 4 2 2'/%3E%3C/svg%3E"); }
.wp-block-columns.ctar-contact-columns { gap: 1.25rem; align-items: flex-start; }
.wp-block-group.ctar-contact-form { padding: 1.75rem 2rem; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.75rem; box-shadow: 0 10px 30px rgba(13, 34, 64, 0.06); }
.ctar-contact-form > * { margin-block: 0; }
.ctar-contact-form__title { margin-bottom: 1rem !important; font-size: 1.75rem; }
.ctar-contact-form .fluentform { max-width: none; }
.ctar-contact-form .ff-btn-submit { width: 100%; }
.wp-block-group.ctar-contact-help { display: flex; gap: 1.25rem; align-items: flex-start; margin: 0 0 0.75rem; padding: 1.5rem; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.75rem; }
.wp-block-group.ctar-contact-help:first-child { background: var(--wp--preset--color--surface-alt); }
.ctar-contact-help .ctar-icon--soft { width: 3.75rem; height: 3.75rem; flex-basis: 3.75rem; }
.ctar-contact-help .ctar-icon--soft::before { width: 1.75rem; height: 1.75rem; }
.wp-block-group.ctar-contact-help:first-child .ctar-icon--soft { background: #DCE4EE; }
.ctar-contact-help__body > * { margin: 0 !important; }
.ctar-contact-help__title { font-size: 1.1875rem; }
.ctar-contact-help__body > p { margin-top: 0.375rem !important; font-size: 0.9375rem; line-height: 1.55; color: var(--wp--preset--color--ink-muted); }
.ctar-contact-help__body > .wp-block-buttons { margin-top: 0.875rem !important; }
.ctar-contact-help__links { display: flex; flex-wrap: wrap; gap: 0.25rem 0; margin-top: 0.75rem !important; }
.ctar-contact-help__links a { padding-right: 1rem; color: var(--wp--preset--color--navy); }
.ctar-contact-help__links a + a { padding-left: 1rem; border-left: 1px solid #DCE4EE; }
main .ctar-button--yellow .wp-block-button__link, main a.ctar-button.ctar-button--yellow { background: var(--wp--preset--color--yellow) !important; border-color: var(--wp--preset--color--yellow) !important; color: var(--wp--preset--color--navy) !important; }
main .ctar-button--yellow .wp-block-button__link:hover, main a.ctar-button.ctar-button--yellow:hover { background: #E0B411 !important; border-color: #E0B411 !important; color: var(--wp--preset--color--navy) !important; }
.ctar-contact-help__bands { flex-direction: column; gap: 3px; }
.ctar-contact-help__bands::before { display: none; }
.ctar-contact-help__bands span { display: block; width: 1.75rem; height: 0.3125rem; border-radius: 2px; }
.ctar-contact-help__bands span:nth-child(1) { background: #FFFFFF; box-shadow: inset 0 0 0 1px #A8B4C6; }
.ctar-contact-help__bands span:nth-child(2) { background: #1E7A3C; }
.ctar-contact-help__bands span:nth-child(3) { background: #F5C518; }
.ctar-contact-help__bands span:nth-child(4) { background: #D6252B; }
@media (max-width: 599.98px) {
	.wp-block-group.ctar-contact-form { padding: 1.25rem; }
	.wp-block-group.ctar-contact-help { padding: 1.25rem; gap: 1rem; }
	.ctar-contact-help .ctar-icon--soft { width: 3rem; height: 3rem; flex-basis: 3rem; }
}

/* Always reserve the scrollbar's space, so short pages (such as Company Search) line up with long ones instead of shifting sideways. */
html { scrollbar-gutter: stable; }

/* Rejoin: a logged-in member's checkout of the free level, as a single card. */
/* CTAR Pro offer box on the Pro checkout. */
.ctar-pro-summary { margin: 1.25rem 0 0; padding: 1.25rem 1.375rem; background: var(--wp--preset--color--base); border: 2px solid var(--wp--preset--color--yellow); border-radius: 0.75rem; }
.ctar-pro-summary > * { margin: 0; }
.ctar-pro-summary__plan { font-family: var(--wp--preset--font-family--heading); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--ink-muted); }
.ctar-pro-summary__price { margin-top: 0.25rem !important; font-family: var(--wp--preset--font-family--heading); font-size: 1.75rem; font-weight: 800; color: var(--wp--preset--color--navy); }
.ctar-pro-summary__price span { font-family: var(--wp--preset--font-family--body); font-size: 0.9375rem; font-weight: 400; color: var(--wp--preset--color--ink-muted); }
.ctar-pro-summary__points { margin: 0.75rem 0 0 !important; padding: 0; list-style: none; }
.ctar-pro-summary__points li { position: relative; margin-top: 0.375rem; padding-left: 1.625rem; color: var(--wp--preset--color--navy); }
.ctar-pro-summary__points li::before { content: "\2713"; position: absolute; left: 0; font-weight: 700; color: var(--wp--preset--color--band-2); }
.ctar-pro-summary__switch { margin-top: 0.875rem !important; padding-top: 0.75rem; border-top: 1px solid #E4E9F0; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.ctar-pro-summary__switch a { font-weight: 600; color: var(--wp--preset--color--navy); }
.ctar-register__secure { margin-top: 1rem !important; font-size: 0.875rem; color: var(--wp--preset--color--ink-muted); }
.ctar-rejoin--pro .ctar-pro-summary { margin: 0 0 1rem; }
.ctar-rejoin { max-width: 40rem; padding: 1.75rem 2rem; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.75rem; box-shadow: 0 10px 30px rgba(13, 34, 64, 0.06); }
.ctar-rejoin__lead { margin: 0 0 1rem; font-size: 1.0625rem; color: var(--wp--preset--color--ink); }
.ctar-rejoin .pmpro, .ctar-rejoin .pmpro_section { margin: 0; }
.ctar-rejoin .pmpro_card { margin: 0 0 1rem; box-shadow: none; }
.ctar-rejoin #pmpro_btn-submit { width: 100% !important; }
@media (max-width: 599.98px) {
	.ctar-rejoin { padding: 1.25rem; }
}

/* Member pages (Account, Edit profile, Change password, Cancel membership): the CTAR plugin adds the intro band and
 * card headings; these rules give Paid Memberships Pro's cards, lists, links and buttons the site's look. */
.ctar-main:has(> .ctar-member-intro) { padding-top: 0 !important; }
.wp-block-group.ctar-member-intro { margin: 0 calc(-1 * var(--wp--style--root--padding-right, 1rem)) 1.25rem calc(-1 * var(--wp--style--root--padding-left, 1rem)) !important; max-width: none !important; padding-top: var(--wp--preset--spacing--50); padding-bottom: 1.875rem; }
.ctar-member-account, .ctar-member-form, .ctar-member-cancel { margin-top: 0; }
.ctar-member-account .pmpro_section, .ctar-member-form .pmpro_section, .ctar-member-cancel .pmpro_section { margin: 0; }
.ctar-member-account .pmpro_section_title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
/* Membership (the busier card) 70%, profile 30%. */
.ctar-member-account { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 1rem; align-items: stretch; }
.ctar-member-account #pmpro_account-membership { order: -1; }
.ctar-member-account .pmpro_section, .ctar-member-account .pmpro_section_content { height: 100%; }
.ctar-member-account .pmpro_card, .ctar-member-form .pmpro_card, .ctar-member-cancel .pmpro_card { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; margin: 0; padding: 1.5rem 1.75rem; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.75rem; box-shadow: 0 10px 30px rgba(13, 34, 64, 0.06); }
.ctar-member-account [id^="pmpro_account-membership-"] { border-top: 5px solid #1E7A3C; }
.ctar-member-cancel .pmpro_card { max-width: 44rem; border-top: 5px solid #C31C22; }
.ctar-member-form .pmpro_card { max-width: 44rem; height: auto; }
/* Edit profile and Change password: inputs fill their field, and on Edit profile the email address takes the full row
 * of PMPro's two-column grid (first and last name share the row above), so a long address shows in full. */
.ctar-member-form .pmpro_cols-2 > .pmpro_form_field-user_email { width: 100%; }
.ctar-member-form input.pmpro_form_input-text, .ctar-member-form input.pmpro_form_input-email, .ctar-member-form input.pmpro_form_input-password { width: 100%; max-width: 100%; box-sizing: border-box; }
.ctar-member-account .pmpro_card_content, .ctar-member-form .pmpro_card_content, .ctar-member-cancel .pmpro_card_content { padding: 0 !important; }
.ctar-member-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.ctar-member-head__text { flex: 1; min-width: 0; }
.ctar-member-head__text > * { margin: 0 !important; padding: 0 !important; }
.ctar-member-head__eyebrow { font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #667385; }
.ctar-member-head .pmpro_card_title, .ctar-member-head .pmpro_form_heading { font-size: 1.375rem !important; line-height: 1.3; border: 0 !important; }
.ctar-member-head__status { padding: 0.25rem 0.625rem; border-radius: 999px; background: #E0ECE4; color: #17652F; font-size: 0.8125rem; font-weight: 700; }
.ctar-member-legend { width: 100%; padding: 0; }
.ctar-member-account ul.pmpro_list:empty { display: none; }
.ctar-member-account .pmpro_list-plain { margin: 0; padding: 0; list-style: none; }
.ctar-member-account .pmpro_list-plain .pmpro_list_item { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid #EDF1F6; }
.ctar-member-account .pmpro_list-plain .pmpro_list_item strong { color: var(--wp--preset--color--navy); }
.ctar-account-allowance { padding: 1rem 1.125rem; background: var(--wp--preset--color--surface-alt); border-radius: 0.625rem; }
.ctar-account-allowance p { margin: 0; }
.ctar-account-allowance__count strong { font-size: 1.5rem; color: var(--wp--preset--color--navy); }
.ctar-account-allowance__bar { height: 0.5rem; margin: 0.625rem 0 0.5rem; background: #DCE4EE; border-radius: 999px; overflow: hidden; }
.ctar-account-allowance__bar span { display: block; height: 100%; background: #1E7A3C; border-radius: 999px; }
.ctar-account-allowance__reset { font-size: 0.875rem; color: #667385; }
.ctar-member-account .pmpro_card_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: auto; padding: 1rem 0 0 !important; background: transparent !important; border: 0 !important; }
.ctar-member-account .pmpro_card_action_separator { display: none; }
.ctar-member-form .pmpro_form_submit, .ctar-member-cancel .pmpro_form_submit { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.ctar-member-cancel .pmpro_card_content > p { margin: 0 0 0.5rem; color: var(--wp--preset--color--ink); }
@media (max-width: 781.98px) {
	.ctar-member-account { grid-template-columns: minmax(0, 1fr); }
	.ctar-member-account .pmpro_card, .ctar-member-form .pmpro_card, .ctar-member-cancel .pmpro_card { padding: 1.25rem; }
	.ctar-member-account .pmpro_list-plain .pmpro_list_item { grid-template-columns: minmax(0, 1fr); gap: 0.125rem; }
}
/* Account card actions: every link is a navy button of one size, CTAR Search keeps the header's yellow, and each card's
 * row sits at the bottom so the two rows line up. */
.ctar-member-account .pmpro_card_actions a { display: inline-flex; align-items: center; justify-content: center; width: 9.75rem; height: 3rem; box-sizing: border-box; padding: 0 0.5rem; border: 0; border-radius: 0.5rem; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--base) !important; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; }
.ctar-member-account .pmpro_card_actions a:hover { background: var(--wp--preset--color--navy-deep); }
.ctar-member-account .pmpro_card_actions a.ctar-account-allowance__search { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy) !important; }
.ctar-member-account .pmpro_card_actions a.ctar-account-allowance__search:hover { background: #E0B411; }
/* Edit profile, Change password and Cancel membership: every button navy with white text and one size. */
.ctar-member-form .pmpro_form_submit .pmpro_btn, .ctar-member-cancel .pmpro_form_submit .pmpro_btn { display: inline-flex; align-items: center; justify-content: center; width: 16rem; max-width: 100%; height: 3rem; box-sizing: border-box; margin: 0; padding: 0 0.75rem; background: var(--wp--preset--color--navy) !important; border: 0 !important; border-radius: 0.5rem; color: var(--wp--preset--color--base) !important; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; }
.ctar-member-form .pmpro_form_submit .pmpro_btn:hover, .ctar-member-cancel .pmpro_form_submit .pmpro_btn:hover { background: var(--wp--preset--color--navy-deep) !important; }

/* Header: a narrow yellow underline marks the page being viewed (and Account on its pages). */
.ctar-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.ctar-header .wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content { text-decoration: underline; text-decoration-color: var(--wp--preset--color--yellow); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.ctar-header .wp-block-navigation .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { text-decoration: none; font-weight: 700; }

/* Home hero sample laid out like a real search result: a band-tinted head with the name, code,
 * band, commentary and period stacked on the left, then the scale and the Historical context note. */
.ctar-hero .ctar-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 20px 22px 18px; background: #E0ECE4; border-bottom: 0; }
.ctar-hero .ctar-card__head > * { margin: 0 !important; }
.ctar-hero .ctar-card__name { font-family: var(--wp--preset--font-family--heading); font-size: 21px; line-height: 1.2; }
.ctar-hero .ctar-card__code { font-size: 14px !important; color: #4F5B6D !important; margin-top: 2px !important; }
.ctar-hero .ctar-card__band { font-size: 32px !important; color: #17652F; margin-top: 4px !important; }
.ctar-hero .ctar-card__commentary { font-size: 16px; font-weight: 400; color: #17652F; margin-top: 4px !important; }
.ctar-hero .ctar-card__period { font-size: 14px !important; color: #4F5B6D; margin-top: 4px !important; }
.ctar-hero .ctar-band-scale { padding: 18px 22px 0; }
.ctar-hero .ctar-card__historical { margin: 16px 22px 22px !important; max-width: none; padding: 12px 14px; background: var(--wp--preset--color--surface-alt); border-radius: 8px; }
.ctar-hero .ctar-card__historical h3 { margin: 0 0 6px; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.ctar-hero .ctar-card__historical p { margin: 0; font-size: 14px; }
.ctar-hero .ctar-card__historical a { color: inherit; text-decoration: underline; }
.ctar-hero .ctar-card__outcomes { margin: 0 0 6px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--wp--preset--color--navy); }
@media (min-width: 782px) {
	.ctar-hero .ctar-card__head { padding: 12px 28px 10px; }
	.ctar-hero .ctar-card__name { font-size: 22px; }
	.ctar-hero .ctar-card__code { font-size: 14px !important; }
	.ctar-hero .ctar-card__band { font-size: 30px !important; margin-top: 2px !important; }
	.ctar-hero .ctar-card__commentary { font-size: 16px; margin-top: 2px !important; }
	.ctar-hero .ctar-card__period { font-size: 14px !important; margin-top: 2px !important; }
	.ctar-hero .ctar-band-scale { padding: 10px 28px 0; }
	.ctar-hero .ctar-band-scale__segment::before { height: 8px; margin-bottom: 6px; }
	.ctar-hero .ctar-card__historical { margin: 10px 28px 12px !important; padding: 8px 14px; }
	.ctar-hero .ctar-card__historical h3 { font-size: 13px; margin-bottom: 4px; }
	.ctar-hero .ctar-card__historical p { font-size: 14px; line-height: 1.45; }
}

/* Account dropdown on desktop: a white panel with navy text, a light border and soft shadow, and a
 * pale-blue hover. Core gives the submenu the mobile overlay's navy colour classes, so these need
 * !important; below 1024px the menu is the navy overlay and keeps its white text. */
@media (min-width: 1024px) {
	.ctar-header .wp-block-navigation .wp-block-navigation__submenu-container { background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--navy) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 0.5rem; box-shadow: 0 12px 28px rgba(13, 34, 64, 0.14); padding: 0.375rem !important; min-width: 12rem !important; }
	.ctar-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--wp--preset--color--navy) !important; padding: 0.5rem 0.75rem !important; border-radius: 0.375rem; }
	.ctar-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.ctar-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible { background: #E8EEF6; color: var(--wp--preset--color--navy) !important; }
	.ctar-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible { outline: 2px solid var(--wp--preset--color--navy); outline-offset: -2px; }
}

/* How CTAR Works: ticked "trading context" points above the process icons. */
.ctar-context-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.ctar-context-steps li { position: relative; padding-left: 2.75rem; margin: 0; }
.ctar-context-steps li::before { content: "\2713"; position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--base); font-family: var(--wp--preset--font-family--heading); font-size: 0.9375rem; font-weight: 700; }
.ctar-context-steps strong { color: var(--wp--preset--color--navy); }
.ctar-context-steps a { color: inherit; }

/* How CTAR Works: the Band table with an illustrative example beside it (stacked below 900px). */
.ctar-band-reading { display: grid; gap: 1.125rem; margin-top: 0.9375rem; }
.ctar-band-reading > * { margin: 0 !important; max-width: none !important; }
@media (min-width: 900px) {
	.ctar-band-reading { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; }
	/* The table stretches to the panel's height so both bottoms line up. */
	.ctar-band-reading .ctar-band-table, .ctar-band-reading .ctar-band-table table { height: 100%; }
}
.ctar-example { position: relative; box-sizing: border-box; padding: 0.9375rem 0.9375rem 0.9375rem 3.625rem !important; background: #EEF4FB; border: 1px solid #C3D5EB; border-radius: 0.75rem; }
.ctar-example::before { content: "i"; position: absolute; left: 0.9375rem; top: 0.9375rem; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--base); font-family: var(--wp--preset--font-family--heading); font-size: 1.0625rem; font-weight: 700; line-height: 1.875rem; text-align: center; }
.ctar-example > * { margin: 0 !important; }
.ctar-example .ctar-example__title { margin-bottom: 0.375rem !important; font-size: 1.125rem; line-height: 1.875rem; }
.ctar-example .ctar-example__note { margin-top: 0.5625rem !important; padding-top: 0.5625rem; border-top: 1px solid #C9D8EA; font-size: 0.875rem; color: var(--wp--preset--color--ink-muted); }

/* Home hero sample laid out like a search result: name and code, the current classification box,
 * band scale and the Historical Band performance note. Compact so it stays level with the hero text. */
.ctar-hero .ctar-card--sample { padding: 0 !important; border: 1px solid #E1E7F0; border-radius: 11px; overflow: hidden; box-shadow: 0 16px 40px rgba(13, 34, 64, 0.09); }
.ctar-hero .ctar-card--sample > * { margin-block: 0 !important; }
.ctar-hero .ctar-card--sample .ctar-card__title { padding: 14px 22px 10px; }
.ctar-hero .ctar-card--sample .ctar-card__name { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 20px; line-height: 1.2; }
.ctar-hero .ctar-card--sample .ctar-card__code { margin: 2px 0 0; font-size: 13px; color: #4F5B6D; }
.ctar-hero .ctar-compare { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 22px; }
.ctar-hero .ctar-month { display: flex; flex-direction: column; margin: 0; border: 1px solid #DFE5EC; border-radius: 8px; overflow: hidden; background: #fff; }
.ctar-hero .ctar-month__head { display: flex; justify-content: space-between; gap: 6px; padding: 5px 9px; font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--wp--preset--color--navy); }
.ctar-hero .ctar-month__period { white-space: nowrap; }
.ctar-hero .ctar-month__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 5px; padding: 8px 9px; }
.ctar-hero .ctar-month__band { margin: 0; padding: 3px 8px; border-radius: 6px; font-family: var(--wp--preset--font-family--heading); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.ctar-hero .ctar-month__commentary { margin: 0; font-size: 12.5px; line-height: 1.35; }
.ctar-hero .ctar-month--band-1 { border-color: #C3CCD9; }
.ctar-hero .ctar-month--band-1 .ctar-month__head, .ctar-hero .ctar-month--band-1 .ctar-month__band { background: #F4F7FA; color: #4F5B6D; }
.ctar-hero .ctar-month--band-2 { border-color: #A9CDB4; }
.ctar-hero .ctar-month--band-2 .ctar-month__head, .ctar-hero .ctar-month--band-2 .ctar-month__band { background: #E0ECE4; }
.ctar-hero .ctar-month--band-2 .ctar-month__band, .ctar-hero .ctar-month--band-2 .ctar-month__commentary { color: #17652F; }
.ctar-hero .ctar-month--band-3 { border-color: #EBD27A; }
.ctar-hero .ctar-month--band-3 .ctar-month__head { background: #FEF7DF; }
.ctar-hero .ctar-month--band-3 .ctar-month__band { background: #FEF3CC; }
.ctar-hero .ctar-month--band-3 .ctar-month__band, .ctar-hero .ctar-month--band-3 .ctar-month__commentary { color: #8A6400; }
.ctar-hero .ctar-month--band-4 { border-color: #E9A7A9; }
.ctar-hero .ctar-month--band-4 .ctar-month__head, .ctar-hero .ctar-month--band-4 .ctar-month__band { background: #F9E0E1; }
.ctar-hero .ctar-month--band-4 .ctar-month__band, .ctar-hero .ctar-month--band-4 .ctar-month__commentary { color: #B3191F; }
/* The current month's box, first, has the bolder outline as on search results. */
.ctar-hero .ctar-compare > .ctar-month:first-child { border-width: 2px; }
.ctar-hero .ctar-compare > .ctar-month--band-1:first-child { border-color: #8D9AB0; }
.ctar-hero .ctar-compare > .ctar-month--band-2:first-child { border-color: #4E9A66; }
.ctar-hero .ctar-compare > .ctar-month--band-3:first-child { border-color: #DDB12C; }
.ctar-hero .ctar-compare > .ctar-month--band-4:first-child { border-color: #DB5A5F; }
.ctar-hero .ctar-card--sample .ctar-band-scale { padding: 10px 22px 0; }
.ctar-hero .ctar-card--sample .ctar-card__historical { display: flex; align-items: flex-start; gap: 10px; margin: 10px 22px 16px !important; }
.ctar-hero .ctar-card--sample .ctar-card__historical .ctar-icon { flex: 0 0 32px; width: 32px; height: 32px; margin: 0; }
.ctar-hero .ctar-card--sample .ctar-card__historical .ctar-icon::before { width: 16px; height: 16px; }
@media (min-width: 782px) {
	.ctar-hero .ctar-card--sample .ctar-card__title { padding: 16px 28px 10px; }
	.ctar-hero .ctar-card--sample .ctar-card__name { font-size: 22px; }
	.ctar-hero .ctar-compare { padding: 0 28px; }
	.ctar-hero .ctar-card--sample .ctar-band-scale { padding: 10px 28px 0; }
	.ctar-hero .ctar-card--sample .ctar-card__historical { margin: 10px 28px 14px !important; }
}
/* Compact the sample on desktop so it stays level with the hero text: badge and commentary side by side in each box. */
@media (min-width: 782px) {
	.ctar-hero .ctar-card--sample .ctar-card__title { padding: 12px 28px 8px; }
	.ctar-hero .ctar-card--sample .ctar-card__code { margin-top: 0; }
	.ctar-hero .ctar-month__head { padding: 4px 9px; }
	.ctar-hero .ctar-month__body { flex-direction: row; align-items: center; gap: 8px; padding: 7px 9px; }
	.ctar-hero .ctar-month__band { flex: 0 0 auto; font-size: 17px; }
	.ctar-hero .ctar-card--sample .ctar-band-scale { padding-top: 8px; }
	.ctar-hero .ctar-card--sample .ctar-card__historical { margin: 8px 28px 12px !important; }
}
@media (min-width: 782px) {
	/* Name and ASX code share a row, and the note keeps its icon, sentence and link without the small heading. */
	.ctar-hero .ctar-card--sample .ctar-card__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 28px 8px; }
	.ctar-hero .ctar-card--sample .ctar-card__code { margin: 0; white-space: nowrap; }
	.ctar-hero .ctar-card--sample .ctar-card__historical h3 { display: none; }
	.ctar-hero .ctar-card--sample .ctar-card__historical { align-items: center; margin: 6px 28px 10px !important; padding: 6px 12px; }
	.ctar-hero .ctar-card--sample .ctar-band-scale { padding-top: 6px; }
}
/* The note keeps its small heading on desktop. */
@media (min-width: 782px) {
	.ctar-hero .ctar-card--sample .ctar-card__historical h3 { display: block; margin: 0 0 2px; font-size: 12px; }
	.ctar-hero .ctar-card--sample .ctar-card__historical { align-items: flex-start; }
}
/* The hero lead is four lines with "approximately 1,500", so the sample gets a little more room to stay level. */
@media (min-width: 782px) {
	.ctar-hero .ctar-card--sample .ctar-card__title { padding: 14px 28px 10px; }
	.ctar-hero .ctar-month__head { padding: 6px 9px; }
	.ctar-hero .ctar-month__body { padding: 10px 9px; }
	.ctar-hero .ctar-card--sample .ctar-band-scale { padding-top: 10px; }
	.ctar-hero .ctar-card--sample .ctar-card__historical { margin: 10px 28px 13px !important; padding: 8px 12px; }
}

/* My account: "Your searches this month" spans the card grid; one row per company with its Band badge. */
.ctar-member-account .ctar-history { grid-column: 1 / -1; }
.ctar-history__note { margin: 0.875rem 0 0.75rem; font-size: 0.9375rem; color: var(--wp--preset--color--ink-muted); }
.ctar-history__table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ctar-history__table th { padding: 0.5rem 0.625rem; border-bottom: 1px solid #DFE5EC; font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; color: var(--wp--preset--color--navy); }
.ctar-history__table td { padding: 0.625rem; border-bottom: 1px solid #EDF1F6; vertical-align: middle; }
.ctar-history__table tr:last-child td { border-bottom: 0; }
.ctar-history__code { font-weight: 700; color: var(--wp--preset--color--navy); }
.ctar-history__band { display: inline-block; padding: 0.1875rem 0.5rem; border-radius: 0.375rem; font-family: var(--wp--preset--font-family--heading); font-size: 0.8125rem; font-weight: 800; white-space: nowrap; }
.ctar-history__band--1 { background: #F4F7FA; color: #4F5B6D; box-shadow: inset 0 0 0 1px #C3CCD9; }
.ctar-history__band--2 { background: #E0ECE4; color: #17652F; }
.ctar-history__band--3 { background: #FEF3CC; color: #8A6400; }
.ctar-history__band--4 { background: #F9E0E1; color: #B3191F; }
/* Phones: each company becomes a short block (code and Band on one line, then name, period and date). */
@media (max-width: 599.98px) {
	.ctar-history__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.ctar-history__table, .ctar-history__table tbody, .ctar-history__table tr, .ctar-history__table td { display: block; }
	.ctar-history__table tr { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; padding: 0.625rem 0; border-bottom: 1px solid #EDF1F6; }
	.ctar-history__table td { padding: 0; border: 0; }
	.ctar-history__table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
	.ctar-history__table td:nth-child(4), .ctar-history__table td:nth-child(5) { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--wp--preset--color--ink-muted); }
}
/* Sortable history headings: the heading text is a button; an arrow shows the sorted column and direction. */
.ctar-history__sort { display: inline-flex; align-items: center; gap: 0.3125rem; margin: 0; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.ctar-history__sort::after { content: "\2195"; font-size: 0.875rem; opacity: 0.35; }
.ctar-history__table th[aria-sort="ascending"] .ctar-history__sort::after { content: "\25B2"; font-size: 0.625rem; opacity: 1; }
.ctar-history__table th[aria-sort="descending"] .ctar-history__sort::after { content: "\25BC"; font-size: 0.625rem; opacity: 1; }
.ctar-history__sort:hover, .ctar-history__sort:focus-visible { color: var(--wp--preset--color--band-2); }
.ctar-history__sort:focus-visible { outline: 2px solid var(--wp--preset--color--navy); outline-offset: 2px; border-radius: 2px; }
/* Phones: the headings stay as a row of sort buttons above the stacked list. */
@media (max-width: 599.98px) {
	.ctar-history__table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: block; }
	.ctar-history__table thead tr { display: flex; flex-wrap: wrap; gap: 0.375rem; padding: 0 0 0.625rem; border-bottom: 1px solid #DFE5EC; }
	.ctar-history__table thead th { padding: 0; border: 0; }
	.ctar-history__table thead .ctar-history__sort { padding: 0.25rem 0.5rem; border: 1px solid #DFE5EC; border-radius: 999px; font-size: 0.6875rem; }
	.ctar-history__table th[aria-sort] .ctar-history__sort { border-color: var(--wp--preset--color--navy); }
}
/* Search history: the Terms reminder sits in the space to the right of the heading (below it on narrow screens). */
.ctar-history .ctar-member-head, .ctar-watch .ctar-member-head { flex-wrap: wrap; }
.ctar-history__terms { flex: 0 1 26rem; margin: 0 0 0 auto !important; padding: 0.5rem 0.75rem; background: var(--wp--preset--color--surface-alt); border-radius: 0.5rem; font-size: 0.8125rem; line-height: 1.45; color: var(--wp--preset--color--ink-muted); }
.ctar-history__terms a { color: var(--wp--preset--color--navy); font-weight: 600; }
@media (max-width: 781.98px) {
	.ctar-history__terms { flex-basis: 100%; margin-left: 0 !important; }
}

/* Watch list: an eye icon, the My account card (ahead of the search history) and the action on a search result. */
.ctar-icon--eye::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9'%3E%3Cpath d='M2 12s3.6-6.5 10-6.5S22 12 22 12s-3.6 6.5-10 6.5S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9'%3E%3Cpath d='M2 12s3.6-6.5 10-6.5S22 12 22 12s-3.6 6.5-10 6.5S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.ctar-member-account .ctar-watch { grid-column: 1 / -1; }
.ctar-watch__note, .ctar-watch__empty, .ctar-watch__full, .ctar-watch__kept, .ctar-watch__hint { margin: 0.75rem 0; font-size: 0.9375rem; color: var(--wp--preset--color--ink-muted); }
.ctar-watch__table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ctar-watch__table th { padding: 0.5rem 0.625rem; border-bottom: 1px solid #DFE5EC; font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; color: var(--wp--preset--color--navy); }
.ctar-watch__table td { padding: 0.625rem; border-bottom: 1px solid #EDF1F6; vertical-align: middle; }
.ctar-watch__muted { font-size: 0.875rem; color: var(--wp--preset--color--ink-muted); }
.ctar-watch__actions { text-align: right; }
.ctar-watch__remove, .ctar-watch-action__remove { padding: 0.375rem 0.75rem; border: 1px solid #C3CCD9; border-radius: 0.375rem; background: #fff; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--wp--preset--color--navy); cursor: pointer; }
.ctar-watch__remove:hover, .ctar-watch-action__remove:hover { border-color: var(--wp--preset--color--navy); }
.ctar-watch__add { margin-top: 1rem; }
.ctar-watch__add label { display: block; margin-bottom: 0.375rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.ctar-watch__add-row { display: flex; gap: 0.5rem; max-width: 32rem; }
.ctar-watch__add-row input { flex: 1; min-width: 0; padding: 0.625rem 0.75rem; border: 1px solid #C3CCD9; border-radius: 0.5rem; font: inherit; }
.ctar-watch__add-button, .ctar-watch-action__add { padding: 0.625rem 1.25rem; border: 0; border-radius: 0.5rem; background: var(--wp--preset--color--navy); font: inherit; font-weight: 600; color: #fff; cursor: pointer; }
.ctar-watch__add-button:hover, .ctar-watch-action__add:hover { background: var(--wp--preset--color--navy-deep); }
.ctar-watch__hint { margin: 0.375rem 0 0; font-size: 0.8125rem; }
.ctar-watch__message:empty { display: none; }
.ctar-watch__message { margin: 0.75rem 0 0; font-weight: 600; color: var(--wp--preset--color--navy); }
.ctar-watch__alerts { display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 1rem; padding-top: 0.875rem; border-top: 1px solid #EDF1F6; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.ctar-watch__alerts input { margin-top: 0.25rem; }
.ctar-watch-action { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0 0 0.9375rem; }
.ctar-watch-action__on { font-weight: 700; color: var(--wp--preset--color--band-2); }
.ctar-watch-action__full { font-size: 0.9375rem; color: var(--wp--preset--color--ink-muted); }
.ctar-watch-action__manage { font-size: 0.875rem; color: var(--wp--preset--color--navy); }
@media (max-width: 599.98px) {
	.ctar-watch__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.ctar-watch__table, .ctar-watch__table tbody, .ctar-watch__table td { display: block; }
	.ctar-watch__table tr { display: grid; grid-template-columns: auto 1fr auto; column-gap: 0.75rem; row-gap: 0.25rem; padding: 0.625rem 0; border-bottom: 1px solid #EDF1F6; }
	.ctar-watch__table td { padding: 0; border: 0; }
	.ctar-watch__table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
	.ctar-watch__table td:nth-child(3) { grid-column: 1; grid-row: 3; }
	.ctar-watch__table td:nth-child(4) { grid-column: 2; grid-row: 3; align-self: center; font-size: 0.8125rem; color: var(--wp--preset--color--ink-muted); }
	.ctar-watch__table td.ctar-watch__actions { grid-column: 3; grid-row: 1; }
}
/* Watch list add box: suggestions while typing, as on the Search page. */
.ctar-watch__combo { position: relative; flex: 1; min-width: 0; }
.ctar-watch__combo input { width: 100%; box-sizing: border-box; padding: 0.625rem 0.75rem; border: 1px solid #C3CCD9; border-radius: 0.5rem; font: inherit; }
.ctar-watch__listbox { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 0.25rem); margin: 0; padding: 0.25rem 0; list-style: none; background: #fff; border: 1px solid #C5CCD6; border-radius: 0.5rem; box-shadow: 0 0.5rem 1.5rem rgba(13, 34, 64, 0.12); max-height: 18rem; overflow-y: auto; }
.ctar-watch__option { display: grid; grid-template-columns: 4rem 1fr; gap: 0.75rem; align-items: baseline; padding: 0.5rem 0.875rem; cursor: pointer; font-size: 0.9375rem; }
.ctar-watch__option strong { color: var(--wp--preset--color--navy); }
.ctar-watch__option[aria-selected="true"], .ctar-watch__option:hover { background: var(--wp--preset--color--surface-alt); }
.ctar-watch__option--empty { grid-template-columns: 1fr; color: var(--wp--preset--color--ink-muted); cursor: default; }
.ctar-watch__option--status { display: flex; align-items: center; gap: 0.5rem; }
.ctar-spinner { display: inline-block; flex: none; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ctar-spin .7s linear infinite; }
@keyframes ctar-spin { to { transform: rotate( 360deg ); } }
@media (prefers-reduced-motion: reduce) { .ctar-spinner { animation-duration: 2s; } }

/* CTAR Pro: upgrade prompts and the pricing table. */
.ctar-account-allowance__upgrade { margin: 0.875rem 0 0; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.ctar-account-allowance__upgrade a, .ctar-watch__full a { font-weight: 600; color: var(--wp--preset--color--navy); }
.ctar-pro-notify { margin: 1rem 0 0; padding: 0.875rem 1rem; background: #F3F6FA; border: 1px solid #E1E7F0; border-radius: 0.75rem; }
.ctar-pro-notify > p { margin: 0; }
.ctar-pro-notify__lead { font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.ctar-pro-notify__action { margin-top: 0.625rem !important; }
.ctar-pro-notify__done:not(:empty) { margin-top: 0.5rem !important; font-size: 0.9375rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.ctar-pricing { max-width: 72rem; margin: 0 auto; }
.ctar-pricing__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ctar-pricing__plan { display: flex; flex-direction: column; padding: 1.75rem; background: var(--wp--preset--color--base); border: 1px solid #E1E7F0; border-radius: 0.875rem; box-shadow: 0 10px 30px rgba(13, 34, 64, 0.06); }
.ctar-pricing__plan.is-current { border: 2px solid var(--wp--preset--color--yellow); }
.ctar-pricing__plan > * { margin: 0; }
.ctar-pricing__name { font-size: 1.5rem; font-weight: 800; }
.ctar-pricing__price { margin-top: 0.5rem !important; font-family: var(--wp--preset--font-family--heading); font-size: 2rem; font-weight: 800; color: var(--wp--preset--color--navy); }
.ctar-pricing__price span { font-family: var(--wp--preset--font-family--body); font-size: 0.9375rem; font-weight: 400; color: var(--wp--preset--color--ink-muted); }
.ctar-pricing__points { margin: 1.25rem 0 0 !important; padding: 0; list-style: none; flex: 1 0 auto; }
.ctar-pricing__points li { position: relative; margin-top: 0.5rem; padding-left: 1.625rem; color: var(--wp--preset--color--navy); }
.ctar-pricing__points li::before { content: "\2713"; position: absolute; left: 0; font-weight: 700; color: var(--wp--preset--color--band-2); }
.ctar-pricing__actions { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 1.5rem !important; }
.ctar-pricing__actions > p { margin: 0; }
.ctar-pricing__button { display: block; box-sizing: border-box; padding: 0.875rem 1.25rem; border: 2px solid var(--wp--preset--color--navy); border-radius: 0.5rem; font-weight: 600; text-align: center; text-decoration: none; }
.ctar-pricing__button--primary { background: var(--wp--preset--color--yellow); border-color: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
.ctar-pricing__button--primary:hover { background: #E0B411; border-color: #E0B411; }
.ctar-pricing__button--secondary { background: var(--wp--preset--color--base); color: var(--wp--preset--color--navy); }
.ctar-pricing__saving, .ctar-pricing__manage { font-size: 0.875rem; color: var(--wp--preset--color--ink-muted); text-align: center; }
.ctar-pricing__current { padding: 0.75rem; border-radius: 0.5rem; background: var(--wp--preset--color--surface-alt); font-weight: 600; text-align: center; color: var(--wp--preset--color--navy); }
.ctar-pricing__notes { margin: 1.75rem 0 0; padding-left: 1.25rem; font-size: 0.9375rem; color: var(--wp--preset--color--ink-muted); }
.ctar-pricing__notes li { margin-top: 0.375rem; }
@media (max-width: 767.98px) {
	.ctar-pricing__plans { grid-template-columns: minmax(0, 1fr); }
}

/* CTAR Pro on My account: stacked billing lines, overdue state. */
.ctar-member-account .pmpro_list-plain.pmpro_list-with-labels { display: block; }
.ctar-member-account .pmpro_list-plain.pmpro_list-with-labels > .pmpro_list_item { width: auto; max-width: none; }
.ctar-member-account .ctar-account-overdue { padding: 0.875rem 1rem; }
/* The narrow profile card: its buttons stack at full width. */
.ctar-member-account #pmpro_account-profile .pmpro_card_actions { flex-direction: column; align-items: stretch; }
.ctar-member-account #pmpro_account-profile .pmpro_card_action, .ctar-member-account #pmpro_account-profile .pmpro_card_actions a { width: 100%; }
.ctar-member-head__status--overdue { background: #FBE7C6; color: #8A4B00; }
.ctar-account-overdue { margin: 0 0 1rem; padding: 0.875rem 1rem; border-left: 4px solid #D98C00; border-radius: 0.5rem; background: #FFF6E6; color: #5C3A00; font-size: 0.9375rem; }
.ctar-member-cancel__note { margin: 0.75rem 0 0; color: var(--wp--preset--color--ink); }
/* Paid members also have an Orders section: full width, like the watch list and history. */
.ctar-member-account #pmpro_account-orders { grid-column: 1 / -1; }
/* Narrow profile card: the email address goes under its label and wraps if long. */
.ctar-member-account #pmpro_account-profile .pmpro_list_item { display: block; }
.ctar-member-account #pmpro_account-profile .pmpro_list_item > strong, .ctar-member-account #pmpro_account-profile .pmpro_list_item > .pmpro_list_item_label { display: block; margin-bottom: 0.125rem; }
.ctar-member-account #pmpro_account-profile .pmpro_list_item { overflow-wrap: anywhere; }
.ctar-member-account .pmpro_card_content > p.ctar-account-overdue { padding: 0.875rem 1rem !important; }

/* Order history on My account. */
.ctar-orders__view { text-align: right; white-space: nowrap; }
.ctar-orders__view a { font-weight: 600; color: var(--wp--preset--color--navy); }

/* CTAR Pro billing switch on My account. */
.ctar-switch-form { margin: 0; }
.ctar-member-account .pmpro_card_actions .ctar-switch-form button { display: inline-flex; align-items: center; justify-content: center; width: 9.75rem; height: 3rem; box-sizing: border-box; padding: 0 0.5rem; border: 0; border-radius: 0.5rem; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--base); font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; cursor: pointer; }
.ctar-member-account .pmpro_card_actions .ctar-switch-form button:hover { background: var(--wp--preset--color--navy-deep); }
.ctar-switch-pending { font-weight: 400; color: var(--wp--preset--color--ink-muted); }
.ctar-member-account .pmpro_card_content > p.ctar-switch-notice { margin: 0 0 1rem; padding: 0.75rem 1rem !important; border-left: 4px solid var(--wp--preset--color--band-2); border-radius: 0.5rem; background: #E8F3EC; color: #17652F; }

/* Plan chooser: switch forms, notice, card name size for three columns. */
.ctar-pricing__form { margin: 0; }
.ctar-pricing__form .ctar-pricing__button { width: 100%; font: inherit; font-weight: 600; cursor: pointer; }
.ctar-pricing__name { font-size: 1.375rem; }
.ctar-pricing__notice { margin: 0 0 1.25rem; padding: 0.75rem 1rem; border-left: 4px solid var(--wp--preset--color--band-2); border-radius: 0.5rem; background: #E8F3EC; color: #17652F; }
@media (max-width: 959.98px) { .ctar-pricing__plans { grid-template-columns: minmax(0, 1fr); } }
/* Plan cards line up: the price note sits on its own line in every card, and the action boxes share one height. */
.ctar-pricing__price span { display: block; margin-top: 0.25rem; }
.ctar-pricing__button, .ctar-pricing__current { display: flex; align-items: center; justify-content: center; min-height: 3.25rem; box-sizing: border-box; padding: 0.5rem 1.25rem; }
.ctar-pricing__actions .ctar-pricing__saving { min-height: 2.75rem; }

/* Plan cards share their rows (subgrid), so status boxes, buttons and notes line up across the cards. */
.ctar-pricing__plans { grid-template-rows: auto; row-gap: 0; }
.ctar-pricing__plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
.ctar-pricing__plan > .ctar-pricing__points { margin-bottom: 0 !important; }
.ctar-pricing__status { margin-top: 1.5rem; }
.ctar-pricing__action { margin-top: 0.625rem; }
.ctar-pricing__status:empty, .ctar-pricing__action:empty { margin-top: 0; }
.ctar-pricing__status .ctar-pricing__current, .ctar-pricing__note .ctar-pricing__saving { margin: 0; }
.ctar-pricing__note { margin-top: 0.5rem; }
.ctar-pricing__note .ctar-pricing__saving { min-height: 0; }
@media (max-width: 959.98px) { .ctar-pricing__plans { row-gap: 1.25rem; } .ctar-pricing__plan { grid-row: auto; grid-template-rows: none; display: flex; flex-direction: column; } }

/* Explainer videos: a "▶ Watch …" line opens the video in a pop-up with the browser's own player (assets/js/video.js). */
/* A preview image that opens its video the same way: it shows the "Watch" button drawn into the preview. */
.ctar-video-thumb { position: relative; display: block; margin-top: 0.75rem; outline: 2px solid var(--wp--preset--color--navy); outline-offset: 3px; border: 1px solid #E1E7F0; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 40px rgba(13, 34, 64, 0.09); transition: box-shadow 0.15s ease, transform 0.15s ease; }
/* The preview's own CTAR header bar (the top 118 of 720 pixels) is cropped off on the page. */
.ctar-video-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 602; object-fit: cover; object-position: center bottom; }
.ctar-video-thumb:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(13, 34, 64, 0.14); }
.ctar-video-thumb:focus-visible { outline-width: 3px; }
/* A large play button in the middle of the preview. */
.ctar-video-thumb::after { content: ""; position: absolute; top: 50%; left: 50%; width: 5rem; height: 5rem; border-radius: 50%; background: rgba(13, 34, 64, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / 2.5rem no-repeat; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 10px 30px rgba(13, 34, 64, 0.35); transform: translate(-50%, -50%); transition: transform 0.15s ease; pointer-events: none; }
.ctar-video-thumb:hover::after { transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 599.98px) {
	.ctar-video-thumb::after { width: 3.75rem; height: 3.75rem; background-size: 1.875rem; }
}
/* "(Video Explainer)" after an uppercase eyebrow keeps its own case. */
.ctar-eyebrow__note { text-transform: none; letter-spacing: 0.02em; font-weight: 600; color: var(--wp--preset--color--ink-muted); }
.ctar-video-link { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin-top: 1rem !important; margin-bottom: 0 !important; font-size: 0.9375rem; }
/* Styled like the "Watch how to use CTAR" button in the video previews: yellow, navy text, a navy circle with a white play arrow. */
.ctar-video-link a { display: inline-flex; box-sizing: border-box; width: 100%; max-width: 22rem; align-items: center; gap: 0.625rem; padding: 0.5rem 1.125rem 0.5rem 0.5rem; border-radius: 0.5rem; background: var(--wp--preset--color--yellow); font-family: var(--wp--preset--font-family--heading); font-weight: 600; line-height: 1.25; color: var(--wp--preset--color--navy); text-decoration: none; transition: background-color 0.15s ease; }
.ctar-video-link a:hover { background: #E6B60F; color: var(--wp--preset--color--navy); }
.ctar-video-link a:focus-visible { outline: 2px solid var(--wp--preset--color--navy); outline-offset: 3px; }
.ctar-video-link a::before { content: ""; flex: 0 0 1.75rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--wp--preset--color--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / 0.875rem no-repeat; }
.ctar-video-dialog { width: min(960px, 92vw); max-width: none; padding: 0; border: 0; border-radius: 12px; background: #000; overflow: visible; }
.ctar-video-dialog::backdrop { background: rgba(13, 34, 64, 0.75); }
.ctar-video-dialog video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
.ctar-video-dialog__close { position: absolute; top: -2.75rem; right: 0; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: #fff; color: var(--wp--preset--color--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ctar-video-dialog__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Historical Research: the research video sits above the Summarised Findings card, beside the chart. */
.ctar-historical__side { display: flex; flex-direction: column; gap: 1.5rem; }
.ctar-historical__side > * { margin: 0 !important; }
.ctar-historical__side > .ctar-insights { flex: 1; }
.ctar-historical__video .ctar-eyebrow { margin: 0; }
/* FAQs: Understanding CTAR and Interpreting CTAR Bands side by side on wide screens; Admin and Accounts full width below. */
.wp-block-group.ctar-faq__columns { display: grid; gap: 0 2.5rem; }
.wp-block-group.ctar-faq__columns > *, .wp-block-group.ctar-faq__block > .ctar-faq__section:first-child { margin-top: 0; }
.wp-block-group.ctar-faq__columns > .ctar-faq__block + .ctar-faq__block, .wp-block-group.ctar-faq__columns + .ctar-faq__block { margin-top: 1.5rem; }
@media (min-width: 1100px) {
	.wp-block-group.ctar-faq__columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
	.wp-block-group.ctar-faq__columns > .ctar-faq__block + .ctar-faq__block { margin-top: 0; }
}
/* The research preview's play button sits in the clear space between its text and its chart, not over the chart. */
.ctar-video-thumb--research::after, .ctar-card__historical .ctar-video-thumb--research::after { left: 34.8%; top: 44%; width: min(13%, 5rem); height: auto; aspect-ratio: 1; background-size: 50%; }
/* The How to use CTAR preview's play button: smaller, in the gap between its text and its card. */
.ctar-video-thumb--howto::after { left: 44.2%; top: 48.5%; width: min(10%, 4.5rem); height: auto; aspect-ratio: 1; background-size: 50%; }
/* How CTAR Works: How to use CTAR as four boxes with arrows between them (ctar/how-to-use-steps). */
.ctar-howto { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.ctar-howto__step { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0; padding: 1.75rem 1.25rem 1.5rem; text-align: center; background: var(--wp--preset--color--surface-alt); border: 1px solid #E4E9F0; border-radius: 0.875rem; }
.ctar-howto__step + .ctar-howto__step::before { content: "\2192"; position: absolute; top: 5.25rem; left: -1.75rem; width: 1.25rem; text-align: center; font-size: 1.5rem; line-height: 1; color: #8D9AB0; }
.ctar-howto__icon { width: 4rem; height: 4rem; color: #3C4A62; }
.ctar-howto__bands { display: flex; gap: 0.375rem; height: 4rem; align-items: center; }
.ctar-howto__bands span { width: 1.625rem; height: 1.625rem; border: 2px solid #3C4A62; border-radius: 0.375rem; background: #fff; }
.ctar-howto__bands span:nth-child(2) { background: #5BB36D; }
.ctar-howto__bands span:nth-child(3) { background: #F5C842; }
.ctar-howto__bands span:nth-child(4) { background: #E5545A; }
.ctar-howto__title { margin: 1.125rem 0 0.625rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--wp--preset--color--navy); }
.ctar-howto__text { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: #41506B; }
.ctar-howto__outcome { margin: auto 0 0 !important; padding-top: 1rem; font-family: var(--wp--preset--font-family--heading); font-size: 0.9375rem; font-weight: 700; line-height: 1.35; color: var(--wp--preset--color--navy); }
/* Tablets: two by two, without arrows. Phones: one column. */
@media (max-width: 999.98px) {
	.ctar-howto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
	.ctar-howto__step + .ctar-howto__step::before { content: none; }
}
@media (max-width: 599.98px) {
	.ctar-howto { grid-template-columns: minmax(0, 1fr); }
}
/* Homepage sample: its Band 2 lines stay on one line on wider screens, shrinking a little only when needed, never below 12px (then a line wraps). */
@media (min-width: 782px) {
	.ctar-hero .ctar-card__historical > div { flex: 1 1 auto; min-width: 0; container-type: inline-size; }
	.ctar-hero .ctar-card__outcomes li { font-size: max(12px, min(14px, 3.45cqi)); }
}
/* FAQs: the Show all / Collapse all button keeps one size whichever label it shows. */
.ctar-faq__toolbar .wp-block-button__link { min-width: 8.75rem; box-sizing: border-box; text-align: center; justify-content: center; }
