/**
 * WHITE — Reusable components
 */

 /* Indicatore menu attivo */
 white-main-menu .elementor-item::after {
    height: 1px !important;
    bottom: 10px !important;
}
.title-fashion span{
    color: transparent;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
    -webkit-text-stroke: 1.5px #111;
}
.mt-14 {
    margin-top: 3.5rem;
}
.hero-in-3 {
    animation-delay: .36s;
}
.hero-in {
    animation: heroFade 1.1s cubic-bezier(.16, 1, .3, 1) both;
}
.tracking-widest2 {
    letter-spacing: 0.35em;
}
.uppercase {
    text-transform: uppercase;
}
.font-semibold {
    font-weight: 600;
}
.text-\[12px\] {
    font-size: 12px;
}
.text-\[11px\] {
    font-size: 11px;
}
.font-medium {
    font-weight: 500;
}
.tracking-mega {
    letter-spacing: 0.5em;
}
.inline-flex {
    display: inline-flex;
}
.overflow-hidden {
    overflow: hidden;
}
.whitespace-nowrap {
    white-space: nowrap;
}
.select-none {
    user-select: none;
}
.gap-16 {
    gap: 4rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.border-y {
    border-top-width: 1px;
    border-top-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
.border-ink\/10 {
    border-color: rgba(17, 17, 17, .1);
}
.text-ink\/60 {
    color: rgba(17, 17, 17, .6);
}
.w-full {
    width: 100%;
}
.h-\[55vh\] {
    height: 55vh;
}
@media (min-width: 768px) {
    .md\:h-\[70vh\] {
        height: 70vh;
    }
}
.grayscale,
.contrast-125 {
    filter: var(--tw-grayscale, ) var(--tw-contrast, );
}
.grayscale {
    --tw-grayscale: grayscale(100%);
}
.contrast-125 {
    --tw-contrast: contrast(1.25);
}
a:hover{text-decoration: none !important;}

.line-cta { position: relative; display: inline-flex; align-items: center; gap: .75rem; color: #111;}
.line-cta::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: currentColor; transform-origin: left; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.line-cta:hover::after { transform: scaleX(.35); }
.line-cta:hover{ text-decoration: none!important; }
.line-cta::before {
    content: '';
    order: 1;
    flex-shrink: 0;
    width: 34px;
    height: 10px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='10' viewBox='0 0 34 10'%3E%3Cpath d='M0 5h32M28 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='10' viewBox='0 0 34 10'%3E%3Cpath d='M0 5h32M28 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.line-cta:hover::before { transform: translateX(8px); }

audio, canvas, embed, iframe, img, object, svg, video {
    display: block;
    vertical-align: middle;
}

/* ANIMAZIONI HERO */
@keyframes heroFade {
    0% {
        opacity: 0;
        transform: translateY(36px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================
   MAGAZINE HOME - LOOP GRID (Griglia asimmetrica)
   ================================================== */

/* Griglia a 12 colonne da tablet in su
   (il target è .elementor-grid, il vero container CSS grid: .magHome sta
   sul widget wrapper e Elementor imposta lì solo --grid-columns) */
@media (min-width: 768px) {

    .magHome .elementor-grid {
        grid-template-columns: repeat(12, 1fr) !important;
    }

    /* nth-of-type e non nth-child: Elementor inietta un tag <style> come
       primo figlio del container, prima delle card */

    /* Card grande */
    .magHome .e-loop-item:nth-of-type(1) {
        grid-column: span 7;
    }

    /* Colonna destra, sfalsata */
    .magHome .e-loop-item:nth-of-type(2) {
        grid-column: span 5;
    }

    /* Riga inferiore */
    .magHome .e-loop-item:nth-of-type(3),
    .magHome .e-loop-item:nth-of-type(4),
    .magHome .e-loop-item:nth-of-type(5) {
        grid-column: span 4;
    }

}

/* Sfalsatura verticale ed effetto hover solo da desktop */
@media (min-width: 1025px) {

    .magHome .e-loop-item {
        transition: transform .35s ease;
    }

    .magHome .e-loop-item:hover {
        transform: translateY(-4px);
    }

    /* Colonna destra, sfalsata verso il basso */
    .magHome .e-loop-item:nth-of-type(2) {
        margin-top: 6rem;
    }

    /* Riga inferiore, sfalsata verso l'alto */
    .magHome .e-loop-item:nth-of-type(3) {
        margin-top: -2.5rem;
    }

}

/* Mobile */
@media (max-width:767px){

    .magHome .e-loop-item{
        grid-column: auto !important;
        grid-row: auto !important;
        margin-top: 0 !important;
    }

}

/* ==================================================
   TICKER / MARQUEE
   ================================================== */

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-track {
    animation: marquee 28s linear infinite;
}

.marquee-track-2 {
    animation: marquee 80s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track, .marquee-track-2 {
        animation: none;
    }
}