/* Identità cromatica campionata dal marchio; il ciano puro è decorativo. */
body.sp2027 {
    --sp-ink: #12324b;
    --sp-brand: #004481;
    --sp-link: #005d90;
    --sp-cyan: #00abf3;
    --sp-rose: #e2005a;
    --sp-muted: #486174;
    --sp-line: #cbd9df;
    --sp-mist: #edf4f6;
    --sp-paper: #fbfbf8;
    --sp-inset: clamp(16px, 2.8vw, 44px);
    --sp-font: system-ui, -apple-system, "Segoe UI", sans-serif;
    background-color: var(--sp-paper);
    color: var(--sp-ink);
    font-family: var(--sp-font);
    font-size: clamp(16px, 1.08vw, 18px);
    line-height: 1.6;
}
.sp2027 :is(h1,h2,h3,h4,h5,h6,.btn,.main_menu,.caption .t1,.caption .t2) {
    font-family: var(--sp-font);
}
.sp2027 :is(h1,h2,h3,h4,.caption .t1) {
    font-weight: 630;
    letter-spacing: -.036em;
    text-transform: none;
    overflow-wrap: break-word;
}
.sp2027 h1 { font-size: clamp(34px, 4.7vw, 76px); line-height: 1.06; }
.sp2027 h2 { font-size: clamp(28px, 3.3vw, 52px); line-height: 1.13; }
.sp2027 h3 { font-size: clamp(23px, 2.4vw, 38px); line-height: 1.17; }
.sp2027 h4 { font-size: clamp(19px, 1.6vw, 25px); line-height: 1.24; }
.sp2027 .main { background-color: var(--sp-paper); }
.sp2027 .wpb_text_column p { line-height: 1.65; }
.sp2027 .wpb_text_column a:not(.btn) {
    text-decoration: underline; text-decoration-thickness: .075em; text-underline-offset: .18em;
}
.sp2027 :is(.header,.header .mainbar) { background-color: white; color: var(--sp-ink); }
.sp2027 .header .mainbar { border-bottom: 1px solid var(--sp-line); }
.sp2027 .header .topbar { background: var(--sp-ink); color: white; font-size: 13px; }
.sp2027 .topbar .container { border-color: transparent; }
.sp2027 .header .topbar a:is(:link,:visited) { color: white; }
.sp2027 .header .logo { margin-block: 8px; }
.sp2027 .header .logo .brand img {
    display: block; width: auto; height: clamp(51px, 4.5vw, 68px);
    max-height: none; max-width: 100%; object-fit: contain;
}
.sp2027 .menu_container ul.main_menu > li > a {
    color: var(--sp-ink); font-size: 14px; font-weight: 620; text-transform: none;
    letter-spacing: -.012em; transition: color 160ms ease;
}
.sp2027 .menu_container ul.main_menu > :is(.current-menu-item,.current-menu-ancestor,.active) > a {
    color: var(--sp-brand); text-decoration: underline; text-underline-offset: 7px;
    text-decoration-color: var(--sp-rose); text-decoration-thickness: 2px;
}
.sp2027 .header .menu_container ul.menu-dropdown {
    background-color: white; border: 1px solid var(--sp-line); border-radius: 6px;
}
.sp2027 .head_panel .caption .inner {
    background-color: rgba(251,251,248,.96); color: var(--sp-ink);
    border-inline-start: 3px solid var(--sp-rose);
    padding: clamp(16px, 2.8vw, 44px); text-shadow: none; max-width: 100%;
}
.sp2027 .head_panel .caption .t1 {
    font-size: clamp(27px, 4.4vw, 72px); line-height: 1.04; color: var(--sp-ink);
}
.sp2027 .head_panel .caption :is(.t2,.t3,.desc) {
    color: var(--sp-muted); text-transform: none; line-height: 1.35;
}
.sp2027 .section_header { margin-block-end: clamp(16px, 2.2vw, 32px); }
.sp2027 .section_header :is(h2,h3) { letter-spacing: -.04em; }
.sp2027 .section_header > p { font-size: 1em; text-transform: none; letter-spacing: 0; }
.sp2027 .teaser_box .figure img { max-width: 100%; height: auto; }
.sp2027 .teaser_box .hgroup h4 { margin: 0; line-height: 1.22; text-transform: none; }
.sp2027 .teaser_box .hgroup p { margin-block: 6px 0; font-size: .95em; line-height: 1.45; }
.sp2027 .main .btn, .sp2027 .head_panel .btn {
    display: inline-flex; align-items: center; justify-content: center;
    max-width: 100%; min-height: 44px; padding: 9px 18px;
    background: var(--sp-brand); border: 1px solid var(--sp-brand); border-radius: 5px;
    color: white; font-size: 15px; font-weight: 620; line-height: 1.35;
    letter-spacing: 0; text-transform: none; white-space: normal; text-align: center;
    transition: background-color 160ms ease, border-color 160ms ease;
}
.sp2027 .main .btn-secondary { background: white; border-color: var(--sp-line); color: var(--sp-brand); }
@media (hover: hover) {
    .sp2027 .main .btn:hover, .sp2027 .head_panel .btn:hover { color: white; background: var(--sp-ink); border-color: var(--sp-ink); }
    .sp2027 .menu_container ul.main_menu li a:hover { color: var(--sp-link); text-decoration: underline; text-underline-offset: 5px; }
}
.sp2027 .vc_separator .vc_sep_line { border-color: var(--sp-line); }
.sp2027 .vc_separator h4 { text-transform: none; letter-spacing: -.023em; line-height: 1.25; }
.sp2027 .vc_tta .vc_tta-panel-heading { border-radius: 4px; }
.sp2027 .vc_tta .vc_tta-panel-title > a { min-height: 44px; line-height: 1.4; }
.sp2027 .main :is(.wpcf7,.wpforms-form,.search-form) :is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=search],select,textarea) {
    max-width: 100%; min-height: 44px; border: 1px solid #6c8492; border-radius: 4px;
    background-color: white; color: var(--sp-ink); font: inherit; padding: 8px 12px;
}
.sp2027 .main :is(th,td) { border-color: var(--sp-line); }
.sp2027 .footer { background-color: var(--sp-ink); color: #eef4f7; }
.sp2027 .footer :is(h3,h4,.widget-title,a:link,a:visited) { color: white; }
.sp2027 .footer .widget-title { letter-spacing: -.02em; text-transform: none; }
.sp2027 .footer a:hover { text-decoration: underline; }
.sp2027 :focus-visible { outline: 3px solid #005d90; outline-offset: 3px; box-shadow: 0 0 0 3px white; }
@media print {
    .sp2027 .main { background-color: white; }
    html.sp2027-arrival::after { display: none; }
}
.sp2027 .head_panel .caption.caption_fancy .inner .t2::after {
    width: 40px; margin-block: 14px; border-bottom: 2px solid var(--sp-cyan);
}
.sp2027 .head_panel .caption .inner.transparent_film::before { background: transparent; }
.sp2027 .head_panel .caption .t2 { font-size: clamp(17px,1.8vw,28px); }
.sp2027 .main .wpb_text_column > .wpb_wrapper > :is(ul,ol) { padding-inline-start: 1.4em; }
.sp2027 .main .wpb_text_column li + li { margin-block-start: .35em; }
.sp2027 .main .section_header > :is(h1,h2,h3):first-child { margin-block-start: 0; }
.sp2027 .widget_search input[type="search"] { max-width: 100%; min-height: 44px; }
.sp2027 .main .wpb_text_column blockquote {
    padding-inline-start: clamp(16px,2vw,32px); border-inline-start: 3px solid var(--sp-cyan);
}
.sp2027-staff .main .vc_separator .vc_sep_holder:first-child { flex-grow: 0; width: 0; }
.sp2027-staff .main .vc_separator .vc_sep_holder:last-child { flex-grow: 1; }
