* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-navy: #001242;
    --ocean-blue: #0094c6;
    --white: #ffffff;
    --baltic-blue: #005e7c;
    --berry-blush: #a4508b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--deep-navy);
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--baltic-blue) 50%, var(--deep-navy) 100%);
    padding: 10px;
    min-height: 100vh;
}

.page-wrapper {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--white);
    border-radius: 20px;
}

/* Banner Section */
.banner {
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 0;
}

.banner h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner h1 {
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.banner p {
    font-size: 1.1em;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.banner p {
    font-size: 1.1em;
    letter-spacing: 2px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .banner {
        padding-top: 80px;
    }
}

/* Navigation Bar */
.navbar {
    background-color: var(--deep-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 0;
    flex-wrap: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 18px 30px;
    display: inline-block;
    font-size: 1.05em;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.nav-link:last-child {
    border-right: none;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--baltic-blue);
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--ocean-blue), var(--berry-blush));
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 350px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.nav-dropdown-content a {
    color: var(--deep-navy) !important;
    padding: 14px 20px;
    text-decoration: none !important;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 18, 66, 0.1);
    font-size: 0.95em;
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background: linear-gradient(90deg, rgba(0, 148, 198, 0.1), rgba(164, 80, 139, 0.1));
    color: var(--berry-blush) !important;
    padding-left: 25px;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .navbar {
        display: none;
    }
}

/* Hamburger Menu Button */
.hamburger-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2000;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--berry-blush) 100%);
    border: none;
    width: 60px;
    height: 55px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(164, 80, 139, 0.3);
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(164, 80, 139, 0.4);
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--deep-navy);
    z-index: 1999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-drawer.active {
    left: 0;
}

.mobile-drawer-content {
    padding: 80px 0 20px 0;
}

.mobile-nav-link {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 15px 15px;
    font-size: 1.05em;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--baltic-blue);
    padding-left: 30px;
}

.mobile-nav-dropdown {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-dropdown > .mobile-nav-link {
    border-bottom: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-nav-dropdown > .mobile-nav-link::after {
    content: '▼';
    font-size: 0.8em;
    transition: transform 0.3s ease;
    margin-right: 0;
}

.mobile-nav-dropdown.expanded > .mobile-nav-link::after {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    background-color: rgba(0, 94, 124, 0.3);
}

.mobile-nav-dropdown.expanded .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-content a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 12px 25px 12px 40px;
    font-size: 0.95em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mobile-dropdown-content a:last-child {
    border-bottom: none;
}

.mobile-dropdown-content a:hover {
    background-color: rgba(164, 80, 139, 0.2);
    padding-left: 45px;
}

/* Overlay for mobile drawer */
.drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1998;
}

.drawer-overlay.active {
    display: block;
}

@media (max-width: 767px) {
    .hamburger-btn,
    .mobile-drawer {
        display: flex;
    }
}

/* Universal h3 styling */
h3 {
    color: var(--baltic-blue);
    margin-bottom: 15px;
    font-size: 1.3em;
    position: relative;
    padding-bottom: 10px;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ocean-blue), var(--berry-blush));
    border-radius: 2px;
}

/* Content Section */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.photo-section {
    flex: 1;
    min-width: 280px;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--berry-blush) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blurb-section {
    flex: 2;
    min-width: 300px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding-right: 20px;
}

.blurb-section p {
    margin-bottom: 20px;
    color: var(--deep-navy);
}

/* Content section for subpages */
.content-section {
    padding: 20px;
    margin-bottom: 30px;
}

.content-section h3 {
    font-size: 2em;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.content-section h3::after {
    width: 80px;
}

.content-section p {
    margin-bottom: 20px;
    color: var(--deep-navy);
    line-height: 1.8;
    text-align: justify;
}

/* Expertise Section */
.expertise-section {
    margin-top: 30px;
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--ocean-blue), var(--berry-blush), var(--ocean-blue)) 1;
    position: relative;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--ocean-blue) 20%, 
        var(--berry-blush) 50%, 
        var(--ocean-blue) 80%, 
        transparent 100%);
}

.expertise-section > p {
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--baltic-blue);
}

.allergies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.allergies-grid ul {
    list-style: none;
    padding-left: 0;
}

.allergies-grid li {
    padding: 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    margin-bottom: 8px;
}

.allergies-grid li:before {
    content: "•";
    color: var(--deep-navy);
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -4px;
}

.allergies-grid a {
    color: var(--deep-navy) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.allergies-grid a:visited {
    color: var(--deep-navy) !important;
}

@media (hover: hover) {
    .allergies-grid a:hover {
        color: var(--berry-blush) !important;
    }
}

/* Bottom Section */
.bottom-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
}

.button-section, .location-section {
    flex: 1;
    min-width: 280px;
}

.button-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Primary button style (shared by all buttons) */
.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--berry-blush) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(164, 80, 139, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--berry-blush) 0%, var(--ocean-blue) 100%);
    transition: left 0.3s ease;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 80, 139, 0.4);
}

/* Location Section */
.location-section h3 {
    color: var(--baltic-blue);
    margin-bottom: 15px;
    font-size: 1.3em;
    position: relative;
    padding-bottom: 10px;
}

#map {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    #map {
        width: calc(100% - 20px);
    }
}

/* Map zoom controls styling */
.leaflet-control-zoom a {
    background-color: var(--white) !important;
    border: 1px solid var(--baltic-blue) !important;
    color: var(--baltic-blue) !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 28px !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

.leaflet-control-zoom a:hover,
.leaflet-control-zoom a:active {
    background-color: var(--white) !important;
    color: var(--berry-blush) !important;
    border-color: var(--berry-blush) !important;
}

.leaflet-control-zoom {
    border: none !important;
}

/* Footer */
.footer {
    color: var(--white);
    text-align: center;
    padding: 20px;
    font-size: 0.95em;
}

.footer p {
    margin: 0;
    opacity: 0.9;
}


/* ===== APPOINTMENT MODAL ===== */

/* Modal Background Overlay */
.appointment-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Content Box */
.appointment-modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.appointment-modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.appointment-modal-close:hover,
.appointment-modal-close:focus {
    color: #333;
}

/* Modal Header */
.appointment-modal-content h2 {
    margin: 0 0 10px 0;
    color: #2c5f8d;
    font-size: 28px;
    font-weight: 600;
}

.appointment-modal-content > p {
    margin: 0 0 30px 0;
    color: #666;
    font-size: 16px;
}

/* Appointment Options Container */
.appointment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual Appointment Option */
.appointment-option {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.appointment-option:hover {
    background-color: #e8f4f8;
    border-color: #2c5f8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.15);
}

/* Icon */
.appointment-icon {
    font-size: 40px;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Text Details */
.appointment-details h3 {
    margin: 0 0 5px 0;
    color: #2c5f8d;
    font-size: 20px;
    font-weight: 600;
}

.appointment-details p {
    margin: 0;
    color: #555;
    font-size: 16px;
}

/* ===== LOCATION MODAL ===== */

/* Location Modal Background */
.location-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

/* Location Modal Content Box */
.location-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s ease;
}

/* Location Modal Close Button */
.location-modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.location-modal-close:hover,
.location-modal-close:focus {
    color: #333;
}

/* Location Modal Header */
.location-modal-content h2 {
    margin: 0 0 10px 0;
    color: #2c5f8d;
    font-size: 28px;
    font-weight: 600;
}

.location-modal-content > p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 16px;
}

/* Map Container */
.location-map {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
}

/* Location Info */
.location-info {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.location-info p {
    margin: 5px 0;
    color: #555;
    font-size: 15px;
}

.location-info strong {
    color: #2c5f8d;
}

/* ===== MOBILE RESPONSIVENESS ===== */

@media (max-width: 600px) {
    .appointment-modal-content,
    .location-modal-content {
        margin: 20% auto;
        padding: 30px 20px;
        width: 95%;
    }

    .appointment-modal-content h2,
    .location-modal-content h2 {
        font-size: 24px;
    }

    .appointment-option {
        padding: 15px;
    }

    .appointment-icon {
        font-size: 35px;
        margin-right: 15px;
    }

    .appointment-details h3 {
        font-size: 18px;
    }

    .appointment-details p {
        font-size: 14px;
    }

    .location-map {
        height: 250px;
    }

    .location-info {
        padding: 15px;
    }

    .location-info p {
        font-size: 14px;
    }
}

/* Tablet Responsiveness */
@media (min-width: 601px) and (max-width: 900px) {
    .appointment-modal-content,
    .location-modal-content {
        margin: 15% auto;
    }

    .location-map {
        height: 300px;
    }
}

/* ===== PATIENT INFO CONTENT STYLES ===== */

.quick-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.fact-card {
    background: #f0f7fc;
    border: 1px solid rgba(0, 148, 198, 0.3);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
}

.fact-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--baltic-blue);
    line-height: 1;
}

.fact-label {
    font-size: 12px;
    color: var(--ocean-blue);
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.4;
}

.article-section {
    margin-bottom: 40px;
    animation: articleFadeUp 0.5s ease both;
}

.article-section:nth-child(2) { animation-delay: 0.05s; }
.article-section:nth-child(3) { animation-delay: 0.10s; }
.article-section:nth-child(4) { animation-delay: 0.15s; }
.article-section:nth-child(5) { animation-delay: 0.20s; }
.article-section:nth-child(6) { animation-delay: 0.25s; }
.article-section:nth-child(7) { animation-delay: 0.30s; }
.article-section:nth-child(8) { animation-delay: 0.35s; }

@keyframes articleFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.article-section h2 {
    color: var(--baltic-blue);
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 148, 198, 0.25);
}

.article-section p {
    color: var(--deep-navy);
    margin-bottom: 12px;
    line-height: 1.8;
}

.article-section p:last-child { margin-bottom: 0; }

.grouped-list {
    background: #f0f7fc;
    border: 1px solid rgba(0, 148, 198, 0.25);
    border-radius: 10px;
    padding: 20px 22px;
    margin-top: 14px;
}

.grouped-list + .grouped-list { margin-top: 10px; }

.grouped-list-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--ocean-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.grouped-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: grouped-counter;
}

.grouped-list-items li {
    color: var(--deep-navy);
    padding: 7px 0 7px 26px;
    position: relative;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 148, 198, 0.15);
}

.grouped-list-items li:last-child { border-bottom: none; padding-bottom: 0; }

ul.grouped-list-items li::before {
    content: '';
    position: absolute;
    left: 0; top: 15px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ocean-blue);
}

ol.grouped-list-items li { counter-increment: grouped-counter; }

ol.grouped-list-items li::before {
    content: counter(grouped-counter);
    position: absolute;
    left: 0; top: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ocean-blue);
    line-height: 1.6;
}

.grouped-list.bold {
    border-color: rgba(164, 80, 139, 0.35);
    background: rgba(164, 80, 139, 0.06);
}

.grouped-list.bold .grouped-list-title { color: var(--berry-blush); }
.grouped-list.bold ul.grouped-list-items li::before { background: var(--berry-blush); }
.grouped-list.bold ol.grouped-list-items li::before { color: var(--berry-blush); }
.grouped-list.bold .grouped-list-items li { border-bottom-color: rgba(164, 80, 139, 0.15); }

.article-callout {
    background: rgba(0, 148, 198, 0.08);
    border-left: 4px solid var(--ocean-blue);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin-top: 14px;
}

.article-callout p { margin: 0; font-size: 15px; color: var(--deep-navy); }
.article-callout p strong { color: var(--baltic-blue); }

.article-callout.warning {
    background: rgba(164, 80, 139, 0.07);
    border-left-color: var(--berry-blush);
}

.article-callout.warning p strong { color: var(--berry-blush); }

.answer-highlight {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--baltic-blue);
    margin-bottom: 8px;
}

@media (max-width: 520px) {
    .quick-facts { grid-template-columns: 1fr; }
    .fact-card { display: flex; align-items: center; gap: 16px; text-align: left; }
    .fact-number { font-size: 22px; min-width: 48px; }
}

/* ===== TAB NAVIGATION ===== */
.content-tabs {
    display: flex;
    border-bottom: 2px solid rgba(0, 148, 198, 0.25);
    margin-bottom: 32px;
    /* Scrollable on mobile, no visible scrollbar */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE/Edge */
}

.content-tabs::-webkit-scrollbar {
    display: none;               /* Chrome/Safari */
}

.content-tab-btn {
    flex: 0 0 auto;              /* Don't shrink — slide to see more */
    padding: 14px 22px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95em;
    font-weight: 500;
    color: var(--baltic-blue);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    opacity: 0.6;
}

.content-tab-btn:hover { opacity: 1; background: rgba(0, 148, 198, 0.05); }

.content-tab-btn.active {
    opacity: 1;
    color: var(--baltic-blue);
    border-bottom-color: var(--ocean-blue);
    font-weight: 600;
}

@media (max-width: 520px) {
    .content-tab-btn {
        padding: 12px 18px;
        font-size: 0.9em;
    }
}

.content-tab-panel { display: none; }
.content-tab-panel.active { display: block; }

/* ===== DIFFERENCE BADGE ===== */
.difference-badge {
    display: block;
    background: #f0f7fc;
    border: 1px solid rgba(0, 148, 198, 0.3);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--deep-navy);
    line-height: 1.6;
}

.difference-badge strong {
    color: var(--baltic-blue);
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

/* ===== INFO ROW CARDS ===== */
.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.info-card {
    background: #f0f7fc;
    border: 1px solid rgba(0, 148, 198, 0.25);
    border-radius: 10px;
    padding: 18px 20px;
}

.info-card-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--ocean-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: var(--deep-navy);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 520px) {
    .info-row { grid-template-columns: 1fr; }
}

/* ===== NUT COMPARISON CARDS ===== */
.nut-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.nut-card {
    background: #f0f7fc;
    border: 1px solid rgba(0, 148, 198, 0.25);
    border-radius: 10px;
    padding: 18px 20px;
}

.nut-card-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--ocean-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 148, 198, 0.2);
}

.nut-card p {
    font-size: 14px;
    color: var(--deep-navy);
    margin: 0;
    line-height: 1.7;
}

.nut-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.nut-tag {
    background: rgba(0, 94, 124, 0.1);
    border: 1px solid rgba(0, 94, 124, 0.25);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--baltic-blue);
}

@media (max-width: 520px) {
    .nut-comparison { grid-template-columns: 1fr; }
}

/* ===== PROGRAM CARD ===== */
.program-card {
    background: #f0f7fc;
    border: 1px solid rgba(0, 148, 198, 0.3);
    border-radius: 10px;
    padding: 22px 24px;
    margin-top: 14px;
}

.program-card-title {
    font-size: 1.05em;
    font-weight: 700;
    color: var(--baltic-blue);
    margin-bottom: 10px;
}

.program-card p {
    font-size: 15px;
    color: var(--deep-navy);
    margin-bottom: 14px;
    line-height: 1.8;
}

.program-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--baltic-blue) 100%);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}


.program-link:hover { opacity: 0.85; }


