/* Common Menu Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #ecf0f1;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-bg: #f8f9fc;
--nav-gradient-start: #FC466B;
--nav-gradient-end: #3F5EFB;
    --sidebar-bg: #2c3e50;
    --sidebar-header: #1a2530;
    --sidebar-hover: #3498db;
    --sidebar-active: #e74c3c;
}

/* Top Navigation Bar Styles */
nav.navbar {
    background: linear-gradient(135deg, var(--nav-gradient-start), var(--nav-gradient-end));
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] nav.navbar {
    background: linear-gradient(135deg, #343a40, #212529);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.navbar-brand:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.nav-link {
    font-weight: 700;
    padding: 0.8rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
    color: yellow;
}

.nav-link:hover {
    background: violet;
    color: yellow;
    transform: translateY(-2px);
}

/* Underline Animation */
.hover-underline {
    position: relative;
    display: inline-block;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 6px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
    left: 0;
}

/* Telugu nav link - blue button with white text and rounded border */
.nav-link-telugu {
    background-color: #2563eb !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px;
    padding: 0.4rem 0.9rem !important;
    margin-left: 0.25rem !important;
    font-weight: 600;
    display: inline-block !important;
    width: auto !important;
    max-width: fit-content;
    text-align: center;
}
.nav-link-telugu:hover {
    background-color: #1d4ed8 !important;
    color: #fff !important;
    border-color: #fff !important;
    transform: translateY(-2px);
}
[data-bs-theme="dark"] .nav-link-telugu {
    background-color: #3b82f6 !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
}
[data-bs-theme="dark"] .nav-link-telugu:hover {
    background-color: #2563eb !important;
}

/* Mobile: Telugu link must not stretch full width in collapsed navbar */
@media (max-width: 991px) {
    .nav-link-telugu {
        width: fit-content !important;
        max-width: fit-content !important;
        display: inline-block !important;
    }
    .navbar-nav .nav-item:last-child {
        display: block;
    }
    .navbar-nav .nav-item:last-child .nav-link-telugu {
        margin-top: 0.25rem;
    }
}

/* Dropdown Enhancements */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadeInDown 0.3s;
    background: linear-gradient(135deg, #ffe259, #ffa751);
    backdrop-filter: blur(8px);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    margin: 0.2rem 0;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 500;
    color: #222;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, #4e73df, #224abe);
    color: white !important;
    transform: translateX(2px);
}

/* Dark mode dropdown */
[data-bs-theme="dark"] .dropdown-menu {
    background: orange;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background: linear-gradient(90deg, #29c9ff, #005377);
    color: white !important;
}

/* Hover dropdown functionality for desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    
    .navbar-nav .dropdown-menu {
        margin-top: 0;
    }
}

/* Enhanced Mobile Dropdown Styles */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background: linear-gradient(135deg, #ffe259, #ffa751);
        border: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .navbar-nav .dropdown-menu.show {
        display: block;
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-item {
        padding: 0.75rem 1.5rem !important;
        color: #222 !important;
        white-space: normal;
    }

    .dropdown-item:hover {
        background: linear-gradient(90deg, #4e73df, #224abe) !important;
        color: white !important;
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
        transition: transform 0.3s ease;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    /* Ensure dropdowns are clickable */
    .navbar-nav .nav-link.dropdown-toggle {
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }
    
    /* Fix for navbar toggler */
    .navbar-toggler {
        z-index: 1002;
    }
    
    /* Make sure the navbar collapse works properly */
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Dark mode dropdown for mobile */
[data-bs-theme="dark"] .navbar-nav .dropdown-menu {
    background: #343a40;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background: linear-gradient(90deg, #29c9ff, #005377) !important;
    color: white !important;
}

    /* Special dropdown colors for mobile */
    .tech-dropdown, .gk-dropdown {
        background: var(--bg-color);
    }
    
    .gk-dropdown .dropdown-item {
        color: var(--text-color) !important;
    }
}

/* Left Sidebar Styles */
.sidebar {
    width: 280px;
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
    color: #ffffff;
    padding: 20px 0;
    height: 100%;
    position: sticky;
    top: 0;
    overflow-y: auto;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.sidebar-header {
    padding: 15px 20px;
    background-color: var(--sidebar-header);
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 2px solid var(--sidebar-hover);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #fff;
}

.sidebar-header p {
    margin: 5px 0 0;
    color: #ecf0f1;
    font-size: 0.9rem;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 8px 15px;
    transform: translateX(0);
    transition: transform 0.3s ease;
    border-radius: 5px;
    overflow: hidden;
}

.sidebar-nav li:hover {
    transform: translateX(5px);
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 15px;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    font-size: 1.0rem;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.sidebar-nav a:hover::before {
    left: 100%;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(52, 152, 219, 0.15);
    color: white;
    border-left: 4px solid var(--sidebar-hover);
}

.sidebar-nav a.active {
    background: rgba(231, 76, 60, 0.15);
    border-left: 4px solid var(--sidebar-active);
    color: #fff;
    font-weight: 500;
}

.sidebar-nav a i {
    width: 22px;
    text-align: center;
    margin-right: 12px;
    font-size: 1rem;
    transition: transform 0.3s;
}

.sidebar-nav a:hover i {
    transform: scale(1.2);
}

/* External links section */
.external-links {
    margin-top: 30px;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.external-links h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 10px;
}

.external-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.external-links li {
    margin: 8px 0;
}

.external-links a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
    border-radius: 4px;
}

.external-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid var(--accent-color);
}

.external-links a i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Theme toggle */
.theme-toggle {
    cursor: pointer;
    transition: transform 0.3s;
}

.theme-toggle:hover {
    transform: rotate(30deg);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Brand logo animations */
#brandLogo {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

#brandLogo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

#brandLogo:hover::before {
    left: 100%;
}

.logo-icon {
    font-size: 1.8rem;
    margin-right: 0.8rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    transform-origin: center;
    transition: all 0.3s ease;
}

.logo-text {
    display: inline-block;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    background: linear-gradient(135deg, #7B2CBF 0%, #FF00FF 50%, #3C096C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    text-shadow: 0 0 8px rgba(123, 44, 191, 0.5);
    animation: flashAnimation 4s infinite alternate, gradientFlow 6s linear infinite;
}

@keyframes flashAnimation {
    0%, 100% { opacity: 0.9; }
    25% { opacity: 1; }
    50% { opacity: 0.8; }
    75% { opacity: 1; }
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

.logo-sub {
    font-size: 1.2rem;
    color: #a6e3ff;
    font-weight: 600;
    display: block;
    letter-spacing: 1px;
    animation: subTextFloat 3s infinite ease-in-out;
}

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

#brandLogo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
    color: #ffde7d;
    text-shadow: 0 0 15px rgba(255,222,125,0.7);
}

/* Responsive styles */
@media (max-width: 992px) {
    .sidebar {
        width: 100%;
        position: relative;
        margin-bottom: 20px;
        max-height: 400px;
        overflow-y: auto;
    }
    
    .page-wrapper {
        flex-direction: column;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Dropdown arrow animation */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown-toggle.expanded::after {
    transform: rotate(180deg);
}

/* Keyframes for dropdown animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PREVIOUS NEXT BUTTONS CODE */
.content-navigation {
    background: linear-gradient(to right, #f8f9fc, #ffffff);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-prev, .btn-next {
    min-width: 150px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-prev:hover, .btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-prev:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}


/* Left Sidebar Submenu Styles */
.sidebar-heading {
    padding: 10px 20px;
    margin: 15px 0 5px 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-submenu {
    position: relative;
}

.submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.submenu-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.6);
}

.submenu-arrow.rotated {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 10px;
    margin: 0;
    list-style: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
}

.submenu.expanded {
    max-height: 500px;
}

.submenu li {
    margin: 0;
    border-radius: 0;
}

.submenu a {
    padding-left: 40px !important;
    font-size: 0.95rem;
    border-left: 0 !important;
    position: relative;
}

.submenu a::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.submenu a:hover::before {
    background: var(--sidebar-hover);
}

.submenu a:hover {
    background: rgba(52, 152, 219, 0.1);
    color: white;
}

.submenu a.active {
    background: rgba(231, 76, 60, 0.1);
    color: #fff;
    font-weight: 500;
}

.submenu a.active::before {
    background: var(--sidebar-active);
}

.sidebar-badge {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    background: var(--accent-color);
    color: white;
    font-weight: 600;
}

/* Mobile sidebar toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Responsive styles for sidebar */
@media (max-width: 992px) {
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 3px 0 15px rgba(0,0,0,0.2);
    }
    
    .sidebar.collapsed {
        left: 0;
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
}

/* Animation for submenu items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.submenu li {
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}

.submenu li:nth-child(1) { animation-delay: 0.05s; }
.submenu li:nth-child(2) { animation-delay: 0.1s; }
.submenu li:nth-child(3) { animation-delay: 0.15s; }
.submenu li:nth-child(4) { animation-delay: 0.2s; }
.submenu li:nth-child(5) { animation-delay: 0.25s; }

/* Footer styles */
.site-footer {
  background: linear-gradient(135deg, #1A2980, #26D0CE);
    color: white;
    padding: 25px 0;
    margin-top: 40px;
    width: 100%;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-content p {
    margin: 8px 0;
    font-size: 0.9rem;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: #3498db;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffde7d;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 20px 0;
    }
    
    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}


#brandLogo {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

#brandLogo:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 52px;   /* adjust to match home page */
  width: auto;
  display: block;
  border-radius: 12px;
}

/* Health section breadcrumb: centered pill style matching tutorial pages */
.health-breadcrumb-bar {
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin: 1rem auto 1.25rem !important;
    padding: 0 1rem !important;
    position: relative;
    z-index: 20;
}

.health-breadcrumb-bar .breadcrumb {
    --bs-breadcrumb-divider: '›';
    margin: 0;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 243, 255, 0.96));
    border: 1px solid rgba(63, 94, 251, 0.2);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.12);
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
}

.health-breadcrumb-bar .breadcrumb-item,
.health-breadcrumb-bar .breadcrumb-item a {
    font-size: 0.9rem;
}

.health-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

.health-breadcrumb-bar .breadcrumb-item a {
    color: #224abe;
    font-weight: 600;
    text-decoration: none;
}

.health-breadcrumb-bar .breadcrumb-item a:hover {
    text-decoration: underline;
}

.health-breadcrumb-bar .breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 700;
}

[data-bs-theme="dark"] .health-breadcrumb-bar .breadcrumb {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96));
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .health-breadcrumb-bar .breadcrumb-item a {
    color: #9ec5fe;
}

[data-bs-theme="dark"] .health-breadcrumb-bar .breadcrumb-item.active {
    color: #f8fafc;
}

/* Yoga section: left sidebar menu (yoga/leftmenubar.js) */
.yoga-hub-wide {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.yoga-sidebar-col {
    position: sticky;
    top: 5.5rem;
    align-self: flex-start;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .yoga-sidebar-col {
        position: static;
        max-height: 88vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-bottom: 0.75rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(46, 125, 50, 0.2);
    }

    .yoga-sidebar-col #yoga-leftmenu-container {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
}

.yoga-leftmenu-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: min(96vh, 60rem);
    border: 1px solid rgba(46, 125, 50, 0.22);
    border-radius: 0.6rem;
    padding: 0.75rem 0.65rem 0.85rem;
    background: linear-gradient(
        155deg,
        #e8f5e9 0%,
        #e3f2fd 22%,
        #f3e5f5 44%,
        #fff8e1 66%,
        #ffffff 100%
    );
    box-shadow: 0 4px 18px rgba(46, 125, 50, 0.08);
}

@media (max-width: 991.98px) {
    .yoga-leftmenu-panel {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
    }
}

.yoga-leftmenu-nav {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

[data-bs-theme="dark"] .yoga-leftmenu-panel {
    background: linear-gradient(160deg, #1a2e1f 0%, #1e2438 40%, #2a1f2e 70%, #1e2a21 100%);
    border-color: rgba(129, 199, 132, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Rainbow strip under top edge */
.yoga-leftmenu-panel-accent {
    flex-shrink: 0;
    height: 5px;
    margin: -0.75rem -0.65rem 0.6rem -0.65rem;
    border-radius: 0.6rem 0.6rem 0 0;
    background: linear-gradient(
        90deg,
        #3949ab,
        #00897b,
        #5e35b1,
        #039be5,
        #8e24aa,
        #ec407a,
        #fb8c00,
        #7cb342,
        #ff9800,
        #546e7a,
        #ffa000,
        #2e7d32
    );
    opacity: 0.92;
}

.yoga-leftmenu-nav .yoga-leftmenu-heading {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #2e7d32, #00897b, #5e35b1, #c2185b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.yoga-leftmenu-heading-icon {
    background: linear-gradient(180deg, #43a047, #039be5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

[data-bs-theme="dark"] .yoga-leftmenu-nav .yoga-leftmenu-heading {
    background: none;
    -webkit-text-fill-color: initial;
    color: #a5d6a7;
}

[data-bs-theme="dark"] .yoga-leftmenu-heading-icon {
    background: none;
    -webkit-text-fill-color: initial;
    color: #81d4fa;
}

.yoga-leftmenu-expand-all {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    line-height: 1.2 !important;
    border: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #43a047 0%, #00897b 50%, #2e7d32 100%) !important;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.35);
}

.yoga-leftmenu-expand-all:hover,
.yoga-leftmenu-expand-all:focus-visible {
    color: #fff !important;
    filter: brightness(1.08);
}

.yoga-leftmenu-collapse-all {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    line-height: 1.2 !important;
    border: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #78909c 0%, #546e7a 45%, #37474f 100%) !important;
    box-shadow: 0 2px 8px rgba(55, 71, 79, 0.3);
}

.yoga-leftmenu-collapse-all:hover,
.yoga-leftmenu-collapse-all:focus-visible {
    color: #fff !important;
    filter: brightness(1.08);
}

[data-bs-theme="dark"] .yoga-leftmenu-expand-all {
    background: linear-gradient(135deg, #66bb6a 0%, #26a69a 50%, #43a047 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .yoga-leftmenu-collapse-all {
    background: linear-gradient(135deg, #90a4ae 0%, #607d8b 100%) !important;
}

/* Toolbar fixed; topic list scrolls inside panel */
.yoga-leftmenu-toolbar {
    flex-shrink: 0;
}

.yoga-leftmenu-count {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.28em 0.55em;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #388e3c, #00897b) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}

[data-bs-theme="dark"] .yoga-leftmenu-count {
    background: linear-gradient(135deg, #66bb6a, #26a69a) !important;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.yoga-leftmenu-scroll-hint {
    font-size: 0.68rem !important;
    letter-spacing: 0.02em;
    opacity: 0.88;
}

.yoga-leftmenu-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    margin-right: -0.12rem;
    padding-right: 0.3rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(46, 125, 50, 0.5) rgba(46, 125, 50, 0.08);
}

.yoga-leftmenu-scroll:focus-visible {
    outline: 2px solid rgba(46, 125, 50, 0.45);
    outline-offset: 2px;
}

[data-bs-theme="dark"] .yoga-leftmenu-scroll {
    scrollbar-color: rgba(129, 199, 132, 0.55) rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .yoga-leftmenu-scroll:focus-visible {
    outline-color: rgba(129, 199, 132, 0.6);
}

.yoga-leftmenu-scroll::-webkit-scrollbar {
    width: 8px;
}

.yoga-leftmenu-scroll::-webkit-scrollbar-track {
    background: rgba(46, 125, 50, 0.08);
    border-radius: 999px;
}

.yoga-leftmenu-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #43a047, #00897b);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.yoga-leftmenu-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #388e3c, #00695c);
    border: 2px solid transparent;
    background-clip: padding-box;
}

[data-bs-theme="dark"] .yoga-leftmenu-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.32);
}

[data-bs-theme="dark"] .yoga-leftmenu-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #66bb6a, #26a69a);
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Per-topic color tokens (leftmenubar.js theme keys) */
.yoga-lm-theme-hub {
    --lm-main: #3949ab;
    --lm-deep: #283593;
    --lm-soft: rgba(57, 73, 171, 0.13);
    --lm-soft-strong: rgba(57, 73, 171, 0.24);
    --lm-ink: #1a237e;
    --lm-border: rgba(57, 73, 171, 0.45);
}
.yoga-lm-theme-teal {
    --lm-main: #00897b;
    --lm-deep: #00695c;
    --lm-soft: rgba(0, 137, 123, 0.13);
    --lm-soft-strong: rgba(0, 137, 123, 0.24);
    --lm-ink: #004d40;
    --lm-border: rgba(0, 137, 123, 0.45);
}
.yoga-lm-theme-indigo {
    --lm-main: #5e35b1;
    --lm-deep: #4527a0;
    --lm-soft: rgba(94, 53, 177, 0.13);
    --lm-soft-strong: rgba(94, 53, 177, 0.24);
    --lm-ink: #311b92;
    --lm-border: rgba(94, 53, 177, 0.45);
}
.yoga-lm-theme-ocean {
    --lm-main: #039be5;
    --lm-deep: #0277bd;
    --lm-soft: rgba(3, 155, 229, 0.13);
    --lm-soft-strong: rgba(3, 155, 229, 0.24);
    --lm-ink: #01579b;
    --lm-border: rgba(3, 155, 229, 0.45);
}
.yoga-lm-theme-violet {
    --lm-main: #8e24aa;
    --lm-deep: #6a1b9a;
    --lm-soft: rgba(142, 36, 170, 0.13);
    --lm-soft-strong: rgba(142, 36, 170, 0.24);
    --lm-ink: #4a148c;
    --lm-border: rgba(142, 36, 170, 0.45);
}
.yoga-lm-theme-rose {
    --lm-main: #ec407a;
    --lm-deep: #c2185b;
    --lm-soft: rgba(236, 64, 122, 0.13);
    --lm-soft-strong: rgba(236, 64, 122, 0.24);
    --lm-ink: #880e4f;
    --lm-border: rgba(236, 64, 122, 0.45);
}
.yoga-lm-theme-amber {
    --lm-main: #fb8c00;
    --lm-deep: #ef6c00;
    --lm-soft: rgba(251, 140, 0, 0.15);
    --lm-soft-strong: rgba(251, 140, 0, 0.28);
    --lm-ink: #e65100;
    --lm-border: rgba(251, 140, 0, 0.5);
}
.yoga-lm-theme-leaf {
    --lm-main: #7cb342;
    --lm-deep: #558b2f;
    --lm-soft: rgba(124, 179, 66, 0.16);
    --lm-soft-strong: rgba(124, 179, 66, 0.28);
    --lm-ink: #33691e;
    --lm-border: rgba(124, 179, 66, 0.5);
}
.yoga-lm-theme-sun {
    --lm-main: #ff9800;
    --lm-deep: #f57c00;
    --lm-soft: rgba(255, 152, 0, 0.15);
    --lm-soft-strong: rgba(255, 152, 0, 0.28);
    --lm-ink: #e65100;
    --lm-border: rgba(255, 152, 0, 0.5);
}
.yoga-lm-theme-steel {
    --lm-main: #546e7a;
    --lm-deep: #37474f;
    --lm-soft: rgba(84, 110, 122, 0.14);
    --lm-soft-strong: rgba(84, 110, 122, 0.26);
    --lm-ink: #263238;
    --lm-border: rgba(84, 110, 122, 0.45);
}
.yoga-lm-theme-gold {
    --lm-main: #ffa000;
    --lm-deep: #ff8f00;
    --lm-soft: rgba(255, 160, 0, 0.16);
    --lm-soft-strong: rgba(255, 160, 0, 0.3);
    --lm-ink: #e65100;
    --lm-border: rgba(255, 160, 0, 0.55);
}
.yoga-lm-theme-forest {
    --lm-main: #43a047;
    --lm-deep: #2e7d32;
    --lm-soft: rgba(67, 160, 71, 0.13);
    --lm-soft-strong: rgba(67, 160, 71, 0.24);
    --lm-ink: #1b5e20;
    --lm-border: rgba(67, 160, 71, 0.45);
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-item-card {
    border-radius: 0.5rem;
    padding: 0.28rem 0.45rem 0.42rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--lm-main);
    background: linear-gradient(145deg, var(--lm-soft), rgba(255, 255, 255, 0.94));
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"]:hover .yoga-leftmenu-item-card {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

[data-bs-theme="dark"] .yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-item-card {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.08);
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-icon {
    color: var(--lm-main);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
}

[data-bs-theme="dark"] .yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-icon {
    filter: brightness(1.22) saturate(1.12);
}

.yoga-leftmenu-toggle {
    width: 1.75rem;
    min-width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-toggle {
    color: var(--lm-main) !important;
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-toggle:hover,
.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-toggle:focus-visible {
    color: var(--lm-deep) !important;
    background: var(--lm-soft) !important;
}

.yoga-leftmenu-toggle-spacer {
    width: 1.75rem;
    min-width: 1.75rem;
    flex-shrink: 0;
    display: inline-block;
}

.yoga-leftmenu-chevron {
    transition: transform 0.2s ease;
    font-size: 0.65rem;
    pointer-events: none;
}

.yoga-leftmenu-toggle[aria-expanded="false"] .yoga-leftmenu-chevron {
    transform: rotate(-90deg);
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-parent {
    color: var(--lm-ink);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.35rem 0.25rem;
    border-radius: 0.35rem;
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-parent:hover {
    background: var(--lm-soft-strong);
    color: var(--lm-deep);
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-parent.active {
    background: linear-gradient(90deg, var(--lm-soft-strong), var(--lm-soft));
    color: var(--lm-deep);
    font-weight: 700;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lm-main) 25%, transparent);
}

@supports not (color: color-mix(in srgb, red, blue)) {
    .yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-parent.active {
        box-shadow: inset 0 0 0 1px var(--lm-border);
    }
}

[data-bs-theme="dark"] .yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-parent {
    color: #e8f5e9;
}

[data-bs-theme="dark"] .yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-parent.active {
    color: #fff;
    background: linear-gradient(90deg, var(--lm-soft-strong), rgba(0, 0, 0, 0.2));
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-sublist {
    border-left: 2px solid var(--lm-border) !important;
    margin-top: 0.15rem !important;
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-child {
    color: #424242;
    display: block;
    padding: 0.22rem 0.4rem;
    border-radius: 0.3rem;
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-child:hover {
    background: var(--lm-soft);
    color: var(--lm-deep);
}

.yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-child.active {
    font-weight: 600;
    color: var(--lm-deep);
    background: var(--lm-soft-strong);
}

[data-bs-theme="dark"] .yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-child {
    color: #cfd8dc;
}

[data-bs-theme="dark"] .yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-child:hover,
[data-bs-theme="dark"] .yoga-leftmenu-item[class*="yoga-lm-theme-"] .yoga-leftmenu-child.active {
    color: #fff;
}

.yoga-topic-footer-nav,
#yoga-topic-footer-nav {
    border-top: 1px solid rgba(46, 125, 50, 0.2);
    padding-top: 1.25rem;
    margin-top: 2rem;
}

/* Yoga topic previous / next navigation */
.yoga-prev-next-nav {
    margin: 1rem 0 1.4rem;
}

.yoga-prev-next-bottom {
    margin-top: 1.5rem;
}

.yoga-prev-next-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.yoga-prev-next-link {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 74px;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(34, 197, 94, 0.22);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    color: #14532d;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.yoga-prev-next-link:hover {
    color: #064e3b;
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.yoga-prev-next-next {
    align-items: flex-end;
    text-align: right;
}

.yoga-prev-next-label {
    color: #047857;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yoga-prev-next-link strong {
    font-size: 1rem;
    line-height: 1.25;
}

.yoga-prev-next-disabled {
    color: #64748b;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: none;
    cursor: default;
    opacity: 0.75;
}

.yoga-prev-next-disabled:hover {
    color: #64748b;
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: none;
    transform: none;
}

[data-bs-theme="dark"] .yoga-prev-next-link {
    background: linear-gradient(135deg, #10231f 0%, #132b24 100%);
    border-color: rgba(52, 211, 153, 0.22);
    color: #d1fae5;
}

[data-bs-theme="dark"] .yoga-prev-next-link:hover {
    color: #ffffff;
    border-color: rgba(52, 211, 153, 0.48);
}

[data-bs-theme="dark"] .yoga-prev-next-label {
    color: #6ee7b7;
}

[data-bs-theme="dark"] .yoga-prev-next-disabled {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

@media (max-width: 575.98px) {
    .yoga-prev-next-inner {
        grid-template-columns: 1fr;
    }

    .yoga-prev-next-next {
        align-items: flex-start;
        text-align: left;
    }
}

.yoga-topic-article section {
    scroll-margin-top: 5.5rem;
}

/* --- Health hub entrance motion (replaces Animate.css; Bootstrap-timing-friendly easing) --- */
@media (prefers-reduced-motion: no-preference) {
  .gk-fade-in {
    animation: gkFadeIn 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }
  .gk-fade-in-down {
    animation: gkFadeInDown 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }
  .gk-fade-in-up {
    animation: gkFadeInUp 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }
  .gk-fade-in-start {
    animation: gkFadeInStart 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }
  .gk-fade-in-end {
    animation: gkFadeInEnd 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }
  .gk-zoom-in {
    animation: gkZoomIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }
  .gk-delay-1 {
    animation-delay: 1s;
  }
  .gk-delay-2 {
    animation-delay: 2s;
  }
  .gk-pulse {
    animation: gkPulseSoft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gk-fade-in,
  .gk-fade-in-down,
  .gk-fade-in-up,
  .gk-fade-in-start,
  .gk-fade-in-end,
  .gk-zoom-in,
  .gk-pulse {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@keyframes gkFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gkFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gkFadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gkFadeInStart {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes gkFadeInEnd {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes gkZoomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gkPulseSoft {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.15);
  }
}