/* Blog pages reuse the site's colors, typography, spacing and shared header/footer. */
.blog-page {
    min-height: 100vh;
    background: var(--dark);
}

.blog-page main {
    padding-top: 112px;
}

.blog-page .blog-hero {
    padding: 76px 8% 52px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(0, 102, 255, .2), transparent 65%);
}

.blog-page .eyebrow,
.blog-page .blog-category {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.blog-page .blog-hero h1 {
    margin: 10px 0 16px;
    font-family: Anton, sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: 1.5px;
}

.blog-page .blog-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #bdbdbd;
    line-height: 1.8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 8% 100px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: var(--card);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.blog-card:hover,
.blog-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(0,200,255,.55);
    box-shadow: 0 18px 38px rgba(0,0,0,.28);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 8 / 3;
    background: #081223;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.035); }

.blog-card-content { padding: 27px 29px 30px; }
.blog-card h2 { margin: 10px 0 12px; font-size: 23px; line-height: 1.45; }
.blog-card h2 a { color: #fff; }
.blog-card h2 a:hover { color: var(--secondary); }
.blog-excerpt { min-height: 78px; color: #bdbdbd; line-height: 1.75; }

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: #fff;
    font-weight: 600;
    transition: color .2s ease, gap .2s ease;
}

.blog-read-more:hover { gap: 14px; color: var(--secondary); }

.article-shell {
    width: min(100% - 48px, 900px);
    margin: 0 auto;
    padding: 48px 0 100px;
}

.breadcrumbs { margin-bottom: 32px; color: #aeb9ca; font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 9px; color: #68778b; }
.breadcrumbs a:hover { color: var(--secondary); }

.blog-page article > .article-header {
    position: static;
    width: auto;
    z-index: auto;
    margin-bottom: 28px;
    transition: none;
}
.article-header .blog-category { margin-bottom: 12px; }
.article-header h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 50px); line-height: 1.2; }
.article-intro { color: #c4ccd8; font-size: 18px; line-height: 1.8; }

.article-featured-image {
    width: 100%;
    max-height: 480px;
    margin: 30px 0 42px;
    border-radius: 16px;
    object-fit: cover;
}

.article-content { color: #d1d5db; line-height: 1.85; }
.article-content h2 { margin: 42px 0 14px; color: #fff; font-size: clamp(24px, 3vw, 31px); line-height: 1.35; }
.article-content h3 { margin: 25px 0 10px; color: #fff; font-size: 21px; }
.article-content p { margin: 0 0 18px; }
.article-content ul { margin: 0 0 20px 22px; list-style: disc; }
.article-content li { padding-left: 4px; margin: 7px 0; }

.article-extras { margin-top: 72px; }
.article-extras > h2 { margin-bottom: 22px; font-family: Anton, sans-serif; letter-spacing: 1.4px; font-size: 30px; }
.related-card { display: grid; grid-template-columns: minmax(180px, 36%) 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: var(--card); }
.related-card img { width: 100%; height: 100%; min-height: 185px; object-fit: cover; }
.related-card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 25px; }
.related-card-copy strong { margin-top: 8px; font-size: 19px; line-height: 1.5; }

.blog-cta { margin-top: 68px; padding: 46px 36px; border-radius: 18px; background: linear-gradient(135deg,#003366,#0056b3); text-align: center; }
.blog-cta h2 { margin-bottom: 12px; font-size: clamp(25px, 3.5vw, 34px); }
.blog-cta p { max-width: 620px; margin: 0 auto 23px; color: #e1e9f3; line-height: 1.75; }
.blog-cta a { display: inline-block; padding: 13px 27px; border-radius: 50px; background: linear-gradient(45deg,var(--primary),var(--secondary)); font-weight: 600; }
.blog-cta a:hover { transform: translateY(-3px); }
.back-to-blogs { display: inline-block; margin-top: 32px; color: var(--secondary); font-weight: 600; }

@media (max-width: 768px) {
    .blog-page main { padding-top: 154px; }
    .blog-page .blog-hero { padding-top: 55px; }
    .blog-grid { grid-template-columns: 1fr; max-width: 620px; }
    .article-shell { width: min(100% - 36px, 900px); padding-top: 30px; }
    .related-card { grid-template-columns: 1fr; }
    .related-card img { max-height: 250px; }
    .blog-cta { padding: 36px 22px; }
}

@media (max-width: 480px) {
    .blog-page main { padding-top: 190px; }
    .blog-page .blog-hero { padding-inline: 20px; }
    .blog-grid { padding-inline: 20px; }
    .blog-card-content { padding: 23px 21px 25px; }
    .blog-card h2 { font-size: 20px; }
    .article-header h1 { font-size: 32px; }
    .article-intro { font-size: 16px; }
}
