/* ============================================================
   PRENOTAZIONE SPAZI
   CSS pulito e consolidato
   ============================================================ */

/* ============================================================
   VARIABLES
   ============================================================ */

:root {
    --ps-home-green: #34823a;
    --ps-home-green-dark: #305631;
    --ps-home-text: #111111;
    --ps-home-muted: #4f4f4f;
    --ps-home-light: #f4f8f2;
}

/* ============================================================
   GENERALE
   ============================================================ */

.prenotazione-spazi-page {
    padding-bottom: 45px;
}

.ancora_pagina {
    position: relative;
    top: -140px;
    left: 0;
}

.ps-section {
    margin-bottom: 50px;
}

.ps-section-block {
    margin-bottom: 40px;
}

.ps-section-title {
    display: inline-block;
    margin: 0 0 20px;
    padding-bottom: 8px;
    position: relative;
    color: #17324d;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.ps-section-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 8px;
    background: #2f6f3e;
}

.servizio-descrizione p {
    margin-bottom: 18px;
    color: #334155;
    font-size: 1.125rem;
    line-height: 1.8;
}

.servizio-descrizione ul {
    margin: 0 0 24px;
    padding-left: 22px;
}

.servizio-descrizione li {
    margin-bottom: 10px;
    color: #334155;
    font-size: 1.125rem;
    line-height: 1.8;
}

.ps-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ps-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.ps-card img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.ps-card-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 240px);
    padding: 24px;
}

.ps-card-body h3 {
    margin-bottom: 16px;
    color: #17324d;
    font-size: 1.75rem;
    line-height: 1.2;
}

.ps-card-body p {
    margin-bottom: 24px;
    color: #475569;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.ps-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    background: #2f6f3e;
    border-radius: 4px;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease;
}

.ps-btn:hover {
    background: #255a31;
    color: #fff !important;
    text-decoration: none;
}

.ps-descrizione-tipologia p,
.ps-descrizione-struttura p {
    color: #334155;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.ps-descrizione-tipologia ul,
.ps-descrizione-struttura ul {
    padding-left: 22px;
    color: #334155;
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* ============================================================
   DETTAGLIO STRUTTURA - ELEMENTI GENERALI
   ============================================================ */

.ps-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    margin-bottom: 40px;
    align-items: start;
}

.ps-detail-photo img {
    width: 100%;
    height: 280px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

.ps-detail-title {
    margin-bottom: 18px;
    color: #17324d;
    font-size: 2rem;
    font-weight: 700;
}

.ps-detail-meta {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ps-detail-meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 1.05rem;
}

.ps-attivita-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ps-attivita-list li {
    padding: 8px 16px;
    background: #eef6ee;
    border-radius: 4px;
    color: #255a31;
    font-size: .95rem;
    font-weight: 600;
}

.ps-detail-cta {
    margin-top: 30px;
    text-align: center;
}

.ps-btn-prenota {
    min-width: 230px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 40px;
    background: #16803a;
    background-color: #16803a !important;
    border: 1px solid #16803a;
    border-radius: 14px!important;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 700;
}

.ps-btn-prenota:hover {
    background: #255a31;
    border-color: #255a31;
}

.ps-btn-prenota-icon {
    font-size: 1rem;
    line-height: 1;
}

.ps-btn-prenota-label-mobile {
    display: none;
}

.ps-btn-prenota-top {
    min-width: 220px;
}

.ps-btn-indietro{
    border-radius: 14px!important;
}
.ps-comune-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 6px 14px;
    background: #eef6ee;
    border-radius: 4px;
    color: #255a31;
    font-size: .9rem;
    font-weight: 600;
}

/* ============================================================
   DETTAGLIO STRUTTURA - LAYOUT
   ============================================================ */

.ps-struttura-dettaglio {
    color: #17324d;
}

.ps-struttura-dettaglio .card {
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    box-shadow: none!important;
        border: 1px solid #e4e6eb!important;
    /* box-shadow: 0 3px 6px #00000029 !important; */
}

.ps-detail-hero-card {
    background: linear-gradient(180deg, #fbfdfb 0%, #fff 100%);
}

.ps-detail-header {
    margin-bottom: 30px;
}

.ps-section-title-main {
    margin-bottom: 0;
    color: #17324d;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

.ps-hero-description,
.ps-section-content {
    color: #4b5d70;
    font-size: 1rem;
    line-height: 1.75;
}

.ps-hero-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

/* Con più immagini la descrizione può occupare
   lo spazio della galleria + miniature */
.ps-hero-description-multiple-gallery {
    -webkit-line-clamp: 11;
}

.ps-read-more-btn {
    display: none;
    margin-top: 6px;
    padding: 0;
    background: none;
    border: 0;
    color: #2f6f3e;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
}

.ps-read-more-btn.ps-visible {
    display: inline-block;
}

.ps-read-more-btn:hover {
    text-decoration: underline;
}

.ps-detail-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.ps-info-card {
    height: 100%;
    padding: 1rem 1rem 1.1rem;
    background: #fcfdfd;
    border: 1px solid #e7edf3;
    border-radius: 4px;
}

.ps-mini-title {
    display: inline-block;
    margin-bottom: 1rem;
    color: #17324d;
    font-size: 20px;
    font-weight: 700;
}

/* .ps-mini-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 8px;
    background: #2f6f3e;
} */

.ps-detail-list-clean {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ps-detail-list-clean li {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #334155;
    line-height: 1.5;
}

.ps-detail-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.ps-detail-list-clean a {
    color: #17324d;
    font-weight: 500;
    text-decoration: none;
}

.ps-detail-list-clean a:hover {
    color: #2f6f3e;
    text-decoration: underline;
}

.ps-detail-main-row {
    align-items: stretch;
}

.ps-detail-copy {
    gap: 1.25rem;
    height: 100%;
}

.ps-detail-copy>.ps-section-content,
.ps-detail-copy>.ps-hero-description {
    margin-bottom: 0;
}

.ps-detail-copy .row.g-3 {
    margin-top: auto;
}

.ps-detail-subsection+.ps-detail-subsection {
    padding-top: 1rem;
    border-top: 1px solid #e8edf2;
}

.ps-detail-subtitle {
    margin-bottom: .85rem;
    color: #17324d;
    font-size: 20px;
    font-weight: 700;
}

.ps-detail-subtitle+.ps-attivita-badges {
    margin-top: .25rem;
}

.ps-attivita-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ps-attivita-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    background: #eef5ef;
    border: 1px solid #dcebdd;
    border-radius: 999px;
    color: #2f6f3e;
    font-size: 15px;
    font-weight: 600;
}

.ps-referente-item {
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.ps-referenti-more summary.ps-mostra-referenti {
    cursor: pointer;
    list-style: none;
}

.ps-referenti-more summary.ps-mostra-referenti::-webkit-details-marker {
    display: none;
}

.ps-referenti-more .ps-label-aperto {
    display: none;
}

.ps-referenti-more[open] .ps-label-chiuso {
    display: none;
}

.ps-referenti-more[open] .ps-label-aperto {
    display: inline;
}

/* ============================================================
   GALLERY
   ============================================================ */

.ps-gallery-wrapper {
    width: 100%;
}

.ps-gallery-empty {
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: #f8faf8;
    border: 1px dashed #dbe5dd;
    border-radius: 14px;
    color: #6b7c8e;
    text-align: center;
}

.ps-swiper-struttura {
    width: 100%;
    margin: auto;
}

.ps-swiper-struttura .swiper-slide {
    display: flex;
    justify-content: center;
}

.ps-swiper-struttura .swiper-slide img {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    object-fit: cover;
}

.ps-struttura-gallery-main {
    width: 100%;
    overflow: hidden;
    background: #f3f5f7;
    border-radius: 4px;
}

.ps-gallery-main-image {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.ps-struttura-gallery-main .swiper-wrapper,
.ps-struttura-gallery-main .swiper-slide {
    height: 300px;
}

.ps-struttura-gallery-main .swiper-button-prev,
.ps-struttura-gallery-main .swiper-button-next {
    color: #fff;
}

.ps-struttura-gallery-main .swiper-slide img {
    height: 100%;
    object-fit: cover;
}

.ps-struttura-gallery-thumbs .swiper-slide {
    height: 78px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    opacity: .45;
    transition: opacity .2s ease, transform .2s ease;
}

.ps-struttura-gallery-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-struttura-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 0 0 2px #2f6f3e inset;
}

.ps-gallery-image {
    width: 100%;
    max-width: 900px;
    height: 450px;
    border-radius: 8px;
    object-fit: cover;
}

.ps-gallery-image:hover {
    opacity: .9;
}

.ps-gallery-header {
    display: flex;
    flex-direction: column;
}

.ps-gallery-counter {
    margin-top: 2px;
    color: #6c757d;
    font-size: .9rem;
}

.ps-swiper-gallery-modal {
    width: 100%;
    height: 100%;
    min-height: 60vh;
}

.ps-swiper-gallery-modal .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-swiper-gallery-modal .swiper-wrapper {
    margin-bottom: 45px;
}

.ps-gallery-trigger,
.ps-gallery-single {
    cursor: pointer;
}

.ps-gallery-modal-image {
    width: 100%;
    height: 100%;
    min-height: 60vh;
    object-fit: contain;
}

#psGalleryModal .modal-header {
    border: 0;
}

/* ============================================================
   TARIFFE / CONTATTI / AZIONI DETTAGLIO
   ============================================================ */

.ps-tariffe-table {
    color: #334155;
    font-size: .98rem;
}

.ps-tariffe-table thead th {
    padding-top: 14px;
    padding-bottom: 14px;
    background: #fbfcfd;
    border-bottom: 1px solid #dbe4ec;
    color: #17324d;
    font-weight: 700;
    font-size:20px;
}

.ps-tariffe-table tbody td {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8edf2;
    vertical-align: middle;
       font-size:16px;
}

.ps-tariffe-table th.text-end,
.ps-tariffe-table td.text-end {
    text-align: right;
}

.ps-topbar {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8edf2;
}

.ps-top-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.ps-quick-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.ps-quick-contact {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fbf8;
    border: 1px solid #dce7dd;
    border-radius: 14px;
    color: #17324d;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
}

.ps-quick-contact:hover {
    background: #f1f7f2;
    border-color: #bcd2bf;
    color: #2f6f3e;
    text-decoration: none;
}

.ps-detail-bottom-cta {
    display: flex;
    justify-content: center;
}

.ps-detail-bottom-cta .d-flex {
    gap: 12px;
}

/* ============================================================
   MAPPA
   ============================================================ */

[id^="map-struttura-"] {
    z-index: 8;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 14px;
}

/* ============================================================
   HOME PAGE - HERO
   ============================================================ */

.ps-home-hero {
    position: relative;
    min-height: 450px;
    margin-bottom: 0;
    overflow: hidden;
    /* background: radial-gradient(circle at 6% 58%, rgba(49, 155, 0, .09) 0, rgba(49, 155, 0, 0) 25%),
        radial-gradient(circle at 96% 12%, rgba(49, 155, 0, .08) 0, rgba(49, 155, 0, 0) 23%),
        linear-gradient(90deg, #f2f7f1 0%, #fff 55%, #fff 100%); */
    background-image: url(../vendor/media/bg-prenotazione-spazi-home.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ps-home-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 24px;
    padding-bottom: 46px;
}

/* .ps-home-breadcrumb,
.ps-home-breadcrumb *,
.ps-home-breadcrumb a,
.ps-home-breadcrumb .breadcrumb-item,
.ps-home-breadcrumb .breadcrumb-item a {
    color: #248100 !important;
} */

.ps-home-breadcrumb {
    margin-bottom: 18px;
    font-size: .78rem;
}

.ps-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 45px;
    align-items: center;
}

.ps-home-hero-copy {
    min-width: 0;
}

.ps-home-hero-title {
    margin: 0 0 8px;
    color: var(--ps-home-text);
    font-size: clamp(2.25rem, 4vw, 3.35rem);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.ps-home-hero-subtitle {
    max-width: 570px;
    margin: 0;
    color: #333;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 500;
}

.ps-home-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 600px;
    gap: 18px;
    margin-top: 24px;
}

.ps-home-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    font-size: 14px;
    line-height: 1.3;
}

.ps-home-feature-icon {
    grid-row: 1 / span 2;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: flex-start;
}

.ps-home-feature-icon svg {
    display: block;
    width: 50px;
    height: 50px;
}

.ps-home-feature strong {
    display: block;
    margin-bottom: 2px;
    color: #111;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
}

.ps-home-feature>span:last-child {
    display: block;
    text-align: center;
}

.ps-home-hero-brand {
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.ps-home-hero-logo {
    display: block;
    width: min(100%, 300px);
    max-height: 185px;
    height: auto;
    object-fit: contain;
}

.ps-home-hero-decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: .55;
}

.ps-home-hero-decoration-left {
    width: 280px;
    height: 190px;
    left: -90px;
    bottom: 25px;
    background: radial-gradient(ellipse at center, rgba(80, 150, 50, .12) 0%, rgba(80, 150, 50, 0) 70%);
    border-radius: 50%;
    transform: rotate(-20deg);
}

.ps-home-hero-decoration-right {
    width: 250px;
    height: 180px;
    top: -55px;
    right: -70px;
    background: radial-gradient(ellipse at center, rgba(80, 150, 50, .13) 0%, rgba(80, 150, 50, 0) 70%);
    border-radius: 50%;
    transform: rotate(18deg);
}

/* ============================================================
   HOME PAGE - INTRO / PASSAGGI
   ============================================================ */

.ps-intro-section {
    padding: 44px 0;
}

.ps-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
    gap: 65px;
}

.ps-intro-copy {
    min-width: 0;
}

.ps-intro-title {
    margin: 0 0 20px;
    color: var(--ps-home-green);
    font-size: 35px;
    font-weight: 750;
    line-height: 1.15;
}

.ps-info-item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 4px;
    margin-bottom: 15px;
}

.ps-info-item:last-child {
    margin-bottom: 0;
}

.ps-info-arrow {
    display: block;
    margin-top: -14px;
    color: var(--ps-home-green);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

.ps-info-item h3 {
    margin: 0 0 3px;
    color: var(--ps-home-green);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.ps-info-item p {
    margin: 0 0 7px;
    color: #555;
    font-size: 16px;
    line-height: 1.45;
}

.ps-info-item p:last-child {
    margin-bottom: 0;
}

.ps-info-item strong {
    color: #222;
    font-weight: 750;
}

.ps-steps-box {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-evenly;
    overflow: hidden;
    padding: 28px;
    background-color: #349808;
    background-image: url(../vendor/media/layer-regione-step-box.png);
    background-size: cover;
    border-radius: 31px;
    box-shadow: 0 12px 25px rgba(39, 100, 20, .08);
}

.ps-step {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin-bottom: 11px;
    color: #fff;
}

.ps-step:last-child {
    margin-bottom: 0;
}

.ps-step-number {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.ps-step p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
}

.ps-step p strong {
    font-size: 20px;
    font-weight: 800;
}

/* ============================================================
   HOME PAGE - CATEGORIE
   ============================================================ */

.ps-spazi-section {
    margin-bottom: 15px;
}

.ps-section-title-green {
    display: block;
    width: auto;
    margin: 0 0 22px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    color: var(--ps-home-green) !important;
    font-size: 35px !important;
    font-weight: 750 !important;
    line-height: 1.15;
}

.ps-section-title-green::after {
    display: none !important;
}

.ps-categorie-grid {
    margin-top: 0;
}

.ps-categoria-col {
    display: flex;
}

.ps-category-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ps-category-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
}

.ps-category-image-wrapper {
    position: relative;
    height: 170px;
    flex: 0 0 170px;
    background: #f2f4f2;
}

.ps-category-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ps-category-counter {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: -1px;
    display: inline-flex;
    max-width: calc(100% - 24px);
    align-items: center;
    gap: 4px;
    padding: 5px 11px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 999px;
    color: #5b5b5b;
    font-size: 14px;
    line-height: 1.15;
    white-space: nowrap;
    transform: translate(-50%, 50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .06);
}

.ps-category-counter strong {
    color: #4c4c4c;
    font-weight: 800;
}

.ps-category-counter-icon {
    display: inline-flex;
    color: var(--ps-home-green);
}

.ps-category-counter-icon svg {
    display: block;
}

.ps-category-body {
    display: flex;
    min-height: 170px;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 25px 18px 17px;
}

.ps-category-title {
    margin: 0 0 7px;
    color: #111;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.2;
}

.ps-category-description {
    margin: 0;
    color: #6a6a6a;
    font-size: 16px;
    line-height: 1.45;
}

.ps-category-more {
    display: block;
    margin-top: auto;
    padding-top: 14px;
    color: var(--ps-home-green);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: right;
}

.ps-category-more span {
    margin-left: 3px;
    font-size: .85rem;
}

/* ============================================================
   PAGINA TIPOLOGIA
   ============================================================ */

.strutture-page .ps-section-title {
    margin-bottom: 20px;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
    color: var(--ps-home-green) !important;
}

.strutture-page .ps-section-title::after {
    display: none !important;
}

/* ============================================================
   INTRO CATEGORIA
   ============================================================ */

.strutture-page .ps-category-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 365px;
    gap: 28px;
    align-items: start;
    margin-bottom: 48px;
}

.strutture-page .ps-category-intro-text {
    min-width: 0;
}

.strutture-page .ps-category-intro-text .ps-section-title {
    margin-top: 0 !important;
}

/* ============================================================
   IDEALE PER
   ============================================================ */

.strutture-page .ps-ideale-box {
    width: 365px;
    min-height: 347px;
    box-sizing: border-box;
    margin-top: -24px;
    padding: 62px 58px 45px;
    background-color: #349808;
    background-image: url(../vendor/media/layer-regione-step-box.png);
    background-size: cover;
    background-position: center;
    border-radius: 38px;
    color: #fff;
}

.strutture-page .ps-ideale-box h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 700;
}

.strutture-page .ps-ideale-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.strutture-page .ps-ideale-box li {
    position: relative;
    margin: 0;
    padding-left: 23px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.strutture-page .ps-ideale-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

/* ============================================================
   DESCRIZIONE TIPOLOGIA
   ============================================================ */

.strutture-page .ps-descrizione-tipologia ul {
    margin: 5px 0;
    padding-left: 0;
    list-style: none;
}

.strutture-page .ps-descrizione-tipologia li {
    position: relative;
    padding-left: 20px;
    color: #334155;
    font-size: 18px;
    line-height: 1.5;
}

.strutture-page .ps-descrizione-tipologia h4 {
    color: var(--ps-home-green);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0;
}

.strutture-page .ps-descrizione-tipologia li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--ps-home-green);
    font-weight: 800;
}

/* ============================================================
   DATATABLE - TOOLBAR
   ============================================================ */

.ps-dt-toolbar {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.ps-dt-length {
    flex: 0 0 auto;
    text-align: left;
}

.ps-dt-buttons {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
}

.ps-dt-buttons .dt-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.ps-dt-buttons .btn,
.ps-dt-buttons button {
    white-space: nowrap;
}

.ps-dt-buttons .dt-button {
    width: 40px;
    height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    background: var(--ps-home-green) !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #fff !important;
    box-shadow: none !important;
}

.ps-dt-buttons .dt-button:hover,
.ps-dt-buttons .dt-button:focus {
    background: #287c08 !important;
    color: #fff !important;
}

.ps-export-icon {
    display: block;
    width: 19px;
    height: 19px;
}

.ps-export-label {
    display: none !important;
}

/* Freccia nativa del pulsante collection */
.ps-dt-buttons .dt-down-arrow,
.ps-dt-buttons .dt-button-down-arrow,
.ps-dt-buttons .dt-button:after {
    display: none !important;
    content: none !important;
}

/* Menu di esportazione */
.dt-button-collection {
    min-width: 150px;
    padding: 8px !important;
}

.dt-button-collection .dt-button {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px;
    margin: 0 !important;
    padding: 9px 12px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 4px !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 1.3;
    text-align: left !important;
    box-shadow: none !important;
}

.dt-button-collection .dt-button:hover,
.dt-button-collection .dt-button:focus {
    background: #f1f4f1 !important;
    color: var(--ps-home-green) !important;
    box-shadow: none !important;
}

.dt-button-collection .dt-button:after,
.dt-button-collection .dt-down-arrow,
.dt-button-collection .dt-button-down-arrow {
    display: none !important;
    content: none !important;
}

/* .ps-dt-length, */
.dt-info,
.dataTables_info {
    display: none !important;
}

/* ============================================================
   DATATABLE - FILTRI
   ============================================================ */

#datatableStrutture_wrapper .yadcf-filter-wrapper {
    display: inline-block !important;
    width: auto !important;
    margin-top: 0 !important;
}

#datatableStrutture_wrapper .yadcf-filter {
    box-sizing: border-box;
    height: 34px !important;
    padding: 6px 30px 6px 12px !important;
    background: #f1f2f2 !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 18px !important;
    color: #555 !important;
    font-size: 12px !important;
}

#datatableStrutture_wrapper .yadcf-filter:focus {
    outline: none;
    border-color: #ccc !important;
    box-shadow: none;
}

#datatableStrutture .yadcf-filter-reset-button {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    margin-left: 4px !important;
    background: transparent !important;
    border: 0 !important;
    color: #64748b !important;
    font-size: .8rem !important;
}

/* ============================================================
   DATATABLE - TABELLA E CARD
   ============================================================ */

#datatableStrutture {
    display: block;
    width: 100% !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

#datatableStrutture thead {
    display: none !important;
}

#datatableStrutture tbody {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

#datatableStrutture .ps-card-action:hover,
#datatableStrutture .ps-btn-dettaglio:hover {
    background: transparent !important;
    color: var(--ps-home-green) !important;
}

#datatableStrutture .ps-card-action span,
#datatableStrutture .ps-btn-dettaglio-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--ps-home-green);
}

#datatableStrutture .ps-btn-dettaglio-icon svg {
    display: block;
    width: 13px;
    height: 13px;
}

#datatableStrutture .ps-btn-dettaglio-text {
    display: inline !important;
}

.ps-card-action-prenota,
.ps-card-action-dettaglio {
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

#datatableStrutture tbody>tr:not(.child) {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    column-gap: 18px;
    width: 100%;
    min-height: 255px;
    margin: 0 !important;
    padding: 17px !important;
    box-sizing: border-box;
    background: #fff !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    overflow: hidden;
}

#datatableStrutture tbody>tr:not(.child)>td {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    vertical-align: top !important;
}

#datatableStrutture tbody>tr:not(.child)>td:nth-child(1) {
    display: none !important;
}

#datatableStrutture tbody>tr:not(.child)>td:nth-child(2) {
    grid-column: 1;
    grid-row: 1 / 5;
    width: 100% !important;
    height: 219px !important;
    padding: 0 !important;
    align-self: start;
}

#datatableStrutture tbody>tr:not(.child)>td:nth-child(2) img {
    display: block;
    width: 100% !important;
    height: 219px !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 14px !important;
}

#datatableStrutture tbody>tr:not(.child)>td:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    padding: 25px 0 0 !important;
    color: var(--ps-home-green) !important;
    font-size: 25px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    box-shadow: none;
}

#datatableStrutture tbody>tr:not(.child)>td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    padding: 10px 0 0 !important;
    box-shadow: none;
    color: #555 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
}

#datatableStrutture tbody>tr:not(.child)>td:nth-child(4)::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 19px;
    margin-right: 7px;
    vertical-align: -6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23349808' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

#datatableStrutture tbody>tr:not(.child)>td:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
    padding: 12px 0 0 !important;
    color: #555 !important;
    box-shadow: none;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

#datatableStrutture tbody>tr:not(.child)>td:nth-child(6) {
    grid-column: 2;
    grid-row: 4;
    display: flex !important;
    align-items: center;
    box-shadow: none;
    gap: 30px;
    padding: 18px 0 0 !important;
    text-align: left !important;
}

#datatableStrutture .ps-card-action {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #333 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

#datatableStrutture .ps-card-action-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--ps-home-green);
}

#datatableStrutture .ps-card-action-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

#datatableStrutture .ps-card-action:hover {
    background: transparent !important;
    color: var(--ps-home-green) !important;
}

#datatableStrutture_wrapper .dt-paging,
#datatableStrutture_wrapper .dataTables_paginate {
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-top: 25px; */
}

#datatableStrutture_wrapper .dt-paging .dt-paging-button,
#datatableStrutture_wrapper .dataTables_paginate .paginate_button {
    min-width: 30px;
    height: 30px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 3px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: var(--ps-home-green) !important;
    font-size: 13px;
}
.strutture-page #datatableStrutture_wrapper .dataTables_paginate .paginate_button.previous,
.strutture-page #datatableStrutture_wrapper .dataTables_paginate .paginate_button.next{
    font-size: 25px !important;
}
#datatableStrutture_wrapper .dt-paging .dt-paging-button.current,
#datatableStrutture_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--ps-home-green) !important;
    color: #fff !important;
    font-weight: 700;
}

#datatableStrutture_wrapper .dt-paging .dt-paging-button:hover:not(.disabled):not(.current),
#datatableStrutture_wrapper .dataTables_paginate .paginate_button:hover:not(.disabled):not(.current) {
    background: #f0f4f0 !important;
    color: var(--ps-home-green) !important;
}

#datatableStrutture_wrapper .dt-paging .dt-paging-button.disabled,
#datatableStrutture_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: .45;
}

/* ============================================================
   DATATABLE - PAGINAZIONE
   ============================================================ */
.strutture-page #datatableStrutture_wrapper .ps-dt-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 0;
}

/* Mostra X risultati */
.strutture-page #datatableStrutture_wrapper .ps-dt-length {
    display: flex !important;
    align-items: center;
    margin: 0;
    text-align: left;
}

.strutture-page #datatableStrutture_wrapper .ps-dt-length .dataTables_length,
.strutture-page #datatableStrutture_wrapper .ps-dt-length .dt-length {
    margin: 0;
}

/* Select */
.strutture-page #datatableStrutture_wrapper .ps-dt-length select {
    height: 32px;
    min-width: 65px;
    margin: 0 5px;
    padding: 4px 4px 4px 10px;
    border: 1px solid #dedede;
    border-radius: 18px;
    background-color: #fff;
    color: #555;
    font-size: 13px;
    cursor: pointer;
}

/* Paginazione */
.strutture-page #datatableStrutture_wrapper .ps-dt-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
}

.strutture-page #datatableStrutture_wrapper .dt-paging {
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    text-align: right !important;
}

.strutture-page #datatableStrutture_wrapper .dt-paging nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.strutture-page #datatableStrutture_wrapper .dt-paging .dt-paging-button,
.strutture-page #datatableStrutture_wrapper .dataTables_paginate .paginate_button {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 3px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--ps-home-green) !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

.strutture-page #datatableStrutture_wrapper .dt-paging .dt-paging-button.current,
.strutture-page #datatableStrutture_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--ps-home-green) !important;
    color: #fff !important;
    font-weight: 700;
}

.strutture-page #datatableStrutture_wrapper .dt-paging .dt-paging-button:hover:not(.disabled):not(.current),
.strutture-page #datatableStrutture_wrapper .dataTables_paginate .paginate_button:hover:not(.disabled):not(.current) {
    background: #edf4eb !important;
    color: var(--ps-home-green) !important;
}

.strutture-page #datatableStrutture_wrapper .dt-paging .dt-paging-button.disabled,
.strutture-page #datatableStrutture_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: .45;
}

/* ============================================================
   RICERCA DATATABLE
   ============================================================ */

.strutture-page .ps-dt-toolbar {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.strutture-page .ps-dt-search {
    flex: 1;
}

.strutture-page .ps-global-search-wrapper {
    display: flex;
    align-items: center;
}

.strutture-page .ps-global-search-input {
    width: 275px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 7px 38px 7px 14px !important;
    box-sizing: border-box;
    border: 1px solid #dedede !important;
    border-radius: 20px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23909090' stroke-width='1.8'/%3E%3Cpath d='m16 16 5 5' fill='none' stroke='%23909090' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 16px 16px;
    color: #333 !important;
    font-size: 14px !important;
}

.strutture-page .ps-global-search-input::placeholder {
    color: #999;
}

.strutture-page .ps-global-search-input:focus {
    outline: none !important;
    border-color: #bfcdbb !important;
    box-shadow: 0 0 0 2px rgba(52, 152, 8, .08) !important;
}

/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */

@media (max-width: 991px) {
    .ps-home-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr);
        gap: 25px;
    }

    .ps-home-hero-title {
        font-size: 2.5rem;
    }

    .ps-home-features {
        /* gap: 10px; */
        display: flex;
    }

    .ps-home-feature {
        align-items: start;
    }
    .ps-home-feature>span:last-child{
        text-align: left;
    }
    .ps-intro-grid {
        gap: 35px;
    }

    .ps-section-title-main {
        font-size: 1.8rem;
    }

    .ps-gallery-main-image {
        height: 280px;
    }

    .ps-top-actions {
        align-items: flex-start;
        margin-top:20px;
    }

    .ps-quick-contacts {
        justify-content: flex-start;
    }

    .ps-btn-prenota-top {
        width: 100%;
    }

    .ps-card img {
        height: 220px;
    }

    .ps-card-body h3 {
        font-size: 1.5rem;
    }
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */

@media (max-width: 767px) {
    .ps-home-hero {
        min-height: auto;
            background-image: url(../vendor/media/bg-prenotazione-spazi-home-mobile.png);
    }

    .ps-home-hero-inner {
        padding-top: 18px;
        padding-bottom: 45px;
        padding-left: 20px!important;
        padding-right: 20px!important;
    }

    .ps-home-breadcrumb {
        margin-bottom: 15px;
    }

    .ps-home-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ps-home-hero-title {
        font-size: 2.2rem;
    }

    .ps-home-hero-subtitle {
        font-size: .92rem;
    }

    .ps-home-features {
        grid-template-columns: 1fr;
        max-width: 360px;
        gap: 13px;
        margin-top: 21px;
    }

    .ps-home-feature-icon {
        width: 31px;
        height: 31px;
    }

    .ps-home-feature-icon svg {
        width: 29px;
        height: 29px;
    }

    .ps-home-hero-brand {
        min-height: 100px;
        justify-content: flex-start;
        padding: 0;
    }

    .ps-home-hero-logo {
        width: min(250px, 80%);
        max-height: 120px;
    }

    .ps-intro-section {
        padding: 34px 0;
    }

    .ps-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ps-intro-title,
    .ps-section-title-green {
        font-size: 1.5rem !important;
    }

    .ps-info-item p {
        font-size: 14px;
    }

    .ps-steps-box {
        min-height: auto;
        padding: 24px 22px;
        border-radius: 24px;
    }

    .ps-step {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .ps-step p {
        font-size: .8rem;
    }

    .ps-step p strong {
        font-size: .9rem;
    }

    .ps-category-image-wrapper {
        height: 190px;
        flex-basis: 190px;
    }

    .ps-category-body {
        min-height: 160px;
    }

    /* Intro categoria */
    .strutture-page .ps-category-intro {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        margin-bottom: 35px !important;
    }

    .strutture-page .ps-category-intro-text {
        width: 100% !important;
        min-width: 0 !important;
    }

    .strutture-page .ps-category-intro-text .ps-section-title {
        margin-top: 0 !important;
        margin-bottom: 15px !important;
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .strutture-page .ps-descrizione-tipologia {
        width: 100% !important;
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    /* Ideale per */
    .strutture-page .ps-ideale-box {
        width: 100% !important;
        max-width: 450px;
        min-height: auto !important;
        margin-top: 0 !important;
        padding: 30px 28px !important;
        box-sizing: border-box;
        border-radius: 28px !important;
    }

    .strutture-page .ps-ideale-box h3 {
        margin-bottom: 16px !important;
        font-size: 22px !important;
        line-height: 1.2 !important;
    }

    .strutture-page .ps-ideale-box li {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    /* Dettaglio struttura */
    .ps-detail-grid {
        grid-template-columns: 1fr;
    }

    .ps-detail-photo img {
        height: 220px;
    }

    .ps-detail-columns {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Gallery */
    .ps-gallery-main-image {
        height: 220px;
    }

    .ps-struttura-gallery-thumbs .swiper-slide {
        height: 60px;
    }

    .ps-swiper-struttura .swiper-slide img {
        height: 280px;
    }

    .ps-swiper-gallery-modal .swiper-wrapper {
        margin-bottom: 0;
    }

    #psGalleryModal .modal-dialog {
        width: 100%;
        max-width: 100%;
        height: 100%;
        margin: 0;
    }

    #psGalleryModal .modal-content {
        border-radius: 0;
    }

    #psGalleryModal .modal-header {
        padding: 12px 16px;
    }

    #psGalleryModal .modal-title {
        font-size: 1rem;
    }

    .ps-gallery-modal-image {
        height: calc(100vh - 110px);
    }

    /* Azione prenotazione */
    .ps-btn-prenota {
        width: 100%;
        min-width: 0;
    }

    .ps-top-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .ps-quick-contacts {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
    }

    .ps-btn-prenota-top {
        width: auto;
        min-width: 0;
        height: 48px;
        flex: 0 0 auto;
        padding: 0 14px;
    }

    .ps-btn-prenota-icon {
        font-size: .95rem;
    }

    .ps-btn-prenota-label-full {
        display: none;
    }

    .ps-btn-prenota-label-mobile {
        display: inline;
        font-size: .92rem;
    }

    /* DataTable */
    #datatableStrutture .yadcf-filter-wrapper {
        display: none !important;
    }

    #datatableStrutture tbody {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    #datatableStrutture tbody>tr:not(.child) {
        grid-template-columns: 40% minmax(0, 60%);
        column-gap: 0;
        min-height: 150px;
        padding: 0 !important;
        border-radius: 12px !important;
    }

    #datatableStrutture tbody>tr:not(.child)>td:nth-child(2) {
        width: 100% !important;
        height: 150px !important;
    }

    #datatableStrutture tbody>tr:not(.child)>td:nth-child(2) img {
        width: 100% !important;
        height: 150px !important;
        border-radius: 0 !important;
    }

    #datatableStrutture tbody>tr:not(.child)>td:nth-child(3) {
        padding: 10px 10px 0 !important;
        font-size: 18px !important;
    }

    #datatableStrutture tbody>tr:not(.child)>td:nth-child(4) {
        padding: 3px 10px 0 !important;
        font-size: 14px !important;
    }

    #datatableStrutture tbody>tr:not(.child)>td:nth-child(5) {
        padding: 3px 10px 0 !important;
        font-size: 12px !important;
    }

    #datatableStrutture tbody>tr:not(.child)>td:nth-child(6) {
        padding: 5px 10px 10px !important;
        gap: 10px;
    }

    #datatableStrutture .ps-card-action,
    #datatableStrutture .ps-btn-dettaglio {
        font-size: 14px !important;
    }

    #datatableStrutture .ps-card-action-icon {
        width: 15px;
        height: 15px;
    }

    #datatableStrutture .ps-card-action-icon svg {
        width: 15px;
        height: 15px;
    }

    #datatableStrutture .ps-btn-dettaglio-text {
        display: inline !important;
    }

    /* Toolbar */
    .ps-dt-toolbar {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .strutture-page .ps-dt-search {
        flex: 1;
    }

    .ps-dt-buttons {
        flex: 0 0 auto;
    }

    .ps-dt-buttons .dt-buttons {
        align-items: center;
    }

    .strutture-page .ps-global-search-input {
        width: 100% !important;
        max-width: none !important;
    }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {
    .ps-home-hero-title {
        font-size: 2rem;
    }

    .ps-home-hero-subtitle {
        font-size: .88rem;
    }

    .ps-home-hero-brand {
        justify-content: center;
    }

    .ps-home-hero-logo {
        width: 220px;
    }

    .ps-steps-box {
        padding: 22px 18px;
    }

    .ps-step-number {
        font-size: 24px;
    }

    .ps-step p {
        font-size: 16px;
    }

    .ps-step p strong {
        font-size: 21px;
    }

    .ps-category-image-wrapper {
        height: 180px;
        flex-basis: 180px;
    }
}

/* ============================================================
   BANNER TIPOLOGIA
   ============================================================ */

.image_servizio_prenotazione_spazi {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* FOTO DELLA TIPOLOGIA */
.image_servizio__photo {
    position: absolute;
    inset: 0;
    z-index: -1;

    width: 60%;
    height: 100%;
    left: auto;
    right: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* GRAFICA DEL BANNER */
.image_servizio__graphic {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url("../vendor/media/banner-tipologia.png");
    background-repeat: no-repeat;
    /* background-position: center; */
    background-position: 65%;
    background-size: cover;

    pointer-events: none;
}

/* CONTENUTO */
.image_servizio__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* TITOLO */
.image_servizio__title {
    margin: 24px 0 0 0;
    font-size: 3.4rem;
    line-height: 1.1;
    font-weight: 700;
}

/* SOTTOTITOLO */
.image_servizio__subtitle {
    max-width: 680px;
    margin: 18px 0 0 0;
    font-size: 1.2rem;
    line-height: 1.6;
}


/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb-white,
.breadcrumb-white *,
.breadcrumb-white a,
.breadcrumb-white .breadcrumb-item,
.breadcrumb-white .breadcrumb-item a {
    color: #ffffff !important;
}


/* ============================================================
   PAGINA PRENOTAZIONE SPAZI
   ============================================================ */

.path-prenotazione_spazi .image_servizio_prenotazione_spazi {
    background-position: center center;
}

.path-prenotazione_spazi .callout li {
    color: #5b6f82;
    font-size: .889rem;
    font-weight: normal;
    font-family: inherit;
}

.large_accedi {
    width: 150px;
}

.ancora_pagina {
    position: relative;
    top: -150px;
    left: 0;
}

.accedi_segnalazione {
    width: 100%;
    color: white !important;
}

.box-legenda {
    text-transform: uppercase;
    font-weight: 600;
}

.box-legenda .col-10 {
    display: flex;
    align-items: center;
}


/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */

@media (max-width: 991px) {

    .image_servizio_prenotazione_spazi {
        min-height: 250px;
    }

    .image_servizio__content {
        padding: 20px 0 42px 0 !important;
    }

    .image_servizio__title {
        font-size: 2.4rem;
        margin-top: 18px;
    }

    .image_servizio__subtitle {
        font-size: 1.05rem;
    }
    .page-dettaglio-struttura{
        padding: 0!important;
    }
}


/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .image_servizio_prenotazione_spazi {
        /*
         * La grafica mobile è verticale.
         * Manteniamo circa il rapporto della PNG
         * banner-tipologia-mobile.png (928 x 1644).
         */
        min-height: 0;
        aspect-ratio: 928 / 1644;

        align-items: flex-start;
    }

    /* FOTO DELLA TIPOLOGIA */
    .image_servizio__photo {
        width: 100%;
        /* height: 100%; */
        left: 0;
        right: auto;
        background-size: cover;
        background-position: center bottom;
        bottom: 0;
        height: 50%;
        top: unset;
    }

    /* GRAFICA MOBILE */
    .image_servizio__graphic {
        background-image: url("../vendor/media/banner-tipologia-mobile.png");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% 100%;
    }

    /* CONTENUTO */
    .image_servizio__content {
        padding: 20px 0 320px 0 !important;
    }

    .image_servizio__title {
        margin-top: 18px;
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .image_servizio__subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
}
/* ============================================================
   CARD DETTAGLIO STRUTTURA
   ============================================================ */

.ps-info-card {
    overflow: hidden;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 6px #00000029 !important;
}

/* HEADER CARD */

.ps-card-header {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 14px 24px;
    overflow: hidden;
    background: #16803a;
    color: #fff;
}

.ps-card-header::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../vendor/media/card-leaves.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;

    pointer-events: none;
}

/* TITOLO */

.ps-card-header-title {
    position: relative;
    z-index: 1;

    margin: 0;
    color: #fff;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* CONTENUTO */

.ps-info-card > .card-body {
    padding: 24px !important;
}
/* ============================================================
   CONTATTI - REFERENTI
   ============================================================ */

.ps-referenti-list {
    gap: 14px;
}

.ps-referente-item {
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 14px;
    background: #fff;
}

.ps-referente-item .ps-detail-label {
    display: block;
    margin-bottom: 8px;
}

.ps-referente-contact {
    display: flex !important;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    line-height: 1.45;
}

.ps-referente-contact + .ps-referente-contact {
    margin-top: 8px;
}

.ps-referente-contact svg {
    flex: 0 0 auto;
}

.ps-mostra-referenti {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 0;
    background: none;
    border: 0;
    color: #2f6f3e;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.ps-mostra-referenti:hover {
    color: #255a31;
    text-decoration: underline;
}

/* ============================================================
   MODAL REFERENTI
   ============================================================ */

.ps-referenti-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, .45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.ps-referenti-modal.ps-modal-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ps-referenti-modal-dialog {
    width: 100%;
    max-width: 700px;
    max-height: 90vh;

    transform: translateY(12px);
    transition: transform .2s ease;
}

.ps-referenti-modal.ps-modal-visible .ps-referenti-modal-dialog {
    transform: translateY(0);
}

.ps-referenti-modal-content {
    display: flex;
    max-height: 90vh;
    flex-direction: column;

    overflow: hidden;

    background: #fff;
    border-radius: 8px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
}

.ps-referenti-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 22px;

    background: #16803a;
    color: #fff;
}

.ps-referenti-modal-title {
    margin: 0;

    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.ps-referenti-modal .ps-modal-close {
    display: inline-flex;

    width: 36px;
    height: 36px;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;
    border: 0;

    color: #fff;

    cursor: pointer;
    opacity: .9;
}

.ps-referenti-modal .ps-modal-close:hover {
    opacity: 1;
}

.ps-referenti-modal .ps-modal-close svg {
    display: block;
}

.ps-referenti-modal-body {
    max-height: calc(90vh - 75px);

    overflow-y: auto;

    padding: 22px;
}

body.ps-modal-open {
    overflow: hidden;
}


/* ============================================================
   PULSANTE MOSTRA ALTRI REFERENTI
   ============================================================ */

.ps-mostra-referenti {
    display: inline-flex;
    align-items: center;

    margin-top: 12px;
    padding: 0;

    background: none;
    border: 0;

    color: #2f6f3e;

    font-size: .95rem;
    font-weight: 600;

    cursor: pointer;
    text-decoration: none;
}

.ps-mostra-referenti:hover {
    color: #255a31;
    text-decoration: underline;
}

/* ============================================================
   MAPPA - PULSANTE GOOGLE MAPS
   ============================================================ */

.ps-map-wrapper {
    position: relative;
}

.ps-map-directions {
    position: absolute;
    right: auto;
    left: 14px;
    bottom: 14px;
    z-index: 9;
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    background: #16803a;
    border: 0;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* .ps-map-directions:hover {
    background: #305631;
    color: #fff !important;

    transform: translateY(-2px);

    box-shadow: 0 5px 14px rgba(0, 0, 0, .30);
} */

.ps-map-directions svg {
    display: block;
    width: 22px;
    height: 22px;
}

.ps-map-directions::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 0;
    bottom: calc(100% + 9px);
    width: max-content;
    max-width: 220px;
    padding: 7px 10px;
    background: #17324d;
    border-radius: 4px;
    color: #fff;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}

.ps-map-directions::before {
    content: "";
    position: absolute;
    right: 16px;
    bottom: calc(100% + 4px);
    width: 9px;
    height: 9px;
    background: #17324d;
    transform: rotate(45deg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.ps-map-directions:hover::after,
.ps-map-directions:hover::before,
.ps-map-directions:focus-visible::after,
.ps-map-directions:focus-visible::before {
    opacity: 1;
    visibility: visible;
}

.ps-map-directions:hover::after,
.ps-map-directions:focus-visible::after {
    transform: translateY(0);
}

.ps-map-directions:focus-visible {
    outline: 3px solid rgba(52, 130, 58, .35);
    outline-offset: 2px;
}
/* ============================================================
   MODAL DESCRIZIONE
   ============================================================ */

.ps-description-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, .45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.ps-description-modal.ps-modal-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ps-description-modal-dialog {
    width: 100%;
    max-width: 800px;
    max-height: 90vh;

    transform: translateY(12px);

    transition: transform .2s ease;
}

.ps-description-modal.ps-modal-visible
.ps-description-modal-dialog {
    transform: translateY(0);
}

.ps-description-modal-content {
    display: flex;
    max-height: 90vh;
    flex-direction: column;

    overflow: hidden;

    background: #fff;
    border-radius: 8px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
}

.ps-description-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 22px;

    background: #16803a;
    color: #fff;
}

.ps-description-modal-title {
    margin: 0;

    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.ps-description-modal-close {
    display: inline-flex;

    width: 36px;
    height: 36px;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;
    border: 0;

    color: #fff;

    cursor: pointer;
    opacity: .9;
}

.ps-description-modal-close:hover {
    opacity: 1;
}

.ps-description-modal-close svg {
    display: block;
}

.ps-description-modal-body {
    max-height: calc(90vh - 75px);

    overflow-y: auto;

    padding: 24px;

    color: #4b5d70;
    font-size: 1rem;
    line-height: 1.75;
}

.ps-description-modal-body p {
    margin-bottom: 18px;
}

.ps-description-modal-body p:last-child {
    margin-bottom: 0;
}

body.ps-description-modal-open {
    overflow: hidden;
}
.ps-no-results {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 30px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #fff;
}



.ps-no-results-content h5 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700!important;
    color: #2f7d32;
}

.ps-no-results-content p {
    margin: 0;
    color: #5f6b76;
    font-size: 16px;
}