/* ===== Article-Specific Styles ===== */

/* Breadcrumb Section */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 20px 0;
    margin-top: 70px;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--text-light);
    font-size: 18px;
}

.breadcrumb a {
    color: var(--text-light);
    transition: color var(--transition-speed);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb li.active {
    color: var(--text-dark);
    font-weight: 500;
}

/* Article Hero */
.article-hero {
    position: relative;
    padding: 120px 0 80px;
    background: var(--secondary-color);
    overflow: hidden;
}

.article-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9));
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.article-category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    background: var(--primary-color);
    padding: 5px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta svg {
    width: 16px;
    height: 16px;
}

/* Article Layout */
.article-main {
    padding: 60px 0;
    background: var(--bg-white);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

/* Article Content */
.article-content {
    max-width: 800px;
}

/* Table of Contents */
.table-of-contents {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    margin-bottom: 40px;
}

.table-of-contents h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.table-of-contents ol {
    padding-left: 20px;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: var(--text-dark);
    font-size: 15px;
    transition: color var(--transition-speed);
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

/* Intro Paragraph */
.article-intro {
    margin-bottom: 40px;
}

.lead {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Content Sections */
.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-section h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    margin-top: 30px;
}

.content-section h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    margin-top: 20px;
}

.content-section p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.content-section strong {
    font-weight: 600;
    color: var(--text-dark);
}

.content-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.content-section a:hover {
    color: var(--primary-dark);
}

/* Article Images */
.article-image {
    margin: 40px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.article-image figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* Blockquote */
.article-quote {
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--bg-light);
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
}

.article-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-style: normal;
    color: var(--text-light);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 4px;
}

.info-box h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-white);
}

.info-box p {
    color: var(--text-white);
    margin: 0;
}

/* Lists */
.content-list {
    padding-left: 25px;
    margin: 20px 0;
}

.content-list li {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Tags */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.tag-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 5px 15px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* Social Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.share-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.share-button:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Partner Banner */
.partner-banner {
    padding: 0;
    overflow: hidden;
}

.partner-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-speed);
}

.partner-banner a:hover img {
    transform: scale(1.05);
}

/* Related Content */
.related-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.related-link-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.related-link-item:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.related-link-item:hover svg {
    color: var(--text-white);
}

/* Related Articles */
.related-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-article {
    display: flex;
    gap: 15px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
    overflow: hidden;
}

.related-article:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-article-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.related-article-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-article-content h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.related-article-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Sidebar Links */
.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-links a {
    display: block;
    padding: 10px 15px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 15px;
    transition: all var(--transition-speed);
}

.sidebar-links a:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    padding-left: 20px;
}

/* Comparison Tables */
.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.comparison-table th {
    padding: 15px 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-dark);
}

.comparison-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.comparison-table tbody tr {
    transition: background-color var(--transition-speed);
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.comparison-table tbody tr:hover {
    background: rgba(220, 0, 0, 0.05);
}

.comparison-table td:first-child {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 968px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
    }

    .article-hero {
        padding: 100px 0 60px;
    }

    .article-title {
        font-size: 32px;
    }

    .table-of-contents {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .article-main {
        padding: 40px 0;
    }

    .content-section h2 {
        font-size: 26px;
    }

    .content-section h3 {
        font-size: 20px;
    }

    .lead {
        font-size: 18px;
    }

    .content-section p {
        font-size: 16px;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .article-share {
        flex-wrap: wrap;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
    }

    .comparison-table th {
        font-size: 13px;
    }
}
