.article-content img { max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1.25rem 0; }
.article-content p { margin-bottom: 1.25rem; line-height: 1.85; font-size: 1.0625rem; color: #374151; }
.article-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-weight: 700; font-size: 1.5rem; color: #111827; line-height: 1.35; }
.article-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-weight: 600; font-size: 1.25rem; color: #1f2937; }
.article-content blockquote {
    margin: 1.75rem 0;
    padding: 1rem 0 1rem 1.25rem;
    border-left: 4px solid #165DFF;
    background: #f0f6ff;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #374151;
    font-style: italic;
}
.article-content ul, .article-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; line-height: 1.85; color: #374151; }
.article-content li { margin-bottom: 0.5rem; }
.article-content a { color: #165DFF; text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: #0e42c7; }

.article-detail-cover {
    border-radius: 0.875rem;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.article-detail-cover-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    object-position: center;
}
.article-detail-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    letter-spacing: -0.02em;
}
.article-detail-lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid #165DFF;
}
.article-detail-body { padding-bottom: 2rem; }

.article-detail-footer {
    background: linear-gradient(to bottom, #fff 0%, #f9fafb 100%);
    border-top: 1px solid #f3f4f6;
    padding-top: 2.5rem;
}
.article-end-panel {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.article-end-section {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}
.article-end-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.01em;
}
.article-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    color: #4b5563;
    background: #f3f4f6;
    transition: background 0.2s, color 0.2s;
}
.article-tag-pill:hover {
    background: #e8f0ff;
    color: #165DFF;
}
.article-share-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.article-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: #f3f4f6;
    border: none;
    color: #6b7280;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}
.article-share-btn:hover {
    background: #165DFF;
    color: #fff;
    transform: translateY(-1px);
}
.article-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.article-pager--single {
    grid-template-columns: 1fr;
}
.article-pager--single .article-pager-next {
    border-left: none;
}
.article-pager-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    min-height: 5.5rem;
    text-decoration: none;
    transition: background 0.2s;
}
.article-pager-item:hover {
    background: #f0f6ff;
}
.article-pager-prev {
    border-right: 1px solid #f3f4f6;
}
.article-pager-next .article-pager-kicker {
    justify-content: flex-end;
}
.article-pager-next .article-pager-title {
    text-align: right;
}
.article-pager-kicker {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #165DFF;
}
.article-pager-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.article-pager-item:hover .article-pager-title {
    color: #165DFF;
}
@media (max-width: 639px) {
    .article-pager {
        grid-template-columns: 1fr;
    }
    .article-pager-prev {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
    }
    .article-pager-next .article-pager-kicker {
        justify-content: flex-start;
    }
    .article-pager-next .article-pager-title {
        text-align: left;
    }
}

.site-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.site-logo--header {
    height: 2.5rem;
    max-width: min(280px, 55vw);
}

@media (min-width: 768px) {
    .site-logo--header {
        height: 3rem;
        max-width: 320px;
    }
}

.site-logo--footer {
    height: 2.5rem;
    max-width: 220px;
}

.site-footer {
    background: #111827;
    color: #e5e7eb;
}

.site-footer-cta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, #1a2332 0%, #111827 100%);
}

.site-footer-main {
    background: #111827;
}

.site-footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.site-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.site-footer-links a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.site-footer-links a:hover {
    color: #165DFF;
}

.site-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: #9ca3af;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.site-footer-social:hover {
    background: rgba(22, 93, 255, 0.2);
    color: #165DFF;
}

.site-footer-social-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #111827 0%, #0d1117 100%);
    text-align: center;
}

.site-footer-social-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin-bottom: 1.25rem;
}

.site-footer-social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.site-footer-social--prominent {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.site-footer-social--prominent:hover {
    background: #165DFF;
    border-color: #165DFF;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 93, 255, 0.35);
}

.site-footer-legal {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-legal p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.75;
    color: #9ca3af;
}

.site-footer-legal strong {
    color: #d1d5db;
    font-weight: 600;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d1117;
}

.subscribe-section {
    padding: 2.5rem 0;
}

.nav-search-form--mobile {
    display: flex;
    align-items: stretch;
}

.nav-search-input {
    height: 2.25rem;
    box-sizing: border-box;
    margin: 0;
    line-height: 1.25;
}

.nav-search-btn {
    box-sizing: border-box;
    height: 2.25rem;
    width: 2.25rem;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.nav-search-btn--wide {
    width: auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .subscribe-section {
        padding: 3rem 0;
    }
}
