/* ==========================================================================
   Sira Bio — Homepage restyle
   Brand: verde #0b803c, giallo #e8c22b, verde CTA #3bb54a
   ========================================================================== */

.sira-home {
    background: #fff;
    overflow-x: clip;
    /* clip instead of hidden: same visual clipping but does NOT create a scroll context, so position:sticky works */
}

/* Break the homepage out of the theme's .col-full max-width wrapper so the
   hero and tinted sections span full width. Inner content keeps its own
   max-width via .sira-section__inner. */
body.home #content .col-full,
body.home .site-content .col-full {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    /* prevent parent-theme overflow from breaking sticky */
}

/* Ensure no ancestor blocks sticky positioning */
body.home #content,
body.home .site-content,
body.home .content-area {
    overflow: visible !important;
}

.sira-section {
    padding: 64px 0;
}

.sira-section--tinted,
.sira-products-section--tinted {
    background: #fafaf7;
}

.sira-section__inner {
    max-width: 1349px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .sira-section__inner {
        padding: 0 24px;
    }
}

.sira-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.sira-section__title {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
    font-size: 38px;
    font-weight: 800;
    color: #32963F;
    margin: 0;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.sira-section__title::before {
    content: '';
    display: inline-block;
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    background-image: url('https://sira.bio/wp-content/uploads/2024/07/i-love-bio-ico.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sira-section__title::after {
    content: '';
    flex: 1;
    min-width: 24px;
    height: 3px;
    background: #e8c22b;
    margin-left: 4px;
    align-self: flex-end;
    margin-bottom: 6px;
}

.sira-section__link {
    font-size: 14px;
    font-weight: 600;
    color: #0b803c;
    text-decoration: none;
    white-space: nowrap;
}

.sira-section__link:hover {
    color: #3bb54a;
    text-decoration: underline;
}

/* Mobile: header prev/next arrows are redundant clutter once the sections
   below are either native-swipe (blog slider) or a plain 1-col stack
   (product grid) — drop them and let the title/link breathe. */
@media (max-width: 768px) {
    .sira-section__head {
        gap: 8px 16px;
    }

    .sira-products-nav,
    .sira-blog-nav {
        display: none;
    }

    .sira-section__title::before {
        width: 60px;
        height: 60px;
    }

    .sira-section__title::after {
        display: none;
    }
}

/* ==========================================================================
   Hero slider
   ========================================================================== */
/* aspect-ratio (not a fixed px height) so the crop stays predictable at
   every screen width: height always scales with width instead of a fixed
   height fighting a fluid width, which produced a different — and
   uncontrolled — crop ratio at every breakpoint.
   Upload guide: desktop image 21:9 (e.g. 1920x823px), mobile image 4:5
   portrait (e.g. 900x1125px) — set per-slide in Homepage settings. */
.sira-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

.sira-hero__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.sira-hero__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
    /* Whole photo is a link now (no visible text/button on top);
       reset default <a> styling since .sira-hero__slide can render as <a>. */
    text-decoration: none;
    color: inherit;
}

.sira-hero__slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* Desktop image shown by default; mobile image swaps in below 680px. */
.sira-hero__slide-bg--mobile {
    display: none;
}

.sira-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

/* Visually-hidden but present in the DOM: read by search engines and by
   screen readers (unlike display:none, which assistive tech skips too).
   Standard accessible pattern — used here so the hero eyebrow/title/
   subtitle still carry SEO/accessibility value without showing on top of
   the now fully-clickable photo. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sira-hero__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.sira-hero__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.sira-hero__dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

@media (max-width: 680px) {
    .sira-hero {
        aspect-ratio: 4 / 5;
    }

    .sira-hero__slide-bg--desktop {
        display: none;
    }

    .sira-hero__slide-bg--mobile {
        display: block;
    }

    .sira-hero__title {
        font-size: 30px;
    }

    .sira-hero__subtitle {
        display: none;
    }
}

/* ==========================================================================
   4 property cards + intro heading
   ========================================================================== */
.sira-properties {
    padding-top: 56px;
    padding-bottom: 64px;
}

.sira-properties__intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 44px;
}

.sira-properties__title {
    margin: 0 0 14px;
    font-size: 40px;
    font-weight: 700;
    color: #0b803c;
    line-height: 1.25;
}

.sira-properties__circle {
    position: relative;
    display: inline-block;
    padding: 0 6px;
}

.sira-properties__circle::after {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    top: -14%;
    bottom: -18%;
    border: 3px solid #e8c22b;
    border-radius: 50% / 50%;
    transform: rotate(-2deg);
    pointer-events: none;
}

.sira-properties__subtitle {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: #0b803c;
    line-height: 1.4;
}

.sira-properties__note {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0b803c;
}

.sira-properties__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.sira-property-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sira-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.sira-property-card__imglink {
    display: block;
}

.sira-property-card__img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.sira-property-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b803c, #3bb54a);
}

.sira-property-card__img--placeholder svg {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.6);
}

.sira-property-card__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 22px 30px;
    gap: 8px;
}

.sira-property-card__label {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.sira-property-card__desc {
    font-size: 14.5px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}

.sira-property-card__btn {
    margin-top: auto;
    display: inline-block;
    background: #3bb54a;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 8px;
    transition: background 0.15s;
}

.sira-property-card__btn:hover {
    background: #0b803c;
}

@media (max-width: 900px) {
    .sira-properties__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sira-properties__title {
        font-size: 30px;
    }

    .sira-properties__subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .sira-properties__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sira-properties__title {
        font-size: 26px;
    }

    .sira-properties__subtitle {
        font-size: 17px;
    }

    .sira-properties__note {
        font-size: 14px;
    }

    .sira-property-card__label {
        font-size: 24px;
    }

    .sira-property-card__desc {
        font-size: 15px;
    }

    .sira-property-card__btn {
        font-size: 15px;
        padding: 14px 28px;
    }

    .sira-property-card__img {
        height: 200px;
    }
}

/* ==========================================================================
   Product sections — layout: product slider + optional side banner
   ========================================================================== */
.sira-products-row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.sira-products-col {
    flex: 1;
    min-width: 0;
}

/* Banner laterale sticky: scorre con la griglia ma resta visibile */
.sira-products-banner-col {
    flex: 0 0 340px;
    position: sticky;
    top: 100px;
    /* sotto la admin bar / header */
    align-self: flex-start;
}

@media (max-width: 900px) {
    .sira-products-row {
        flex-direction: column;
    }

    .sira-products-banner-col {
        flex: 0 0 auto;
        width: 100%;
        position: static;
    }
}

/* Nav arrows next to the section title, controlling the product slider */
.sira-products-nav {
    display: flex;
    gap: 8px;
}

.sira-products-nav__btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sira-products-nav__btn svg {
    width: 16px;
    height: 16px;
}

.sira-products-nav__btn:hover {
    background: #0b803c;
    border-color: #0b803c;
    color: #fff;
}

/* ==========================================================================
   Product cards — restyle the standard WC card inside .sira-home,
   as a horizontal-scroll slider (single row).
   ========================================================================== */
.sira-home-products.woocommerce ul.products {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 4px 4px 12px;
}

.sira-home-products.woocommerce ul.products li.product {
    /* Reset Shoptimizer's flex/float width so our own sizing controls it */
    flex: 0 0 240px;
    scroll-snap-align: start;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
    float: none !important;
    clear: none !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sira-home-products.woocommerce ul.products li.product:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Shoptimizer uses a hover-reveal card mechanic: the header is pulled up with
   translateY(-40px) and the add-to-cart button is absolute/opacity:0 until
   hover. On the homepage we want a plain always-visible card, so:
   - kill the transform + min-height animation (no layout shift on hover),
   - reserve bottom padding for the absolute button,
   - pin the button full width (left/right 16px), always visible. */
.sira-home-products.woocommerce ul.products li.product .woocommerce-card__header {
    transform: none !important;
    min-height: 0 !important;
    position: relative;
    padding: 16px 16px 64px !important;
}

.sira-home-products.woocommerce ul.products li.product .added_to_cart,
.sira-home-products.woocommerce ul.products li.product .button {
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    width: auto !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
}

/* (properties 2-col handled above at 900px, 1-col at 768px) */

/* ----------------------------------------------------------------
   MOBILE: banner laterale nascosto, lista a 1 colonna con card
   verticali a piena larghezza (immagine grande sopra, testo sotto).
   ---------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Nasconde il banner laterale: la colonna prodotti prende tutta la larghezza */
    .sira-products-row.has-banner .sira-products-banner-col {
        display: none;
    }

    /* 1 sola colonna: annulla lo slider orizzontale */
    .sira-home-products.woocommerce ul.products {
        display: grid !important;
        grid-template-columns: 1fr !important;
        overflow-x: visible !important;
        scroll-snap-type: none !important;
        gap: 12px !important;
        padding: 4px 0 12px !important;
    }

    .sira-home-products.woocommerce ul.products li.product {
        flex: none !important;
        width: 100% !important;
        border-radius: 10px;
    }

    /* Immagine a piena larghezza card e centrata */
    .sira-home-products.woocommerce ul.products li.product .woocommerce-image__wrapper,
    .sira-home-products.woocommerce ul.products li.product .shoptimizer-plp-carousel-container,
    .sira-home-products.woocommerce ul.products li.product .shoptimizer-plp-image-wrapper,
    .sira-home-products.woocommerce ul.products li.product .woocommerce-image__wrapper>a {
        display: block;
        width: 100% !important;
        max-width: none !important;
    }

    .sira-home-products.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
    .sira-home-products.woocommerce ul.products li.product img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: 250px;
        object-fit: contain;
        object-position: center;
        margin: 0 auto;
    }

    /* Testo e CTA */
    .sira-home-products.woocommerce ul.products li.product .woocommerce-card__header {
        padding: 12px 14px 66px !important;
    }

    .sira-home-products.woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    .sira-home-products.woocommerce ul.products li.product .price {
        font-size: 16px !important;
        font-weight: 600;
    }

    .sira-home-products.woocommerce ul.products li.product .added_to_cart,
    .sira-home-products.woocommerce ul.products li.product .button {
        left: 14px !important;
        right: 14px !important;
        bottom: 14px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 14px !important;
    }
}

/* ≤480px: 1 colonna, immagine leggermente più bassa */
@media (max-width: 480px) {
    .sira-home-products.woocommerce ul.products {
        gap: 10px !important;
    }

    .sira-home-products.woocommerce ul.products li.product img,
    .sira-home-products.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
        height: 220px;
    }

    .sira-section__title {
        font-size: 22px;
        white-space: normal;
    }

    .sira-section__title::before {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   Side banner (Ultimi arrivi / In offerta / Nostra selezione)
   ========================================================================== */
.sira-side-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #f0f0f0;
}

.sira-side-banner__slide {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.sira-side-banner__slide.is-active {
    opacity: 1;
}

.sira-side-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
}

.sira-side-banner__text {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
}

.sira-side-banner__title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.sira-side-banner__subtitle {
    font-size: 14.5px;
    font-weight: 500;
    opacity: 0.92;
    line-height: 1.4;
}

.sira-side-banner__nav {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: flex;
    gap: 6px;
}

.sira-side-banner__btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}

.sira-side-banner__btn svg {
    width: 14px;
    height: 14px;
}

.sira-side-banner__btn:hover {
    background: #fff;
}

/* ==========================================================================
   Advantages block — dark trust bar
   ========================================================================== */
.sira-advantages {
    background: #F8F8F8;
    border: none;
    padding: 48px 0;
}

.sira-advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.sira-advantage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    position: relative;
}

/* Subtle vertical divider between items */
.sira-advantage+.sira-advantage::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.sira-advantage:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.sira-advantage__icon {
    margin: auto;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    background: rgba(59, 181, 74, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sira-advantage__icon svg {
    width: 26px;
    height: 26px;
    color: #3bb54a;
}

.sira-advantage__title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 6px;
}

.sira-advantage__text {
    font-size: 16px;
    color: #222;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .sira-advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hide vertical dividers on the first item of each row */
    .sira-advantage:nth-child(3)::before {
        display: none;
    }
}

/* ==========================================================================
   Newsletter signup — full-width green banner with a subtle leaf pattern.
   ========================================================================== */
.sira-newsletter {
    position: relative;
    width: 100%;
    background-color: #3a9d6e;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='2'%3E%3Cpath d='M20 180 C20 120, 60 80, 110 70 C90 110, 70 150, 20 180 Z'/%3E%3Cpath d='M120 40 C160 40, 190 70, 195 110 C160 95, 130 75, 120 40 Z'/%3E%3Cpath d='M50 30 C80 20, 110 35, 120 65 C90 65, 65 55, 50 30 Z'/%3E%3Cpath d='M160 150 C190 160, 205 190, 200 215 C175 200, 160 180, 160 150 Z'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #12a06e 0%, #0b803c 60%, #0a6f34 100%);
    background-repeat: repeat, no-repeat;
    background-size: 220px 220px, cover;
    padding: 56px 24px;
    text-align: center;
}

.sira-newsletter__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.sira-newsletter__title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
}

.sira-newsletter__subtitle {
    margin: 0 0 28px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
}

.sira-newsletter__highlight {
    color: #f5c518;
    font-weight: 800;
}

.sira-newsletter__form {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
    flex-wrap: wrap;
    border-radius: 8px;
    overflow: hidden;
}

.sira-newsletter__input {
    flex: 1;
    min-width: 180px;
    /* !important: input[type="text"] etc. in the parent theme's forms.css
       has specificity (0,1,1) — attribute selector counts as a class —
       which beats this single class (0,1,0) and was silently overriding
       padding/height/border on every input. */
    padding: 15px 18px !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 15px;
    background: #fff;
    color: #333;
}

.sira-newsletter__input:not(:last-of-type) {
    border-right: 1px solid #eee;
}

.sira-newsletter__input::placeholder {
    color: #999;
}

.sira-newsletter__input:focus {
    outline: 2px solid #0b803c;
    outline-offset: -2px;
}

.sira-newsletter__btn {
    background: #0a6f34;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.sira-newsletter__btn:hover {
    background: #085c2b;
}

.sira-newsletter__btn:disabled {
    opacity: 0.7;
    cursor: default;
}

.sira-newsletter__consent {
    margin: 18px 0 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.8);
}

.sira-newsletter__consent a {
    color: #fff;
    text-decoration: underline;
}

.sira-newsletter__msg {
    margin: 14px 0 0;
    font-size: 13.5px;
    min-height: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.sira-newsletter__msg.is-success {
    color: #baf3c9;
    font-weight: 600;
}

.sira-newsletter__msg.is-error {
    color: #ffd3d3;
    font-weight: 600;
}

@media (max-width: 700px) {
    .sira-newsletter__form {
        flex-direction: column;
        box-shadow: none;
        border-radius: 0;
    }

    .sira-newsletter__input {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .sira-newsletter__input:not(:last-of-type) {
        border-right: none;
    }

    .sira-newsletter__btn {
        border-radius: 8px;
    }
}

.sira-newsletter__msg.is-error {
    color: #ffd3d3;
    font-weight: 600;
}

@media (max-width: 560px) {
    .sira-newsletter {
        padding: 32px 24px;
    }

    .sira-newsletter__form {
        flex-direction: column;
    }
}

/* ==========================================================================
   Blog nav arrows (same pattern as Trustpilot slider)
   ========================================================================== */
.sira-blog-nav {
    display: flex;
    gap: 8px;
}

.sira-blog-nav__btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sira-blog-nav__btn svg {
    width: 16px;
    height: 16px;
}

.sira-blog-nav__btn:hover {
    background: #0b803c;
    border-color: #0b803c;
    color: #fff;
}

/* ==========================================================================
   Blog slider — horizontal scroll, one row, several cards visible
   ========================================================================== */
.sira-blog-slider {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    margin: 0 -4px;
    padding: 4px;
}

.sira-blog-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 270px;
    gap: 24px;
}

.sira-blog-card {
    scroll-snap-align: start;
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sira-blog-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.sira-blog-card__img {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.sira-blog-card__body {
    padding: 16px;
}

.sira-blog-card__date {
    font-size: 11.5px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sira-blog-card__title {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

@media (max-width: 560px) {
    .sira-blog-grid {
        grid-auto-columns: 220px;
    }
}