/* Approved supporting-page compositions; existing Bakura tokens and native controls. */
.bakura-support h1 {
  font-size: clamp(32px, 3.7vw, 52px);
  line-height: 1.5;
  margin-block: 0 24px;
}

.bakura-support main h2 {
  font-size: 24px;
}

.bakura-support .skip-link:not(:focus) {
  clip-path: inset(50%);
}

.support-about {
  padding-block: 80px 100px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
  min-height: 600px;
}

.about-copy h1 {
  max-width: 11em;
  font-size: clamp(40px, 4.5vw, 64px);
}

.about-copy p {
  font-size: 20px;
  max-width: 32em;
}

.about-photo img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
}

.without-photo .about-layout {
  display: block;
  min-height: 460px;
}

.without-photo .about-copy {
  max-width: 780px;
  margin-inline: auto;
  padding-block: 36px;
}

.support-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
}

.support-contact,
.support-help {
  padding-block: 64px 90px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.contact-intro {
  padding-top: 54px;
}

.contact-intro > p {
  font-size: 20px;
}

.contact-shortcuts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 36px;
}

.contact-form {
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 4px;
  min-width: 0;
}

.contact-field {
  margin-bottom: 20px;
}

.contact-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-field label span,
.contact-field-error {
  color: #8b241c;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 54px;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
}

.contact-field textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-field input[type="email"] {
  direction: ltr;
  text-align: start;
}

.contact-field #contact-order {
  direction: ltr;
  text-align: start;
  unicode-bidi: plaintext;
}

.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"],
.contact-field select[aria-invalid="true"] {
  border-color: #8b241c;
}

.contact-field-error {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.contact-field-error:empty {
  display: none;
}

.contact-form .button {
  width: 100%;
}

.contact-form .button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-availability {
  font-size: 14px;
  margin-block: 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-feedback {
  padding: 20px;
  border: 1px solid var(--line);
  margin-bottom: 26px;
  overflow-wrap: anywhere;
}

.contact-feedback p {
  margin: 0;
}

.contact-feedback ul:empty {
  display: none;
}

.contact-feedback ul {
  margin-bottom: 0;
  padding-inline-start: 20px;
}

.contact-feedback a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.contact-feedback:focus {
  outline: 3px solid #8d5820;
  outline-offset: 4px;
}

.contact-feedback.is-error {
  color: #8b241c;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.contact-privacy {
  text-align: center;
  font-size: 14px;
  margin-bottom: 0;
}

.contact-privacy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.help-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
}

.help-content > p {
  color: var(--muted);
  margin-bottom: 36px;
}

.help-content .wp-block-details {
  border: 1px solid var(--line);
  border-bottom: 0;
  margin: 0;
  padding: 0;
}

.help-content .wp-block-details:last-child {
  border-bottom: 1px solid var(--line);
}

.help-content summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 20px;
}

.help-content .wp-block-details > p {
  padding: 0 26px 22px;
  margin: 0;
}

.help-content .wp-block-details a {
  text-underline-offset: 5px;
}

.help-links {
  grid-column: 1;
  grid-row: 1;
  border-inline-end: 1px solid var(--line);
  padding-inline: 0 32px;
  padding-top: 16px;
}

.help-links h2 {
  margin-block: 0 18px;
}

.help-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.help-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.help-contact {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  margin-top: 48px;
}

.help-contact h2 {
  margin-block: 0 22px;
}

@media (max-width: 1000px) {
  .contact-layout,
  .about-layout {
    gap: 36px;
  }

  .help-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .support-about,
  .support-contact,
  .support-help {
    padding-block: 36px 60px;
  }

  .about-layout,
  .contact-layout,
  .help-layout {
    display: block;
    min-height: 0;
  }

  .about-copy h1 {
    font-size: 38px;
  }

  .about-copy p,
  .contact-intro > p {
    font-size: 18px;
  }

  .about-photo {
    margin-top: 36px;
  }

  .without-photo .about-layout {
    min-height: 0;
  }

  .without-photo .about-copy {
    padding-block: 0;
  }

  .support-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .support-actions .text-link {
    align-self: center;
  }

  .contact-intro {
    padding-top: 0;
  }

  .contact-shortcuts {
    flex-flow: row wrap;
    column-gap: 24px;
    margin-block: 24px 32px;
  }

  .contact-form {
    border: 0;
    padding: 0;
  }

  .contact-shortcuts .text-link {
    font-size: 14px;
  }

  .help-content summary {
    font-size: 17px;
    padding: 18px;
  }

  .help-content .wp-block-details > p {
    padding: 0 18px 20px;
  }

  .help-links {
    padding: 0;
    border: 0;
    margin-top: 36px;
  }
}

.help-content {
  grid-column: 2;
  grid-row: 1;
}

@media (max-width: 700px) {
  .help-links {
    border: 0;
    padding: 0;
  }
}

/* stylelint-disable no-duplicate-selectors -- Deliberate late cascade over legacy theme rules. */

/* Luxury polish: editorial support pages with intentional empty-image states. */
.bakura-support main {
  position: relative;
}

.without-photo .about-layout {
  max-width: 1080px;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.without-photo .about-copy {
  max-width: 820px;
  margin: 0;
  padding: 64px clamp(28px, 7vw, 86px);
  background: rgb(255 250 240 / 0.55);
  border-block: 1px solid var(--line-strong);
  border-inline-start: 3px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.about-copy p,
.contact-intro > p,
.help-content > p {
  color: var(--muted);
}

.about-photo {
  background: var(--paper-muted);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-layout {
  gap: clamp(42px, 6vw, 86px);
}

.contact-intro {
  position: sticky;
  top: 36px;
}

.contact-form {
  background: rgb(255 250 240 / 0.58);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 4vw, 42px);
}

.contact-availability,
.contact-feedback {
  background: rgb(244 236 216 / 0.48);
  border-color: var(--line-strong);
  border-radius: 3px;
}

.contact-availability {
  padding: 16px 18px;
}

.contact-field label {
  color: var(--ink-soft);
  font-weight: 560;
}

.help-content .wp-block-details {
  background: rgb(255 250 240 / 0.48);
  border-color: var(--line-strong);
  transition: background-color 180ms ease;
}

.help-content .wp-block-details:hover,
.help-content .wp-block-details[open] {
  background: var(--paper);
}

.help-content summary {
  transition: color 180ms ease;
}

.help-content summary:hover {
  color: var(--gold-dark);
}

.help-links {
  border-color: var(--line-strong);
}

.help-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.help-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.help-contact {
  border-color: var(--line-strong);
  padding-block: 48px 12px;
}

@media (max-width: 700px) {
  .without-photo .about-layout {
    min-height: 0;
    display: block;
  }

  .without-photo .about-copy {
    padding: 34px 24px;
    box-shadow: none;
  }

  .contact-intro {
    position: static;
  }

  .contact-form {
    margin-inline: calc(var(--space) * -0.35);
    padding: 26px 18px;
    border: 1px solid var(--line);
    box-shadow: none;
  }
}
/* stylelint-enable no-duplicate-selectors */

/* Editorial support surfaces: clear text hierarchy and uncluttered forms. */
/* stylelint-disable no-duplicate-selectors */
.bakura-support h1 {
  font-weight: 750;
}

.without-photo .about-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-inline: 0;
}

.contact-form {
  background: var(--cream);
  border-radius: 2px;
  box-shadow: none;
}

.help-content .wp-block-details {
  background: transparent;
  border-radius: 0;
}

@media (max-width: 767px) {
  .without-photo .about-copy {
    padding-inline: 0;
  }

  .contact-form {
    margin-inline: 0;
    padding: 24px 20px;
  }
}
/* stylelint-enable no-duplicate-selectors */
