/* Blog Article Page Styles */

.article-header {
    padding: 100px 0 40px;
    background: var(--gradient-hero);
}

.bread crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: #0099cc;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.article-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-details strong {
    display: block;
    font-size: 1.125rem;
    color: #1a1a1a;
}

.author-details p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

/* Featured Image */
.featured-image {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.article-content {
    padding: 4rem 0;
    background: white;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Table of Contents */
.table-of-contents {
    position: sticky;
    top: 100px;
    align-self: start;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.table-of-contents h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.75rem;
}

.table-of-contents a {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.table-of-contents a:hover {
    background: white;
    color: #00d4ff;
    padding-left: 1rem;
}

/* Article Body */
.article-body {
    max-width: 800px;
}

.article-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: #1a1a1a;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #00d4ff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
}

.article-body h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #333;
}

.article-body p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.0625rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    line-height: 1.8;
}

.article-body li {
    margin-bottom: 0.75rem;
    color: #333;
}

/* Special Boxes */
.intro-box {
    background: linear-gradient(135deg, #e3f2fd, #f1f8ff);
    border-left: 4px solid #00d4ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #0099cc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.info-box h4 {
    margin-top: 0;
    color: #0099cc;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid #f57c00;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.warning-box h4 {
    margin-top: 0;
    color: #e65100;
}

.warning-box a {
    color: #f57c00;
    font-weight: 600;
}

.expert-tip {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-left: 4px solid #43a047;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.expert-tip h4 {
    margin-top: 0;
    color: #2e7d32;
}

.benefits-box {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.benefits-box h4 {
    margin-top: 0;
    color: #2e7d32;
}

.benefits-box ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.benefits-box li {
    padding: 0.5rem 0;
}

/* Symptom Grid */
.symptom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.symptom-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.symptom-card:hover {
    border-color: #00d4ff;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.symptom-card i {
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.symptom-card h4 {
    margin: 0.5rem 0;
    font-size: 1.125rem;
}

.symptom-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: #666;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.cta-box h4 {
    margin-top: 0;
    color: white;
    font-size: 1.5rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #0099cc;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin: 0.5rem;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.whatsapp {
    background: #25d366;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta {
    margin: 4rem 0 2rem;
}

.consultation-note {
    margin-top: 1rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

/* IOL Comparison Cards */
.iol-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.iol-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.iol-card.featured {
    border-color: #00d4ff;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.iol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.iol-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

.iol-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.iol-header h3 {
    margin: 0;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-badge {
    background: #e3f2fd;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #0099cc;
}

.iol-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.iol-card h4 {
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
    color: #1a1a1a;
}

.iol-card ul {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.pros-list li {
    color: #2e7d32;
}

.cons-list li {
    color: #c62828;
}

/* Timeline Styles */
.timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    margin-top: 0;
}

/* Surgery Steps */
.day-of-surgery {
    margin: 2rem 0;
}

.surgery-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-top: 0;
}

/* Recovery Timeline */
.recovery-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.recovery-phase {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-top: 4px solid #00d4ff;
}

.recovery-phase h4 {
    margin-top: 0;
    color: #0099cc;
}

/* Tables */
.medication-table,
.cost-table {
    margin: 2rem 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
}

th,
td {
    padding: 1rem;
    text-align: left;
}

tbody tr:nth-child(even) {
    background: #f8f9fa;
}

tbody tr:hover {
    background: #e3f2fd;
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.payment-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.payment-card i {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.payment-card h4 {
    margin: 0.5rem 0 1rem;
}

/* FAQ Quick Accordion */
.faq-quick {
    margin: 2rem 0;
}

.faq-quick details {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.faq-quick details:hover {
    border-color: #00d4ff;
}

.faq-quick summary {
    cursor: pointer;
    font-size: 1.0625rem;
    color: #1a1a1a;
    list-style-position: outside;
}

.faq-quick summary::marker {
    color: #00d4ff;
}

.faq-quick p {
    margin-top: 1rem;
    color: #666;
}

/* Related Articles */
.related-articles {
    margin: 4rem 0 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 16px;
}

.related-articles h3 {
    margin-top: 0;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h4 {
    padding: 1rem;
    margin: 0;
    color: #1a1a1a;
    font-size: 1rem;
}

.related-card span {
    display: block;
    padding: 0 1rem 1rem;
    color: #666;
    font-size: 0.875rem;
}

/* Procedure Highlight */
.procedure-highlight {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.procedure-highlight h4 {
    margin-top: 0;
    color: #0099cc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .table-of-contents {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .symptom-grid,
    .iol-comparison,
    .recovery-timeline,
    .payment-options {
        grid-template-columns: 1fr;
    }

    .surgery-step,
    .timeline-item {
        flex-direction: column;
    }

    .step-number,
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        margin: 0.5rem 0;
    }
}