/*
Theme Name: Dessau Child
Theme URI: https://dessau.qodeinteractive.com
Description: A child theme of Dessau Theme
Author: Select Themes
Author URI: https://themeforest.net/user/select-themes
Version: 1.0.1
Text Domain: dessau
Template: dessau
*/

/* SDS - Testi delle sedi */
.qodef-iis-text {
    line-height: 1.8;
}

.qodef-iis-text strong {
    font-weight: 700;
}

.qodef-iis-text em {
    font-style: italic;
}

/* MISSION HOME */
.sds-mission {
    max-width: 950px;
    margin: 40px auto;
    padding: 20px 25px;
}

.sds-mission-line {
    width: 55px;
    height: 3px;
    background-color: #E84610;
    margin-bottom: 22px !important;
	margin:auto;
}

.sds-mission-text {
    font-size: 23px;
    line-height: 1.65;
    font-weight: 300;
    color: #333333;
    margin: 0;
	text-align:center;
}

/* Smartphone */
@media (max-width: 768px) {
    .sds-mission {
        padding: 15px;
    }

    .sds-mission-text {
        font-size: 19px;
        line-height: 1.6;
		text-align:center;
    }
}


/* SDS - MODULO CONTATTI HOME */

.sds-contact-form {
    width: 100%;
}

.sds-contact-form .sds-contact-field {
    margin-bottom: 18px;
}

.sds-contact-form input[type="text"],
.sds-contact-form input[type="email"],
.sds-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 18px !important;
    border: 1px solid #e0e7e1 !important;
    border-radius: 5px;
    background: #f8faf8 !important;
    color: #25362b !important;
    font-size: 14px;
    font-family: inherit;
}

.sds-contact-form textarea {
    height: 135px;
    resize: vertical;
}

.sds-contact-form input:focus,
.sds-contact-form textarea:focus {
    border-color: #307732 !important;
    outline: none;
}

.sds-contact-form .sds-contact-privacy {
    font-size: 13px;
    line-height: 1.6;
    color: #68716a;
    margin-bottom: 20px;
}

.sds-contact-form input[type="submit"] {
    background: #F84610 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px;
    padding: 15px 30px !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .25s ease;
}

.sds-contact-form input[type="submit"]:hover {
    background: #307732 !important;
}



/* POST AMBITI */
.qodef-post-title a {
	font-weight: initial !important;
	text-align: center;
	display:block;
	height:70px;
}

.qodef-post-excerpt {
	height:160px;
}

.qodef-st-text p {
	margin-top: 48px;
	font-weight: bolder;
	font-style: italic;
}

.qodef-post-image img {
    width: 220px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px;
}

/* I NOSTRI NUMERI */

/* Contenitore dei numeri SDS */
.sds-numeri {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px 25px;
    max-width: 1100px;
    margin: 40px auto;
}

.sds-numero {
    flex: 0 0 calc((100% - 50px) / 3);
    box-sizing: border-box;
    text-align: center;
    padding: 20px 5px;
}


/* Valore numerico */
.sds-numero-valore {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: #1B5C2A;
    white-space: nowrap;
}

/* Linea decorativa */
.sds-numero-linea {
    width: 35px;
    height: 2px;
    background-color: #E84610;
    margin: 15px auto;
}

/* Descrizione */
.sds-numero-titolo {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
}

.sds-numero-valore {
    transition: transform 0.3s ease;
}

.sds-numero:hover .sds-numero-valore {
    transform: scale(1.08);
	cursor:hand;
}

/* Tablet */
@media (max-width: 768px) {
    .sds-numero {
        flex: 0 0 calc((100% - 25px) / 2);
    }

    .sds-numero:last-child {
        flex-basis: 100%;
    }
}

@media (max-width: 1024px) {
    .sds-numeri {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .sds-numeri {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .sds-numero-valore {
        font-size: 36px;
    }

    .sds-numero:last-child {
        grid-column: 1 / -1;
    }
}


/* Top Bar */
.sds-topbar-left,
.sds-topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 12px;
    line-height: 1.5;
}

.sds-topbar-left a,
.sds-topbar-right a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sds-topbar-left a:hover,
.sds-topbar-right a:hover {
    opacity: 0.7;
	color: #1B5C2A !important;
}

.widget ul li:last-child {
	border: 0;
	padding-bottom: 9px !important;
}

/* Pulsante Lavora con noi */
.sds-topbar-right a.sds-lavora-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 15px;
    border: 1px solid #ffffff;
    border-radius: 4px;

    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;

    transition: all 0.25s ease;
}

/* Effetto al passaggio del mouse */
.sds-topbar-right a.sds-lavora-btn:hover {
    background-color: #ffffff;
    color: #163F60 !important;
    opacity: 1;
}

/* Spazio tra Lavora con noi e le bandierine */
.sds-topbar-right {
    margin-right: 30px !important;
}



@media (max-width: 768px) {
    .sds-topbar-left,
    .sds-topbar-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 18px;
    }
}

/* Chi Siamo */
/* SDS - Carosello storico */

.sds-storia {
    padding-top: 15px;
    padding-bottom: 30px;
}

/* Titolo delle singole tappe */
.sds-storia .qodef-team-name {
    color: #1B5C2A;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Sottotitolo */
.sds-storia .qodef-team-position {
    color: #163F60;
    font-weight: 500;
}

/* Descrizione */
.sds-storia .qodef-team-text {
    color: #666;
    line-height: 1.7;
}

/* Immagini */
.sds-storia .qodef-team-image img {
    border-radius: 3px;
}

/* Ambito Ospedaliero */
/* Sezione attività trasversali - Ambito ospedaliero */


/* SDS - Attività trasversali */

.sds-validation-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 45px auto 20px;
    width: 100%;
}

.sds-validation-card {
    --card-color: #307732;
    background: #fff;
    border-top: 4px solid var(--card-color);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(20, 45, 30, 0.07);
    padding: 35px 14px 30px;
    text-align: center;
    min-height: 285px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.sds-validation-orange {
    --card-color: #F84610;
}

.sds-validation-green {
    --card-color: #307732;
}

.sds-validation-darkgreen {
    --card-color: #1B5C2A;
}

.sds-validation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(20, 45, 30, 0.13);
	cursor:hand;
}

.sds-validation-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--card-color) 9%, white);
    color: var(--card-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.sds-validation-icon i {
    font-size: 34px;
    line-height: 1;
}

.sds-validation-card h3 {
    font-size: 23px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--card-color);
    margin: 0 0 15px;
    letter-spacing: .3px;
}

.sds-validation-line {
    width: 38px;
    height: 2px;
    background: var(--card-color);
    margin-bottom: 20px;
}

.sds-validation-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #59636b;
    margin: 0;
}

/* Tablet */
@media (max-width: 1100px) {
    .sds-validation-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Smartphone */
@media (max-width: 767px) {
    .sds-validation-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 16px;
    }

    .sds-validation-card {
        min-height: auto;
        padding: 28px 20px;
    }
}

/* Ambito Farmceutico */


/* SDS - Servizi specialistici farmaceutici */

.sds-pharma-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 35px 0 50px;
}

.sds-pharma-service {
    background: #fff;
    padding: 30px 32px;
    border-top: 4px solid var(--service-color);
    border-radius: 5px;
    box-shadow: 0 4px 22px rgba(0,0,0,.065);
    transition: transform .25s ease, box-shadow .25s ease;
}

.sds-pharma-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 28px rgba(0,0,0,.10);
}

.sds-pharma-orange {
    --service-color: #F84610;
}

.sds-pharma-green {
    --service-color: #307732;
}

.sds-pharma-darkgreen {
    --service-color: #1B5C2A;
}

.sds-pharma-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #F4F7F4;
    color: var(--service-color);
    font-size: 23px;
}

.sds-pharma-service h3 {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    color: #26362B;
    margin: 0 0 12px;
}

.sds-pharma-service p {
    font-size: 15px;
    line-height: 1.75;
    color: #666;
    margin: 0;
}

@media (max-width: 767px) {
    .sds-pharma-services {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sds-pharma-service {
        padding: 25px;
    }
}

/* Ambito Alimentare */

/* SDS - Quattro card Ambito Alimentare */

@media (min-width: 1025px) {
    .sds-validation-grid.sds-food-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Servizi */


/* ==========================================
   SDS - SERVIZI - CARD WPBAKERY
   ========================================== */

/* Riga: tre colonne con spaziatura regolare */
.sds-services-row.vc_row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    row-gap: 30px;
    margin-bottom: 30px;
}

/* Colonne WPBakery */
.sds-services-row > .wpb_column {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Contenitore della card */
.sds-services-row > .wpb_column > .vc_column-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: auto;
    margin: 0 10px;
    padding: 0 !important;
    background: #fff;
    border: 1px solid #e8ece8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.065);
    transition: transform .3s ease, box-shadow .3s ease;
}

.sds-services-row > .wpb_column:hover > .vc_column-inner {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.11);
}

/* Wrapper degli elementi */
.sds-services-row .vc_column-inner > .wpb_wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Immagini */
.sds-services-row .wpb_single_image {
    margin: 0 !important;
}

.sds-services-row .wpb_single_image img {
    display: block;
    width: 100%;
    height: 235px;
    object-fit: cover;
}

/* Area testo */
.sds-services-row .wpb_text_column {
    padding: 25px 25px 30px;
    margin: 0 !important;
    flex: 1;
}

/* Piccola linea arancione */
.sds-services-row .wpb_text_column::before {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    background: #F84610;
    margin-bottom: 18px;
}

/* Titoli */
.sds-services-row .wpb_text_column h3,
.sds-services-row .wpb_text_column h4 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    color: #25362b;
    margin: 0 0 12px;
}

/* Descrizioni */
.sds-services-row .wpb_text_column p {
    font-size: 14px;
    line-height: 1.7;
    color: #68716a;
    margin: 0;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .sds-services-row .wpb_single_image img {
        height: 205px;
    }

    .sds-services-row .wpb_text_column {
        padding: 20px;
    }
}

/* Smartphone */
@media (max-width: 767px) {
    .sds-services-row.vc_row {
        row-gap: 22px;
    }

    .sds-services-row > .wpb_column > .vc_column-inner {
        margin: 0;
    }

    .sds-services-row .wpb_single_image img {
        height: 225px;
    }
}


/* SDS - Servizi con Dessau Image With Text */

.sds-services-row {
    margin-bottom: 35px;
}

.sds-services-row .wpb_column {
    margin-bottom: 0;
}

/* Stile del componente Dessau */
.sds-services-row .mkdf-image-with-text-holder,
.sds-services-row .edgtf-image-with-text-holder {
    background: #fff;
    border: 1px solid #e8ece8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.sds-services-row .mkdf-image-with-text-holder:hover,
.sds-services-row .edgtf-image-with-text-holder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.11);
}

/* Immagini */
.sds-services-row .mkdf-image-with-text-holder img,
.sds-services-row .edgtf-image-with-text-holder img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    display: block;
}

/* Spaziatura tra le righe */
@media (max-width: 767px) {
    .sds-services-row {
        margin-bottom: 0;
    }

    .sds-services-row .wpb_column {
        margin-bottom: 25px;
    }
}



/* ==========================================
   SDS - RIFINITURA IMAGE WITH TEXT
   PAGINA SERVIZI
   ========================================== */

/* Contenitore card */
.sds-services-row .qodef-image-with-text-holder.sds-service-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
}

/* Area del testo */
.sds-services-row .sds-service-item .qodef-iwt-text-holder {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px 25px 30px !important;
    box-sizing: border-box;
}

/* Linea decorativa */
.sds-services-row .sds-service-item .qodef-iwt-text-holder::before {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    flex-shrink: 0;
    background: #F84610;
    margin-bottom: 20px;
}

/* Seconda colonna: verde */
.sds-services-row > .wpb_column:nth-child(2)
.sds-service-item .qodef-iwt-text-holder::before {
    background: #307732;
}

/* Terza colonna: verde scuro */
.sds-services-row > .wpb_column:nth-child(3)
.sds-service-item .qodef-iwt-text-holder::before {
    background: #1B5C2A;
}

/* Titoli */
.sds-services-row .sds-service-item h6.qodef-iwt-title {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.2px !important;
    text-transform: uppercase;
    color: #25362b !important;
    margin: 0 0 12px !important;
}

/* Descrizioni */
.sds-services-row .sds-service-item p.qodef-iwt-text {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #68716a !important;
    margin: 0 !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .sds-services-row .sds-service-item .qodef-iwt-text-holder {
        padding: 22px !important;
    }
}

/* Smartphone */
@media (max-width: 767px) {
    .sds-services-row .sds-service-item .qodef-iwt-text-holder {
        padding: 22px !important;
    }

    .sds-services-row .sds-service-item h6.qodef-iwt-title {
        font-size: 16px !important;
    }
}


/* Allineamento dei contenuti */

@media (min-width: 768px) {
    .sds-services-row .sds-service-item h6.qodef-iwt-title {
        min-height: 50px;
    }
}

/* Sotto Sevizi */

/* ======================================
   SDS - GRUPPI TECNICI SERVIZI
   ====================================== */

.sds-technical-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 35px 0 55px;
}

.sds-technical-card {
    --tech-color: #F84610;
    background: #fff;
    border: 1px solid #e8ece9;
    border-top: 4px solid var(--tech-color);
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 8px 28px rgba(0,0,0,.045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.sds-tech-orange {
    --tech-color: #F84610;
}

.sds-tech-green {
    --tech-color: #307732;
}

.sds-tech-darkgreen {
    --tech-color: #1B5C2A;
}

.sds-technical-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,.09);
}

.sds-technical-card .sds-tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f5f7f5;
    color: var(--tech-color);
    font-size: 23px;
    margin-bottom: 22px;
}

.sds-technical-card h3 {
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #25362b !important;
    margin: 0 0 20px !important;
    text-transform: uppercase;
}

.sds-technical-card ul {
    margin: 0 !important;
    padding-left: 20px !important;
}

.sds-technical-card li {
    font-size: 15px;
    line-height: 1.7;
    color: #68716a;
    margin-bottom: 8px;
}

.sds-technical-card li::marker {
    color: var(--tech-color);
}

@media (max-width: 767px) {
    .sds-technical-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sds-technical-card {
        padding: 25px;
    }

    .sds-technical-card h3 {
        font-size: 17px !important;
    }
}



/* SDS - Riferimenti normativi */

.sds-normative-section {
    margin: 25px 0 55px;
}

.sds-normative-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5eae6;
    border-radius: 10px;
}

.sds-normative-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.sds-normative-table th {
    background: #1B5C2A;
    color: #fff;
    text-align: left;
    padding: 18px 22px;
    font-size: 14px;
    font-weight: 600;
}

.sds-normative-table td {
    padding: 15px 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #4d5a51;
    border-bottom: 1px solid #edf0ed;
}

.sds-normative-table tbody tr:nth-child(even) {
    background: #f7f9f7;
}

.sds-normative-table tbody tr:last-child td {
    border-bottom: none;
}

.sds-normative-note {
    margin-top: 15px;
    font-size: 13px;
    color: #737d75;
    font-style: italic;
}

@media (max-width: 767px) {
    .sds-normative-table th,
    .sds-normative-table td {
        padding: 12px;
        font-size: 13px;
    }
}


/* SDS - Allineamento tabella riferimenti normativi */

.sds-normative-table th,
.sds-normative-table td {
    text-align: left !important;
    vertical-align: middle;
}

.sds-normative-table td:first-child {
    width: 52%;
    font-weight: 500;
    color: #35483b;
}

.sds-normative-table td:last-child {
    width: 48%;
}

