body.category-blog .tm-main {
    background:
        radial-gradient(circle at 8% 10%, rgba(245, 197, 24, 0.09), transparent 24rem),
        #f5f6f8;
    padding-bottom: 88px;
}

body.category-blog .tm-main > .uk-container {
    max-width: 1260px;
}

.sop-blog-archive {
    --sop-ink: #202129;
    --sop-muted: #6d7079;
    --sop-yellow: #f5c518;
    --sop-yellow-dark: #d5a900;
    color: var(--sop-ink);
}

.sop-blog-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: end;
    overflow: hidden;
    margin: 30px 0 26px;
    padding: clamp(38px, 5vw, 68px);
    color: #fff;
    background:
        linear-gradient(120deg, rgba(32, 33, 41, 0.98), rgba(38, 37, 48, 0.9)),
        repeating-linear-gradient(135deg, transparent 0 20px, rgba(255, 255, 255, 0.03) 20px 21px);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(28, 29, 36, 0.18);
}

.sop-blog-hero::before,
.sop-blog-hero::after {
    position: absolute;
    z-index: -1;
    content: '';
    border-radius: 50%;
}

.sop-blog-hero::before {
    top: -120px;
    right: -60px;
    width: 360px;
    height: 360px;
    border: 70px solid rgba(245, 197, 24, 0.12);
}

.sop-blog-hero::after {
    right: 235px;
    bottom: -105px;
    width: 210px;
    height: 210px;
    background: rgba(245, 197, 24, 0.07);
}

.sop-blog-hero__content {
    max-width: 760px;
}

.sop-blog-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--sop-yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sop-blog-hero__eyebrow::before {
    width: 34px;
    height: 3px;
    content: '';
    background: currentColor;
    border-radius: 10px;
}

.sop-blog-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 5vw, 66px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.sop-blog-hero p {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.75;
}

.sop-blog-hero__stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 30px;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.sop-blog-hero__stats div {
    min-width: 90px;
}

.sop-blog-hero__stats strong,
.sop-blog-hero__stats span {
    display: block;
}

.sop-blog-hero__stats strong {
    color: var(--sop-yellow);
    font-size: 27px;
    line-height: 1;
}

.sop-blog-hero__stats span {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sop-blog-topics {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 0 0 30px;
    padding: 4px 2px 10px;
    scrollbar-width: thin;
}

.sop-blog-topics a {
    flex: 0 0 auto;
    padding: 11px 17px;
    color: #555861;
    background: #fff;
    border: 1px solid #e3e5e9;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(32, 33, 41, 0.04);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sop-blog-topics a:hover,
.sop-blog-topics a:focus,
.sop-blog-topics a.is-active {
    color: #202129;
    background: var(--sop-yellow);
    border-color: var(--sop-yellow);
    transform: translateY(-2px);
}

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

.sop-blog-grid > nav[aria-label='Breadcrumb'] {
    grid-column: 1 / -1;
    align-self: start;
    margin: 2px 0 4px;
}

.sop-blog-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(32, 33, 41, 0.08);
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(32, 33, 41, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.sop-blog-card:hover {
    border-color: rgba(213, 169, 0, 0.45);
    box-shadow: 0 20px 44px rgba(32, 33, 41, 0.13);
    transform: translateY(-6px);
}

.sop-blog-card--featured {
    grid-column: span 2;
}

.sop-blog-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    height: 220px;
    background: #292832;
}

.sop-blog-card--featured .sop-blog-card__media {
    height: 360px;
}

.sop-blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sop-blog-card:hover .sop-blog-card__image {
    transform: scale(1.055);
}

.sop-blog-card__media::after {
    position: absolute;
    inset: 45% 0 0;
    content: '';
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(25, 25, 31, 0.38));
}

.sop-blog-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--sop-yellow);
    background: radial-gradient(circle, #45434f, #26252d 70%);
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.sop-blog-card__category {
    position: absolute;
    z-index: 1;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    color: #202129;
    background: var(--sop-yellow);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.sop-blog-card__body {
    display: flex;
    min-height: 230px;
    flex: 1;
    flex-direction: column;
    padding: 25px 26px 27px;
}

.sop-blog-card--featured .sop-blog-card__body {
    min-height: 245px;
    padding: 30px 34px 32px;
}

.sop-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--sop-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sop-blog-card__meta > span[aria-hidden='true'] {
    width: 4px;
    height: 4px;
    background: var(--sop-yellow-dark);
    border-radius: 50%;
}

.sop-blog-card h2 {
    margin: 15px 0 24px;
    color: var(--sop-ink);
    font-size: clamp(19px, 1.7vw, 24px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.025em;
}

.sop-blog-card--featured h2 {
    max-width: 820px;
    font-size: clamp(26px, 2.8vw, 38px);
}

.sop-blog-card h2 a {
    color: inherit;
    text-decoration: none;
}

.sop-blog-card h2 a:hover,
.sop-blog-card h2 a:focus {
    color: #9e7b00;
}

.sop-blog-card__more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin-top: auto;
    color: #272832;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.sop-blog-card__more span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #202129;
    background: var(--sop-yellow);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.sop-blog-card__more:hover span,
.sop-blog-card__more:focus span {
    transform: translateX(4px);
}

.sop-blog-archive .navigation.pagination {
    margin-top: 46px;
}

.sop-blog-archive .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.sop-blog-archive .page-numbers {
    display: inline-flex;
    min-width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #52545d;
    background: #fff;
    border: 1px solid #e0e2e6;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(32, 33, 41, 0.05);
}

.sop-blog-archive a.page-numbers:hover,
.sop-blog-archive a.page-numbers:focus,
.sop-blog-archive .page-numbers.current {
    color: #202129;
    background: var(--sop-yellow);
    border-color: var(--sop-yellow);
}

.sop-blog-empty {
    padding: 64px 30px;
    text-align: center;
    background: #fff;
    border-radius: 22px;
}

@media (max-width: 959px) {
    .sop-blog-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sop-blog-hero__stats {
        justify-self: start;
    }

    .sop-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sop-blog-card--featured {
        grid-column: span 2;
    }
}

@media (max-width: 639px) {
    body.category-blog .tm-main {
        padding-bottom: 64px;
    }

    .sop-blog-hero {
        margin-top: 18px;
        padding: 34px 24px;
        border-radius: 20px;
    }

    .sop-blog-hero::before {
        right: -170px;
    }

    .sop-blog-hero h1 {
        font-size: 38px;
    }

    .sop-blog-hero__stats {
        width: 100%;
        gap: 18px;
        justify-content: space-between;
        padding: 18px;
    }

    .sop-blog-hero__stats div {
        min-width: 0;
    }

    .sop-blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sop-blog-card--featured {
        grid-column: auto;
    }

    .sop-blog-card__media,
    .sop-blog-card--featured .sop-blog-card__media {
        height: 225px;
    }

    .sop-blog-card__body,
    .sop-blog-card--featured .sop-blog-card__body {
        min-height: 225px;
        padding: 24px;
    }

    .sop-blog-card--featured h2 {
        font-size: 25px;
    }

    .sop-blog-archive .page-numbers.prev,
    .sop-blog-archive .page-numbers.next {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sop-blog-card,
    .sop-blog-card__image,
    .sop-blog-card__more span,
    .sop-blog-topics a {
        transition: none;
    }
}
