.blog-hero {
    background: linear-gradient(135deg, rgba(22, 54, 92, 0.96) 0%, rgba(15, 36, 64, 0.96) 100%);
}

.blog-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-kicker a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    padding: 8px 14px;
    margin: -8px -14px;
}

.blog-kicker a:hover {
    color: var(--white);
}

.blog-index {
    background: linear-gradient(180deg, var(--off-white) 0%, #eef3f8 100%);
}

.blog-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 0 14px;
    border: 1px solid rgba(22, 54, 92, 0.12);
    border-radius: 16px;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(15, 36, 64, 0.08);
}

.blog-card-image-link {
    display: block;
}

.blog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.82;
    height: auto;
    object-fit: cover;
}

.blog-card h2 {
    color: var(--navy);
    font-size: 1.08rem;
    line-height: 1.28;
    padding: 0 16px;
}

.blog-card p {
    margin: 0;
    color: var(--text-medium);
    padding: 0 16px;
}

.blog-meta {
    color: var(--gray);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.blog-card > p:not(.blog-meta) {
    font-size: 0.92rem;
    line-height: 1.45;
}

.blog-post-hero .blog-meta {
    color: rgba(255, 255, 255, 0.78);
}

.blog-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.blog-share-label {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.blog-share-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.blog-share-links svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.blog-share-inline {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(22, 54, 92, 0.1);
}

.blog-share-inline .blog-share-label {
    color: var(--gray);
}

.blog-share-inline .blog-share-links a {
    background: #f4f7fb;
    border-color: #d7e0ea;
    color: var(--navy);
}

.blog-share-inline .blog-share-links a:hover {
    color: var(--red);
    background: #eef3f8;
    border-color: rgba(255, 70, 46, 0.24);
}

.blog-hero h1 {
    font-size: clamp(2rem, 5vw, 3.3rem);
}

.blog-hero-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
}

.blog-rss-link {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.blog-rss-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.blog-rss-link a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
}

.blog-post-hero h1 {
    font-size: clamp(2rem, 5vw, 3.3rem);
}

.blog-post-hero-has-image {
    background:
        linear-gradient(135deg, rgba(22, 54, 92, 0.74) 0%, rgba(15, 36, 64, 0.76) 100%),
        var(--blog-post-hero-image-square) center/cover no-repeat;
}

@media (min-width: 700px) {
    .blog-post-hero-has-image {
        background:
            linear-gradient(135deg, rgba(22, 54, 92, 0.74) 0%, rgba(15, 36, 64, 0.76) 100%),
            var(--blog-post-hero-image-wide) center/cover no-repeat;
    }
}

@media (min-width: 1200px) {
    .blog-post-hero-has-image {
        background:
            linear-gradient(135deg, rgba(22, 54, 92, 0.74) 0%, rgba(15, 36, 64, 0.76) 100%),
            var(--blog-post-hero-image-panorama) center/cover no-repeat;
    }
}

.blog-post-section {
    background: linear-gradient(180deg, var(--off-white) 0%, #eef3f8 100%);
}

.blog-post-section > .section-container {
    max-width: 1280px;
}

.blog-post-layout {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 75ch) minmax(230px, 290px);
    align-items: start;
}

.blog-post-main {
    min-width: 0;
    grid-column: 2;
}

.blog-post-body {
    padding: 32px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid rgba(22, 54, 92, 0.1);
    box-shadow: 0 14px 36px rgba(15, 36, 64, 0.08);
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-body > * + * {
    margin-top: 18px;
}

.blog-post-body h2,
.blog-post-body h3 {
    color: var(--navy);
    line-height: 1.2;
}

.blog-post-body p {
    color: var(--text-medium);
}

.blog-post-body a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.14em;
}

.blog-post-body a:hover {
    color: var(--red);
}

.blog-post-image {
    margin: 24px 0;
}

.blog-post-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 36, 64, 0.12);
}

.blog-post-image figcaption {
    margin-top: 10px;
    color: var(--gray);
    font-size: 0.92rem;
    text-align: center;
}

.blog-post-embed {
    margin: 24px 0;
}

.blog-post-embed figcaption {
    margin-top: 10px;
    color: var(--gray);
    font-size: 0.92rem;
    text-align: center;
}

.blog-post-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 36, 64, 0.12);
}

.blog-post-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.blog-post-tweet {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-post-tweet-fallback {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 22px 24px;
    border-radius: 18px;
    background: #f4f7fb;
    border: 1px solid #d7e0ea;
    box-shadow: 0 14px 36px rgba(15, 36, 64, 0.08);
}

.blog-post-tweet-fallback a {
    color: var(--navy);
    font-weight: 700;
}

.blog-post-tweet-fallback a:hover {
    color: var(--red);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 24px;
    grid-column: 3;
}

.blog-sidebar-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px;
}

.blog-sidebar-card h2 {
    color: var(--navy);
    font-size: 1.2rem;
    line-height: 1.2;
}

.blog-sidebar-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.blog-sidebar-rss {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(22, 54, 92, 0.08);
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.blog-sidebar-rss:hover {
    color: var(--red);
    background: rgba(255, 70, 46, 0.12);
}

.blog-recent-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-recent-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #f4f7fb;
    border: 1px solid #d7e0ea;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-recent-link:hover {
    border-color: rgba(255, 70, 46, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 36, 64, 0.08);
}

.blog-recent-title {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.35;
}

.blog-recent-date {
    color: var(--gray);
    font-size: 0.88rem;
    font-weight: 600;
}

@media (max-width: 980px) {
    .blog-post-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .blog-post-section > .section-container {
        max-width: 1000px;
    }

    .blog-post-layout {
        grid-template-columns: 1fr;
    }

    .blog-post-main {
        grid-column: auto;
    }

    .blog-sidebar {
        position: static;
        grid-column: auto;
    }

    .blog-sidebar-card {
        display: none;
    }

    .blog-post-section .section-container {
        padding-left: 0;
        padding-right: 0;
    }

    .blog-post-body {
        padding: 0 8px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .blog-share {
        margin-top: 24px;
        gap: 10px;
    }

    .blog-share-inline {
        margin-top: 18px;
        margin-bottom: 0;
        padding-top: 16px;
    }

    .blog-share-links {
        gap: 8px;
    }

    .blog-share-links a {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 420px) {
    .blog-post-section {
        padding-left: 6px;
        padding-right: 6px;
    }

    .blog-post-body {
        padding: 0 6px;
    }
}
