/* La domenica in Fattoria — solo nuova pagina */

body.fc-free-visit-body .fattoria-site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 9999;
    width: 100%;
    background: transparent;
}

@media(max-width:768px) {
    body.fc-free-visit-body .fattoria-mobile-header {
        background: transparent;
        border-bottom-color: transparent;
    }
}

.fc-free-visit-page .fc-hero {
    min-height: 760px;
}

.fc-free-eyebrow {
    display: inline-block;
    padding: 9px 13px;
    margin-bottom: 18px;
    background: #bff1d5;
    border: 2px solid #171717;
    border-radius: 9px;
    color: #171717;
    font-weight: 800;
}

.fc-free-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 23px;
}

.fc-free-facts span {
    padding: 12px 17px;
    background: #ffda45;
    color: #171717;
    border: 2px solid #171717;
    border-radius: 10px;
    font-weight: 750;
}

.fc-free-facts span + span {
    background: #bff1d5;
}

.fc-free-button,
.fc-free-content .fc-free-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    background: #ffda45;
    color: #171717;
    border: 3px solid #171717;
    border-radius: 12px;
    box-shadow: 4px 4px #171717;
    text-decoration: none;
    font-weight: 800;
}

.fc-free-button:hover,
.fc-free-content .fc-free-action:hover {
    transform: translate(2px,2px);
    box-shadow: 2px 2px #171717;
}

.fc-free-content {
    background: #fffdf7;
    color: #171717;
}

.fc-free-section {
    padding: clamp(55px,7vw,95px) 24px;
}

.fc-free-wrap {
    width: min(1160px,100%);
    margin: auto;
}

.fc-free-section h2 {
    font-size: clamp(34px,4vw,54px);
    line-height: 1.1;
    margin: 0 0 22px;
    color: #171717;
}

.fc-free-lead {
    max-width: 730px;
    margin-bottom: 34px;
    font-size: 18px;
    line-height: 1.6;
}

.fc-free-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 20px;
}

.fc-free-animal {
    margin: 0;
    background: #dcebc3;
    border: 3px solid #171717;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 6px 6px #171717;
}

.fc-free-animal:nth-child(2){background:#f5d9e2}
.fc-free-animal:nth-child(3){background:#e3def8}
.fc-free-animal:nth-child(4){background:#ffe08a}

.fc-free-animal img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.fc-free-animal figcaption {
    padding: 17px 14px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.fc-free-section--lavender {
    background: #e5ddf5;
}

.fc-free-info {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

.fc-free-info article {
    background: #fffdf7;
    padding: 25px;
    border: 3px solid #171717;
    border-radius: 16px;
    box-shadow: 5px 5px #171717;
}

.fc-free-info h3 {
    color: #171717;
    margin: 0 0 12px;
}

.fc-free-info p {
    margin: 0;
    line-height: 1.6;
}

.fc-free-section--yellow {
    background: #ffda45;
}

.fc-free-section--yellow .fc-free-action {
    background: #fffdf7;
}

.fc-free-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
}

@media(max-width:850px) {
    .fc-free-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .fc-free-info {
        grid-template-columns: 1fr;
    }
}

@media(max-width:767px) {
    .fc-free-visit-page .fc-hero {
        min-height: 650px;
    }
    .fc-free-section {
        padding: 52px 20px;
    }
    .fc-free-grid {
        gap: 14px;
    }
    .fc-free-animal figcaption {
        font-size: 16px;
        padding: 13px 11px;
    }
    .fc-free-facts {
        gap: 8px;
    }
    .fc-free-facts span {
        font-size: 13px;
        padding: 10px;
    }
}


/* Backend nativo: pagina Domenica */
body.page-id-5760 .fattoria-site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 9999;
    background: transparent;
}
@media(max-width:768px) {
    body.page-id-5760 .fattoria-mobile-header {
        background: transparent;
        border-bottom-color: transparent;
    }
}
.fc-free-visit-page .fc-free-gallery-section {
    padding-top: 10px;
}


/* FATTORIA 5760 - AVVISO APERTURE */

.fc-free-visit-page .fc-free-notice-section {
    background: #fffdf7;
    padding: 35px 24px 15px;
}

.fc-free-visit-page .fc-free-notice {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: clamp(22px,4vw,38px);
    background: #ffe08a;
    border: 3px solid #171717;
    border-radius: 20px;
    box-shadow: 7px 7px 0 #171717;
    color: #171717;
}

.fc-free-visit-page .fc-free-notice-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: #171717;
    color: #fff;
    border-radius: 50%;
    font-size: 32px;
    font-weight: 900;
}

.fc-free-visit-page .fc-free-notice-period {
    display: inline-block;
    padding: 7px 12px;
    margin-bottom: 12px;
    background: #fffdf7;
    border: 2px solid #171717;
    border-radius: 8px;
    font-weight: 800;
}

.fc-free-visit-page .fc-free-notice h2 {
    margin: 0 0 12px;
    color: #171717;
    font-size: clamp(28px,4vw,42px);
    line-height: 1.15;
}

.fc-free-visit-page .fc-free-notice-text {
    font-size: 17px;
    line-height: 1.65;
}

.fc-free-visit-page .fc-free-notice-button {
    display: inline-flex;
    margin-top: 18px;
    padding: 12px 20px;
    background: #fffdf7;
    border: 2px solid #171717;
    border-radius: 9px;
    box-shadow: 3px 3px #171717;
    color: #171717;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 600px) {
    .fc-free-visit-page .fc-free-notice {
        gap: 14px;
        padding: 20px;
        flex-direction: column;
    }

    .fc-free-visit-page .fc-free-notice-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 26px;
    }
}
