.fiabe-seo-body {
  background: #071c27;
}

.fiabe-seo {
  overflow: clip;
  background:
    radial-gradient(circle at 86% 5%, rgba(75, 136, 133, .12), transparent 27%),
    linear-gradient(180deg, #08232e 0, #071c27 42%, #061923 100%);
}

.fiabe-seo a:focus-visible {
  outline: 3px solid #f2bd5c;
  outline-offset: 4px;
}

.fiabe-seo h1,
.fiabe-seo h2,
.fiabe-seo h3 {
  font-family: Merriweather, Georgia, serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.fiabe-seo-hero {
  position: relative;
  padding: clamp(58px, 7vw, 96px) 0 clamp(64px, 7vw, 96px);
  border-bottom: 1px solid var(--fiabe-line);
}

.fiabe-seo-hero__inner {
  max-width: 1200px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 470px);
  grid-template-rows: auto auto auto auto;
  column-gap: clamp(42px, 6vw, 86px);
  align-items: center;
}

.fiabe-seo-hero__inner > :not(.fiabe-seo-hero__media) {
  grid-column: 1;
}

.fiabe-seo-hero__media {
  position: relative;
  grid-column: 2;
  grid-row: 1 / -1;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(225, 238, 235, .14);
  border-radius: 34px;
  background: rgba(255, 247, 231, .06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  transform: rotate(1.2deg);
}

.fiabe-seo-hero__media::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 22px -15px -16px 20px;
  border-radius: inherit;
  background: rgba(242, 189, 92, .09);
  transform: rotate(-3deg);
}

.fiabe-seo-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 24px;
}

.fiabe-seo-hero__media--hub img {
  aspect-ratio: 1 / 1;
}

.fiabe-seo-hero__media figcaption {
  position: absolute;
  right: 28px;
  bottom: -18px;
  max-width: calc(100% - 56px);
  padding: 12px 17px;
  border: 1px solid rgba(225, 238, 235, .12);
  border-radius: 999px;
  background: #fff7e7;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .24);
  color: #244149;
  font-size: 13px;
  font-weight: 800;
}

.fiabe-seo-hero__media figcaption span {
  margin-right: 6px;
  color: #ee8350;
}

.fiabe-seo-kicker {
  margin: 0 0 16px;
  color: var(--fiabe-secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fiabe-seo h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.06;
}

.fiabe-seo-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--fiabe-copy);
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.55;
}

.fiabe-seo-note {
  max-width: 680px;
  margin: 22px 0 0;
  padding-left: 17px;
  border-left: 3px solid var(--fiabe-secondary);
  color: var(--fiabe-muted);
  font-size: 15px;
  line-height: 1.65;
}

.fiabe-seo-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 20px;
  margin-top: 30px;
}

.fiabe-seo-hero__actions > span {
  max-width: 210px;
  color: var(--fiabe-muted);
  font-size: 13px;
  line-height: 1.4;
}

.fiabe-seo-section,
.fiabe-seo-related {
  padding: clamp(70px, 8vw, 108px) 0;
}

.fiabe-seo-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.fiabe-seo-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.12;
}

.fiabe-seo-group-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(58px, 7vw, 88px);
}

.fiabe-seo-group-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--fiabe-line);
  border-radius: 999px;
  background: rgba(14, 48, 57, .76);
  color: var(--fiabe-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.fiabe-seo-group-nav a:hover {
  border-color: rgba(242, 189, 92, .52);
  background: rgba(242, 189, 92, .09);
  transform: translateY(-2px);
}

.fiabe-seo-group-nav span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(242, 189, 92, .14);
  color: var(--fiabe-secondary);
  font-size: 12px;
}

.fiabe-seo-groups {
  display: grid;
  gap: 24px;
}

.fiabe-seo-group {
  scroll-margin-top: 110px;
  padding: 0 clamp(20px, 3vw, 30px) clamp(20px, 3vw, 30px);
  border: 1px solid var(--fiabe-line);
  border-radius: 28px;
  background: rgba(14, 48, 57, .44);
}

.fiabe-seo-group__heading {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0;
  padding: 24px 58px 22px 0;
  cursor: pointer;
  list-style: none;
}

.fiabe-seo-group__heading::-webkit-details-marker {
  display: none;
}

.fiabe-seo-group__toggle {
  position: absolute;
  right: 0;
  bottom: 21px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--fiabe-line);
  border-radius: 50%;
  color: var(--fiabe-secondary);
}

.fiabe-seo-group__toggle::before {
  content: '+';
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.fiabe-seo-group[open] .fiabe-seo-group__toggle::before {
  content: '−';
}

.fiabe-seo-group[open] .fiabe-seo-group__heading {
  border-bottom: 1px solid var(--fiabe-line);
}

.fiabe-seo-group .fiabe-seo-grid--catalog {
  margin-top: 24px;
}

.fiabe-seo-group__heading .fiabe-seo-kicker {
  order: 2;
  margin: 0 0 5px;
}

.fiabe-seo-group__heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
}

.fiabe-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fiabe-seo-grid--catalog,
.fiabe-seo-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fiabe-seo-card {
  min-height: 250px;
  padding: clamp(25px, 3.2vw, 38px);
  border: 1px solid var(--fiabe-line);
  border-radius: 28px;
  background: rgba(14, 48, 57, .82);
  display: flex;
  flex-direction: column;
}

.fiabe-seo-card--catalog {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.fiabe-seo-card--catalog:hover {
  border-color: rgba(242, 189, 92, .42);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .22);
  transform: translateY(-4px);
}

.fiabe-seo-card__image {
  display: block;
  overflow: hidden;
  background: #0a2630;
}

.fiabe-seo-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .45s ease;
}

.fiabe-seo-card--catalog:hover .fiabe-seo-card__image img {
  transform: scale(1.035);
}

.fiabe-seo-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px 24px 25px;
}

.fiabe-seo-card__number {
  color: var(--fiabe-primary);
  font-weight: 800;
}

.fiabe-seo-card h2,
.fiabe-seo-card h3 {
  margin: 22px 0 11px;
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.18;
}

.fiabe-seo-card--catalog h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.fiabe-seo-card h2 a,
.fiabe-seo-card h3 a {
  color: var(--fiabe-ink);
  text-decoration: none;
}

.fiabe-seo-card p {
  margin: 0 0 24px;
  color: var(--fiabe-copy);
  font-size: 16px;
  line-height: 1.55;
}

.fiabe-seo-card--catalog p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
}

.fiabe-seo-text-link {
  margin-top: auto;
  color: var(--fiabe-secondary);
  font-weight: 800;
  text-decoration: none;
}

.fiabe-seo-empty {
  color: var(--fiabe-muted);
}

.fiabe-seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 340px);
  align-items: start;
  justify-content: space-between;
  gap: clamp(48px, 7vw, 94px);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.fiabe-seo-copy + .fiabe-seo-copy,
.fiabe-seo-story + .fiabe-seo-copy,
.fiabe-seo-copy + .fiabe-seo-story {
  margin-top: 58px;
}

.fiabe-seo-copy h2,
.fiabe-seo-story h2 {
  margin: 0 0 20px;
  font-size: clamp(29px, 3.5vw, 42px);
  line-height: 1.17;
}

.fiabe-seo-copy p,
.fiabe-seo-story > p {
  max-width: 67ch;
  margin: 0 0 17px;
  color: var(--fiabe-copy);
  font-size: 18px;
  line-height: 1.72;
}

.fiabe-seo-tips {
  padding: clamp(27px, 4vw, 42px);
  border: 1px solid rgba(242, 189, 92, .28);
  border-radius: 28px;
  background: rgba(242, 189, 92, .06);
}

.fiabe-seo-tips ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fiabe-seo-tips li {
  position: relative;
  padding-left: 29px;
  color: var(--fiabe-copy);
  font-size: 17px;
  line-height: 1.55;
}

.fiabe-seo-tips li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--fiabe-secondary);
}

.fiabe-seo-story {
  margin-top: 58px;
  padding: clamp(30px, 5vw, 50px);
  border-radius: 30px;
  background: #123b44;
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.fiabe-seo-story blockquote {
  margin: 0 0 23px;
  padding-left: 22px;
  border-left: 3px solid var(--fiabe-secondary);
  color: var(--fiabe-ink);
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(20px, 2.1vw, 25px);
  font-style: italic;
  line-height: 1.65;
}

.fiabe-seo-faq details {
  padding: 20px 0;
  border-top: 1px solid var(--fiabe-line);
}

.fiabe-seo-faq details:last-child {
  border-bottom: 1px solid var(--fiabe-line);
}

.fiabe-seo-faq summary {
  color: var(--fiabe-ink);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.fiabe-seo-faq details p {
  margin: 15px 0 0;
}

.fiabe-seo-aside {
  position: sticky;
  top: 104px;
  padding: 12px;
  border: 1px solid var(--fiabe-line);
  border-radius: 28px;
  background: rgba(14, 48, 57, .92);
  box-shadow: var(--fiabe-shadow-soft);
}

.fiabe-seo-preview {
  overflow: hidden;
  border-radius: 20px;
  background: #0a2630;
}

.fiabe-seo-preview > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.fiabe-seo-preview__caption {
  display: flex;
  min-height: 176px;
  flex-direction: column;
  padding: 23px;
}

.fiabe-seo-preview small {
  color: var(--fiabe-secondary);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
}

.fiabe-seo-preview strong {
  margin-top: 9px;
  font-family: Merriweather, Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
}

.fiabe-seo-preview p {
  margin-top: auto;
  color: var(--fiabe-muted);
  font-size: 14px;
}

.fiabe-seo-aside .fiabe-btn {
  width: 100%;
  margin-top: 12px;
}

.fiabe-seo-related {
  border-top: 1px solid var(--fiabe-line);
  background: rgba(5, 24, 34, .48);
}

.fiabe-seo-final {
  padding: clamp(78px, 9vw, 128px) 0;
  border-top: 1px solid var(--fiabe-line);
  text-align: center;
}

.fiabe-seo-final__inner {
  max-width: 850px;
}

.fiabe-seo-final h1,
.fiabe-seo-final h2 {
  margin: 0;
  font-size: clamp(37px, 5vw, 62px);
  line-height: 1.08;
}

.fiabe-seo-final p:not(.fiabe-seo-kicker) {
  max-width: 700px;
  margin: 23px auto 30px;
  color: var(--fiabe-copy);
  font-size: 19px;
  line-height: 1.62;
}

@media (max-width: 1050px) {
  .fiabe-seo-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    column-gap: 40px;
  }

  .fiabe-seo-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .fiabe-seo-hero__inner {
    grid-template-columns: 1fr;
  }

  .fiabe-seo-hero__inner > :not(.fiabe-seo-hero__media),
  .fiabe-seo-hero__media {
    grid-column: 1;
  }

  .fiabe-seo-hero__media {
    grid-row: auto;
    width: min(620px, 100%);
    margin-top: 42px;
  }

  .fiabe-seo-hero__media--hub img {
    aspect-ratio: 3 / 2;
  }

  .fiabe-seo-grid--three {
    grid-template-columns: 1fr;
  }

  .fiabe-seo-layout {
    grid-template-columns: 1fr;
  }

  .fiabe-seo-aside {
    display: none;
  }
}

@media (max-width: 680px) {
  .fiabe-seo-hero {
    position: relative !important;
    inset: auto !important;
    z-index: auto !important;
    width: auto !important;
    padding: 44px 0 58px;
  }

  .fiabe-seo h1 {
    font-size: clamp(35px, 10.5vw, 42px);
    line-height: 1.08;
  }

  .fiabe-seo-lead {
    margin-top: 19px;
    font-size: 18px;
    line-height: 1.55;
  }

  .fiabe-seo-note {
    margin-top: 19px;
    font-size: 14px;
  }

  .fiabe-seo-hero__actions {
    align-items: stretch;
    margin-top: 25px;
  }

  .fiabe-seo-hero__actions .fiabe-btn,
  .fiabe-seo-hero__actions > span {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .fiabe-seo-hero__media {
    margin-top: 35px;
    padding: 8px;
    border-radius: 24px;
    transform: none;
  }

  .fiabe-seo-hero__media img {
    border-radius: 17px;
  }

  .fiabe-seo-hero__media figcaption {
    right: 16px;
    bottom: -15px;
    max-width: calc(100% - 32px);
    padding: 10px 13px;
    font-size: 11px;
  }

  .fiabe-seo-section,
  .fiabe-seo-related {
    padding: 64px 0;
  }

  .fiabe-seo-group-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-right: -18px;
    margin-left: -18px;
    padding: 0 18px 10px;
    scrollbar-width: none;
  }

  .fiabe-seo-group-nav::-webkit-scrollbar {
    display: none;
  }

  .fiabe-seo-group-nav a {
    flex: 0 0 auto;
  }

  .fiabe-seo-group__heading {
    display: block;
    padding-top: 20px;
    padding-bottom: 19px;
  }

  .fiabe-seo-group__heading .fiabe-seo-kicker {
    margin-bottom: 10px;
  }

  .fiabe-seo-group:not([open]) .fiabe-seo-group__heading {
    display: flex;
    min-height: 74px;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .fiabe-seo-group:not([open]) .fiabe-seo-kicker {
    display: none;
  }

  .fiabe-seo-group:not([open]) .fiabe-seo-group__heading h2 {
    padding-right: 8px;
    font-size: 23px;
  }

  .fiabe-seo-group:not([open]) .fiabe-seo-group__toggle {
    bottom: 17px;
  }

  .fiabe-seo-group__toggle {
    bottom: 18px;
  }

  .fiabe-seo-group {
    padding-right: 14px;
    padding-bottom: 14px;
    padding-left: 14px;
    border-radius: 22px;
  }

  .fiabe-seo-hero__media--hub img {
    height: min(56vw, 250px);
  }

  .fiabe-seo-grid,
  .fiabe-seo-grid--catalog {
    grid-template-columns: 1fr;
  }

  .fiabe-seo-card {
    min-height: 0;
    border-radius: 22px;
  }

  .fiabe-seo-card--catalog {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .fiabe-seo-card__image img {
    height: 100%;
    min-height: 176px;
    aspect-ratio: auto;
  }

  .fiabe-seo-card__body {
    padding: 18px 17px;
  }

  .fiabe-seo-card--catalog h3 {
    font-size: 18px;
  }

  .fiabe-seo-card--catalog p {
    margin-bottom: 14px;
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  .fiabe-seo-layout {
    padding-top: 56px;
  }

  .fiabe-seo-copy + .fiabe-seo-copy,
  .fiabe-seo-story + .fiabe-seo-copy,
  .fiabe-seo-copy + .fiabe-seo-story,
  .fiabe-seo-story {
    margin-top: 48px;
  }

  .fiabe-seo-copy p,
  .fiabe-seo-story > p {
    font-size: 17px;
    line-height: 1.68;
  }

  .fiabe-seo-story blockquote {
    padding-left: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fiabe-seo-card--catalog,
  .fiabe-seo-card__image img,
  .fiabe-seo-group-nav a {
    transition: none;
  }
}
