/* ============================================================
   AmortizaPro Blog — blog.css
   ============================================================ */
:root {
    --navy: #003f87;
    --navy-dark: #002d61;
    --navy-light: #0056b3;
    --green: #27ae60;
    --green-dark: #1e8449;
    --red: #e74c3c;
    --accent: #f39c12;
    --white: #ffffff;
    --bg: #f0f4f8;
    --card-bg: #ffffff;
    --border: #dde3ed;
    --text: #1a2540;
    --text-muted: #6b7a9a;
    --text-light: #8fa0be;
    --shadow-sm: 0 2px 8px rgba(0, 63, 135, .07);
    --shadow-md: 0 6px 24px rgba(0, 63, 135, .11);
    --radius: 14px;
    --radius-sm: 8px;
    --transition: .25s cubic-bezier(.4, 0, .2, 1);
    --max-w: 760px;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
}
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
}
a {
    color: var(--navy-light);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--green);
}
img {
    max-width: 100%;
    border-radius: var(--radius-sm);
}
/* ── HEADER ── */
.site-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #004fa0 100%);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
}
.logo-accent {
    color: #2ecc71;
}
.logo-sub {
    display: block;
    font-size: .68rem;
    color: rgba(255, 255, 255, .5);
    margin-top: -4px;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-nav a {
    color: rgba(255, 255, 255, .8);
    font-size: .82rem;
    font-weight: 500;
    transition: color var(--transition);
}
.header-nav a:hover,
.header-nav a.active {
    color: #fff;
}
.header-nav a.nav-cta {
    background: var(--green);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
}
.header-nav a.nav-cta:hover {
    background: var(--green-dark);
}
/* ── BREADCRUMB ── */
.breadcrumb {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px;
    font-size: .75rem;
    color: var(--text-muted);
}
.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 6px;
    align-items: center;
}
.breadcrumb a {
    color: var(--navy-light);
}
.breadcrumb-sep {
    opacity: .4;
}
/* ── BLOG HOMEPAGE / LISTING ── */
.blog-hero {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: #fff;
    padding: 60px 24px 80px;
    text-align: center;
}
.blog-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 12px;
}
.blog-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .75);
    max-width: 520px;
    margin: 0 auto 24px;
}
.blog-hero-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
    flex-wrap: wrap;
}
.blog-hero-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.blog-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    margin-top: -32px;
}
/* Featured article */
.article-featured {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: transform var(--transition), box-shadow var(--transition);
}
.article-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 63, 135, .15);
}
.article-featured-img {
    background: linear-gradient(135deg, var(--navy), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}
.article-featured-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.article-featured-icon {
    font-size: 4rem;
    z-index: 1;
    position: relative;
}
.article-featured-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-cat {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--green);
    margin-bottom: 8px;
}
.article-featured-body h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--navy);
    line-height: 1.35;
}
.article-featured-body p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .72rem;
    color: var(--text-light);
    flex-wrap: wrap;
}
.article-meta .reading-time {
    background: var(--bg);
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--navy);
}
.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--navy);
    color: #fff;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    font-weight: 600;
    margin-top: 16px;
    transition: background var(--transition), transform var(--transition);
    width: fit-content;
}
.btn-read:hover {
    background: var(--green);
    color: #fff;
    transform: translateX(3px);
}
/* Article list grid */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.article-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.article-card-header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    position: relative;
    overflow: hidden;
}
.article-card-header::after {
    content: '';
    position: absolute;
    inset: 0;
}
.ac-blue {
    background: linear-gradient(135deg, #003f87, #0056b3);
}
.ac-green {
    background: linear-gradient(135deg, #1e8449, #27ae60);
}
.ac-red {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}
.ac-orange {
    background: linear-gradient(135deg, #d35400, #e67e22);
}
.ac-purple {
    background: linear-gradient(135deg, #6c3483, #9b59b6);
}
.ac-teal {
    background: linear-gradient(135deg, #0e6655, #1abc9c);
}
.ac-dark {
    background: linear-gradient(135deg, #1a252f, #2c3e50);
}
.ac-gold {
    background: linear-gradient(135deg, #9a7d0a, #f39c12);
}
.ac-navy {
    background: linear-gradient(135deg, #154360, #1a5276);
}
.article-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-card-body .article-cat {
    margin-bottom: 6px;
}
.article-card-body h3 {
    font-size: .95rem;
    margin-bottom: 8px;
    color: var(--navy);
    line-height: 1.4;
}
.article-card-body p {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}
.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    font-size: .7rem;
    color: var(--text-light);
}
.article-card-footer .reading-time {
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--navy);
}
.article-card a.read-link {
    font-size: .78rem;
    font-weight: 600;
    color: var(--navy-light);
    display: flex;
    align-items: center;
    gap: 4px;
}
.article-card a.read-link:hover {
    color: var(--green);
}
/* ── SIDEBAR ── */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-widget {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}
.widget-header {
    background: linear-gradient(90deg, var(--navy), var(--navy-light));
    color: #fff;
    padding: 12px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-body {
    padding: 16px 18px;
}
.sidebar-cta-widget {
    background: linear-gradient(160deg, var(--navy-dark), var(--navy));
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-md);
}
.sidebar-cta-widget h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
}
.sidebar-cta-widget p {
    font-size: .78rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 16px;
}
.btn-cta-green {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    font-weight: 700;
    transition: background var(--transition), transform var(--transition);
}
.btn-cta-green:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
}
.popular-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.popular-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.popular-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--border);
    min-width: 24px;
    line-height: 1;
}
.popular-list a {
    font-size: .8rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}
.popular-list a:hover {
    color: var(--green);
}
.popular-meta {
    font-size: .68rem;
    color: var(--text-light);
    margin-top: 2px;
}
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    background: var(--bg);
    color: var(--navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.tag:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.ad-sidebar {
    width: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    border: 1.5px dashed #ccc;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-direction: column;
    gap: 8px;
}
/* ── ARTICLE PAGE ── */
.article-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 60px;
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    gap: 32px;
    align-items: start;
}
/* TOC Sidebar */
.toc-sidebar {
    position: sticky;
    top: 80px;
}
.toc-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}
.toc-header {
    background: linear-gradient(90deg, var(--navy), var(--navy-light));
    color: #fff;
    padding: 10px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.toc-body {
    padding: 12px 0;
}
.toc-list {
    list-style: none;
}
.toc-list li a {
    display: block;
    padding: 5px 16px;
    font-size: .75rem;
    color: var(--text-muted);
    border-left: 2px solid transparent;
    transition: all var(--transition);
    line-height: 1.4;
}
.toc-list li a:hover {
    color: var(--navy);
    border-left-color: var(--green);
    background: rgba(39, 174, 96, .04);
}
.toc-list li a.active {
    color: var(--navy);
    border-left-color: var(--navy);
    font-weight: 600;
    background: rgba(0, 63, 135, .04);
}
.toc-list li.toc-h3 a {
    padding-left: 28px;
    font-size: .72rem;
}
/* Article content */
.article-content-area {
    min-width: 0;
}
.article-header {
    margin-bottom: 32px;
}
.article-cats {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.article-cat-badge {
    background: var(--bg);
    color: var(--navy);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.article-cat-badge.primary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.article-h1 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.25;
}
.article-summary {
    font-size: 1.05rem;
    color: var(--text-muted);
    border-left: 4px solid var(--green);
    padding-left: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}
.article-byline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    flex-wrap: wrap;
    font-size: .78rem;
    color: var(--text-muted);
}
.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.author-info {
    display: flex;
    flex-direction: column;
}
.author-name {
    font-weight: 700;
    color: var(--navy);
    font-size: .82rem;
}
.byline-meta {
    display: flex;
    gap: 16px;
    margin-left: auto;
    flex-wrap: wrap;
}
.byline-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.byline-meta .reading-tag {
    background: var(--navy);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: .72rem;
}
/* Article body prose */
.article-body {
    font-size: .97rem;
    line-height: 1.85;
    color: #2a3550;
}
.article-body h2 {
    font-size: 1.4rem;
    color: var(--navy);
    margin: 2.2em 0 .8em;
    padding-bottom: .5em;
    border-bottom: 2px solid var(--border);
    scroll-margin-top: 90px;
}
.article-body h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin: 1.8em 0 .6em;
    scroll-margin-top: 90px;
}
.article-body p {
    margin-bottom: 1.2em;
}
.article-body ul,
.article-body ol {
    margin: 1em 0 1.2em 1.5em;
}
.article-body li {
    margin-bottom: .5em;
}
.article-body strong {
    color: var(--navy-dark);
    font-weight: 700;
}
.article-body em {
    font-style: italic;
}
.article-body blockquote {
    background: #e8f0fb;
    border-left: 4px solid var(--navy);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--navy-dark);
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: .9rem;
}
.article-body th {
    background: var(--navy);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
}
.article-body td {
    padding: 9px 14px;
    border-bottom: 1px solid var(--border);
}
.article-body tr:nth-child(even) td {
    background: var(--bg);
}
.article-body .highlight-box {
    background: #eafaf1;
    border: 1px solid #b2dfca;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 1.5em 0;
}
.article-body .highlight-box.warning {
    background: #fef9e7;
    border-color: #fde9a0;
}
.article-body .highlight-box.info {
    background: #e8f0fb;
    border-color: #b8d0f0;
}
.article-body .highlight-box h4 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.article-body .highlight-box.warning h4 {
    color: #c0811a;
}
.article-body .highlight-box h4 {
    color: var(--green-dark);
}
.article-body .highlight-box.info h4 {
    color: var(--navy);
}
/* In-article ad */
.in-article-ad {
    width: 100%;
    height: 90px;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    border: 1.5px dashed #ccc;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    gap: 8px;
    margin: 2em 0;
}
/* FAQ Section */
.faq-section {
    margin: 2.5em 0;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    padding: 14px 18px;
    font-weight: 700;
    font-size: .92rem;
    color: var(--navy);
    cursor: pointer;
    background: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
    user-select: none;
}
.faq-question:hover {
    background: #e8f0fb;
}
.faq-question .faq-arrow {
    transition: transform var(--transition);
    font-size: .75rem;
    color: var(--text-muted);
}
.faq-question.open .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .2s;
    font-size: .88rem;
    color: #3a4a62;
    line-height: 1.7;
}
.faq-answer.open {
    padding: 14px 18px;
    max-height: 600px;
}
/* CTA block */
.article-cta {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: #fff;
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin: 2.5em 0;
}
.article-cta h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.article-cta p {
    color: rgba(255, 255, 255, .75);
    font-size: .9rem;
    margin-bottom: 20px;
}
.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-cta-primary {
    background: var(--green);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition), transform var(--transition);
}
.btn-cta-primary:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
}
.btn-cta-outline {
    border: 2px solid rgba(255, 255, 255, .4);
    color: #fff;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}
.btn-cta-outline:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, .1);
}
/* Related articles */
.related-articles {
    margin-top: 40px;
}
.related-articles h2 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.related-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.related-card-img {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.related-card-body {
    padding: 14px;
}
.related-card-body h4 {
    font-size: .82rem;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.4;
}
.related-card-body .article-meta {
    font-size: .68rem;
    color: var(--text-light);
    margin-top: 6px;
}
/* Article sidebar (ads + widget) */
.article-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* Progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, .1);
    z-index: 1000;
}
.reading-progress-bar {
    height: 100%;
    background: var(--green);
    width: 0;
    transition: width .1s linear;
}
/* ── FOOTER ── */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, .5);
    text-align: center;
    font-size: .72rem;
    padding: 32px 18px;
    margin-top: 40px;
}
.footer-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}
.footer-links a:hover {
    opacity: 0.7;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.article-card,
.article-featured {
    animation: fadeInUp .4s ease both;
}
/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .article-layout {
        grid-template-columns: 1fr 260px;
    }
    .toc-sidebar {
        display: none;
    }
    .blog-main {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 860px) {
    .article-featured {
        grid-template-columns: 1fr;
    }
    .article-featured-img {
        min-height: 130px;
    }
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        display: none;
    }
    .blog-hero {
        padding: 40px 16px 60px;
    }
    .blog-main {
        margin-top: -20px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .header-nav .nav-links {
        display: none;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .byline-meta {
        margin-left: 0;
    }
}