/* articles-archives.css */
.news-archive--backarrow,
.videos-archive--backarrow {
    margin-top: 1rem;
}

:is(.news-single .backarrow, .news-archive--backarrow, .videos-archive--backarrow) {
    padding: 0;
}

:is(.news-single .backarrow, .news-archive--backarrow, .videos-archive--backarrow) > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.55rem 1rem 0.55rem 3.125rem;
    border-radius: inherit;
    color: #40523b;
}

:is(.news-single .backarrow, .news-archive--backarrow, .videos-archive--backarrow) > a::before {
    top: 50%;
    left: 0.875rem;
    transform: translateY(-50%);
    background-color: currentColor;
}

:is(.news-single .backarrow, .news-archive--backarrow, .videos-archive--backarrow) > a:hover {
    text-decoration: underline;
}

:is(.news-single .backarrow, .news-archive--backarrow, .videos-archive--backarrow) > a:focus-visible,
:is(.news-archive--meta, .videos-archive--meta) select:focus-visible,
.more-articles-carousel button:focus-visible {
    outline: 2px solid #40523b;
    outline-offset: 3px;
}

.col-full > :is(.news-archive--meta, .videos-archive--meta) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.content-archive-hero .db043--background {
    background: linear-gradient(0deg, rgb(0 0 0 / 68%), rgb(0 0 0 / 48%) 65%, rgb(0 0 0 / 20%));
}

.news-single :is(.ps03--name, .ps03--content) a:not([class*="button"]):not([role="button"]) {
    color: #a1361e;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

:is(.news-feed, .more-articles-carousel) .pc004--lodzenge:not(.pc004--lodzenge-category) {
    background: #40523b;
}

:is(.news-feed, .more-articles-carousel) :is(span.pc004--lodzenge.pc004--lodzenge-category, .pc004--date) {
    color: #40523b;
}

.more-articles-carousel {
    padding-block-end: 1.5rem;
}

.more-articles-carousel .mySwiper--buttons button {
    min-width: 44px;
    min-height: 44px;
}

.more-articles-carousel swiper-container::part(pagination) {
    position: static;
    padding-block-start: 0.5rem;
}

.swiper-half-contained--titlearea > .more-articles-title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h1.db043--text-title.section-hub--title {
    margin: 0;
    color: white;
    font-family: 'Amiri';
    font-size: 70px;
    line-height: 48px;
    text-align: left;
    text-transform: uppercase;
    bottom: 9px;
    position: relative;
}

@media screen and (max-width: 767px) {
    .news-single .ps03--header__title-wrapper {
        border-inline-start: 4px solid var(--detail);
        padding-inline-start: 0.75rem;
    }

    .news-single .ps03--title {
        font-size: clamp(1.625rem, calc(10vw - 6px), 2rem);
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

    .news-single .ps03--title::before {
        content: none;
    }

    .more-articles-carousel .swiper-half-contained--header {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        padding-bottom: 0.75rem;
    }

    h1.db043--text-title.section-hub--title {
        font-size: 30px;
        line-height: 28.8px;
        bottom: 10px;
    }
}

/* back-to-menu.css */
/* SABREENLY: "Back to the menu" button above the footer search bar */
.sab-back-to-menu { text-align: center; padding: 40px 16px; background: #fff; }
.sab-back-to-menu .sab-back-to-menu__button { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; line-height: 1.2; padding: 14px 28px; border-radius: 8px; background: #b5441c; color: #fff; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.sab-back-to-menu .sab-back-to-menu__button span { font-size: 1.25rem; line-height: 1; }
.sab-back-to-menu .sab-back-to-menu__button:hover, .sab-back-to-menu .sab-back-to-menu__button:focus { background: #8f3415; color: #fff; text-decoration: none; outline: 3px solid #1b1b1b; outline-offset: 2px; }
@media (max-width: 600px) { .sab-back-to-menu { padding: 32px 18px; } }

/* coaching-hero.css */
/* Owner decision 26 Nov 2026: longer headings on the two coaching pages.
   On phones the narrow hero is a fixed 2.5:1 box, so a four-line heading filled it and
   touched the top edge. Give these two heroes a little more height on phones only. */
@media screen and (max-width: 767px) {
	body.page-id-8254 .acfpb--multihero--height--Narrow,
	body.page-id-7138 .acfpb--multihero--height--Narrow {
		aspect-ratio: 1.9;
	}
}

/* consent-ticks.css */
/* SABREENLY consent ticks on Mailchimp forms (26 Nov 2026) */
.sabreenly-consent { display: grid; gap: 10px; margin: 12px 0 4px; grid-column: 1 / -1; text-align: start; }
.sabreenly-consent label.sabreenly-consent-tick,
.sabreenly-consent label.sabreenly-research-permission { display: flex !important; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 16px; line-height: 1.45; margin: 0; }
.sabreenly-consent label > input[type="checkbox"] { flex: 0 0 auto; width: 20px !important; height: 20px; min-width: 0; margin: 2px 0 0 !important; accent-color: #4c5539; }
.sabreenly-consent .sabreenly-consent-smallprint { font-size: 14px; line-height: 1.45; margin: 0; }
.sabreenly-consent a { text-decoration: underline; }
/* Match body text and make all three tick boxes the same size, whatever the theme label rules say */
html body .sabreenly-consent label.sabreenly-consent-tick,
html body .sabreenly-consent label.sabreenly-research-permission,
html body .sabreenly-consent label span { font-family: inherit !important; font-size: 16px !important; letter-spacing: normal !important; text-transform: none !important; }
html body .sabreenly-consent label > input[type="checkbox"] { width: 20px !important; height: 20px !important; min-width: 20px !important; }

/* footer-columns.css */
/* SABREENLY: six footer columns (adds About us) */
@media screen and (min-width: 768px) {
  .custom-footer .custom-footer--grid { grid-template-columns: 38px repeat(6, minmax(0, 1fr)); grid-gap: 28px; }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .custom-footer .custom-footer--grid { grid-template-columns: 38px repeat(3, minmax(0, 1fr)); grid-gap: 32px 28px; }
  .custom-footer .custom-footer--one { grid-row: span 2; }
}

/* footer-search.css */
/* SABREENLY: search bar above the footer */
.sab-footer-search { background: #eef1e8; border-top: 1px solid #d9dfcd; border-bottom: 1px solid #d9dfcd; padding: 40px 20px; }
.sab-footer-search__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.sab-footer-search .sab-footer-search__title { font-size: 1.6rem; line-height: 1.25; margin: 0 0 18px; color: #1b1b1b; font-weight: 700; }
.sab-footer-search .sab-footer-search__lead { font-size: 1.05rem; margin: 0 0 18px; color: #1b1b1b; }
.sab-footer-search__form { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; }
.sab-footer-search .sab-footer-search__input { flex: 1 1 auto; min-width: 0; font-size: 1.1rem; padding: 14px 16px; border: 2px solid #4a5a3a; border-radius: 8px; background: #fff; color: #1b1b1b; }
.sab-footer-search .sab-footer-search__input:focus { outline: 3px solid #1b1b1b; outline-offset: 2px; }
.sab-footer-search .sab-footer-search__button { flex: 0 0 auto; font-size: 1.1rem; font-weight: 700; padding: 14px 26px; border: 0; border-radius: 8px; background: #4a5a3a; color: #fff; cursor: pointer; }
.sab-footer-search .sab-footer-search__button:hover, .sab-footer-search .sab-footer-search__button:focus { background: #2f3a24; outline: 3px solid #1b1b1b; outline-offset: 2px; }
@media (max-width: 600px) {
  .sab-footer-search { padding: 32px 18px; }
  .sab-footer-search .sab-footer-search__title { font-size: 1.45rem; }
  .sab-footer-search__form { flex-direction: column; }
  .sab-footer-search .sab-footer-search__button { width: 100%; padding: 16px; }
}

/* gym-finder.css */
/* SABREENLY Gym Finder (30 Nov 2026). Goes with modules/gym-finder.php. */
.sab-gf { text-align: left; }
.sab-gf .sab-gf__form { display: block; }
.sab-gf .sab-gf__form > * { flex: none; }
.sab-gf__row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; align-items: center; }
.sab-gf__row > * { min-width: 0; }
.sab-gf__q {
	flex: 3 1 280px;
	font-size: 16px;
	padding: 12px 14px;
	border: 1px solid var(--mid-border, #cfcfcf);
	border-radius: 5px;
	background: #fff;
	color: #222;
}
.sab-gf .sab-gf__go { flex: 1 1 150px; width: auto; font-size: 16px; padding: 12px 20px; border-radius: 5px; background-color: #6d7b4b; color: #fff; border: 1px solid #6d7b4b; cursor: pointer; }
.sab-gf .sab-gf__go:hover, .sab-gf .sab-gf__go:focus-visible { background-color: #57633b; }
.sab-gf .sab-gf__btn {
	flex: 1 1 150px;
	font-size: 16px;
	padding: 12px 20px;
	border-radius: 5px;
	background: #fff;
	color: #3b4226;
	border: 1px solid #6d7b4b;
	cursor: pointer;
}
.sab-gf .sab-gf__btn:hover, .sab-gf .sab-gf__btn:focus-visible { background: #f1f3ea; }
.sab-gf__row--selects select { flex: 1 1 200px; font-size: 15px; padding: 11px 10px; background-color: #fff; color: #222; }
.sab-gf__row--radius { gap: 8px; }
.sab-gf__label { font-size: 15px; color: #444; margin-right: 2px; }
.sab-gf__row--radius button {
	font-size: 14px;
	line-height: 1.2;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid #b9bfa6;
	background: #fff;
	color: #3b4226;
	cursor: pointer;
}
.sab-gf__row--radius button.is-on { background: #6d7b4b; border-color: #6d7b4b; color: #fff; }
.sab-gf__units { display: inline-flex; gap: 4px; margin-left: 8px; }
.sab-gf__row--radius .sab-gf__reset { border-color: transparent; text-decoration: underline; background: transparent; margin-left: auto; }
.sab-gf__status { font-size: 15px; color: #444; margin: 4px 0 0; }
.sab-gf__credit { font-size: 12px; color: #666; margin: 6px 0 0; }
.sab-gf__credit a { color: inherit; }
.gyms-feed .sab-gf__group {
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #555;
	margin: 18px 0 -6px;
	padding: 0 0 6px;
	border-bottom: 1px solid #e3e5dc;
}
.gyms-feed .sab-gf__group:first-child { margin-top: 0; }
.gyms-feed article.gyms[hidden] { display: none !important; }
.sab-gf__dist { font-weight: 600; color: #3b4226; }
.sab-gf__empty { padding: 20px 0; font-size: 16px; }
@media (max-width: 767px) {
	.sab-gf__q, .sab-gf .sab-gf__go, .sab-gf .sab-gf__btn, .sab-gf__row--selects select { flex: 1 1 100%; }
	.sab-gf__row--radius .sab-gf__reset { margin-left: 0; }
}

.sab-gf [hidden], .sab-gf__empty[hidden] { display: none !important; }
.sab-gf .sab-gf__row--search .sab-gf__q { min-height: 40px; height: auto; box-sizing: border-box; align-self: stretch; }

/* Gym card image at one third of its previous size (30 Nov 2026). Desktop and tablet only; phones unchanged.
   Undo: delete this block. */
@media screen and (min-width: 768px) {
	article .gyms-card--container .gyms-card { grid-template-columns: minmax(0, 1fr) minmax(0, 8fr); align-items: start; }
	article .gyms-card--container .gyms-card .gyms-card--image { height: auto; aspect-ratio: 1; align-self: start; }
}

/* listings-phone.css */
/* SABREENLY: Find a Provider and Female-Only Gyms on phones (keeps the agreed two-column filters) */
@media (max-width: 600px) {
  .category-description-container .category-description--attention,
  .category-description-container .category-description--attention p { text-align: left !important; justify-self: start !important; margin-left: 0 !important; }
  .gyms-archive--form select { font-size: 16px !important; }
  .experts-archive--no-results p, .gyms-archive--no-results p { font-size: 1.1rem; }
}

/* mobile-popups-forms.css */
/* SABREENLY phone fixes for pop-ups, forms and small links (29 Nov 2026).
   Found by testing all 104 pages and every pop-up at phone sizes.
   1. Contact form pop-up: fields ran off the right edge on phones.
   2. Coaching, Become A Coach and Research pop-ups: Mailchimp's Arial font,
      11px "indicates required" text, a repeated "Subscribe" heading, a close X
      that scrolled away, and small fields and button.
   3. Cookie panel: 11px "Some Functions Will Not Work" note.
   4. Cookie bar: takes too much of very short screens.
   5. Links in lists, citations and source links were under 24px tall to tap.
      Extra tap area is added with padding that does not move any layout.
   Delete this file to undo. */

/* 1. Contact form pop-up (Contact Form 7) */
html body #modal-cta .wpcf7 input.wpcf7-form-control:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html body #modal-cta .wpcf7 select,
html body #modal-cta .wpcf7 textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}
html body #modal-cta .cf7--grid > div {
	min-width: 0 !important;
}
@media screen and (max-width: 767px) {
	html body #modal-cta .modal-dialog {
		margin: 8px !important;
	}
	html body #modal-cta .wpcf7 input.wpcf7-form-control:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
	html body #modal-cta .wpcf7 select,
	html body #modal-cta .wpcf7 textarea {
		font-size: 16px !important; /* stops iPhone zooming in */
		min-height: 44px !important;
		padding: 8px 10px !important;
	}
	html body #modal-cta .wpcf7 textarea {
		height: 140px !important;
	}
	html body #modal-cta .wpcf7 input[type="submit"] {
		width: 100% !important;
		min-height: 48px !important;
	}
	html body #modal-cta .wpcf7 p {
		margin-bottom: 4px !important;
	}
}

/* 2. Coaching, Become A Coach and Research Mailchimp pop-ups */
html body .modal--fullscreen-middle #mc_embed_signup,
html body .modal--fullscreen-middle #mc_embed_signup label,
html body .modal--fullscreen-middle #mc_embed_signup .sabreenly-consent label span,
html body .modal--fullscreen-middle #mc_embed_signup .indicates-required,
html body .modal--fullscreen-middle #mc_embed_signup input {
	font-family: inherit !important;
}
html body .modal--fullscreen-middle #mc_embed_signup .indicates-required {
	font-size: 13px !important;
}
@media screen and (max-width: 767px), screen and (max-height: 760px) {
	html body .modal--fullscreen-middle > .custom-close-btn {
		position: fixed !important;
		top: 8px !important;
		right: 8px !important;
		z-index: 1065 !important;
		background: #fff !important;
		border-radius: 50% !important;
	}
}
@media screen and (max-width: 767px) {
	html body .modal--fullscreen-middle .modal--fullscreen-middle--inner {
		padding-top: 48px !important;
		padding-bottom: 96px !important; /* room for the chat button */
	}
	html body .modal--fullscreen-middle .modal--fullscreen-middle--inner > h2 {
		font-size: 26px !important;
		line-height: 1.2 !important;
		padding-right: 52px !important; /* keeps clear of the X */
		margin-bottom: 6px !important;
	}
	/* The extra "Subscribe" heading repeats the button, so hide it on phones */
	html body .modal--fullscreen-middle #mc_embed_signup_scroll > h2 {
		display: none !important;
	}
	html body .modal--fullscreen-middle #mc_embed_signup .indicates-required {
		text-align: left !important;
		margin: 0 0 6px !important;
	}
	html body .modal--fullscreen-middle #mc_embed_signup .mc-field-group {
		padding-bottom: 10px !important;
		min-height: 0 !important;
		width: 100% !important;
	}
	html body .modal--fullscreen-middle #mc_embed_signup .mc-field-group label {
		font-size: 15px !important;
		line-height: 1.3 !important;
		margin: 0 0 4px !important;
	}
	html body .modal--fullscreen-middle #mc_embed_signup .mc-field-group input {
		width: 100% !important;
		min-height: 44px !important;
		font-size: 16px !important;
	}
	html body .modal--fullscreen-middle .sabreenly-consent label,
	html body .modal--fullscreen-middle .sabreenly-consent label span {
		font-size: 15px !important;
		line-height: 1.4 !important;
	}
	html body .modal--fullscreen-middle #mc_embed_signup .clear input[type="submit"] {
		width: 100% !important;
		min-height: 48px !important;
		margin: 14px 0 0 !important;
	}
}
/* Phones turned sideways: smaller heading so the form starts sooner */
@media screen and (max-height: 500px) {
	html body .modal--fullscreen-middle .modal--fullscreen-middle--inner > h2 {
		font-size: 30px !important;
		line-height: 1.2 !important;
		padding-right: 52px !important;
	}
	html body .modal--fullscreen-middle #mc_embed_signup_scroll > h2 {
		display: none !important;
	}
	html body .modal--fullscreen-middle #mc_embed_signup .mc-field-group input {
		font-size: 16px !important;
	}
}

/* 3. Cookie panel note */
html body .gdpr-notice--functional-disabled {
	font-size: 13px !important;
}

/* 4. Cookie bar on very short screens (small phones, landscape) */
@media screen and (max-height: 560px) {
	html body #gdpr-footer-settings .gdpr-footer--container {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
		gap: 6px !important;
	}
	html body #gdpr-footer-settings .gdpr-footer--text {
		font-size: 13px !important;
		line-height: 1.35 !important;
	}
	html body #gdpr-footer-settings .btn--gdpr {
		min-height: 40px !important;
		padding-top: 6px !important;
		padding-bottom: 6px !important;
	}
}

/* 5. Bigger tap area for small text links in lists on phones, without
   moving layout (padding on inline links does not change line height) */
@media screen and (max-width: 767px) {
	html body .col-full ul:not([class]) > li:not([class]) > a:not([class]),
	html body .col-full ol:not([class]) > li:not([class]) > a:not([class]),
	html body .col-full .wp-block-list > li > a:not([class]),
	html body .acfpb--featured--repeater-item > a.acfpb--featured--link,
	html body .col-full dd > a:not([class]),
	html body .col-full cite > a:not([class]),
	html body .page_item > a {
		padding-top: 6px;
		padding-bottom: 6px;
	}
	html body .sgl-cite > a {
		padding: 8px 10px;
		margin: 0 -10px;
	}
}

/* 6. Keep the close X in view while scrolling long pop-ups on phones */
@media screen and (max-width: 767px), screen and (max-height: 560px) {
	html body #modal-cta .modal--close {
		position: fixed !important;
		top: 10px !important;
		right: 10px !important;
		z-index: 1065 !important;
		background-color: #fff !important;
		border-radius: 50% !important;
	}
}
@media screen and (max-height: 560px) {
	html body #gdprSettingsModal .modal-header .btn-close,
	html body #gdprSettingsModal [data-bs-dismiss="modal"]:not(.btn--gdpr) {
		position: fixed !important;
		top: 10px !important;
		right: 10px !important;
		z-index: 1065 !important;
		background-color: #fff !important;
		border-radius: 50% !important;
	}
}

/* 7. All Mailchimp forms: readable "required" note, no iPhone zoom */
html body #mc_embed_signup .indicates-required {
	font-size: 13px !important;
}
@media (pointer: coarse) {
	html body #mc_embed_signup input[type="email"],
	html body #mc_embed_signup input[type="text"],
	html body #mc_embed_signup input[type="tel"] {
		font-size: 16px !important;
	}
}

/* 8. Phone menu: the links scrolled inside a small strip above the search
   and social links, so on small phones Your Body, Opportunities, Med-Ed,
   About and Pro-services looked missing. Now the whole menu scrolls as one,
   with the MENU title and close X kept at the top. */
@media screen and (max-width: 767px), screen and (orientation: landscape) and (max-height: 500px) {
	html body #modal-offcanvas.offcanvas {
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
	}
	html body #modal-offcanvas .offcanvas-body {
		flex: 0 0 auto !important;
		overflow: visible !important;
		height: auto !important;
	}
	html body #modal-offcanvas .offcanvas-footer {
		flex: 0 0 auto !important;
		padding-bottom: 24px !important;
	}
	html body #modal-offcanvas .offcanvas-header {
		position: sticky !important;
		top: 0 !important;
		z-index: 3 !important;
		background-color: #fff !important;
	}
}

/* 9. Phones turned sideways: the full desktop header stayed fixed and
   covered about two thirds of the screen. Use the phone menu button instead
   of the full menu row so the header is about half the height. */
@media screen and (orientation: landscape) and (max-height: 500px) {
	html body #masthead .menu-top.desktop--only {
		display: none !important;
	}
	html body #masthead .masthead-grid {
		grid-template-columns: minmax(200px, 300px) 1fr auto auto !important;
		grid-template-areas: "logocustom . group burger" !important;
		align-items: center !important;
		column-gap: 16px !important;
	}
	html body #masthead .multipanel--toggle.mobile--only {
		display: block !important;
		grid-area: burger !important;
	}
}

/* mobile-sweep.css */
/* Phone sweep 26 Nov 2026 (138 pages checked at 390px).
   No page scrolls sideways and no words spill out of their boxes.
   This file raises small text to at least 14px and makes small tap targets easier to press.
   Phones and small tablets only, so the desktop layout is unchanged. */
@media screen and (max-width: 767px) {

	/* Black strap line above the header ("Sustainable Weight Loss ...") was 12px */
	.above-header-sidebar-inner p {
		font-size: 14px !important;
		line-height: 1.3 !important;
	}

	/* Cookie bar: text and buttons were 11.5 to 12.5px on phones */
	#gdpr-footer-settings#gdpr-footer-settings .gdpr-footer--text,
	#gdpr-footer-settings#gdpr-footer-settings .gdpr-footer--container > span {
		font-size: 14px !important;
		line-height: 1.35 !important;
	}
	#gdpr-footer-settings#gdpr-footer-settings .btn--gdpr--settings,
	#gdpr-footer-settings#gdpr-footer-settings .gdpr-footer--actions .btn--gdpr--reject,
	#gdpr-footer-settings#gdpr-footer-settings .gdpr-footer--actions .btn--gdpr--accept {
		font-size: 14px !important;
		min-height: 42px !important;
	}

	/* Small labels and captions found on cards, calculators and notes (12 to 13.9px) */
	.download-card-desc,
	.download-card--lodzenge-item,
	.videos-card--lodzenge-item,
	.button--asterix--desc,
	.sbr-kick,
	.sbr-src,
	.sbr-src a,
	.sbr-src strong,
	.sbr-field small,
	.sbr-n,
	.sbr-step,
	.card028--job-title,
	.sab-dow,
	.sab-tag,
	.pricing-table--disclaimer .sml,
	blockquote cite,
	blockquote cite a,
	.entry-content p small {
		font-size: 14px !important;
	}

	/* Tap targets: search button was 25x26, country button 30 high, footer section headings 26 high,
	   "Read more" arrow links 26 high, tick boxes 18 to 20px */
	.search--rounded--icon {
		min-width: 44px;
		min-height: 44px;
		place-items: center;
	}
	.de005--country-select__button {
		min-height: 40px;
	}
	.footer-accordion--header {
		padding-top: 9px !important;
		padding-bottom: 9px !important;
	}
	a.button--arrow4 {
		padding-top: 9px;
		padding-bottom: 9px;
	}
	/* Tick-box wording on forms (Amiri at 14.4px reads small) */
	.wpcf7-list-item-label {
		font-size: 16px !important;
		line-height: 1.4 !important;
	}
	input[type="checkbox"],
	input[type="radio"] {
		width: 24px;
		height: 24px;
	}
}

/* Mind Check, Soul Check, Body Check, Check and Reflect and Introducer Partner Programme:
   the tool block added its own top padding on top of the page padding, leaving a large
   empty band under the header (about 140px on desktop). Remove the extra padding only. */
.page-template--fullwidth .col-full > .sbr-x.sbr-top:first-child {
	padding-top: 0 !important;
}

/* Coaching banner: white heading on a light photo measured about 2.7:1. Darken the photo shade
   from 20% to 45% so the heading passes the 3:1 minimum for large text. Same image, same colours. */
body.page-id-8254 .acfpb--multihero--overlay {
	background-color: rgba(0, 0, 0, 0.45) !important;
}

/* newsletter-modal-phone.css */
/* SABREENLY "Join Our Newsletter" Mailchimp pop-up on phones (29 Nov 2026).
   The theme centres this full-screen pop-up with flexbox, so on phones and short
   screens the top (heading and close X) was pushed off screen and could not be
   reached, and the form was long and loosely spaced.
   This file starts the pop-up at the top, lets it scroll, keeps the close X
   visible, tightens spacing and makes the text match the site.
   Desktop layout on normal screens is unchanged. Delete this file to undo. */

/* Phones, small tablets and short screens */
@media screen and (max-width: 767px), screen and (max-height: 760px) {
	html body #contactFullscreenModal .custom-contact-body {
		display: block !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		padding: 56px 20px 96px !important; /* room for the X and the chat button */
	}
	html body #contactFullscreenModal .mailchimp-subscribe-form-target,
	html body #contactFullscreenModal #mc_embed_shell,
	html body #contactFullscreenModal #mc_embed_signup {
		width: 100% !important;
		max-width: 600px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	html body #contactFullscreenModal .custom-close-btn {
		position: fixed !important;
		top: 8px !important;
		right: 8px !important;
		z-index: 20 !important;
		background: #fff !important;
		border-radius: 50% !important;
	}
}

@media screen and (max-width: 767px) {
	html body #contactFullscreenModal #contactFullscreenModalLabel {
		font-size: 26px !important;
		line-height: 1.2 !important;
		margin: 0 0 4px !important;
		text-align: left !important;
	}
	html body #contactFullscreenModal .custom-contact-body > p {
		font-size: 15px !important;
		line-height: 1.4 !important;
		margin: 0 0 12px !important;
		padding: 0 !important;
		text-align: left !important;
	}
	/* Same font as the rest of the site, not Mailchimp's Arial */
	html body #contactFullscreenModal #mc_embed_signup,
	html body #contactFullscreenModal #mc_embed_signup label,
	html body #contactFullscreenModal #mc_embed_signup .sabreenly-consent label,
	html body #contactFullscreenModal #mc_embed_signup .sabreenly-consent label span,
	html body #contactFullscreenModal #mc_embed_signup .indicates-required {
		font-family: inherit !important;
	}
	/* The extra "Subscribe" heading repeats the button, so hide it on phones */
	html body #contactFullscreenModal #mc_embed_signup_scroll > h2 {
		display: none !important;
	}
	html body #contactFullscreenModal #mc_embed_signup .indicates-required {
		text-align: left !important;
		margin: 0 0 6px !important;
		font-size: 13px !important;
	}
	html body #contactFullscreenModal #mc_embed_signup .mc-field-group {
		padding-bottom: 10px !important;
		min-height: 0 !important;
		width: 100% !important;
	}
	html body #contactFullscreenModal #mc_embed_signup .mc-field-group label {
		font-size: 15px !important;
		line-height: 1.3 !important;
		margin: 0 0 4px !important;
		padding: 0 !important;
	}
	html body #contactFullscreenModal #mc_embed_signup .mc-field-group input {
		width: 100% !important;
		min-height: 44px !important;
		font-size: 16px !important; /* stops iPhone zooming in */
	}
	html body #contactFullscreenModal .sabreenly-consent {
		gap: 8px !important;
		margin: 6px 0 0 !important;
	}
	html body #contactFullscreenModal .sabreenly-consent label.sabreenly-consent-tick,
	html body #contactFullscreenModal .sabreenly-consent label.sabreenly-research-permission,
	html body #contactFullscreenModal .sabreenly-consent label span {
		font-size: 15px !important;
		line-height: 1.4 !important;
	}
	html body #contactFullscreenModal #mc_embed_signup #mce-responses {
		margin: 0 !important;
		padding: 0 !important;
	}
	html body #contactFullscreenModal #mc_embed_signup .clear input[type="submit"] {
		width: 100% !important;
		min-height: 48px !important;
		margin: 14px 0 0 !important;
	}
}

/* partners-strip.css */
/* SABREENLY homepage partners strip (sits under the newsletter ribbon) */
.sab-partners{background:#fff;border:1px solid #ecebf0;border-radius:20px;padding:26px 30px 28px;margin-top:-28px}
.sab-partners .sab-partners__title{margin:0!important;padding:0;font-family:Amiri,serif;font-weight:100;font-size:30px;line-height:36px;color:#454545;margin:0;letter-spacing:.02em}
.sab-partners .sab-partners__sub{margin:6px 0 20px!important;padding:0!important;font-family:Mada,sans-serif;font-size:16px;color:#454545;margin:4px 0 20px;text-transform:uppercase}
.sab-partners__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:16px;align-items:center}
.sab-partners__tile{display:flex;align-items:center;justify-content:center;height:130px;padding:14px;background:#fff;border:1px solid #e7e5ec;border-radius:12px;transition:box-shadow .2s,border-color .2s}
.sab-partners__tile:hover,.sab-partners__tile:focus-visible{border-color:#6d7b4b;box-shadow:0 4px 14px rgba(0,0,0,.06)}
.sab-partners__tile img{max-width:100%;max-height:96px;width:auto;height:auto;object-fit:contain}
.sab-partners__more{display:flex;justify-content:center;padding-left:4px}
.sab-partners .sab-partners__btn{font-size:15px;padding:9px 16px;white-space:nowrap}
@media (max-width:991px){.sab-partners__grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sab-partners__more{grid-column:1/-1;justify-content:flex-start;padding:4px 0 0}}
@media (max-width:767px){.sab-partners{padding:22px 18px;margin-top:-20px}.sab-partners .sab-partners__title{margin:0!important;padding:0;font-size:26px;line-height:32px}.sab-partners .sab-partners__sub{margin:6px 0 20px!important;padding:0!important;font-size:15px}.sab-partners__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sab-partners__tile{height:104px;padding:10px}.sab-partners__tile img{max-height:76px}}
.sab-partners__item{min-width:0}
.sab-partners__item .sab-partners__tile{width:100%}
.sab-partners .sab-partners__join{margin-top:18px;font-family:Mada,sans-serif;font-size:17px;color:#454545}
.sab-partners .sab-partners__join a{color:#6d7b4b;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.sab-partners .sab-partners__join a:hover,.sab-partners .sab-partners__join a:focus-visible{color:#454545}
@media (max-width:767px){.sab-partners .sab-partners__join{font-size:16px;margin-top:14px}}
/* Phones: partner logos two per row at half size */
@media (max-width:767px){.sab-partners__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sab-partners__tile{height:auto;padding:6px}.sab-partners__tile img{width:100%;max-width:148px;max-height:none;height:auto}}

/* policy-accessibility.css */
/* Policy pages & accessibility fixes (SABREENLY) */

/* 1. Fullwidth policy page title (rendered when post content has no <h1>) */
.page-template--fullwidth .page-template--fullwidth-title {
    margin: 0 0 var(--title-gap, 20px);
    color: var(--title, #454545);
    line-height: 1.2;
}

/* Clear the floating desktop header on non-WooCommerce fullwidth pages and Partners Page Disclaimer (ID 9374) */
@media (min-width: 992px) {
    body.page-template-template-fullwidth:not(.woocommerce-page) .page-template--fullwidth {
        padding-top: calc(var(--height-standard, 50px) + 115px);
    }

    body.page-id-9374 .acfpb--narrow-text {
        padding-top: calc(var(--height-standard, 50px) + 115px);
    }
}

/* 6. Section Hub (.section-hub) desktop and responsive styling */
.section-hub--header {
    margin: var(--height-half, 25px) 0 0;
}

.section-hub--header .category-description--content {
    max-width: 78ch;
    color: var(--content, #454545);
}

.section-hub--meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: var(--height-half, 25px) 0 var(--height-standard, 50px);
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e3e5;
}

.section-hub--post-types {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.section-hub--categories {
    margin-left: auto;
}

.section-hub--categories select.postform {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 16px;
    color: var(--content, #454545);
    background-color: var(--background, #ffffff);
    border: 1px solid var(--mid-border, #c2c2c2);
    border-radius: 6px;
    max-width: 100%;
}

.section-hub--grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 0 0 var(--height-standard, 50px);
}

.section-hub--card {
    display: flex;
    flex-direction: column;
    background: var(--background, #ffffff);
    border: 1px solid #e2e3e5;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-hub--card:hover,
.section-hub--card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.section-hub--card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.section-hub--card-link:focus-visible {
    outline: 2px solid var(--button-background, #6d7b4b);
    outline-offset: -2px;
}

.section-hub--card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--background-subtle, #f8f8f7);
}

.section-hub--card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.section-hub--card-type {
    display: inline-block;
    align-self: flex-start;
    margin: 18px 20px 0;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 4px;
    background: var(--background-subtle, #f8f8f7);
    color: var(--button-hover-background, #5f6b41);
    border: 1px solid #d9dccf;
}

.section-hub--card-title {
    margin: 12px 20px 10px;
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--title, #454545);
}

.section-hub--card-excerpt {
    margin: 0 20px 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--content, #454545);
}

.section-hub--no-results {
    padding: 40px 24px;
    margin: 0 0 var(--height-standard, 50px);
    background: var(--background-subtle, #f8f8f7);
    border: 1px solid #e2e3e5;
    border-radius: 10px;
    text-align: center;
    color: var(--content, #454545);
}

@media screen and (max-width: 1024px) {
    .section-hub--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media screen and (max-width: 640px) {
    .section-hub--meta {
        flex-direction: column;
        align-items: stretch;
    }

    .section-hub--categories {
        margin-left: 0;
    }

    .section-hub--categories select.postform {
        width: 100%;
    }

    .section-hub--grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* popup-subscribe-phone.css */
/* SABREENLY subscribe pop-up on phones (29 Nov 2026).
   The theme pop-up was taller than most phone screens and could not scroll,
   so the close X and the bottom of the form were cut off.
   This file: hides the photo on phones, tightens spacing, puts Subscribe
   under the tick boxes, and lets the pop-up scroll on short screens.
   Desktop layout is unchanged. Delete this file to undo. */

/* Phones and small tablets in portrait */
@media screen and (max-width: 767px) {
	html body #popupsubscribemodal .modal-dialog.subscribe-modal-dialog {
		height: auto !important;
		min-height: 100% !important;
		max-width: calc(100% - 24px) !important;
		margin: 0 auto !important;
		padding: 12px 0 !important;
		overflow: visible !important;
		align-content: center !important;
	}
	html body #popupsubscribemodal .subscribe-modal-content {
		border-radius: 6px;
	}
	html body #popupsubscribemodal .popup-subscribe-modal-image {
		display: none !important;
	}
	html body #popupsubscribemodal .popup-subscribe-modal-text {
		padding: 18px 16px 16px !important;
	}
	html body #popupsubscribemodal .popup-subscribe-title {
		font-size: 24px !important;
		line-height: 1.2 !important;
		margin: 0 36px 8px 0 !important;
	}
	html body #popupsubscribemodal .popup-subscribe-p {
		font-size: 15px !important;
		line-height: 1.45 !important;
		margin: 0 0 4px !important;
	}
	html body #popupsubscribemodal .inline-mailchimp {
		margin-top: 8px !important;
	}
	/* Email box, then tick boxes, then Subscribe */
	html body #popupsubscribemodal .inline-mailchimp form.validate {
		display: flex !important;
		flex-direction: column !important;
	}
	html body #popupsubscribemodal .popup-subscribe-fields {
		display: contents !important;
	}
	html body #popupsubscribemodal .popup-subscribe-fields input[type="email"] {
		order: 1;
		width: 100% !important;
		min-height: 44px;
		font-size: 16px !important; /* stops iPhone zooming in */
	}
	html body #popupsubscribemodal .sabreenly-consent {
		order: 2;
		gap: 8px !important;
		margin: 12px 0 0 !important;
	}
	html body #popupsubscribemodal .sabreenly-consent label.sabreenly-consent-tick,
	html body #popupsubscribemodal .sabreenly-consent label.sabreenly-research-permission,
	html body #popupsubscribemodal .sabreenly-consent label span {
		font-size: 15px !important;
		line-height: 1.4 !important;
	}
	html body #popupsubscribemodal .sabreenly-consent .sabreenly-consent-smallprint {
		font-size: 14px !important;
	}
	html body #popupsubscribemodal .popup-subscribe-fields input[type="submit"] {
		order: 3;
		width: 100% !important;
		min-height: 44px;
		margin-top: 14px !important;
	}
	html body #popupsubscribemodal .modal--close {
		top: 8px !important;
		right: 8px !important;
		width: 40px !important;
		height: 40px !important;
	}
}

/* Very small phones (iPhone SE first generation and similar) */
@media screen and (max-width: 360px) {
	html body #popupsubscribemodal .popup-subscribe-title {
		font-size: 22px !important;
	}
	html body #popupsubscribemodal .popup-subscribe-modal-text {
		padding: 16px 14px 14px !important;
	}
}

/* Phones turned sideways and other short screens: let the pop-up scroll */
@media screen and (max-height: 600px) {
	html body #popupsubscribemodal .modal-dialog.subscribe-modal-dialog {
		height: auto !important;
		min-height: 100% !important;
		padding: 12px 0 !important;
		overflow: visible !important;
	}
	html body #popupsubscribemodal .popup-subscribe-modal-text {
		padding: 18px 20px 16px !important;
	}
	html body #popupsubscribemodal .popup-subscribe-title {
		margin-right: 36px !important;
	}
}

/* privacy-fonts.css */
/* Cormorant Garamond 500 (latin-ext) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond 500 (latin) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond 600 (latin-ext) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond 600 (latin) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond 700 (latin-ext) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond 700 (latin) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jost 400 (latin-ext) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Jost 400 (latin) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jost 500 (latin-ext) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Jost 500 (latin) - SIL Open Font License 1.1 */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/privacy-fonts/fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   SABREENLY Cookie Bar & Preference Modals (brand-aligned, compact, accessible)
   ========================================================================== */

#gdpr-footer-settings {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990 !important; /* Below mobile menus (1000+), offcanvas (1045), modals (1055) */
    background-color: #FFFFFF;
    border-top: 1px solid #D3D8C4;
    box-shadow: 0 -4px 18px rgba(43, 47, 36, 0.10);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    text-align: left;
    color: #2B2F24;
    font-family: 'Mada', sans-serif;
}

/* Never cover open phone menus, offcanvas drawers, or modals */
body:has(.offcanvas.show, .offcanvas.showing, .minimal--mobile-menu.is-active, .modal.show) #gdpr-footer-settings,
body.gdpr-nav-open #gdpr-footer-settings {
    display: none !important;
}

#gdpr-footer-settings .gdpr-footer--container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 14px;
}

#gdpr-footer-settings .gdpr-footer--text,
#gdpr-footer-settings .gdpr-footer--container > span {
    flex: 1 1 280px;
    font-size: 14px;
    line-height: 1.4;
    color: #2B2F24 !important;
    margin: 0;
}

#gdpr-footer-settings .gdpr-footer--actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    flex-shrink: 0;
}

/* Brand-aligned GDPR buttons with EQUAL prominence for Accept & Reject */
.btn--gdpr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: 'Mada', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--gdpr:focus-visible,
.gdpr-modal button:focus-visible,
.gdpr-modal a:focus-visible,
.gdpr-modal input:focus-visible {
    outline: 3px solid #B8862F !important;
    outline-offset: 2px !important;
}

/* Equal prominence: Accept Essential Only & Accept All share identical styling */
.btn--gdpr--reject,
.btn--gdpr--accept {
    color: #FFFFFF !important;
    background-color: #4C5539 !important;
    border-color: #4C5539 !important;
}

.btn--gdpr--reject:hover,
.btn--gdpr--accept:hover {
    color: #FFFFFF !important;
    background-color: #3B4229 !important;
    border-color: #3B4229 !important;
}

.btn--gdpr--settings,
.btn--gdpr--policy {
    color: #2B2F24 !important;
    background-color: #FFFFFF !important;
    border-color: #7B8760 !important;
}

.btn--gdpr--settings:hover,
.btn--gdpr--policy:hover {
    color: #2B2F24 !important;
    background-color: #E9EBE1 !important;
    border-color: #4C5539 !important;
}

.btn--gdpr--save {
    color: #FFFFFF !important;
    background-color: #7B8760 !important;
    border-color: #7B8760 !important;
}

.btn--gdpr--save:hover {
    color: #FFFFFF !important;
    background-color: #4C5539 !important;
    border-color: #4C5539 !important;
}

.btn--gdpr--footer {
    color: #4C5539 !important;
    background-color: transparent !important;
    border-color: #7B8760 !important;
}

.btn--gdpr--footer:hover {
    color: #FFFFFF !important;
    background-color: #4C5539 !important;
    border-color: #4C5539 !important;
}

/* Coming Soon page persistent re-open bar (only visible after consent is saved) */
#gdpr-cs-reopen {
    display: none;
    text-align: center;
    padding: 14px 16px 88px !important;
    background: transparent;
}

body.coming-soon-page #gdpr-cs-reopen.is-visible {
    display: block;
}

#gdpr-cs-reopen .btn--gdpr--reopen {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 13px;
    color: #4C5539 !important;
    background: #F8F8F7 !important;
    border: 1px solid #7B8760 !important;
    border-radius: 999px;
}

#gdpr-cs-reopen .btn--gdpr--reopen:hover {
    color: #FFFFFF !important;
    background: #4C5539 !important;
    border-color: #4C5539 !important;
}

/* Compact phone layout (320px - 767px): stays under ~95px tall, never crowds screen */
@media screen and (max-width: 767px) {
    #gdpr-footer-settings,
    body.coming-soon-page #gdpr-footer-settings {
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    }

    #gdpr-footer-settings .gdpr-footer--container,
    body.coming-soon-page #gdpr-footer-settings .gdpr-footer--container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "text settings"
            "actions actions";
        align-items: center;
        gap: 6px 8px !important;
    }

    #gdpr-footer-settings .gdpr-footer--text,
    #gdpr-footer-settings .gdpr-footer--container > span,
    body.coming-soon-page #gdpr-footer-settings .gdpr-footer--container > span {
        grid-area: text;
        font-size: 12px !important;
        line-height: 1.3 !important;
        text-align: left !important;
        flex: none !important;
    }

    #gdpr-footer-settings .btn--gdpr--settings,
    body.coming-soon-page #gdpr-footer-settings .btn--gdpr--settings {
        grid-area: settings;
        min-height: 32px !important;
        padding: 4px 8px !important;
        font-size: 12px !important;
        white-space: nowrap;
        border-radius: 6px;
    }

    #gdpr-footer-settings .gdpr-footer--actions {
        grid-area: actions;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 6px !important;
        width: 100%;
    }

    #gdpr-footer-settings .gdpr-footer--actions .btn--gdpr--reject,
    #gdpr-footer-settings .gdpr-footer--actions .btn--gdpr--accept,
    body.coming-soon-page #gdpr-footer-settings :is(.btn--gdpr--reject, .btn--gdpr--accept) {
        width: 100%;
        min-height: 36px !important;
        padding: 6px 6px !important;
        font-size: 12.5px !important;
        line-height: 1.15 !important;
        border-radius: 8px;
        flex: none !important;
    }

    /* Keep modal headers, body & footers unclipped and scrollable on phones */
    .gdpr-modal .modal-dialog {
        margin: 10px auto !important;
        max-width: calc(100vw - 16px) !important;
        max-height: calc(100dvh - 20px) !important;
        align-items: flex-start !important;
    }

    .gdpr-modal .modal-content {
        max-height: calc(100dvh - 20px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
        padding: 0 !important;
    }

    .gdpr-modal .modal-header {
        flex: 0 0 auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        padding: 10px 14px 4px !important;
        border: 0 !important;
    }

    .gdpr-modal .modal-body {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 0 14px 10px !important;
        display: block !important;
    }

    .gdpr-modal .gdpr-preamble h2 {
        font-size: 22px !important;
        margin: 0 0 8px !important;
    }

    .gdpr-modal .gdpr-preamble p {
        font-size: 13.5px !important;
        line-height: 1.45 !important;
        margin: 0 0 12px !important;
    }

    .gdpr-modal .accordion-item {
        margin-bottom: 8px !important;
    }

    .gdpr-modal .gdpr--modal-footer {
        flex: 0 0 auto !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 6px !important;
        padding: 10px 14px 12px !important;
        border-top: 1px solid #E2E5DA !important;
        background: #FFFFFF !important;
    }

    .gdpr-modal .gdpr--modal-footer .btn--gdpr {
        width: 100%;
        min-height: 38px;
        padding: 7px 6px;
        font-size: 12.5px;
    }

    .gdpr-modal .gdpr--modal-footer .btn--gdpr--save,
    .gdpr-modal .gdpr--modal-footer #gdprBtnSaveChoices {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 359px) {
    #gdpr-footer-settings .gdpr-footer--text,
    #gdpr-footer-settings .gdpr-footer--container > span,
    body.coming-soon-page #gdpr-footer-settings .gdpr-footer--container > span {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
    }

    #gdpr-footer-settings .gdpr-footer--actions .btn--gdpr--reject,
    #gdpr-footer-settings .gdpr-footer--actions .btn--gdpr--accept,
    body.coming-soon-page #gdpr-footer-settings :is(.btn--gdpr--reject, .btn--gdpr--accept) {
        font-size: 11.5px !important;
        padding: 6px 4px !important;
    }
}

/* provider-signup.css */
/* SABREENLY provider sign-up and advert labels (30 Nov 2026). Goes with modules/provider-signup.php. */
.sab-prov { text-align: left; max-width: 980px; margin: 0 auto; color: #1b1b1b; }
.sab-prov h2 { margin: 32px 0 12px; }
.sab-prov-steps { list-style: none; counter-reset: sabstep; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 0; margin: 0 0 20px; }
.sab-prov-steps li { counter-increment: sabstep; background: #f8f8f7; border: 1px solid #e2e3e5; border-radius: 8px; padding: 14px; }
.sab-prov-steps li::before { content: counter(sabstep); display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: #6d7b4b; color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 6px; }
.sab-prov-steps strong, .sab-prov-steps span { display: block; }
.sab-prov-steps span { font-size: 14px; color: #454545; }
.sab-prov-note { background: #fff8e6; border: 1px solid #e0c46c; border-left: 5px solid #b8860b; border-radius: 6px; padding: 14px 16px; margin: 16px 0; font-size: 16px; line-height: 1.5; color: #1b1b1b; }
.sab-prov-note ul { margin: 6px 0 0 18px; }
.sab-prov-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.sab-prov-plan { position: relative; display: flex; flex-direction: column; gap: 4px; border: 2px solid #e2e3e5; border-radius: 10px; padding: 18px 16px 16px 46px; cursor: pointer; background: #fff; }
.sab-prov-plan input { position: absolute; left: 16px; top: 22px; width: 20px; height: 20px; accent-color: #6d7b4b; }
.sab-prov-plan:has(input:checked) { border-color: #6d7b4b; background: #f1f3ea; }
.sab-prov-plan__name { font-weight: 700; font-size: 18px; }
.sab-prov-plan__desc, .sab-prov-plan__sub, .sab-prov-plan__min { font-size: 14px; color: #454545; }
.sab-prov-plan__price { font-size: 28px; font-weight: 700; color: #3E4729; margin-top: 6px; }
.sab-prov-plan__then { font-size: 16px; font-weight: 600; }
.sab-prov-small { font-size: 14px; color: #454545; line-height: 1.5; margin-top: 12px; }
.sab-prov-rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sab-prov-rules li { border: 1px solid #e2e3e5; border-radius: 8px; background: #fff; }
.sab-prov-rules label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; cursor: pointer; font-size: 16px; line-height: 1.5; }
.sab-prov-rules input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: #6d7b4b; }
.sab-prov-rules li:has(input:checked) { border-color: #6d7b4b; background: #f8f9f4; }
.sab-prov-photo { border: 1px solid #e2e3e5; border-radius: 8px; padding: 16px; margin: 20px 0; background: #fff; }
.sab-prov-photo h3 { margin-top: 0; }
.sab-prov-photo__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sab-prov-photo ul { margin: 0; padding-left: 0; list-style: none; }
.sab-prov-photo ul.sab-ok li::before { content: "\2713"; color: #4C5539; font-weight: 700; margin-right: 8px; }
.sab-prov-photo ul.sab-no li::before { content: "\2715"; color: #a3341c; font-weight: 700; margin-right: 8px; }
.sab-prov-protect { margin-top: 10px; }
.sab-prov-protect summary { cursor: pointer; font-weight: 600; color: #3E4729; }
.sab-prov-protect ul { margin-top: 8px; display: grid; gap: 6px; }
.sab-prov .sab-prov-btn { font-size: 18px; padding: 14px 26px; border-radius: 6px; background-color: #6d7b4b; color: #fff; border: 1px solid #6d7b4b; cursor: pointer; }
.sab-prov .sab-prov-btn:hover, .sab-prov .sab-prov-btn:focus-visible { background-color: #57633b; }
.sab-prov-phototick { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; font-size: 15px; }

/* Advert labels and notices on provider pages */
.sab-ad-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5a4300; background: #fff1c2; border: 1px solid #e0c46c; border-radius: 4px; padding: 2px 8px; vertical-align: middle; }
.experts-card--name .sab-ad-label { margin-left: 6px; font-size: 11px; }
.sab-ad-notice { background: #fff8e6; border: 1px solid #e0c46c; border-left: 5px solid #b8860b; border-radius: 6px; padding: 12px 16px; margin: 16px auto; font-size: 15px; line-height: 1.5; color: #1b1b1b; }
.sab-ad-notice strong { display: block; margin-bottom: 4px; letter-spacing: .04em; }
.sab-ad-contact-title { margin: 0 0 6px; font-size: 20px; }
.sab-ad-contact-note { font-size: 14px; color: #454545; line-height: 1.5; margin: 10px 0 0; }
.sab-ad-reg { font-size: 14px; color: #454545; margin: 4px 0 8px; } .sab-ad-reg em { font-style: normal; }

/* International price chart */
.sab-fx{margin:28px 0 8px;padding:20px;border:1px solid #e3e3dc;border-radius:8px;background:#fafaf7}
.sab-fx h2{margin-top:0}
.sab-fx__pick{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}
.sab-fx__pick label{font-weight:600}
.sab-fx__select{min-height:44px;padding:8px 12px;font-size:16px;border:1px solid #9a9a8f;border-radius:6px;background:#fff;max-width:100%}
.sab-fx__wrap{overflow-x:auto}
.sab-fx__table{width:100%;border-collapse:collapse;font-size:16px;background:#fff}
.sab-fx__table th,.sab-fx__table td{padding:10px 12px;border-bottom:1px solid #e3e3dc;text-align:left;vertical-align:top}
.sab-fx__table thead th{background:#4b5a35;color:#fff;font-weight:600}
.sab-fx__amt{display:block;font-weight:700;color:#2c3320}
.sab-fx__gbp{display:block;font-size:13px;color:#555}
.sab-fx__note{font-size:14px;color:#444;margin:10px 0 0;min-height:1em}
@media (max-width:600px){.sab-fx{padding:14px}.sab-fx__table{font-size:15px}.sab-fx__table th,.sab-fx__table td{padding:8px}}
.sab-fx__gbp[hidden]{display:none}
/* Price chart: stacked cards on phones */
.sab-fx__amt{white-space:nowrap}
@media (max-width:600px){
.sab-fx__pick label{display:block;width:100%}
.sab-fx__select{width:100%}
.sab-fx__table,.sab-fx__table tbody,.sab-fx__table tr,.sab-fx__table th,.sab-fx__table td{display:block;width:100%}
.sab-fx__table{background:transparent}
.sab-fx__table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.sab-fx__table tr{background:#fff;border:1px solid #e3e3dc;border-radius:8px;margin:0 0 12px;padding:12px 14px}
.sab-fx__table th[scope=row]{padding:0 0 8px;border:0;font-size:17px;color:#2c3320}
.sab-fx__table td{padding:8px 0;border:0;border-top:1px solid #eeeee8}
.sab-fx__table td::before{content:attr(data-label);display:block;font-size:14px;color:#555;margin-bottom:2px}
.sab-fx__amt{font-size:18px}
}
.sab-fx__term{margin:12px 0 6px;font-size:16px;color:#2c3320}
.sab-fx__where{margin:-4px 0 12px;font-size:15px;color:#444;min-height:1em}
.sab-prov-plan__local{display:block;font-size:14px;color:#4b5a35;margin:4px 0 2px}
.sab-prov-plan__local[hidden]{display:none}

/* report-problem.css */
/* SABREENLY: "Spotted a problem?" band under the footer search, and the report form page */
.sab-footer-search { border-bottom: 0; }
.sab-report-problem { background: #dce3cf; border-top: 1px solid #c5cfb4; border-bottom: 1px solid #c5cfb4; padding: 32px 20px 40px; margin: 0; text-align: center; }
.sab-report-problem .sab-report-problem__title { margin: 0 0 14px; font-size: .95rem; line-height: 1.2; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #2f3a24; }
.sab-report-problem .sab-report-problem__intro { max-width: 640px; margin: 0 auto 22px; font-size: 1.08rem; line-height: 1.55; color: #1b1b1b; }
.sab-report-problem .sab-report-problem__intro strong { font-size: 1.2rem; color: #2f3a24; }
.sab-report-problem__button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 32px; border: 0; border-radius: 999px; background: #2f3a24; color: #fff !important; font-size: 1.15rem; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; box-shadow: 0 4px 0 #151b0f, 0 8px 16px rgba(0,0,0,.2); transition: transform .08s ease, box-shadow .08s ease, background .15s ease; }
.sab-report-problem__button svg { flex: 0 0 auto; color: #fff; }
.sab-report-problem__button:hover { background: #3e4c30; transform: translateY(-1px); box-shadow: 0 5px 0 #151b0f, 0 10px 20px rgba(0,0,0,.24); }
.sab-report-problem__button:hover span { text-decoration: underline; text-underline-offset: 3px; }
.sab-report-problem__button:active { transform: translateY(3px); box-shadow: 0 1px 0 #151b0f, 0 2px 6px rgba(0,0,0,.18); }
.sab-report-problem__button:focus-visible { outline: 3px solid #1b1b1b; outline-offset: 3px; }
.sab-report-problem .sab-report-problem__note { margin: 14px 0 0; font-size: .92rem; color: #3e4c30; }
.sab-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .sab-report-problem { padding: 28px 18px 32px; }
  .sab-report-problem__button { display: flex; width: 100%; box-sizing: border-box; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .sab-report-problem__button { transition: none; } .sab-report-problem__button:hover, .sab-report-problem__button:active { transform: none; } }

/* research-forms.css */
/* The theme shares colour, weight and spacing for h1 and h2; retain the former h1 sizes. */
h2#contactFullscreenModalLabel,
h2#CoachingModalLabel,
h2#BecomeCoachModalLabel {
    font-size: 40px;
}

@media screen and (max-width: 767px) {
    h2#contactFullscreenModalLabel,
    h2#CoachingModalLabel,
    h2#BecomeCoachModalLabel {
        font-size: 24px;
    }
}

/* Match the previous h1-only phone rule without changing the document outline. */
@media screen and (max-width: 359px) {
    h2#contactFullscreenModalLabel {
        padding-inline: 72px;
    }
}

#contactFullscreenModal #mc_embed_signup_scroll > label.sabreenly-research-permission {
    grid-column: 1 / -1;
    text-align: start;
}

#contactFullscreenModal #mc_embed_signup_scroll > label.sabreenly-research-permission > input[type="checkbox"] {
    min-width: 0;
}

@media screen and (max-width: 767px) {
    #contactFullscreenModal .mailchimp-subscribe-form-target {
        box-sizing: border-box;
        width: 100%;
        max-width: 600px;
        padding-inline: 20px;
    }

    #contactFullscreenModal #mc_embed_signup_scroll .mc-field-group > input {
        min-width: 0;
    }

    #contactFullscreenModal #mc_embed_signup_scroll input[type="submit"] {
        min-width: 0;
        width: min(100%, 300px);
    }
}

.archive-filter-form-wrapper > form.researchs-archive--form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

@media screen and (max-width: 767px) {
    .archive-filter-form-wrapper > form.researchs-archive--form {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    form.researchs-archive--form input[type="submit"] {
        grid-column: 1;
        min-height: 44px;
    }
}

.sabreenly-research-notices a:any-link,
.research-archive-meta a:is([href$="/research-disclaimer"], [href$="/research-disclaimer/"], [href$="/research-participant-notice"], [href$="/research-participant-notice/"]),
#modest-wear-waiting-list .wpcf7 a:is([href$="/privacy-policy"], [href$="/privacy-policy/"]) {
    color: #a13f27;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

#modest-wear-waiting-list > p:first-child {
    color: #805510 !important;
}

.sabreenly-research-notices {
    margin-bottom: 0.75em;
}

#ResearchModal label.sabreenly-research-permission {
    align-items: flex-start;
    cursor: pointer;
}

#ResearchModal label.sabreenly-research-permission > input[type="checkbox"] {
    width: 20px !important;
    height: 20px;
    accent-color: #4c5539;
}

/* Keep the agreed two-column preview while avoiding iOS input zoom. */
@media screen and (max-width: 767px) {
    form.experts-archive--filter-form .experts-archive--filter-form-select select {
        font-size: 16px !important;
    }
}

@media screen and (max-width: 359px) {
    .archive-filter-form-wrapper > form.experts-archive--filter-form {
        grid-template-columns: minmax(0, 1fr);
    }

    form.experts-archive--filter-form .experts-archive--filter-form-select--submitgrid {
        grid-column: 1;
    }
}

.sabreenly-research-sponsored {
    margin: 0;
    font-weight: 600;
}

label.sabreenly-research-permission {
    display: flex !important;
    align-items: flex-start;
    gap: 0.5em;
    margin: 0.75em 0;
    white-space: normal;
}

label.sabreenly-research-permission > input[type="checkbox"] {
    appearance: auto;
    flex: none;
    width: auto !important;
    min-width: 0;
    margin: 0.25em 0 0 !important;
}

/* resources_templates.css */
/* Info for Mosques listing: "View" button to the left of Download (owner request, 16 Nov 2026) */
.download-card-button:has(.download-card-view-button) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.download-card-button:has(.download-card-view-button) > a.button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
a.button.download-card-view-button {
    background-color: #fff;
    color: #3E4729;
    border: 1px solid var(--button-background, #3E4729);
}
a.button.download-card-view-button:hover,
a.button.download-card-view-button:focus-visible {
    background-color: #fff;
    color: #3E4729;
    border-color: #3E4729;
    text-decoration: underline;
}

/* Single sheet pages: the card title is now the page h1; keep the card's existing size */
.resource-single article h1[class$="-title"],
.document-single article h1[class$="-title"] {
    font-size: 20px;
}

/* Single sheet pages: the card is not inside .download-card--container (the listing wraps it),
   so the theme's @container phone layout never applied and the card broke on phones.
   Make the article the query container so the same responsive rules as the listing apply. */
.resource-single > article,
.document-single > article {
    container-type: inline-size;
}

/* Single sheet pages: on tablet and desktop the header is fixed and covered the
   "Back to all ..." link (other single templates start with a hero that sits under it).
   The exact offset is measured by a small script in modules/resources_templates.php
   because the header height changes with the menu wrapping; 125px is the fallback. */
@media (min-width: 768px) {
    body .resource-single,
    body .document-single {
        padding-top: var(--sabfix-sheet-offset, 125px);
    }
}

/* sabreenly-forensic-a11y.css */
/*
 * SABREENLY forensic audit fixes, 30 November 2026.
 * Readability and accessibility only. No layout changes.
 * To undo: delete this file.
 */

/* 1. Body links: the brand orange #F1693F is 3.07:1 on white (2.89:1 on the
 *    off-white cards). #B5441C is the same hue at 5.5:1 on white and 5.0:1 on
 *    #F3F3EC, which passes WCAG AA for normal text. Scoped to content areas, so
 *    the header, menus, footer and buttons keep their current colours. */
:root {
	--sab-link-ink: #b5441c;
	--sab-link-ink-hover: #8f3414;
}

.col-full,
.gyms-single--scrollspy,
.gyms-card,
.videos-card,
.videos-single--textarea,
.category-description-container,
.cf7--grid,
.wpcf7-form,
.acfpb--narrow-text--textarea,
.acfpb--text-and-image--text,
.woocommerce-MyAccount-content,
.search-results--feed,
.sabreenly-card-1--textarea,
.prose,
.wrap > details,
#page > p,
#page > ul,
#page > ol,
#page > .wp-block-table {
	--link-color: var(--sab-link-ink);
}

/* Header search panel and cart drawer stay as they are. */
.searchmodal_offcanvas-body,
.searchmodal_offcanvas-body .col-full {
	--link-color: #f1693f;
}

/* Darker shade on hover so the change of state is still visible. */
:where(.col-full, .gyms-single--scrollspy, .gyms-card, .videos-card, .videos-single--textarea,
	.category-description-container, .cf7--grid, .wpcf7-form, .acfpb--narrow-text--textarea,
	.acfpb--text-and-image--text, .woocommerce-MyAccount-content, .search-results--feed,
	.sabreenly-card-1--textarea, .prose, .wrap > details, #page)
	:where(p, li, dd, td, h2.search-results--title, .gyms-card--name, .floating-nav--link-group) > a:hover {
	color: var(--sab-link-ink-hover);
}

/* 2. Links inside running text are underlined, so they do not rely on colour
 *    alone (WCAG 1.4.1). Card titles, menus and buttons are not affected. */
:where(.col-full, .videos-single--textarea, .category-description--attention, .wpcf7-form,
	.acfpb--narrow-text--textarea, .acfpb--text-and-image--text, .woocommerce-MyAccount-content,
	.prose, .wrap > details, #page)
	:where(p, li, dd, td) > a:not([class*="button"]):not([class*="btn"]):not(.list-group-item):not(:is(#masthead, header, nav, footer, .site-footer, .below-footer, .navbar, .menu, .sub-menu, .dropdown-menu, [class*="offcanvas"], [class*="share"], [class*="pagination"], .woocommerce-MyAccount-navigation) *),
:where(.col-full, .acfpb--narrow-text--textarea, #page) :where(p, li) > :where(strong, em, b) > a,
:where(.col-full, .acfpb--narrow-text--textarea) p > a.reset.interactable {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

:where(.col-full, .videos-single--textarea, .category-description--attention, .wpcf7-form,
	.acfpb--narrow-text--textarea, .acfpb--text-and-image--text, .prose, #page)
	:where(p, li, dd, td) > a:not([class*="button"]):not([class*="btn"]):focus-visible {
	outline: 2px solid var(--sab-link-ink);
	outline-offset: 2px;
}

/* Sidebar index of the gym pages: keep the menu look, just darker text. */
.gyms-single--scrollspy .floating-nav--link-group a.list-group-item:not(.active) {
	color: var(--sab-link-ink);
}

/* 3. Grey supporting text below 4.5:1. */
html body .download-card-desc,
html body .download-card-date,
html body .download-card-meta-desc,
html body .download-card-meta-date,
html body .download-card-meta p {
	color: #5c5c5c;
}

html body ul.sab-list li.sab-card p.sab-org {
	color: #5c5c5c;
}

html body .card028--job-title {
	color: #595959;
}

/* 4. Footer links on phones and tablets were 18px tall. Extra padding enlarges the tap
 *    area without moving anything (inline padding does not change line boxes). */
@media (max-width: 1279px) {
	.below-footer--left p a,
	a.footer--company-logo {
		padding-block: 6px;
	}
}

/* 5. The price disclaimer on Become a Provider was 10.8px. */
.pricing-table--disclaimer p.sml {
	font-size: 13px;
	line-height: 1.45;
}

/* 6. Archive banner titles promoted from span to h1 by forensic-a11y.php keep
 *    exactly the look of the old span. */
h1.db043--text-title:not(.section-hub--title) {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 70px;
	font-weight: inherit;
	line-height: inherit;
	color: white;
	text-align: left;
	text-transform: uppercase;
	bottom: 9px;
	position: relative;
	font-family: 'Amiri';
}

h1.db043--text-title::after {
	content: none;
	display: none;
}

@media screen and (max-width: 767px) {
	h1.db043--text-title:not(.section-hub--title) {
		font-size: 30px;
		bottom: 10px;
	}
}

/* 7. Document cards (Info for Mosques and its category and language pages) were
 *    squeezed to one word per line on phones and small tablets: the card kept
 *    its three-column desktop grid, leaving the text column 0px wide. These are
 *    the same container rules the Ramadan resource cards already use. */
@container (max-width: 799px) {
	html body .download-card {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		grid-template-areas:
			"downloadimage downloadcontent"
			"downloadimage downloadbutton";
		gap: 20px;
		align-items: start;
	}

	html body img.download-card-image {
		grid-area: downloadimage;
	}

	html body .download-card-content {
		grid-area: downloadcontent;
	}

	html body .download-card-button {
		grid-area: downloadbutton;
	}
}

@container (max-width: 375px) {
	html body .download-card {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"downloadimage"
			"downloadcontent"
			"downloadbutton";
	}

	html body img.download-card-image {
		grid-row: auto;
	}
}

html body section.sab-ev p.sab-kicker {
	color: #5c5c5c;
}

/* 8. Tablets (768px to 1179px wide, including iPad portrait and landscape): the
 *    fixed header wraps to two lines and covered the page title in the banner
 *    (for example "INFORMATION FOR" was hidden on Info for Mosques). The banner
 *    is made taller and the title slightly smaller so it sits below the header. */
@media screen and (min-width: 768px) and (max-width: 1179px) {
	.db043 .db043--background {
		min-height: 430px;
	}

	.db043 :is(span, h1).db043--text-title {
		font-size: 56px;
	}
}

/* 9. Tablets: the floating "SHARE" tab was a 36px sideways word sitting on top
 *    of the page text (tablet pages have only a 20px side margin). Use the same
 *    compact layout as phones until the content has a wide side margin. */
@media screen and (min-width: 768px) and (max-width: 1279px) {
	body .floating-social-share--outer {
		display: grid;
		grid-template-columns: 46px auto;
		align-items: end;
		gap: 0;
	}

	body .floating-social-share--outer .floating-social-share--title {
		order: 2;
		writing-mode: horizontal-tb;
		line-height: normal;
		font-size: 20px;
		top: -5px;
		position: relative;
	}
}

/* The floating "SHARE" word was 3.7:1; a darker olive keeps the brand look. */
body .floating-social-share--outer .floating-social-share--title {
	color: #4f5a43;
}

/* 10. Same tablet problem on pages that open with a large hero (Home, Coaching,
 *     Mind and Soul and others): the first line of the hero title sat under the
 *     fixed header. Only the first block on the page is moved down. */
@media screen and (min-width: 768px) and (max-width: 1023px) {
	#page > .acfpb--multihero:not(#page > [class*="acfpb--"] ~ .acfpb--multihero) .acfpb--multihero--positioning {
		padding-top: 250px;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1179px) {
	#page > .acfpb--multihero:not(#page > [class*="acfpb--"] ~ .acfpb--multihero) .acfpb--multihero--positioning {
		padding-top: 195px;
	}
}

/* Full-height heroes (Home) already have 90px of their own top space. */
@media screen and (min-width: 768px) and (max-width: 1023px) {
	#page > .acfpb--multihero:not(#page > [class*="acfpb--"] ~ .acfpb--multihero) .acfpb--multihero--positioning.acfpb--multihero--height--Viewport {
		padding-top: 160px;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
	#page > .acfpb--multihero:not(#page > [class*="acfpb--"] ~ .acfpb--multihero) .acfpb--multihero--positioning.acfpb--multihero--height--Viewport {
		padding-top: 120px;
	}
}

/* Let that first hero grow to fit the moved-down title instead of clipping it. */
@media screen and (min-width: 768px) and (max-width: 1279px) {
	#page > .acfpb--multihero:not(#page > [class*="acfpb--"] ~ .acfpb--multihero) .acfpb--multihero--background {
		height: auto;
		aspect-ratio: auto;
	}

	#page > .acfpb--multihero:not(#page > [class*="acfpb--"] ~ .acfpb--multihero) .acfpb--multihero--overlay {
		position: relative;
		height: auto;
		margin: -10px;
	}
}

