/**
 * Theme Base CSS
 *
 * Utility styles, scrollbar customization, animations,
 * and component base classes for the starter-landing theme.
 *
 * @package starter-landing
 */

/* Header CTA — yellow→orange accent (scoped; does not change global --primary) */
.starter-header-cta {
    --header-cta: 38 90% 55%;       /* #F5A623 */
    --header-cta-hover: 34 88% 48%; /* #E8910F */
    --header-cta-fg: 0 0% 10%;
    background-color: hsl(var(--header-cta));
    color: hsl(var(--header-cta-fg));
    box-shadow: 0 4px 14px hsl(var(--header-cta) / 0.35);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.starter-header-cta:hover {
    background-color: hsl(var(--header-cta-hover));
    color: hsl(var(--header-cta-fg));
    box-shadow: 0 8px 20px hsl(var(--header-cta-hover) / 0.4);
}

/* Icon system — consistent sizing for starter_icon() */
.starter-icon {
    display: block;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}
.starter-icon--sm {
    width: 1.125rem;
    height: 1.125rem;
}
.starter-icon--md {
    width: 1.25rem;
    height: 1.25rem;
}
.starter-icon--lg {
    width: 1.5rem;
    height: 1.5rem;
}
.starter-icon--xl {
    width: 2rem;
    height: 2rem;
}

/* Section tabs */
.starter-tab-btn {
    border-radius: var(--btn-radius, var(--radius));
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    border-color: hsl(var(--border));
}
.starter-tab-btn:hover {
    border-color: hsl(var(--primary) / 0.5);
}
.starter-tab-btn.is-active {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.08);
}
.starter-tab-btn.is-active:hover {
    border-color: hsl(var(--primary));
}

/* Scroll carousel — card width from data-visible (supports decimals e.g. 2.5 for peek) */
.starter-carousel-track {
    --carousel-visible: 1;
    --carousel-gap: 0px;
}

.starter-carousel-track > .starter-carousel-item,
.starter-carousel-track > [data-carousel-item] {
    flex: 0 0 calc(
        (100% - var(--carousel-gap) * (var(--carousel-visible) - 1)) / var(--carousel-visible)
    );
    min-width: 0;
}

/*
 * Hero title — identical look for <h1> (first slide / split) and <p> (later slides).
 * !important beats Customizer `h1 { font-family/size/weight !important }` so slide 1
 * cannot diverge from slide 2+ (Tailwind utilities alone lose to those rules).
 * One step under text-4xl / md:text-6xl / lg:text-7xl (2 / 3.25 / 4rem).
 */
.starter-hero-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em !important;
    margin: 0;
}

@media (min-width: 768px) {
    .starter-hero-title {
        font-size: 3.25rem !important;
    }
}

@media (min-width: 1024px) {
    .starter-hero-title {
        font-size: 4rem !important;
    }
}

/* Slider titles stay white — Customizer paints h1–h6 / p with theme foreground */
.starter-hero .starter-hero-title {
    color: #ffffff !important;
}

/*
 * Keep horizontal auto margins — `margin: 0` used to kill Tailwind `mx-auto`,
 * so max-w-* excerpts sat left of the centered title/badge.
 */
.starter-hero .starter-hero-excerpt {
    color: rgb(255 255 255 / 0.8) !important;
    font-family: var(--font-body) !important;
    font-weight: 300 !important;
    font-size: 1rem !important;
    line-height: 1.625 !important;
    margin-block: 0;
    margin-inline: auto;
    text-align: center;
}

@media (min-width: 768px) {
    .starter-hero .starter-hero-excerpt {
        font-size: 1.25rem !important;
    }
}

/* Keep font-serif on heading token — Play CDN defaults to Georgia if config fails */
.font-serif {
    font-family: var(--font-heading, Montserrat), sans-serif !important;
}

/* Hero slider — contained card (inset + radius), banners without side crop */
.starter-hero__frame .hero-slide img {
    max-width: 100%;
}

/*
 * Cards — no outer borders site-wide.
 * Beats Tailwind utilities (border / border-border / hover:border-*) on .starter-card.
 * Keeps radius, shadow, background; focus rings on interactive children unchanged.
 */
.starter-card,
.starter-card:hover,
.doctor-card,
.starter-diff-card,
.starter-diff-card:hover,
.starter-diff-card--featured,
.starter-promo-feature,
.starter-promo-feature:hover,
.starter-promo-feature--accent,
.starter-float-card {
    border: none !important;
}

/* Card / grid item titles — NOT h3 (global h3 scale from Customizer blows up text-xl) */
.starter-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.35;
    color: hsl(var(--heading-foreground));
}
@media (min-width: 768px) {
    .starter-card-title {
        font-size: 1.25rem;
    }
}
.starter-card-title--sm {
    font-size: 0.9375rem;
    line-height: 1.4;
}
@media (min-width: 768px) {
    .starter-card-title--sm {
        font-size: 1rem;
    }
}
.starter-card-title--lg {
    font-size: 1.25rem;
    line-height: 1.3;
}
@media (min-width: 768px) {
    .starter-card-title--lg {
        font-size: 1.375rem;
    }
}

/* Posts pagination — pill buttons */
.starter-pagination {
    display: flex;
    justify-content: center;
}
.starter-pagination .navigation.pagination,
.starter-pagination nav.navigation {
    width: 100%;
}
.starter-pagination .screen-reader-text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 0.75rem !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    border: 0 !important;
    display: block;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: hsl(var(--muted-foreground));
    line-height: 1.2;
}
.starter-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.starter-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    color: hsl(var(--foreground));
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--btn-radius, var(--radius));
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.starter-pagination a.page-numbers:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
}
.starter-pagination .page-numbers.current {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}
.starter-pagination .page-numbers.dots {
    min-width: auto;
    padding: 0 0.35rem;
    border: none;
    background: transparent;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

/* Accent card — primary background (starter-card forces white bg; never rely on bg-primary alone) */
.starter-card--primary {
    background-color: hsl(var(--primary)) !important;
    color: #ffffff;
}
.starter-card--primary .starter-card-title {
    color: #ffffff;
}
.starter-card--primary .starter-card-muted {
    color: rgb(255 255 255 / 0.88);
}
.starter-card--primary .starter-card-link {
    color: #ffffff;
}
.starter-card--primary .starter-card-link:hover {
    color: rgb(255 255 255 / 0.85);
}
.starter-card--primary h1,
.starter-card--primary h2,
.starter-card--primary h3 {
    color: #ffffff;
}

/* Soft accent card — light tinted background */
.starter-card--soft {
    background: linear-gradient(
        145deg,
        hsl(var(--accent)) 0%,
        hsl(var(--card)) 100%
    ) !important;
}

/* Primary soft — weakest primary tint (dark text) */
.starter-card--primary-soft {
    background: color-mix(in srgb, hsl(var(--primary)) 14%, white) !important;
}
.starter-card--primary-soft .starter-card-title {
    color: hsl(var(--primary));
}
.starter-card--primary-soft .starter-icon-box {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

/* Primary mid — medium-weak tint (dark text) */
.starter-card--primary-mid {
    background: color-mix(in srgb, hsl(var(--primary)) 38%, white) !important;
    color: hsl(var(--heading-foreground));
}
.starter-card--primary-mid .starter-card-title {
    color: hsl(var(--primary));
}
.starter-card--primary-mid .starter-card-muted,
.starter-card--primary-mid p {
    color: hsl(var(--foreground) / 0.8);
}
.starter-card--primary-mid .starter-icon-box {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

/* Deep accent card — strongest primary (white text) */
.starter-card--deep {
    background: color-mix(in srgb, hsl(var(--primary)) 48%, black) !important;
    color: #ffffff;
}
.starter-card--deep .starter-card-title {
    color: #ffffff;
}
.starter-card--deep .starter-card-muted,
.starter-card--deep p {
    color: rgb(255 255 255 / 0.9);
}
.starter-card--deep .starter-icon-box {
    background: rgb(255 255 255 / 0.2);
    color: #ffffff;
}
.starter-card--deep .starter-btn.bg-secondary {
    background: rgb(255 255 255 / 0.95);
    color: hsl(var(--heading-foreground));
}

/* Filled primary cards — icon box on solid tone */
.starter-card--primary .starter-icon-box {
    background: rgb(255 255 255 / 0.22);
    color: #ffffff;
}

.starter-hero .starter-hero-content h1,
.starter-hero .starter-hero-content p {
    color: #fff;
}
.starter-hero .starter-hero-content p {
    color: rgb(255 255 255 / 0.8);
}

/* Decorative section backgrounds */
.starter-section-decor {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.starter-section-decor::before,
.starter-section-decor::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.starter-section-decor--hero::before {
    width: min(42rem, 80vw);
    height: min(42rem, 80vw);
    top: -18%;
    right: -12%;
    background: radial-gradient(circle, hsl(var(--primary) / 0.14) 0%, transparent 68%);
}

.starter-section-decor--hero::after {
    width: min(28rem, 60vw);
    height: min(28rem, 60vw);
    bottom: -8%;
    left: -10%;
    background: radial-gradient(circle, hsl(var(--accent)) 0%, transparent 70%);
}

.starter-section-decor--muted::before {
    width: min(36rem, 70vw);
    height: min(36rem, 70vw);
    top: -20%;
    left: -8%;
    background: radial-gradient(circle, hsl(var(--primary) / 0.1) 0%, transparent 65%);
}

.starter-section-decor--muted::after {
    width: min(24rem, 50vw);
    height: min(24rem, 50vw);
    bottom: -12%;
    right: -6%;
    background: radial-gradient(circle, hsl(var(--accent)) 0%, transparent 68%);
}

.starter-section-inner {
    position: relative;
    z-index: 1;
}

/* Hero gradient band */
.starter-hero-band {
    background: linear-gradient(
        135deg,
        hsl(var(--accent)) 0%,
        hsl(var(--background)) 45%,
        hsl(var(--muted)) 100%
    );
}

/* Cut-out person visual */
.starter-cutout-visual {
    position: relative;
    min-height: 20rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.starter-cutout-visual__glow {
    position: absolute;
    inset: 8% 10% 0;
    background: radial-gradient(
        ellipse at center bottom,
        hsl(var(--primary) / 0.22) 0%,
        transparent 72%
    );
    pointer-events: none;
}

.starter-cutout-visual__rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.starter-cutout-visual__ring {
    position: absolute;
    border: 1px solid hsl(var(--primary) / 0.18);
    border-radius: 50%;
    animation: starter-ring-pulse 6s ease-in-out infinite;
}

.starter-cutout-visual__ring:nth-child(1) {
    width: 88%;
    height: 88%;
    animation-delay: 0s;
}

.starter-cutout-visual__ring:nth-child(2) {
    width: 68%;
    height: 68%;
    animation-delay: 1s;
}

.starter-cutout-visual__ring:nth-child(3) {
    width: 48%;
    height: 48%;
    animation-delay: 2s;
}

@keyframes starter-ring-pulse {
    0%, 100% {
        opacity: 0.35;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}

.starter-cutout-visual__person {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px hsl(var(--primary) / 0.18));
}

.starter-cutout-visual__person img {
    width: 100%;
    height: auto;
    max-height: 28rem;
    object-fit: contain;
    object-position: bottom center;
}

/* Floating UI cards */
.starter-float-card {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: hsl(var(--card) / 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px hsl(var(--primary) / 0.12);
    animation: starter-float 5s ease-in-out infinite;
}

.starter-float-card--delay {
    animation-delay: 1.5s;
}

@keyframes starter-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.starter-avatar-stack {
    display: flex;
    align-items: center;
}

.starter-avatar-stack img,
.starter-avatar-stack__item {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    border: 2px solid hsl(var(--card));
    object-fit: cover;
    margin-left: -0.5rem;
}

.starter-avatar-stack img:first-child,
.starter-avatar-stack__item:first-child {
    margin-left: 0;
}

/* Promo banner strip */
.starter-promo-band {
    background: linear-gradient(
        110deg,
        hsl(var(--accent)) 0%,
        hsl(var(--primary) / 0.12) 50%,
        hsl(var(--accent)) 100%
    );
    border-top: 1px solid hsl(var(--primary) / 0.12);
    border-bottom: 1px solid hsl(var(--primary) / 0.12);
}

.starter-promo-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    background: hsl(var(--card) / 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.starter-promo-feature:hover {
    box-shadow: 0 12px 28px hsl(var(--primary) / 0.1);
    transform: translateY(-2px);
}

.starter-promo-feature__step {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: hsl(var(--primary) / 0.45);
    line-height: 1;
}

.starter-promo-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border-radius: calc(var(--radius) * 0.75);
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.starter-promo-feature:hover .starter-promo-feature__icon {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.starter-promo-features {
    position: relative;
}

@media (min-width: 1024px) {
    .starter-promo-features::before {
        content: '';
        position: absolute;
        top: 2.35rem;
        left: 12.5%;
        right: 12.5%;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            hsl(var(--primary) / 0.25) 15%,
            hsl(var(--primary) / 0.25) 85%,
            transparent 100%
        );
        pointer-events: none;
        z-index: 0;
    }
}

.starter-promo-features > * {
    position: relative;
    z-index: 1;
}

/* Internal page header — photo hero band (full-bleed under overlay header) */
.starter-page-header--banner {
    display: flex;
    align-items: flex-end;
    min-height: 18rem; /* includes overlay header clearance */
    isolation: isolate;
}

@media (min-width: 768px) {
    .starter-page-header--banner {
        min-height: 22rem;
    }
}

.starter-page-header--plain {
    display: flex;
    align-items: flex-end;
    background-color: hsl(var(--muted) / 0.4);
    border-bottom: 1px solid hsl(var(--border));
}

.starter-page-header--breadcrumbs {
    display: flex;
    align-items: center;
    background-color: hsl(var(--muted) / 0.4);
    border-bottom: 1px solid hsl(var(--border));
}

.starter-page-header__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.starter-page-header__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.02);
}

.starter-page-header__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 90% at 88% 20%, hsl(var(--primary) / 0.45) 0%, transparent 55%),
        linear-gradient(
            118deg,
            hsl(var(--heading-foreground) / 0.97) 0%,
            hsl(var(--heading-foreground) / 0.9) 42%,
            hsl(var(--primary) / 0.82) 100%
        );
}

.starter-page-header__gradient--photo {
    background:
        linear-gradient(
            105deg,
            hsl(var(--heading-foreground) / 0.92) 0%,
            hsl(var(--heading-foreground) / 0.78) 48%,
            hsl(var(--primary) / 0.72) 100%
        ),
        linear-gradient(to top, hsl(var(--heading-foreground) / 0.55) 0%, transparent 55%);
}

.starter-page-header__glow {
    position: absolute;
    width: 18rem;
    height: 18rem;
    right: -4rem;
    bottom: -8rem;
    border-radius: 9999px;
    background: hsl(var(--primary) / 0.28);
    filter: blur(40px);
    pointer-events: none;
}

.starter-page-header__accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        hsl(var(--primary)) 0%,
        hsl(var(--primary) / 0.35) 55%,
        transparent 100%
    );
    pointer-events: none;
}

.starter-page-header--banner .starter-page-header__inner,
.starter-page-header--plain .starter-page-header__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Clear floating overlay header (solid-dark pt-10 + bar ≈ 9rem) */
.starter-has-page-hero .starter-page-header--banner .starter-page-header__inner {
    padding-top: 8.5rem;
}

@media (min-width: 768px) {
    .starter-page-header--banner .starter-page-header__inner,
    .starter-page-header--plain .starter-page-header__inner {
        padding-top: 1.75rem;
        padding-bottom: 1.875rem;
    }

    .starter-has-page-hero .starter-page-header--banner .starter-page-header__inner {
        padding-top: 9.25rem;
    }
}

.starter-page-header__breadcrumbs {
    margin-bottom: 0.625rem;
}

/* Breadcrumbs-only bar (single midia posts) */
.starter-page-header--breadcrumbs .starter-page-header__inner {
    justify-content: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .starter-page-header--breadcrumbs .starter-page-header__inner {
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
    }
}

.starter-page-header--breadcrumbs .starter-page-header__breadcrumbs {
    margin-bottom: 0;
}

.starter-page-header--banner .starter-page-header__crumb-link,
.starter-page-header--banner .starter-page-header__crumb-sep {
    color: rgb(255 255 255 / 0.72);
}

.starter-page-header--banner .starter-page-header__crumb-link:hover {
    color: #ffffff;
}

.starter-page-header--banner .starter-page-header__crumb-current {
    color: #ffffff;
}

.starter-page-header--banner .starter-page-header__title {
    font-size: 1.875rem !important;
    color: #ffffff;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .starter-page-header--banner .starter-page-header__title {
        font-size: 2.5rem !important;
    }
}

.starter-page-header--banner .starter-page-header__subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgb(255 255 255 / 0.86);
    max-width: 36rem;
}

@media (min-width: 768px) {
    .starter-page-header--banner .starter-page-header__subtitle {
        font-size: 1rem;
    }
}

.starter-page-header__rule {
    display: block;
    width: 2.75rem;
    height: 3px;
    margin-top: 0.875rem;
    border-radius: 9999px;
    background: hsl(var(--primary));
    box-shadow: 0 0 0 4px hsl(var(--primary) / 0.18);
}

/* Plain fallback (muted band) */
.starter-page-header--plain .starter-page-header__crumb-link,
.starter-page-header--plain .starter-page-header__crumb-sep {
    color: hsl(var(--muted-foreground));
}

.starter-page-header--plain .starter-page-header__crumb-link:hover {
    color: hsl(var(--primary));
}

.starter-page-header--plain .starter-page-header__crumb-current {
    color: hsl(var(--heading-foreground));
}

.starter-page-header--plain .starter-page-header__title {
    font-size: 1.875rem !important;
    color: hsl(var(--heading-foreground));
}

@media (min-width: 768px) {
    .starter-page-header--plain .starter-page-header__title {
        font-size: 2.25rem !important;
    }
}

.starter-page-header--plain .starter-page-header__subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
    .starter-page-header--plain .starter-page-header__subtitle {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .starter-page-header__bg-image {
        transform: none;
    }
}

/*
 * Internal page content H2s — modest step below home / Customizer scale.
 * Page-header remains H1 (untouched). Beats Customizer `h2 { --h2-size !important }` via specificity.
 * Scale ≈ text-xl / md:text-2xl / lg:text-3xl (was ~text-2xl / Customizer 3rem).
 */
body:not(.home) main h2 {
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    body:not(.home) main h2 {
        font-size: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    body:not(.home) main h2 {
        font-size: 1.875rem !important;
    }
}

/* Sobre internal page — denser prose rhythm */
.starter-page-sobre .starter-prose p {
    margin: 0 0 0.75rem;
}

.starter-page-sobre .starter-prose p:last-child {
    margin-bottom: 0;
}

.starter-page-sobre__media {
    background: hsl(var(--muted));
}

/* Differential cards — Sobre page */
.starter-diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .starter-diff-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 1.5rem;
    }
}

.starter-diff-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: hsl(var(--card));
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.starter-diff-card:hover {
    box-shadow: 0 16px 40px hsl(var(--primary) / 0.12);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .starter-diff-card--wide {
        grid-column: span 7;
    }

    .starter-diff-card--tall {
        grid-column: span 5;
    }

    .starter-diff-card--banner {
        grid-column: span 12;
    }
}

.starter-diff-card__media {
    position: relative;
    overflow: hidden;
}

.starter-diff-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.starter-diff-card:hover .starter-diff-card__media img {
    transform: scale(1.05);
}

.starter-diff-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        hsl(var(--heading-foreground) / 0.55) 0%,
        hsl(var(--heading-foreground) / 0.1) 55%,
        transparent 100%
    );
    pointer-events: none;
}

.starter-diff-card--split {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .starter-diff-card--split {
        grid-template-columns: 42% 1fr;
    }
}

.starter-diff-card--split .starter-diff-card__media {
    min-height: 14rem;
}

@media (min-width: 640px) {
    .starter-diff-card--split .starter-diff-card__media {
        min-height: 100%;
    }
}

.starter-diff-card--vertical .starter-diff-card__media {
    height: 11rem;
}

@media (min-width: 768px) {
    .starter-diff-card--vertical .starter-diff-card__media {
        height: 13.5rem;
    }
}

.starter-diff-card--banner .starter-diff-card__media {
    min-height: 12rem;
}

@media (min-width: 640px) {
    .starter-diff-card--banner {
        grid-template-columns: 38% 1fr;
    }

    .starter-diff-card--banner .starter-diff-card__media {
        min-height: 100%;
    }
}

.starter-diff-card__icon {
    position: absolute;
    bottom: 0.875rem;
    left: 0.875rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: calc(var(--radius) * 0.75);
    box-shadow: 0 8px 20px hsl(var(--primary) / 0.35);
}

.starter-diff-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.625rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .starter-diff-card__body {
        padding: 1.75rem 2rem;
    }
}

.starter-diff-card--featured .starter-diff-card__body {
    background: linear-gradient(
        145deg,
        hsl(var(--accent)) 0%,
        hsl(var(--card)) 100%
    );
}

.starter-benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .starter-benefit-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.starter-promo-feature--accent {
    background: linear-gradient(
        160deg,
        hsl(var(--accent)) 0%,
        hsl(var(--card) / 0.9) 100%
    ) !important;
}

/* Blog card image overlay */
.starter-post-card__media {
    position: relative;
    overflow: hidden;
    height: 13.75rem;
}

.starter-post-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        hsl(var(--heading-foreground) / 0.45) 0%,
        transparent 55%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.starter-post-card:hover .starter-post-card__media::after {
    opacity: 1;
}

.starter-post-card__category {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    z-index: 2;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.75rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: var(--radius-full);
}

/* Units — full-bleed specialty plaques (carousel) */
.unit-plaque {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: 3 / 4;
    min-height: 22rem;
    color: #fff;
    background: #0a0a0a;
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.unit-plaque__rail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    z-index: 4;
    background: var(--unit-accent, hsl(var(--primary)));
}

.unit-plaque__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.unit-plaque__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-plaque:hover .unit-plaque__img,
.unit-plaque:focus-visible .unit-plaque__img {
    transform: scale(1.08);
}

.unit-plaque__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 28%, transparent 42%, rgba(0, 0, 0, 0.72) 78%, rgba(0, 0, 0, 0.92) 100%),
        linear-gradient(90deg, color-mix(in srgb, var(--unit-accent, #000) 22%, transparent) 0%, transparent 55%);
    pointer-events: none;
}

.unit-plaque__index {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.25rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.14);
    pointer-events: none;
    transition: color 0.35s ease;
}

.unit-plaque:hover .unit-plaque__index,
.unit-plaque:focus-visible .unit-plaque__index {
    color: color-mix(in srgb, var(--unit-accent, #fff) 55%, transparent);
}

.unit-plaque__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 1.35rem 1.25rem 1.35rem 1.4rem;
}

.unit-plaque__logo-wrap {
    display: block;
    height: 2.75rem;
    max-width: 160px;
    margin-bottom: 0.35rem;
    filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.45));
}

@media (min-width: 768px) {
    .unit-plaque__logo-wrap {
        height: 3.5rem;
    }
}

.unit-plaque__logo {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

.unit-plaque__tagline {
    margin: 0;
    max-width: 18rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.unit-plaque__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    transform: translateY(0.25rem);
    opacity: 0.85;
    transition: transform 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
}

.unit-plaque:hover .unit-plaque__cta,
.unit-plaque:focus-visible .unit-plaque__cta {
    transform: translateY(0);
    opacity: 1;
    border-color: color-mix(in srgb, var(--unit-accent, #fff) 70%, transparent);
}

.unit-plaque--nolink {
    cursor: default;
}

.unit-plaque--nolink .unit-plaque__cta--muted,
.unit-plaque__cta--muted {
    opacity: 0.45;
    pointer-events: none;
}

.unit-plaque--nolink:hover .unit-plaque__cta--muted {
    transform: translateY(0.25rem);
    opacity: 0.45;
    border-color: rgba(255, 255, 255, 0.18);
}

.unit-plaque:focus-visible {
    outline: 2px solid var(--unit-accent, hsl(var(--primary)));
    outline-offset: 3px;
}

/* Hide native scrollbar on carousel tracks */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* Instagram carousel — Smash Balloon + static fallback (same chrome as NC) */
.starter-instagram-carousel {
    position: relative;
    overflow: visible;
}

.starter-instagram-carousel__btn {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    pointer-events: auto;
    background-color: #fff;
}

.starter-instagram-carousel__btn:hover {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.starter-instagram-carousel__btn--prev {
    left: 0.5rem;
}

.starter-instagram-carousel__btn--next {
    right: 0.5rem;
}

@media (min-width: 768px) {
    .starter-instagram-carousel__btn--prev {
        left: -0.75rem;
    }

    .starter-instagram-carousel__btn--next {
        right: -0.75rem;
    }
}


#instagram #sb_instagram {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* FOUC guard: multi-card widths BEFORE carousel.js sets --carousel-visible */
#instagram #sb_instagram #sbi_images,
#instagram #sbi_images.starter-carousel-track {
    --carousel-visible: 1.15;
    --carousel-gap: 1rem;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: auto !important;
    min-height: 0 !important;
}

@media (min-width: 768px) {
    #instagram #sb_instagram #sbi_images,
    #instagram #sbi_images.starter-carousel-track {
        --carousel-visible: 2.5;
        --carousel-gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    #instagram #sb_instagram #sbi_images,
    #instagram #sbi_images.starter-carousel-track {
        --carousel-visible: 3.25;
    }
}

#instagram #sbi_images > .sbi_item {
    float: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    flex: 0 0 calc((100% - var(--carousel-gap, 0px) * (var(--carousel-visible, 1) - 1)) / var(--carousel-visible, 1)) !important;
    min-width: 0 !important;
}

#instagram #sbi_images > .sbi_item.sbi_transition,
#instagram #sbi_images > .sbi_item.sbi_new {
    opacity: 1 !important;
    transition: none !important;
}

#instagram #sbi_images .sbi_photo_wrap {
    position: relative !important;
    aspect-ratio: 1/1;
    width: 100% !important;
    height: auto !important;
    padding-bottom: 0 !important;
    overflow: hidden;
}

#instagram #sbi_images .sbi_photo {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

#instagram #sbi_images .sbi_photo img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: none !important;
}

#instagram #sb_instagram #sbi_load,
#instagram #sb_instagram .sbi_header {
    display: none !important;
}

#instagram #sbi_images .sbi_lightbox_carousel_icon,
#instagram #sbi_images .fa-clone,
#instagram #sbi_images .sbi_carousel_icon {
    display: none !important;
}

#instagram #sbi_images .sbi-hover-zoom {
    z-index: 3;
}

#lightbox-video {
    transition: opacity 0.15s ease-in-out;
}

.starter-fe-ui .starter-fe-ig-ok { color: #1e8e3e !important; font-size: 12px !important; margin: 8px 0 0; }
.starter-fe-ui .starter-fe-ig-err { color: #d63638 !important; font-size: 12px !important; margin: 8px 0 0; }
.starter-fe-ui .starter-fe-ig-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.starter-fe-ui .starter-fe-ig-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; border: 1px solid #c3c4c7; }


/* Custom scrollbar for main page */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: hsl(var(--background));
}
::-webkit-scrollbar-thumb {
    background: hsl(var(--primary) / 0.3);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--primary) / 0.6);
}

/* Transition utilities for lightbox image */
#lightbox-img {
    transition: opacity 0.15s ease-in-out;
}

/* WhatsApp FAB animation */
@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
.whatsapp-fab {
    animation: fab-pulse 2s ease-in-out infinite;
}

/* Section fade-in animation (optional, applied via JS Intersection Observer) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out both;
}

/* About (home) — soft primary tint + marks */
.starter-about-section {
    color: hsl(var(--foreground));
    background:
        radial-gradient(ellipse 70% 55% at 8% 20%, hsl(var(--primary) / 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 92% 85%, hsl(var(--primary) / 0.08) 0%, transparent 50%),
        linear-gradient(
            165deg,
            color-mix(in srgb, hsl(var(--primary)) 10%, white) 0%,
            color-mix(in srgb, hsl(var(--primary)) 7%, white) 48%,
            color-mix(in srgb, hsl(var(--primary)) 14%, white) 100%
        );
}
.starter-about-section::before {
    width: min(40rem, 78vw);
    height: min(40rem, 78vw);
    top: -22%;
    right: -14%;
    background: radial-gradient(circle, hsl(var(--primary) / 0.14) 0%, transparent 68%);
    animation: starter-about-orb 14s ease-in-out infinite alternate;
}
.starter-about-section::after {
    width: min(26rem, 58vw);
    height: min(26rem, 58vw);
    bottom: -16%;
    left: -10%;
    background: radial-gradient(circle, hsl(var(--primary) / 0.1) 0%, transparent 70%);
    animation: starter-about-orb 18s ease-in-out infinite alternate-reverse;
}
.starter-about-section .starter-prose,
.starter-about-section .starter-prose p {
    color: hsl(var(--muted-foreground));
}

/* Hospital SVG marks — corner transitions */
.starter-about-mark {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    aspect-ratio: 1278 / 460;
    background: hsl(var(--primary) / 0.14);
    -webkit-mask: url('../images/hospital-2026.svg') center / contain no-repeat;
    mask: url('../images/hospital-2026.svg') center / contain no-repeat;
}
.starter-about-mark--tr {
    top: -8%;
    right: -14%;
    width: min(38rem, 72vw);
    background: hsl(var(--primary) / 0.12);
    transform: rotate(8deg);
    animation: starter-about-mark-drift 18s ease-in-out infinite alternate;
}
.starter-about-mark--bl {
    bottom: -14%;
    left: -16%;
    width: min(52rem, 95vw);
    background: hsl(var(--primary) / 0.18);
    transform: scaleX(-1) rotate(-5deg);
    animation: starter-about-mark-drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes starter-about-orb {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(3%, 4%, 0) scale(1.06); }
}
@keyframes starter-about-mark-drift {
    from { translate: 0 0; }
    to { translate: 1.25% -1.75%; }
}
.starter-about-media .starter-about-photo {
    transition: transform 0.5s ease;
}
.starter-about-media img {
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
/* First scan has white padding at the bottom — crop it out */
.starter-about-photo--crop {
    object-position: center 28%;
    transform: scale(1.14);
    transform-origin: center top;
}
.starter-about-media .starter-about-photo:hover img {
    transform: scale(1.04);
}
.starter-about-media .starter-about-photo:hover img.starter-about-photo--crop {
    transform: scale(1.18);
}
.starter-about-media.is-visible img {
    animation: starter-about-kenburns 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.starter-about-media.is-visible .starter-about-photo:nth-child(2) img {
    animation-delay: 120ms;
}
.starter-about-media.is-visible img.starter-about-photo--crop {
    animation: starter-about-kenburns-crop 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes starter-about-kenburns {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}
@keyframes starter-about-kenburns-crop {
    from { transform: scale(1.2); }
    to { transform: scale(1.14); }
}

/*
 * Scroll reveal — toggled by reveal.js (.is-visible).
 * Styles only apply when html.starter-reveal is set, so content stays
 * visible if JS fails or is disabled.
 */
.starter-reveal [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
.starter-reveal [data-reveal='left'] {
    transform: translate3d(-1.25rem, 0, 0);
}
.starter-reveal [data-reveal='right'] {
    transform: translate3d(1.25rem, 0, 0);
}
.starter-reveal [data-reveal='up'] {
    transform: translate3d(0, 1.25rem, 0);
}
.starter-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
    .starter-about-section::before,
    .starter-about-section::after,
    .starter-about-mark {
        animation: none;
    }
    .starter-about-media img,
    .starter-about-media .starter-about-photo:hover img,
    .starter-about-media.is-visible img {
        animation: none;
        transition: none;
    }
    .starter-about-media img:not(.starter-about-photo--crop) {
        transform: none;
    }
    .starter-about-photo--crop {
        transform: scale(1.14);
    }
    .starter-reveal [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Scale utility for group-hover */
.scale-98 { transform: scale(0.98); }
.scale-102 { transform: scale(1.02); }
.scale-103 { transform: scale(1.03); }

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    transition-duration: 200ms;
    transition-timing-function: ease;
}

/* Site footer — solid primary green (no pattern) */
.starter-site-footer {
    background-color: #009a4e;
    background-color: hsl(var(--primary));
    color: #fff;
    border-top: 0;
}

.starter-site-footer nav a,
.starter-site-footer .starter-footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em; /* match solid-dark header nav */
    transition: color 0.2s ease;
}

/* Beat customizer-css `nav ul li a:hover { color: primary !important }` */
.starter-site-footer nav a:hover,
.starter-site-footer nav a:focus-visible,
.starter-site-footer nav .current-menu-item > a,
.starter-site-footer nav .current_page_item > a,
.starter-site-footer nav a[aria-current="page"] {
    color: #F5A623 !important; /* header CTA yellow */
}

.starter-site-footer .starter-footer-phone {
    color: #fff;
}

.starter-site-footer .starter-footer-phone .starter-icon {
    color: currentColor;
}

.starter-site-footer .starter-footer-meta {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Custom logo — brand mark sizing in header/footer */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 11rem;
}
.custom-logo-link img.custom-logo,
.custom-logo {
    height: 2.75rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
@media (min-width: 768px) {
    .custom-logo-link {
        max-width: 14rem;
    }
    .custom-logo-link img.custom-logo,
    .custom-logo {
        height: 3.25rem;
    }
}

/* Sticky below #main-header — --header-offset set by sticky-header.js */
.doctor-filters-bar {
    top: var(--header-offset, 7rem);
}

/* Doctor filter active state */
.doctor-filter.is-active {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

/* --------------------------------------------------------------------------
   Gutenberg landing (full-bleed when title band is hidden)
   -------------------------------------------------------------------------- */
.starter-gutenberg-landing {
    --uti-primary: #c5e063;
    --uti-primary-fg: #0a0a0a;
    --uti-ink: #121212;
    overflow-x: clip;
}

.starter-gutenberg-landing > .alignfull {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.starter-gutenberg-landing .wp-block-group.alignfull > .wp-block-group__inner-container,
.starter-gutenberg-landing .wp-block-group.alignfull.is-layout-constrained {
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (min-width: 768px) {
    .starter-gutenberg-landing .wp-block-group.alignfull > .wp-block-group__inner-container,
    .starter-gutenberg-landing .wp-block-group.alignfull.is-layout-constrained {
        padding-inline: 2rem;
    }
}

/* UTI brand landing */
.starter-uti-hero {
    color: #fff;
}

.starter-uti-hero .wp-block-cover__inner-container {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
}

.starter-uti-hero-title {
    font-family: var(--font-heading, inherit);
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 0.5rem !important;
}

.starter-uti-hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 36rem;
    margin: 0 0 1.25rem !important;
}

.starter-uti-btn .wp-block-button__link {
    background: var(--uti-primary) !important;
    color: var(--uti-primary-fg) !important;
    border: none !important;
    border-radius: var(--btn-radius, var(--radius));
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.starter-uti-btn .wp-block-button__link:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.starter-uti-btn-ghost .wp-block-button__link {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: var(--btn-radius, var(--radius));
    font-weight: 500;
    padding: 0.85rem 1.5rem;
}

.starter-uti-btn-ghost .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.starter-uti-strip {
    background: var(--uti-ink);
    color: #fff;
    padding: 1.75rem 0;
}

.starter-uti-strip-cols {
    gap: 1.25rem !important;
}

.starter-uti-stat-value {
    font-family: var(--font-heading, inherit);
    font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
    font-weight: 700;
    color: var(--uti-primary) !important;
    margin: 0 !important;
    letter-spacing: -0.02em;
}

.starter-uti-stat-label {
    font-size: 0.8rem !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0.35rem 0 0 !important;
}

.starter-uti-section {
    padding: 3.5rem 0;
}

@media (min-width: 768px) {
    .starter-uti-section {
        padding: 4.5rem 0;
    }
}

.starter-uti-structure {
    background: hsl(var(--muted) / 0.35);
    border-block: 1px solid hsl(var(--border));
}

.starter-uti-eyebrow {
    font-size: 0.7rem !important;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #6a8a1f !important;
    margin: 0 0 0.65rem !important;
}

.starter-uti-heading {
    font-family: var(--font-heading, inherit);
    font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
    letter-spacing: -0.02em;
    color: hsl(var(--foreground)) !important;
    margin: 0 0 1rem !important;
}

.starter-uti-section-lead {
    color: hsl(var(--muted-foreground)) !important;
    max-width: 36rem;
    margin-inline: auto !important;
    margin-bottom: 2rem !important;
}

.starter-uti-structure-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
    object-fit: cover;
}

.starter-uti-structure .wp-block-column p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    font-size: 0.975rem;
}

.starter-uti-equip {
    background: hsl(var(--background));
}

.starter-uti-equip-grid {
    gap: 1.25rem !important;
    margin-top: 1.25rem !important;
}

.starter-uti-equip-card {
    overflow: hidden;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    box-shadow: var(--card-shadow, 0 1px 2px rgb(0 0 0 / 0.04));
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.starter-uti-equip-card:hover {
    border-color: color-mix(in srgb, var(--uti-primary) 55%, hsl(var(--border)));
    transform: translateY(-2px);
}

.starter-uti-equip-img {
    margin: 0 !important;
}

.starter-uti-equip-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.starter-uti-equip-title {
    font-weight: 600;
    font-size: 1rem !important;
    color: hsl(var(--foreground)) !important;
    margin: 0 !important;
    padding: 1rem 1.1rem 1.15rem;
}

.starter-uti-cert-panel {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    overflow: hidden;
    background: hsl(var(--card));
    box-shadow: var(--card-shadow, 0 1px 2px rgb(0 0 0 / 0.04));
    gap: 0 !important;
}

.starter-uti-cert-panel > .wp-block-column {
    padding: 1.75rem;
}

@media (min-width: 782px) {
    .starter-uti-cert-panel > .wp-block-column:first-child {
        background: color-mix(in srgb, var(--uti-primary) 14%, hsl(var(--background)));
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.starter-uti-cert-badge img {
    width: 100%;
    max-width: 22rem;
    height: auto;
    margin-inline: auto;
    display: block;
}

.starter-uti-team {
    background: hsl(var(--muted) / 0.3);
    border-block: 1px solid hsl(var(--border));
}

.starter-uti-team p:not(.starter-uti-eyebrow):not(.starter-uti-heading) {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

.starter-uti-info-card {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    padding: 1.35rem 1.4rem;
    height: 100%;
}

.starter-uti-info-label {
    font-size: 0.7rem !important;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6a8a1f !important;
    margin: 0 0 0.65rem !important;
}

.starter-uti-info-card a {
    color: hsl(var(--foreground));
    text-decoration: none;
}

.starter-uti-info-card a:hover {
    color: #6a8a1f;
}

.starter-uti-cta .wp-block-cover__inner-container {
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
}


.alignfull {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	text-align: center;
}

.alignfull img {
	width: 100%;
}

.alignfull .wp-block-cover__inner-container {
    max-width: var(--max-width);
}

/* -------------------------------------------------------------------------
   Front editor (offcanvas) -- prefix .starter-fe-
   Isolated admin chrome. Overlay (not native <dialog>) so wp.media stays on top.
   ------------------------------------------------------------------------- */

.starter-fe-wrap {
    position: relative;
}

body.starter-fe-on .starter-fe-wrap {
    outline: 1px dashed #2271b1;
    outline-offset: -1px;
    min-height: 4.5rem;
}

body.starter-fe-on .starter-fe-wrap:hover,
body.starter-fe-on .starter-fe-wrap:focus-within {
    outline: 2px dashed #2271b1;
    outline-offset: -2px;
}

.starter-fe-ui,
.starter-fe-ui * {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.starter-fe-ui .fa,
.starter-fe-ui .fas,
.starter-fe-ui .far,
.starter-fe-ui .fab,
.starter-fe-ui .fa-solid,
.starter-fe-ui .fa-regular,
.starter-fe-ui .fa-brands,
.starter-fe-ui i[class^="fa"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
}
.starter-fe-ui .fa-regular {
    font-weight: 400 !important;
}
.starter-fe-ui .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.starter-fe-ui h1, .starter-fe-ui h2, .starter-fe-ui h3, .starter-fe-ui h4,
.starter-fe-ui p, .starter-fe-ui button, .starter-fe-ui input, .starter-fe-ui textarea,
.starter-fe-ui label, .starter-fe-ui span {
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: #1d2327 !important;
}

.starter-fe-ui h2.starter-fe-dialog-title { font-size: 16px !important; font-weight: 600 !important; }
.starter-fe-ui h3.starter-fe-sub { font-size: 11px !important; font-weight: 600 !important; color: #646970 !important; text-transform: uppercase !important; letter-spacing: .04em !important; }

.starter-fe-toolbar {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 40;
    display: none;
    gap: 0.25rem;
    padding: 0.2rem;
    border-radius: 4px;
    background: #fff;
    color: #1d2327;
    border: 1px solid #c3c4c7;
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
}

body.starter-fe-on .starter-fe-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Overlay header (transparent/glass) covers the first-section toolbar.
   Offset down by header height — do NOT raise z-index above #main-header. */
body.starter-fe-on .starter-fe-wrap--first .starter-fe-toolbar {
    top: calc(var(--starter-fe-toolbar-nudge, 0px) + 0.5rem);
}

.starter-fe-ui .starter-fe-tb-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: #1d2327 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 0.4rem 0.55rem;
    border-radius: 4px;
    cursor: pointer;
}

.starter-fe-ui .starter-fe-tb-btn:hover:not(:disabled) {
    background: #f0f0f1;
}

.starter-fe-ui .starter-fe-tb-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.starter-fe-ui .starter-fe-tb-btn--delete:hover:not(:disabled) {
    background: #fcf0f1;
    color: #d63638 !important;
}

.starter-fe-ui.starter-fe-fab,
.starter-fe-fab {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 99980;
    appearance: none;
    border: 0;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0.7rem 1rem;
    border-radius: 4px;
    background: #2271b1 !important;
    color: #fff !important;
    box-shadow: 0 10px 28px rgb(0 0 0 / 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.starter-fe-ui.starter-fe-fab:hover {
    transform: translateY(-1px);
}

.starter-fe-ui.starter-fe-fab[aria-pressed="true"] {
    background: #1d2327 !important;
    color: #fff !important;
}

.starter-fe-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 140000;
}

.starter-fe-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 100%);
    z-index: 140001;
    background: #f0f0f1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgb(0 0 0 / 0.2);
    color: #1d2327;
}

.starter-fe-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem 0.75rem;
    border-bottom: 1px solid #c3c4c7;
    flex-shrink: 0;
    background: #fff;
}

.starter-fe-dialog-title {
    margin: 0;
}

.starter-fe-ui .starter-fe-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #1d2327 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    border-radius: 4px;
}

.starter-fe-ui .starter-fe-close:hover {
    background: #f0f0f1;
}

.starter-fe-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.starter-fe-dialog-body {
    padding: 1rem 1.1rem 1.5rem;
    overflow: auto;
    flex: 1;
}

.starter-fe-dialog-actions {
    padding: 0.85rem 1.1rem 1.1rem;
    border-top: 1px solid #c3c4c7;
    flex-shrink: 0;
    background: #fff;
}

.starter-fe-ui .starter-fe-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.6rem;
    padding: 0.6rem 1rem;
    border: 0;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 4px;
    background: #2271b1 !important;
    color: #fff !important;
}

.starter-fe-ui .starter-fe-save:disabled {
    opacity: 0.6;
    cursor: default;
}

.starter-fe-field {
    margin-bottom: 0.9rem;
}

.starter-fe-ui .starter-fe-label {
    display: block;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #1d2327 !important;
    margin-bottom: 0.35rem;
}

.starter-fe-ui .starter-fe-input,
.starter-fe-ui input.starter-fe-input,
.starter-fe-ui textarea.starter-fe-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.7rem;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #fff !important;
    color: #1d2327 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.starter-fe-ui .starter-fe-input:focus {
    outline: 2px solid #2271b1;
    outline-offset: 1px;
}

.starter-fe-ui textarea.starter-fe-input {
    min-height: 5rem;
    resize: vertical;
}

.starter-fe-ui .starter-fe-check-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 14px !important;
    cursor: pointer;
}

.starter-fe-sub {
    margin: 1.25rem 0 0.75rem;
}

.starter-fe-ui .starter-fe-ghost {
    appearance: none;
    border: 1px solid #8c8f94;
    background: #fff;
    color: #1d2327 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    cursor: pointer;
}

.starter-fe-ui .starter-fe-ghost:hover {
    background: #f0f0f1;
}

.starter-fe-ui .starter-fe-ghost--danger:hover {
    border-color: #d63638;
    color: #d63638 !important;
}

.starter-fe-media-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.starter-fe-thumb {
    display: block;
    max-width: 160px;
    max-height: 110px;
    border-radius: 4px;
    border: 1px solid #c3c4c7;
    object-fit: cover;
    margin-top: 0.35rem;
}

.starter-fe-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.4rem 0 0.6rem;
}

.starter-fe-gallery-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #c3c4c7;
    background: #f0f0f1;
    cursor: grab;
}

.starter-fe-gallery-thumb.is-dragging {
    cursor: grabbing;
    opacity: 0.45;
}

.starter-fe-gallery-thumb.is-drop-target {
    outline: 2px dashed #2271b1;
    outline-offset: -2px;
}

.starter-fe-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.starter-fe-ui .starter-fe-gallery-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 1.15rem;
    height: 1.15rem;
    border: 0;
    border-radius: 50%;
    background: rgb(0 0 0 / 0.65);
    color: #fff !important;
    cursor: pointer;
    font-size: 12px !important;
    line-height: 1 !important;
    z-index: 2;
}

.starter-fe-item {
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 0;
    margin-bottom: 0.75rem;
    background: #fff;
}

.starter-fe-item-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0;
}

.starter-fe-item.is-open .starter-fe-item-head {
    border-bottom: 1px solid #dcdcde;
}

.starter-fe-ui .starter-fe-item-title {
    flex: 1;
    min-width: 0;
    text-align: left;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.starter-fe-error {
    margin: 0 1.1rem 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 4px;
    background: #fcf0f1;
    color: #d63638 !important;
    font-size: 13px !important;
}

.starter-fe-loading,
.starter-fe-hint {
    font-size: 13px !important;
    color: #646970 !important;
}

.starter-fe-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 140010;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.starter-fe-confirm {
    width: min(380px, 100%);
    background: #fff;
    border-radius: 4px;
    padding: 1.1rem 1.15rem 1rem;
    box-shadow: 0 8px 32px rgb(0 0 0 / 0.25);
}

.starter-fe-ui .starter-fe-confirm-text {
    margin: 0.5rem 0 1rem;
    color: #646970 !important;
}

.starter-fe-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.starter-fe-ui .starter-fe-btn {
    appearance: none;
    border: 1px solid #8c8f94;
    background: #fff;
    color: #1d2327 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0.55rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.starter-fe-ui .starter-fe-btn--primary {
    background: #2271b1 !important;
    border-color: #2271b1;
    color: #fff !important;
}

.starter-fe-ui .starter-fe-btn--danger {
    background: #d63638 !important;
    border-color: #d63638;
    color: #fff !important;
}

/* wp.media on front — isolate typeface + kill Customizer heading scale */
body.starter-fe-ready .media-modal {
    z-index: 1600000 !important;
}

body.starter-fe-ready .media-modal-backdrop {
    z-index: 1599990 !important;
}

body.starter-fe-ready .media-modal,
body.starter-fe-ready .media-frame,
body.starter-fe-ready .media-modal-backdrop,
body.starter-fe-ready .media-modal *,
body.starter-fe-ready .media-frame *,
body.starter-fe-ready .media-modal-backdrop * {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body.starter-fe-ready .media-modal h1,
body.starter-fe-ready .media-modal h2,
body.starter-fe-ready .media-modal h3,
body.starter-fe-ready .media-modal h4,
body.starter-fe-ready .media-modal h5,
body.starter-fe-ready .media-modal h6,
body.starter-fe-ready .media-frame h1,
body.starter-fe-ready .media-frame h2,
body.starter-fe-ready .media-frame h3,
body.starter-fe-ready .media-frame h4,
body.starter-fe-ready .media-frame h5,
body.starter-fe-ready .media-frame h6 {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1d2327 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}

body.starter-fe-ready .media-frame-title h1 {
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 50px !important;
    color: #1d2327 !important;
}

body.starter-fe-ready .media-frame-menu-heading,
body.starter-fe-ready .media-modal h2.media-frame-menu-heading {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body.starter-fe-ready .media-sidebar h2,
body.starter-fe-ready .attachment-details h2,
body.starter-fe-ready .attachment-info h2 {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

body.starter-fe-ready .media-frame .media-frame-menu {
    display: none !important;
}

body.starter-fe-ready .media-frame .media-frame-title,
body.starter-fe-ready .media-frame .media-frame-router,
body.starter-fe-ready .media-frame .media-frame-content,
body.starter-fe-ready .media-frame .media-frame-toolbar {
    left: 0 !important;
}

body.starter-fe-ready .media-modal .screen-reader-text,
body.starter-fe-ready .media-frame .screen-reader-text,
body.starter-fe-ready .media-modal .attachment .check .screen-reader-text,
body.starter-fe-ready .media-frame .attachment .check .screen-reader-text {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    width: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
}

body.starter-fe-ready .media-modal .attachment .check,
body.starter-fe-ready .media-frame .attachment .check {
    font-size: 0 !important;
    color: transparent !important;
    text-indent: 0 !important;
}

body.starter-fe-ready .media-modal .attachment .check .media-modal-icon,
body.starter-fe-ready .media-frame .attachment .check .media-modal-icon {
    font-size: 0 !important;
}

.starter-fe-ui .starter-fe-rte {
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.starter-fe-ui .starter-fe-rte-toolbar,
.starter-fe-ui .starter-fe-rte-toolbar * {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.starter-fe-ui .starter-fe-rte-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.35rem;
    background: #f6f7f7;
    border-bottom: 1px solid #c3c4c7;
}

.starter-fe-ui .starter-fe-rte-btn {
    appearance: none;
    border: 1px solid #c3c4c7;
    background: #fff;
    color: #1d2327 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 0.28rem 0.5rem;
    border-radius: 3px;
    cursor: pointer;
}

.starter-fe-ui .starter-fe-rte-btn:hover {
    background: #f0f0f1;
}

.starter-fe-ui .starter-fe-rte-area {
    min-height: 8rem;
    max-height: 16rem;
    overflow: auto;
    padding: 0.55rem 0.7rem;
    background: #fff !important;
    color: #1d2327 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    outline: none;
}

.starter-fe-ui .starter-fe-rte-area:focus {
    outline: 2px solid #2271b1;
    outline-offset: -2px;
}

.starter-fe-ui .starter-fe-rte-area p,
.starter-fe-ui .starter-fe-rte-area li,
.starter-fe-ui .starter-fe-rte-area a,
.starter-fe-ui .starter-fe-rte-area strong,
.starter-fe-ui .starter-fe-rte-area em,
.starter-fe-ui .starter-fe-rte-area ul,
.starter-fe-ui .starter-fe-rte-area ol {
    font-size: 14px !important;
    font-family: inherit !important;
    color: inherit !important;
    line-height: 1.5 !important;
}

.starter-fe-ui .starter-fe-rte-area h1,
.starter-fe-ui .starter-fe-rte-area h2,
.starter-fe-ui .starter-fe-rte-area h3,
.starter-fe-ui .starter-fe-rte-area h4,
.starter-fe-ui .starter-fe-rte-area h5,
.starter-fe-ui .starter-fe-rte-area h6 {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 0 0.4rem !important;
    color: #1d2327 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.starter-fe-ui .starter-fe-rte-area ul,
.starter-fe-ui .starter-fe-rte-area ol {
    margin: 0.25rem 0 0.25rem 1.2rem;
    padding: 0;
}

.starter-fe-ui .starter-fe-icon-picker {
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 0.6rem;
    background: #fff;
}

.starter-fe-ui .starter-fe-icon-current {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1d2327 !important;
}

.starter-fe-ui .starter-fe-icon-current i {
    font-size: 22px !important;
    width: 1.6rem;
    text-align: center;
    color: #2271b1 !important;
}

.starter-fe-ui .starter-fe-icon-search {
    margin-bottom: 0.4rem;
}

.starter-fe-ui .starter-fe-icon-meta {
    margin: 0 0 0.4rem;
    font-size: 12px !important;
    color: #646970 !important;
}

.starter-fe-ui .starter-fe-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
    gap: 0.3rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #eee;
    padding: 0.4rem;
    border-radius: 4px;
    background: #f9f9f9;
}

.starter-fe-ui .starter-fe-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    color: #1d2327 !important;
    font-size: 15px !important;
}

.starter-fe-ui .starter-fe-icon-item:hover {
    border-color: #2271b1;
    color: #2271b1 !important;
}

.starter-fe-ui .starter-fe-icon-item.is-selected {
    background: #2271b1;
    color: #fff !important;
    border-color: #2271b1;
}

.starter-fe-ui .starter-fe-icon-pager {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.starter-fe-item-body {
    display: none;
    padding: 0.75rem;
}

.starter-fe-item.is-open .starter-fe-item-body {
    display: block;
}

.starter-fe-ui .starter-fe-item-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

.starter-fe-item-chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #646970;
    transition: transform 0.15s;
}

.starter-fe-item.is-open .starter-fe-item-chevron {
    transform: rotate(180deg);
}

.starter-fe-item-head {
    cursor: pointer;
}

.starter-fe-item-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    margin-left: auto;
}

.starter-fe-ui .starter-fe-item-up,
.starter-fe-ui .starter-fe-item-down {
    min-width: 1.7rem;
    padding: 0.25rem 0.4rem;
    font-size: 12px !important;
}

.starter-fe-ui .starter-fe-item-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    min-width: 1.7rem;
    height: 1.7rem;
    padding: 0.2rem;
    line-height: 0 !important;
}

.starter-fe-ui .starter-fe-item-remove svg {
    width: 16px;
    height: 16px;
    display: block;
    pointer-events: none;
}

.starter-fe-global-notice {
    margin: 0 0 0.9rem;
    padding: 0.65rem 0.75rem;
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    border-radius: 4px;
}

.starter-fe-ui .starter-fe-global-notice p {
    margin: 0 0 0.45rem;
    font-size: 13px !important;
    color: #1d2327 !important;
}

.starter-fe-global-preview {
    margin: 0;
    padding: 0;
    list-style: none;
}

.starter-fe-ui .starter-fe-global-preview li {
    font-size: 12px !important;
    color: #646970 !important;
    line-height: 1.45 !important;
    margin: 0 0 0.2rem;
}

@media (prefers-reduced-motion: reduce) {
    .starter-fe-fab,
    .starter-fe-tb-btn,
    .starter-fe-save {
        transition: none;
    }

    .starter-fe-fab:hover {
        transform: none;
    }
}

/* Trabalhe conosco — etapas do cadastro */
.careers-steps ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.careers-steps li {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.careers-steps li:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    right: 50%;
    left: -50%;
    height: 2px;
    background: hsl(var(--border));
    z-index: 0;
}

.careers-steps li.is-active::before,
.careers-steps li.is-done::before {
    background: hsl(var(--primary));
}

.careers-steps button {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.careers-steps__dot {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid hsl(var(--border));
    border-radius: 999px;
    background: hsl(var(--background));
    color: hsl(var(--muted-foreground));
    box-shadow: 0 0 0 4px hsl(var(--background));
}

.careers-steps li.is-active .careers-steps__dot,
.careers-steps li.is-done .careers-steps__dot {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.careers-steps__icon,
.careers-steps__check {
    display: flex;
}

.careers-steps__check,
.careers-steps li.is-done .careers-steps__icon {
    display: none;
}

.careers-steps li.is-done .careers-steps__check {
    display: flex;
}

.careers-steps__label {
    max-width: 100%;
    padding: 0 0.15rem;
    overflow: hidden;
    color: hsl(var(--muted-foreground));
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.careers-steps li.is-active .careers-steps__label {
    color: hsl(var(--foreground));
}

@media (max-width: 639px) {
    .careers-steps__label {
        font-size: 0.62rem;
    }
}

/* Trabalhe conosco — step nav: beat Tailwind inline-flex vs [hidden] */
#form-candidatura [data-step-prev][hidden],
#form-candidatura [data-step-next][hidden],
#form-candidatura [data-step-submit][hidden],
#form-candidatura .is-step-nav-hidden {
    display: none !important;
}

#form-candidatura [data-step-error],
.careers-step-error {
    color: hsl(var(--destructive, 0 72% 40%));
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0;
}

#form-candidatura [data-step-error] ul,
.careers-step-error ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

#form-candidatura [data-step-error] li,
.careers-step-error li {
    display: block;
}

/* Trabalhe conosco — sticky candidatura form (full viewport width) */
[data-careers-form-breakout] {
    width: 100%;
    max-width: 100vw;
}

.careers-form-sticky-shell {
    min-height: 100dvh;
}

[data-careers-form-panel] {
    width: 100%;
    max-width: none;
}

[data-careers-form-main] {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
}

#form-candidatura {
    width: 100%;
    max-width: 48rem;
    margin-inline: auto;
}

.careers-focus-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgb(0 0 0 / 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.careers-focus-close {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.18);
}

[data-careers-focus].is-open [data-careers-form-breakout] {
    transform: none;
    left: 0;
}

[data-careers-focus].is-open .careers-focus-backdrop {
    opacity: 1;
    pointer-events: auto;
}

html.careers-focus-lock,
html.careers-focus-lock body {
    overflow: hidden;
}

[data-careers-focus].is-open [data-careers-form-panel] {
    position: fixed;
    inset: 0;
    z-index: 80;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    transform: none;
    animation: careers-focus-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-careers-focus].is-open .careers-focus-close {
    display: inline-flex;
}

[data-careers-focus].is-open [data-careers-form-scroll] {
    padding-top: calc(3.5rem + env(safe-area-inset-top));
}

@keyframes careers-focus-in {
    from {
        transform: scale(0.94);
    }
    to {
        transform: none;
    }
}

@media (max-width: 767px) {
    [data-careers-focus].is-open [data-careers-form-panel] {
        height: 100dvh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .careers-focus-backdrop,
    [data-careers-focus].is-open [data-careers-form-panel] {
        transition: none !important;
        animation: none !important;
    }
}
