/* Newspaper aggiunge titolo e breadcrumb anche sopra il contenuto della
   Farmacia. Qui vengono rimossi solo nelle pagine marcate dal plugin. */
body.fls-pharmacy-page .td-crumb-container,
body.fls-pharmacy-page .td-page-header,
body.fls-pharmacy-page .td-page-title {
  display: none !important;
}

body.fls-pharmacy-page .td-main-content-wrap,
body.fls-pharmacy-page .td-page-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.fls-pharmacy-page .fls-experience,
body.fls-pharmacy-page .fls-profile-page {
  margin-top: 28px !important;
}

.fls-experience,
.fls-profile-page {
  position: relative;
  left: 50%;
  width: min(1360px, calc(100vw - 40px));
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  transform: translateX(calc(-50% + var(--fls-viewport-shift, 0px)));
  box-sizing: border-box;
  clear: both;
}

.fls-experience *,
.fls-experience *::before,
.fls-experience *::after,
.fls-profile-page *,
.fls-profile-page *::before,
.fls-profile-page *::after {
  box-sizing: border-box;
}

.fls-entrance {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(155, 108, 45, 0.55);
  border-radius: 24px;
  background-color: #eadfc9;
  background-image: url('../images/farmacia-letteraria-sophie-soglia-bg.webp?v=1.7.6');
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 55px rgba(73, 48, 22, 0.18);
  color: #2f2418;
}

.fls-entrance__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
}

.fls-entrance__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 246, 237, 0.96) 0%, rgba(250, 246, 237, 0.86) 42%, rgba(250, 246, 237, 0.22) 72%, rgba(250, 246, 237, 0.08) 100%),
    linear-gradient(0deg, rgba(76, 51, 25, 0.12), transparent 45%);
}

.fls-entrance__content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(660px, 62%);
  padding: clamp(38px, 5.5vw, 68px);
}

.fls-brand-mark {
  display: block;
}

.fls-brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none !important;
  margin: 0 !important;
}

.fls-brand-mark--entrance {
  width: clamp(66px, 6.5vw, 88px);
  margin: 0 0 18px;
}

.fls-entrance__eyebrow {
  margin: 0 0 14px;
  color: #8b5c28;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fls-entrance__title {
  margin: 0 0 22px;
  color: #2c2014;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.fls-entrance__lead {
  margin: 0 0 16px;
  max-width: 620px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.38;
}

.fls-entrance__welcome {
  margin: 0 0 28px;
  max-width: 590px;
  font-size: 16px;
  line-height: 1.65;
}

.fls-entrance__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid #70461c;
  border-radius: 999px;
  background: #7d5227;
  box-shadow: 0 8px 24px rgba(77, 47, 18, 0.22);
  color: #fffaf0 !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: transform 180ms ease, background-color 180ms ease;
}

.fls-entrance__button:hover,
.fls-entrance__button:focus-visible {
  background: #5f3a17;
  transform: translateY(-2px);
}

.fls-entrance__note {
  margin: 18px 0 0;
  color: #6c5a46;
  font-size: 12px;
}

.fls-entrance__motto {
  margin: 18px 0 0;
  color: #5f4328;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-style: italic;
}

.fls-entrance__motto + .fls-entrance__note {
  margin-top: 8px;
}

.fls-test-placeholder {
  margin: 30px auto;
  padding: 26px;
  border: 1px dashed #b99360;
  border-radius: 16px;
  background: #fbf7ef;
  color: #493824;
  text-align: center;
}

.fls-quiz {
  margin: 42px auto 0;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(155, 108, 45, 0.48);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 8%, rgba(214, 181, 126, 0.2), transparent 30%),
    #fbf7ef;
  box-shadow: 0 16px 45px rgba(73, 48, 22, 0.1);
  color: #352719;
}

.fls-sophie-welcome {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto clamp(44px, 6vw, 68px);
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid #d8c4a6;
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.82);
}

.fls-sophie-welcome__portrait {
  align-self: stretch;
  min-height: 300px;
  overflow: hidden;
  border-radius: 16px;
  background: #f5ebdc;
}

.fls-sophie-welcome__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center 18%;
}

.fls-sophie-welcome__voice h2 {
  margin: 0 0 16px;
  color: #2c2014;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
}

.fls-sophie-welcome__voice blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #4b3825;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 1.8vw, 23px);
  font-style: normal;
  line-height: 1.55;
}

.fls-sophie-welcome__signature {
  display: flex;
  margin: 22px 0 0;
  flex-direction: column;
  color: #7d5227;
}

.fls-sophie-welcome__signature strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-style: italic;
}

.fls-sophie-welcome__signature span {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fls-quiz__intro {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.fls-quiz__intro h2,
.fls-quiz__tiebreak h2,
.fls-quiz__result h2 {
  margin: 0 0 14px;
  color: #2c2014;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.fls-quiz__intro > p:last-child {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.fls-quiz__privacy {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: center;
  max-width: 900px;
  margin: 28px auto 0;
  padding: 12px 15px;
  border: 1px solid rgba(140, 91, 40, .25);
  border-radius: 9px;
  background: rgba(255, 252, 245, .55);
  color: #66584d;
}

.fls-quiz__privacy svg {
  width: 22px;
  height: 22px;
  fill: #93602c;
}

.fls-quiz__privacy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.fls-quiz__privacy a {
  color: #7d4d20;
  text-decoration: underline;
}

.fls-quiz__ricettario-link {
  margin: 16px 0 0;
  color: #6b5b49;
  font-size: 13px;
  text-align: center;
}

.fls-quiz__ricettario-link a {
  color: #70461c !important;
  font-weight: 700;
}

.fls-quiz__eyebrow {
  margin: 0 0 10px;
  color: #8b5c28;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.fls-quiz__progress {
  width: 100%;
  height: 5px;
  margin: 0 0 36px;
  overflow: hidden;
  border-radius: 999px;
  background: #eadfce;
}

.fls-quiz__progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #9a692f;
  transition: width 220ms ease;
}

.fls-quiz__step {
  display: none;
  min-width: 0;
  padding: 0;
  border: 0;
}

.fls-quiz__step.is-active {
  display: block;
}

.fls-quiz__step legend {
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  color: #352719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
}

.fls-quiz__step legend span {
  display: block;
  margin: 0 0 8px;
  color: #91734d;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fls-quiz__question-description {
  max-width: 760px;
  margin: -12px auto 24px;
  color: #6f604f;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.fls-quiz__answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fls-quiz__answer {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.fls-quiz__answer input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.fls-quiz__answer span {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 18px 20px;
  border: 1px solid #d6c3a8;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.86);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.fls-quiz__answer:hover span {
  border-color: #9a692f;
  transform: translateY(-1px);
}

.fls-quiz__answer input:focus-visible + span {
  outline: 3px solid rgba(154, 105, 47, 0.28);
  outline-offset: 2px;
}

.fls-quiz__answer input:checked + span {
  border-color: #7d5227;
  background: #f0e2ca;
  box-shadow: inset 0 0 0 1px #7d5227;
}

.fls-quiz__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.fls-quiz__actions button,
.fls-quiz__restart {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #70461c;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.fls-quiz__next,
.fls-quiz__restart {
  margin-left: auto;
  background: #7d5227;
  color: #fffaf0;
}

.fls-quiz__next:disabled {
  border-color: #c8b9a4;
  background: #d8cdbd;
  color: #766b5c;
  cursor: not-allowed;
}

.fls-quiz__back {
  background: transparent;
  color: #70461c;
}

.fls-quiz__tiebreak {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.fls-sophie-cue {
  display: flex;
  margin: 0 auto 14px;
  flex-direction: column;
  align-items: center;
}

.fls-sophie-cue img {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 0 12px !important;
  border: 1px solid #d2b78f;
  border-radius: 50%;
  background: #f6ead8;
  object-fit: cover;
}

.fls-sophie-cue .fls-quiz__eyebrow {
  margin-bottom: 0;
}

.fls-quiz__tiebreak > p:not(.fls-quiz__eyebrow) {
  max-width: 720px;
  margin: 0 auto 26px;
  font-size: 17px;
  line-height: 1.6;
}

.fls-quiz__tie-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fls-quiz__tie-option {
  display: flex;
  min-height: 108px;
  padding: 20px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid #d6c3a8;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.9);
  color: #352719;
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.fls-quiz__tie-option:hover {
  border-color: #9a692f;
  background: #f7ecdb;
  transform: translateY(-1px);
}

.fls-quiz__tie-option:focus-visible {
  outline: 3px solid rgba(154, 105, 47, 0.28);
  outline-offset: 2px;
}

.fls-quiz__tie-back {
  min-height: 46px;
  margin: 24px auto 0;
  padding: 0 22px;
  border: 1px solid #8b5c28;
  border-radius: 999px;
  background: transparent;
  color: #70461c;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.fls-quiz__result {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.fls-quiz__result-message {
  max-width: 650px;
  margin: 0 auto 16px;
  color: #705638;
  font-size: 16px;
  line-height: 1.55;
}

.fls-quiz__result-summary {
  max-width: 720px;
  margin: 18px auto 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
}

.fls-quiz__result-why {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 24px 28px;
  border: 1px solid #d8c4a6;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.86);
  text-align: left;
}

.fls-quiz__result-why h3 {
  margin: 0 0 8px;
  color: #7d5227;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
}

.fls-quiz__result-why > p {
  margin: 0;
  color: #6c5a46;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.7;
}

.fls-quiz__result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 20px;
  text-align: left;
}

.fls-quiz__result-grid > div {
  padding: 24px;
  border: 1px solid #d8c4a6;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.86);
}

.fls-quiz__result-grid h3 {
  margin: 0 0 10px;
  color: #7d5227;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fls-quiz__result-grid p,
.fls-quiz__result-note {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.fls-quiz__result-note {
  color: #6c5a46;
}

.fls-quiz__books {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #ddc9aa;
  text-align: left;
}

.fls-quiz__books > h3 {
  margin: 0 0 20px;
  color: #352719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3vw, 38px);
  text-align: center;
}

.fls-quiz__book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fls-quiz__book {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d8c4a6;
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(73, 48, 22, 0.08);
}

.fls-quiz__book > img {
  width: 100%;
  height: 390px;
  margin: 0 !important;
  padding: 14px;
  background: #eee8de;
  object-fit: contain;
  object-position: center;
}

.fls-quiz__book-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.fls-quiz__book h4 {
  margin: 0 0 10px;
  color: #352719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  line-height: 1.2;
}

.fls-quiz__book p {
  margin: 0 0 16px;
  color: #645440;
  font-size: 14px;
  line-height: 1.55;
}

.fls-quiz__book .fls-quiz__book-role {
  margin: 0 0 8px;
  color: #9a692f;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fls-quiz__book-link {
  align-self: flex-start;
  margin-top: auto;
  color: #7d5227 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.fls-quiz__restart {
  margin: 24px auto 0;
}

.fls-quiz__profile-link,
.fls-profile-page__back,
.fls-profile-page__print {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 26px 8px 0;
  padding: 0 24px;
  border: 1px solid #70461c;
  border-radius: 999px;
  background: #7d5227;
  color: #fffaf0 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.fls-profile-page__print {
  cursor: pointer;
}

.fls-profile-page {
  overflow: hidden;
  border: 1px solid rgba(155, 108, 45, 0.48);
  border-radius: 24px;
  background: #fbf7ef;
  box-shadow: 0 16px 45px rgba(73, 48, 22, 0.1);
  color: #352719;
  text-align: center;
}

.fls-profile-page__header {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px 24px;
}

.fls-profile-page__header > img,
.fls-profile-page__header > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fls-profile-page__header > img {
  z-index: 0;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
}

.fls-profile-page__header > div {
  z-index: 1;
  background: rgba(250, 246, 237, 0.78);
  backdrop-filter: blur(1px);
}

.fls-brand-mark--profile {
  position: relative;
  z-index: 2;
  width: clamp(54px, 6vw, 72px);
  margin: 0 0 15px;
}

.fls-profile-page__header p,
.fls-profile-page__header h2,
.fls-profile-page__header blockquote {
  position: relative;
  z-index: 2;
}

.fls-profile-page__header .fls-profile-page__recipe-date {
  margin-top: 18px;
  color: #725537;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fls-profile-page__header p {
  margin: 0 0 12px;
  color: #8b5c28;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.fls-profile-page__header h2 {
  margin: 0;
  color: #2c2014;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(44px, 6vw, 74px);
  line-height: 1;
}

.fls-profile-page__header blockquote {
  margin: 20px 0 0;
  color: #5f4328;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-style: italic;
}

.fls-profile-page__welcome {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 28px 12px;
}

.fls-profile-page__welcome > img {
  display: block;
  width: 130px;
  height: 130px;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid #d2b78f;
  border-radius: 50%;
  background: #f6ead8;
  object-fit: cover;
}

.fls-profile-page__welcome > div > p:last-child {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.6;
}

.fls-profile-page__section-label {
  margin: 0 0 12px;
  color: #8b5c28;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fls-profile-page__reading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(28px, 5vw, 58px);
}

.fls-profile-page__reading section {
  padding: 28px;
  border: 1px solid #d8c4a6;
  border-radius: 16px;
  background: #fffdf8;
  text-align: left;
}

.fls-profile-page__reading h3 {
  margin: 0 0 12px;
  color: #7d5227;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fls-profile-page__reading p,
.fls-profile-page__disclaimer,
.fls-profile-page__empty {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.fls-profile-page__prescriptions {
  padding: 0 clamp(28px, 5vw, 58px) 36px;
}

.fls-profile-page__prescriptions > h3 {
  margin: 0 0 24px;
  color: #352719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 4vw, 46px);
}

.fls-profile-page__book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.fls-book-author {
  margin: -3px 0 12px !important;
  color: #76583a !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 13px !important;
  font-style: italic;
  line-height: 1.35 !important;
}

.fls-support {
  width: min(820px, calc(100% - 48px));
  margin: 38px auto 46px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid #c9ad7d;
  border-radius: 18px;
  background: linear-gradient(145deg, #f4e8d5, #fffaf2);
  box-shadow: 0 12px 28px rgba(77, 50, 23, .08);
  text-align: center;
}

.fls-support__eyebrow {
  margin: 0 0 10px !important;
  color: #8b5c28 !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fls-support h3 {
  margin: 0 auto 14px;
  color: #352719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  text-wrap: balance;
}

.fls-support > p:not(.fls-support__eyebrow) {
  max-width: 680px;
  margin: 0 auto 20px;
  color: #665441;
  font-size: 15px;
  line-height: 1.6;
}

.fls-support__button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid #70461c;
  border-radius: 999px;
  background: #805326;
  color: #fffaf0 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .18s ease, transform .18s ease;
}

.fls-support__button:hover {
  background: #684019;
  transform: translateY(-1px);
}

.fls-support small {
  display: block;
  max-width: 650px;
  margin: 14px auto 0;
  color: #7a6a58;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .fls-support {
    width: calc(100% - 28px);
    padding: 25px 20px;
  }
}

.fls-profile-page__disclaimer {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px;
  color: #766550;
  font-size: 12px;
}

.fls-profile-page__save {
  max-width: 820px;
  margin: 38px auto 8px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid #c9ad7d;
  border-radius: 18px;
  background: linear-gradient(145deg, #f3e6d1, #fffaf1);
}

.fls-profile-page__save h3 {
  max-width: 720px;
  margin: 0 auto 16px;
  color: #352719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.18;
  text-wrap: balance;
}

.fls-profile-page__save > p:not(.fls-profile-page__section-label) {
  max-width: 680px;
  margin: 0 auto 20px;
  color: #665441;
  font-size: 15px;
  line-height: 1.6;
}

.fls-profile-page__save form {
  margin: 0;
}

.fls-profile-page__save-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid #70461c;
  border-radius: 999px;
  background: #805326;
  color: #fffaf0 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
}

.fls-profile-page__save small {
  display: block;
  margin-top: 11px;
  color: #776955;
}

.fls-profile-page__ritual {
  margin: 8px clamp(28px, 5vw, 58px) 38px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid #d8c4a6;
  border-radius: 18px;
  background: #f2e7d5;
  text-align: left;
}

.fls-profile-page__ritual > h3 {
  margin: 0 0 22px;
  color: #352719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 3.5vw, 42px);
}

.fls-profile-page__ritual ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fls-ritual;
}

.fls-profile-page__ritual li {
  position: relative;
  padding: 46px 18px 18px;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.72);
  counter-increment: fls-ritual;
  font-size: 15px;
  line-height: 1.55;
}

.fls-profile-page__ritual li::before {
  position: absolute;
  top: 14px;
  left: 18px;
  color: #9a692f;
  content: counter(fls-ritual, decimal-leading-zero);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fls-profile-page__ritual blockquote {
  margin: 28px 0 0;
  padding: 22px 24px;
  border-left: 3px solid #9a692f;
  background: rgba(255, 253, 248, 0.72);
  color: #4e3822;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
}

.fls-profile-page__ritual blockquote span {
  display: block;
  margin-bottom: 7px;
  color: #8b5c28;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fls-profile-page__back {
  margin-bottom: 48px;
}

.fls-method {
  margin-top: 26px;
  padding: clamp(36px, 5vw, 62px);
  border: 1px solid rgba(155, 108, 45, 0.38);
  border-radius: 22px;
  background: #f2e7d5;
  color: #352719;
  text-align: center;
}

.fls-method--profile {
  margin: 8px clamp(28px, 5vw, 58px) 38px;
}

.fls-method__eyebrow {
  margin: 0 0 9px;
  color: #8b5c28;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fls-method > h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.fls-method__lead {
  max-width: 760px;
  margin: 16px auto 28px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.fls-method__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.fls-method__steps article {
  padding: 24px;
  border: 1px solid #d8c4a6;
  border-radius: 15px;
  background: rgba(255, 253, 248, .75);
}

.fls-method__steps span {
  color: #9a692f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.fls-method__steps h3 {
  margin: 10px 0 9px;
  color: #352719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
}

.fls-method__steps p,
.fls-method__closing {
  font-size: 15px;
  line-height: 1.55;
}

.fls-method__steps p {
  margin: 0;
}

.fls-method__closing {
  margin: 24px 0 0;
  color: #67543e;
}

.fls-teaser {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(155, 108, 45, 0.55);
  border-radius: 24px;
  background: #eadfc9;
  box-shadow: 0 18px 55px rgba(73, 48, 22, 0.16);
  color: #2f2418;
}

.fls-teaser__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: 62% center;
}

.fls-teaser__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 246, 237, 0.97) 0%, rgba(250, 246, 237, 0.9) 44%, rgba(250, 246, 237, 0.28) 73%, rgba(250, 246, 237, 0.08) 100%);
}

.fls-teaser__content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(650px, 62%);
  padding: clamp(34px, 5vw, 62px);
}

.fls-teaser__eyebrow {
  margin: 0 0 12px;
  color: #8b5c28;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fls-teaser__title {
  margin: 0 0 18px;
  color: #2c2014;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.fls-teaser__lead {
  margin: 0 0 24px;
  max-width: 570px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.42;
}

@media (max-width: 860px) {
  body.fls-pharmacy-page .fls-experience,
  body.fls-pharmacy-page .fls-profile-page {
    margin-top: 16px !important;
  }

  .fls-experience,
  .fls-profile-page {
    width: calc(100vw - 24px);
  }

  .fls-entrance {
    min-height: 700px;
    background-position: 64% center;
  }

  .fls-entrance__veil {
    background: linear-gradient(0deg, rgba(250, 246, 237, 0.98) 0%, rgba(250, 246, 237, 0.9) 56%, rgba(250, 246, 237, 0.32) 100%);
  }

  .fls-entrance__content {
    align-self: end;
    width: 100%;
    padding: 44px 28px;
  }

  .fls-teaser {
    min-height: 600px;
  }

  .fls-teaser__background {
    object-position: 68% center;
  }

  .fls-teaser__veil {
    background: linear-gradient(0deg, rgba(250, 246, 237, 0.98) 0%, rgba(250, 246, 237, 0.88) 58%, rgba(250, 246, 237, 0.2) 100%);
  }

  .fls-teaser__content {
    align-self: end;
    width: 100%;
    padding: 38px 28px;
  }

  .fls-quiz {
    padding: 30px 20px;
  }

  .fls-sophie-welcome {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .fls-sophie-welcome__portrait {
    width: min(240px, 100%);
    min-height: 240px;
    margin: 0 auto;
  }

  .fls-sophie-welcome__signature {
    align-items: center;
  }

  .fls-profile-page__welcome {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fls-profile-page__welcome > img {
    width: 104px;
    height: 104px;
    margin: 0 auto !important;
  }

  .fls-quiz__answers,
  .fls-quiz__tie-options,
  .fls-quiz__result-grid,
  .fls-quiz__book-grid,
  .fls-profile-page__reading,
  .fls-profile-page__book-grid,
  .fls-profile-page__ritual ol {
    grid-template-columns: 1fr;
  }

  .fls-method__steps {
    grid-template-columns: 1fr;
  }

  .fls-quiz__answer span {
    min-height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fls-entrance__button {
    transition: none;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .fls-profile-page,
  .fls-profile-page * {
    visibility: visible !important;
  }

  .fls-profile-page {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .fls-profile-page__header {
    min-height: 220px;
  }

  .fls-profile-page__print,
  .fls-profile-page__back {
    display: none !important;
  }

  .fls-profile-page__book-grid,
  .fls-profile-page__ritual ol {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .fls-quiz__book,
  .fls-profile-page__reading section,
  .fls-profile-page__ritual {
    break-inside: avoid;
  }
}
