/**
 * Neurogram Theme - Main Stylesheet
 *
 * Modern, accessible (WCAG AAA), ultra-fast CSS.
 * Zero external frameworks. Pure CSS Grid, Flexbox & Custom Properties.
 *
 * @package Neurogram
 */

/* ==========================================================================
   1. Design Tokens & CSS Custom Properties
   ========================================================================== */
:root {
    /* Announcement Bar Sticky Offset */
    --announcement-height: 0px;

    /* Brand Colors - Clinical Teal & Turquoise */
    --color-primary: #09807a;
    --color-primary-dark: #065b57;
    --color-primary-light: #e6f7f6;
    --color-teal: #27c9bb;
    --color-teal-dark: #1ea398;
    --color-accent: #0ca698;
    --color-accent-subtle: #f0faf9;

    /* Status Colors */
    --color-open: #059669;
    --color-open-bg: #d1fae5;
    --color-closed: #dc2626;
    --color-closed-bg: #fee2e2;

    /* Neutrals & Surfaces */
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --color-text-muted: #475569;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --color-border-focus: #27c9bb;

    /* Typography */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Fluid Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: clamp(1.35rem, 1.5vw + 1rem, 1.65rem);
    --font-size-3xl: clamp(1.65rem, 2vw + 1rem, 2.15rem);
    --font-size-4xl: clamp(2.1rem, 3.5vw + 1rem, 3rem);

    /* Spacing & Layout */
    --container-max: 1200px;
    --container-pad: 1.5rem;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows & Elevation */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 24px -4px rgba(9, 128, 122, 0.12), 0 6px 12px -4px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 25px -5px rgba(9, 128, 122, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

    --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: clip;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Screen reader only utility */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link:focus {
    position: fixed !important;
    top: 1rem;
    left: 1rem;
    z-index: 99999;
    padding: 1rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

:focus-visible {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 3px;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

/* Section Common */
.section {
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
    padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.section-heading {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-eyebrow {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.section-lead {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    line-height: 1.6;
}

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

/* ==========================================================================
   3. Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.5rem;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(9, 128, 122, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(9, 128, 122, 0.35);
}

.btn-secondary {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.btn-secondary:hover {
    background-color: #d2f1ee;
    color: var(--color-primary-dark);
}

.btn-accent {
    background-color: var(--color-teal);
    color: #ffffff;
}

.btn-accent:hover {
    background-color: var(--color-teal-dark);
    color: #ffffff;
}

.btn-outline {
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-lg {
    padding: 0.95rem 1.85rem;
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

.tag {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
}

.tag-award {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

/* ==========================================================================
   Announcement Bar (Manageable via /oznam)
   ========================================================================== */
.announcement-bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    width: 100%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    display: block;
    transition: opacity 0.25s ease, max-height 0.35s ease;
}

.announcement-bar.is-visible {
    opacity: 1;
}

.announcement-bar.is-closing {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                padding 0.35s ease;
}

/* Variant Palettes */
.announcement-bar--warning {
    background: linear-gradient(135deg, #b45309 0%, #d97706 60%, #f59e0b 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.announcement-bar--info {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 60%, #38bdf8 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.announcement-bar--danger {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 60%, #ef4444 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.announcement-bar--success {
    background: linear-gradient(135deg, #065f46 0%, #059669 60%, #10b981 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.announcement-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.announcement-bar__content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.announcement-bar__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 0.22rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.announcement-bar__icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.announcement-bar__text {
    font-size: 0.875rem;
    line-height: 1.45;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.announcement-bar__close {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    padding: 0;
}

.announcement-bar__close:hover,
.announcement-bar__close:focus-visible {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.08);
    outline: none;
}

.announcement-bar__close:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .announcement-bar__inner {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
        gap: 0.75rem;
    }
    .announcement-bar__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
    .announcement-bar__text {
        font-size: 0.85rem;
    }
    .announcement-bar__badge {
        font-size: 0.68rem;
        padding: 0.15rem 0.55rem;
    }
}

/* ==========================================================================
   4. Header & Topbar
   ========================================================================== */
.topbar {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-xs);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.45rem 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.topbar-items, .topbar-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
}

.topbar-link:hover {
    color: var(--color-teal);
}

.site-header {
    position: sticky;
    top: var(--announcement-height, 0px);
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    transition: top 0.25s ease, box-shadow var(--transition);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(9, 128, 122, 0.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-primary);
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    padding: 0.5rem;
}

.hamburger-box {
    width: 26px;
    height: 20px;
    display: inline-block;
    position: relative;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 26px;
    height: 2.5px;
    background-color: var(--color-text);
    border-radius: 4px;
    position: absolute;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: '';
    top: -8px;
}

.hamburger-inner::after {
    content: '';
    bottom: -8px;
}

.nav-toggle[aria-expanded="true"] .hamburger-inner {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(180deg, #f0faf9 0%, #ffffff 100%);
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
    border: 1px solid #c9eee9;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.hero-lead {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    color: var(--color-text);
    font-size: var(--font-size-sm);
}

.hero-feature svg {
    color: var(--color-open);
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.hero-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.hero-card-sub {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.hero-card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.card-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-label {
    color: var(--color-text-muted);
}

.info-val {
    font-weight: 600;
    color: var(--color-text);
}

.info-link {
    color: var(--color-primary);
}

.badge-vszp {
    background: #dbeafe;
    color: #1e40af;
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
}

.btn-call-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    background: var(--color-open);
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
    transition: all var(--transition);
}

.btn-call-direct:hover {
    background: #047857;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   6. Doctors & About Section
   ========================================================================== */
.section-about {
    background: var(--color-bg);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.doctor-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.doctor-card-top {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.doctor-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.doctor-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--color-teal);
    box-shadow: var(--shadow-md);
}

.avatar-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: var(--color-primary);
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.doctor-meta {
    flex: 1;
}

.doctor-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.doctor-role {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.doctor-bio p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.65;
}

.doctor-bio p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   7. Medical Services
   ========================================================================== */
.section-services {
    background: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card-featured {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 1px var(--color-teal), var(--shadow-md);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--color-primary);
    color: #fff;
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    margin-bottom: 1.5rem;
}

.service-img {
    max-height: 130px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--color-text);
}

.service-list li svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.services-footer {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* ==========================================================================
   8. EMG Patient Information Hub
   ========================================================================== */
.section-emg {
    background: #ffffff;
}

.emg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.emg-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.emg-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.emg-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.emg-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 0.85rem;
}

.emg-card p:last-child {
    margin-bottom: 0;
}

.emg-card-highlight {
    background: #f0faf9;
    border-color: #cdeee9;
}

.alert-box {
    background: #ffffff;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: var(--font-size-xs);
    margin-top: 0.75rem;
}

.alert-box strong {
    color: var(--color-text);
    display: block;
    margin-bottom: 0.35rem;
}

.alert-box ul {
    margin-top: 0.35rem;
    padding-left: 1rem;
    list-style: disc;
}

.emg-check-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.emg-check-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-xs);
    color: var(--color-text);
}

.emg-check-list li svg {
    color: var(--color-open);
    flex-shrink: 0;
}

.emg-card-action {
    background: #ffffff;
    border: 2px dashed var(--color-border-focus);
}

.emg-download-box {
    margin-top: auto;
    padding-top: 1.5rem;
}

/* ==========================================================================
   9. Hours & Insurance
   ========================================================================== */
.section-hours {
    background: var(--color-bg-alt);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: stretch;
}

.hours-card, .insurance-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.hours-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hours-head-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-primary);
}

.hours-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
}

.live-pill.is-open {
    background: var(--color-open-bg);
    color: var(--color-open);
}

.live-pill.is-closed {
    background: var(--color-closed-bg);
    color: var(--color-closed);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.hours-table-wrap {
    margin-bottom: 1.5rem;
}

.hours-table,
.wp-block-table.hours-table table {
    width: 100%;
    border-collapse: collapse;
}

.hours-row td,
.hours-table td,
.wp-block-table.hours-table td {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
}

.hours-row.is-today {
    background: var(--color-primary-light);
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.hours-row.is-today td {
    border-bottom-color: transparent;
    color: var(--color-primary-dark);
}

.day-name {
    width: 35%;
}

.day-time {
    width: 65%;
    font-weight: 600;
}

.break-notice {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-weight: normal;
}

.hours-note {
    margin-top: auto;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-bg-alt);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
}

.insurance-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    color: #1e40af;
    background: #dbeafe;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.insurance-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

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

.insurance-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.insurance-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.insurance-alert {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: var(--font-size-xs);
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.insurance-alert strong {
    display: block;
    margin-bottom: 0.25rem;
}

.insurance-footer {
    margin-top: auto;
}

/* ==========================================================================
   10. Interactive Pricing Table
   ========================================================================== */
.section-pricing {
    background: #ffffff;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.pricing-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pricing-tab.is-active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(9, 128, 122, 0.2);
}

.pricing-table-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
}

.pricing-table,
.wp-block-table.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.wp-block-table.pricing-table th {
    background: var(--color-bg-alt);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.pricing-table td,
.wp-block-table.pricing-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    vertical-align: middle;
}

.pricing-table tr:last-child td,
.wp-block-table.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background-color: #f8fafc;
}

.col-num {
    width: 60px;
    color: var(--color-text-light);
    font-weight: 600;
}

.col-cat {
    width: 140px;
}

.col-price {
    width: 140px;
    text-align: right;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.service-detail {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-weight: normal;
    margin-top: 0.15rem;
}

.cat-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.cat-emg {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    border-color: #bceae4;
}

.pricing-download-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}

.download-banner-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.download-banner-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-sm);
}

.pricing-download-banner .btn-primary {
    background: #ffffff;
    color: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-download-banner .btn-primary:hover {
    background: #f0faf9;
    color: var(--color-primary-dark);
}

/* ==========================================================================
   11. Booking Section
   ========================================================================== */
.section-booking {
    background: var(--color-bg-alt);
}

.booking-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.booking-step {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.booking-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.booking-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.booking-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.booking-card-featured {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 1px var(--color-teal), var(--shadow-md);
}

.booking-badge {
    position: absolute;
    top: -12px;
    background: var(--color-teal);
    color: #ffffff;
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.booking-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    margin-bottom: 1.25rem;
}

.booking-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.booking-card-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.booking-card-note {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

/* ==========================================================================
   12. Contact & GDPR Map Section
   ========================================================================== */
.section-contact {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: stretch;
}

.contact-panel {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.contact-val {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.link-external {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.transport-notes {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    font-size: var(--font-size-xs);
}

.transport-notes h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.transport-notes ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: relative;
    background: #e5e7eb;
}

.map-facade {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f7f6 0%, #d8f3f0 100%);
    padding: 2rem;
    text-align: center;
}

.map-facade-inner {
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.map-pin-pulse {
    color: var(--color-primary);
    animation: pulsePin 2s infinite ease-in-out;
}

@keyframes pulsePin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.map-facade h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.map-facade p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.map-privacy-note {
    font-size: 0.7rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.map-iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-brand-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-teal);
}

.footer-desc {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.legal-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    font-size: var(--font-size-xs);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.legal-row strong {
    color: #ffffff;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: var(--font-size-sm);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    margin-bottom: 1.5rem;
}

.footer-hours-list li {
    display: flex;
    justify-content: space-between;
}

.footer-hours-list strong {
    color: #ffffff;
}

.footer-insurance-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-xs);
    background: rgba(39, 201, 187, 0.1);
    color: var(--color-teal);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
}

.download-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    transition: background var(--transition);
}

.download-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.download-icon {
    color: var(--color-teal);
    flex-shrink: 0;
}

.download-title {
    display: block;
    color: #ffffff;
    font-size: var(--font-size-xs);
    font-weight: 700;
}

.download-sub {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
}

.supervisory-authority {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-xs);
}

.back-to-top {
    color: #94a3b8;
    font-weight: 600;
}

.back-to-top:hover {
    color: #ffffff;
}

/* ==========================================================================
   14. Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #0f172a;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
    font-size: var(--font-size-xs);
    line-height: 1.5;
}

.cookie-text strong {
    color: var(--color-teal);
}

/* ==========================================================================
   15. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .emg-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .booking-steps {
        grid-template-columns: 1fr;
    }

    .booking-cards {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 868px) {
    .topbar {
        display: none;
    }

    .site-header {
        position: sticky !important;
        top: var(--announcement-height, 0px) !important;
        z-index: 1000 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .header-container {
        position: static !important;
        height: 72px !important;
    }

    body.nav-open {
        overflow: hidden !important;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .primary-nav {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: calc(100dvh - 72px - var(--announcement-height, 0px)) !important;
        max-height: calc(100dvh - 72px - var(--announcement-height, 0px)) !important;
        background: #ffffff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1.5rem 1.75rem 3.5rem !important;
        gap: 1.25rem !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 999 !important;
        visibility: hidden !important;
        border-top: 1px solid var(--color-border) !important;
    }

    .primary-nav.is-open {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    .nav-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .nav-item {
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        color: var(--color-text) !important;
        padding: 0.95rem 0 !important;
        border-bottom: 1px solid var(--color-border) !important;
        text-decoration: none !important;
        transition: color 0.2s, padding-left 0.2s !important;
    }

    .nav-link::after {
        display: none !important;
    }

    .nav-link:hover,
    .nav-link:active {
        color: var(--color-primary) !important;
        padding-left: 0.35rem !important;
    }

    .nav-cta {
        margin-top: 1.25rem !important;
        padding-top: 0.5rem !important;
    }

    .nav-cta .btn {
        width: 100% !important;
        justify-content: center !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        padding: 0.95rem 1.5rem !important;
        border-radius: var(--radius-md) !important;
    }

    .emg-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .col-cat {
        display: none;
    }
}

/* ==========================================================================
   16. WordPress Gutenberg Block Compatibility & Specificity Overrides
   ========================================================================== */
.wp-block-group.section,
.wp-block-group.hero-section,
.wp-block-group.section-about,
.wp-block-group.section-services,
.wp-block-group.section-emg,
.wp-block-group.section-hours,
.wp-block-group.section-pricing,
.wp-block-group.section-booking,
.wp-block-group.section-contact {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body .hero-container, .hero-container {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 3.5rem !important;
    align-items: center !important;
}

body .doctors-grid, .doctors-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
}

body .services-grid, .services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

body .emg-grid, .emg-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
}

body .hours-grid, .hours-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 2.5rem !important;
}

body .booking-steps, .booking-steps {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

body .booking-cards, .booking-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

body .contact-grid, .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
}

/* Neutralize classic theme Gutenberg inner containers for grids */
.hero-container > .wp-block-group__inner-container,
.doctors-grid > .wp-block-group__inner-container,
.services-grid > .wp-block-group__inner-container,
.emg-grid > .wp-block-group__inner-container,
.hours-grid > .wp-block-group__inner-container,
.booking-steps > .wp-block-group__inner-container,
.booking-cards > .wp-block-group__inner-container,
.contact-grid > .wp-block-group__inner-container {
    display: contents !important;
}

/* Responsive overrides for Gutenberg */
@media (max-width: 1024px) {
    body .hero-container, .hero-container { grid-template-columns: 1fr !important; }
    body .doctors-grid, .doctors-grid { grid-template-columns: 1fr !important; }
    body .services-grid, .services-grid { grid-template-columns: 1fr !important; }
    body .emg-grid, .emg-grid { grid-template-columns: 1fr 1fr !important; }
    body .hours-grid, .hours-grid { grid-template-columns: 1fr !important; }
    body .booking-steps, .booking-steps { grid-template-columns: 1fr !important; }
    body .booking-cards, .booking-cards { grid-template-columns: 1fr !important; }
    body .contact-grid, .contact-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 868px) {
    body .emg-grid, .emg-grid { grid-template-columns: 1fr !important; }
}

/* Icon support for Gutenberg lists without raw SVGs */
.service-list li:not(:has(svg))::before,
.hero-features li:not(:has(svg))::before,
.emg-check-list li:not(:has(svg))::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    margin-right: 0.5rem;
    background-color: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
}

/* Doctor avatars and badges */
.doctor-avatar-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}
.doctor-avatar-wrap .doctor-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.doctor-avatar-wrap .avatar-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.doctor-avatar-wrap .avatar-badge::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Hero card icon */
.hero-card-header .card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-card-header .card-icon::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ==========================================================================
   17. WordPress Block Button Normalization & Dark Grey Override
   Removes WordPress Core #32373c dark grey button style and restores clinic theme colors.
   ========================================================================== */

/* Wrapper div reset - MUST never have background, border, padding, or box-shadow */
div.wp-block-button,
.wp-block-button,
div.wp-block-button.btn,
div.wp-block-button.btn-primary,
div.wp-block-button.btn-secondary,
div.wp-block-button.btn-accent,
div.wp-block-button.btn-outline,
div.wp-block-button.btn-call-direct,
div.wp-block-button.btn-block,
div.wp-block-button.btn-lg,
div.wp-block-button.btn-sm,
.pricing-download-banner div.wp-block-button,
.pricing-download-banner div.wp-block-button.btn-primary,
.emg-download-box div.wp-block-button {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: inline-flex !important;
}

div.wp-block-button.btn-block,
div.wp-block-button.btn-call-direct,
.booking-card .wp-block-buttons,
.booking-card .wp-block-button,
.hero-card-footer .wp-block-buttons,
.hero-card-footer .wp-block-button {
    width: 100% !important;
    display: flex !important;
}

/* Base styling for the clickable link element (A or BUTTON) */
:root :where(.wp-element-button, .wp-block-button__link),
.wp-block-button .wp-block-button__link,
.wp-block-button .wp-element-button,
.wp-block-button__link,
.wp-element-button {
    font-family: var(--font-sans) !important;
    font-size: var(--font-size-base) !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--radius-sm) !important; /* 6px crisp rounded rectangle, NEVER 9999px grey pill */
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    transition: all var(--transition) !important;
    border: none !important;
    cursor: pointer !important;
    text-align: center !important;
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(9, 128, 122, 0.25) !important;
}

:root :where(.wp-element-button, .wp-block-button__link):hover,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-element-button:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
    background-color: var(--color-primary-dark) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(9, 128, 122, 0.35) !important;
}

/* Primary Button (.btn-primary) - Deep Teal (#09807a) with White text */
.btn-primary .wp-block-button__link,
.btn-primary .wp-element-button,
.btn-primary > .wp-block-button__link,
.btn-primary > .wp-element-button,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-element-button,
a.btn-primary,
button.btn-primary {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(9, 128, 122, 0.25) !important;
}

.btn-primary .wp-block-button__link:hover,
.btn-primary .wp-element-button:hover,
.btn-primary > .wp-block-button__link:hover,
.btn-primary > .wp-element-button:hover,
.wp-block-button.btn-primary .wp-block-button__link:hover,
.wp-block-button.btn-primary .wp-element-button:hover,
a.btn-primary:hover,
button.btn-primary:hover {
    background-color: var(--color-primary-dark) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(9, 128, 122, 0.35) !important;
}

/* Secondary Button (.btn-secondary) - Soft Mint (#e6f7f6) with Deep Teal (#09807a) text */
.btn-secondary .wp-block-button__link,
.btn-secondary .wp-element-button,
.btn-secondary > .wp-block-button__link,
.btn-secondary > .wp-element-button,
.wp-block-button.btn-secondary .wp-block-button__link,
.wp-block-button.btn-secondary .wp-element-button,
a.btn-secondary,
button.btn-secondary {
    background-color: var(--color-primary-light) !important;
    color: var(--color-primary-dark) !important;
    box-shadow: none !important;
}

.btn-secondary .wp-block-button__link:hover,
.btn-secondary .wp-element-button:hover,
.btn-secondary > .wp-block-button__link:hover,
.btn-secondary > .wp-element-button:hover,
.wp-block-button.btn-secondary .wp-block-button__link:hover,
.wp-block-button.btn-secondary .wp-element-button:hover,
a.btn-secondary:hover,
button.btn-secondary:hover {
    background-color: #d2f1ee !important;
    color: var(--color-primary-dark) !important;
    transform: translateY(-2px);
}

/* Accent Button (.btn-accent) - Medical Turquoise (#27c9bb) with White text */
.btn-accent .wp-block-button__link,
.btn-accent .wp-element-button,
.btn-accent > .wp-block-button__link,
.btn-accent > .wp-element-button,
.wp-block-button.btn-accent .wp-block-button__link,
.wp-block-button.btn-accent .wp-element-button,
a.btn-accent,
button.btn-accent {
    background-color: var(--color-teal) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(39, 201, 187, 0.3) !important;
}

.btn-accent .wp-block-button__link:hover,
.btn-accent .wp-element-button:hover,
.btn-accent > .wp-block-button__link:hover,
.btn-accent > .wp-element-button:hover,
.wp-block-button.btn-accent .wp-block-button__link:hover,
.wp-block-button.btn-accent .wp-element-button:hover,
a.btn-accent:hover,
button.btn-accent:hover {
    background-color: var(--color-teal-dark) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(39, 201, 187, 0.4) !important;
}

/* Call Direct Button (.btn-call-direct on hero card) */
.btn-call-direct .wp-block-button__link,
.btn-call-direct .wp-element-button,
.btn-call-direct > .wp-block-button__link,
.btn-call-direct > .wp-element-button,
.hero-card-footer .wp-block-button__link,
.hero-card-footer .wp-element-button {
    width: 100% !important;
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(9, 128, 122, 0.25) !important;
}

.btn-call-direct .wp-block-button__link:hover,
.btn-call-direct .wp-element-button:hover,
.btn-call-direct > .wp-block-button__link:hover,
.btn-call-direct > .wp-element-button:hover,
.hero-card-footer .wp-block-button__link:hover,
.hero-card-footer .wp-element-button:hover {
    background-color: var(--color-primary-dark) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Outline Button (.btn-outline) */
.btn-outline .wp-block-button__link,
.btn-outline .wp-element-button,
a.btn-outline,
button.btn-outline {
    background-color: transparent !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary) !important;
    box-shadow: none !important;
}

.btn-outline .wp-block-button__link:hover,
.btn-outline .wp-element-button:hover,
a.btn-outline:hover,
button.btn-outline:hover {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
}

/* Button Sizes (.btn-lg, .btn-sm, .btn-block) */
.btn-lg .wp-block-button__link,
.btn-lg .wp-element-button,
a.btn-lg,
button.btn-lg {
    padding: 0.95rem 2rem !important;
    font-size: var(--font-size-base) !important;
}

.btn-sm .wp-block-button__link,
.btn-sm .wp-element-button,
a.btn-sm,
button.btn-sm {
    padding: 0.5rem 1.1rem !important;
    font-size: var(--font-size-sm) !important;
}

.btn-block .wp-block-button__link,
.btn-block .wp-element-button,
a.btn-block,
button.btn-block {
    width: 100% !important;
    display: flex !important;
}

/* Pricing Download Banner Button (Clean White button on dark teal banner) */
.pricing-download-banner .wp-block-button,
.pricing-download-banner .download-banner-action .wp-block-button,
.pricing-download-banner div.wp-block-button.btn-primary {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.pricing-download-banner .wp-block-button__link,
.pricing-download-banner .wp-element-button,
.pricing-download-banner .btn-primary .wp-block-button__link,
.pricing-download-banner .btn-primary .wp-element-button,
.pricing-download-banner .btn-primary > .wp-block-button__link,
.pricing-download-banner .btn-primary > .wp-element-button {
    background-color: #ffffff !important;
    color: var(--color-primary-dark) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.pricing-download-banner .wp-block-button__link:hover,
.pricing-download-banner .wp-element-button:hover,
.pricing-download-banner .btn-primary .wp-block-button__link:hover,
.pricing-download-banner .btn-primary .wp-element-button:hover,
.pricing-download-banner .btn-primary > .wp-block-button__link:hover,
.pricing-download-banner .btn-primary > .wp-element-button:hover {
    background-color: #f0faf9 !important;
    color: var(--color-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

/* Button Vector Icons via ::before */
.hero-buttons .btn-primary .wp-block-button__link::before,
.hero-buttons .btn-primary.wp-block-button__link::before,
.services-footer .btn-primary .wp-block-button__link::before,
.services-footer .btn-primary.wp-block-button__link::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2' ry='2'/%3E%3Cline x1='16' x2='16' y1='2' y2='6'/%3E%3Cline x1='8' x2='8' y1='2' y2='6'/%3E%3Cline x1='3' x2='21' y1='10' y2='10'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2' ry='2'/%3E%3Cline x1='16' x2='16' y1='2' y2='6'/%3E%3Cline x1='8' x2='8' y1='2' y2='6'/%3E%3Cline x1='3' x2='21' y1='10' y2='10'/%3E%3C/svg%3E") no-repeat center / contain;
    margin-right: 0.35rem;
}

.btn-call-direct .wp-block-button__link::before,
.btn-call-direct.wp-block-button__link::before,
.booking-card-landline .wp-block-button__link::before,
.booking-card-mobile .wp-block-button__link::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
    margin-right: 0.35rem;
}

.booking-card-email .wp-block-button__link::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") no-repeat center / contain;
    margin-right: 0.35rem;
}

.pricing-download-banner .wp-block-button__link::before,
.emg-download-box .wp-block-button__link::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
    margin-right: 0.35rem;
}

/* ==========================================================================
   18. Booking Card Icons (Landline, Mobile, Email)
   ========================================================================== */
.booking-card-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 58px !important;
    height: 58px !important;
    background: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
    border-radius: 50% !important;
    margin-bottom: 1.25rem !important;
    position: relative !important;
}

.booking-card-icon svg,
.emg-card-icon svg,
.contact-icon svg {
    display: none !important;
}

.booking-card-landline .booking-card-icon::before,
.booking-cards .booking-card:nth-of-type(1) .booking-card-icon::before,
.booking-cards > * > :nth-child(1) .booking-card-icon::before,
.booking-cards > :nth-child(1) .booking-card-icon::before {
    content: "" !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

.booking-card-mobile .booking-card-icon::before,
.booking-card-featured .booking-card-icon::before,
.booking-cards .booking-card:nth-of-type(2) .booking-card-icon::before,
.booking-cards > * > :nth-child(2) .booking-card-icon::before,
.booking-cards > :nth-child(2) .booking-card-icon::before {
    content: "" !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    background-color: var(--color-teal) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2' ry='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2' ry='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

.booking-card-email .booking-card-icon::before,
.booking-cards .booking-card:nth-of-type(3) .booking-card-icon::before,
.booking-cards > * > :nth-child(3) .booking-card-icon::before,
.booking-cards > :nth-child(3) .booking-card-icon::before {
    content: "" !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

/* ==========================================================================
   19. EMG Card Icons (6 Cards)
   ========================================================================== */
.emg-card-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--radius-md) !important;
    background: var(--color-primary-light) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.25rem !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

.emg-card-principle .emg-card-icon::before,
.emg-grid .emg-card:nth-of-type(1) .emg-card-icon::before,
.emg-grid > * > :nth-child(1) .emg-card-icon::before,
.emg-grid > :nth-child(1) .emg-card-icon::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

.emg-card-types .emg-card-icon::before,
.emg-grid .emg-card:nth-of-type(2) .emg-card-icon::before,
.emg-grid > * > :nth-child(2) .emg-card-icon::before,
.emg-grid > :nth-child(2) .emg-card-icon::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

.emg-card-prep .emg-card-icon::before,
.emg-card-highlight .emg-card-icon::before,
.emg-grid .emg-card:nth-of-type(3) .emg-card-icon::before,
.emg-grid > * > :nth-child(3) .emg-card-icon::before,
.emg-grid > :nth-child(3) .emg-card-icon::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

.emg-card-indications .emg-card-icon::before,
.emg-grid .emg-card:nth-of-type(4) .emg-card-icon::before,
.emg-grid > * > :nth-child(4) .emg-card-icon::before,
.emg-grid > :nth-child(4) .emg-card-icon::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

.emg-card-process .emg-card-icon::before,
.emg-grid .emg-card:nth-of-type(5) .emg-card-icon::before,
.emg-grid > * > :nth-child(5) .emg-card-icon::before,
.emg-grid > :nth-child(5) .emg-card-icon::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

.emg-card-consent .emg-card-icon::before,
.emg-card-action .emg-card-icon::before,
.emg-grid .emg-card:nth-of-type(6) .emg-card-icon::before,
.emg-grid > * > :nth-child(6) .emg-card-icon::before,
.emg-grid > :nth-child(6) .emg-card-icon::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

/* ==========================================================================
   20. Contact Panel Icons
   ========================================================================== */
.contact-item .contact-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--radius-md) !important;
    background: var(--color-primary-light) !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

.contact-item:nth-of-type(1) .contact-icon::before,
.contact-item-address .contact-icon::before,
.contact-panel > * > :nth-child(1) .contact-icon::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

.contact-item:nth-of-type(2) .contact-icon::before,
.contact-item-phones .contact-icon::before,
.contact-panel > * > :nth-child(2) .contact-icon::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

.contact-item:nth-of-type(3) .contact-icon::before,
.contact-item-email .contact-icon::before,
.contact-panel > * > :nth-child(3) .contact-icon::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: var(--color-primary) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") no-repeat center / contain !important;
}


