/*
 * About us, How it works, FAQ and Contact pages.
 * Scope: main.pl-about, main.pl-hiw (child page-templates),
 * body.pl-faq-page .faq-section (FAQ page component),
 * body.page-template-contact-template .nera-contact-page (parent Contact component + Fluent Form),
 * main.pl-legal (child legal page template: Terms, Privacy, Free entry route).
 */

.pl-about,
.pl-hiw {
  background: var(--pl-ground);
  color: var(--pl-black);
  font-family: var(--font-body);
  font-variant-numeric: lining-nums;
}

.pl-about__inner,
.pl-hiw__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  display: flex;
  flex-direction: column;
}

.pl-about__inner { gap: 48px; }
.pl-hiw__inner { gap: 44px; }

@media (min-width: 768px) {
  .pl-about__inner,
  .pl-hiw__inner {
    padding: 48px 24px 88px;
  }
}

/* Shared type and buttons */
.pl-page__eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pl-gold-ink);
}

.pl-page__h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  color: var(--pl-black);
}

.pl-about a.pl-page__btn,
.pl-hiw a.pl-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--pl-black);
  --color-text-primary: var(--pl-ground); /* parent forces links under .text-text-primary to this token */
  color: var(--pl-ground);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 18px -12px var(--pl-gold);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.pl-about a.pl-page__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--pl-black);
  border-radius: 12px;
  color: var(--pl-black);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .pl-about a.pl-page__btn:hover,
  .pl-hiw a.pl-page__btn:hover {
    background: var(--pl-gold);
    --color-text-primary: var(--pl-black);
    color: var(--pl-black);
  }

  .pl-about a.pl-page__ghost:hover {
    background: var(--pl-gold);
    border-color: var(--pl-gold);
    color: var(--pl-black);
  }
}

.pl-about a.pl-page__btn:focus-visible,
.pl-about a.pl-page__btn:active,
.pl-hiw a.pl-page__btn:focus-visible,
.pl-hiw a.pl-page__btn:active,
.pl-about a.pl-page__ghost:focus-visible,
.pl-about a.pl-page__ghost:active {
  background: var(--pl-champagne);
  border-color: var(--pl-gold);
  --color-text-primary: var(--pl-black);
  color: var(--pl-black);
}

/* About: hero */
.pl-about__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .pl-about__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 56px;
    align-items: center;
  }
}

.pl-about__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pl-about__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 46px;
  line-height: 1.02;
  color: var(--pl-black);
}

.pl-about__text,
.pl-about__narrative p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--pl-ink);
}

.pl-about__narrative {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pl-about__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--pl-tint);
  border: 1px solid var(--pl-champagne);
  border-radius: 18px;
}

.pl-about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-about__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  color: var(--pl-gold-ink);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.pl-about__rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--pl-champagne);
}

/* About: values */
.pl-about__values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pl-about__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 768px) {
  .pl-about__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.pl-value,
.pl-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
  border-radius: 18px;
}

.pl-value__num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--pl-gold-ink);
}

.pl-value__title,
.pl-step__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--pl-black);
}

.pl-value__text p,
.pl-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pl-ink);
}

/* About: closing band */
.pl-about__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
  background: var(--pl-tint);
  border: 1px solid var(--pl-champagne);
  border-radius: 18px;
  text-align: center;
}

.pl-about__script {
  font-family: var(--font-script);
  font-size: 40px;
  line-height: 1;
  color: var(--pl-gold-ink);
}

.pl-about__cta-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  color: var(--pl-black);
}

.pl-about__cta-text {
  margin: 0;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pl-ink);
}

.pl-about__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* How it works: head and steps */
.pl-hiw__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}

.pl-hiw__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.04;
  color: var(--pl-black);
}

.pl-hiw__intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pl-ink);
}

.pl-hiw__steps {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .pl-hiw__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .pl-hiw__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.pl-step__num,
.pl-postal-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--pl-gold);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  color: var(--pl-gold-ink);
}

/* How it works: when a competition is drawn */
.pl-hiw__draw {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pl-hiw__draw .pl-page__h2 { font-size: 32px; }

.pl-hiw__draw-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 900px) {
  .pl-hiw__draw-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pl-hiw__draw-cards > * {
  margin: 0;
  padding: 20px;
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pl-black);
}

.pl-hiw__draw-cards strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pl-gold-ink);
}

.pl-hiw__stream {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  background: var(--pl-tint);
  border: 1px solid var(--pl-champagne);
  border-radius: 18px;
  text-align: center;
}

.pl-hiw__stream .material-symbols-outlined {
  font-size: 40px;
  color: var(--pl-gold-ink);
}

.pl-hiw__stream--image {
  padding: 0;
  overflow: hidden;
}

.pl-hiw__stream--image img {
  width: 100%;
  height: auto;
}

.pl-hiw__stream-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--pl-black);
}

.pl-hiw__stream-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pl-ink);
}

/* How it works: ticket limits and free postal entry */
.pl-hiw__two {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .pl-hiw__two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }
}

.pl-hiw__limits,
.pl-hiw__postal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px;
  border-radius: 18px;
}

.pl-hiw__limits {
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
}

.pl-hiw__postal {
  background: var(--pl-tint);
  border: 1px solid var(--pl-champagne);
}

.pl-hiw__card-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;
  color: var(--pl-black);
}

.pl-hiw__rows { margin: 0; }

.pl-hiw__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pl-line);
  font-size: 15px;
}

.pl-hiw__row dt { color: var(--pl-black); }

.pl-hiw__row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--pl-black);
}

.pl-hiw__note,
.pl-hiw__postal-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pl-ink);
}

.pl-hiw__postal-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pl-black);
}

.pl-hiw__postal-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-postal-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pl-postal-step__num {
  width: 32px;
  height: 32px;
  font-size: 18px;
  background: var(--pl-surface);
}

.pl-postal-step__title {
  margin: 0 0 2px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pl-black);
}

.pl-postal-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pl-ink);
}

/* How it works: 18+ line and call to action */
.pl-hiw__close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 20px;
  border-top: 1px solid var(--pl-champagne);
  border-bottom: 1px solid var(--pl-champagne);
}

.pl-hiw__age {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pl-hiw__age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--pl-black);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}

.pl-hiw__age-text {
  font-size: 15px;
  line-height: 1.5;
}

/* FAQ page: parent Faq section as the page body */
body.pl-faq-page main.site-main {
  background: var(--pl-ground);
}

body.pl-faq-page .faq-section {
  padding: 24px 0 64px;
  background: transparent;
  color: var(--pl-black);
  font-family: var(--font-body);
}

body.pl-faq-page .faq-section > .max-w-7xl {
  max-width: 1200px;
  padding: 0 16px;
}

body.pl-faq-page .faq-section > .max-w-7xl > div:first-child {
  margin-bottom: 32px;
  text-align: left;
}

body.pl-faq-page .faq-section h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: normal;
  color: var(--pl-black);
}

body.pl-faq-page .faq-section [x-data] {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

body.pl-faq-page .faq-group {
  display: flex;
  flex-direction: column;
}

body.pl-faq-page .faq-group__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--pl-black);
}

body.pl-faq-page .faq-section .faq-item {
  border-bottom: 1px solid var(--pl-champagne);
}

body.pl-faq-page .faq-section .faq-item__question {
  gap: 16px;
  min-height: 56px;
  padding: 8px 0;
  color: var(--pl-black);
}

body.pl-faq-page .faq-section .faq-item__question > span:first-child {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--pl-black);
}

body.pl-faq-page .faq-section .faq-item__icon {
  flex-shrink: 0;
  color: var(--pl-black);
}

body.pl-faq-page .faq-section .faq-item__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

body.pl-faq-page .faq-section .faq-item__answer p {
  margin: 0 0 18px;
  padding: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--pl-ink);
}

body.pl-faq-page .faq-section .faq-help {
  margin-top: 36px;
  padding: 24px 20px;
  background: var(--pl-tint);
  border: 1px solid var(--pl-champagne);
  border-radius: 18px;
  text-align: left;
}

body.pl-faq-page .faq-help p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: var(--pl-black);
}

body.pl-faq-page .faq-help__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

body.pl-faq-page .faq-help a {
  --color-primary: var(--pl-black); /* parent forces a.text-primary and links in .text-text-secondary to these tokens */
  --color-text-secondary: var(--pl-black);
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid var(--pl-black);
  border-radius: 12px;
  color: var(--pl-black);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

body.pl-faq-page .faq-help a svg {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body.pl-faq-page .faq-help a:hover {
    background: var(--pl-gold);
    border-color: var(--pl-gold);
    color: var(--pl-black);
  }
}

body.pl-faq-page .faq-help a:focus-visible,
body.pl-faq-page .faq-help a:active {
  background: var(--pl-champagne);
  border-color: var(--pl-gold);
  color: var(--pl-black);
}

/* Contact page: parent Contact component */
body.page-template-contact-template .nera-contact-page {
  background: var(--pl-ground);
  color: var(--pl-black);
  font-family: var(--font-body);
}

body.page-template-contact-template .nera-contact-page > section:first-child {
  padding: 24px 0 0;
  background: none;
}

body.page-template-contact-template .nera-contact-page > section:first-child > div {
  max-width: 1120px;
  padding: 0 16px;
}

body.page-template-contact-template .nera-contact-page > section:first-child > div > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: none;
  margin: 0;
  text-align: left;
}

body.page-template-contact-template .nera-contact-page h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: normal;
  color: var(--pl-black);
}

body.page-template-contact-template .nera-contact-page h1 + p {
  max-width: 52ch;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--pl-ink);
}

body.page-template-contact-template .nera-contact-page > div.max-w-7xl {
  max-width: 1120px;
  padding: 28px 16px 64px;
}

body.page-template-contact-template .nera-contact-page > div.max-w-7xl > div {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  body.page-template-contact-template .nera-contact-page > div.max-w-7xl > div {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: 48px;
    align-items: start;
  }
}

/* Info card */
body.page-template-contact-template .contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--pl-tint);
  border: 1px solid var(--pl-champagne);
  border-radius: 18px;
}

body.page-template-contact-template .contact-info-section > h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pl-black);
}

body.page-template-contact-template .contact-info-section > h2 + p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pl-ink);
}

body.page-template-contact-template .contact-info-section > .space-y-6 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

body.page-template-contact-template .contact-info-section > .space-y-6 > * {
  margin: 0;
}

body.page-template-contact-template .contact-info-section > .space-y-6 > div > div:first-child {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--pl-gold);
}

body.page-template-contact-template .contact-info-section .material-symbols-outlined {
  font-size: 18px;
  color: var(--pl-gold-ink);
}

body.page-template-contact-template .contact-info-section > .space-y-6 > div > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.page-template-contact-template .contact-info-section > .space-y-6 > div > div:last-child > div:first-child {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--pl-gold-ink);
}

body.page-template-contact-template .contact-info-section address,
body.page-template-contact-template .contact-info-section > .space-y-6 a {
  font-size: 16px;
  line-height: 1.5;
  color: var(--pl-black);
}

body.page-template-contact-template .contact-info-section > .space-y-6 a {
  --color-text-primary: var(--pl-gold-ink); /* parent forces links under .text-text-primary to this token */
  color: var(--pl-gold-ink);
}

@media (hover: hover) and (pointer: fine) {
  body.page-template-contact-template .contact-info-section > .space-y-6 a:hover {
    --color-text-primary: var(--pl-black);
    color: var(--pl-black);
  }
}

body.page-template-contact-template .contact-info-section > .space-y-6 + div {
  padding-top: 14px;
  border-top: 1px solid var(--pl-champagne);
}

body.page-template-contact-template .contact-info-section > .space-y-6 + div p {
  font-size: 13px;
  color: var(--pl-ink);
}

body.page-template-contact-template .contact-info-section > .space-y-6 + div a {
  background: transparent;
  border: 1px solid var(--pl-gold);
}

body.page-template-contact-template .contact-info-section > .space-y-6 + div svg {
  color: var(--pl-gold-ink);
}

/* Form card (follows the info card in the markup, shown first) */
body.page-template-contact-template .contact-info-section + div,
body.page-template-contact-template .nera-contact-page > div.max-w-7xl > div > div:only-child {
  order: -1;
  padding: 20px;
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
  border-radius: 18px;
  box-shadow: none;
}

body.page-template-contact-template .contact-info-section + div > h2 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  color: var(--pl-black);
}

/* Fluent Form fields */
body.page-template-contact-template .nera-contact-page .fluentform {
  --fluentform-primary: var(--pl-black);
  --fluentform-secondary: var(--pl-black);
  --fluentform-danger: var(--color-danger-text);
  --fluentform-border-color: var(--pl-line-strong);
  --fluentform-border-radius: 12px;
  font-family: var(--font-body);
}

body.page-template-contact-template .nera-contact-page .fluentform .ff-el-group {
  margin-bottom: 16px;
}

body.page-template-contact-template .nera-contact-page .fluentform .ff-el-input--label {
  margin-bottom: 6px;
}

body.page-template-contact-template .nera-contact-page .fluentform .ff-el-input--label label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--pl-black);
}

body.page-template-contact-template .nera-contact-page .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
  color: var(--pl-gold-ink);
}

body.page-template-contact-template .nera-contact-page .fluentform .ff-el-form-control {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background-color: var(--pl-ground);
  border: 1px solid var(--pl-line-strong);
  border-radius: 12px;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--pl-black);
}

body.page-template-contact-template .nera-contact-page .fluentform textarea.ff-el-form-control {
  height: auto;
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

body.page-template-contact-template .nera-contact-page .fluentform .ff-el-form-control:focus {
  border-color: var(--pl-gold);
  outline: 2px solid var(--pl-gold);
  outline-offset: 1px;
}

body.page-template-contact-template .nera-contact-page .fluentform .ff-el-is-error .ff-el-form-control {
  border-color: var(--color-danger);
}

body.page-template-contact-template .nera-contact-page .fluentform .ff-el-is-error .error {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-danger-text);
}

body.page-template-contact-template .nera-contact-page .fluentform .ff_submit_btn_wrapper {
  margin: 4px 0 0;
}

/* The parent paints .ff-btn-submit from --color-primary / --color-primary-dark / --color-on-primary with !important. */
body.page-template-contact-template .nera-contact-page .fluentform .ff-btn-submit {
  --color-primary: var(--pl-black);
  --color-primary-dark: var(--pl-gold);
  --color-on-primary: var(--pl-ground);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  background: var(--pl-black);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px -12px var(--pl-gold);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pl-ground);
  opacity: 1;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body.page-template-contact-template .nera-contact-page .fluentform .ff-btn-submit:hover {
    --color-on-primary: var(--pl-black);
    opacity: 1;
  }
}

body.page-template-contact-template .nera-contact-page .fluentform .ff-btn-submit:focus-visible,
body.page-template-contact-template .nera-contact-page .fluentform .ff-btn-submit:active {
  --color-primary: var(--pl-champagne);
  --color-primary-dark: var(--pl-champagne);
  --color-on-primary: var(--pl-black);
}

body.page-template-contact-template .nera-contact-page .ff-message-success {
  margin: 0;
  padding: 24px 20px;
  background: var(--pl-surface);
  border: 1px solid var(--pl-gold);
  border-radius: 18px;
  box-shadow: none;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  color: var(--pl-black);
}

/* Legal pages: Terms, Privacy, Free entry route */
main#primary.site-main.pl-legal {
  max-width: none;
  padding: 0;
}

.pl-legal {
  background: var(--pl-ground);
  color: var(--pl-black);
  font-family: var(--font-body);
  font-variant-numeric: lining-nums;
}

.pl-legal__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .pl-legal__inner {
    padding: 48px 24px 88px;
  }
}

.pl-legal__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pl-legal .pl-legal__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.04;
  color: var(--pl-black);
}

.pl-legal__updated {
  font-size: 13px;
  color: var(--pl-ink);
}

.pl-legal__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 760px;
  padding: 24px 20px;
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
  border-radius: 18px;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .pl-legal__card {
    padding: 32px;
  }
}

.pl-legal__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.pl-legal__body > * {
  margin: 0 0 12px;
}

.pl-legal__body > :last-child {
  margin-bottom: 0;
}

.pl-legal__body p,
.pl-legal__body li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--pl-ink);
}

.pl-legal__body h2 {
  margin: 28px 0 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--pl-black);
}

.pl-legal__body h3 {
  margin: 16px 0 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--pl-black);
}

.pl-legal__body > h2:first-child,
.pl-legal__body > h3:first-child {
  margin-top: 0;
}

.pl-legal__num {
  color: var(--pl-gold-ink);
}

.pl-legal__body strong {
  font-weight: 600;
  color: var(--pl-black);
}

.pl-legal__body ul,
.pl-legal__body ol {
  padding-left: 20px;
}

.pl-legal__body ul { list-style: disc; }
.pl-legal__body ol { list-style: decimal; }

.pl-legal__body hr {
  height: 0;
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--pl-line);
  opacity: 1;
}

.pl-legal .pl-legal__card a {
  color: var(--pl-gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 160ms ease;
}

.pl-legal .pl-legal__card a:hover {
  color: var(--pl-black);
}

/* Free entry route: postal address callout (editor block class) */
.pl-legal__body .pl-legal-callout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding: 18px;
  background: var(--pl-tint);
  border: 1px solid var(--pl-gold);
  border-radius: 14px;
}

.pl-legal__body .pl-legal-callout > * {
  margin: 0;
}

.pl-legal__body .pl-legal-callout__label {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pl-gold-ink);
}

.pl-legal__body .pl-legal-callout__address {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pl-black);
}

.pl-legal__body .pl-legal-callout p:last-child {
  font-size: 14px;
  line-height: 1.6;
}

.pl-legal__company {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--pl-line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--pl-ink);
}

.pl-legal__pages {
  font-size: 14px;
  color: var(--pl-ink);
}
