.wpfdm-blog {
    --wpfdm-purple: #7c00d8;
    --wpfdm-purple-dark: #4a0087;
    --wpfdm-ink: #17131d;
    --wpfdm-muted: #6f6878;
    --wpfdm-line: #e9e4ee;
    --wpfdm-soft: #f7f4fa;
    --wpfdm-white: #ffffff;
    width: min(100%, 1180px);
    margin: 0 auto;
    color: var(--wpfdm-ink);
    font-family: inherit;
    line-height: 1.65;
}

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

.wpfdm-blog img {
    display: block;
    max-width: 100%;
}

.wpfdm-blog a {
    text-decoration: none;
}

.wpfdm-blog h1,
.wpfdm-blog h2,
.wpfdm-blog p,
.wpfdm-blog figure {
    margin-top: 0;
}

.wpfdm-blog-hero {
    position: relative;
    min-height: 430px;
    margin: 0 0 64px;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(135deg, #15101b, #4a0087);
    box-shadow: 0 24px 70px rgba(35, 11, 52, 0.2);
}

.wpfdm-blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 5, 12, 0.06) 20%, rgba(8, 5, 12, 0.82) 100%);
}

.wpfdm-blog-hero-image {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.wpfdm-blog-hero-overlay {
    position: absolute;
    z-index: 2;
    left: clamp(24px, 5vw, 62px);
    right: clamp(24px, 5vw, 62px);
    bottom: clamp(28px, 5vw, 58px);
    color: var(--wpfdm-white);
}

.wpfdm-blog-hero-label,
.wpfdm-blog-kicker,
.wpfdm-blog-product-count {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.wpfdm-blog-hero-label {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.wpfdm-blog-hero h1 {
    max-width: 720px;
    margin-bottom: 8px;
    color: var(--wpfdm-white);
    font-size: clamp(38px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.wpfdm-blog-hero-date {
    margin-bottom: 0;
    color: rgba(255,255,255,.84);
    font-size: 16px;
    font-weight: 700;
}

.wpfdm-blog-intro {
    max-width: 830px;
    margin: 0 auto 70px;
    text-align: center;
}

.wpfdm-blog-kicker,
.wpfdm-blog-product-count {
    color: var(--wpfdm-purple);
}

.wpfdm-blog-intro h2,
.wpfdm-blog-section-heading h2,
.wpfdm-blog-product-content h2,
.wpfdm-blog-closing h2 {
    color: var(--wpfdm-ink);
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.wpfdm-blog-intro h2 {
    margin-bottom: 20px;
}

.wpfdm-blog-intro p {
    margin-bottom: 0;
    color: var(--wpfdm-muted);
    font-size: 18px;
}

.wpfdm-blog-lineup {
    margin-bottom: 88px;
}

.wpfdm-blog-section-heading {
    margin-bottom: 28px;
}

.wpfdm-blog-section-heading h2 {
    max-width: 700px;
    margin-bottom: 0;
}

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

.wpfdm-blog-lineup-card {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--wpfdm-line);
    border-radius: 20px;
    background: var(--wpfdm-white);
    color: var(--wpfdm-ink);
    box-shadow: 0 12px 36px rgba(35, 20, 48, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.wpfdm-blog-lineup-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 0, 216, .35);
    box-shadow: 0 22px 50px rgba(35, 20, 48, .13);
}

.wpfdm-blog-lineup-number {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 999px;
    background: var(--wpfdm-ink);
    color: var(--wpfdm-white);
    font-size: 12px;
    font-weight: 800;
}

.wpfdm-blog-lineup-media {
    display: grid;
    min-height: 265px;
    padding: 20px;
    place-items: center;
    background: var(--wpfdm-soft);
}

.wpfdm-blog-lineup-image {
    width: 100%;
    height: 225px;
    object-fit: contain;
    transition: transform .28s ease;
}

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

.wpfdm-blog-lineup-content {
    display: flex;
    flex: 1;
    padding: 22px;
    flex-direction: column;
}

.wpfdm-blog-lineup-content strong {
    margin-bottom: 7px;
    font-size: 21px;
    line-height: 1.18;
}

.wpfdm-blog-lineup-content small {
    color: var(--wpfdm-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.wpfdm-blog-lineup-link {
    margin-top: 20px;
    color: var(--wpfdm-purple);
    font-size: 14px;
    font-weight: 800;
}

.wpfdm-blog-products {
    display: grid;
    gap: 34px;
}

.wpfdm-blog-product {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: center;
    padding: clamp(26px, 4vw, 52px);
    border: 1px solid var(--wpfdm-line);
    border-radius: 26px;
    background: var(--wpfdm-white);
    box-shadow: 0 16px 50px rgba(35, 20, 48, .07);
    scroll-margin-top: 110px;
}

.wpfdm-blog-product--reverse .wpfdm-blog-product-gallery {
    order: 2;
}

.wpfdm-blog-product--reverse .wpfdm-blog-product-content {
    order: 1;
}

.wpfdm-blog-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wpfdm-blog-gallery-item {
    display: grid;
    min-height: 190px;
    margin: 0;
    overflow: hidden;
    padding: 16px;
    place-items: center;
    border-radius: 16px;
    background: var(--wpfdm-soft);
}

.wpfdm-blog-gallery-item--main {
    grid-column: 1 / -1;
    min-height: 430px;
}

.wpfdm-blog-gallery--1 .wpfdm-blog-gallery-item--main {
    min-height: 560px;
}

.wpfdm-blog-gallery-image {
    width: 100%;
    height: 100%;
    max-height: 430px;
    object-fit: contain;
}

.wpfdm-blog-gallery-item:not(.wpfdm-blog-gallery-item--main) .wpfdm-blog-gallery-image {
    max-height: 190px;
}

.wpfdm-blog-gallery-empty {
    display: grid;
    min-height: 480px;
    padding: 30px;
    place-items: center;
    border-radius: 18px;
    background: var(--wpfdm-soft);
}

.wpfdm-blog-product-content h2 {
    margin-bottom: 18px;
}

.wpfdm-blog-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.wpfdm-blog-badge {
    display: inline-flex;
    min-height: 32px;
    padding: 7px 11px;
    align-items: center;
    border: 1px solid rgba(124, 0, 216, .16);
    border-radius: 999px;
    background: rgba(124, 0, 216, .07);
    color: var(--wpfdm-purple-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}

.wpfdm-blog-description {
    color: var(--wpfdm-muted);
    font-size: 16px;
}

.wpfdm-blog-description p:last-child {
    margin-bottom: 0;
}

.wpfdm-blog-product-cta {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding-top: 24px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--wpfdm-line);
}

.wpfdm-blog-product-cta > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.wpfdm-blog-product-cta strong {
    color: var(--wpfdm-ink);
    font-size: 14px;
}

.wpfdm-blog-product-cta span {
    color: var(--wpfdm-muted);
    font-size: 12px;
}

.wpfdm-blog-button {
    display: inline-flex;
    min-height: 48px;
    padding: 13px 20px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--wpfdm-purple);
    border-radius: 999px;
    background: var(--wpfdm-purple);
    color: var(--wpfdm-white) !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 10px 24px rgba(124, 0, 216, .2);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.wpfdm-blog-button:hover {
    transform: translateY(-2px);
    background: var(--wpfdm-purple-dark);
    box-shadow: 0 14px 30px rgba(124, 0, 216, .28);
}

.wpfdm-blog-closing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    margin-top: 72px;
    padding: clamp(30px, 5vw, 60px);
    align-items: center;
    overflow: hidden;
    border-radius: 26px;
    background: radial-gradient(circle at top right, rgba(174, 73, 255, .38), transparent 36%), linear-gradient(135deg, #17121d, #3e006c);
    color: var(--wpfdm-white);
    box-shadow: 0 24px 70px rgba(35, 11, 52, .2);
}

.wpfdm-blog-closing .wpfdm-blog-kicker,
.wpfdm-blog-closing h2,
.wpfdm-blog-closing p {
    color: var(--wpfdm-white);
}

.wpfdm-blog-closing h2 {
    margin-bottom: 14px;
}

.wpfdm-blog-closing p {
    max-width: 720px;
    margin-bottom: 0;
    opacity: .78;
}

.wpfdm-blog-closing-actions {
    display: flex;
    min-width: 270px;
    align-items: flex-end;
    flex-direction: column;
    gap: 16px;
}

.wpfdm-blog-button--light {
    border-color: var(--wpfdm-white);
    background: var(--wpfdm-white);
    color: var(--wpfdm-purple-dark) !important;
    box-shadow: none;
}

.wpfdm-blog-button--light:hover {
    background: #f4eafe;
}

.wpfdm-blog-qr {
    display: flex;
    padding: 10px;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    color: var(--wpfdm-white) !important;
}

.wpfdm-blog-qr img {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: var(--wpfdm-white);
}

.wpfdm-blog-qr span {
    display: flex;
    flex-direction: column;
}

.wpfdm-blog-qr strong {
    font-size: 13px;
}

.wpfdm-blog-qr small {
    color: rgba(255,255,255,.68);
    font-size: 11px;
}

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

    .wpfdm-blog-lineup-card:last-child {
        grid-column: 1 / -1;
    }

    .wpfdm-blog-product {
        grid-template-columns: 1fr;
    }

    .wpfdm-blog-product--reverse .wpfdm-blog-product-gallery,
    .wpfdm-blog-product--reverse .wpfdm-blog-product-content {
        order: initial;
    }

    .wpfdm-blog-closing {
        grid-template-columns: 1fr;
    }

    .wpfdm-blog-closing-actions {
        min-width: 0;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .wpfdm-blog {
        width: 100%;
    }

    .wpfdm-blog-hero {
        min-height: 340px;
        margin-bottom: 46px;
        border-radius: 18px;
    }

    .wpfdm-blog-hero-image {
        min-height: 340px;
    }

    .wpfdm-blog-intro,
    .wpfdm-blog-lineup {
        margin-bottom: 50px;
    }

    .wpfdm-blog-lineup-grid {
        grid-template-columns: 1fr;
    }

    .wpfdm-blog-lineup-card:last-child {
        grid-column: auto;
    }

    .wpfdm-blog-product {
        gap: 28px;
        padding: 18px;
        border-radius: 18px;
    }

    .wpfdm-blog-gallery-item--main,
    .wpfdm-blog-gallery--1 .wpfdm-blog-gallery-item--main {
        min-height: 330px;
    }

    .wpfdm-blog-gallery-item {
        min-height: 140px;
        padding: 10px;
        border-radius: 12px;
    }

    .wpfdm-blog-gallery-item:not(.wpfdm-blog-gallery-item--main) .wpfdm-blog-gallery-image {
        max-height: 140px;
    }

    .wpfdm-blog-product-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .wpfdm-blog-button {
        width: 100%;
    }

    .wpfdm-blog-closing {
        margin-top: 46px;
        border-radius: 18px;
    }

    .wpfdm-blog-closing-actions,
    .wpfdm-blog-qr {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wpfdm-blog *,
    .wpfdm-blog *::before,
    .wpfdm-blog *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
