/*
Theme Name: IPHealth Theme
Theme URI: https://example.com
Author: IPHealth
Description: A modern WordPress block theme converted from the legacy IPHealth classic theme.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: iphtheme
*/

:root {
	--ip-color-title: var(--wp--preset--color--blue);
	--ip-color-primary: var(--wp--preset--color--blue);
	--ip-color-navy: var(--wp--preset--color--navy);
	--ip-color-text: var(--wp--preset--color--text);
	--ip-color-text-muted: var(--wp--preset--color--text-muted);
	--ip-color-surface: var(--wp--preset--color--surface);
	--ip-color-surface-low: var(--wp--preset--color--surface-low);
	--ip-color-surface-high: var(--wp--preset--color--surface-high);
	--ip-color-white: var(--wp--preset--color--white);
	--ip-color-gold: var(--wp--preset--color--gold);
	--ip-color-gold-soft: var(--wp--preset--color--gold-soft);
	--ip-surface-base: rgba(255, 255, 255, 0.98);
	--ip-surface-soft: rgba(250, 250, 250, 0.98);
	--ip-border-base: rgba(0, 37, 133, 0.08);
	--ip-border-strong: rgba(0, 37, 133, 0.14);
	--ip-gradient-primary: linear-gradient(135deg, var(--ip-color-navy), var(--ip-color-primary));
	--ip-gradient-gold: linear-gradient(135deg, var(--ip-color-gold), var(--ip-color-gold-soft));
	--ip-shadow-xs: 0 6px 18px rgba(0, 37, 133, 0.06);
	--ip-shadow-sm: 0 10px 30px rgba(0, 37, 133, 0.08);
	--ip-shadow-md: 0 18px 50px rgba(0, 37, 133, 0.12);
	--ip-shadow-lg: 0 28px 80px rgba(0, 37, 133, 0.16);
	--ip-radius-sm: 18px;
	--ip-radius-md: 24px;
	--ip-radius-lg: 28px;
	--ip-content-width: 1400px;
	--ip-wide-width: 1440px;
	--ip-services-width: 1400px;
	--ip-services-wide-width: 1440px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.7;
}

a {
	color: var(--ip-color-primary);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--ip-color-title);
}

.wp-site-blocks > footer {
	margin-block-start: 0;
}

.wp-block-template-part,
.wp-block-group,
.wp-block-cover,
.wp-block-columns,
.wp-block-column {
	box-sizing: border-box;
}

.iphtheme-header,
.iphtheme-footer,
.ip-home-section,
.ip-content-band {
	padding-left: 0;
	padding-right: 0;
}

.iphtheme-header {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(18px);
	background: var(--ip-gradient-primary);
	box-shadow: 0 16px 42px rgba(0, 37, 133, 0.22);
}

.iphtheme-header__utility,
.iphtheme-header__nav,
.iphtheme-footer__main,
.iphtheme-footer__copyright,
.ip-home-section__inner,
.ip-content-band__inner {
	max-width: var(--ip-wide-width);
	width: min(100%, var(--ip-wide-width));
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 1440px) {
	.iphtheme-header__utility,
	.iphtheme-header__nav,
	.iphtheme-footer__main,
	.iphtheme-footer__copyright {
		max-width: none;
	}
}

.iphtheme-header__utility,
.iphtheme-header__nav {
	background: linear-gradient(135deg, #0057B8 0%, #002585 100%);
}

.iphtheme-header__utility {
	padding: 0 32px;
}

.iphtheme-header__utility + .iphtheme-header__nav {
	margin-top: 0 !important;
	position: relative;
}

.iphtheme-header__utility + .iphtheme-header__nav::before {
	content: "";
	position: absolute;
	top: 0;
	left: 32px;
	right: 32px;
	height: 1px;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 215, 0, .55) 18%, rgba(255, 255, 255, .78) 50%, rgba(255, 215, 0, .55) 82%, rgba(255, 255, 255, 0));
	box-shadow: 0 0 8px rgba(255, 255, 255, .2), 0 0 14px rgba(255, 215, 0, .14);
	opacity: .92;
	z-index: 2;
}

.iphtheme-header__utility-inner,
.iphtheme-header__nav-inner,
.ip-home-section__inner,
.ip-content-band__inner {
	width: min(100%, var(--ip-wide-width));
	max-width: var(--ip-wide-width);
	margin-left: auto;
	margin-right: auto;
}

.iphtheme-header__utility {
	padding: 0 32px;
}

.iphtheme-header__contact,
.iphtheme-header__lang {
	gap: 18px;
}

.iphtheme-header__contact-item,
.iphtheme-header__lang-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}

.iphtheme-header__contact-item {
	color: rgba(255, 255, 255, 0.84);
}

.iphtheme-header__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: var(--ip-color-gold);
	flex: none;
}

.iphtheme-header__contact-icon svg,
.iphtheme-footer__social svg {
	width: 16px;
	height: 16px;
	display: block;
	fill: currentColor;
}

.iphtheme-header__lang {
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 999px;
	padding: 4px 12px;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: var(--wp--preset--color--white);
	font-size: 15px;
	display: inline-flex;
	align-items: center;
}

.iphtheme-header__lang a,
.iphtheme-header__lang span {
	color: rgba(255,255,255,.86) !important;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	line-height: 1;
	padding: 4px 2px;
}

.iphtheme-header__lang .current-lang a,
.iphtheme-header__lang [aria-current="page"],
.iphtheme-header__lang a:hover {
	color: #FFD700 !important;
	font-weight: 700;
}

.iphtheme-header__nav {
	position: relative;
	z-index: 999;
	box-shadow: 0 16px 30px rgba(0, 37, 133, .22);
	padding: 0 32px;
	min-height: 76px;
	background: linear-gradient(135deg, var(--ip-color-primary) 0%, var(--ip-color-navy) 100%);
}

.iphtheme-header__nav-inner {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 24px;
	flex-wrap: nowrap !important;
	min-height: 76px;
}

.iphtheme-header__menu-wrap {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.iphtheme-header__brand {
	flex: 0 0 auto;
	align-self: center;
	display: flex;
	align-items: center;
	height: 76px;
}

.iphtheme-header__menu-wrap {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.iphtheme-header__menu {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: center;
	align-self: center;
	display: flex;
	align-items: center;
	height: 76px;
}

.iphtheme-header__member-wrap {
	flex: 0 0 auto;
	margin-left: auto;
	align-self: center;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 76px;
}

@media (min-width: 1025px) {
	.iphtheme-header__nav.is-sticky {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		padding: 0 16px !important;
		min-height: 76px;
		box-shadow: 0 18px 38px rgba(0, 18, 66, .38);
		border-bottom: 1px solid rgba(255, 255, 255, .14);
		z-index: 9999;
		background: linear-gradient(135deg, var(--ip-color-primary) 0%, var(--ip-color-navy) 100%);
	}

	.iphtheme-header__nav.is-sticky .iphtheme-header__nav-inner {
		min-height: 76px !important;
		align-items: center !important;
	}

	.iphtheme-header__nav.is-sticky .iphtheme-header__brand,
	.iphtheme-header__nav.is-sticky .iphtheme-header__menu,
	.iphtheme-header__nav.is-sticky .iphtheme-header__member-wrap {
		height: 76px;
		align-items: center;
	}
}

.iphtheme-header__mobile-spacer {
	display: none;
}

.iphtheme-header .wp-block-site-title,
.iphtheme-header .wp-block-site-tagline {
	color: var(--wp--preset--color--white);
}

.iphtheme-header .wp-block-site-title {
	font-family: var(--wp--preset--font-family--headline);
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.05;
	margin-bottom: 0.15rem;
}

.iphtheme-header .wp-block-site-tagline {
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.78);
	margin-top: 0;
}

.iphtheme-header__navwrap,
.ip-nav-card {
	padding: 0 0 14px;
}

.iphtheme-header .wp-block-navigation a,
.iphtheme-header__menu .wp-block-navigation-item__content {
	color: rgba(255, 255, 255, .84) !important;
	font-family: "Work Sans", sans-serif;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .015em;
	line-height: 1.15;
	position: relative;
}

.iphtheme-header .wp-block-navigation a:hover,
.iphtheme-header__menu .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--gold-soft);
}

.iphtheme-header .wp-block-navigation__submenu-icon,
.iphtheme-header .wp-block-navigation__submenu-icon svg,
.iphtheme-header .wp-block-navigation__submenu-icon path,
.iphtheme-header .wp-block-navigation .wp-block-navigation__submenu-icon {
	color: rgba(255, 255, 255, .84) !important;
	fill: currentColor !important;
	stroke: currentColor !important;
	margin-left: 0.28em;
}

.iphtheme-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: rgba(0, 87, 184, 0.1) !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: 0;
	box-shadow: none;
}

.iphtheme-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: rgba(255, 255, 255, .92) !important;
}

.iphtheme-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: #0057B8;
}

.iphtheme-header .wp-block-navigation__responsive-container-open,
.iphtheme-header .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--white);
}

.iphtheme-header .wp-block-buttons .wp-block-button__link {
	min-height: 46px;
	padding: 0 22px;
	border-radius: 8px;
}

.iphtheme-header .wp-block-buttons .ip-btn-ghost .wp-block-button__link {
	background: rgba(255, 255, 255, 0.12);
	color: var(--wp--preset--color--white);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.iphtheme-header .wp-block-buttons .ip-btn-primary,
.iphtheme-header .wp-block-buttons .ip-btn-primary .wp-block-button__link {
	box-shadow: none !important;
}

.iphtheme-header .wp-block-buttons .ip-btn-primary .wp-block-button__link {
	background: var(--ip-color-gold-soft);
	color: var(--ip-color-title) !important;
	font-weight: 800;
	border: 0;
	border-radius: 14px;
	min-height: 56px;
	padding: 0 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	text-align: center;
}

.iphtheme-header .wp-block-buttons .ip-btn-primary .wp-block-button__link:hover {
	background: var(--ip-color-gold-soft);
	color: #001a41 !important;
	transform: translateY(-1px);
}

.iphtheme-header__nav .wp-block-site-logo img,
.iphtheme-header__nav .wp-block-site-logo svg {
	max-width: 240px;
	max-height: 92px;
	height: auto;
}

.iphtheme-header__brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.iphtheme-header__brand .custom-logo {
	display: block;
	width: auto;
	height: auto;
	max-height: 92px;
	max-width: 240px;
	object-fit: contain;
}

.iphtheme-header__brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.iphtheme-header__member-wrap {
	color: var(--wp--preset--color--white);
	flex: 0 0 auto;
	min-width: 0;
	align-items: center;
	justify-content: flex-end;
}

.iphtheme-header__member-wrap a,
.iphtheme-header__member-link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	white-space: nowrap;
	min-height: 56px;
	padding: 0 28px;
	border: 0;
	border-radius: 14px;
	background: #FFE16D;
	color: #001a41 !important;
	font-weight: 800;
	box-shadow: none !important;
	line-height: 1;
}

.iphtheme-header__member-wrap a:hover,
.iphtheme-header__member-link:hover {
	background: #ffe57f;
	color: #001a41 !important;
	transform: translateY(-1px);
}

.iphtheme-footer {
	padding-top: 56px;
	padding-bottom: 20px;
	background: linear-gradient(135deg, #0057B8 0%, #002585 100%);
}

.iphtheme-footer__main,
.iphtheme-footer__copyright {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.iphtheme-footer__main {
	position: relative;
	padding-left: 32px;
	padding-right: 32px;
}

.iphtheme-footer__grid {
	gap: 24px;
}

.iphtheme-footer__brand,
.iphtheme-footer__brand a {
	margin: 0 0 20px;
	color: var(--wp--preset--color--white) !important;
	font-family: "Newsreader", Georgia, serif;
	font-size: 32px;
	font-style: italic;
	text-decoration: none;
}

.iphtheme-footer__brand-logo {
	margin: 0 0 20px;
}

.iphtheme-footer__brand-logo img {
	height: 130px;
	width: auto;
	display: block;
}

.iphtheme-footer__social {
	display: flex;
	gap: 14px;
	margin-top: 12px;
}

.iphtheme-footer__social a {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.16);
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.iphtheme-footer__social a svg {
	width: 16px;
	height: 16px;
	display: block;
	fill: currentColor;
}

.iphtheme-footer h3 {
	margin: 0 0 18px;
	color: #fff;
	font-family: "Newsreader", Georgia, serif;
	font-size: 24px;
	text-decoration: none;
}

.iphtheme-footer__col--links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.iphtheme-footer__col-title {
	text-align: left;
	padding-left: 1.25rem;
}

.iphtheme-footer__link-list {
	margin: 0;
	padding: 0 0 0 1.25rem;
	list-style-position: outside;
	width: 100%;
}

.iphtheme-footer__link-list li {
	margin: 0 0 12px;
	text-align: left;
	padding-left: 0;
}

.iphtheme-footer__link-list li:last-child {
	margin-bottom: 0;
}

.iphtheme-footer p,
.iphtheme-footer li {
	color: rgba(255,255,255,.88);
	font-size: 16px;
	line-height: 1.65;
}

.iphtheme-footer a {
	color: rgba(255,255,255,.88);
	font-size: 16px;
	line-height: 1.65;
	text-decoration: none;
}

.iphtheme-footer__grid a:hover {
	color: #FFD700;
}

.iphtheme-footer .wp-block-heading,
.iphtheme-footer .wp-block-list,
.iphtheme-footer .wp-block-list li,
.iphtheme-footer .wp-block-list a {
	color: rgba(255,255,255,.88) !important;
}

.iphtheme-footer__subscribe input {
	width: 100%;
	box-sizing: border-box;
	background: rgba(255,255,255,.1);
	color: var(--wp--preset--color--white);
	border: 0;
	border-radius: 8px 8px 0 0;
	min-height: 52px;
	padding: 0 14px;
}

.iphtheme-footer__subscribe button {
	width: 100%;
	box-sizing: border-box;
	display: block;
	min-height: 52px;
	border: 0;
	border-radius: 8px;
	padding: 0 22px;
	background: #FFD700;
	color: var(--ip-title-color);
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.iphtheme-footer__separator {
	display: block;
	box-sizing: border-box;
	width: min(1400px, 92vw);
	max-width: none;
	height: 1px;
	border: 0;
	margin: 0 auto;
	padding: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 215, 0, .55) 18%, rgba(255, 255, 255, .78) 50%, rgba(255, 215, 0, .55) 82%, rgba(255, 255, 255, 0));
	box-shadow: 0 0 8px rgba(255, 255, 255, .2), 0 0 14px rgba(255, 215, 0, .14);
	opacity: .92;
}

.iphtheme-footer__copyright {
	padding: 4px 32px 6px;
	text-align: center;
	min-height: 0;
}

.iphtheme-footer__copyright p {
	margin: 0;
	color: rgba(255,255,255,.5);
	line-height: 1.2;
	font-size: 13px;
}

.iphtheme-footer__social {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.iphtheme-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--wp--preset--color--gold-soft);
	text-decoration: none;
}

.iphtheme-footer__social a:hover {
	background: rgba(255, 255, 255, 0.16);
	color: var(--wp--preset--color--white);
}

.iphtheme-footer__subscribe {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.iphtheme-footer__subscribe input {
	flex: 1 1 220px;
	min-height: 48px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
	color: var(--wp--preset--color--white);
}

.iphtheme-footer__subscribe input::placeholder {
	color: rgba(255, 255, 255, 0.62);
}

.iphtheme-footer__subscribe button {
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px;
	background: var(--ip-gradient-gold);
	color: var(--ip-title-color);
	font-weight: 700;
}

.ip-home-main > .ip-hero:first-child,
.ip-home-main > .ip-hero {
	margin-top: 0;
}

.ip-hero {
	min-height: clamp(561px, 72.6vh, 682px);
	border-radius: 0;
	overflow: hidden;
	box-shadow: none;
}

.ip-hero::before {
	background: linear-gradient(180deg, rgba(0, 37, 133, 0.22) 0%, rgba(0, 37, 133, 0.12) 46%, rgba(0, 37, 133, 0.06) 100%) !important;
}

.ip-hero__content {
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.ip-hero__content {
	width: min(100%, var(--ip-wide-width));
	max-width: var(--ip-wide-width);
	padding-top: clamp(1.5rem, 8vw, 5rem);
	margin-inline: auto;
}

.ip-home-main .wp-block-cover__inner-container {
	width: 100%;
	max-width: none;
	padding-left: 32px;
	padding-right: 32px;
	box-sizing: border-box;
}

.ip-hero__eyebrow {
	letter-spacing: 0.02em;
	text-transform: none;
	font-size: 0.94rem;
	font-weight: 700;
	color: var(--wp--preset--color--white);
	margin-bottom: 0.65rem;
}

.ip-hero__title {
	font-family: var(--wp--preset--font-family--headline);
	font-size: 38px;
	line-height: 1.08;
	margin: 0 0 0.45rem;
	max-width: 12ch;
}

.ip-hero__subtitle {
	max-width: 46ch;
	font-size: 24px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 1.35rem;
}

.ip-home-main .wp-block-buttons {
	gap: 10px;
}

.ip-btn-primary .wp-block-button__link,
.wp-block-button.ip-btn-primary .wp-block-button__link {
	background: var(--ip-gradient-gold);
	color: var(--ip-color-title);
	border-radius: 14px;
	padding: 1rem 1.6rem;
	min-height: 58px;
	box-shadow: 0 12px 26px rgba(80, 66, 0, 0.18);
}

.ip-btn-ghost .wp-block-button__link,
.wp-block-button.ip-btn-ghost .wp-block-button__link {
	background: rgba(255, 255, 255, 0.08);
	color: var(--wp--preset--color--white);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 14px;
	padding: 1rem 1.6rem;
	min-height: 58px;
}

.ip-section-title {
	font-family: var(--wp--preset--font-family--headline);
	font-size: clamp(1.9rem, 2.2vw, 2.9rem);
	line-height: 1.12;
	margin-top: 0;
}

.ip-services-section {
	--wp--style--global--content-size: 1400px;
	--wp--style--global--wide-size: 1440px;
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
}

.ip-card-grid,
.ip-feature-grid,
.ip-clinics-grid,
.ip-review-grid,
.ip-team-grid,
.ip-media-grid,
.ip-knowledge-grid,
.ip-clinics-grid,
.ip-review-grid {
	gap: 24px;
}

.ip-feature-grid,
.ip-team-grid,
.ip-media-grid,
.ip-knowledge-grid,
.ip-clinics-grid,
.ip-review-grid,
.ip-card-grid {
	--wp--style--block-gap: 24px;
	column-gap: 24px;
	row-gap: 24px;
}

.ip-home-section,
.ip-content-band {
	padding-top: clamp(1rem, 2vw, 1.6rem);
	padding-bottom: clamp(1rem, 2vw, 1.6rem);
}

.ip-membership-grid,
.ip-services-grid .ip-feature-grid {
	max-width: 100%;
}

.ip-home-section + .ip-home-section,
.ip-content-band + .ip-content-band,
.ip-home-section + .ip-content-band,
.ip-content-band + .ip-home-section {
	margin-top: 0;
}

.ip-home-main > .wp-block-group.alignfull.ip-content-band + .wp-block-group.alignfull.ip-content-band {
	margin-top: clamp(3rem, 5.5vw, 4.5rem);
}

.ip-services-grid {
	align-items: stretch;
}

.ip-services-grid--bottom {
	margin-top: 24px;
}

.ip-services-grid > .wp-block-columns,
.ip-services-section > .wp-block-group > .wp-block-group > .wp-block-columns {
	width: min(100%, var(--ip-services-wide-width));
	max-width: var(--ip-services-wide-width);
	margin-left: auto;
	margin-right: auto;
}

.ip-services-grid .wp-block-column {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 0 !important;
	min-width: 0;
}

.ip-services-grid .ip-services-card {
	position: relative;
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--ip-shadow-sm);
	background: transparent;
}

.ip-services-grid .ip-services-card__media,
.ip-services-grid .ip-services-card__media--ratio {
	aspect-ratio: 500 / 310;
	width: 100%;
	height: clamp(180px, 22vw, 248px);
	max-height: 248px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 12px 12px 0 0;
	flex: 0 0 auto;
	position: relative;
	overflow: hidden;
}

.ip-services-grid .ip-services-card__media--ratio {
	min-height: 0 !important;
}

.ip-services-grid .ip-services-card__media .wp-block-cover__inner-container {
	display: none;
}

.ip-services-grid .ip-services-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 37, 133, 0) 62%, rgba(0, 37, 133, 0.06) 78%, rgba(0, 37, 133, 0.16) 100%);
	pointer-events: none;
}

.ip-services-grid .ip-services-card__body {
	flex: 1 1 auto;
	min-height: 124px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 9px;
	padding: 18px 24px 22px;
	background: transparent;
	color: var(--ip-title-color);
	text-align: center;
	position: relative;
	z-index: 1;
}

.ip-services-grid .ip-services-card__body::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -1px;
	transform: translateX(-50%);
	width: 74%;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(0, 37, 133, 0), rgba(0, 37, 133, 0.12), rgba(0, 37, 133, 0));
}

.ip-services-grid .ip-services-card__body h3 {
	margin: 0;
	color: var(--ip-title-color);
	font-size: 1.7rem;
	line-height: 1.15;
	font-family: var(--wp--preset--font-family--headline);
	text-align: center;
}

.ip-services-grid .ip-services-card__body p {
	display: none;
}

.ip-posts-module {
	display: grid;
	gap: 22px;
}

.ip-posts-module__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

.ip-posts-module__heading {
	display: grid;
	gap: 6px;
}

.ip-posts-module__header .ip-kicker,
.ip-posts-module__header .ip-section-title {
	margin-bottom: 0;
}

.ip-view-more-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 0 26px;
	border-radius: 18px;
	background: #FFD700;
	color: #002585;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 8px 0 #b88f00;
}

.ip-view-more-button:hover {
	transform: translateY(-1px);
	background: #ffdf33;
}


/* Article pages */
:is(.ip-template-article-list, .ip-template-article-detail) {
	--ip-page-title-size: 22px;
	--ip-page-copy-size: 20px;
	--ip-page-card-radius: 20px;
	--ip-page-section-gap: 18px;
	--ip-page-body-gap: 12px;
}

:is(.ip-template-article-list, .ip-template-article-detail) .ip-content-band__inner {
	max-width: min(100%, var(--ip-wide-width));
}

:is(.ip-template-article-list, .ip-template-article-detail) :is(.ip-section-title, .ip-news-card__title) {
	color: var(--ip-color-title);
	font-size: var(--ip-page-title-size);
	line-height: 1.15;
}

:is(.ip-template-article-list, .ip-template-article-detail) :is(.ip-news-card__excerpt, .ip-single-content, .ip-article-lead) {
	color: var(--ip-color-title);
	font-size: var(--ip-page-copy-size);
	line-height: 1.7;
}

:is(.ip-template-article-detail .ip-article-detail-sidebar, .ip-posts-module__header) {
	gap: 24px;
}

:is(.ip-template-article-list .ip-news-card__body, .ip-template-article-detail .ip-single-content) {
	gap: var(--ip-page-section-gap);
}

/* Shop pages */
:is(.ip-template-shop-home, .ip-template-shop-list) {
	--ip-page-title-size: 22px;
	--ip-page-copy-size: 20px;
	--ip-page-card-radius: 20px;
	--ip-page-section-gap: 18px;
	--ip-page-body-gap: 12px;
}

:is(.ip-template-shop-home, .ip-template-shop-list) :is(.ip-section-title, .ip-news-card__title) {
	color: var(--ip-color-title);
	font-size: var(--ip-page-title-size);
	line-height: 1.15;
}

:is(.ip-template-shop-home, .ip-template-shop-list) :is(.ip-shop-hero__lead, .ip-lead-copy) {
	color: var(--ip-color-title);
	font-size: var(--ip-page-copy-size);
	line-height: 1.7;
}

:is(.ip-template-shop-home .ip-shop-category-grid, .ip-template-shop-home .ip-shop-hero__content, .ip-template-shop-list .ip-archive-hero, .ip-template-shop-list .ip-posts-module__header) {
	gap: var(--ip-page-section-gap);
}

/* Product pages */
.ip-template-product-detail {
	--ip-page-title-size: 22px;
	--ip-page-copy-size: 20px;
	--ip-page-card-radius: 20px;
	--ip-page-section-gap: 18px;
	--ip-page-body-gap: 12px;
}

.ip-template-product-detail .ip-content-band__inner {
	max-width: min(100%, var(--ip-wide-width));
}

.ip-template-product-detail :is(.ip-section-title, .ip-news-card__title) {
	color: var(--ip-color-title);
	font-size: var(--ip-page-title-size);
	line-height: 1.15;
}

.ip-template-product-detail :is(.ip-product-summary-card, .ip-product-detail-note) {
	color: var(--ip-color-title);
	font-size: var(--ip-page-copy-size);
	line-height: 1.7;
}

.ip-template-product-detail .ip-product-summary-card {
	gap: var(--ip-page-section-gap);
}

/* Shared card shell */
:is(.ip-news-card, .ip-news-card__media, .ip-news-card__body) {
	border-radius: var(--ip-page-card-radius);
}

:is(.ip-news-card, .ip-posts-grid) {
	gap: 24px;
}

.ip-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ip-news-card {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--white);
	overflow: hidden;
	box-shadow: var(--ip-shadow-sm);
}

.ip-news-card__media {
	overflow: hidden;
	background: var(--ip-color-surface-low);
	aspect-ratio: 500 / 310;
}

.ip-news-card__image,
.ip-news-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ip-news-card__body {
	display: grid;
	gap: var(--ip-page-body-gap);
	padding: 22px;
}

.ip-news-card__title {
	margin: 0;
}

.ip-news-card__title a,
.ip-news-card__link a {
	text-decoration: none;
}

.ip-news-card__excerpt {
	margin: 0;
	color: var(--wp--preset--color--text-muted);
}

.ip-news-card__link {
	margin: 0;
	font-weight: 700;
}

.ip-news-empty {
	margin: 0;
}

.ip-news-card__media--empty {
	background: linear-gradient(135deg, rgba(0, 37, 133, 0.06), rgba(255, 215, 0, 0.12));
}

.ip-news-card__category {
	margin: 0 0 0.55rem;
	color: var(--wp--preset--color--gold);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ip-services-grid .ip-services-card__body .wp-block-buttons {
	margin: 0;
	display: flex;
	justify-content: center;
	width: 100%;
}

.ip-services-grid .ip-services-card__body .wp-block-button {
	margin: 0;
	display: flex;
	justify-content: center;
}

.ip-services-grid .ip-services-card__body .wp-block-button__link {
	background: var(--ip-gradient-gold) !important;
	color: var(--ip-title-color) !important;
	border: 0 !important;
	border-radius: 14px !important;
	padding: 0 28px !important;
	min-height: 56px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.ip-services-grid .ip-services-card__body .wp-block-button__link:hover {
	background: linear-gradient(90deg, #0057B8 0%, #002585 100%) !important;
	color: #FAFAFA !important;
	transform: translateY(-1px);
}

.ip-services-grid .ip-services-card__body a {
	color: var(--wp--preset--color--navy) !important;
}

.ip-services-grid .ip-services-card__body p {
	color: var(--ip-title-color);
	text-align: center;
}

.ip-services-grid .ip-services-card__body > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 781px) {
	.ip-services-grid > .wp-block-columns {
		width: 100%;
		max-width: 100%;
	}

	.ip-services-grid .wp-block-column {
		gap: 24px;
	}
}

.ip-team-card {
	min-height: 360px;
}

.ip-knowledge-card {
	min-height: 240px;
}

.ip-membership-module {
	padding-top: clamp(1rem, 2vw, 1.5rem);
}

.ip-membership-module__subtitle {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
	color: var(--wp--preset--color--text-muted);
}

.ip-membership-grid {
	align-items: stretch;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.ip-membership-card {
	padding: 28px 26px 26px;
	min-height: 360px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 12px 0 rgba(0, 37, 133, 0.18), 0 18px 0 rgba(0, 37, 133, 0.08), 0 24px 42px rgba(0, 37, 133, 0.14);
	border: 1px solid rgba(0, 37, 133, 0.1);
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.ip-membership-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 0 rgba(0, 37, 133, 0.2), 0 22px 0 rgba(0, 37, 133, 0.1), 0 32px 56px rgba(0, 37, 133, 0.18);
}

.ip-membership-card--featured {
	background: linear-gradient(135deg, #1565c0 0%, #0b42a0 100%);
	color: rgba(255, 255, 255, 0.96);
	box-shadow: 0 16px 0 rgba(0, 37, 133, 0.22), 0 22px 0 rgba(0, 37, 133, 0.1), 0 28px 50px rgba(31, 86, 181, 0.24);
	border-color: rgba(255, 255, 255, 0.14);
}

.ip-membership-card--featured:hover {
	box-shadow: 0 20px 0 rgba(0, 37, 133, 0.24), 0 28px 0 rgba(0, 37, 133, 0.12), 0 36px 64px rgba(31, 86, 181, 0.28);
}

.ip-membership-card__title {
	font-family: var(--wp--preset--font-family--headline);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	margin: 0 0 0.55rem;
	color: inherit;
}

.ip-membership-card__price {
	font-family: var(--wp--preset--font-family--body);
	font-size: 2.4rem;
	line-height: 1;
	text-align: left;
	margin: 0 0 1.35rem;
	color: inherit;
}

.ip-membership-card__price small {
	font-size: 1rem;
	font-weight: 600;
}

.ip-membership-card ul {
	list-style: disc;
	padding-left: 1.25rem;
	margin: 0 0 1rem;
}

.ip-membership-card li {
	position: relative;
	padding-left: 0;
	margin-bottom: 0.55rem;
	font-size: 20px;
	line-height: 1.25;
	color: inherit;
}

.ip-membership-card li::before {
	content: none;
}

.ip-membership-btn .wp-block-button__link,
.wp-block-button.ip-membership-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 54px;
	padding: 0.95rem 1.55rem;
	border-radius: 8px;
	font-weight: 800;
	text-align: center;
	box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}

.ip-membership-btn--gold .wp-block-button__link,
.wp-block-button.ip-membership-btn--gold .wp-block-button__link {
	background: linear-gradient(180deg, #ffe57a 0%, #f8d75c 100%);
	color: #1f1f1f;
}

.ip-media-card {
	min-height: 340px;
}

.ip-faq-item {
	min-height: 0;
}

.ip-slider {
	padding: 0;
}

.ip-slider__viewport {
	position: relative;
	width: 100%;
	aspect-ratio: 1660 / 945;
	border-radius: 18px;
	overflow: hidden;
	background: var(--wp--preset--color--white);
	box-shadow: var(--ip-shadow-sm);
}

.ip-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.01);
	transition: opacity 700ms ease, transform 700ms ease;
	margin: 0;
}

.ip-slider__slide.is-active {
	opacity: 1;
	transform: scale(1);
	z-index: 1;
}

.ip-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ip-slider__slide figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.92);
	color: #4a4a4a;
	font-size: 1.05rem;
	line-height: 1.45;
	text-align: center;
	backdrop-filter: blur(8px);
}

.ip-team-card {
	text-align: center;
	padding: 18px 16px 12px;
	min-height: 450px;
	border-radius: 18px;
}

.ip-team-avatar {
	margin: 0 0 38px;
}

.ip-team-avatar img {
	width: 252px;
	height: 252px;
	object-fit: cover;
	border-radius: 999px;
	border: 6px solid rgba(0, 37, 133, 0.06);
	box-shadow: 0 18px 30px rgba(0, 37, 133, 0.12);
	margin-inline: auto;
}

.ip-surface-card,
.ip-footer-card,
.iphtheme-footer .wp-block-navigation a,
.iphtheme-header .wp-block-button__link {
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, border-radius 180ms ease;
}

.ip-brand-story-gallery {
	display: grid;
	gap: 7px;
}

.ip-brand-story-gallery__slider {
	display: grid;
	gap: 5px;
}

.ip-brand-story-gallery__viewport {
	position: relative;
	aspect-ratio: 1280 / 770;
	overflow: hidden;
	border-radius: 18px;
	box-shadow: 0 14px 28px rgba(0, 37, 133, 0.12);
	background: #f4f7fb;
}

.ip-brand-story-gallery__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 450ms ease;
	pointer-events: none;
}

.ip-brand-story-gallery__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.ip-brand-story-gallery__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ip-brand-story-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	cursor: pointer;
	z-index: 2;
	padding: 0;
	width: 34px;
	height: 34px;
}

.ip-brand-story-gallery__nav::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 13px;
	height: 13px;
	border-top: 2px solid rgba(255, 255, 255, 0.82);
	border-right: 2px solid rgba(255, 255, 255, 0.82);
	transform: translate(-50%, -50%) rotate(45deg);
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.32));
}

.ip-brand-story-gallery__nav--prev {
	left: 10px;
}

.ip-brand-story-gallery__nav--prev::before {
	transform: translate(-50%, -50%) rotate(225deg);
}

.ip-brand-story-gallery__nav--next {
	right: 10px;
}

.ip-brand-story-gallery__nav--next::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.ip-brand-story-gallery__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.ip-brand-story-gallery__dot {
	width: 10px;
	height: 10px;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 37, 133, 0.22);
	padding: 0;
	cursor: pointer;
}

.ip-brand-story-gallery__dot.is-active {
	background: var(--ip-color-primary);
	transform: scale(1.2);
}

.ip-brand-story-gallery__caption {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--ip-color-title);
	text-align: left;
}

.ip-specialty-panel {
	padding: 28px 30px 24px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.98));
	box-shadow: 0 14px 28px rgba(0, 37, 133, 0.08);
	border-radius: 18px;
}

.ip-specialty-list {
	margin: 0;
	padding-left: 1.15rem;
	text-align: left;
	columns: 1;
	font-size: 22px;
	color: #0057B8;
}

.ip-specialty-list li {
	margin: 0 0 0.72rem;
	padding-left: 0.2rem;
	line-height: 1.45;
}

.ip-specialty-list li::marker {
	color: #0057B8;
}

.ip-news-grid {
	align-items: stretch;
}

.ip-news-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--wp--preset--color--white);
	border-radius: 12px;
	box-shadow: var(--ip-shadow-sm);
	overflow: hidden;
}

.ip-news-card__media {
	width: 100%;
	aspect-ratio: 500 / 310;
	background: #f4f7fb;
	border-bottom: 1px solid rgba(0, 37, 133, 0.08);
	overflow: hidden;
}

.ip-news-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ip-news-card__media--empty {
	min-height: 0;
}

.ip-news-card__body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
}

.ip-news-card__category {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--blue);
}

.ip-news-card__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--headline);
	font-size: clamp(1.45rem, 1.55vw, 1.75rem);
	line-height: 1.15;
	color: var(--ip-color-title);
}

.ip-news-card__excerpt {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--wp--preset--color--text);
}

.ip-news-card__link {
	margin: 4px 0 0;
}

.ip-news-card__link a {
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: var(--wp--preset--color--blue);
}

.ip-news-card__link a:hover {
	color: var(--ip-color-title);
}

.ip-news-card__body > *:last-child {
	margin-bottom: 0;
}

.ip-surface-card:hover,
.ip-review-card:hover,
.ip-team-card:hover,
.ip-knowledge-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--ip-shadow-md);
	border-radius: 18px;
}

.ip-review-card {
	border-radius: 20px;
}

.iphtheme-header .wp-block-buttons .wp-block-button__link:hover,
.ip-btn-primary .wp-block-button__link:hover,
.wp-block-button.ip-btn-primary .wp-block-button__link:hover,
.ip-btn-ghost .wp-block-button__link:hover,
.wp-block-button.ip-btn-ghost .wp-block-button__link:hover {
	transform: translateY(-1px);
}

.iphtheme-header .wp-block-navigation a,
.iphtheme-footer .wp-block-navigation a {
	text-decoration: none;
	padding: 0.15rem 0;
}

.ip-card h3,
.ip-surface-card h3,
.ip-review-card h3,
.ip-team-card h3,
.ip-knowledge-card h3,
.ip-media-card h3 {
	margin-top: 0;
	font-family: var(--wp--preset--font-family--headline);
	color: var(--ip-color-title);
}

.ip-team-card h3 {
	font-size: 20px;
	margin-top: 20px;
	margin-bottom: 0.25rem;
}

.ip-team-card p {
	margin-bottom: 0.6rem;
	font-size: 18px;
	color: var(--wp--preset--color--text-muted);
}

.ip-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
	margin-bottom: 0.85rem;
}

.ip-clinics-grid .ip-kicker {
	color: #0057B8;
	font-size: 1.1rem;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.25;
}

.ip-kicker::before {
	content: "";
	width: 0.8rem;
	height: 0.8rem;
	border-radius: 999px;
	background: currentColor;
	opacity: 0.85;
}

.ip-kicker--spacer {
	visibility: hidden;
}

.ip-media-card {
	padding: 0;
}

.ip-media-card__thumb,
.ip-media-cover {
	min-height: 200px;
	background: var(--ip-gradient-primary);
	color: white;
	padding: 24px;
	display: flex;
	align-items: flex-end;
	position: relative;
}

.ip-media-card__thumb::after,
.ip-media-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(255, 226, 138, 0.22), transparent 40%);
	pointer-events: none;
}

.ip-media-card__thumb > *,
.ip-media-cover > * {
	position: relative;
	z-index: 1;
}

.ip-media-card > .wp-block-group:last-child {
	padding: 18px 22px 22px;
}

.ip-faq-stack {
	max-width: 920px;
	margin-inline: auto;
}

.ip-faq-item {
	background: var(--wp--preset--color--white);
	border: 0;
	border-radius: 20px;
	box-shadow: var(--ip-shadow-sm);
	padding: 1.15rem 1.25rem;
	margin-bottom: 16px;
}

.ip-faq-stack .ip-faq-item {
	margin-bottom: 0;
}

.ip-faq-item summary {
	font-family: var(--wp--preset--font-family--headline);
	font-size: 22px;
	font-weight: 700;
	color: #0057B8;
	cursor: pointer;
}

.ip-kicker--spacer {
	min-height: 1.2rem;
	margin-bottom: 0.5rem;
}

.ip-faq-item[open] summary {
	margin-bottom: 0.75rem;
}

.ip-faq-item p {
	font-size: 20px;
}

.ip-timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.ip-timeline__item {
	height: 100%;
	border-radius: 18px;
}

.ip-timeline__item .ip-kicker {
	color: #0057B8;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.ip-timeline__item .ip-kicker::before {
	background: #0057B8;
}

.ip-review-card .ip-kicker {
	color: #0057B8;
	font-size: 18px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	margin-bottom: 0.35rem;
}

.ip-review-card .ip-kicker::before {
	background: #0057B8;
}

.ip-insurance-item__kicker {
	color: #0057B8;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.ip-insurance-item__kicker::before {
	color: #0057B8;
}

.ip-insurance-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 92px;
	padding: 18px 22px;
	background: var(--wp--preset--color--white);
	border: 0;
	border-radius: 20px;
	box-shadow: var(--ip-shadow-sm);
}

.ip-insurance-logo {
	max-height: 36px;
	width: auto;
	object-fit: contain;
}

.ip-home-main .wp-block-group.alignfull {
	margin-top: 0;
}

.ip-home-main > .wp-block-cover.ip-hero {
	margin-top: 0;
}

.ip-home-main > .wp-block-cover.ip-hero + .wp-block-group {
	margin-top: 0;
}

.wp-site-blocks > main.ip-home-main {
	margin-top: 0;
	padding-top: 0;
}

.ip-home-main > .wp-block-group.alignfull.ip-content-band,
.ip-home-main > .wp-block-group.alignfull.ip-home-section {
	padding-left: 0;
	padding-right: 0;
}

.ip-home-section,
.ip-content-band {
	position: relative;
}

.ip-home-section:nth-of-type(odd),
.ip-content-band:nth-of-type(odd) {
	background: var(--wp--preset--color--surface);
}

.ip-home-section:nth-of-type(even),
.ip-content-band:nth-of-type(even) {
	background: var(--wp--preset--color--surface);
}

.ip-home-section::before,
.ip-content-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(0,37,133,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0,37,133,0.02) 1px, transparent 1px);
	background-size: 42px 42px;
	pointer-events: none;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent 80%);
}

.ip-home-section > .ip-home-section__inner,
.ip-content-band > .ip-content-band__inner {
	position: relative;
	z-index: 1;
	padding-left: 32px;
	padding-right: 32px;
}

.ip-archive-hero,
.ip-post-card {
	box-shadow: var(--ip-shadow-sm);
}


@media (max-width: 1080px) {
	.ip-timeline {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1024px) {
	.ip-posts-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ip-news-card {
		max-width: 100%;
	}

	body.iphtheme-header-is-scrolled {
		padding-top: 76px;
	}

	.iphtheme-header__utility,
	.iphtheme-header__utility + .iphtheme-header__nav::before {
		display: none;
	}

	.iphtheme-header__nav.is-sticky::before {
		display: none;
	}

	.iphtheme-header__nav,
	.iphtheme-footer__main {
		padding-left: 12px;
		padding-right: 12px;
	}

	.iphtheme-header__nav,
	.iphtheme-header__nav.is-sticky {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		width: auto;
		padding: 0 16px !important;
		min-height: 76px;
		box-shadow: 0 16px 30px rgba(0, 37, 133, .22);
		border-bottom: 0;
	}

	.iphtheme-header__nav-inner,
	.iphtheme-header__nav.is-sticky .iphtheme-header__nav-inner {
		display: flex !important;
		min-height: 76px !important;
		height: auto !important;
		gap: 24px;
		align-items: center !important;
		justify-content: flex-start;
		flex-wrap: nowrap !important;
	}

	.iphtheme-header__brand,
	.iphtheme-header__member-wrap,
	.iphtheme-header__menu {
		align-self: center;
		display: flex;
		align-items: center;
	}

	.iphtheme-header__brand {
		flex: 0 0 auto;
		height: 76px;
		padding: 0;
	}

	.iphtheme-header__logo-link {
		display: flex;
		align-items: center;
		height: 100%;
	}

	.iphtheme-header__logo-link .custom-logo {
		display: block;
		max-height: 40px;
		max-width: 240px;
		height: auto;
		margin-top: 0;
		margin-bottom: 0;
	}

	.iphtheme-header__menu {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: center;
		height: 76px;
	}

	.iphtheme-header__menu .wp-block-navigation-item {
		padding: 0 8px;
	}

	.iphtheme-header__menu .wp-block-navigation-item__content {
		font-size: 19px;
		line-height: 1.15;
		padding-bottom: 0;
	}

	.iphtheme-header__menu .wp-block-navigation-item__content::after {
		bottom: -5px;
		height: 1px;
	}

	.iphtheme-header__member-link {
		min-height: 36px;
		padding: 0 16px;
		font-size: 14px;
		box-shadow: 0 6px 14px rgba(70, 90, 130, 0.16), 0 2px 0 rgba(80,66,0,0.28), inset 0 1px 0 rgba(255,255,255,.55);
	}

	.iphtheme-header__cta-wrap {
		display: none !important;
	}

	.iphtheme-footer__main {
		display: none;
	}

	.iphtheme-footer__separator {
		display: none;
	}
}

@media (max-width: 781px) {
	.iphtheme-header,
	.iphtheme-footer,
	.ip-home-section,
	.ip-content-band {
		padding-left: 0;
		padding-right: 0;
	}

	.ip-template-page .ip-page-hero {
		padding-top: 0;
		padding-bottom: 0;
	}

	.ip-template-page .ip-page-hero .ip-kicker,
	.ip-template-page .ip-page-hero .ip-kicker::before {
		display: none;
	}

	.ip-template-page .ip-page-hero {
		gap: 0;
	}

	.ip-home-main .wp-block-columns.alignwide,
	.ip-template-article-detail .wp-block-columns.alignwide,
	.ip-template-product-detail .wp-block-columns.alignwide {
		margin-left: 0;
		margin-right: 0;
	}

	.ip-home-section > .ip-home-section__inner,
	.ip-content-band > .ip-content-band__inner,
	.ip-home-main .wp-block-cover__inner-container {
		padding-left: 8px;
		padding-right: 8px;
	}

	.ip-brand-story-gallery__viewport {
		aspect-ratio: 1280 / 770;
	}

	.ip-brand-story-gallery__nav {
		width: 30px;
		height: 30px;
	}

	.ip-brand-story-gallery__nav--prev {
		left: 8px;
	}

	.ip-brand-story-gallery__nav--next {
		right: 8px;
	}

	.ip-brand-story-gallery__nav span::before {
		width: 11px;
		height: 11px;
	}

	.ip-brand-story-gallery__caption {
		font-size: 0.98rem;
		line-height: 1.6;
	}

	.ip-template-shop-home .ip-btn-ghost,
	.ip-template-shop-list .ip-shop-toolbar,
	.ip-template-product-detail .ip-product-tabs-wrap,
	.ip-template-article-detail .ip-article-share,
	.ip-template-article-detail .ip-article-detail-sidebar,
	.ip-template-shop-home .ip-shop-category-grid {
		display: none;
	}

	.ip-clinics-grid {
		flex-direction: column;
	}

	.ip-clinics-grid > .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
	}

	.ip-posts-module__header {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 12px;
	}

	.ip-posts-module__heading {
		justify-items: center;
		text-align: center;
	}

	.ip-posts-module__heading .ip-section-title {
		font-size: clamp(1.35rem, 5.6vw, 1.6rem);
	}

	.ip-posts-module__action {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.ip-template-article-detail .ip-single-hero,
	.ip-template-article-detail .ip-single-content,
	.ip-template-article-detail .ip-sidebar-card,
	.ip-template-product-detail .ip-product-summary-card,
	.ip-template-product-detail .ip-product-tabs-wrap {
		padding-left: 14px;
		padding-right: 14px;
	}

	.iphtheme-header {
		backdrop-filter: none;
	}

	.ip-hero {
		border-radius: 0;
		min-height: 560px;
	}

	.ip-hero__content {
		padding-top: clamp(1.25rem, 6vw, 3rem);
	}

	.ip-hero__eyebrow,
	.ip-hero__title,
	.ip-hero__subtitle {
		width: 100%;
		max-width: none;
	}

	.ip-hero__eyebrow {
		font-size: 0.88rem;
		margin-bottom: 0.5rem;
	}

	.ip-hero__title {
		font-size: 30px;
		line-height: 1.12;
		margin-bottom: 0.6rem;
	}

	.ip-hero__subtitle {
		font-size: 21px;
		line-height: 1.28;
		margin-bottom: 1.6rem;
	}

	.ip-home-main .wp-block-buttons {
		gap: 14px;
		margin-top: 0.15rem;
	}

	.ip-home-main .wp-block-buttons .wp-block-button {
		width: 100%;
	}

	.ip-home-main .wp-block-buttons .wp-block-button__link {
		width: 100%;
		max-width: 100%;
		justify-content: center;
		padding-left: 2.08rem;
		padding-right: 2.08rem;
	}

	.iphtheme-header__utility,
	.iphtheme-header__nav {
		padding-left: 10px;
		padding-right: 10px;
	}

	.iphtheme-header__utility {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.iphtheme-header__nav {
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.iphtheme-header__utility-inner,
	.iphtheme-header__nav-inner,
	.iphtheme-footer__grid {
		gap: 14px;
	}

	.iphtheme-header__utility-inner {
		align-items: center;
	}

	.iphtheme-header__nav-inner {
		align-items: center;
		justify-content: center;
		gap: 12px;
		position: relative;
		min-height: 56px;
	}

	.iphtheme-header__contact,
	.iphtheme-header__lang,
	.iphtheme-header__member-wrap {
		display: none;
	}

	.iphtheme-header__menu {
		width: auto;
		height: auto;
		justify-content: flex-start;
		flex: 0 0 auto;
		margin-right: auto;
		margin-left: 0;
	}

	.iphtheme-header__brand {
		order: 0;
		height: auto;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		margin: 0;
		flex: 0 1 auto;
		justify-content: center;
		width: auto;
		z-index: 2;
		pointer-events: none;
	}

	.iphtheme-header__brand a,
	.iphtheme-header__brand .custom-logo-link {
		pointer-events: auto;
	}

	.iphtheme-header__brand .custom-logo-link,
	.iphtheme-header__brand .custom-logo {
		display: block;
		margin: 0 auto;
	}

	.iphtheme-header__mobile-spacer {
		display: none;
	}

	.iphtheme-header__nav .wp-block-site-logo img,
	.iphtheme-header__nav .wp-block-site-logo svg,
	.iphtheme-header__brand .custom-logo {
		max-width: 180px;
		max-height: 48px;
	}

	.iphtheme-header .wp-block-navigation__responsive-container-open {
		width: 34px;
		height: 34px;
		min-width: 34px;
		padding: 0;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		border: 0;
		border-radius: 0;
		background: transparent;
		font-size: 0;
		position: relative;
		box-shadow: none;
		visibility: visible !important;
		opacity: 1 !important;
		z-index: 25;
		pointer-events: auto !important;
		flex: 0 0 auto;
		margin-left: 0;
	}

	.iphtheme-header__menu .wp-block-navigation__responsive-container-open {
		position: relative;
		left: 0;
		top: 0;
		transform: none;
	}

	.iphtheme-header .wp-block-navigation__responsive-container-open::before {
		content: "☰";
		position: static;
		width: auto;
		height: auto;
		background: none;
		box-shadow: none;
		font-size: 20px;
		line-height: 1;
		font-weight: 700;
		color: #fff;
	}

	.iphtheme-header .wp-block-navigation__responsive-container-open::after,
	.iphtheme-header .wp-block-navigation__responsive-container-open svg {
		display: none !important;
	}

	.iphtheme-header .wp-block-navigation__responsive-container,
	.iphtheme-header .wp-block-navigation__responsive-container-content {
		background: #fff;
	}

	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
		gap: 0;
	}

	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
		width: 100%;
		border-bottom: 1px solid rgba(0, 37, 133, 0.08);
	}

	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content,
	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:visited,
	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:hover,
	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:focus,
	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:active {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 4px 8px;
		color: #0057B8 !important;
		font-size: 18px;
		font-weight: 700;
	}

	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
		margin: 0;
		padding-left: 6px;
		padding-top: 0;
		gap: 0;
		background: rgba(255, 255, 255, 0.98);
		border-left: 2px solid rgba(0, 87, 184, 0.18);
	}

	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item {
		border-bottom: 0;
	}

	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content:visited,
	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus,
	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content:active {
		padding: 3px 8px;
		font-size: 16px;
		font-weight: 600;
		color: #0057B8 !important;
	}

	.iphtheme-header .wp-block-navigation__responsive-container-close {
		position: absolute;
		top: 14px;
		right: 14px;
		width: 36px;
		height: 36px;
		min-width: 36px;
		padding: 0;
		border-radius: 999px;
		border: 1px solid rgba(0, 37, 133, 0.12);
		background: #fff;
		color: var(--ip-color-navy);
		box-shadow: 0 8px 20px rgba(0, 37, 133, 0.12);
	}

	.iphtheme-header .wp-block-navigation__submenu-icon {
		margin-left: 12px;
		width: 12px;
		height: 12px;
		color: var(--ip-color-primary);
	}

	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
		padding-left: 14px;
		padding-top: 0;
		gap: 0;
		background: rgba(0, 87, 184, 0.78);
		backdrop-filter: blur(14px);
	}

	.iphtheme-header .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		font-size: 16px;
		font-weight: 600;
		padding: 12px 8px;
	}

	.iphtheme-footer {
		padding-top: 24px !important;
		padding-bottom: 0 !important;
		background: linear-gradient(135deg, #0057B8 0%, #002585 100%) !important;
	}

	.iphtheme-footer__main {
		padding-left: 10px !important;
		padding-right: 10px !important;
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}

	.iphtheme-footer__grid {
		gap: 10px;
	}

	.iphtheme-footer__separator {
		margin-top: 0;
		margin-bottom: 0;
	}

	.iphtheme-footer__copyright {
		padding: 0 8px 0 !important;
		min-height: 0 !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.iphtheme-footer__copyright p {
		font-size: 12px;
		line-height: 1;
		margin: 0;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
