/*
Theme Name: Bio Sud Medical
Theme URI: https://biosud.it
Author: Bio Sud Medical Systems
Description: Tema corporate responsive per Bio Sud Medical Systems.
Version: 3.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: biosud-medical
*/
:root{--navy:#102d43;--deep:#0c2437;--blue:#136b91;--cyan:#41b6ca;--ink:#213648;--muted:#627786;--soft:#f1f7fa;--line:#dbe7eb;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);line-height:1.7;background:#fff}a{color:var(--blue);text-decoration:none}a:hover{color:#074566}img{max-width:100%;height:auto}button,input,textarea{font:inherit}.wrap{width:min(1180px,calc(100% - 44px));margin:auto}.topline{background:var(--deep);color:#d7e9f0;font-size:12px;letter-spacing:.035em}.topline .wrap{display:flex;justify-content:space-between;gap:14px;padding:6px 0}.topline a{color:inherit}.header{background:white;position:sticky;top:0;z-index:50;border-bottom:1px solid #edf2f5;box-shadow:0 3px 18px #102d4308}.headerin{display:flex;align-items:center;justify-content:space-between;min-height:90px;gap:22px}.brand{display:flex;align-items:center;gap:13px;min-width:0}.brand img{width:auto;height:52px;max-width:200px;object-fit:contain}.brand-fallback{font-weight:850;letter-spacing:.04em;line-height:1.2;color:var(--navy);font-size:20px}.brand-fallback small{display:block;font-size:9px;color:#247995;letter-spacing:.18em}.mainnav{display:flex;align-items:center;gap:28px}.mainnav a{font-size:14px;font-weight:650;color:#25455b}.mainnav a:hover,.mainnav .current-menu-item a{color:var(--blue)}.navbutton,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:5px;padding:12px 22px;font-weight:750;font-size:14px;transition:.2s;background:var(--blue);color:#fff;border:1px solid var(--blue);cursor:pointer}.navbutton:hover,.button:hover{background:#07506e;color:#fff;transform:translateY(-1px)}.button.outline{border-color:#abc7d6;color:var(--navy);background:white}.button.outline:hover{border-color:var(--blue);color:var(--blue)}.mobiletoggle{display:none;background:none;border:0;padding:8px;color:var(--navy);font-size:27px;cursor:pointer}.eyebrow{display:block;color:#3eafc2;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:800;margin-bottom:15px}.hero{background:linear-gradient(102deg,rgba(11,38,59,.96),rgba(14,56,81,.88) 53%,rgba(15,66,86,.44)),url('assets/hero.jpg') center/cover;min-height:590px;color:white;display:flex;align-items:center}.hero .wrap{padding:110px 0}.hero h1{font-size:clamp(39px,5.3vw,72px);max-width:830px;line-height:1.09;letter-spacing:-.045em;font-weight:790;margin:0 0 25px}.hero p{font-size:19px;max-width:660px;line-height:1.7;color:#deedf1;margin-bottom:31px}.heroactions{display:flex;flex-wrap:wrap;gap:12px}.hero .button.outline{background:transparent;color:white;border-color:#b7d9e0}.hero .button.outline:hover{background:#fff;color:var(--navy)}.section{padding:90px 0}.section.alt{background:var(--soft)}.section-heading{margin-bottom:38px}.section-heading h2,.pagehero h1{font-size:clamp(31px,3.2vw,46px);line-height:1.18;letter-spacing:-.035em;margin:0 0 16px;color:var(--navy)}.section-heading p{max-width:700px;color:var(--muted);margin:0}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px}.split p{color:#587084}.feature-img{width:100%;display:block;aspect-ratio:1.35;object-fit:cover;border-radius:8px;box-shadow:0 18px 55px #09304e20}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{padding:32px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 12px 35px #183e5310;transition:.2s}.card:hover{transform:translateY(-4px);box-shadow:0 16px 35px #183e5320}.card-icon{width:52px;height:52px;background:#dff2f7;color:var(--blue);border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:25px;font-weight:700;margin-bottom:20px}.card h3{margin:0 0 11px;color:var(--navy);font-size:21px;line-height:1.35}.card p{color:var(--muted);margin:0 0 15px;font-size:14px}.textlink{font-weight:750;font-size:14px}.vendor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.vendor{background:white;border:1px solid var(--line);border-radius:6px;padding:23px;min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px}.vendor img{width:100%;max-width:155px;height:55px;object-fit:contain}.vendor strong{font-size:14px;color:var(--navy)}.vendor small{font-size:12px;color:var(--muted);line-height:1.5}.callout{padding:52px 0;background:linear-gradient(100deg,var(--navy),#17677c);color:white}.callout .wrap{display:flex;align-items:center;justify-content:space-between;gap:25px}.callout h2{margin:0 0 8px;color:white;font-size:31px}.callout p{margin:0;color:#d3e7ec}.callout .button{background:white;color:var(--navy);border-color:white}.pagehero{background:linear-gradient(115deg,#0e2d42,#145777);padding:80px 0;color:white}.pagehero h1{color:white}.pagehero p{margin:0;color:#d1e4ee;max-width:680px}.pagecontent{padding:65px 0 90px}.pagecontent h2{color:var(--navy);line-height:1.3}.prose{max-width:900px}.prose p{margin:0 0 18px}.prose strong{color:var(--navy)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-grid .vendor{align-items:flex-start;text-align:left;min-height:185px}.product-grid .vendor img{max-width:160px}.pdf-list{display:flex;gap:15px;flex-wrap:wrap;margin-top:26px}.contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:25px}.contact-panel{padding:31px;background:var(--soft);border:1px solid var(--line);border-radius:7px}.contact-panel h2{margin-top:0}.footer{background:var(--deep);color:#d1e0e8;padding:62px 0 20px}.footer a{color:#d1e0e8}.footer a:hover{color:white}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.6fr;gap:50px}.footer h3{color:white;font-size:17px;margin:0 0 15px}.footer p,.footer li{font-size:14px;margin:0 0 12px}.footer ul{list-style:none;padding:0;margin:0}.footbottom{border-top:1px solid #ffffff20;margin-top:35px;padding-top:17px;font-size:12px;color:#9db3c1}.notice{background:#fff7e3;color:#664b18;border-left:4px solid #d9a83e;padding:14px 18px;margin:22px 0;font-size:14px}.wp-block-image img{height:auto}.pagecontent .entry-content{max-width:1000px}@media(max-width:900px){.mainnav{gap:16px}.cards,.product-grid{grid-template-columns:repeat(2,1fr)}.vendor-grid{grid-template-columns:repeat(3,1fr)}.split{gap:28px}.footer-grid{gap:25px}}@media(max-width:720px){.topline .wrap{justify-content:center}.topline span:last-child{display:none}.headerin{min-height:72px}.brand img{height:43px}.mobiletoggle{display:block}.mainnav{display:none;position:absolute;top:72px;left:0;right:0;background:white;padding:15px 22px 25px;flex-direction:column;align-items:stretch;gap:4px;box-shadow:0 15px 30px #183e5321}.mainnav.open{display:flex}.mainnav a{display:block;padding:11px 5px}.header .navbutton{display:none}.hero{min-height:490px}.hero .wrap{padding:73px 0}.hero h1{font-size:clamp(37px,9vw,55px)}.hero p{font-size:16px}.section{padding:62px 0}.split{grid-template-columns:1fr}.cards,.product-grid,.contact-grid{grid-template-columns:1fr}.vendor-grid{grid-template-columns:repeat(2,1fr)}.callout .wrap{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr;gap:20px}.pagehero{padding:60px 0}.pagecontent{padding:45px 0}.card{padding:25px}}@media(max-width:380px){.vendor-grid{grid-template-columns:1fr}.wrap{width:min(1180px,calc(100% - 30px))}}

/* v2 – blocchi WordPress e elenco certificazioni */
.home-content > p:empty{display:none}
.home-content .section,.home-content .hero,.home-content .callout{margin-top:0;margin-bottom:0}
.entry-content .wp-block-columns{gap:45px}
.entry-content .wp-block-button__link{background:var(--blue);border-radius:5px}
.entry-content img{max-width:100%;height:auto}
.biosud-documents{display:grid;gap:14px;margin:28px 0 45px}
.biosud-document{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px 25px;background:var(--soft);border:1px solid var(--line);border-radius:8px}
.biosud-document strong{display:block;font-size:17px;color:var(--navy)}
.biosud-document .doc-type{display:inline-block;margin:5px 0;color:var(--blue);font-size:12px;font-weight:700;text-transform:uppercase}
.biosud-document .doc-description p{margin:5px 0;font-size:14px}
.biosud-document .button{flex-shrink:0}
@media(max-width:720px){.biosud-document{align-items:flex-start;flex-direction:column}.biosud-document .button{width:100%}}

/* v3 Gutenberg: homepage editabile senza perdere il layout corporate */
.home-content .biosud-block-hero{background:linear-gradient(102deg,rgba(11,38,59,.96),rgba(14,56,81,.86) 53%,rgba(15,66,86,.45)),url('assets/hero.jpg') center/cover;color:white;padding:105px max(22px,calc((100vw - 1180px)/2));min-height:550px;display:flex;flex-direction:column;justify-content:center}
.home-content .biosud-block-hero h1{font-size:clamp(39px,5.1vw,70px);color:white;line-height:1.1;max-width:810px;margin:14px 0 20px}
.home-content .biosud-block-hero p{color:#e2edf3;font-size:19px;max-width:670px}
.home-content .biosud-block-section{padding:80px max(22px,calc((100vw - 1180px)/2))}
.home-content .biosud-block-alt{background:var(--soft)}
.home-content .biosud-block-cta{padding:55px max(22px,calc((100vw - 1180px)/2));background:var(--navy);color:white}
.home-content .biosud-block-cta h2{color:white}
.home-content .biosud-block-cta p{color:#d3e7ec}
.home-content .biosud-service{border:1px solid var(--line);padding:26px;border-radius:8px;background:white}
.home-content .biosud-service h3{color:var(--navy)}
.home-content .biosud-block-section .wp-block-columns{align-items:center;gap:42px}
.home-content .biosud-block-section figure img{width:100%;border-radius:8px}
.home-content .wp-block-button__link,.pagecontent .wp-block-button__link{background:var(--blue);border-radius:5px;font-size:14px;font-weight:700}
.vendor-link{display:flex;flex-direction:column;gap:8px;align-items:center;width:100%;color:inherit}
.vendor-link:hover strong{color:var(--blue)}
.vendor small{display:block;margin-top:5px}
@media(max-width:720px){.home-content .biosud-block-hero{padding:70px 22px;min-height:470px}.home-content .biosud-block-section{padding:55px 22px}.home-content .biosud-block-cta{padding:50px 22px}}

/* =====================================================
   BIO SUD - FOOTER COPYRIGHT E TRASPARENZA
   ===================================================== */

.biosud-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.biosud-footer-copyright {
    text-align: left;
}

.biosud-footer-transparency {
    text-align: right;
    margin-left: auto;
}

.biosud-footer-transparency a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.biosud-footer-transparency a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 768px) {

    .biosud-footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .biosud-footer-copyright,
    .biosud-footer-transparency {
        text-align: center;
        margin-left: 0;
    }

}

