/*
 * Iron Program design layer — the dark, bold "training app" look.
 *
 * Loaded after style.css, on every page. Three parts:
 *
 *  - Site-wide: Astra's header and footer builder markup, buttons, and the
 *    display headings of marketing sections.
 *  - The homepage (.ip-* classes): the en/fr/ar homepages are plain core
 *    blocks carrying ip-* class names, and all of their look lives here.
 *  - The older section classes (.problem-sec, .team-sec, .how-sec, …) that the
 *    coaches and programs pages are still built from.
 *
 * Brand colours stay Iron Program's own: the yellow that was already on the
 * hero's "Weight", and the blue of the existing CTA buttons.
 *
 * Why so much !important: the block editor writes font-size, weight, style and
 * line-height as inline style="" on most headings and paragraphs, and Kadence
 * prints per-block button CSS. A stylesheet can only beat inline styles with
 * !important, so the typography and colour overrides carry it.
 *
 * Arabic: Arabic script has no italic and no capitals, and a skewed Arabic
 * word reads as broken, so .rtl drops the slant and skew (bottom of the file).
 */

:root {
	--ip-ink: #0b0b0f;
	--ip-ink-2: #16161d;
	--ip-line: #2a2a34;
	--ip-yellow: #ffe200;
	--ip-blue: #3633e1;
	--ip-blue-dark: #2724c4;
	--ip-mist: #f4f4f6;
	--ip-muted: #a3a7b3;
}

/* ------------------------------------------------------------------ */
/* Display type: heavy, slanted capitals for marketing headings only.  */
/* Blog post bodies keep Astra's normal headings — long-form text in   */
/* italic caps is hard to read.                                        */
/* ------------------------------------------------------------------ */

.wp-block-section h2.wp-block-heading,
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3 {
	font-weight: 800 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
	letter-spacing: -0.01em !important;
	line-height: 1.02 !important;
}

.wp-block-section h2.wp-block-heading {
	font-size: clamp(32px, 4.4vw, 52px) !important;
	color: var(--ip-ink);
}

.wp-block-section h3.wp-block-heading {
	font-weight: 700 !important;
	color: var(--ip-ink);
}

/* Small label above each section heading ("THE PROBLEM", "YOUR COACHES"). */
.wp-block-section .sec-main-heading {
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	color: var(--ip-blue);
}

.wp-block-section .sec-main-heading a {
	color: inherit;
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

body .wp-block-kadence-advancedbtn .kb-button.kt-button,
body .wp-block-button__link,
.ast-header-button-1 .ast-custom-button {
	background: var(--ip-blue) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	box-shadow: none !important;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

body .wp-block-kadence-advancedbtn .kb-button.kt-button:hover,
body .wp-block-button__link:hover,
.ast-header-button-1 .ast-custom-button:hover {
	background: var(--ip-blue-dark) !important;
	transform: translateY(-1px);
}

body .wp-block-kadence-advancedbtn .kb-button.kt-button strong {
	font-weight: inherit !important;
}

/* On dark or blue bands the CTA turns yellow so it does not disappear. */
.how-sec .wp-block-button__link {
	background: var(--ip-yellow) !important;
	color: var(--ip-ink) !important;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.site-header .ast-primary-header-bar,
.site-header .main-header-bar,
#ast-mobile-header .ast-primary-header-bar {
	background: var(--ip-ink) !important;
	border-bottom: 1px solid var(--ip-line);
}

.site-header .site-title a,
.site-header .site-title a:hover {
	color: #fff !important;
	font-weight: 800 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
	letter-spacing: -0.01em !important;
	white-space: nowrap;
}

/* Capitals run wider than the old mixed-case title; keep it on one line. */
.site-header .site-title {
	font-size: 20px !important;
}

/*
 * Menu links stay in their normal case and size. Uppercase with tracking made
 * the French menu ~180px wider and pushed the header button off the screen at
 * 1024px; style.css already spends its slack fitting the mixed-case menu.
 */
.site-header .main-header-menu > .menu-item > .menu-link {
	color: #d6d7dc !important;
	font-weight: 600 !important;
}

.site-header .main-header-menu > .menu-item > .menu-link:hover,
.site-header .main-header-menu > .current-menu-item > .menu-link {
	color: #fff !important;
}

.site-header .main-header-menu .sub-menu {
	background: var(--ip-ink-2) !important;
	border-color: var(--ip-line) !important;
}

.site-header .main-header-menu .sub-menu .menu-link {
	color: #d6d7dc !important;
}

.site-header .main-header-menu .sub-menu .menu-link:hover {
	color: #fff !important;
	background: transparent !important;
}

.site-header .ast-header-button-1 .ast-custom-button {
	padding: 12px 18px !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
	white-space: nowrap;
}

/*
 * Between Astra's desktop breakpoint (922px) and 1200px the French row has no
 * room for logo + title + menu + button: measured at 925px it needed ~50px more
 * than it had. The logo mark carries the brand on its own there; the title is
 * hidden visually but stays in the markup for screen readers and search.
 */
@media (min-width: 922px) and (max-width: 1199px) {

	.site-header .ast-site-title-wrap {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.site-header .ast-header-button-1 .ast-custom-button {
		padding: 10px 14px !important;
		font-size: 12px !important;
		letter-spacing: 0.02em !important;
	}
}

/* Mobile: burger icon and the dropdown menu. */
.site-header .menu-toggle .ast-mobile-svg,
.site-header .menu-toggle .mobile-menu-toggle-icon svg {
	fill: #fff !important;
}

.site-header .menu-toggle {
	background: transparent !important;
}

.ast-mobile-header-content,
.ast-mobile-header-content .main-header-menu,
.ast-mobile-header-content .main-header-menu .sub-menu {
	background: var(--ip-ink) !important;
}

.ast-mobile-header-content .main-header-menu .menu-link {
	background: transparent !important;
	color: #e3e4e8 !important;
	border-color: var(--ip-line) !important;
}

.ast-mobile-header-content .ast-menu-toggle {
	color: #e3e4e8 !important;
}

/* ------------------------------------------------------------------ */
/* Inner page title band                                               */
/*                                                                     */
/* Pages that show Astra's own title (contact, the forms, …) and the   */
/* blog listing (.ip-archive-header, printed from functions.php) get   */
/* it as a full-width dark band, so every page opens like the home     */
/* page. Scoped to article.type-page: the blog's post cards also carry */
/* .entry-header and must not turn into bands. The band is a spread    */
/* box-shadow clipped to the sides rather than 100vw, which would      */
/* overflow by the scrollbar's width.                                  */
/* ------------------------------------------------------------------ */

body.page:not(.home) article.type-page > .entry-header:not(.ast-no-title),
.ip-archive-header {
	position: relative;
	background: var(--ip-ink);
	box-shadow: 0 0 0 100vmax var(--ip-ink);
	clip-path: inset(0 -100vmax);
	padding-block: clamp(56px, 8vw, 100px) !important;
	margin: 0 0 clamp(48px, 6vw, 80px) !important;
	text-align: center;
	background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 28px 28px;
}

body.page:not(.home) article.type-page > .entry-header:not(.ast-no-title) .entry-title,
.ip-archive-header .entry-title {
	color: #fff !important;
	font-size: clamp(40px, 6vw, 72px) !important;
	font-weight: 800 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
	letter-spacing: -0.01em !important;
	line-height: 1.02 !important;
	margin: 0 !important;
}

/* A short yellow rule under the title, like the homepage problem cards. */
body.page:not(.home) article.type-page > .entry-header:not(.ast-no-title) .entry-title::after,
.ip-archive-header .entry-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 5px;
	margin: 22px auto 0;
	background: var(--ip-yellow);
}

/* ------------------------------------------------------------------ */
/* Blog posts, category archives, search results and the 404 page      */
/* (Astra templates, every language): the same dark band on top.       */
/* ------------------------------------------------------------------ */

/* Astra gives the separate-container layout a top margin above the
   card; the band replaces it. */
body.single-post .site-content > .ast-container > #primary,
body.archive .site-content > .ast-container > #primary,
body.search .site-content > .ast-container > #primary,
body.error404 .site-content > .ast-container > #primary {
	margin-top: 0 !important;
}

/* Post: the white card loses its top padding so the band can sit flush,
   and the header is pulled out to the card's edges before the
   box-shadow carries it to the edges of the window. */
body.single-post article.type-post {
	padding-top: 0 !important;
}

body.single-post article.type-post .entry-header,
body.archive .ast-archive-description,
body.search .ast-archive-description,
body.error404 .error-404 {
	position: relative;
	background: var(--ip-ink) !important;
	background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px) !important;
	background-size: 28px 28px !important;
	box-shadow: 0 0 0 100vmax var(--ip-ink);
	clip-path: inset(0 -100vmax);
	border: 0 !important;
	border-radius: 0 !important;
	text-align: center;
	color: #c4c7d0;
}

body.single-post article.type-post .entry-header {
	margin: 0 -40px 48px !important;
	padding: clamp(48px, 7vw, 88px) 40px !important;
}

body.archive .ast-archive-description,
body.search .ast-archive-description {
	margin: 0 0 clamp(36px, 5vw, 56px) !important;
	padding: clamp(48px, 7vw, 88px) 24px !important;
}

body.single-post article.type-post .entry-header .entry-title,
body.archive .ast-archive-description .page-title,
body.search .ast-archive-description .page-title,
body.error404 .error-404 .page-title {
	color: #fff !important;
	font-weight: 800 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
	letter-spacing: -0.01em !important;
	line-height: 1.08 !important;
	margin: 0 auto !important;
	max-width: 920px;
}

body.single-post article.type-post .entry-header .entry-title {
	font-size: clamp(30px, 4.2vw, 52px) !important;
}

body.archive .ast-archive-description .page-title,
body.search .ast-archive-description .page-title,
body.error404 .error-404 .page-title {
	font-size: clamp(36px, 5.4vw, 64px) !important;
}

body.single-post article.type-post .entry-header .entry-title::after,
body.archive .ast-archive-description .page-title::after,
body.search .ast-archive-description .page-title::after,
body.error404 .error-404 .page-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 5px;
	margin: 22px auto 0;
	background: var(--ip-yellow);
}

body.single-post article.type-post .entry-header .entry-meta,
body.single-post article.type-post .entry-header .entry-meta a {
	color: #b9bcc6 !important;
	margin-top: 18px;
}

body.search .ast-archive-description .page-title span {
	color: var(--ip-yellow);
}

body.search .ast-archive-description .ast-breadcrumbs,
body.search .ast-archive-description .ast-breadcrumbs a {
	color: #b9bcc6 !important;
	margin-top: 16px;
}

/* Post body: readable measure, the brand blue for links. */
body.single-post article.type-post .entry-content {
	max-width: 760px;
	margin-inline: auto;
}

body.single-post article.type-post .entry-content a:not(.wp-block-button__link):not(.kb-button) {
	color: var(--ip-blue);
}

body.single-post article.type-post .entry-content :is(h2, h3) {
	color: var(--ip-ink);
	font-weight: 800;
}

body.single-post article.type-post .entry-content h2::before {
	content: "";
	display: block;
	width: 34px;
	height: 4px;
	background: var(--ip-yellow);
	margin-bottom: 14px;
}

/* Archive and search cards use the same white card as the blog listing. */
body:is(.archive, .search) .ast-article-post .ast-article-inner {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 0 #e4e5ea, 0 18px 40px -28px rgba(11, 11, 15, 0.35);
	overflow: hidden;
	transition: transform 0.2s ease;
}

body:is(.archive, .search) .ast-article-post .ast-article-inner:hover {
	transform: translateY(-4px);
}

body:is(.archive, .search) .ast-article-post .cat-links a {
	color: var(--ip-blue) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body:is(.archive, .search) .ast-article-post .entry-title {
	font-weight: 800 !important;
	line-height: 1.25 !important;
}

body:is(.archive, .search) .ast-article-post .entry-title a {
	color: var(--ip-ink) !important;
}

/* 404: the whole message sits in the band, the search box on top of it. */
body.error404 .error-404 {
	padding: clamp(64px, 9vw, 120px) 24px !important;
	margin: 0 0 clamp(48px, 6vw, 80px) !important;
}

body.error404 .error-404 .page-sub-title {
	color: #c4c7d0 !important;
	font-size: 18px;
	font-weight: 500;
	margin: 28px auto 32px;
}

body.error404 .error-404 .search-form {
	max-width: 480px;
	margin: 0 auto;
}

body.error404 .error-404 .search-field {
	background: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	padding: 14px 16px !important;
}

/* Arabic: no slant, no tracking. */
body.rtl.single-post article.type-post .entry-header .entry-title,
body.rtl .ast-archive-description .page-title,
body.rtl .error-404 .page-title {
	font-style: normal !important;
	letter-spacing: 0 !important;
	line-height: 1.35 !important;
}

@media (max-width: 544px) {

	body.single-post article.type-post .entry-header {
		margin-inline: -20px !important;
		padding-inline: 20px !important;
	}
}

/* When the content opens with a full-width section (For Coaches), the band
   runs straight into it instead of leaving a white strip between them. */
body.page article.type-page:has(> .entry-content > .ip-sec:first-child) > .entry-header {
	margin-bottom: 0 !important;
}

/* A page that switches its title off still gets an empty Astra header. */
body.page:not(.home) article.type-page > .entry-header.ast-no-title {
	display: none;
}

/* Pages that open with their own cover block (Programs, in all three
   languages) get the same dark treatment as the title band. */
body.page:not(.home) .entry-content > .wp-block-cover:first-child .wp-block-cover__background {
	background-color: var(--ip-ink) !important;
	background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
	background-size: 28px 28px;
	opacity: 0.86 !important;
}

body.page:not(.home) .entry-content > .wp-block-cover:first-child :is(h1, h2, h3, p),
body.page:not(.home) .entry-content > .wp-block-cover:first-child :is(h1, h2, h3, p) * {
	color: #fff !important;
}

/* Blog listing: Astra's separate-container cards on the light background,
   restyled as white cards with a blue category label. */
body.blog .ast-article-post .ast-article-inner {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 0 #e4e5ea, 0 18px 40px -28px rgba(11, 11, 15, 0.35);
	overflow: hidden;
	transition: transform 0.2s ease;
}

body.blog .ast-article-post .ast-article-inner:hover {
	transform: translateY(-4px);
}

body.blog .ast-article-post .cat-links a {
	color: var(--ip-blue) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.blog .ast-article-post .entry-title {
	font-weight: 800 !important;
	line-height: 1.25 !important;
}

body.blog .ast-article-post .entry-title a {
	color: var(--ip-ink) !important;
}

body.blog .ast-article-post .entry-title a:hover {
	color: var(--ip-blue) !important;
}

body.blog .ast-pagination a,
body.blog .ast-pagination span {
	border-radius: 3px;
	font-weight: 700;
}

body.blog .ast-pagination .current {
	background: var(--ip-ink) !important;
	color: #fff !important;
}

/* The band sits above the card grid; the blog's own top padding goes. */
body.blog .site-content > .ast-container > #primary {
	margin-top: 0 !important;
}

/* Astra puts the article flush under the header on plain containers. */
body.page:not(.home) .site-content > .ast-container > #primary {
	margin-top: 0 !important;
}

body.rtl.page:not(.home) article.type-page > .entry-header .entry-title,
body.rtl .ip-archive-header .entry-title {
	font-style: normal !important;
	letter-spacing: 0 !important;
	line-height: 1.3 !important;
}

/* ------------------------------------------------------------------ */
/* Homepage (.ip-*)                                                    */
/*                                                                     */
/* The three homepages (en 59, fr 816, ar 15265) are built from plain  */
/* core blocks carrying ip-* class names; everything visual is here,   */
/* so the pages stay editable in wp-admin without inline styles.       */
/* ------------------------------------------------------------------ */

/* Astra sizes full-width blocks to 100vw, which includes the vertical
   scrollbar, so on desktop the page could be scrolled 8px sideways. The
   sections stay centred, so clipping the overflow costs nothing. clip
   rather than hidden: it does not turn <html> into a scroll container. */
html {
	overflow-x: clip;
}

/* Sections butt against each other; the block gap would leave white
   strips between the dark bands. Spacing inside is set explicitly. */
.entry-content > .ip-hero,
.entry-content > .ip-stats,
.entry-content > .ip-sec {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	/* Astra pads full-width groups by 48px; the inner .ip-wrap does it here. */
	padding: 0 !important;
}

.entry-content > .ip-sec {
	padding-block: clamp(72px, 9vw, 110px) !important;
}

.entry-content [class*="ip-"] > * {
	margin-block-start: 0;
}

.ip-wrap {
	max-width: 1160px;
	margin-inline: auto !important;
	padding-inline: 24px;
}

.ip-dark {
	background: var(--ip-ink);
	color: #c4c7d0;
}

.ip-mist {
	background: var(--ip-mist);
}

.ip-center {
	text-align: center;
}

.ip-center .ip-lead {
	margin-inline: auto;
}

/* Type */
.entry-content .ip-display {
	font-weight: 800 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
	letter-spacing: -0.01em !important;
	line-height: 1.02 !important;
	color: var(--ip-ink);
	font-size: clamp(32px, 4.6vw, 54px) !important;
	margin: 0;
}

.ip-dark .ip-display,
.ip-final .ip-display,
.ip-hero .ip-display {
	color: #fff;
}

.ip-display .ip-hl {
	background: var(--ip-yellow);
	color: var(--ip-ink);
	padding: 0 0.18em;
	display: inline-block;
	transform: skewX(-6deg);
}

.ip-display .ip-hl strong {
	display: inline-block;
	transform: skewX(6deg);
	font-weight: inherit;
}

.entry-content .ip-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ip-blue);
	margin: 0 0 12px;
}

.ip-dark .ip-eyebrow {
	color: var(--ip-yellow);
}

.entry-content .ip-lead {
	font-size: 18px;
	max-width: 640px;
	margin: 18px 0 0;
}

/* Buttons (core button block) */
.entry-content [class*="ip-"] .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 28px;
	font-size: 16px !important;
}

.ip-arrow .wp-block-button__link::after {
	content: "→";
}

.rtl .ip-arrow .wp-block-button__link::after {
	content: "←";
}

body .ip-ghost .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid currentColor !important;
}

body .ip-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.08) !important;
}

body .ip-yellow .wp-block-button__link {
	background: var(--ip-yellow) !important;
	color: var(--ip-ink) !important;
}

body .ip-yellow .wp-block-button__link:hover {
	background: #ffd000 !important;
}

/* Hero */
.ip-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	text-align: center;
	background: var(--ip-ink) url("/wp-content/uploads/2025/10/123721.jpg") center / cover;
}

.ip-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 11, 15, 0.72), rgba(11, 11, 15, 0.88));
}

.ip-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
}

.ip-hero > .ip-wrap {
	position: relative;
	z-index: 1;
	padding-block: 120px 110px;
}

.entry-content .ip-hero h1.ip-display {
	font-size: clamp(46px, 7.4vw, 92px) !important;
}

.entry-content .ip-hero .ip-lead {
	font-size: clamp(17px, 1.6vw, 20px);
	font-weight: 500;
	color: #e3e4e8;
	max-width: 680px;
	margin: 28px auto 40px;
}

.ip-ctas {
	justify-content: center;
	gap: 14px;
}

.entry-content .ip-trust {
	margin: 56px 0 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 28px;
	color: #b9bcc6;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.ip-trust span::before {
	content: "✓";
	color: var(--ip-yellow);
	margin-inline-end: 8px;
}

/* Stats strip */
.ip-stats {
	background: var(--ip-yellow);
	color: var(--ip-ink);
}

.ip-stats > .ip-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	text-align: center;
	padding-block: 34px;
}

.entry-content .ip-stats p {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ip-stats strong {
	display: block;
	font-size: clamp(34px, 4vw, 46px);
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	letter-spacing: 0;
}

/* Problem cards */
.ip-three {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 56px !important;
	text-align: start;
	counter-reset: ip-card;
}

.ip-pcard {
	counter-increment: ip-card;
	position: relative;
	background: var(--ip-ink-2);
	border: 1px solid var(--ip-line);
	border-radius: 4px;
	padding: 34px 30px;
}

.ip-pcard::before {
	content: "";
	display: block;
	width: 34px;
	height: 4px;
	background: var(--ip-yellow);
	margin-bottom: 22px;
}

.ip-pcard::after {
	content: "0" counter(ip-card);
	position: absolute;
	top: 22px;
	inset-inline-end: 26px;
	font-size: 56px;
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	color: var(--ip-line);
}

.entry-content .ip-pcard h3,
.entry-content .ip-step h3 {
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	margin: 0 0 10px;
}

/* Keep the card title clear of the ghost number in the corner. */
.entry-content .ip-pcard h3 {
	padding-inline-end: 64px;
}

.entry-content .ip-pcard p,
.entry-content .ip-step p {
	margin: 0;
}

/* What's included: image + ticks */
.ip-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center;
}

.ip-media {
	position: relative;
	z-index: 0;
}

.ip-media::before {
	content: "";
	position: absolute;
	inset-block: 18px -18px;
	inset-inline: 18px -18px;
	background: var(--ip-yellow);
	border-radius: 4px;
	z-index: -1;
}

.ip-media figure {
	margin: 0;
}

.ip-media img {
	width: 100%;
	aspect-ratio: 4 / 3.4;
	object-fit: cover;
	border-radius: 4px;
}

.entry-content .ip-ticks {
	list-style: none;
	margin: 28px 0 34px;
	padding: 0;
}

.ip-ticks li {
	position: relative;
	padding-block: 14px;
	padding-inline-start: 40px;
	border-bottom: 1px solid #e4e5ea;
	margin: 0;
}

.ip-ticks li strong {
	color: var(--ip-ink);
}

.ip-ticks li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 18px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ip-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Coach cards */
.ip-coaches {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 56px !important;
}

.ip-coach {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 0 #e4e5ea, 0 18px 40px -24px rgba(11, 11, 15, 0.35);
	transition: transform 0.2s ease;
}

.ip-coach:hover {
	transform: translateY(-4px);
}

.ip-ph {
	position: relative;
	aspect-ratio: 4 / 4.3;
	background: var(--ip-ink);
}

.ip-ph figure,
.ip-ph figure a,
.ip-ph img {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
}

.ip-ph img {
	object-fit: cover;
	object-position: top;
}

.entry-content .ip-price {
	position: absolute;
	inset-inline-start: 16px;
	bottom: 16px;
	margin: 0;
	background: var(--ip-yellow);
	color: var(--ip-ink);
	font-weight: 800;
	font-size: 14px;
	padding: 6px 12px;
	border-radius: 3px;
}

.ip-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px 24px 26px;
}

.entry-content .ip-body h3 {
	font-size: 26px;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	color: var(--ip-ink);
	line-height: 1;
	margin: 0;
}

.entry-content .ip-role {
	color: var(--ip-blue);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 8px 0 4px;
}

.entry-content .ip-cred {
	font-size: 13px;
	color: var(--ip-muted);
	font-weight: 600;
	margin: 0 0 12px;
}

.entry-content .ip-body p {
	font-size: 15px;
}

.entry-content .ip-more {
	margin: auto 0 0;
	padding-top: 16px;
	border-top: 1px solid #e4e5ea;
}

.ip-more a,
.ip-all a {
	font-weight: 700;
	color: var(--ip-ink);
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-decoration: none;
}

.ip-more a::after,
.ip-all a::after {
	content: " →";
}

.rtl .ip-more a::after,
.rtl .ip-all a::after {
	content: " ←";
}

.ip-more a:hover,
.ip-all a:hover {
	color: var(--ip-blue);
}

.entry-content .ip-all {
	text-align: center;
	margin: 44px 0 0;
}

.ip-all a {
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}

/* How it works */
.ip-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 60px 0 50px !important;
	border-top: 1px solid var(--ip-line);
}

.ip-step {
	padding-block: 40px 10px;
	padding-inline: 0 34px;
}

.ip-step + .ip-step {
	padding-inline-start: 34px;
	border-inline-start: 1px solid var(--ip-line);
}

.entry-content .ip-step .ip-num {
	font-size: 64px;
	font-weight: 800;
	font-style: italic;
	color: var(--ip-yellow);
	line-height: 1;
	margin-bottom: 16px;
}

/* FAQ (core details block) */
.ip-faq {
	max-width: 820px;
	margin: 50px auto 0 !important;
}

.ip-faq .wp-block-details {
	border-bottom: 1px solid #dcdde3;
	margin: 0;
	padding: 0;
}

.ip-faq summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding-block: 24px;
	padding-inline: 0 50px;
	font-weight: 700;
	font-size: 18px;
	color: var(--ip-ink);
}

.ip-faq summary::-webkit-details-marker {
	display: none;
}

.ip-faq summary::after {
	content: "+";
	position: absolute;
	inset-inline-end: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ip-ink);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 20px;
	font-weight: 500;
	transition: background-color 0.2s ease;
}

.ip-faq details[open] summary::after {
	content: "–";
	background: var(--ip-blue);
}

.entry-content .ip-faq details p {
	margin: 0;
	padding-block-end: 26px;
	padding-inline-end: 50px;
}

/* Final call to action */
.ip-final {
	position: relative;
	overflow: hidden;
	background: var(--ip-blue);
	color: #fff;
	text-align: center;
}

.ip-final::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
}

.ip-final > .ip-wrap {
	position: relative;
	z-index: 1;
}

.entry-content .ip-final h2.ip-display {
	font-size: clamp(40px, 6vw, 74px) !important;
}

.entry-content .ip-final .ip-lead {
	font-size: 19px;
	color: #dfe0ff;
	margin: 20px auto 36px;
}

.ip-final .wp-block-buttons {
	justify-content: center;
}

/* ------------------------------------------------------------------ */
/* Inner pages built from the same ip-* blocks                         */
/* (For Athletes, Coaches, For Coaches, coach profiles)                */
/* ------------------------------------------------------------------ */

/* Shorter hero for listing pages. */
.ip-hero-sm > .ip-wrap {
	padding-block: 96px 88px;
}

.entry-content .ip-hero-sm h1.ip-display {
	font-size: clamp(42px, 6vw, 76px) !important;
}

.entry-content .ip-hero .ip-lead:last-child {
	margin-bottom: 0;
}

/* Steps on a white band: blue numbers, light rules. */
.ip-light-steps .ip-steps {
	border-top-color: #e4e5ea;
}

.ip-light-steps .ip-step + .ip-step {
	border-inline-start-color: #e4e5ea;
}

.entry-content .ip-light-steps .ip-step h3 {
	color: var(--ip-ink);
}

.entry-content .ip-light-steps .ip-step .ip-num {
	color: var(--ip-blue);
}

/* What you get: four features on a dark band. */
.ip-feats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin-top: 56px !important;
}

.ip-feat {
	border-top: 3px solid var(--ip-yellow);
	padding-top: 24px;
}

.entry-content .ip-feat h3 {
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	margin: 0 0 10px;
}

.entry-content .ip-feat p {
	margin: 0;
}

/* Goal cards: white on the light band, three per row. */
.ip-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 56px !important;
}

.ip-gcard {
	background: #fff;
	border-radius: 4px;
	padding: 30px 28px;
	box-shadow: 0 1px 0 #e4e5ea, 0 18px 40px -28px rgba(11, 11, 15, 0.35);
	border-inline-start: 4px solid var(--ip-blue);
}

.entry-content .ip-gcard h3 {
	font-size: 19px;
	font-weight: 800;
	color: var(--ip-ink);
	margin: 0 0 8px;
}

.entry-content .ip-gcard p {
	margin: 0;
}

/* Pricing tiers: the middle one is the dark, featured card. */
.ip-tiers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 56px !important;
	align-items: stretch;
}

.ip-tier {
	border: 1px solid #e4e5ea;
	border-radius: 4px;
	padding: 40px 30px;
	text-align: center;
	background: #fff;
}

.ip-tier-hot {
	background: var(--ip-ink);
	border-color: var(--ip-ink);
	color: #c4c7d0;
	transform: translateY(-10px);
	box-shadow: 0 24px 50px -24px rgba(11, 11, 15, 0.6);
}

.entry-content .ip-tier .ip-tier-price {
	font-size: clamp(34px, 3.6vw, 46px);
	font-weight: 800;
	font-style: italic;
	color: var(--ip-ink);
	line-height: 1;
	margin: 0;
}

.entry-content .ip-tier-hot .ip-tier-price {
	color: var(--ip-yellow);
}

.entry-content .ip-tier-per {
	margin: 8px 0 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ip-muted);
}

.entry-content .ip-tier-what {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid #e4e5ea;
	font-weight: 600;
	color: var(--ip-ink);
}

.entry-content .ip-tier-hot .ip-tier-what {
	border-top-color: var(--ip-line);
	color: #fff;
}

/* FAQ on the light band sits on white rows. */
.ip-mist .ip-faq .wp-block-details {
	border-bottom-color: #d6d7de;
}

/* Coach profile: dark band, portrait beside name, bio and CTA. */
.ip-portrait {
	position: relative;
	max-width: 460px;
}

.ip-portrait img {
	aspect-ratio: 4 / 5;
	object-position: top;
}

.ip-profile .ip-media::before {
	background: var(--ip-blue);
}

.ip-profile .ip-price {
	inset-inline-start: 18px;
	bottom: 18px;
	font-size: 16px;
}

.entry-content .ip-profile h1.ip-display {
	font-size: clamp(44px, 6vw, 80px) !important;
	margin-bottom: 14px;
}

.entry-content .ip-profile .ip-role {
	color: var(--ip-yellow);
	margin: 0 0 24px;
}

.entry-content .ip-profile .ip-split-text p:not(.ip-role) {
	color: #c4c7d0;
}

.ip-profile .ip-ctas {
	justify-content: flex-start;
	margin-top: 32px;
}

/* Profile video, centred on the light band. */
.ip-video .wp-block-video {
	max-width: 880px;
	margin: 0 auto;
}

.ip-video video {
	width: 100%;
	border-radius: 4px;
	background: var(--ip-ink);
	box-shadow: 0 24px 50px -28px rgba(11, 11, 15, 0.55);
}

/* Profile feature rows alternate image side; a row with no image centres. */
.ip-feature-rows > .ip-split + .ip-split {
	margin-top: clamp(64px, 8vw, 110px);
}

.ip-split.ip-rev > .ip-media {
	order: 2;
}

.ip-split.ip-rev .ip-media::before {
	background: var(--ip-blue);
	inset-inline: -18px 18px;
}

.ip-split.ip-solo {
	grid-template-columns: 1fr;
	max-width: 820px;
	text-align: center;
}

.entry-content .ip-feature-rows h2.ip-display {
	font-size: clamp(30px, 3.6vw, 44px) !important;
	margin-bottom: 18px;
}

/* For Coaches: the pitch beside the form card. */
.ip-join .ip-split {
	align-items: start;
}

.ip-form-card {
	background: #fff;
	color: var(--ip-text, #334155);
	border-radius: 4px;
	padding: clamp(24px, 3vw, 40px);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

/* Programs: the nine sport tiles. The images carry their own label. */
.ip-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 56px !important;
}

.ip-tile figure {
	margin: 0;
	overflow: hidden;
	border-radius: 4px;
}

.ip-tile img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ip-tile:hover img {
	transform: scale(1.05);
}

/* Program request: form card beside a dark payment card. The payment
   card holds the original bank details and social links, unchanged. */
.ip-order .ip-split {
	align-items: start;
	grid-template-columns: 3fr 2fr;
}

.ip-order .ip-form-card {
	box-shadow: 0 1px 0 #e4e5ea, 0 30px 60px -36px rgba(11, 11, 15, 0.45);
}

.ip-pay-card {
	position: sticky;
	top: 100px;
	background: var(--ip-ink);
	color: #c4c7d0;
	border-radius: 4px;
	padding: clamp(24px, 3vw, 36px);
	border-top: 5px solid var(--ip-yellow);
}

.ip-pay-card p,
.ip-pay-card strong {
	color: #e3e4e8 !important;
}

.ip-pay-card > p:first-child {
	color: #fff !important;
	font-weight: 800;
	font-size: 18px;
	margin-bottom: 20px;
}

.ip-pay-card .wp-block-media-text {
	background: var(--ip-ink-2);
	border: 1px solid var(--ip-line);
	border-radius: 4px;
	padding: 14px;
	margin-bottom: 14px;
}

.ip-pay-card .wp-block-media-text img {
	background: #fff;
	border-radius: 50%;
	padding: 4px;
}

/* 24-digit account numbers: small enough to stay on one line in the card,
   wrapping only if the card is narrower still. */
.ip-pay-card .wp-block-media-text p {
	font-size: 12px;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.ip-pay-card .wp-block-media-text {
	padding: 12px 10px;
}

.ip-pay-card .wp-block-media-text .wp-block-media-text__content {
	padding-inline: 12px 0 !important;
}

/* ------------------------------------------------------------------ */
/* Contact Form 7 forms (contact, program request, coach applications) */
/* ------------------------------------------------------------------ */

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="number"],
.wpcf7 form input[type="url"],
.wpcf7 form input[type="date"],
.wpcf7 form select,
.wpcf7 form textarea {
	width: 100%;
	border: 1px solid #d6d7de !important;
	border-radius: 3px !important;
	background: #fff !important;
	padding: 12px 14px !important;
	font-size: 16px;
	color: var(--ip-ink);
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpcf7 form input:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus {
	outline: none;
	border-color: var(--ip-blue) !important;
	box-shadow: 0 0 0 3px rgba(54, 51, 225, 0.18) !important;
}

.wpcf7 form label {
	font-weight: 600;
	font-size: 14px;
	color: var(--ip-ink);
}

.wpcf7 form input[type="submit"],
.wpcf7 form .wpcf7-submit {
	background: var(--ip-blue) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	padding: 16px 32px !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.wpcf7 form input[type="submit"]:hover,
.wpcf7 form .wpcf7-submit:hover {
	background: var(--ip-blue-dark) !important;
}

/* The contact page is the form alone: give it a card in the middle. */
body.page .entry-content > .wpcf7:only-child {
	max-width: 760px;
	margin: 0 auto clamp(64px, 8vw, 110px);
	background: #fff;
	padding: clamp(24px, 4vw, 48px);
	border-radius: 4px;
	box-shadow: 0 1px 0 #e4e5ea, 0 30px 60px -36px rgba(11, 11, 15, 0.45);
}

@media (max-width: 900px) {

	.ip-three,
	.ip-coaches,
	.ip-steps,
	.ip-split,
	.ip-cards,
	.ip-tiers {
		grid-template-columns: 1fr;
	}

	.ip-feats,
	.ip-tiles {
		grid-template-columns: 1fr 1fr;
	}

	.ip-order .ip-split {
		grid-template-columns: 1fr;
	}

	.ip-pay-card {
		position: static;
	}

	.ip-split {
		gap: 50px;
	}

	.ip-split.ip-rev > .ip-media {
		order: 0;
	}

	.ip-tier-hot {
		transform: none;
	}

	.ip-step,
	.ip-step + .ip-step {
		padding: 30px 0;
		border-inline-start: 0;
		border-bottom: 1px solid var(--ip-line);
	}

	.ip-light-steps .ip-step,
	.ip-light-steps .ip-step + .ip-step {
		border-bottom-color: #e4e5ea;
	}
}

@media (max-width: 560px) {

	.ip-feats {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {

	.ip-ctas .wp-block-button,
	.ip-ctas .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}

	.ip-stats strong {
		font-size: 32px;
	}

	.entry-content .ip-stats p {
		font-size: 11px;
		letter-spacing: 0.08em;
	}
}

/* ------------------------------------------------------------------ */
/* Section blocks still used by the coaches and programs pages        */
/* ------------------------------------------------------------------ */

/* Dark bands: the problem, how it works. */
.problem-sec,
.how-sec {
	background: var(--ip-ink) !important;
	color: #c4c7d0;
}

.problem-sec h2.wp-block-heading,
.problem-sec h3.wp-block-heading,
.how-sec h2.wp-block-heading,
.how-sec h3.wp-block-heading {
	color: #fff !important;
}

.problem-sec .sec-main-heading,
.how-sec .sec-main-heading {
	color: var(--ip-yellow) !important;
}

.problem-sec p,
.how-sec p {
	color: #c4c7d0;
}

/* Problem: three dark cards with a yellow rule and a ghost number. */
.problem-sec .wp-block-columns {
	counter-reset: ip-problem;
	gap: 22px;
}

.problem-sec .wp-block-column {
	counter-increment: ip-problem;
	position: relative;
	background: var(--ip-ink-2);
	border: 1px solid var(--ip-line);
	border-radius: 4px;
	padding: 34px 30px;
}

.problem-sec .wp-block-column::before {
	content: "";
	display: block;
	width: 34px;
	height: 4px;
	background: var(--ip-yellow);
	margin-bottom: 22px;
}

.problem-sec .wp-block-column::after {
	content: "0" counter(ip-problem);
	position: absolute;
	top: 20px;
	inset-inline-end: 24px;
	font-size: 56px !important;
	font-weight: 800 !important;
	font-style: italic !important;
	line-height: 1 !important;
	color: var(--ip-line);
}

.problem-sec h3.wp-block-heading {
	font-size: 20px !important;
	font-style: italic !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
}

/* Coaches: white cards lifted off a light grey band. */
.team-sec {
	background: var(--ip-mist) !important;
}

.team-sec .ip-coach-card {
	background: #fff;
	border: 0 !important;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 0 #e4e5ea, 0 18px 40px -24px rgba(11, 11, 15, 0.35);
	transition: transform 0.2s ease;
}

.team-sec .ip-coach-card:hover {
	transform: translateY(-4px);
}

.team-sec .ip-coach-card figure img {
	border-radius: 0 !important;
}

.team-sec .ip-coach-card h3.wp-block-heading {
	font-size: 26px !important;
	font-weight: 800 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
}

/* First line under the name is the speciality. */
.team-sec .ip-coach-card h3 + p {
	color: var(--ip-blue);
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
}

/* Price ("499 DH / month") as a yellow tag. */
.team-sec .ip-coach-card .wp-block-group > p:last-of-type {
	align-self: flex-start;
	background: var(--ip-yellow);
	color: var(--ip-ink);
	font-weight: 800 !important;
	padding: 6px 12px;
	border-radius: 3px;
}

.team-sec .ip-coach-card .wp-block-group > p:last-of-type * {
	color: inherit !important;
}

/* What's included: four tick cards. */
.included-sec {
	background: #fff !important;
}

.included-sec .wp-block-column {
	position: relative;
	border-top: 3px solid var(--ip-ink);
	padding-top: 28px;
}

.included-sec .wp-block-column h3.wp-block-heading {
	padding-inline-start: 36px;
	position: relative;
}

.included-sec .wp-block-column h3.wp-block-heading::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.1em;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ip-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* How it works: big yellow step numbers, ruled columns. */
.how-sec .wp-block-columns {
	border-top: 1px solid var(--ip-line);
	gap: 0;
}

.how-sec .wp-block-column {
	padding: 36px 32px 8px;
}

.how-sec .wp-block-column + .wp-block-column {
	border-inline-start: 1px solid var(--ip-line);
}

.how-sec .wp-block-column > p:first-child {
	color: var(--ip-yellow) !important;
	font-size: 64px !important;
	font-weight: 800 !important;
	font-style: italic !important;
	line-height: 1 !important;
	margin-bottom: 14px;
}

.how-sec h3.wp-block-heading {
	font-size: 20px !important;
	font-style: italic !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
}

.how-sec .sec-main-heading a {
	color: var(--ip-yellow);
}

/* Stats: a yellow strip. */
.section-stats-counter {
	background: var(--ip-yellow) !important;
	border-radius: 0 !important;
}

.section-stats-counter .kb-count-up-number {
	font-size: clamp(38px, 4.4vw, 54px) !important;
	font-weight: 800 !important;
	font-style: italic !important;
	color: var(--ip-ink) !important;
	line-height: 1.05 !important;
}

.section-stats-counter .kb-count-up-title,
.section-stats-counter .kb-count-up-title strong {
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	color: var(--ip-ink) !important;
}

/* FAQ: questions as ruled rows. */
.faq-sec h3.wp-block-heading {
	font-size: 18px !important;
	padding-top: 22px;
	border-top: 1px solid #dcdde3;
}

.faq-sec .wp-block-spacer {
	height: 8px !important;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer,
.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap,
.site-footer .site-below-footer-wrap p {
	background-color: var(--ip-ink) !important;
}

.site-footer .site-primary-footer-wrap {
	border-bottom: 1px solid var(--ip-line);
}

.site-footer .site-below-footer-wrap p {
	color: var(--ip-muted) !important;
}

.site-footer .wp-block-heading {
	font-weight: 800 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
}

.site-footer .widget p,
.site-footer .widget a {
	color: var(--ip-muted) !important;
}

.site-footer .widget a:hover {
	color: #fff !important;
}

/* ------------------------------------------------------------------ */
/* Small screens                                                       */
/* ------------------------------------------------------------------ */

@media (max-width: 781px) {

	.how-sec .wp-block-column {
		padding: 28px 0;
	}

	.how-sec .wp-block-column + .wp-block-column {
		border-inline-start: 0;
		border-top: 1px solid var(--ip-line);
	}
}

/* ------------------------------------------------------------------ */
/* Arabic                                                              */
/* ------------------------------------------------------------------ */

.rtl .wp-block-section h2.wp-block-heading,
.rtl .wp-block-section h3.wp-block-heading,
.rtl .wp-block-cover h1,
.rtl .wp-block-cover h2,
.rtl .wp-block-cover h3,
.rtl .site-header .site-title a,
.rtl .site-footer .wp-block-heading,
.rtl .problem-sec .wp-block-column::after,
.rtl .how-sec .wp-block-column > p:first-child,
.rtl .section-stats-counter .kb-count-up-number,
.rtl .entry-content .ip-display,
.rtl .ip-stats strong,
.rtl .ip-pcard::after,
.rtl .entry-content .ip-pcard h3,
.rtl .entry-content .ip-step h3,
.rtl .entry-content .ip-step .ip-num,
.rtl .entry-content .ip-body h3,
.rtl .entry-content .ip-feat h3,
.rtl .entry-content .ip-tier .ip-tier-price {
	font-style: normal !important;
	letter-spacing: 0 !important;
	line-height: 1.3 !important;
}

.rtl .wp-block-section .sec-main-heading,
.rtl .site-header .main-header-menu > .menu-item > .menu-link,
.rtl .section-stats-counter .kb-count-up-title,
.rtl .entry-content .ip-eyebrow,
.rtl .entry-content .ip-trust,
.rtl .entry-content .ip-stats p,
.rtl .entry-content .ip-role,
.rtl .ip-more a,
.rtl .ip-all a {
	letter-spacing: 0 !important;
}

.rtl .ip-display .ip-hl,
.rtl .ip-display .ip-hl strong {
	transform: none;
}

/* Without the slant the title sat flush against the logo on the right. */
.rtl .site-header .ast-site-title-wrap {
	margin-inline-start: 8px;
}


/* ------------------------------------------------------------------ */
/* Cart (iron-cart.js): header icon, "Add to cart" buttons, drawer.    */
/* Checkout opens WhatsApp; there is no on-site payment.               */
/* ------------------------------------------------------------------ */

.ip-cart-toggle {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-inline-end: 12px;
	padding: 0 !important;
	background: transparent !important;
	border: 1px solid var(--ip-line) !important;
	border-radius: 3px !important;
	color: #fff !important;
	cursor: pointer;
	flex: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ip-cart-toggle:hover,
.ip-cart-toggle:focus-visible {
	border-color: var(--ip-yellow) !important;
	background: rgba(255, 255, 255, 0.06) !important;
}

.ip-cart-count {
	position: absolute;
	top: -7px;
	inset-inline-end: -7px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--ip-yellow);
	color: var(--ip-ink);
	font-size: 12px;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
	display: none;
}

.ip-cart-count.has-items {
	display: block;
}

#ast-mobile-header .ip-cart-toggle {
	margin-inline-end: 8px;
}

/* "Add to cart" on coach cards and profiles. */
.ip-cart-add {
	display: block;
	width: 100%;
	margin: 18px 0 0;
	padding: 13px 18px !important;
	background: var(--ip-blue) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.ip-cart-add:hover {
	background: var(--ip-blue-dark) !important;
}

.ip-cart-add.is-in-cart {
	background: var(--ip-ink) !important;
}

.ip-coach .ip-cart-add + .ip-more {
	margin-top: 16px;
}

/* Profile: the cart is the main action, beside the old "Start now". */
.ip-cart-add.ip-cart-add-lg {
	display: inline-flex;
	width: auto;
	margin: 0;
	padding: 16px 28px !important;
	font-size: 16px !important;
	background: var(--ip-yellow) !important;
	color: var(--ip-ink) !important;
}

.ip-cart-add.ip-cart-add-lg.is-in-cart {
	background: #fff !important;
}

.ip-profile .ip-ctas {
	gap: 14px;
	flex-wrap: wrap;
}

body .ip-profile .ip-ctas .ip-yellow .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid currentColor !important;
}

/* Drawer */
html.ip-cart-open {
	overflow: hidden;
}

.ip-cart[hidden] {
	display: none;
}

.ip-cart {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.ip-cart-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 11, 15, 0.6);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.ip-cart-panel {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	width: min(420px, 100%);
	display: flex;
	flex-direction: column;
	background: #fff;
	color: #334155;
	box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.5);
	transform: translateX(100%);
	transition: transform 0.25s ease;
}

.rtl .ip-cart-panel {
	transform: translateX(-100%);
}

.ip-cart.is-open .ip-cart-backdrop {
	opacity: 1;
}

.ip-cart.is-open .ip-cart-panel {
	transform: none;
}

.ip-cart-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	background: var(--ip-ink);
	border-bottom: 4px solid var(--ip-yellow);
}

.ip-cart-head h2 {
	margin: 0;
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
}

.rtl .ip-cart-head h2 {
	font-style: normal;
}

.ip-cart-close {
	background: transparent !important;
	border: 0 !important;
	color: #fff !important;
	font-size: 30px !important;
	line-height: 1;
	padding: 0 4px !important;
	cursor: pointer;
}

.ip-cart-list {
	flex: 1;
	overflow-y: auto;
	padding: 8px 24px;
}

.ip-cart-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 14px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid #e4e5ea;
}

.ip-cart-item img {
	width: 64px;
	height: 76px;
	object-fit: cover;
	object-position: top;
	border-radius: 3px;
}

.ip-cart-coach {
	display: block;
	color: var(--ip-ink) !important;
	font-weight: 800;
	font-size: 16px;
	text-decoration: none;
}

.ip-cart-unit {
	display: block;
	font-size: 13px;
	color: var(--ip-muted);
	margin: 2px 0 10px;
}

.ip-cart-step {
	display: inline-flex;
	align-items: center;
	border: 1px solid #d6d7de;
	border-radius: 3px;
}

.ip-cart-step button {
	width: 32px;
	height: 32px;
	padding: 0 !important;
	background: transparent !important;
	color: var(--ip-ink) !important;
	border: 0 !important;
	font-size: 18px !important;
	cursor: pointer;
}

.ip-cart-step button:disabled {
	color: #c4c7d0 !important;
	cursor: default;
}

.ip-cart-qty {
	min-width: 86px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: var(--ip-ink);
}

.ip-cart-side {
	text-align: end;
}

.ip-cart-line {
	display: block;
	color: var(--ip-ink);
	font-size: 15px;
	white-space: nowrap;
}

.ip-cart-remove {
	margin-top: 8px;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	color: var(--ip-muted) !important;
	font-size: 12px !important;
	text-decoration: underline;
	cursor: pointer;
}

.ip-cart-remove:hover {
	color: #c0262d !important;
}

.ip-cart-empty {
	padding: 48px 0;
	text-align: center;
}

.ip-cart-browse {
	display: inline-block;
	margin-top: 8px;
	padding: 13px 24px;
	background: var(--ip-blue);
	color: #fff !important;
	border-radius: 3px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 14px;
}

.ip-cart-foot {
	padding: 20px 24px 24px;
	border-top: 1px solid #e4e5ea;
	background: var(--ip-mist);
}

.ip-cart-foot[hidden] {
	display: none;
}

.ip-cart-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 16px;
	font-weight: 700;
	color: var(--ip-ink);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 13px;
}

.ip-cart-total strong {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
}

.ip-cart-name {
	display: block;
	margin-bottom: 14px;
}

.ip-cart-name span {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ip-ink);
	margin-bottom: 6px;
}

.ip-cart-name input {
	width: 100%;
	padding: 11px 13px !important;
	border: 1px solid #d6d7de !important;
	border-radius: 3px !important;
	background: #fff !important;
	font-size: 15px;
}

.ip-cart-checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 16px;
	background: #25d366;
	color: #fff !important;
	border-radius: 3px;
	font-weight: 800;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	transition: background-color 0.15s ease;
}

.ip-cart-checkout:hover {
	background: #1eb957;
}

.ip-cart-note {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--ip-muted);
	text-align: center;
}

.rtl .ip-cart-add,
.rtl .ip-cart-total,
.rtl .ip-cart-checkout {
	letter-spacing: 0;
}

/* With the cart icon in the header, the French row overflows by ~40px just
   above Astra's desktop breakpoint. In that narrow band the cart icon stands
   in for the header button; the button is back from 1000px up. */
@media (min-width: 922px) and (max-width: 999px) {

	#ast-desktop-header .ast-header-button-1 {
		display: none !important;
	}

	#ast-desktop-header .ip-cart-toggle {
		margin-inline-end: 0;
	}
}

/* A price tag with no text would show as an empty yellow chip. */
.ip-price:empty {
	display: none;
}
