.winkey-hb {
    min-height: 0;
    height: 100%;
    border-radius: 24px;
    padding: 16px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 12px;
    overflow: hidden;
    position: relative;
}

.winkey-hb-head {
    display: grid;
    gap: 4px;
}

.winkey-hb-title {
    margin: 0;
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #0a2f63;
}

.winkey-hb-subtitle {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(12, 45, 96, 0.75);
}

.winkey-hb .winkey-hb-pagination {
    position: absolute !important;
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 !important;
    width: max-content;
}

.winkey-hb .winkey-hb-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.winkey-hb .winkey-hb-dot {
    appearance: none;
    border: 0 !important;
    min-width: 8px !important;
    max-width: 8px !important;
    width: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: rgba(53, 118, 205, 0.42) !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 0 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transform: scale(1);
    transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
    opacity: 0.78;
}

.winkey-hb .winkey-hb-dot.is-active,
.winkey-hb .winkey-hb-dot[aria-current="true"] {
    transform: scale(1.4);
    background: rgba(38, 123, 233, 0.95) !important;
    opacity: 1 !important;
}

.winkey-hb .winkey-hb-dot:focus-visible {
    outline: 2px solid rgba(24, 104, 209, 0.55);
    outline-offset: 2px;
}

.winkey-hb .winkey-hb-arrow {
    appearance: none;
    border: 1px solid rgba(13, 80, 169, 0.18) !important;
    min-width: 26px !important;
    max-width: 26px !important;
    width: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    height: 26px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: #1551a2;
    font-size: 0 !important;
    line-height: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    position: relative;
    transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.winkey-hb .winkey-hb-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.winkey-hb .winkey-hb-arrow--prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.winkey-hb .winkey-hb-arrow--next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.winkey-hb .winkey-hb-arrow:hover:not(:disabled) {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(13, 80, 169, 0.25);
}

.winkey-hb .winkey-hb-arrow:focus-visible {
    outline: 2px solid rgba(24, 104, 209, 0.55);
    outline-offset: 2px;
}

.winkey-hb .winkey-hb-arrow:disabled {
    cursor: default;
}

.winkey-hb .winkey-hb-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.winkey-hb-grid {
    --hb-gap: 16px;
    --hb-cols: var(--winkey-hb-cols, 3);
    --hb-col-width: calc((100% - ((var(--hb-cols) - 1) * var(--hb-gap))) / var(--hb-cols));
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: stretch;
    gap: var(--hb-gap);
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 2px 8px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.winkey-hb-grid::-webkit-scrollbar {
    display: none;
}

.winkey-hb-item {
    flex: 0 0 var(--hb-col-width);
    max-width: var(--hb-col-width);
    min-width: var(--hb-col-width);
    display: flex;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.winkey-hb-item .winkey-home-blog-card {
    width: 100%;
    height: 100%;
    min-height: clamp(320px, 21vw, 360px);
}

.winkey-hb .winkey-home-blog-card {
    border-radius: 24px;
    border: 1px solid rgba(69, 138, 231, 0.24);
    background: rgba(246, 251, 255, 0.76);
    box-shadow: none !important;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.winkey-hb .winkey-home-blog-card__media-wrap {
    margin: 10px 12px 0;
    position: relative;
}

.winkey-hb .winkey-home-blog-card__media {
    margin: 0;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    border: 1px solid rgba(118, 162, 230, 0.22);
    background: rgba(255, 255, 255, 0.58);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.winkey-hb .winkey-home-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 16px;
}

.winkey-hb .winkey-home-blog-card__body {
    margin-top: 4px;
    padding: 12px 14px 14px;
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    gap: 10px;
}

.winkey-hb .winkey-home-blog-card__badge {
    width: max-content;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(13, 80, 169, 0.18);
    background: rgba(10, 132, 227, 0.14);
    color: #0f3368;
    font-size: 11px;
    letter-spacing: 0.05em;
    font-weight: 900;
    text-transform: uppercase;
}

.winkey-hb .winkey-home-blog-card__name {
    margin: 0;
    text-decoration: none !important;
    color: #122f5e;
    font-size: clamp(1.04rem, 1.08vw, 1.16rem);
    font-weight: 800;
    line-height: 1.28;
}

.winkey-hb .winkey-home-blog-card__name:hover {
    color: #0a84e3;
    text-decoration: none !important;
}

.winkey-hb .winkey-home-blog-card__excerpt {
    margin: 0;
    color: #274576;
    font-size: 0.93rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.winkey-hb .winkey-home-blog-card__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.winkey-hb .winkey-home-blog-card__meta-row {
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
    color: #1d3e71;
    line-height: 1.25;
}

.winkey-hb .winkey-home-blog-card__meta-row strong {
    color: #102d5a;
}

.winkey-hb .winkey-home-blog-card__cta {
    display: grid;
    grid-template-columns: 1fr;
    align-self: end;
}

.winkey-hb .winkey-home-blog-card__cta .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    text-decoration: none !important;
    border-radius: 14px !important;
    border: 1px solid rgba(13, 80, 169, 0.18) !important;
    background: linear-gradient(135deg, rgba(146, 214, 255, 0.92), rgba(116, 167, 255, 0.92)) !important;
    color: #0b305f;
    font-weight: 900;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 16px rgba(32, 110, 220, 0.26) !important;
    min-height: 50px;
    padding: 0 14px;
    line-height: 1 !important;
    white-space: nowrap;
}

.winkey-hb .winkey-home-blog-card__cta .button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    border-color: rgba(13, 80, 169, 0.22) !important;
    box-shadow: 0 8px 18px rgba(32, 110, 220, 0.28) !important;
}

.winkey-hb .winkey-home-blog-card--empty .winkey-home-blog-card__body {
    align-content: center;
    justify-items: center;
    text-align: center;
    min-height: 100%;
}

.winkey-hb .winkey-home-blog-card__emptytxt {
    color: rgba(19, 45, 87, 0.82);
    font-size: 0.95rem;
}

@media (max-width: 1200px) {
    .winkey-hb {
        min-height: auto;
    }

    .winkey-hb-grid {
        --hb-cols: min(2, var(--winkey-hb-cols, 3));
    }
}

@media (max-width: 980px) {
    .winkey-hb {
        padding: 14px 0;
        gap: 10px;
        overflow: visible;
    }

    .winkey-hb-head {
        padding-inline: 14px;
    }

    .winkey-hb .winkey-hb-pagination {
        position: static !important;
        left: auto;
        top: auto;
        transform: none;
        margin: 6px 0 0 !important;
        justify-self: center;
        width: auto;
    }

    .winkey-hb-title {
        font-size: clamp(1.52rem, 5.4vw, 2.08rem);
    }

    .winkey-hb-grid {
        --hb-gap: 12px;
        --hb-cols: 1;
        --hb-col-width: calc(100% - 28px);
        padding: 3px 14px 8px;
        scroll-padding-inline: 14px;
    }

    .winkey-hb-item .winkey-home-blog-card {
        min-height: clamp(380px, 86vw, 560px);
        border-radius: 22px;
    }

    .winkey-hb .winkey-home-blog-card__name {
        font-size: clamp(1.02rem, 3.7vw, 1.18rem);
    }

    .winkey-hb .winkey-home-blog-card__excerpt,
    .winkey-hb .winkey-home-blog-card__meta-row {
        font-size: 1rem;
    }
}

@media (max-width: 760px) {
    .winkey-hb-item .winkey-home-blog-card {
        min-height: clamp(400px, 104vw, 590px);
    }

    .winkey-hb .winkey-home-blog-card__body {
        padding: 12px 12px 13px;
        gap: 8px;
    }
}

/* Windows 12 vs Windows 11 compare block */
.winkey-wcmp {
    margin: clamp(18px, 2.8vw, 34px) 0;
    padding: clamp(14px, 2vw, 20px);
    border-radius: 22px;
    display: grid;
    gap: 14px;
}

.winkey-wcmp-head {
    display: grid;
}

.winkey-wcmp-title {
    margin: 0;
    color: #0a2f63;
    font-size: clamp(1.24rem, 2vw, 1.72rem);
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.winkey-wcmp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.winkey-wcmp-left,
.winkey-wcmp-right {
    display: flex;
    min-height: 0;
}

.winkey-wcmp-left .winkey-hp,
.winkey-wcmp-right .winkey-hp {
    min-height: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none !important;
}

.winkey-wcmp-left .winkey-hp-grid,
.winkey-wcmp-right .winkey-hp-grid {
    --hp-gap: 0;
    --hp-col-width: 100%;
    flex: 1 1 auto;
    height: 100%;
    width: 100%;
    display: flex;
    gap: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
}

.winkey-wcmp-left .winkey-hp-item,
.winkey-wcmp-right .winkey-hp-item {
    display: flex;
    flex: 1 1 auto;
    height: 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex-basis: 100%;
}

.winkey-wcmp-left .buyit-deal-card,
.winkey-wcmp-right .buyit-deal-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 100%;
}

:root[data-theme="light"] .winkey-wcmp-left .buyit-deal-card,
:root[data-theme="light"] .winkey-wcmp-right .buyit-deal-card {
    border: 2px solid rgba(69, 138, 231, 0.24) !important;
    box-shadow: none !important;
}

:root[data-theme="dark"] .winkey-wcmp-left .buyit-deal-card,
:root[data-theme="dark"] .winkey-wcmp-right .buyit-deal-card {
    border: 2px solid rgba(146, 184, 255, 0.28) !important;
    box-shadow: none !important;
}

.winkey-wcmp-left .buyit-deal-card__body,
.winkey-wcmp-right .buyit-deal-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.winkey-wcmp-left .buyit-deal-card__cta,
.winkey-wcmp-right .buyit-deal-card__cta {
    margin-top: auto;
    width: 100%;
}

.winkey-wcmp-left .buyit-deal-card__cta .button,
.winkey-wcmp-right .buyit-deal-card__cta .button {
    width: 100%;
    min-height: 52px;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
}

.winkey-wcmp-right .buyit-deal-card__omnibus {
    min-height: 28px;
    margin-top: 8px;
}

.winkey-wcmp-left .buyit-deal-card__body::after {
    content: "";
    display: block;
    min-height: 28px;
}

.winkey-wcmp-left .buyit-deal-card__brand {
    color: rgba(12, 53, 110, 0.72);
}

.winkey-wcmp-left .buyit-deal-card__name {
    margin-bottom: 2px;
}

.winkey-wcmp-left .buyit-deal-card__meta {
    margin-top: 2px;
}

.winkey-wcmp-left .buyit-deal-card__meta-row {
    font-size: 1rem;
    line-height: 1.28;
}

.winkey-wcmp-left .buyit-deal-card__meta-row strong {
    font-size: clamp(1.08rem, 1.2vw, 1.28rem);
    font-weight: 900;
    color: #102d5a;
}

.winkey-wcmp-left .winkey-wcmp-q-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none !important;
}

.winkey-wcmp-left .winkey-wcmp-q-link:hover strong {
    color: #0a84e3;
}

.winkey-wcmp-left .buyit-deal-card__media {
    cursor: pointer;
}

.winkey-wcmp--products .winkey-wcmp-left .buyit-deal-card__body::after {
    display: none;
}

.winkey-wcmp--products .winkey-wcmp-left .buyit-deal-card__brand,
.winkey-wcmp--products .winkey-wcmp-right .buyit-deal-card__brand {
    margin: 0;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(12, 53, 110, .72);
}

.winkey-wcmp--products .winkey-wcmp-left .buyit-deal-card__name,
.winkey-wcmp--products .winkey-wcmp-right .buyit-deal-card__name {
    margin: 0;
    font-size: clamp(1.04rem, 1.08vw, 1.16rem);
    font-weight: 800;
    line-height: 1.28;
}

.winkey-wcmp--products .winkey-wcmp-left .buyit-deal-card__meta,
.winkey-wcmp--products .winkey-wcmp-right .buyit-deal-card__meta {
    margin: 0;
    gap: 6px;
}

.winkey-wcmp--products .winkey-wcmp-left .buyit-deal-card__meta-row,
.winkey-wcmp--products .winkey-wcmp-right .buyit-deal-card__meta-row {
    font-size: .97rem;
    line-height: 1.25;
}

.winkey-wcmp--products .winkey-wcmp-left .buyit-deal-card__meta-row strong,
.winkey-wcmp--products .winkey-wcmp-right .buyit-deal-card__meta-row strong {
    font-size: inherit;
    line-height: inherit;
    font-weight: 700;
}

.winkey-wcmp--products .winkey-wcmp-left .buyit-deal-card__cta .button,
.winkey-wcmp--products .winkey-wcmp-right .buyit-deal-card__cta .button {
    font-size: inherit;
}

.winkey-wcmp-missing {
    border-radius: 16px;
    border: 1px dashed rgba(13, 80, 169, 0.3);
    background: rgba(255, 255, 255, 0.7);
    padding: 16px;
    display: grid;
    gap: 8px;
}

.winkey-wcmp-missing h4 {
    margin: 0;
    color: #0f3368;
}

.winkey-wcmp-missing p {
    margin: 0;
    color: #2f4f7b;
}

.winkey-wcmp-missing .button {
    width: max-content;
}

/* Single post polish for this long-form article layout */
.single-post .entry-content > article {
    max-width: 980px;
    margin-inline: auto;
    color: #213b62;
}

.single-post .entry-content > article h1,
.single-post .entry-content > article h2,
.single-post .entry-content > article h3 {
    color: #102d5a;
    letter-spacing: 0.01em;
}

.single-post .entry-content > article h1 {
    font-size: clamp(1.9rem, 4.1vw, 3rem);
    line-height: 1.15;
    margin-bottom: 0.7em;
}

.single-post .entry-content > article h2 {
    font-size: clamp(1.28rem, 2.3vw, 1.9rem);
    margin-top: clamp(26px, 4vw, 44px);
    margin-bottom: 0.55em;
}

.single-post .entry-content > article h3 {
    font-size: clamp(1.1rem, 1.9vw, 1.34rem);
    margin-top: clamp(20px, 3vw, 30px);
    margin-bottom: 0.45em;
}

.single-post .entry-content > article p,
.single-post .entry-content > article li {
    font-size: clamp(1rem, 1.1vw, 1.12rem);
    line-height: 1.72;
}

.single-post .entry-content > article ul {
    margin: 0 0 1.2em 1.1em;
    padding: 0;
    display: grid;
    gap: 0.35em;
}

.single-post .entry-content > article img {
    display: block;
    width: 100%;
    border-radius: 16px !important;
    border: 1px solid rgba(110, 163, 233, 0.24);
    box-shadow: 0 8px 24px rgba(23, 73, 145, 0.12);
}

.single-post .entry-content > article a {
    color: #0c5bc4;
    font-weight: 700;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

.single-post .entry-content > article p[style*="fff3cd"] {
    border: 1px solid rgba(201, 157, 59, 0.28);
    background: rgba(255, 242, 201, 0.78) !important;
    color: #5c4818;
    border-radius: 12px !important;
}

.single-post .entry-content > article section[style*="f5f7ff"] {
    border: 1px solid rgba(95, 146, 217, 0.24);
    background: rgba(245, 249, 255, 0.82) !important;
    border-radius: 16px !important;
}

@media (max-width: 980px) {
    .winkey-wcmp {
        padding: 12px;
    }

    .winkey-wcmp-grid {
        grid-template-columns: 1fr;
    }

    .winkey-wcmp-left .buyit-deal-card__body::after {
        display: none;
    }

    .winkey-wcmp-right .buyit-deal-card__omnibus {
        min-height: 0;
    }

    .single-post .entry-content > article {
        max-width: 100%;
    }
}
