/* Haber Detay Page specific CSS */

.article-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.article-header {
    padding: 50px 0 30px 0;
    width: 100%;
}

:where(.article-body, .article-text-content) p {
    margin-bottom: 24px;
}
:where(.article-body, .article-text-content) {
    color: #1e293b;
}
:where(.article-body) {
    font-size: 1.15rem;
    line-height: 1.85;
}
:where(.article-text-content) {
    font-size: 1.15rem;
    line-height: 1.85;
}

.article-body blockquote {
    border-left: 4px solid #c91b3f;
    background: linear-gradient(to right, #f8fafc 0%, #ffffff 100%);
    padding: 25px 30px;
    font-style: italic;
    color: #1e293b;
    margin: 40px 0;
    border-radius: 0 16px 16px 0;
    font-size: 1.25rem;
    box-shadow: 0 10px 25px -15px rgba(0, 0, 0, 0.05);
}

.sidebar-recommendations {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05) !important;
}

.sidebar-recommendations .rec-card {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.sidebar-recommendations .rec-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sidebar-recommendations .rec-card img {
    transition: transform 0.4s ease;
}

.sidebar-recommendations .rec-card:hover img {
    transform: scale(1.08);
}

.hover-accent {
    transition: color 0.2s ease;
}

.hover-accent:hover {
    color: #c91b3f !important;
}

/* Make tables responsive, clean, and modern */
.article-body .table-responsive,
.article-text-content .table-responsive,
.article-blocks .table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0 !important;
    border-radius: 0.5rem;
}

.article-body table,
.article-text-content table,
.article-blocks table {
    width: 100% !important;
    margin-bottom: 0 !important;
    border-collapse: collapse !important;
    border: 1px solid #dee2e6 !important;
    background-color: #fff !important;
}

.article-body table th,
.article-body table td,
.article-text-content table th,
.article-text-content table td,
.article-blocks table th,
.article-blocks table td {
    padding: 0.75rem 1rem !important;
    border: 1px solid #dee2e6 !important;
    vertical-align: middle !important;
    font-size: 0.95rem !important;
}

.article-body table thead th,
.article-body table thead td,
.article-text-content table thead th,
.article-text-content table thead td,
.article-blocks table thead th,
.article-blocks table thead td {
    background-color: #f8f9fa !important;
    font-weight: 700 !important;
    color: #212529 !important;
    border-bottom: 2px solid #dee2e6 !important;
}

.article-body table tbody tr:nth-of-type(even),
.article-text-content table tbody tr:nth-of-type(even),
.article-blocks table tbody tr:nth-of-type(even) {
    background-color: #fafbfc !important;
}

.article-body table tbody tr:hover,
.article-text-content table tbody tr:hover,
.article-blocks table tbody tr:hover {
    background-color: #f1f5f9 !important;
}
