@font-face {
  font-family: "Gentium Basic";
  src: url("assets/gentium-basic-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Karla;
  src: url("assets/karla-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

.interior { line-height: 1.7em; }

.page-hero {
  --angle: 72deg;
  --section-padding: 16px;
  padding-block: var(--section-padding);
  background: linear-gradient(var(--angle), #1bb3eb, #25efcb);
  color: white;
}
.page-hero h1 {
  padding-bottom: 10px;
  font: 500 56px/1.3 Poppins, sans-serif;
  overflow-wrap: break-word;
}
.title-primary {
  padding-top: 60px;
  margin-bottom: 2.75%;
}
.title-lead {
  color: rgba(255, 255, 255, .8);
  font: 500 18px/1.8 Poppins, sans-serif;
}
.page-protocolli-benessere-2 .page-hero {
  --angle: 105deg;
  --section-padding: 60px;
}
.page-protocolli-benessere-2 .page-hero h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.page-la-vera-arte-medica-2 .page-hero { --section-padding: 21px; }

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 5.5%;
  align-items: start;
}
.inner-heading h3 {
  padding-bottom: 10px;
  color: var(--green);
  font: 600 36px/1.4 Poppins, sans-serif;
  overflow-wrap: break-word;
}
.text-block { margin-bottom: 2.75%; }
.two-column .text-block { margin-bottom: 5.82%; }
.content-text p:not(:last-of-type),
.technique-label p:not(:last-of-type) { padding-bottom: 1em; }
.page-photo {
  margin-inline: auto;
  line-height: 0;
  text-align: center;
}
.page-photo img { display: inline-block; }
.page-photo.medium { width: 70%; }
.page-photo.wide { width: 85%; }
.round-small img { border-radius: 50px; }
.round-large img { border-radius: 100px; }

.medical-introduction { padding-block: 43px; }
.medical-introduction .portrait { width: 70%; }
.medical-introduction .portrait img { border-radius: 50px; }
.holistic { padding-block: 30px; }
.holistic .content-text { font-size: 16px; }

.protocol-list { padding-block: 10px; }

.technique-list {
  padding-block: 50px;
  background: #f7f7f7;
}
.technique-label { font-size: 16px; line-height: 1.8; }
.technique-label h3 {
  padding-bottom: 10px;
  color: #333;
  font: 700 30px/1.2 "Gentium Basic", Georgia, serif;
}
.technique-button {
  position: relative;
  display: inline-block;
  padding: 14px 20px;
  border: 2px solid transparent;
  background: #1bb3eb;
  color: white;
  font: 700 16px/1.7 Karla, Arial, sans-serif;
  transition: background-color 300ms, padding 300ms;
}
.technique-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 11px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity 300ms;
}
.technique-button:is(:hover, :focus-visible) { background: #000; padding-right: 30px; }
.technique-button:is(:hover, :focus-visible)::after { opacity: 1; }

.technique-detail:nth-of-type(3), .technique-detail:nth-of-type(4) { padding-block: 30px; }
.technique-copy {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}
.technique-detail:has(#chiropratica) .technique-copy { margin-bottom: 2.75%; padding-top: 1px; }
.technique-detail:has(#tok, #digitopressione) .technique-copy { margin-bottom: 60px; }
.testimonial-photo { width: 57%; }
.testimonial {
  position: relative;
  width: 61%;
  margin: 0 auto;
  padding: 30px;
  background: #f5f5f5;
  line-height: 1.5;
}
.testimonial::before {
  content: "“";
  position: absolute;
  left: 50%;
  top: -16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding-top: 7px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #f5f5f5;
  font: 700 32px/1 Georgia, serif;
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { padding-bottom: 1em; }
.testimonial figcaption { margin-top: 32px; font-weight: 700; }
.anchor { scroll-margin-top: 70px; }
html:has(.interior) { scroll-behavior: smooth; }

@media (max-width: 980px) {
  .two-column { grid-template-columns: 1fr; row-gap: 30px; }
  .title-primary, .text-block, .two-column .text-block,
  .technique-detail:has(#chiropratica) .technique-copy { margin-bottom: 30px; }
  .anchor { scroll-margin-top: 8px; }
}
@media (max-width: 767px) {
  .medical-introduction .portrait,
  .testimonial-photo { width: 100%; }
  .technique-label h3 { font-size: 22px; }
  .testimonial { width: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.interior) { scroll-behavior: auto; }
}
