/* ============================================================
   Custom overrides — Avv. Luca Montanari
   Primario: #557c65 (verde)  Secondario: #000 / #1a1a1a
   ============================================================ */

/* Keyframe animazioni slide-caption (estratti da animate.css) */
@keyframes fadeInTopSlow {
    from { opacity: 0; transform: translate3d(0, -50px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInLeftSlow {
    from { opacity: 0; transform: translate3d(-5%, 0, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInBottomSlow {
    from { opacity: 0; transform: translate3d(0, 50px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Neutralizza il riferimento mancante in slick-theme.css */
.slick-loading .slick-list { background: #fff none; }

:root {
    --lm-green:      #557c65;
    --lm-green-dark: #3d5c4a;
    --lm-green-rgba: rgba(85, 124, 101, .5);
    --lm-black:      #1a1a1a;
}

/* ===================================================
   HEADER TOP
   =================================================== */
.header-top {
    background: var(--lm-black);
}

.header-top li {
    color: rgba(255,255,255,.7);
    padding: 7px 10px;
    font-size: 12px;
}

.header-top li i {
    color: var(--lm-green);
    font-size: 15px;
    padding-right: 6px;
    vertical-align: middle;
}

.header-top li .fa-envelope-o {
    font-size: 13px;
}

.header-top a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: 12px;
}

.header-top a:hover {
    color: var(--lm-green);
}

/* CTA top-right */
.btn-style.btn-style2 a,
.header-top .btn-style a {
    background: var(--lm-green);
    color: #fff;
    border-color: var(--lm-green);
    padding: 5px 16px;
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-radius: 20px;
    white-space: nowrap;
}

.btn-style.btn-style2 a:hover,
.header-top .btn-style a:hover {
    background: var(--lm-green-dark);
    border-color: var(--lm-green-dark);
}

/* Riga header-top: tutto su una sola riga, no wrap */
.header-top .container > .row {
    flex-wrap: nowrap;
    align-items: center;
}

.header-top ul.header-contact {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
}

/* Barrette separatore verticalmente centrate */
.header-contact li:before {
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
}

/* ===================================================
   LOGO & NAVIGATION
   =================================================== */
.header-area,
.header-area2,
.header-shot {
    background: rgba(10,10,10,.85);
}

.header-shot.sticky-header {
    background: var(--lm-black) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.logo {
    margin-top: 10px;
    margin-bottom: 10px;
}

.logo img {
    max-height: 55px;
    width: auto;
}

@media (min-width: 992px) {
    .logo img {
        max-height: 80px;
    }

    .main-menu nav ul li a {
        padding: 40px 16px;
    }
}

/* Menu links */
.main-menu nav ul li a {
    color: #fff;
    padding: 32px 16px;
}

.main-menu nav ul li a:hover,
.main-menu nav ul li.active > a {
    color: var(--lm-green);
}

/* Dropdown */
.main-menu nav ul li ul.submenu {
    background: var(--lm-black);
    border-top: 2px solid var(--lm-green);
    border-radius: 0 0 3px 3px;
}

.main-menu nav ul li ul.submenu li a {
    color: rgba(255,255,255,.75) !important;
    padding: 10px 18px;
}

.main-menu nav ul li ul.submenu li a:hover {
    color: var(--lm-green) !important;
    background: rgba(255,255,255,.05);
}

/* Mobile (slicknav) */
.slicknav_menu {
    background: var(--lm-black);
}

.slicknav_btn {
    background: var(--lm-green);
}

.slicknav_nav a:hover,
.slicknav_nav .slicknav_row:hover {
    background: var(--lm-green);
    color: #fff;
}

/* ===================================================
   BUTTONS (sostituisce oro → verde)
   =================================================== */
.btn-style a,
.btn-style-3 a {
    background: var(--lm-green);
    color: #fff;
    border: 2px solid var(--lm-green);
    padding: 12px 28px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: all .25s;
    border-radius: 25px;
}

.btn-style a:hover,
.btn-style-3 a:hover {
    background: transparent;
    color: var(--lm-green);
    border-color: var(--lm-green);
}

/* btn-style su sfondo verde (CTA) */
.cta-area .btn-style a {
    background: #fff;
    color: var(--lm-green);
    border-color: #fff;
}

.cta-area .btn-style a:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* ===================================================
   HERO SLIDER
   =================================================== */
.hero .slide {
    min-height: 750px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .25) 100%);
    z-index: 1;
}

.hero .slide .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    :root {
        --lm-mobile-header: 64px;
    }

    .hero,
    .hero.hero-slider-wrapper.hero-style-2 {
        height: calc(100dvh - var(--lm-mobile-header));
    }

    .hero .slide {
        height: calc(100dvh - var(--lm-mobile-header));
        min-height: calc(100dvh - var(--lm-mobile-header));
    }
}

.slide-caption {
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-style-2 .slide-caption p,
.hero-style-1 .slide-caption p {
    color: var(--lm-green);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .15em;
    line-height: normal;
    text-transform: uppercase;
}

.hero-style-2 .slide-caption h2,
.hero-style-1 .slide-caption h2,
.hero-style-2 .slide-caption h2 span,
.hero-style-1 .slide-caption h2 span {
    color: #fff;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.2;
    font-family: 'Playfair Display', serif !important;
    letter-spacing: 0.01em;
}

.hero-style-2 .slide-caption h2 span,
.hero-style-1 .slide-caption h2 span {
    display: block;
}

/* Slick dots e frecce */
.slick-dots li.slick-active button:before,
.slick-dots li button:before {
    color: var(--lm-green);
}

.slick-prev:before,
.slick-next:before {
    color: var(--lm-green);
}

/* ===================================================
   SERVICE AREA 2 (striscia quick-links sotto slider)
   =================================================== */
.service-area.service-area2 {
    background: #f4f4f4;
    padding: 0;
    overflow-x: hidden;
}

.service-area.service-area2:before {
    display: none;
}

.service-area.service-area2 .service-item {
    background: #fff;
    border: none;
    border-right: 1px solid #eee;
    margin-bottom: 0;
    text-decoration: none;
    transition: background .2s;
}

.service-area.service-area2 a.service-item:hover {
    background: #f9f9f9;
}

/* Colonna icona verde */
.icon-c {
    background: var(--lm-green) !important;
    height: 100px;
    max-width: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-area.service-area2 .service-icon {
    padding: 0;
}

.service-area.service-area2 .service-icon .fi {
    color: #fff;
    font-size: 45px;
}

.service-area.service-area2 .service-text {
    border-left: none;
    padding: 20px 10px 20px 15px;
}

.service-area.service-area2 .service-text span {
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    display: block;
    margin-bottom: 4px;
}

.service-area.service-area2 .service-text h3 {
    color: var(--lm-black);
    font-size: 20px;
    margin: 0;
}

/* ===================================================
   ABOUT AREA (home + inner pages)
   =================================================== */
.about-title .img-holder:before {
    background-color: var(--lm-green);
    left: -15px;
    top: -15px;
}

.about-area .about-text h2 {
    color: var(--lm-black);
}

.about-area.about-area2 .about-text h2 {
    font-size: 38px;
    margin-bottom: 25px;
    color: var(--lm-black);
}

.about-area .about-text p,
.about-text-content p,
.about-text-content li {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.about-area .about-text .btns {
    margin-top: 30px;
}

/* ===================================================
   STUDIO — sezione Filosofia + Gallery
   =================================================== */
.studio-filosofia {
    background: #f2f4f3;
    padding: 80px 0 0;
}

.studio-filosofia-label {
    display: inline-block;
    color: var(--lm-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 14px;
}

.studio-filosofia-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--lm-green);
}

/* Slogan — lista servizi in evidenza */
.studio-slogan {
    background: var(--lm-green);
    padding: 70px 0;
}

.studio-slogan__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0;
}

.studio-slogan__inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.studio-slogan__inner ul li {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(0,0,0,.08);
    line-height: 1.4;
}

.studio-slogan__inner h3 {
    color: #fff;
    font-size: clamp(2.15rem, 1.6vw, 1.4rem);
    margin-bottom: 20px;
}

.studio-slogan__inner ul li::before {
    content: '';
    width: 3px;
    height: 100%;
    min-height: 36px;
    background: rgba(255,255,255,.5);
    flex-shrink: 0;
    align-self: stretch;
}

@media (max-width: 991px) {
    .studio-slogan__inner ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .studio-slogan__inner ul {
        grid-template-columns: 1fr;
    }

    .studio-slogan__inner {
        padding: 0 16px;
    }
}

/* text2 a 2 colonne su desktop */
@media (min-width: 992px) {
    .studio-filosofia-cols {
        column-count: 2;
        column-gap: 3rem;
        text-align: left;
    }
}

/* Lista valori a 2 colonne */
.studio-filosofia-content ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    break-inside: avoid;
}

.studio-filosofia-content ul li {
    padding: 16px 0 16px 32px;
    position: relative;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(85,124,101,.12);
    break-inside: avoid;
    text-align: left;
}

.studio-filosofia-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--lm-green);
    border-radius: 50%;
}

/* Paragrafi nella sezione */
.studio-filosofia-content p {
    color: #555;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Gallery full-bleed */
.studio-gallery-strip {
    display: flex;
    margin-top: 60px;
    overflow: hidden;
}

.studio-gallery-item {
    flex: 1;
    overflow: hidden;
}

.studio-gallery-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.studio-gallery-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 767px) {
    .studio-filosofia-content ul {
        grid-template-columns: 1fr;
    }

    .studio-gallery-strip {
        flex-wrap: wrap;
    }

    .studio-gallery-item {
        flex: 0 0 50%;
    }

    .studio-gallery-item img {
        height: 200px;
    }
}

/* ===================================================
   STUDIO — composizione immagini
   =================================================== */
.studio-imgs {
    position: relative;
    padding-bottom: 80px;
}

.studio-img-main {
    display: block;
    width: 85%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.studio-img-secondary {
    display: block;
    width: 55%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 5px solid #fff;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

@media (max-width: 991px) {
    .studio-imgs {
        padding-bottom: 0;
    }
    .studio-img-main {
        width: 100%;
        height: 300px;
        margin-bottom: 12px;
    }
    .studio-img-secondary {
        position: static;
        width: 60%;
        height: 180px;
        margin-left: auto;
    }
}

/* ===================================================
   SECTION TITLE (sostituisce oro → verde)
   =================================================== */
.section-title span,
.section-title2 span {
    color: var(--lm-green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title h2 {
    color: var(--lm-black);
}

.practice-area .section-title h2 {
    color: #fff;
}

.practice-area .section-title span {
    color: #ada282;
}

.section-title h2:before {
    background: var(--lm-green);
    left: 0;
}

.section-title.text-center h2:before {
    left: 50%;
    transform: translateX(-50%);
}

.section-title2 h2 {
    color: var(--lm-black);
}

.section-title2 h2:before {
    background: var(--lm-green);
}

/* ===================================================
   PRACTICE AREA (sfondo immagine scuro — base barristar)
   =================================================== */
.practice-area {
    background-color: var(--lm-black);
}

.practice-area .service-item {
    margin-bottom: 0;
}

.practice-area .service-icon {
    flex-shrink: 0;
}

.practice-area .service-icon [class*="flaticon-"]:before,
.practice-area .service-icon i {
    font-size: 40px;
    color: #c0b596;
}

.practice-area .service-text {
    padding: 20px 20px 20px 25px;
}

.practice-area .service-text:before {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.practice-area .service-text h3 {
    font-size: 20px;
    margin-bottom: 0;
}

/* ===================================================
   PRACTICE AREA (stile 1 — sfondo chiaro)
   =================================================== */
.practice-area.practice-style-1 {
    background: #f8f8f8;
    padding: 80px 0 50px;
}

.practice-area.practice-style-1:before {
    display: none;
}

.practice-area.practice-style-1 h2 {
    color: var(--lm-black);
}

.practice-area.practice-style-1 .service-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px 20px;
    border-radius: 2px;
    transition: all .3s;
    margin-bottom: 30px;
}

.practice-area.practice-style-1 .service-item:hover {
    border-color: var(--lm-green);
    box-shadow: 0 6px 24px rgba(85,124,101,.12);
    transform: translateY(-3px);
}

/* Icona cerchio */
.practice-area.practice-style-1 .service-icon {
    border: 1px solid var(--lm-green-rgba);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 75px;
    text-align: center;
    padding: 0;
    flex-shrink: 0;
}

.practice-area.practice-style-1 .service-icon .fi {
    color: var(--lm-green);
    font-size: 40px;
    transition: color .3s;
}

.practice-area.practice-style-1 .service-item:hover .service-icon .fi {
    color: var(--lm-green-dark);
}

/* Testo area */
.practice-area.practice-style-1 .service-text {
    padding: 0;
    margin-left: 15px;
    border-left: none;
}

.practice-area.practice-style-1 .service-text:before {
    display: none;
}

.practice-area.practice-style-1 .service-text h3 {
    color: var(--lm-black);
    font-size: 20px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    position: relative;
}

.practice-area.practice-style-1 .service-text h3:before {
    background: var(--lm-green);
    width: 30px;
    height: 2px;
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
}

.practice-area.practice-style-1 .service-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* Override dimensioni flaticon in practice-style-1 */
.practice-area.practice-style-1 [class*="flaticon-"]:before {
    font-size: 40px !important;
}

/* ===================================================
   PAGE BANNER (pagine interne)
   =================================================== */
.page-banner {
    background: linear-gradient(135deg, var(--lm-black) 0%, #1e2d26 100%);
    padding: 110px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-banner-tall {
    padding: 260px 0 30px;
    display: flex;
    align-items: center;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.30) 100%);
    z-index: 1;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lm-green);
    z-index: 3;
}

.page-banner h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 15px;
}

.breadcrumb-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-wrap li {
    color: rgba(255,255,255,.5);
    font-size: 14px;
}

.breadcrumb-wrap li a {
    color: var(--lm-green);
    text-decoration: none;
}

.breadcrumb-wrap li + li::before {
    content: '›';
    margin-right: 8px;
    color: rgba(255,255,255,.3);
}

/* ===================================================
   CTA AREA
   =================================================== */
.cta-area {
    padding: 70px 0;
    background: linear-gradient(270deg, #557c65, #1a1a1a, #3d5c4a, #000);
    background-size: 400% 400%;
    animation: ctaGradient 10s ease infinite;
}

@keyframes ctaGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-area h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 12px;
    line-height: normal;
}

.cta-area p {
    color: rgba(255,255,255,.85);
    margin-bottom: 0;
    font-size: 16px;
}

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-page-item h2 {
    color: var(--lm-black);
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

.contact-page-item h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--lm-green);
}

.contact-page-item h3 {
    color: var(--lm-green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.contact-page-item .adress,
.contact-page-item .phone,
.contact-page-item .email {
    margin-bottom: 20px;
}

.contact-page-item .adress span,
.contact-page-item .phone span,
.contact-page-item .email span {
    color: #555;
    font-size: 15px;
}

.contact-page-item .phone a,
.contact-page-item .email a {
    color: #555;
    text-decoration: none;
}

.contact-page-item .phone a:hover,
.contact-page-item .email a:hover {
    color: var(--lm-green);
}

/* ===================================================
   CONTACT SPLIT LAYOUT
   =================================================== */
.lm-contact-split {
    display: flex;
    min-height: 600px;
}

/* Pannello sinistro */
.lm-contact-info {
    background: var(--lm-black);
    width: 38%;
    flex-shrink: 0;
    padding: 70px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lm-contact-info__title {
    color: #fff;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    margin-bottom: 20px;
    line-height: 1.25;
}

.lm-contact-info__intro {
    color: rgba(255,255,255,.85);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.lm-contact-info__intro p {
    color: rgba(255,255,255,.85);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 0;
}

.lm-contact-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.lm-contact-info__list li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,.75);
    font-size: 17px;
    line-height: 1.4;
}

.lm-contact-info__list a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: color .2s;
}

.lm-contact-info__list a:hover {
    color: var(--lm-green);
}

.lm-contact-info__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(85,124,101,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lm-contact-info__icon i {
    color: var(--lm-green);
    font-size: 15px;
}

.lm-contact-info__note {
    margin-top: 36px;
    padding: 16px 20px;
    border-left: 3px solid var(--lm-green);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.65);
    font-size: 14px;
    line-height: 1.6;
    border-radius: 0 4px 4px 0;
}

/* Pannello destro */
.lm-contact-form-panel {
    flex: 1;
    background: #f8f8f8;
    padding: 70px 60px;
    display: flex;
    align-items: center;
}

.lm-contact-form-panel > form {
    width: 100%;
    margin: auto 0;
}

.lm-contact-form-panel__title {
    color: var(--lm-black);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    margin-bottom: 30px;
}

/* Mobile: stack verticale */
@media (max-width: 991px) {
    .lm-contact-split {
        flex-direction: column;
    }

    .lm-contact-info {
        width: 100%;
        padding: 50px 24px;
    }

    .lm-contact-form-panel {
        padding: 50px 24px;
    }
}

/* Alert errore form */
.lm-contact-form .alert-danger,
.lm-contact-form .alert.alert-danger {
    background-color: #c0392b !important;
    border-color: #c0392b !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 14px 18px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
}

.lm-contact-form .alert-danger .btn-close,
.lm-contact-form .alert.alert-danger .btn-close {
    filter: invert(1) brightness(2);
    opacity: 1;
}

.lm-contact-form .alert-danger a,
.lm-contact-form .alert.alert-danger a {
    color: #fff;
    text-decoration: underline;
}

/* Link privacy nel form */
.lm-contact-form .form-check-label a,
.lm-contact-form label a {
    color: var(--lm-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lm-contact-form .form-check-label a:hover,
.lm-contact-form label a:hover {
    color: var(--lm-green-dark);
}

/* Form contatti */
.lm-contact-form input[type="text"],
.lm-contact-form input[type="email"],
.lm-contact-form textarea,
.lm-contact-form .form-control {
    border-radius: 6px !important;
    border: 1px solid #ccc !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    color: var(--lm-black) !important;
    width: 100%;
    transition: border-color .25s, box-shadow .25s;
    background: #fafafa !important;
    margin-bottom: 0;
    box-shadow: none !important;
    line-height: 1.5 !important;
}

.lm-contact-form input:focus,
.lm-contact-form textarea:focus,
.lm-contact-form .form-control:focus {
    border-color: var(--lm-green) !important;
    background: #fff !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(85,124,101,.12) !important;
}

.lm-contact-form textarea,
.lm-contact-form textarea.form-control {
    min-height: 220px !important;
    height: 220px !important;
    resize: vertical;
}

/* Wrapper campo: inverte ordine DOM (input prima, label dopo → label sopra visivamente) */
.lm-field {
    display: flex;
    flex-direction: column-reverse;
}
.form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-select ~ label::after {
  background-color:transparent!important;
}

.lm-field label,
.lm-contact-form .form-group label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-left: 10px;
    padding: 0;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: transparent;
}

/* Privacy: normale, no uppercase */
.lm-contact-form .form-check,
.lm-contact-form .form-check label,
.lm-contact-form .form-check-label {
    display: block !important;
    flex-direction: unset !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #555 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-bottom: 0 !important;
    text-align: left!important;
}

.lm-contact-form .submit-btn {
    background: var(--lm-green);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s;
    border-radius: 50px;
    display: inline-block;
}

.lm-contact-form .submit-btn:hover {
    background: var(--lm-green-dark);
}

/* ===================================================
   MAP
   =================================================== */
.map-area iframe {
    display: block;
    filter: grayscale(20%);
}

/* ===================================================
   FOOTER
   =================================================== */
.footer-area {
    background: var(--lm-black);
}

.footer-top {
    padding: 70px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo-center {
    max-width: 130px;
    width: 100%;
    height: auto;
}

.footer-widget h3 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--lm-green);
}

.footer-widget p,
.footer-widget p a {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}

.footer-widget p a:hover {
    color: var(--lm-green);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--lm-green);
}

@media (min-width: 992px) {
    .footer-links li {
        text-align: right;
    }

    .footer-links li a::after {
        content: '‹';
        margin-left: 6px;
        color: var(--lm-green);
    }

    .footer-links li a:hover {
        padding-right: 4px;
    }

    .footer-widget.text-lg-end h3::after {
        left: auto;
        right: 0;
    }
}

.footer-contact p {
    color: rgba(255,255,255,.55);
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.footer-contact p i {
    color: var(--lm-green);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--lm-green);
}

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom p {
    color: rgba(255,255,255,.35);
    margin: 0;
    font-size: 12px;
    line-height: normal;
}

.footer-bottom a {
    color: rgba(255,255,255,.35);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--lm-green);
}

.dc-logo {
    height: 18px;
    opacity: 0.45;
    transition: opacity .2s;
    vertical-align: middle;
}

.dc-logo:hover {
    opacity: 0.75;
}

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
    background: var(--lm-green);
}

.back-to-top:hover {
    background: var(--lm-green-dark);
}

/* ===================================================
   THANK YOU
   =================================================== */
.thankyou-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.thankyou-section .check-icon {
    width: 80px;
    height: 80px;
    background: var(--lm-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thankyou-section .check-icon i {
    color: #fff;
    font-size: 36px;
}

/* ===================================================
   PRELOADER
   =================================================== */
.loader_line {
    background: var(--lm-green);
}

/* ===================================================
   AREE ATTIVITÀ — card centrate icona + titolo
   =================================================== */
.lm-area-grid {
    margin-bottom: 10px;
    justify-content: center;
}

.lm-area-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 36px 20px 30px;
    text-align: center;
    transition: all .3s ease;
    margin-bottom: 24px;
    height: calc(100% - 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: default;
}

.lm-area-card:hover {
    border-color: var(--lm-green);
    box-shadow: 0 8px 32px rgba(85,124,101,.13);
    transform: translateY(-5px);
}

.lm-area-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(85,124,101,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background .3s;
    flex-shrink: 0;
}

.lm-area-card:hover .lm-area-icon {
    background: var(--lm-green);
}

.lm-area-icon .fi,
.lm-area-icon i {
    color: var(--lm-green);
    transition: color .3s;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lm-area-icon .fi::before,
.lm-area-icon i::before {
    font-size: 38px !important;
    line-height: 1;
    display: block;
}

.lm-area-card:hover .lm-area-icon .fi,
.lm-area-card:hover .lm-area-icon i {
    color: #fff;
}

.lm-area-title {
    color: var(--lm-black);
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    margin: 0;
    line-height: 1.4;
}

.lm-area-cta {
    padding-top: 10px;
    padding-bottom: 50px;
}

/* ===================================================
   ABOUT PAGE / STUDIO / PROFESSIONISTA
   =================================================== */
.about-quote {
    border-left: 3px solid var(--lm-green);
    padding: 15px 20px;
    margin: 20px 0;
    background: #f8f8f8;
    font-style: italic;
    color: #555;
}

.about-quote p {
    margin: 0;
    color: #555;
}

/* ===================================================
   FONT — General Sans sostituisce Open Sans
   =================================================== */
body,
p,
a,
li,
span,
input,
textarea,
button,
.form-control {
    font-family: 'General Sans', sans-serif;
    letter-spacing: 0.02em;
}

/* ===================================================
   UTILITIES
   =================================================== */
.text-green  { color: var(--lm-green); }
.bg-green    { background: var(--lm-green); }
.border-green { border-color: var(--lm-green) !important; }

/* Sezione padding standard */
.section-padding {
    padding: 110px 0;
}

@media (min-width: 992px) {

    /* About */
    .about-area.about-area2.section-padding {
        padding: 140px 0 120px;
    }

    /* Practice area */
    .practice-area.practice-style-1 {
        padding: 110px 0 80px;
    }

    /* CTA */
    .cta-area {
        padding: 90px 0;
    }

    /* Footer top */
    .footer-top {
        padding: 90px 0 70px;
    }

    /* Contact split panels */
    .lm-contact-info,
    .lm-contact-form-panel {
        padding: 90px 70px;
    }

    /* Contact split min-height */
    .lm-contact-split {
        min-height: 700px;
    }

    /* Section titles più respiro */
    .section-title {
        margin-bottom: 60px;
    }

    /* Aree card grid */
    .lm-area-grid {
        margin-bottom: 20px;
    }

    .lm-area-cta {
        padding-top: 20px;
        padding-bottom: 70px;
    }
}

/* ===================================================
   HAMBURGER BUTTON
   =================================================== */
.lm-hamburger {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 32px;
    height: 22px;
    outline: none;
    flex-shrink: 0;
}

.lm-hamburger span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: top .3s ease .1s, transform .3s ease, opacity .2s ease;
}

.lm-hamburger span:nth-child(1) { top: 0; }
.lm-hamburger span:nth-child(2) { top: 10px; }
.lm-hamburger span:nth-child(3) { top: 20px; }

.lm-hamburger.is-active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
    transition: top .3s ease, transform .3s ease .1s;
}

.lm-hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.lm-hamburger.is-active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
    transition: top .3s ease, transform .3s ease .1s;
}

/* ===================================================
   MOBILE NAV PANEL
   =================================================== */
.lm-mobile-nav {
    background: var(--lm-black);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    border-top: 1px solid rgba(255,255,255,.06);
}

.lm-mobile-nav.is-open {
    max-height: 500px;
}

.lm-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 8px 0 16px;
}

.lm-mobile-nav ul li {
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.lm-mobile-nav ul li a {
    display: block;
    padding: 14px 24px;
    color: rgba(255,255,255,.85);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}

.lm-mobile-nav ul li a:hover {
    color: var(--lm-green);
    padding-left: 32px;
}

.lm-mobile-nav ul li:last-child {
    border-bottom: none;
}

/* ===================================================
   MOBILE — header layout
   =================================================== */
@media (max-width: 991px) {

    .header-top {
        display: none;
    }

    .header-area,
    .header-area2,
    .header-shot {
        position: relative !important;
        background: var(--lm-black) !important;
    }

    .logo img {
        max-height: 48px;
    }

    .logo {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .slide-caption {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .page-banner {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .page-banner-tall {
        padding-top: 190px;
        padding-bottom: 10px;
    }

    .service-area.service-area2 {
        display: none;
    }

    .cta-area {
        text-align: center;
    }

    .cta-area .text-lg-end {
        text-align: center !important;
    }

    .footer-logo-center {
        display: none;
    }

    /* About area: padding e img-holder */
    .about-area.about-area2.section-padding {
        padding: 50px 0;
    }

    .about-area.about-area2 .about-title .img-holder:before {
        display: none;
    }

    .about-area .about-title .img-holder {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .about-area .about-title .img-holder img {
        width: 100%;
        height: auto;
    }
}
b, strong {
  font-weight: 600;
}

/* ===================================================
   CTA + FORM INTEGRATO
   =================================================== */
.cta-area--form {
    padding: 90px 0;
}

.cta-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-info-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,.8);
    margin-bottom: 16px;
    font-size: 15px;
}

.cta-info-list li i {
    color: var(--lm-green);
    width: 18px;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
}

.cta-info-list a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
}

.cta-info-list a:hover {
    color: #fff;
}

/* Form su sfondo scuro */
.lm-cta-form input[type="text"],
.lm-cta-form input[type="email"],
.lm-cta-form textarea,
.lm-cta-form .form-control {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.22) !important;
    color: #fff !important;
}

.lm-cta-form input[type="text"]::placeholder,
.lm-cta-form input[type="email"]::placeholder,
.lm-cta-form textarea::placeholder,
.lm-cta-form .form-control::placeholder {
    color: rgba(255,255,255,.35) !important;
}

.lm-cta-form input:focus,
.lm-cta-form textarea:focus,
.lm-cta-form .form-control:focus {
    background: rgba(255,255,255,.14) !important;
    border-color: var(--lm-green) !important;
    box-shadow: 0 0 0 3px rgba(85,124,101,.3) !important;
}

.lm-cta-form textarea,
.lm-cta-form textarea.form-control {
    min-height: 140px !important;
    height: 140px !important;
}

/* Nasconde label testuali (si usa il placeholder come hint) */
.lm-cta-form label:not(.form-check-label) {
    display: none !important;
}

/* Validazione: rimuove icone background, mostra errori leggibili su scuro */
.lm-cta-form .form-control.is-valid,
.lm-cta-form .form-control.is-invalid {
    background-image: none !important;
    padding-right: 16px !important;
}

.lm-cta-form .form-control.is-invalid {
    border-color: #f87171 !important;
}

.lm-cta-form .invalid-feedback {
    color: #fca5a5;
    font-size: 12px;
    margin-top: 4px;
}

/* Switch GDPR su sfondo scuro */
.lm-cta-form .form-check,
.lm-cta-form .form-check label,
.lm-cta-form .form-check-label {
    color: rgba(255,255,255,.65) !important;
}

.lm-cta-form .form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
    background-color: rgba(255,255,255,.2) !important;
    background-repeat: no-repeat !important;
    background-size: 1em !important;
    background-position: left center !important;
    border-color: rgba(255,255,255,.3) !important;
}

.lm-cta-form .form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
    background-color: var(--lm-green) !important;
    background-position: right center !important;
    border-color: var(--lm-green) !important;
}

.lm-cta-form .form-switch .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(85,124,101,.35) !important;
}

.lm-cta-form .form-check-label a,
.lm-cta-form label a {
    color: rgba(255,255,255,.85) !important;
}

.lm-cta-form .form-check-label a:hover,
.lm-cta-form label a:hover {
    color: #fff !important;
}

.lm-cta-form .submit-btn {
    background: #fff;
    color: var(--lm-green);
}

.lm-cta-form .submit-btn:hover {
    background: rgba(255,255,255,.88);
    color: var(--lm-green-dark);
}

.lm-cta-form .alert-danger,
.lm-cta-form .alert.alert-danger {
    background-color: rgba(192,57,43,.85) !important;
    border-color: transparent !important;
}

/* ===================================================
   PROFESSIONISTA
   =================================================== */
.professionista-photo {
    display: block;
    width: 100%;
    height: 640px;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 767px) {
    .professionista-photo {
        height: 320px;
    }
}

@media (min-width: 992px) {
    .professionista-bio-cols {
        column-count: 2;
        column-gap: 2.5rem;
    }
}

/* ===================================================
   PAGINE SECONDARIE (thankyou, 404, sitemap)
   =================================================== */
.lm-simple-page {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.lm-simple-page .container {
    width: 100%;
}

/* --- Thank you --- */
.lm-thankyou__icon {
    width: 80px;
    height: 80px;
    background: var(--lm-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.lm-thankyou__icon i {
    color: #fff;
    font-size: 36px;
}

.lm-thankyou__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--lm-black);
    margin-bottom: 14px;
    font-family: 'Playfair Display', serif;
}

.lm-thankyou__sub {
    color: #666;
    font-size: 17px;
    margin-bottom: 36px;
}

/* --- 404 --- */
.lm-404__number {
    font-size: clamp(7rem, 18vw, 14rem);
    font-weight: 700;
    color: var(--lm-green);
    line-height: 1;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
    opacity: .18;
    letter-spacing: -.04em;
}

.lm-404__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--lm-black);
    margin-bottom: 14px;
    font-family: 'Playfair Display', serif;
    margin-top: -60px;
}

.lm-404__sub {
    color: #444;
    font-size: 18px;
    margin-bottom: 8px;
}

.lm-404__text {
    color: #777;
    font-size: 15px;
    margin-bottom: 32px;
}

/* --- Sitemap --- */
/* ===================================================
   NEWS — card griglia e dettaglio
   =================================================== */
.lm-news-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 3px;
    transition: border-color .25s, box-shadow .25s, transform .25s;
    height: 100%;
}

.lm-news-card:hover {
    border-color: var(--lm-green);
    box-shadow: 0 8px 32px rgba(85,124,101,.13);
    transform: translateY(-4px);
}

.lm-news-card__body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lm-news-card__date {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lm-green);
    margin-bottom: 12px;
}

.lm-news-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--lm-black);
    line-height: 1.35;
    margin: 0 0 12px;
}

.lm-news-card__abstract {
    font-size: .9rem;
    color: #666;
    line-height: 1.65;
    margin: 0 0 20px;
    flex: 1;
}

.lm-news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lm-green);
    margin-top: auto;
    transition: gap .2s;
}

.lm-news-card:hover .lm-news-card__link {
    gap: 10px;
}

/* Corpo articolo */
.lm-news-body { color: #333; font-size: 1rem; line-height: 1.9; }
.lm-news-body p { margin-bottom: 1.5rem; }
.lm-news-body h2,
.lm-news-body h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: var(--lm-black);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.lm-news-body blockquote {
    border-left: 3px solid var(--lm-green);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    font-style: italic;
    color: var(--lm-black);
    background: rgba(85,124,101,.04);
}

/* Slideshow gallery */
.lm-news-slideshow {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
    cursor: pointer;
}
.lm-news-slideshow__track {
    display: flex;
    height: 100%;
    transition: transform .5s ease;
    will-change: transform;
}
.lm-news-slideshow__slide { flex: 0 0 100%; height: 100%; }
.lm-news-slideshow__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lm-news-slideshow__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.4);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 5;
}
.lm-news-slideshow__btn:hover { background: rgba(0,0,0,.7); }
.lm-news-slideshow__btn--prev { left: 14px; }
.lm-news-slideshow__btn--next { right: 14px; }

.lm-news-slideshow__expand {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,.4);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 5;
}
.lm-news-slideshow__expand:hover { background: rgba(0,0,0,.7); }

.lm-news-slideshow__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.lm-news-slideshow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.lm-news-slideshow__dot.active { background: #fff; transform: scale(1.3); }

/* Lightbox */
.lm-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 10;
}
.lm-lightbox-nav:hover { background: rgba(255,255,255,.35); }
.lm-lightbox-nav--prev { left: -22px; }
.lm-lightbox-nav--next { right: -22px; }

#newsLightbox .modal-dialog { max-width: 90vw; }

.lm-sitemap {
    align-items: flex-start;
}

.sitemap,
.sitemap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitemap > li {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.sitemap > li > a {
    border-top: 1px solid #e0e0e0;
    padding: 2.5rem .75rem 0;
    margin-top: 2.5rem;
    display: inline-block;
    width: 100%;
    text-decoration: none;
    font-size: 17px;
}

.sitemap > li:first-child > a {
    margin-top: 0;
    padding-top: 0;
    border: none;
}

.sitemap li h2 br {
    display: none;
}

.sitemap h2,
.sitemap li h3 {
    font-weight: 700;
    color: var(--lm-black);
}

.sitemap li h2 {
    margin-bottom: 0;
    font-size: 22px;
}

.sitemap li h3 {
    font-size: 17px;
    margin-bottom: .3rem;
    color: var(--lm-green);
}

.sitemap a {
    text-decoration: none;
    color: #444;
    transition: color .2s;
}

.sitemap a:hover {
    color: var(--lm-green);
}

.sitemap > li > ul {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0;
}

.sitemap > li > ul > li {
    flex: 0 0 auto;
    width: 33.33%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0 .75rem;
}

.sitemap > li > ul > li > a,
.sitemap > li > ul > li > ul > li > a {
    padding-bottom: .5rem;
    line-height: 1.4;
}

.sitemap > li > ul > li.haschild > a {
    padding-top: .75rem;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .sitemap > li > ul {
        flex-direction: column;
        margin-top: 1rem;
    }

    .sitemap > li > ul > li {
        width: 100%;
        padding: 0;
    }

    .sitemap > li > ul > li:not(:first-child) > a > h3 {
        margin-top: 1.2rem;
    }
}