@charset "UTF-8";
/* !p
Theme Name: Hair style nextframe
Theme URI: https://http://www.hairfashiongiuseppe.com/
Author: Matteo Capalbo
Author URI: https://matteocapalbo.com
Description: My fantastic base theme
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nextframe
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.
*/
/* ! IMPLEMENTAZIONE DI ITCSS */
/* ------------------------------------------------------ */
/**
 * Modern CSS Reset Tweaks
 * ================================================== */
html {
  -webkit-text-size-adjust: 100%;
}
html:focus-within {
  scroll-behavior: smooth;
}

body {
  text-size-adjust: 100%;
  position: relative;
  width: 100%;
  min-height: 100vh;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}

/* Box sizing normalization */
*,
::after,
::before {
  box-sizing: border-box;
}

/* Elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/**
 * CSS Reset Tweaks
 *
 * http://meyerweb.com/eric/tools/css/reset/
 * v2.0-modified | 20110126
 * License: none (public domain)
 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  font-size: 100%;
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* make sure to set some focus styles for accessibility */
:focus {
  outline: 0;
}

/* HTML5 display-role reset for older browsers */
main,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

/**
 * Input Reset
 */
input:required,
input {
  box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type=search] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

input:focus {
  outline: none;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
  display: inline-block;
  max-width: 100%;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 */
[hidden] {
  display: none;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: none;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  height: auto;
}

/* Make pictures easier to work with */
picture {
  display: inline-block;
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
  border: 0;
  background: transparent;
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

[disabled] {
  pointer-events: none;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 */
input[type=checkbox],
input[type=radio] {
  padding: 0;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

button {
  border: 0;
  background: transparent;
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
  text-indent: 0;
}

/**
 * Based on normalize.css v8.0.1
 * github.com/necolas/normalize.css
 */
hr {
  box-sizing: content-box;
  overflow: visible;
  background: #000;
  border: 0;
  height: 1px;
  line-height: 0;
  margin: 0;
  padding: 0;
  page-break-after: always;
  width: 100%;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 100%;
}

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: none;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 75%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -5px;
}

sup {
  top: -5px;
}

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
  outline: 0;
}

legend {
  color: inherit;
  white-space: normal;
  display: block;
  border: 0;
  max-width: 100%;
  width: 100%;
}

fieldset {
  min-width: 0;
}

body:not(:-moz-handler-blocked) fieldset {
  display: block;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Misc
 * ========================================================================== */
template {
  display: none;
}

/* ! Node modules */
/* ! Functions */
/* ------------------------------------------------------ */
/* ! Settings */
/* ------------------------------------------------------ */
/*

example in scss file
@include breakpoint(lg){ }

*/
/* Wordpress automaticaly add class color-font in backend when client choose color*/
.has-brand-m-color {
  color: #F9F9F4 !important;
}

.has-color-bg-dark-background-color {
  background-color: #252525 !important;
}

/*BODY*/
/*LIGHT*/
/*REGULAR*/
/*MEDIUM*/
/*BOLD*/
/* ! Tools */
/* ------------------------------------------------------ */
@keyframes arrowdown {
  0% {
    transform: translateY(0px);
  }
  40% {
    transform: translateY(6px);
  }
  80% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0px);
  }
}
.responsive,
.responsive img {
  width: 100%;
  height: auto;
}

.responsive-h,
.responsive-h img {
  height: 100%;
  width: auto;
}

picture {
  width: 100%;
  height: 100%;
}

iframe {
  width: 100%;
}

/* ! Generic */
/* ------------------------------------------------------ */
* {
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #333333;
  font-family: "Josefin Sans";
  font-size: 1rem;
  line-height: 1.5;
}
body.is--open {
  overflow: hidden;
}

h1,
.h1 {
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  font-size: 3.125rem;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 992px) {
  h1,
.h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  h1,
.h1 {
    font-size: 1.5rem;
  }
}

h2,
.h2 {
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 992px) {
  h2,
.h2 {
    font-size: 2rem;
    line-height: 1.25;
  }
}
@media (max-width: 768px) {
  h2,
.h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }
}

h3,
.h3 {
  margin-bottom: 1rem;
  letter-spacing: 0.25px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
}
@media (max-width: 992px) {
  h3,
.h3 {
    font-size: 1.5rem;
    line-height: 1.5;
  }
}

h4,
.h4 {
  letter-spacing: 0.25px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}

h5,
.h5 {
  margin-bottom: 1rem;
  letter-spacing: 0.25px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

a,
.link {
  text-decoration: none !important;
  letter-spacing: 0.5px;
  color: #000000;
  font-weight: 500;
}

p,
.body {
  margin-bottom: 1rem;
  letter-spacing: 0.25px;
  font-family: "Cormorant Garamond";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

a {
  text-decoration: none !important;
  letter-spacing: 0.5px;
  color: #000000;
  font-size: 1rem;
  font-weight: 500;
}

a:not([class]) {
  background: linear-gradient(currentColor 0 0) bottom/var(--d, 0) 2px no-repeat;
  transition: 0.5s;
}

a:not([class]):is(:hover, :visited) {
  filter: brightness(130%);
  --d: 100%;
}

.current-menu-item > a {
  --d: 100%;
}

a[href^="#"] {
  scroll-behavior: smooth;
}

/* ! Elemnts */
/* ------------------------------------------------------ */
/* ! Object */
/* ------------------------------------------------------ */
.o-container {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 992px) {
  .o-container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
}
.o-container--mod {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 1200px) {
  .o-container--mod {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
}

@media (min-width: 992px) {
  .o-container-lg {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
}
@media (max-width: 992px) {
  .o-container-max-xs {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.o-video-fullscreen {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.o-video-fullscreen {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* ! COMPONENTS */
/* ------------------------------------------------------ */
/* Atoms */
.ca-avatar {
  width: 60px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  margin: 0;
}
.ca-avatar img {
  clip-path: circle(calc(60px/ 2) at center);
}
.ca-avatar #avatar {
  width: 100%;
  height: 100%;
}

.ca-backdrop {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ca-backdrop.is-open {
  pointer-events: fill;
}
.ca-backdrop__back, .ca-backdrop__front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
}
.ca-backdrop__back {
  background-color: #F9F9F4;
}
.ca-backdrop__front {
  background-color: #FFFFFF;
}

.ca-button-1 {
  display: inline-flex;
  position: relative;
  z-index: 1;
  min-width: 20ch;
  padding: 1rem 1.5rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  text-decoration: none;
  color: #FFFFFF;
  border-radius: 30px;
  background-color: #b6ab9d;
  font-weight: bold;
  line-height: 1;
}
.ca-button-1:before {
  content: "";
  position: absolute;
  inset: initial;
  height: auto;
  width: 100%;
  background: "";
  z-index: 0;
  width: calc(100% + 0.5rem);
  height: calc(100% + 0.5rem);
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  opacity: 0;
  border: 1px solid #b6ab9d;
  border-radius: 30px;
  scale: 0.5;
}
@media (min-width: 768px) {
  .ca-button-1 {
    width: fit-content;
  }
}
.ca-button-1:hover {
  background-color: #7f7766;
}
.ca-button-1:hover::before {
  opacity: 1;
  scale: 1;
}

.ca-button-2 {
  display: inline-flex;
  position: relative;
  z-index: 1;
  min-width: 20ch;
  padding: 1rem 1.5rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  text-decoration: none;
  color: #FFFFFF;
  border-radius: 30px;
  background-color: #4c4c4c;
  font-weight: bold;
  line-height: 1;
}
.ca-button-2:before {
  content: "";
  position: absolute;
  inset: initial;
  height: auto;
  width: 100%;
  background: "";
  z-index: 0;
  width: calc(100% + 0.5rem);
  height: calc(100% + 0.5rem);
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  opacity: 0;
  border: 1px solid #4c4c4c;
  border-radius: 30px;
  scale: 0.5;
}
@media (min-width: 768px) {
  .ca-button-2 {
    width: fit-content;
  }
}
.ca-button-2:hover {
  background-color: #333333;
}
.ca-button-2:hover::before {
  opacity: 1;
  scale: 1;
}

.ca-button-3 {
  display: inline-block;
  position: relative;
  padding: 1rem 1.5rem;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);
  color: #555553;
  font-weight: bold;
  line-height: 1;
}
.ca-button-3:after {
  content: "";
  position: absolute;
  inset: initial;
  height: 1.5rem;
  width: 1.5rem;
  background: url("./custom/imgs/icon/icons8-down.svg") no-repeat center center/24px;
  z-index: 0;
  display: inline-block;
  top: 13px;
  margin-left: 0.25rem;
  transition: all 0.2s ease-in-out;
  opacity: 0.6;
}
@media (min-width: 768px) {
  .ca-button-3 {
    width: fit-content;
  }
}
.ca-button-3:hover {
  color: #7c7c79;
}
.ca-button-3:hover::after {
  animation: arrowdown 1.5s ease-in-out;
  opacity: 0.8;
}

.ca-button-4 {
  padding: 1.5rem 5rem;
  background-color: #BEB2A3;
  color: #FFFFFF;
  font-weight: bold;
  display: inline-block;
  line-height: 1;
  transition: 0.3s;
  cursor: pointer;
}
.ca-button-4:hover {
  background-color: #88806D;
}

/* Img particolare -> arco a tutto sesto */
/*  ---------------------------------------------  */
.fancy-group {
  position: relative;
  min-height: 380px;
  margin-inline: auto;
  border-radius: 46% 46% 0 0;
  background-color: #f0d4a8;
  display: block;
  aspect-ratio: 4/5;
  /* background-color: #F0D4A8; |  ::after = Clen star -> potrei inserire le star con js  |   __img   */
}
@supports not (aspect-ratio: 4/5) {
  .fancy-group {
    padding-top: 125%;
  }
}
.fancy-group:before {
  content: "";
  position: absolute;
  inset: initial;
  height: 100%;
  width: 100%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(79, 58, 43, 0.5) 0%, rgba(79, 58, 43, 0) 100%);
  z-index: 0;
  border-radius: 50%;
}
@media (max-width: 992px) {
  .fancy-group {
    width: min(85%, 460px);
    height: revert;
  }
}
.fancy-group img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: auto;
  max-width: revert;
  height: calc(100% + 4rem);
}

.fancy-group[data-type=card-service] {
  aspect-ratio: 1/1.2;
  min-height: 240px;
  margin-inline: auto;
}
@supports not (aspect-ratio: 4/5) {
  .fancy-group[data-type=card-service] {
    padding-top: 83.3333%;
  }
}
.fancy-group[data-type=card-service] img {
  width: 100%;
  height: auto;
}

.fancy-group[data-page=service] img {
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

[data-page=service] .fancy-group img {
  width: 100%;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
}

.fancy-group[data-title=Massaggi] {
  background-color: transparent;
}

p[class*=icon-] {
  width: 16px;
  height: 16px;
}
@media (width > 768px) {
  p[class*=icon-] {
    width: 36px;
    height: 36px;
  }
}

.icon-close {
  height: 36px;
  transition: transform 300ms ease-in-out;
  will-change: transform;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
@media (width < 768px) {
  .icon-close {
    display: none;
  }
}
.icon-close:hover {
  transform: rotate(90deg);
}

.icon.icon-anim {
  width: 16px;
  height: 16px;
  top: 11px;
  margin-left: 4px;
  background: url("./custom/imgs/icon/chevron.svg") no-repeat center center;
  background-size: 80%;
  cursor: pointer;
  padding: 8px;
}

.is--open .icon[data-file=chevron] {
  transform: rotate(180deg);
}

.ca-logo {
  width: 80px;
  padding: 0.5%;
  position: relative;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
}
.ca-logo img {
  width: 100%;
  inset: 0;
}

.ca-logo-2 {
  aspect-ratio: 1/1;
  background-color: #fff;
}

.container-logo {
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}
@media (width >= 768px) {
  .container-logo {
    margin-top: 7rem;
    gap: 1.8rem;
  }
}

.container.container-logo {
  padding-block: 1.5rem;
  justify-content: center;
  overflow-x: hidden;
}

.ca-stars {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}
@media (width > max-width-sma-wide) {
  .ca-stars {
    font-size: 16px;
  }
}
.ca-stars::before {
  content: "★★★★★";
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fc0 calc(var(--rating) / 5 * 100%), #7a7a7a calc(var(--rating) / 5 * 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hamburger {
  cursor: pointer;
  position: absolute;
  width: 48px;
  height: 48px;
  transition: all 0.25s;
  right: 10px;
  top: 5px;
  transition: all 500ms ease-out;
}
.hamburger:hover [class*=-bun] {
  background: #999;
}
@media (width >= 768px) {
  .hamburger {
    display: none;
  }
}
.hamburger__top-bun, .hamburger__bottom-bun {
  content: "";
  display: block;
  position: absolute;
  left: 15px;
  width: 18px;
  height: 2px;
  background: #000000;
  transform: rotate(0);
  transition: all 0.25s;
}
.hamburger__top-bun {
  top: 23px;
  transform: translateY(-3px);
}
.hamburger__bottom-bun {
  bottom: 23px;
  transform: translateY(3px);
}

.is--open .hamburger__top-bun {
  transform: rotate(45deg);
  background-color: #ce0017 !important;
}
.is--open .hamburger__bottom-bun {
  transform: rotate(-45deg);
  background-color: #ce0017 !important;
}

/* Molecules */
.cm-card, .cm-card-service, .cm-card-review {
  background-color: #f9f9f9;
  border: 1px solid #8c8c8c;
  border-radius: 8px;
  flex-basis: 280px;
}
.cm-card__wrapper, .cm-card-review__wrapper {
  padding: 16px;
  display: flex;
  flex-flow: wrap row;
  gap: 1rem;
}
.cm-card__media-group {
  margin: 0;
  width: 100%;
}

.cm-card-box {
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  background-color: #f9f9f9;
  width: fit-content;
}
@media (width > max-width-sma-wide) {
  .cm-card-box {
    flex: 1;
  }
}
.cm-card-box .wp-block-image {
  margin-bottom: 1.5rem;
}
.cm-card-box h4 {
  font-family: "Cormorant Garamond";
}

.cm-card, .cm-card-service, .cm-card-review {
  background-color: #f9f9f9;
  border: 1px solid #8c8c8c;
  border-radius: 8px;
  flex-basis: 280px;
}

.cm-card__wrapper, .cm-card-review__wrapper {
  padding: 16px;
  display: flex;
  flex-flow: wrap row;
  gap: 1rem;
}

.cm-card__media-group {
  margin: 0;
  width: 100%;
}

.cm-card-review {
  width: 100%;
  user-select: none;
  min-width: 280px;
}
@container component-card (width >=400px) {
  .cm-card-review {
    max-width: 480px;
    aspect-ratio: 3/1.8;
  }
}
.cm-card-review__wrapper {
  padding: 0 16px 16px;
  margin-top: -40px;
}
@container component-card (width > 400px) {
  .cm-card-review__wrapper {
    padding: 32px;
    margin-top: revert;
  }
}
.cm-card-review__heading {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-flow: column;
  margin-inline: auto;
  text-align: center;
}
@container component-card (width > 400px) {
  .cm-card-review__heading {
    flex-flow: row;
    margin-left: 0;
    text-align: revert;
  }
}
.cm-card-review figcaption h5, .cm-card-review p {
  margin-bottom: 4px;
}
.cm-card-review__text p {
  font-family: "Josefin Sans";
  color: #4c4c4c;
}

.container-card {
  container: component-card/inline-size;
  list-style-type: none;
}

.cm-card, .cm-card-review, .cm-card-service {
  background-color: #f9f9f9;
  border: 1px solid #8c8c8c;
  border-radius: 8px;
  flex-basis: 280px;
}

.cm-card__wrapper, .cm-card-review__wrapper {
  padding: 16px;
  display: flex;
  flex-flow: wrap row;
  gap: 1rem;
}

.cm-card__media-group {
  margin: 0;
  width: 100%;
}

.cm-card-service__wrapper {
  padding: 0;
  height: 100%;
  align-content: space-between;
  flex-direction: column;
  gap: 0;
}
.cm-card-service__media-group {
  flex-grow: 2;
  padding: 48px 1.5rem 2rem;
}
.cm-card-service__text {
  width: 100%;
  height: fit-content;
  border-top: 1px solid #808080;
  padding: 24px 24px 32px;
}
@media (width < 992px) {
  .cm-card-service__text .cm-title-group__body {
    margin-bottom: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }
}
.cm-card-service a:is(:hover, :active) {
  color: #333;
}
@media (width >= 992px) {
  .cm-card-service:hover {
    transform: translateY(-8px);
    box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.1);
  }
}

.cm-menu .menu-item {
  cursor: pointer;
}
.cm-menu li {
  display: block;
  padding: 0.5rem;
}
.cm-menu li a:is(:hover, :visisted) {
  color: #2e2e2d;
}
.cm-menu .sub-menu {
  padding-block: 16px;
}
.cm-menu .sub-menu li {
  padding-block: 4px;
}

/* ------------ Modifire ------------ */
.cm-menu.level--2 {
  display: flex;
  flex-flow: row wrap;
  gap: 24px;
}
.cm-menu.level--2 li {
  display: block;
}
.cm-menu.level--2 a {
  line-height: 1;
  font-size: 16px;
  font-weight: 400;
}

.cm-menu.level--2 > * {
  flex-basis: min(280px, 100%);
}
@media (width > 768px) {
  .cm-menu.level--2 > * {
    flex-basis: 45%;
  }
}

.cm-menu.level--2 > li > a {
  font-size: 20px;
  font-weight: 600;
}
@media (width > 768px) {
  .cm-menu.level--2 > li > a {
    line-height: 1;
    font-size: 24px;
  }
}

/* --------------------- Mobile --------------------- */
.is--open .mobile-view #main-menu .cm-menu li {
  width: 100%;
  display: block;
}
.is--open .mobile-view #main-menu .cm-menu li.dropdown {
  display: none;
  visibility: hidden;
}

.cm-mobile-menu {
  display: none;
  visibility: hidden;
}
.cm-mobile-menu .cm-menu {
  padding-block: 1.5rem;
}
.cm-mobile-menu .cm-menu .sub-menu {
  padding-block: 1rem;
}
.cm-mobile-menu a:not([href]) {
  font-weight: 700;
}

@media (width < 768px) {
  .is--open .cm-mobile-menu {
    display: block;
    visibility: visible;
  }
}

/* Organism */


.co-cover-band-1 {
  --bgc: $color-neutral-lst;
  display: grid;
  place-content: center;
  background-color: var(--bgc);
  overflow: hidden;
}
.co-cover-band-1__wrapper {
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (width > 768px) {
  .co-cover-band-1__wrapper {
    padding-inline: 8vw;
  }
}
.co-cover-band-1 .cm-title-group__supertitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.co-cover-band-1 .cm-title-group__title {
  font-size: clamp(1.5rem, 5vw, 6rem);
  margin-bottom: 1.5rem;
}
.co-cover-band-1 .cm-title-group__subtitle {
  font-size: 1.25rem;
  margin-bottom: 4rem;
  font-weight: 400;
}

.co-cover-band-1[data-type=wide] {
  min-height: calc(100vh - 4.625rem);
  min-height: calc(100svh - 4.625rem);
}

.co-cover-band-1[data-type=small] {
  min-height: calc(60vh - 4.625rem);
  min-height: calc(60svh - 4.625rem);
}

.co-fb-slider-1 {
  --column-width: 280px;
  padding-inline: 1rem;
}
@media (width >= 768px) {
  .co-fb-slider-1 {
    padding-inline: 2rem;
  }
}
.co-fb-slider-1__wrapper {
  display: grid;
  gap: 2rem;
  grid-auto-flow: column;
  grid-auto-columns: var(--column-width);
  padding-block: 4rem 1.5rem;
  will-change: transform;
}
@media (width >= 768px) {
  .co-fb-slider-1__wrapper {
    --column-width: 400px;
    padding-block: 3rem;
  }
}
@media (width >= 768px) {
  .co-fb-slider-1__wrapper.snap-scorll {
    --column-width: 480px;
    padding-block: 3rem;
  }
}
.co-fb-slider-1 .snap-scorll {
  overflow: auto;
  max-inline-size: 100%;
  scroll-snap-type: x mandatory;
  scroll-snap-align: center;
  scroll-padding: 2rem;
  scroll-padding-inline: 2ch;
  scroll-padding-inline: 0.5rem;
  overscroll-behavior-inline: contain;
  margin: 0 auto;
}
@media (width >= 992px) {
  .co-fb-slider-1 .snap-scorll {
    overflow: scroll;
  }
}
@media (width >= 768px) {
  .co-fb-slider-1 .snap-scorll::-webkit-scrollbar {
    width: 16px;
    height: 16px;
  }
  .co-fb-slider-1 .snap-scorll::-webkit-scrollbar-thumb {
    background: #333333;
  }
  .co-fb-slider-1 .snap-scorll::-webkit-scrollbar-track {
    background: #999999;
  }
  .co-fb-slider-1 .snap-scorll {
    scrollbar-face-color: #333333;
    scrollbar-track-color: #999999;
  }
}
.co-fb-slider-1 .snap-scorll li {
  display: inline-block;
}
.co-fb-slider-1 .snap-scorll > * {
  scroll-snap-align: start;
}
@media (width >= 768px) {
  .co-fb-slider-1 .snap-scorll > * {
    scroll-snap-align: start;
  }
}

.starting-scroll-snap-target {
  animation: scroll-start 2ms;
}

@keyframes scroll-start {
  from {
    scroll-snap-align: center;
  }
  to {
    scroll-snap-align: unset;
  }
}
.slider--center {
  min-width: 100% !important;
  padding-inline: 0 !important;
}
.slider--center .co-fb-slider-1 {
  margin-inline: auto;
}

#splide-2-slide04 .fancy-group {
  background-color: transparent;
}

/*
* inizialmente le rogole flex e grid venivano messe sul __wrapper, questo è un problema perchè se utilizzo wordpress non riesco a gestire i moduli
*/
.co-fb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.grid-center {
  place-content: center;
  align-content: center;
}

.co-flex-grid {
  max-width: 1300px;
  margin-inline: auto;
  padding-block: 64px;
}
.co-flex-grid__wrapper {
  display: flex;
  flex-flow: row wrap;
}

.flex-v-center {
  align-items: center;
}

.flex-h-center {
  justify-content: center;
}

.fl-center {
  align-items: center;
  justify-content: center;
}

.grid-rows {
  display: grid;
  grid-template-rows: repeat(auto-fill, minmax(0, 1fr));
}

.co-review {
  margin-bottom: 0 !important;
}
.co-review .wp-container-17 .container-card .cm-card-review {
  height: 100%;
}

.review {
  padding: var(--space-xl);
}
@media (max-width: 768px) {
  .review {
    padding: var(--space-l);
  }
}

.co-form {
  width: min(100%, 800px) !important;
  margin-top: var(--space-xl) !important;
  padding: 0px !important;
  gap: 0;
}
@media (width >= 768px) {
  .co-form {
    padding-top: 48px;
  }
}
.co-form__wrapper {
  border-radius: 16px;
  box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.1);
  padding: 48px 1.5rem;
  margin-inline: auto;
}
@media (width >= 768px) {
  .co-form__wrapper {
    padding: 4rem 2rem;
  }
}

.wp-block-columns:has(.co-list-services) {
  min-width: 100%;
  padding: 0;
}

.co-list-services {
  max-width: 1400px;
  margin: 0 auto !important;
  padding: 1.5rem;
}
@media (width >= 768px) {
  .co-list-services {
    padding: 4rem;
  }
}
.co-list-services > div {
  padding-inline: 0;
}
.co-list-services .wp-block-heading {
  white-space: nowrap;
}
.co-list-services .cm-list-services {
  /**
       * User input values.
       */
  /* This gets overridden by an inline style. */
  /* This gets overridden by an inline style. */
  /**
       * Calculated values.
       */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(260px, calc((100% - calc(2 * 1rem)) / 3)), 1fr));
  grid-gap: 1rem;
  padding: 2rem 0 0 !important;
}
.co-list-services .cm-list-services ul {
  margin-top: 1.5rem;
  list-style-image: url("custom/imgs/icon/diamond.svg") !important;
  list-style-position: outside;
  padding-left: 1.2rem;
}
.co-list-services .cm-list-services ul li {
  padding-left: 0.25rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .co-maps .wp-block-media-text__content {
    padding-left: 0;
    margin-bottom: 2rem;
    align-self: flex-start;
  }
}
.co-maps .wp-block-column.is-layout-flow {
  width: 100%;
  align-self: center;
}
.co-maps iframe {
  width: 100% !important;
}
@media (width <= 768px) {
  .co-maps .wp-block-column.is-layout-flow:nth-child(2) {
    order: -1;
  }
}

.co-media-text {
  display: grid;
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #F7F7F2;
  place-content: center;
  /* Contenutori img and text  */
  /*  ---------------------------------------------  */
  /* Orari di apertuna */
  /*  ----------------------------------  */
  /* Review - recensioni  */
  /*  ---------------------------------------------  */
}
@media (max-width: 1200px) {
  .co-media-text {
    overflow: hidden;
    padding: 5rem 2rem;
  }
}
@media (max-width: 992px) {
  .co-media-text {
    padding-block: 4rem;
  }
}
@media (max-width: 768px) {
  .co-media-text {
    padding: 2rem 1.5rem;
  }
}
.co-media-text__wrapper {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  flex-flow: row wrap;
  gap: 4rem;
}
@media (max-width: 992px) {
  .co-media-text__wrapper {
    flex-flow: column;
    gap: 1.5rem;
  }
}
.co-media-text__media-group, .co-media-text__text {
  position: relative;
  width: 50%;
}
@media (max-width: 992px) {
  .co-media-text__media-group, .co-media-text__text {
    width: 100%;
    padding: 0;
  }
}
.co-media-text__media-group {
  flex: 1;
}
.co-media-text__media-group::selection {
  color: none;
  background-color: none;
}
@media (max-width: 992px) {
  .co-media-text__img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}
.co-media-text__text {
  display: flex;
  align-content: center;
  flex-flow: column wrap;
}
@media (max-width: 1200px) {
  .co-media-text__text {
    flex-basis: revert;
    max-width: 70ch;
  }
}
.co-media-text .callout {
  position: relative;
  margin-bottom: 4rem;
  margin-left: calc(2px + 0.5rem);
  font-weight: 700;
}
.co-media-text .callout:before {
  content: "";
  position: absolute;
  inset: initial;
  height: 100%;
  width: 2px;
  background: #333333;
  z-index: 1;
  top: 0;
  left: -0.5rem;
}
.co-media-text .co-media-text__review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.co-media-text .co-media-text__review:hover, .co-media-text .co-media-text__review:active {
  color: #7c7c79;
}
.co-media-text .co-media-text__review p {
  white-space: nowrap;
}
.co-media-text .co-media-text__review > * {
  margin-block: 0;
}

/* -------------------------------------------------------------------------------- */
/* ! Esclusivo per la home */
/* -------------------------------------------------------------------------------- */
.co-media-text.co-media-text--home {
  min-height: calc(100vh - 4.625rem);
  min-height: calc(100svh - 4.625rem);
  background-color: #F7F7F2;
}
.co-media-text.co-media-text--home .co-media-text__title {
  margin-bottom: 1.5rem;
  font-family: "Josefin Sans";
  font-size: 3.125rem;
  font-weight: 500;
}
@media (max-width: 992px) {
  .co-media-text.co-media-text--home .co-media-text__title {
    margin-bottom: 1rem;
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .co-media-text.co-media-text--home .co-media-text__title {
    font-size: 2rem;
    font-weight: 700;
  }
}
.co-media-text.co-media-text--home .co-media-text__subtitle {
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  .co-media-text.co-media-text--home .co-media-text__subtitle {
    font-size: 1.25rem;
  }
}
.co-media-text.co-media-text--home .co-media-text__review {
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .co-media-text.co-media-text--home .co-media-text__review img {
    width: 70px;
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Esclusivo per la servizio parrucchiere */
/* -------------------------------------------------------------------------------- */
.co-media-text[data-type=cover][data-page=service] .co-media-text__text {
  display: block;
}
@media (width < 992px) {
  .co-media-text[data-type=cover][data-page=service] .co-media-text__text {
    margin-bottom: 1em;
  }
}
.co-media-text[data-type=cover][data-page=service] .co-media-text__title {
  font-family: "Cormorant Garamond";
  font-weight: 700;
}
.co-media-text[data-type=cover][data-page=service] .co-media-text__subtitle {
  font-size: 1.25rem;
  font-weight: 400;
}
.co-media-text[data-type=cover][data-page=service] .ca-button-3 {
  padding-left: 0;
}

/* -------------------------------------------------------------------------------- */
/* ! All'interno dell'archivio in cpt */
/* -------------------------------------------------------------------------------- */
[class*="post-type-archive post-type-archive-"] .ct-main > section {
  min-height: 0;
  padding-block: 4rem 2rem;
}
@media (width >= 992px) {
  [class*="post-type-archive post-type-archive-"] .ct-main > section {
    padding-block: 5rem;
  }
}

@media (width >= 992px) {
  body[class*="post-type-archive post-type-archive-"] .ct-main > section:nth-child(even) .co-media-text__text {
    order: 2;
  }
}

[class*="post-type-archive post-type-archive-"] .fancy-group {
  max-width: 600px;
  aspect-ratio: 4/5;
}

body[class*="post-type-archive post-type-archive-"] .fancy-group img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.co-media-service {
  display: grid !important;
  grid-template-columns: 1fr;
  position: relative;
  width: min(95%, 700px) !important;
  margin: 0 auto;
  gap: 0;
  place-content: center;
  /* Contenutori img and text  */
  /*  ---------------------------------------------  */
}
@media (width >= 1000px) {
  .co-media-service {
    width: min(100%, 1200px) !important;
    padding: 1.5rem;
    grid-template-columns: 1fr 1fr;
  }
}
@media (width >= 1200px) {
  .co-media-service {
    overflow: hidden;
    padding: 5rem 4rem;
    gap: 0.8rem;
  }
}
.co-media-service__media-group, .co-media-service__text {
  overflow: hidden;
  position: relative;
  width: 100%;
}
@media (width >= 992px) {
  .co-media-service__media-group, .co-media-service__text {
    border-radius: 8px !important;
    width: 100%;
    padding: 0;
  }
}
.co-media-service__text {
  border-radius: 8px 8px 0 0;
  padding: 2rem 1.5rem;
}
.co-media-service__text .cm-title-group {
  margin-bottom: 1.5rem;
}
@media (width >= 1000px) {
  .co-media-service__text {
    grid-column: 1/2;
    grid-row: 1/2;
  }
}
@media (width >= 1200px) {
  .co-media-service__text {
    overflow: hidden;
    padding: 2rem;
    gap: 0.8rem;
  }
}
.co-media-service__media-group {
  order: 2;
}
@media (width < 1000px) {
  .co-media-service__media-group {
    border-radius: 0 0 8px 8px;
  }
}
.co-media-service__media-group figure,
.co-media-service__media-group img {
  height: 100% !important;
}
@media (width >= 1000px) {
  .co-media-service__media-group {
    min-height: 70vh !important;
    min-height: 70svh;
    grid-column: 2/3;
    grid-row: 1/2;
  }
}
@media (max-width: 992px) {
  .co-media-service__img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}
.co-media-service .wp-block-media-text {
  display: flex;
  flex-flow: row;
  align-items: center;
  margin-bottom: 1rem;
}
.co-media-service .wp-block-media-text .wp-block-media-text__media {
  order: 1;
  width: 24px;
}
.co-media-service .wp-block-media-text .wp-block-media-text__content {
  width: 100%;
  padding-inline: 0.5rem;
}
.co-media-service .wp-block-media-text .wp-block-media-text__content p {
  margin-bottom: 0;
}

.co-footer {
  background-color: #1b1b1b;
}
.co-footer__wrapper {
  display: flex;
  flex-flow: column;
  max-width: 1400px;
  margin: 0 auto;
  color: #CCCCC8;
  padding: 1rem 1.5rem;
}
.co-footer li {
  margin-bottom: 0.5em;
}
.co-footer li:last-child {
  margin-bottom: 0;
}
.co-footer li,
.co-footer a {
  color: #8C8C89;
}

.co-footer-main__content, .co-footer-main__navigation {
  display: grid;
}
@media (width >= 992px) {
  .co-footer-main__content, .co-footer-main__navigation {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
    gap: 1.5rem;
  }
}
@media (width >= 576px) {
  .co-footer-main__content {
    border-bottom: 1px solid #333333;
  }
}
@media (width >= 768px) {
  .co-footer-main__content {
    grid-template-columns: 2fr 1fr;
  }
}
@media (width >= 576px) {
  .co-footer-main__navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.co-footer-main__content > div {
  border-bottom: 1px solid #333333;
}
.co-footer-main__content > div, .co-footer-main__navigation > nav {
  padding-block: 1.5rem 2rem;
}
@media (width >= 768px) {
  .co-footer-main__content > div, .co-footer-main__navigation > nav {
    border: 0;
  }
}
.co-footer-main__cta {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1.5rem;
}
.co-footer-main__cta p.h2 {
  white-space: balance;
}
@supports (white-space: balance) {
  .co-footer-main__cta p.h2 {
    max-width: 24ch;
  }
}
@media (width < 992px) {
  .co-footer-main__cta p.h2 {
    font-size: 2.5rem;
  }
}
.co-footer-main__cta .fancy-icon {
  flex-basis: 70px;
}
@media (width >= 768px) {
  .co-footer-main__info {
    display: flex;
    justify-content: flex-end;
  }
}
.co-footer-main__social > *:not(:last-child) {
  margin-right: 1rem;
}
.co-footer-main__legal {
  display: block;
  background-color: #333333;
  padding: 1.5rem 1.5rem 2rem;
}
@media (width >= 576px) {
  .co-footer-main__legal {
    margin-top: 1.5rem;
  }
}
.co-footer-main__legal__wrapper {
  max-width: 1400px;
  margin: 0 auto;
}
.co-footer-main__legal-company {
  margin-bottom: 2rem;
  color: #8C8C89;
}
.co-footer-main__legal-list {
  display: flex;
  gap: 1em;
}

.co-header {
  width: 100%;
  height: 58px;
  position: fixed;
  top: 0;
  left: 0;
  transition: height 500ms ease-in-out;
  z-index: 1000;
  padding: 1rem 1.5rem;
  background-color: #FFFFFF;
}
@media (width >= 768px) {
  .co-header {
    height: 72px;
  }
}
.co-header__wrapper {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}
.co-header__logo {
  width: 140px;
  position: relative;
  height: 100%;
}
@media (width < 768px) {
  .co-header #main-menu {
    display: none !important;
    visibility: hidden !important;
  }
}
.co-header #main-menu li {
  display: inline-block;
}

.logged-in .co-header {
  top: 30px;
}

.is--open .co-header {
  height: 100vh;
  height: 100dvh;
  overflow: auto;
}
@media (width >= 768px) {
  .is--open .co-header {
    height: min(620px, 75vh);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }
}
@media (width < 768px) {
  .is--open .co-header__wrapper {
    flex-direction: column;
    align-items: baseline;
  }
}
.is--open .co-header__wrapper > * {
  align-self: baseline;
}

.privacy-policy {
  color: #000000;
}
.privacy-policy .ct-main :is(h1, h2, h3, h4, h5) {
  margin-top: 1em;
  margin-bottom: 0.5em;
}
.privacy-policy .ct-main ol, .privacy-policy .ct-main ul {
  list-style: revert;
  list-style-position: inside;
}
.privacy-policy .ct-main li, .privacy-policy .ct-main p {
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.co-secondary-menu {
  display: none;
  visibility: hidden;
  max-width: 1400px;
  margin: 0 auto;
  overflow-y: hidden;
  max-height: 0;
  transition: all 500ms cubic-bezier(0.15, 0.61, 0.355, 1);
}
.co-secondary-menu__wrapper {
  padding-block: 2rem 1.5rem;
  overflow-x: hidden;
}
.co-secondary-menu__heading {
  width: 100%;
  position: relative;
  border-bottom: 1px dashed #b3b3b3;
  display: none;
  visibility: hidden;
}
@media (width >= 768px) {
  .co-secondary-menu__heading {
    display: block;
    visibility: visible;
  }
}
.co-secondary-menu__heading p:not(.h3) {
  margin-bottom: 2rem;
}

.bg {
  display: none;
  visibility: hidden;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  z-index: 500;
  background: #0000008b;
  transition: height 500ms ease-in-out;
  inset: 0;
}

/* ----------------------------------------------------- */
.is--open .bg {
  display: block;
  visibility: visible;
}

@media (width >= 768px) {
  .is--open .co-secondary-menu {
    max-height: 100%;
    display: block !important;
    visibility: visible !important;
  }
}

.co-secondary-menu__level.level--1 {
  padding-top: 48px;
}

.co-secondary-menu__wrapper #main-menu {
  padding-top: 24px;
}

.co-services {
  width: min(100%, var(--max-width-desktop));
  padding: var(--space-xxl);
  margin: 0 auto;
}
@media (max-width: 768px) {
  .co-services {
    padding: var(--space-l);
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Flip card service */
/* -------------------------------------------------------------------------------- */
@media (width >= 1000px) {
  .co-services > .co-media-service:nth-child(even) .co-media-service__text {
    grid-column: 2/3;
    grid-row: 1/2;
  }
}

@media (width >= 1000px) {
  .co-services > .co-media-service:nth-child(even) .co-media-service__media-group {
    grid-column: 1/2;
    grid-row: 1/2;
  }
}

/* Template */
.ct-main {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  padding-top: 58px;
}
@media (width >= 768px) {
  .ct-main {
    padding-top: 72px;
  }
}

.ct-main > :is(.wp-block-columns, .co-services) {
  padding-inline: var(--space-l);
}

.ct-main-about {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding-right: 2rem;
  padding-top: 4.625rem;
  transition: transform 0.6s cubic-bezier(0.39, 0.575, 0.565, 1);
}
@media (min-width: 992px) {
  .ct-main-about {
    min-height: 100vh;
    padding: 5rem 5rem 0 0;
  }
}

.ct-main-picture {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0 2rem;
  padding-top: 4.625rem;
  transition: transform 0.6s cubic-bezier(0.39, 0.575, 0.565, 1);
}
@media (min-width: 992px) {
  .ct-main-picture {
    min-height: 100vh;
    padding: 5rem 5rem 0 0;
  }
}

@media (min-width: 992px) {
  .ct-main.to-bottom,
.ct-main-about.to-bottom,
.ct-main-picture.to-bottom {
    transition: transform 1s cubic-bezier(0.39, 0.575, 0.565, 1);
    transform: translateY(5rem);
  }
}
@media (min-width: 992px) {
  .ct-main.to-top,
.ct-main-about.to-top,
.ct-main-picture.to-top {
    transition: transform 1s cubic-bezier(0.39, 0.575, 0.565, 1);
    transform: translateY(-400px);
  }
}
@media (min-width: 992px) {
  .ct-main.scale-down,
.ct-main-about.scale-down,
.ct-main-picture.scale-down {
    transition: transform 1s cubic-bezier(0.39, 0.575, 0.565, 1);
    transform: translateY(-5rem);
  }
}

/* Page */
/* ! Utilities */
/* ------------------------------------------------------ */
/* ! LIBRERIE FORTI CHE NON DEVONO ESSERE SOVRASCRITTE O JS PROPRI DELL'APPLICAZIONE */
/* ------------------------------------------------------ */
