/* ===================================================================
   INNER PAGES - CONDITIONS & TREATMENT PAGES LAYOUT
   ================================================================= */

/* ===================================================================
   Hero Section - Premium Layout
   ================================================================= */
.hero-section-premium {
    background: linear-gradient(135deg, #0B3D73 0%, #0E5AA7 50%, #2F80ED 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M0 50h100M50 0v100" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/%3E%3C/svg%3E');
    opacity: 0.3;
}

.hero-content-left {
    position: relative;
    z-index: 2;
}

.hero-content-left h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content-left .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.trust-chip:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.trust-chip i {
    font-size: 0.85rem;
}

.hero-image-container {
    position: relative;
    z-index: 2;
}

.hero-main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-main-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

/* ===================================================================
   Main Content Layout - Sticky TOC + Wide Content
   ================================================================= */
.section-spacing {
    padding: 80px 0;
}

.container-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Mobile TOC Dropdown */
.mobile-toc-dropdown {
    display: none;
    margin-bottom: 2rem;
}

.mobile-toc-dropdown select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #0F172A;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-toc-dropdown select:focus {
    outline: none;
    border-color: #0E5AA7;
    box-shadow: 0 0 0 3px rgba(14, 90, 167, 0.1);
}

/* Sticky TOC */
.sticky-toc-wrapper {
    position: sticky;
    top: 200px;
    height: fit-content;
}

.toc-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(14, 90, 167, 0.15);
    border: 1px solid #E2E8F0;
}

.toc-card h5 {
    color: #0F172A;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E2E8F0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.toc-list a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.toc-list a:hover {
    background: #F3F8FF;
    color: #0E5AA7;
    transform: translateX(5px);
}

.toc-list a:hover i {
    transform: translateX(3px);
}

.toc-list a.active {
    background: #0E5AA7;
    color: white;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(14, 90, 167, 0.1);
    border: 1px solid #E2E8F0;
}

.content-section h2 {
    color: #0E5AA7;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.content-section h3 {
    color: #0F172A;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul.list-unstyled li {
    margin-bottom: 1rem;
}

.content-section ul.list-unstyled li i {
    margin-right: 0.5rem;
}

/* ===================================================================
   Clinical Image Strip Component
   ================================================================= */
.clinical-image-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, #F3F8FF 0%, #E8F2FF 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid rgba(14, 90, 167, 0.1);
}

.clinical-image-strip-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(14, 90, 167, 0.15);
}

.clinical-image-strip-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.clinical-image-strip-img:hover img {
    transform: scale(1.05);
}

.clinical-image-strip-content h4 {
    color: #0E5AA7;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.clinical-image-strip-content p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* ===================================================================
   Feature Cards Grid (for Diagnosis section)
   ================================================================= */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card-inner {
    background: linear-gradient(135deg, #F3F8FF 0%, #ffffff 100%);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(14, 90, 167, 0.15);
    border-color: #0E5AA7;
}

.feature-card-inner h5 {
    color: #0E5AA7;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card-inner h5 i {
    font-size: 1.2rem;
}

.feature-card-inner p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===================================================================
   Treatment Cards Grid (numbered cards)
   ================================================================= */
.treatment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.treatment-card-numbered {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.treatment-card-numbered:hover {
    border-color: #0E5AA7;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(14, 90, 167, 0.15);
}

.treatment-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #0E5AA7 0%, #2F80ED 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(14, 90, 167, 0.3);
}

.treatment-card-numbered h5 {
    color: #0F172A;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.treatment-card-numbered p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===================================================================
   Related Items Section
   ================================================================= */
.related-items-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F3F8FF 0%, #ffffff 100%);
}

.related-items-section h2 {
    text-align: center;
    color: #0E5AA7;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.related-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.related-item-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(14, 90, 167, 0.1);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(14, 90, 167, 0.2);
    border-color: #0E5AA7;
}

.related-item-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-item-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-item-card:hover .related-item-card-img img {
    transform: scale(1.1);
}

.related-item-card-body {
    padding: 1.5rem;
}

.related-item-card-body h4 {
    color: #0F172A;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.related-item-card-body p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-item-card-link {
    color: #0E5AA7;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.related-item-card:hover .related-item-card-link {
    gap: 0.75rem;
}

.related-item-card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.related-item-card:hover .related-item-card-link i {
    transform: translateX(5px);
}

/* ===================================================================
   Modern Button Styles for Inner Pages
   ================================================================= */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #0E5AA7 0%, #2F80ED 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 90, 167, 0.2);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 90, 167, 0.3);
    color: white;
}

.btn-modern i {
    font-size: 0.9rem;
}

.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modern-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* ===================================================================
   Responsive Design for Inner Pages
   ================================================================= */
@media (max-width: 991px) {

    /* Show mobile TOC dropdown, hide desktop sticky TOC */
    .mobile-toc-dropdown {
        display: block;
    }

    .sticky-toc-wrapper {
        display: none;
    }

    .section-spacing {
        padding: 50px 0;
    }

    .content-section {
        padding: 1.5rem;
    }

    .clinical-image-strip {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .clinical-image-strip-img img {
        height: 250px;
    }

    .related-items-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section-premium {
        padding: 60px 0 40px;
    }

    .hero-content-left h1 {
        font-size: 2rem;
    }

    .hero-content-left .lead {
        font-size: 1rem;
    }

    .hero-main-image img {
        min-height: 300px;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .related-items-section h2 {
        font-size: 2rem;
    }

    .feature-cards-grid,
    .treatment-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .hero-trust-chips {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-chip {
        width: 100%;
        justify-content: center;
    }

    .btn-modern,
    .btn-modern-outline {
        width: 100%;
        justify-content: center;
    }
}