.dropdown-item a:hover, .list-group-item a:hover, .nav-link:hover, .nav-link:active, .nav-link:focus, .cs-link:hover {
    color: var(--cs-green) !important;
}

.title-clamp { font-size: clamp(28px, 5vw, 36px); }
.title-clamp-xl { font-size: clamp(32px, 5vw, 42px); }

.flex-1 { flex: 1; }

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--cs-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    display: inline-block;
}

.results-link {
    color: white;
    margin-left: 2px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 8px;
}

.menu-diets-hero {
    background: transparent url('/img/app-meal-plan.webp') left top no-repeat; 
    background-size: cover;
    margin-bottom: 1px !important;
}

.menu-workouts-hero {
    background: transparent url('/img/app-workout.webp') left top no-repeat; 
    background-size: contain;
}

.menu-calculators-hero {
    background: transparent url('/img/app-calendar.webp') left top no-repeat; 
    background-size: cover;
    margin-bottom: 1px !important;
}

.menu-weightloss-hero {
    background: transparent url('/img/app-meal-choose.webp') left top no-repeat; 
    background-size: contain;
}

.video-link { color: var(--cs-cool-white) !important; }
.video-link:hover { color: var(--cs-green) !important; }

@media (min-width: 992px) {
    .nav-item.dropdown {
        position: static !important; 
    }

    .dropdown-menu {
        width: 100% !important;
        top: 55px !important;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        box-shadow: inset 0 calc(-1 * var(--tblr-navbar-border-width)) 0 0 var(--tblr-navbar-border-color);

        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}

@media (max-width: 991px) and (orientation: portrait) {
    .nav-item.dropdown {
        position: relative !important;
    }
    
    .dropdown-menu {
        width: 100% !important;
        position: relative !important;
        top: auto !important;
        max-height: 70vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border: 1px solid rgba(98, 105, 118, 0.16) !important;
        border-radius: 4px !important;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    .navbar {
        position: relative !important;
    }
    
    .nav-item.dropdown {
        position: static !important;
    }
    
    .dropdown-menu {
        width: 100vw !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1050 !important;
        border-top: 0px !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        margin-top: 0 !important;
    }
    
    .dropdown-menu .col.d-none.d-xl-block {
        display: none !important;
    }
    
    .dropdown-menu .fs-2 {
        font-size: 1.25rem !important;
    }
    
    .dropdown-menu .fs-3 {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 576px) {
    .dropdown-menu .fs-2 {
        font-size: 1.15rem !important;
    }
    
    .dropdown-menu .fs-3 {
        font-size: 0.9rem !important;
    }
}

#toTop {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 12px;
    line-height: 24px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    color: white;
    z-index: 10;
    border-radius: 4px;
}

#toTop:hover { background-color: rgba(0, 0, 0, 0.8); }

.nav-cta {
    background: linear-gradient(135deg, var(--cs-green) 0%, var(--cs-dark-green) 100%);
    color: white !important;
    border-radius: 6px;
    line-height: 1.2;
    box-shadow: 0 4px 15px rgba(141, 196, 17, 0.6);
    transition: all 0.2s;
    animation: ctaPulse 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1031;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 196, 17, 0.4);
}

.breadcrumb-item a {
    color: var(--cs-dark-grey) !important;
    font-weight: 600;
}

.breadcrumb-item a:hover { color: var(--cs-dark-green) !important; }
.breadcrumb-item.active a { color: var(--cs-dark-green) !important; }

.page-background { background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%); }

.vsl-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
    box-shadow: var(--cs-shadow-lg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
}

.vsl-image {
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0.9;
    transition: opacity 0.5s;
}

.vsl-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(141, 196, 17, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 2;
    animation: pulse 2s infinite;
}

.vsl-play-btn-small {
    width: 50px;
    height: 50px;
    background: rgba(141, 196, 17, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 2;
    animation: pulse 2s infinite;
}

.vsl-text {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    z-index:3;
}

.aside-sticky {
    position: sticky;
    top: 70px;
}

.footer {
    border-top: none !important;
}

.animated-dots {
  display: inline-block;
  width: 1em;
  text-align: left;
}

.animated-dots::after {
  content: '';
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  animation: dotLoop steps(3, end) 1.6s infinite;
  width: 0;
}

@keyframes dotLoop {
  0% { content: ''; width: 0; }
  25% { content: '.'; width: 0.25em; }
  50% { content: '..'; width: 0.5em; }
  75% { content: '...'; width: 0.75em; }
  100% { content: ''; width: 0; }
}

.cta-button {
    background: linear-gradient(135deg, var(--cs-green) 0%, var(--cs-dark-green) 100%);
    color: white !important;
    border-radius: 8px;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: var(--cs-shadow-sm);
    display: block; width: 100%;
    text-align: center;
    margin: 0 auto;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(141, 196, 17, 0.5);
}

.qual-box-red {
    background: #fff1f2;
    border: 1px solid #fecaca;
}

.qual-box-green {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.mini-hero {
    border-bottom: 1px solid var(--cs-alt-cool-grey);
}

.mini-hero-title {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--cs-dark-navy);
    line-height: 1.2;
}

.reviewer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.free-tool-tag {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--cs-green);
    color: white;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
}

.research-pill {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
}

.research-pill.red {
    background: #fee2e2;
    color: #991b1b;
}

.founder-offer-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--cs-green);
    color: white;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 15px;
}

.ba-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    cursor: e-resize;
    touch-action: none;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ba-slider.long {
    height: 100% !important;
    min-height: 425px;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: clip-path 0.1s ease;
}

.ba-image-before {
    clip-path: inset(0 50% 0 0);
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.ba-handle:hover {
    transform: translateY(-50%) scale(1.1);
    background: white;
}

.ba-handle::after {
    content: "\f07e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 20px;
    color: #333;
}

.ba-label-badge {
    position: absolute;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-weight: 700;
    border-radius: 6px;
    z-index: 4;
    letter-spacing: 0.5px;
}

.label-before { top:12px; left: 12px; }
.label-after { top:12px; right: 12px; }
.label-bottom-left { bottom: 12px; left: 5px; background: none; }

.mt-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 100px 20px 20px;
    z-index: 12;
    text-align: left;
}

.mt-badge {
    z-index: 20;
    background: rgba(22, 163, 74, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mt-live-pill {
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    background: rgba(22, 163, 74, 0.2);
    color: #dcfce7;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 20px;
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--cs-alt-green);
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

.mt-eyebrow {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mt-headline {
    font-size: clamp(20px, 4vw, 24px);
    color: white;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 25px;
}

.mt-option-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mt-option-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    transform: translateX(5px);
}

.mt-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    flex-shrink: 0;
}

.mt-option-btn:hover, .mt-option-btn:hover .mt-radio {
    border-color: var(--cs-green);
}

.mt-check-icon {
    color: var(--cs-green);
    font-size: 24px;
    margin-top: 3px;
    flex-shrink: 0;
}

.mt-subtext {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 5px;
    letter-spacing: 0;
}