.facestar-ad-slot {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: clamp(1.5rem, 4vw, 3.5rem) auto;
  max-width: min(1280px, calc(100% - 2rem));
  min-height: var(--facestar-ad-min-height, 0);
  position: relative;
  width: 100%;
}

.facestar-ad-slot__label {
  color: #726970;
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.45rem;
  text-align: center;
  text-transform: uppercase;
}

.facestar-ad-slot.is-mobile {
  min-height: var(--facestar-ad-min-height-mobile, 0);
}

.facestar-ad-slot--mobile_sticky.is-loaded.is-mobile {
  display: flex;
}

.facestar-ad-slot__content {
  max-width: 100%;
  text-align: center;
  width: 100%;
}

.facestar-ad-slot__content > * {
  margin-inline: auto;
  max-width: 100%;
}

.facestar-demo-ad {
  align-items: center;
  background:
    radial-gradient(circle at 88% 18%, rgba(228, 92, 95, 0.42), transparent 34%),
    linear-gradient(135deg, #241521, #603044);
  border-radius: clamp(14px, 2vw, 24px);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  min-height: inherit;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
}

.facestar-demo-ad strong {
  font-family: var(--wp--preset--font-family--display, Georgia, serif);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2.6rem);
  font-weight: 500;
}

.facestar-demo-ad span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facestar-ad-slot--empty {
  border: 1px dashed #c8bbb6;
  color: #726970;
  gap: 0.25rem;
  min-height: 90px;
  padding: 1rem;
}

.facestar-ad-slot--empty span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facestar-ad-slot--mobile_sticky {
  background: #fffdf9;
  border: 1px solid #dcd1cc;
  bottom: max(0.5rem, env(safe-area-inset-bottom));
  box-shadow: 0 18px 60px rgba(36, 21, 33, 0.2);
  display: none;
  left: 0.5rem;
  margin: 0;
  max-width: calc(100% - 1rem);
  min-height: 0;
  padding: 0.35rem;
  position: fixed;
  right: 0.5rem;
  z-index: 1100;
}

.facestar-ad-slot__close {
  align-items: center;
  background: #241521;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.15rem;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: -0.25rem;
  top: -1rem;
  width: 32px;
}

.facestar-slider {
  --slider-accent: var(--wp--preset--color--coral, #e45c5f);
  --slider-ink: var(--wp--preset--color--aubergine, #241521);
  outline: none;
  position: relative;
}

.facestar-slider__viewport {
  border-radius: clamp(18px, 3vw, 32px);
  overflow: hidden;
}

.facestar-slider__track {
  display: flex;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.facestar-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
}

.facestar-slider__image {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.facestar-slider__content {
  background: linear-gradient(180deg, transparent, rgba(20, 12, 18, 0.9));
  bottom: 0;
  color: #fff;
  left: 0;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 4vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  position: absolute;
  right: 0;
}

.facestar-slider__content h3 {
  color: #fff;
  font-family: var(--wp--preset--font-family--display, Georgia, serif);
  font-size: clamp(2rem, 1.3rem + 2.5vw, 4.5rem);
  line-height: 0.98;
  margin: 0;
  max-width: 14ch;
}

.facestar-slider__content p {
  margin-block: 0.75rem;
  max-width: 44rem;
}

.facestar-slider__link {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facestar-slider__controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 0.9rem;
}

.facestar-slider__toggle {
  background: transparent;
  border: 1px solid #dcd1cc;
  border-radius: 999px;
  color: var(--slider-ink);
  cursor: pointer;
  min-height: 44px;
  padding: 0.5rem 1rem;
}

.facestar-slider__toggle:disabled {
  cursor: default;
}

.facestar-slider__arrow,
.facestar-slider__dot {
  background: transparent;
  border: 1px solid #dcd1cc;
  cursor: pointer;
}

.facestar-slider__arrow {
  align-items: center;
  border-radius: 999px;
  color: var(--slider-ink);
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.facestar-slider__dots {
  align-items: center;
  display: flex;
  gap: 0.45rem;
}

.facestar-slider__dot {
  border-radius: 999px;
  height: 10px;
  padding: 0;
  transition: background-color 180ms ease, width 180ms ease;
  width: 10px;
}

.facestar-slider__dot.is-active {
  background: var(--slider-accent);
  border-color: var(--slider-accent);
  width: 30px;
}

.facestar-slider--single .facestar-slider__controls {
  display: none;
}

.facestar-gallery__grid {
  display: grid;
  gap: clamp(0.65rem, 1.4vw, 1.25rem);
  grid-template-columns: repeat(var(--facestar-gallery-columns, 3), minmax(0, 1fr));
}

.facestar-gallery__item {
  margin: 0;
}

.facestar-gallery__open {
  background: transparent;
  border: 0;
  border-radius: 14px;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.facestar-gallery__image {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.facestar-gallery__open:hover .facestar-gallery__image {
  transform: scale(1.035);
}

.facestar-gallery__item figcaption {
  color: var(--wp--preset--color--muted, #726970);
  font-size: 0.8rem;
  line-height: 1.45;
  margin-top: 0.45rem;
}

.facestar-gallery__dialog {
  background: rgba(18, 11, 16, 0.96);
  border: 0;
  color: #fff;
  height: 100%;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 0;
  width: 100%;
}

.facestar-gallery__dialog::backdrop {
  background: rgba(18, 11, 16, 0.96);
}

.facestar-gallery__dialog-inner {
  align-items: center;
  display: grid;
  gap: clamp(0.5rem, 2vw, 2rem);
  grid-template-columns: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: clamp(1rem, 3vw, 3rem);
  position: relative;
}

.facestar-gallery__dialog figure {
  margin: 0;
  max-height: 100%;
  text-align: center;
}

.facestar-gallery__dialog img {
  height: auto;
  margin: auto;
  max-height: calc(100vh - 8rem);
  max-width: 100%;
  object-fit: contain;
}

.facestar-gallery__dialog figcaption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.facestar-gallery__close,
.facestar-gallery__dialog-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.facestar-gallery__close {
  font-size: 1.6rem;
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  top: clamp(1rem, 3vw, 3rem);
  z-index: 2;
}

.facestar-dialog-open {
  overflow: hidden;
}

.facestar-reading-time {
  white-space: nowrap;
}

.facestar-related-posts > .wp-block-post-template {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facestar-related-posts__image {
  border-radius: 18px;
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
}

.facestar-related-posts__image img {
  aspect-ratio: 10 / 7;
  display: block;
  object-fit: cover;
  width: 100%;
}

.facestar-related-posts h3 {
  font-family: var(--wp--preset--font-family--display, Georgia, serif);
  font-size: clamp(1.4rem, 1.1rem + 0.75vw, 2rem);
  line-height: 1.08;
  margin-block: 0.4rem;
}

.facestar-related-posts time {
  color: var(--wp--preset--color--muted, #726970);
  font-size: 0.75rem;
}

.facestar-editor-ad-slot,
.facestar-editor-placeholder,
.facestar-editor-block {
  border: 1px dashed #a99ba3;
  border-radius: 12px;
  padding: 1rem;
}

.facestar-editor-ad-slot {
  background: #f7f2ed;
}

.facestar-editor-ad-slot > strong {
  display: block;
  margin-bottom: 0.75rem;
}

.facestar-editor-media {
  display: grid;
  gap: 1rem;
}

.facestar-editor-media__item {
  align-items: start;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1.4fr);
  padding: 0.75rem;
}

.facestar-editor-media__preview {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.facestar-editor-media__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

@media (max-width: 782px) {
  .facestar-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facestar-gallery__dialog-inner {
    grid-template-columns: 1fr;
  }

  .facestar-gallery__dialog-arrow {
    bottom: max(1rem, env(safe-area-inset-bottom));
    position: absolute;
    z-index: 2;
  }

  .facestar-gallery__dialog-arrow--prev {
    left: 1rem;
  }

  .facestar-gallery__dialog-arrow--next {
    right: 1rem;
  }

  .facestar-related-posts > .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .facestar-editor-media__item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .facestar-slider__track,
  .facestar-gallery__image {
    transition: none;
  }
}

.facestar-author-profile {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.facestar-author-profile__portrait {
  flex: 0 0 clamp(80px, 12vw, 128px);
  width: clamp(80px, 12vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--wp--preset--color--paper, #fffdf9);
  display: grid;
  place-items: center;
  font: 500 3rem/1 var(--wp--preset--font-family--display, Georgia, serif);
}
.facestar-author-profile__portrait img { width: 100%; height: 100%; object-fit: cover; }
.facestar-author-profile__body { min-width: 0; }
.facestar-author-profile__bio > :first-child { margin-top: 0; }
.facestar-author-profile__bio > :last-child { margin-bottom: 0; }
.facestar-author-profile__count { margin-bottom: 0; }
@media (max-width: 480px) {
  .facestar-author-profile { flex-direction: column; }
}

.facestar-media-player { width: 100%; margin-block: 1rem; }
.facestar-media-player :is(audio, video) { width: 100%; max-width: 100%; display: block; }
.facestar-media-player video { max-height: 70vh; background: #171317; }
.facestar-media-player > a { font-size: 0.8rem; text-decoration: underline; }
.facestar-author-focus { font-weight: 700; margin-top: 0; }
.facestar-author-link { font-size: 0.875rem; text-decoration: underline; text-underline-offset: 0.2em; margin-right: 0.75rem; display: inline-block; margin-bottom: 0.75rem; }
.facestar-editorial-cards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.facestar-editorial-cards__grid img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; object-position: 50% 30%; }
.facestar-editorial-cards__grid p { font-size: 1rem; }
.facestar-newsletter-signup { font-size: 1rem; min-width: 0; }
.facestar-newsletter-signup label { display: block; }
.facestar-newsletter-signup__row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block: 0.5rem 1rem; }
.facestar-newsletter-signup__row input { flex: 1 1 180px; min-width: 0; padding: 0.8rem 1rem; border: 1px solid #726970; border-radius: 4px; background: #fffdf9; color: #171317; font: inherit; }
.facestar-newsletter-signup__row button { padding: 0.8rem 1rem; border: 0; border-radius: 4px; background: #241521; color: #fffdf9; font: 600 0.875rem/1.5 var(--wp--preset--font-family--sans, sans-serif); cursor: pointer; }
.facestar-newsletter-signup .facestar-newsletter-signup__consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; line-height: 1.5; }
.facestar-newsletter-signup__consent input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; accent-color: #603044; }
.facestar-newsletter-signup :is(.facestar-newsletter-signup__note, p) { font-size: 0.8rem; line-height: 1.6; }
.facestar-newsletter-signup a { color: inherit; text-decoration: underline; }
.facestar-newsletter-signup :is(input, button):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.facestar-newsletter-signup [role=status] { padding: 1rem; background: #fffdf9; color: #241521; border: 1px solid #603044; }
.facestar-signup-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.facestar-golden-letter .facestar-newsletter-signup { color: #fffdf9; }
.facestar-golden-letter .facestar-newsletter-signup button { background: #fffdf9; color: #241521; }
.facestar-golden-letter { min-height: 680px; }
.facestar-golden-podcast__episodes li { grid-template-columns: minmax(0, 1fr) auto; }
.facestar-golden-podcast__episodes a { color: inherit; }
.facestar-golden-travel__copy .wp-block-post-excerpt { color: #fff; }
@media (max-width: 700px) {
  .facestar-editorial-cards__grid { grid-template-columns: minmax(0, 1fr); }
  .facestar-newsletter-signup__row button { flex: 1 1 100%; }
}
