body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    color: #10383e;
    display: flex;
    flex-direction: column;
}

.blog-main-wrap {
    padding-top: 110px;
    padding-bottom: 90px;
    flex: 1 0 auto;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes skeleton-pulse {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton {
    display: block;
    border-radius: 6px;
    width: 100%;
    height: 16px;
    background: linear-gradient(90deg, #e8edf7 0%, #f3f6ff 50%, #e8edf7 100%);
    background-size: 200% 100%;
    animation: skeleton-pulse 2s infinite ease-in-out;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
}

.skeleton-title {
    height: 24px;
    margin-bottom: 8px;
}

.skeleton-date {
    height: 12px;
    margin-bottom: 12px;
    width: 40%;
}

.skeleton-short {
    width: 60%;
    margin-bottom: 0;
}

.skeleton-image {
    height: 230px;
    border-radius: 0;
    margin-bottom: 0;
    background: linear-gradient(90deg, #e8edf7 0%, #f3f6ff 50%, #e8edf7 100%);
    background-size: 200% 100%;
    animation: skeleton-pulse 2s infinite ease-in-out;
}

.skeleton-card {
    background: #ffffff;
    border: 1px solid #d9deea;
}

#blog-skeleton-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
}

#blog-skeleton-container .blog-card {
    grid-column: span 6;
}

@media (max-width: 900px) {
    #blog-skeleton-container .blog-card {
        grid-column: span 12;
    }
}

.blog-main {
    padding: 32px 0 52px;
}

.blog-hero {
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 131, 143, 0.15);
}

.hero-kicker {
    margin: 0 0 12px;
    font-size: 0.82rem;
    letter-spacing: 1.6px;
    font-weight: 700;
    color: #0b6a75;
}

.blog-hero h1 {
    margin: 0 0 10px;
    line-height: 1.2;
    font-size: clamp(1.4rem, 3.2vw, 2.35rem);
}

.blog-hero p {
    margin: 0;
    opacity: 0.84;
    max-width: 760px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
}

.blog-card {
    grid-column: span 6;
    min-height: 460px;
    border-radius: 8px;
    padding: 0;
    background: #ffffff;
    border: 1px solid #d9deea;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 48, 82, 0.08);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 48, 82, 0.15);
    border-color: #83b3ff;
}

.blog-card-thumb {
    width: 100%;
    height: 230px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 171, 0, 0.3), transparent 35%),
        linear-gradient(135deg, #eef2ff, #f5f8ff);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-bottom: 1px solid #e8edf7;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: contain;
    background: #e8edf7;
}

.blog-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.blog-thumb-overlay span {
    display: inline-block;
    background: #1e4aa8;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 999px;
    padding: 6px 12px;
}

.blog-card-body {
    padding: 24px 20px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    line-height: 1.4;
    color: #0f1e34;
    font-weight: 600;
}

.blog-card p {
    margin: 0 0 14px;
    opacity: 0.9;
    color: #475569;
    line-height: 1.6;
    flex: 1;
    font-size: 0.95rem;
}

.chip {
    display: none;
}

.blog-date {
    display: block;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.read-link {
    color: #1e4aa8;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.read-link:hover {
    color: #0d2a7d;
    text-decoration: underline;
}

.blog-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    text-align: center;
    padding: 20px;
    color: #f8fcff;
    background: rgba(0, 53, 60, 0.45);
    backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
    .blog-card {
        grid-column: span 12;
    }

    .blog-card-thumb {
        min-height: 190px;
    }

    .blog-main-wrap {
        padding-top: 90px;
        padding-bottom: 86px;
    }
}
