/* Austin Location Page Styles - v1.7 - Hamburger menu iOS fix (match hmdhou.com) 20260219 */

        /* Hide text visually but keep for SEO + screen readers */
        .visually-hidden {
            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;
        }

        /* Brand formatting: headacheMD (official logo green + bold) */
        .brand-headache {
            font-weight: 800;
        }

        .brand-md {
            /* sampled from logo: #829b3c */
            color: #829b3c;
            font-weight: 800;
        }

        body {
            /* Account for fixed navbar; include iOS safe-area inset */
            padding-top: calc(150px + env(safe-area-inset-top));
        }

        @media (max-width: 768px) {
            /* On iPhone the navbar is taller than 110px; ensure banner isn't hidden */
            body { padding-top: calc(170px + env(safe-area-inset-top)); }
        }

        .hero {
            padding: 50px 0 40px;
            background: #f8f9fa;
        }

        .hero h1 {
            margin-top: 0;
        }

        .hero .hero-lead {
            font-size: 18px;
            line-height: 1.55;
            margin-top: 10px;
            margin-bottom: 12px;
            color: #2c3e50;
        }

        .hero .hero-sublead {
            font-size: 18px;
            line-height: 1.6;
            margin-top: 0;
            margin-bottom: 0;
            color: #2c3e50;
        }

        .hero .hero-sublead--limited {
            font-weight: 800;
            text-align: center;
            margin-top: 14px;
            margin-bottom: 0;
        }

        .hero .hero-sublead--cta {
            text-align: center;
            margin-top: 6px;
            margin-bottom: 0;
        }

        @media (max-width: 768px) {
            .hero .hero-lead { font-size: 17px; }
            .hero .hero-sublead { font-size: 17px; }
        }

        .provider-card {
            background: white;
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 20px;
            box-shadow: 0 5px 18px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
            text-align: center;
        }

        .provider-card:hover {
            transform: translateY(-3px);
        }

        /* Provider card as link (e.g. surgeon profile) - same visual treatment */
        a.provider-card {
            display: block;
            text-decoration: none;
            color: inherit;
        }

        a.provider-card:hover {
            text-decoration: none;
            color: inherit;
        }

        .provider-image {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            object-position: 50% 35%;
            margin: 0 auto 16px;
            display: block;
            border: 4px solid #a5c422;
        }

        /* Staff photo framing (match hmdhou.com) */
        .provider-image.provider-image-shivani { object-position: 50% 20%; }
        .provider-image.provider-image-elizabeth { object-position: 50% 50%; }
        .provider-image.provider-image-brenda { object-position: 50% 35%; }
        .provider-image.provider-image-liz { object-position: 50% 30%; }
        .provider-image.provider-image-maria { object-position: 50% 25%; }
        .provider-image.provider-image-michele { object-position: 50% 20%; }
        .provider-image.provider-image-reis { object-position: 50% 20%; }

        .provider-tiles-row {
            margin-top: 20px;
        }

        @media (min-width: 768px) {
            .provider-tiles-row .col-sm-6:first-child {
                padding-right: 20px;
            }
            .provider-tiles-row .col-sm-6:last-child {
                padding-left: 20px;
            }
        }

        /* Wider provider cards on hero (left column) */
        .provider-card--wide .provider-image {
            width: 180px;
            height: 180px;
        }

        .cta-card {
            background: #ffffff;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 5px 18px rgba(0,0,0,0.08);
        }

        .cta-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 14px;
        }

        .cta-actions .btn {
            width: auto !important;
            padding: 10px 16px !important;
            border-radius: 999px !important;
            font-weight: 700 !important;
            min-height: 44px;
        }

        .btn-primary {
            background: #a5c422;
            border: none;
        }

        .btn-primary:hover {
            background: #8fb01a;
        }

        /* Hamburger menu: closed by default on mobile, toggleable (match hmdhou.com) */
        @media (max-width: 768px) {
            .navbar .navbar-collapse.collapse {
                display: none !important;
            }
            .navbar .navbar-collapse.collapse.in {
                display: block !important;
            }
        }
        @media (min-width: 769px) {
            .navbar .navbar-collapse {
                display: flex !important;
                align-items: center !important;
            }
        }

        /* Navbar overrides (match existing site style) */
        .navbar {
            background: #ffffff !important;
            border: none !important;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
            min-height: 140px !important;
            padding: 0 !important;
            overflow: visible !important;
        }

        .navbar-brand {
            padding: 0 15px !important;
            height: 140px !important;
            line-height: 140px !important;
            display: flex !important;
            align-items: center !important;
            overflow: visible !important;
            margin: 0 !important;
        }

        .navbar-brand img {
            height: 130px !important;
            width: auto !important;
            max-height: 130px !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            object-fit: contain !important;
            object-position: center center !important;
        }

        .return-link {
            color: #27ae60 !important;
            font-weight: 600;
        }

        .return-link:hover {
            color: #2ecc71 !important;
        }

        /* Insurance modal + buttons (shared styling with hmdhou.com) */
        .nav-insurance-stack {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 6px;
        }
        .nav-buttons-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

        .btn-insurance {
            width: auto !important;
            padding: 8px 14px !important;
            border-radius: 999px !important;
            font-weight: 700 !important;
            line-height: 1.1 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-height: 44px;
            vertical-align: middle;
        }

        /* Insurance modal: use houston-location.css (identical to hmdhou.com for all devices) */

        /* Moving announcement banner (like hMDhou.com) */
        .moving-banner {
            background: #fff;
            border-bottom: 1px solid rgba(0,0,0,0.08);
            overflow: hidden;
            white-space: nowrap;
        }

        .moving-banner__track {
            display: inline-flex;
            align-items: center;
            gap: 60px;
            padding: 10px 0;
            will-change: transform;
            animation: movingBannerScroll 24s linear infinite;
        }

        .moving-banner__text {
            color: #c62828;
            font-weight: 800;
            letter-spacing: 0.2px;
        }

        @keyframes movingBannerScroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* Admin button (kept consistent with main site) */
        .admin-button-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }

        .admin-btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: #2c3e50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            text-decoration: none;
            min-height: 44px;
            line-height: 1.2;
            transition: background-color 0.3s ease;
        }

        .admin-btn:hover {
            background-color: #1a252f;
            text-decoration: none;
            color: white;
        }

/* Focus indicators (replaces JS-based approach) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #a5c422;
    outline-offset: 2px;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .moving-banner__track {
        animation: none;
    }
    .wow {
        animation: none !important;
        visibility: visible !important;
    }
    .provider-card:hover {
        transform: none;
    }
}
