/* Approved hero-only Figma styling; shared presets retain design ownership. */
.wp-block-cover.urospot-hero.is-style-section {
 padding-top: var(--wp--preset--spacing--64);
 padding-bottom: var(--wp--preset--spacing--64);
 min-height: 0;
 overflow: hidden;
 color: var(--wp--preset--color--white);
}
.urospot-hero > .wp-block-cover__background {
 background: var(--wp--preset--gradient--hero-overlay);
 opacity: 1;
 z-index: 2;
}
.urospot-hero > .wp-block-cover__inner-container { position: relative; z-index: 3; width: 100%; }
.urospot-hero__content { max-width: var(--wp--custom--hero--copy-width); min-width: 0; }
.urospot-hero__heading sup { font-size: var(--wp--custom--hero--heading-mark-size); vertical-align: super; line-height: 0; }
.wp-block-cover.urospot-hero .urospot-hero__tagline {
 background: var(--wp--preset--color--black);
 padding: var(--wp--preset--spacing--12);
 width: fit-content;
 max-width: 100%;
 font-weight: 700;
 line-height: 1.5;
}
.urospot-hero__tagline em {
 font-style: normal;
 background: var(--wp--preset--gradient--hero-tagline);
 background-clip: text;
 -webkit-background-clip: text;
 color: transparent;
}
.urospot-hero__conditions { list-style: none; padding: 0; margin: 0; }
.urospot-hero__conditions li {
 position: relative;
 padding-left: calc(var(--wp--custom--hero--icon-size) + var(--wp--preset--spacing--12));
 min-height: var(--wp--custom--hero--icon-size);
 margin: 0;
}
.urospot-hero__conditions li + li { margin-top: var(--wp--preset--spacing--12); }
.urospot-hero__conditions li::before {
 content: ''; position: absolute; left: 0; top: 0;
 width: var(--wp--custom--hero--icon-size); height: var(--wp--custom--hero--icon-size);
 background: url('../../images/urospot-checkbox.svg') center / contain no-repeat;
}
.urospot-hero__clinic .wp-block-button__link { display: inline-flex; align-items: center; gap: var(--wp--preset--spacing--12); }
.urospot-hero__clinic .wp-block-button__link::after {
 content: ''; order: -1; flex-shrink: 0;
 /* Align the pin with the visible capital letters rather than the line box. */
 transform: translateY(-2px);
 width: var(--wp--custom--hero--location-width); height: var(--wp--custom--hero--location-height);
 background-color: currentColor;
 mask: url('../../images/urospot-clinic-location.svg') center / contain no-repeat;
 -webkit-mask: url('../../images/urospot-clinic-location.svg') center / contain no-repeat;
}
.urospot-hero__clinic .wp-block-button__link:hover {
 background: transparent !important;
 border-color: var(--wp--preset--color--primary);
 color: var(--wp--preset--color--primary) !important;
}
.urospot-hero .wp-block-button__link:focus-visible { outline: 3px solid var(--wp--preset--color--white); outline-offset: var(--wp--preset--spacing--4); }
.urospot-hero__press { margin-top: var(--wp--preset--spacing--96) !important; }
.urospot-hero__press-label { line-height: var(--wp--custom--line-height--button); font-weight: 700; }
.urospot-hero__divider img { width: var(--wp--custom--hero--divider-width); height: var(--wp--custom--hero--divider-height); display: block; }
.urospot-hero__logos { gap: var(--wp--preset--spacing--32); min-width: 0; }
.urospot-hero__logos .wp-block-image { margin: 0; flex-shrink: 0; }
.urospot-hero__logos img { display: block; height: auto; max-width: 100%; }
.urospot-hero__logo-cityline { width: var(--wp--custom--hero--logos--cityline); }
.urospot-hero__logo-iheart { width: var(--wp--custom--hero--logos--iheart); }
.urospot-hero__logo-rogers { width: var(--wp--custom--hero--logos--rogers); }
.urospot-hero__logo-canadiansme { width: var(--wp--custom--hero--logos--canadiansme); }
.urospot-hero__logo-ctv { width: var(--wp--custom--hero--logos--ctv); }
/* Adapted from Yazdani: editable media moves beneath the Cover overlay. */
.urospot-hero__video { display: none; }
.urospot-hero > .urospot-hero__video {
 position: absolute; inset: 0; z-index: 1; pointer-events: none;
 margin: 0; opacity: 0; transition: opacity .5s;
}
.urospot-hero > .urospot-hero__video video { width: 100%; height: 100%; object-fit: cover; }
.urospot-hero.is-video-ready > .urospot-hero__video { opacity: 1; }
.urospot-hero__video-actions { display: none; }
.urospot-hero.is-video-ready .urospot-hero__video-actions { display: flex; margin-top: var(--wp--preset--spacing--24); }
.urospot-hero__video-control .wp-block-button__link {
 font-size: var(--wp--preset--font-size--b-6); padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--12);
 background: var(--wp--preset--color--black); color: var(--wp--preset--color--white);
}
@media (min-width: 1025px) {
 .wp-block-cover.urospot-hero.is-style-section { padding-top: var(--wp--preset--spacing--hero-top); padding-bottom: var(--wp--preset--spacing--96); }
 .urospot-hero > .urospot-hero__video { display: block; }
 .urospot-hero__tagline { line-height: var(--wp--custom--hero--tagline-line-height); }
}
@media (prefers-reduced-motion: reduce) {
 .urospot-hero > .urospot-hero__video, .urospot-hero.is-video-ready .urospot-hero__video-actions { display: none; }
}
/* The Cover inner wrapper needs the same Container equation as ordinary sections. */
.urospot-hero .is-style-container {
 box-sizing: border-box;
 width: 100%;
 max-width: calc(var(--wp--style--global--content-size) + 2 * var(--wp--custom--layout--site-gutter));
 padding-inline: var(--wp--custom--layout--site-gutter);
 margin-inline: auto;
}
.urospot-hero .is-style-container > .urospot-hero__content {
 max-width: var(--wp--custom--hero--copy-width);
 margin-inline: 0 !important;
}
.urospot-hero .urospot-hero__logos { gap: var(--wp--preset--spacing--32); }
/* Figma trims the tagline and press label to their capital-letter bounds. */
@supports (text-box-trim: trim-both) {
 .urospot-hero__tagline, .urospot-hero__press-label { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
}
.urospot-hero .urospot-hero__clinic { max-width: 100%; }
.urospot-hero .urospot-hero__clinic .wp-block-button__link { box-sizing: border-box; max-width: 100%; white-space: normal; }
.wp-block-cover.urospot-hero .urospot-hero__video-actions { display: none; }
.wp-block-cover.urospot-hero.is-video-ready .urospot-hero__video-actions { display: flex; }
@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
 .wp-block-cover.urospot-hero.is-video-ready .urospot-hero__video-actions { display: none; }
}
/* Small-screen wrapping can cross the whole poster: keep copy legible there. */
@media (max-width: 1024px) {
 .wp-block-cover.urospot-hero > .wp-block-cover__background { background-image: var(--wp--preset--gradient--hero-mobile-overlay) !important; }
}
/* The header stays in normal flow; the hero fits the remaining viewport. */
.wp-block-cover.urospot-hero.is-style-section {
 --urospot-hero-top-space: var(--wp--preset--spacing--64);
 --urospot-hero-bottom-space: var(--wp--preset--spacing--64);
 --urospot-hero-top-share: .5;
 --urospot-hero-bottom-share: .5;
 --urospot-hero-available-height: max(0px, calc(100vh - var(--urospot-header-height, 0px)));
 --urospot-hero-free-space: max(0px, calc(var(--urospot-hero-available-height) - var(--urospot-hero-natural-content-height, 0px)));
 box-sizing: border-box;
 max-height: var(--urospot-hero-available-height);
 padding-top: min(var(--urospot-hero-top-space), calc(var(--urospot-hero-free-space) * var(--urospot-hero-top-share)));
 padding-bottom: min(var(--urospot-hero-bottom-space), calc(var(--urospot-hero-free-space) * var(--urospot-hero-bottom-share)));
}
.urospot-hero > .wp-block-cover__inner-container {
 max-height: calc(var(--urospot-hero-available-height) - min(var(--urospot-hero-top-space), calc(var(--urospot-hero-free-space) * var(--urospot-hero-top-share))) - min(var(--urospot-hero-bottom-space), calc(var(--urospot-hero-free-space) * var(--urospot-hero-bottom-share))));
 overflow-y: auto;
 overflow-x: hidden;
 scrollbar-width: thin;
}
@media (min-width: 1025px) {
 .wp-block-cover.urospot-hero.is-style-section {
  --urospot-hero-top-space: var(--wp--preset--spacing--hero-top);
  --urospot-hero-bottom-space: var(--wp--preset--spacing--96);
  /* Preserve Figma's 240:96 padding ratio as spare vertical space shrinks. */
  --urospot-hero-top-share: .7142857143;
  --urospot-hero-bottom-share: .2857142857;
 }
}

/* User-requested hidden video pause control; retained in editable page content. */
.wp-block-cover.urospot-hero .urospot-hero__video-actions,
.wp-block-cover.urospot-hero.is-video-ready .urospot-hero__video-actions { display: none; }
/* Mobile/tablet assets own their shading; retain the desktop overlay. */
@media (max-width: 1024px) {
 .wp-block-cover.urospot-hero > .wp-block-cover__background { display: none; }
}
/* Press logos remain editable and visible on desktop only. */
@media (max-width: 1024px) {
 .wp-block-cover.urospot-hero .urospot-hero__press { display: none; }
}
/* Responsive tagline sizes requested for the mobile and tablet hero. */
@media (max-width: 767px) {
 .wp-block-cover.urospot-hero .urospot-hero__tagline { font-size: 20px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
 .wp-block-cover.urospot-hero .urospot-hero__tagline { font-size: 24px !important; }
}
