/* =========================================================
   Relifi Oral Care Support Hover V1
   New clean plugin — unique .roch-* namespace.
========================================================= */

.roch-section{
    --roch-green:#006f3f;
    --roch-hover-green:#078b49;
    --roch-hover-lift:1px;
    --roch-side-pad:24px;

    width:100%;
    max-width:100%;
    margin:0;
    padding:22px var(--roch-side-pad) 24px;
    background:#fff;
    color:#102018;
    font-family:Arial, Helvetica, sans-serif;
}

.roch-section *{
    box-sizing:border-box;
}

.roch-full-viewport{
    position:relative;
    left:50%;
    width:100vw;
    max-width:none;
    margin-left:-50vw;
    margin-right:0;
}

.roch-inner{
    width:100%;
    max-width:none;
    margin:0 auto;
}

.roch-eyebrow{
    margin:0 0 8px;
    color:#00864b;
    font-size:10px;
    line-height:1;
    font-weight:700;
    letter-spacing:1.8px;
    text-align:center;
    text-transform:uppercase;
}

.roch-heading{
    max-width:900px;
    margin:0 auto 10px;
    padding:0;
    color:#075b35;
    font-size:28px;
    line-height:1.05;
    font-weight:700;
    letter-spacing:-.7px;
    text-align:center;
}

.roch-subtitle{
    max-width:650px;
    margin:0 auto 20px;
    color:#68756f;
    font-size:13px;
    line-height:1.35;
    font-weight:400;
    text-align:center;
}

.roch-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
}

.roch-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #d5dfd9;
    border-radius:10px;
    background:#fff;
    outline:none;
    transform:translate3d(0,0,0);
    transition:
        transform .18s cubic-bezier(.22,.61,.36,1),
        border-color .18s ease,
        box-shadow .18s ease;
    will-change:transform,border-color,box-shadow;
}

.roch-card-image{
    width:100%;
    aspect-ratio:1 / 1.08;
    overflow:hidden;
    background:#f7f9f7;
}

.roch-card-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    transform:none!important;
}

.roch-card-title{
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:8px 6px;
    color:#075b35;
    font-size:12px;
    line-height:1.08;
    font-weight:700;
    text-align:center;
}

/* =========================================================
   REFERENCE VIDEO HOVER
   The video shows the active card getting a clean green edge.
   No image zoom; no layout jump.
========================================================= */
.roch-card:hover,
.roch-card:focus-visible,
.roch-card.is-roch-hover,
.roch-card.is-roch-touch{
    transform:translate3d(0,calc(var(--roch-hover-lift) * -1),0);
    border-color:var(--roch-hover-green);
    box-shadow:
        0 4px 10px rgba(4,100,52,.08),
        0 0 0 1px rgba(7,139,73,.08);
    z-index:5;
}

.roch-card:hover .roch-card-image img,
.roch-card:focus-visible .roch-card-image img,
.roch-card.is-roch-hover .roch-card-image img,
.roch-card.is-roch-touch .roch-card-image img{
    transform:none!important;
}

/* Tablet */
@media (max-width:1024px){
    .roch-section{
        --roch-side-pad:14px;
    }

    .roch-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:10px;
    }

    .roch-heading{
        font-size:25px;
    }
}

/* Mobile — matches supplied 3 × 2 reference screenshot */
@media (max-width:767px){
    .roch-section{
        --roch-side-pad:6px;

        width:100vw;
        max-width:none;
        padding-top:7px;
        padding-bottom:12px;
    }

    .roch-full-viewport{
        left:50%;
        margin-left:-50vw;
    }

    .roch-eyebrow{
        margin-bottom:8px;
        font-size:10px;
        letter-spacing:1.7px;
    }

    .roch-heading{
        max-width:340px;
        margin-bottom:11px;
        font-size:24px;
        line-height:1.08;
        letter-spacing:-.4px;
    }

    .roch-subtitle{
        max-width:330px;
        margin-bottom:18px;
        font-size:12px;
        line-height:1.35;
    }

    .roch-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:10px;
    }

    .roch-card{
        border-radius:10px;
    }

    .roch-card-image{
        aspect-ratio:1 / 1;
    }

    .roch-card-title{
        min-height:53px;
        padding:7px 4px;
        font-size:12px;
        line-height:1.08;
    }
}

@media (max-width:380px){
    .roch-section{
        --roch-side-pad:6px;
    }

    .roch-heading{
        font-size:23px;
    }

    .roch-grid{
        gap:9px;
    }

    .roch-card-title{
        font-size:11.5px;
    }
}

/* Full-width breakout safety */
html,
body{
    overflow-x:hidden;
}
