/*
Theme Name: DevClib Theme
Theme URI:
Author: DevClimb
Author URI:
Description: A custom Bootstrap 5 WordPress theme for the redesign of Busatto Law Firm.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain:dev

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/



body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
}

.main-content{
  flex:1;
}

/* ======= Comments ======= */

#comments{margin-bottom: 40px;}
.comments{padding-top: 40px;}
.comments textarea{width: 100%;}
.comments label{ min-width: 80px;}
.comments ul,
.comments ol{list-style-type: none;}
.comment-author img{border-radius: 999px; width:50px;}
.comment .reply{border-bottom:  1px solid #ccc; margin-bottom: 30px;padding-bottom: 10px;}


/* ======= Input e textarea ======= */

input,
textarea{padding: 5px 10px; border: 1px solid #ccc}


/* ======= Widget ======= */

.widget_search .screen-reader-text{display: block;}
.widget_search #s{width:70%;float:left;}
.widget_search #searchsubmit{width:30%;float:left;background: #fff;}


/* ======= Pagination ======= */

.pagination{margin-bottom:40px}
.page-numbers{display: inline-block;padding: 10px 15px;border: 1px solid #ddd;margin-right:4px;}

/* ======= General wordpress style ======= */

.post img{max-width: 100%; height:auto;}


/* ======= WordPress core Style ======= */

 .gallery-caption{padding:5px; font-size: 10px;}
 .bypostauthor{border-left: 3px solid #ddd;padding-left: 20px;}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* ======= Bootstrap core style ======= */

details .fw-semibold{
    padding-left:20px;
}

details.fw-semibold span{
    padding-right:20px;
}

/* ======= Header and off-canvas navigation ======= */

:root {
  --header-primary: #C41D21;
  --header-white: #FFFFFF;
  --header-black: #000000;
  --header-light-gray: #E9E9E9;
  --header-heading: "Cormorant", Georgia, serif;
  --header-body: "Montserrat", Arial, sans-serif;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1080;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.is-scrolled .site-header,
.site-menu-is-open .site-header {
  background-color: var(--header-white);
  border-bottom-color: var(--header-light-gray);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
  transition: min-height 0.3s ease;
}

.is-scrolled .site-header__bar {
  min-height: 80px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.site-header__logo {
  display: block;
  width: auto;
  max-width: min(350px, 38vw);
  height: 72px;
  object-fit: contain;
  transition: height 0.3s ease;
}

.is-scrolled .site-header__logo {
  height: 60px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.site-header__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  gap: 10px;
  color: var(--header-white);
  background-color: var(--header-primary);
  border: 1px solid var(--header-primary);
  border-radius: 0;
  font-family: var(--header-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.site-header__contact:hover,
.site-header__contact:focus-visible {
  color: var(--header-white);
  background-color: var(--header-black);
  border-color: var(--header-black);
}

.site-header__contact i {
  font-size: 13px;
}

.site-menu-toggle,
.site-menu-close {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--header-black);
  background: transparent;
  border: 1px solid var(--header-black);
  border-radius: 0;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.site-menu-toggle:hover,
.site-menu-toggle:focus-visible,
.site-menu-close:hover,
.site-menu-close:focus-visible {
  color: var(--header-white);
  background-color: var(--header-primary);
  border-color: var(--header-primary);
}

.site-menu-toggle:focus-visible,
.site-menu-close:focus-visible,
.site-header__contact:focus-visible,
.site-menu-list a:focus-visible {
  outline: 3px solid var(--header-primary);
  outline-offset: 4px;
}

.site-menu-toggle__lines {
  display: grid;
  width: 22px;
  gap: 5px;
}

.site-menu-toggle__lines span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__lines span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__lines span:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__lines span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.site-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.56);
  border: 0;
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: default;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.site-menu-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 4vw, 48px);
  background-color: var(--header-white);
  border-left: 1px solid var(--header-light-gray);
  visibility: hidden;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.45s;
}

.site-menu-is-open {
  overflow: hidden;
}

.site-menu-is-open .site-menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.site-menu-is-open .site-menu-panel {
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.site-menu-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 24px;
}

.site-menu-panel__title {
  margin: 0;
  color: var(--header-primary);
  font-family: var(--header-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-menu-close span {
  position: absolute;
  width: 22px;
  height: 1px;
  background-color: currentColor;
}

.site-menu-close span:first-child {
  transform: rotate(45deg);
}

.site-menu-close span:last-child {
  transform: rotate(-45deg);
}

.site-menu-panel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  padding: 40px 0;
}

.site-menu-list,
.site-menu-list .sub-menu {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu-list > li + li {
  margin-top: clamp(12px, 2.5vh, 26px);
}

.site-menu-list a {
  text-align: left;
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 4px 10px;
  color: var(--header-black);
  font-family: var(--header-heading);
  font-size: clamp(25px, 4.2vw, 25px);
  font-weight: 500;
  line-height: 1.05;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-menu-list a::after {
  position: absolute;
  right: 10px;
  bottom: -2px;
  left: 10px;
  height: 1px;
  background-color: var(--header-primary);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-menu-list a:hover,
.site-menu-list a:focus-visible,
.site-menu-list .current-menu-item > a,
.site-menu-list .current-menu-ancestor > a,
.site-menu-list .current-menu-item > .site-menu-item__row > a,
.site-menu-list .current-menu-ancestor > .site-menu-item__row > a {
  color: var(--header-primary);
}

.site-menu-list a:hover::after,
.site-menu-list a:focus-visible::after,
.site-menu-list .current-menu-item > a::after,
.site-menu-list .current-menu-ancestor > a::after,
.site-menu-list .current-menu-item > .site-menu-item__row > a::after,
.site-menu-list .current-menu-ancestor > .site-menu-item__row > a::after {
  transform: scaleX(1);
}

.site-menu-item__row {
  display: flex;
  align-items: center;
  width: 100%;
}

.site-submenu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-left: 2px;
  padding: 0;
  color: var(--header-black);
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.site-submenu-toggle:hover,
.site-submenu-toggle:focus-visible,
.site-submenu-toggle[aria-expanded="true"] {
  color: var(--header-primary);
  border-color: var(--header-primary);
}

.site-submenu-toggle:focus-visible {
  outline: 3px solid var(--header-primary);
  outline-offset: 3px;
}

.site-submenu-toggle__icon {
  width: 9px;
  height: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s ease;
}

.site-submenu-toggle[aria-expanded="true"] .site-submenu-toggle__icon {
  transform: translateY(2px) rotate(225deg);
}

.site-menu-list .sub-menu {
  margin-top: 8px;
}

.site-menu-list.is-enhanced .sub-menu {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.25s ease, visibility 0s linear 0.4s;
}

.site-menu-list.is-enhanced .sub-menu[aria-hidden="false"] {
  max-height: 1000px;
  margin-top: 10px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.site-menu-list .sub-menu li + li {
  margin-top: 6px;
}

.site-menu-list .sub-menu a {
  font-family: var(--header-heading);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.4;
}


body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .site-menu-panel {
  top: 32px;
  height: calc(100dvh - 32px);
}

@media (max-width: 767.98px) {
  .site-header__bar {
    min-height: 78px;
    gap: 12px;
  }

  .is-scrolled .site-header__bar {
    min-height: 70px;
  }

  .site-header__logo {
    max-width: min(130px, 34vw);
    height: 58px;
  }

  .is-scrolled .site-header__logo {
    height: 52px;
  }

  .site-header__actions {
    gap: 8px;
  }

  .site-header__contact {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .site-menu-toggle,
  .site-menu-close {
    width: 44px;
    height: 44px;
  }

  .site-menu-panel {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .site-header__contact {
    width: 44px;
    padding: 0;
  }

  .site-header__contact span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .site-header__contact i {
    font-size: 15px;
  }

  .site-menu-list a {
    font-size: clamp(28px, 10vw, 38px);
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .site-menu-panel {
    top: 46px;
    height: calc(100dvh - 46px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__bar,
  .site-header__logo,
  .site-header__contact,
  .site-menu-toggle,
  .site-menu-toggle__lines span,
  .site-menu-close,
  .site-submenu-toggle,
  .site-submenu-toggle__icon,
  .site-menu-overlay,
  .site-menu-panel,
  .site-menu-list a,
  .site-menu-list a::after,
  .site-menu-list .sub-menu {
    transition: none !important;
  }
}

body.page-id-74 li.ivo {
	display: none!important;
}


/* ======= Contact Form ======= */

.wpcf7 form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7 form textarea,
.wpcf7 form select {
    width: 100% !important;
    box-sizing: border-box;
    border: none !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 12px 0 !important;
    outline: none !important;
	font-size: 16px!important;
	font-family: 'Cormorant'!important;
	background: white !important;
    padding-left: 20px !important;
}

.wpcf7 label {
  width:100%
}

/* Placeholder */
.wpcf7 form input::placeholder,
.wpcf7 form textarea::placeholder {
    font-style: italic !important;
    opacity: 1;
    color: #999;
}

/* Focus */
.wpcf7 form input:not([type="checkbox"]):not([type="radio"]):focus,
.wpcf7 form textarea:focus,
.wpcf7 form select:focus {
    border-bottom: 1px solid #ddd !important;
    box-shadow: none !important;
    outline: none !important;
}


.wpcf7 form input[type="checkbox"],
.wpcf7 form input[type="radio"],
.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
    width: auto !important;
    min-width: auto !important;
    display: inline-block !important;
    vertical-align: middle;
    margin-right: 8px;
    flex: 0 0 auto !important;
}

.wpcf7-list-item {
    margin: 0;
}


.wpcf7 form input[type="submit"] {
    background-color: #95949c !important;
    color: #555559 !important;
    font-size: 15px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 30px !important;
    cursor: pointer;
    transition: opacity .3s ease;
    width: 100% !important;
	font-family: 'Cormorant'!important;
	font-style: italic !important;
  text-transform: uppercase;
}

.wpcf7 form input[type="submit"]:hover {
    opacity: 0.9;
}

/* Link privacy checkbox */

.wpcf7-list-item-label {
font-size:12px;
}

.wpcf7-acceptance a {
    color: #C41D21 !important;
}

.cf7-row {
    display: flex;
    gap: 20px;
}

.cf7-col {
    flex: 1;
}

.cf7-col label,
.cf7-col .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.cf7-col input {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .cf7-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ======= Privacy e cookie policy ======= */

.sb-legal-page {
    --legal-primary: #C41D21;
    --legal-white: #FFFFFF;
    --legal-black: #000000;
    --legal-light-gray: #E9E9E9;
    --legal-heading: "Cormorant", Georgia, serif;
    --legal-body: "Montserrat", Arial, sans-serif;

    width: 100%;
    overflow: clip;
    background: var(--legal-white);
    color: var(--legal-black);
    font-family: var(--legal-body);
}

.sb-legal-page *,
.sb-legal-page *::before,
.sb-legal-page *::after {
    box-sizing: border-box;
}

.sb-legal-page h1,
.sb-legal-page h2,
.sb-legal-page h3 {
    margin-top: 0;
    color: var(--legal-black);
}

.sb-legal-page h1,
.sb-legal-page h2 {
    font-family: var(--legal-heading);
}

.sb-legal-page p,
.sb-legal-page li {
    color: var(--legal-black);
    font-family: var(--legal-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
}

.sb-legal-page p {
    margin: 0 0 1.25rem;
}

.sb-legal-page a {
    color: var(--legal-primary);
    font-weight: 600;
    overflow-wrap: anywhere;
    text-underline-offset: 0.2em;
    transition: color 0.25s ease;
}

.sb-legal-page a:hover {
    color: var(--legal-black);
}

.sb-legal-page a:focus-visible {
    outline: 3px solid var(--legal-primary);
    outline-offset: 4px;
}

.sb-legal-page .sb-legal-container {
    width: min(100% - 2rem, 1040px);
    max-width: 1040px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.sb-legal-hero {
    padding: clamp(10rem, 16vw, 14rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.sb-legal-title {
    max-width: 900px;
    margin: 0;
    font-family: var(--legal-heading);
    font-size: clamp(2.75rem, 6.5vw, 3rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.sb-legal-content {
    padding: 0 0 clamp(5rem, 10vw, 9rem);
}

.sb-legal-panel {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid transparent;
    border-radius: 0;
    background: var(--legal-light-gray);
    box-shadow: none;
    transition: border-color 0.25s ease;
}

.sb-legal-panel + .sb-legal-panel {
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

.sb-legal-panel:hover {
    border-color: #D1D1D1;
}

.sb-legal-panel h2 {
    margin-bottom: 1.25rem;
    font-family: var(--legal-heading);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.15;
}

.sb-legal-panel h3 {
    margin-bottom: 0.75rem;
    font-family: var(--legal-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.sb-legal-panel > :last-child,
.sb-legal-subsection > :last-child {
    margin-bottom: 0;
}

.sb-legal-panel-intro {
    border-left: 3px solid var(--legal-primary);
}

.sb-legal-subsection {
    margin-top: clamp(1.75rem, 4vw, 2.75rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid #CFCFCF;
}

.sb-legal-list {
    margin: 0 0 1.5rem;
    padding-left: 1.4rem;
}

.sb-legal-list li {
    padding-left: 0.35rem;
}

.sb-legal-list li + li {
    margin-top: 0.75rem;
}

.sb-legal-list li::marker {
    color: var(--legal-primary);
}

@media (max-width: 575.98px) {
    .sb-legal-page .sb-legal-container {
        width: min(100% - 1.5rem, 1040px);
    }

    .sb-legal-hero {
        padding-top: 8.5rem;
    }

    .sb-legal-title {
        font-size: clamp(2.25rem, 12vw, 3.25rem);
        line-height: 1.02;
    }

    .sb-legal-panel {
        padding: 1.5rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-legal-page a,
    .sb-legal-panel {
        transition: none !important;
    }
}


/* ======= 404 Style ======= */
.error-page {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url('assets/images/studio-busatto-assistenza-gare-appalto.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.error-page .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8); /* intensità overlay */
  z-index: 1;
}

.error-page .content-wrapper {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.error-page .content-wrapper {
  position: relative;
  z-index: 2;
  padding: 40px;
  border-radius: 12px;
 background-image: linear-gradient(-225deg, #000000 0%, #5f1114 52%, #c41d21 100%);
background-image: -webkit-linear-gradient(-225deg, #000000 0%, #5f1114 52%, #c41d21 100%);
background-image: -o-linear-gradient(-225deg, #000000 0%, #5f1114 52%, #c41d21 100%);
  color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ======= Site footer ======= */

.site-footer {
  --footer-primary: #C41D21;
  --footer-white: #FFFFFF;
  --footer-black: #000000;
  --footer-light-gray: #E9E9E9;
  background: var(--footer-white);
  color: var(--footer-black);
  font-family: "Montserrat", sans-serif;
}

.site-footer-main {
  width: 100%;
  border-top: 1px solid #d2d2d2;
}

.site-footer-column {
  min-width: 0;
  min-height: 800px;
}

.site-footer-column-inner {
  width: 100%;
  max-width: 620px;
  margin: auto;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}

.site-footer-contacts {
  display: flex;
  align-items: center;
  background: var(--footer-light-gray);
}

.site-footer-form {
  display: flex;
  align-items: center;
  border-right: 1px solid #d2d2d2;
  border-left: 1px solid #d2d2d2;
  background: var(--footer-white);
}

.site-footer-title {
  margin: 0 0 2rem;
  color: var(--footer-black);
  font-family: "Cormorant", serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
}

.site-footer-address {
  margin: 0;
  font-style: normal;
}

.site-footer-contact-item + .site-footer-contact-item {
  margin-top: 1.5rem;
}

.site-footer-contact-item h3 {
  margin: 0 0 0.4rem;
  color: var(--footer-black);
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer-contact-item p,
.site-footer-appointment {
  margin: 0;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.6;
}

.site-footer-contact-item a {
  color: var(--footer-black);
  overflow-wrap: anywhere;
  text-decoration-color: var(--footer-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 0.25s ease;
}

.site-footer-contact-item a:hover,
.site-footer-contact-item a:focus-visible {
  color: var(--footer-primary);
}

.site-footer-contact-item a:focus-visible,
.site-footer-form :is(input, textarea, select, button, a):focus-visible,
.site-footer-copyright a:focus-visible {
  outline: 3px solid var(--footer-primary);
  outline-offset: 3px;
}

.site-footer-appointment {
  margin-top: 2rem;
  color: var(--footer-primary);
}

.site-footer-form .wpcf7,
.site-footer-form .wpcf7 form {
  width: 100%;
}

.site-footer-form .wpcf7 form p {
  margin: 0 0 1.1rem;
}

.site-footer-form .wpcf7 label {
  display: block;
  width: 100%;
  color: var(--footer-black);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.site-footer-form .wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.site-footer-form .wpcf7 textarea,
.site-footer-form .wpcf7 select {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 0.45rem;
  padding: 0.85rem 1rem;
  border: 1px solid #8d8d8d;
  border-radius: 0;
  background: var(--footer-white);
  color: var(--footer-black);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.site-footer-form .wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer-form .wpcf7 input[type="submit"] {
  width: auto;
  max-width: 100%;
  padding: 16px 32px;
  border: 0;
  border-radius: 0;
  background: var(--footer-primary);
  color: var(--footer-white);
  font-family: "Cormorant", serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background-color 0.25s ease;
}

.site-footer-form .wpcf7 input[type="submit"]:hover,
.site-footer-form .wpcf7 input[type="submit"]:focus-visible {
  background: var(--footer-black);
}

.site-footer-form .wpcf7-not-valid-tip,
.site-footer-form .wpcf7 form.invalid .wpcf7-response-output,
.site-footer-form .wpcf7 form.unaccepted .wpcf7-response-output {
  color: var(--footer-primary);
}

.site-footer-form .wpcf7 form .wpcf7-response-output {
  margin: 1.25rem 0 0;
  padding: 0.85rem;
  border: 1px solid var(--footer-black);
}

.site-footer-map {
  height: 800px;
  background: var(--footer-light-gray);
}

.site-footer-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer-copyright {
  background: var(--footer-black);
  color: var(--footer-white);
}

.site-footer-copyright p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer-copyright a {
  color: var(--footer-white);
  text-decoration-color: var(--footer-primary);
  text-underline-offset: 0.2em;
}

.site-footer-copyright a:hover,
.site-footer-copyright a:focus-visible {
  color: var(--footer-primary);
}

@media (max-width: 991.98px) {
  .site-footer-column {
    min-height: auto;
  }

  .site-footer-form {
    border: 0;
    border-top: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
  }

  .site-footer-map {
    height: min(800px, 70vh);
    min-height: 420px;
  }
}

@media (max-width: 575.98px) {
  .site-footer-column-inner {
    padding: 3rem 1.25rem;
  }

  .site-footer-form .wpcf7 input[type="submit"] {
    width: 100%;
  }

  .site-footer-map {
    height: 480px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer-contact-item a,
  .site-footer-form .wpcf7 input[type="submit"] {
    transition: none !important;
  }
}


/* ======= Back to top ======= */

#btn-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1070;

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

    width: 48px;
    height: 48px;
    padding: 0;

    border: 0;
    border-radius: 0;
    background-color: #C41D21;
    color: #FFFFFF;

    font-size: 1rem;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease;
}

#btn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#btn-back-to-top:hover,
#btn-back-to-top:focus-visible {
    background-color: #000000;
    color: #FFFFFF;
}

#btn-back-to-top:focus-visible {
    outline: 3px solid #C41D21;
    outline-offset: 4px;
}

@media (max-width: 575.98px) {
    #btn-back-to-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #btn-back-to-top {
        transition: none !important;
    }
}


/* ======= Css Template ======= */
