.wtmg-blog {
    --wtmg-blog-primary: #1f4f99;
    --wtmg-blog-primary-dark: #173f7a;
    --wtmg-blog-green: #157a4d;
    --wtmg-blog-bg: #f8fafc;
    --wtmg-blog-surface: #ffffff;
    --wtmg-blog-border: #e5e7eb;
    --wtmg-blog-text: #10233f;
    --wtmg-blog-muted: #64748b;
    --wtmg-blog-soft-blue: #eef6ff;
    --wtmg-blog-soft-green: #ecfdf5;
    --wtmg-blog-radius: 14px;
    --wtmg-blog-shadow: 0 18px 42px rgba(15, 35, 68, 0.07);
    min-height: 100vh;
    color: var(--wtmg-blog-text);
    background: var(--wtmg-blog-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wtmg-blog *,
.wtmg-blog *::before,
.wtmg-blog *::after {
    box-sizing: border-box;
}

.wtmg-blog a {
    color: inherit;
    text-decoration: none;
}

.wtmg-blog a:focus-visible,
.wtmg-blog button:focus-visible {
    outline: 3px solid rgba(31, 79, 153, 0.24);
    outline-offset: 3px;
}

.wtmg-blog-container {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
}

.wtmg-blog-site-header {
    position: relative;
    z-index: 20;
    background: #fff;
}

.wtmg-blog-hero,
.wtmg-blog-article-hero {
    padding: 76px 0 54px;
    background:
        radial-gradient(circle at 83% 18%, rgba(31, 79, 153, 0.12), transparent 28%),
        radial-gradient(circle at 9% 96%, rgba(21, 122, 77, 0.10), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f4f8fd 52%, #eef6ff 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.88);
}

.wtmg-blog-eyebrow {
    margin: 0 0 10px;
    color: var(--wtmg-blog-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.wtmg-blog-hero h1,
.wtmg-blog-article-hero h1 {
    max-width: 880px;
    margin: 0;
    color: #0f2442;
    font-family: inherit;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: 0;
}

.wtmg-blog-hero p:not(.wtmg-blog-eyebrow),
.wtmg-blog-article-summary {
    max-width: 780px;
    margin: 20px 0 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.7;
}

.wtmg-blog-section,
.wtmg-blog-related {
    padding: 54px 0 76px;
}

.wtmg-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wtmg-blog-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--wtmg-blog-border);
    border-radius: var(--wtmg-blog-radius);
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 35, 68, 0.06);
}

.wtmg-blog-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: #1f4f99;
    font-size: 15px;
    font-weight: 800;
    background:
        radial-gradient(circle at 78% 22%, rgba(21, 122, 77, .18), transparent 28%),
        linear-gradient(135deg, #eef6ff, #ffffff 52%, #ecfdf5);
}

.wtmg-blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wtmg-blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.wtmg-blog-card h2 {
    margin: 0;
    color: #10233f;
    font-size: 22px;
    line-height: 1.22;
}

.wtmg-blog-card h2 a:hover,
.wtmg-blog-card h2 a:focus {
    color: var(--wtmg-blog-primary);
}

.wtmg-blog-card p:not(.wtmg-blog-eyebrow) {
    margin: 14px 0 0;
    color: var(--wtmg-blog-muted);
    font-size: 15px;
    line-height: 1.65;
}

.wtmg-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--wtmg-blog-muted);
    font-size: 14px;
    font-weight: 700;
}

.wtmg-blog-card-meta a {
    color: var(--wtmg-blog-primary);
}

.wtmg-blog-card-meta a:hover,
.wtmg-blog-card-meta a:focus {
    color: var(--wtmg-blog-primary-dark);
}

.wtmg-blog-pagination {
    margin-top: 36px;
    text-align: center;
}

.wtmg-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    margin: 0 3px;
    border: 1px solid var(--wtmg-blog-border);
    border-radius: 10px;
    background: #fff;
    color: var(--wtmg-blog-text);
    font-weight: 700;
}

.wtmg-blog-pagination .current,
.wtmg-blog-pagination .page-numbers:hover {
    border-color: var(--wtmg-blog-primary);
    background: var(--wtmg-blog-primary);
    color: #fff;
}

.wtmg-blog-empty {
    padding: 42px;
    border: 1px solid var(--wtmg-blog-border);
    border-radius: var(--wtmg-blog-radius);
    background: #fff;
    box-shadow: var(--wtmg-blog-shadow);
}

.wtmg-blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.wtmg-blog-breadcrumbs a:hover,
.wtmg-blog-breadcrumbs a:focus {
    color: var(--wtmg-blog-primary);
}

.wtmg-blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.wtmg-blog-article-meta span,
.wtmg-blog-article-meta time {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    background: #fff;
}

.wtmg-blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 42px;
    align-items: start;
    padding: 54px 0 72px;
}

.wtmg-blog-content {
    max-width: 780px;
    padding: 0;
    font-size: 18px;
    line-height: 1.72;
}

.wtmg-blog-content > *:first-child {
    margin-top: 0;
}

.wtmg-blog-content h2 {
    scroll-margin-top: 110px;
    margin: 54px 0 18px;
    color: #10233f;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.16;
    letter-spacing: 0;
}

.wtmg-blog-content h3 {
    margin: 34px 0 12px;
    color: #173f7a;
    font-size: 23px;
    line-height: 1.25;
}

.wtmg-blog-content p,
.wtmg-blog-content li {
    color: #334155;
}

.wtmg-blog-content p {
    margin: 0 0 20px;
}

.wtmg-blog-content ul,
.wtmg-blog-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.wtmg-blog-content li {
    margin: 8px 0;
}

.wtmg-blog-content a {
    color: var(--wtmg-blog-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wtmg-blog-lead {
    color: #243b63;
    font-size: 21px;
    line-height: 1.65;
}

.wtmg-blog-toc {
    position: sticky;
    top: 26px;
    order: 2;
    padding: 22px;
    border: 1px solid var(--wtmg-blog-border);
    border-radius: var(--wtmg-blog-radius);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 35, 68, 0.05);
}

.wtmg-blog-toc h2 {
    margin: 0 0 14px;
    color: #10233f;
    font-size: 16px;
}

.wtmg-blog-toc ol {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 18px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.wtmg-blog-toc a:hover,
.wtmg-blog-toc a:focus {
    color: var(--wtmg-blog-primary);
}

.wtmg-blog-callout,
.wtmg-blog-checklist,
.wtmg-blog-provider-cta,
.wtmg-blog-final-cta,
.wtmg-blog-faq,
.wtmg-blog-table-wrap {
    margin: 30px 0;
    border: 1px solid var(--wtmg-blog-border);
    border-radius: var(--wtmg-blog-radius);
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 35, 68, 0.05);
}

.wtmg-blog-callout {
    padding: 24px;
    background: var(--wtmg-blog-soft-blue);
}

.wtmg-blog-callout strong {
    display: block;
    margin-bottom: 8px;
    color: #10233f;
}

.wtmg-blog-checklist {
    padding: 26px;
}

.wtmg-blog-checklist h3,
.wtmg-blog-final-cta h2,
.wtmg-blog-provider-cta h3 {
    margin-top: 0;
}

.wtmg-blog-checklist ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wtmg-blog-checklist li {
    position: relative;
    margin: 0;
    padding-left: 26px;
}

.wtmg-blog-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--wtmg-blog-green);
}

.wtmg-blog-provider-cta,
.wtmg-blog-final-cta {
    padding: 28px;
    background:
        radial-gradient(circle at 90% 12%, rgba(21, 122, 77, .12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
}

.wtmg-blog-provider-cta p,
.wtmg-blog-final-cta p {
    max-width: 650px;
}

.wtmg-blog-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.wtmg-blog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 17px;
    border: 1px solid var(--wtmg-blog-primary);
    border-radius: 10px;
    background: var(--wtmg-blog-primary);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
}

.wtmg-blog-button:hover,
.wtmg-blog-button:focus {
    background: var(--wtmg-blog-primary-dark);
    border-color: var(--wtmg-blog-primary-dark);
}

.wtmg-blog-button.is-secondary {
    background: #fff;
    color: var(--wtmg-blog-primary) !important;
}

.wtmg-blog-button.is-secondary:hover,
.wtmg-blog-button.is-secondary:focus {
    background: #eef6ff;
}

.wtmg-blog-table-wrap {
    overflow-x: auto;
}

.wtmg-blog-content table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    background: #fff;
}

.wtmg-blog-content th,
.wtmg-blog-content td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--wtmg-blog-border);
    text-align: left;
    vertical-align: top;
}

.wtmg-blog-content th {
    color: #10233f;
    font-size: 14px;
    text-transform: uppercase;
}

.wtmg-blog-faq {
    padding: 28px;
}

.wtmg-blog-faq details {
    padding: 18px 0;
    border-bottom: 1px solid var(--wtmg-blog-border);
}

.wtmg-blog-faq details:last-child {
    border-bottom: 0;
}

.wtmg-blog-faq summary {
    cursor: pointer;
    color: #10233f;
    font-size: 18px;
    font-weight: 800;
}

.wtmg-blog-faq p {
    margin: 12px 0 0;
}

.wtmg-blog-section-head {
    margin-bottom: 24px;
}

.wtmg-blog-section-head h2 {
    margin: 0;
    color: #10233f;
    font-size: 32px;
}

@media (max-width: 980px) {
    .wtmg-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .wtmg-blog-toc {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .wtmg-blog-container {
        width: min(100% - 32px, 1180px);
    }

    .wtmg-blog-hero,
    .wtmg-blog-article-hero {
        padding: 52px 0 42px;
    }

    .wtmg-blog-grid,
    .wtmg-blog-checklist ul {
        grid-template-columns: 1fr;
    }

    .wtmg-blog-content {
        font-size: 16px;
        line-height: 1.7;
    }

    .wtmg-blog-card-body,
    .wtmg-blog-checklist,
    .wtmg-blog-callout,
    .wtmg-blog-provider-cta,
    .wtmg-blog-final-cta,
    .wtmg-blog-faq {
        padding: 22px;
    }
}
