/*
Theme Name: DT The7 Child
Theme URI: http://example.com/
Description: Child theme per dt-the7
Author: Il tuo nome
Author URI: http://example.com/
Template: dt-the7
Version: 1.0.0
*/
/* NASCONDI TITOLO E BREADCRUMB DI THE7 NELLE PAGINE DEL FORM (postid-598) */
body.postid-598 .page-title,
body.postid-598 .breadcrumbs,
body.postid-598 .wf-container.title-decoration,
body.postid-598 #page-title,
body.postid-598 .page-title-head,
body.postid-598 .title-box,
body.postid-598 .dt-page-title,
body.postid-598 .title-section {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    border: 0 !important;
}

/* Nascondi titolo e breadcrumb nelle pagine create dal form (postid-598) */
body.postid-598 .page-title-head,
body.postid-598 .page-title-breadcrumbs {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
/* ── Overlay strumenti noleggiati nel catalogo ──────────── */
article.strumento-noleggiato {
    position: relative;
}

.noleggio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 4px;
}

.noleggio-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    text-align: center;
}

.noleggio-lucchetto {
    font-size: 36px;
    line-height: 1;
}

.noleggio-stato {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noleggio-date {
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 500;
}

.artista-galleria-griglia {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
}

.artista-galleria-item {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
}

.artista-galleria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.artista-galleria-item:hover img {
    transform: scale(1.05);
}

.artista-galleria-item:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Su schermi piccoli, 2 colonne invece di adattamento libero */
@media (max-width: 600px) {
    .artista-galleria-griglia {
        grid-template-columns: repeat(2, 1fr);
    }
}