/*
Theme Name: My Brand Alchemy
Theme URI: https://mybrandalchemy.com/
Author: Codex
Description: ACF Pro powered theme for My Brand Alchemy with shared header/footer, service CPT, editable page templates, and seeded starter content.
Version: 1.0.0
Text Domain: my-brand-alchemy
*/

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mba-empty-media {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3), transparent 22%),
    radial-gradient(circle at 75% 18%, rgba(255, 174, 88, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.header__logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.alchemy-card__image.mba-empty-media,
.service-card__cover.mba-empty-media,
.service-hub-card__media .mba-empty-media,
.post-card__media .mba-empty-media {
  min-height: 320px;
}

.page-hero__card-media .mba-empty-media,
.article-body__cover .mba-empty-media {
  min-height: 420px;
}

.case-card__compare > .mba-empty-media,
.case-card__after-wrap > .mba-empty-media {
  min-height: 360px;
}

.contact-modal__shortcode {
  display: grid;
  gap: 18px;
}

.contact-modal__shortcode .wpcf7-form {
  display: grid;
  gap: 18px;
}

.contact-modal__shortcode label {
  display: grid;
  gap: 8px;
}

.contact-modal__shortcode .wpcf7 {
  width: 100%;
}

.contact-modal__shortcode .wpcf7 form {
  margin: 0;
}

.contact-modal__shortcode p {
  margin: 0;
}

.contact-modal__shortcode input:not([type="submit"]):not([type="checkbox"]),
.contact-modal__shortcode textarea,
.contact-modal__shortcode select {
  width: 100%;
  border: 1px solid rgba(24, 21, 51, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  padding: 16px 18px;
  font: inherit;
  color: #181533;
}

.contact-modal__shortcode textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-modal__shortcode input[type="submit"] {
  min-width: 220px;
  padding: 16px 28px;
  border-radius: 18px;
  background: #181533;
  color: #f8f9eb;
  font: inherit;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
}

.contact-modal__shortcode .wpcf7-not-valid-tip {
  font-size: 13px;
  line-height: 1.4;
}

.contact-modal__shortcode .wpcf7-spinner {
  margin: 12px 0 0;
}

.contact-modal__shortcode .wpcf7-response-output {
  margin: 10px 0 0;
  border-radius: 14px;
}

.article-hero--compact {
  padding-top: 120px;
  padding-bottom: 52px;
}

.article-hero__copy--center {
  justify-items: center;
  text-align: center;
}

.article-hero__meta--center {
  justify-content: center;
}

.article-prose {
  display: grid;
  gap: 24px;
}

.article-seed-lead {
  margin: 0;
}

.policy-editorial {
  width: var(--container-wide);
  max-width: 100%;
  margin: 0 auto;
  padding: 120px 40px 60px;
}

.policy-editorial__panel {
  border-radius: 40px;
  border: 1px solid rgba(208, 228, 239, 0.88);
  background: linear-gradient(128deg, #ecf0e7 0%, #e3f3fb 28%, #f3f0e6 52%, #f1e1f3 100%);
  color: #181533;
  padding: 48px;
}

.policy-editorial__title {
  margin: 0 0 18px;
  font-family: var(--font-ui);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
}

.policy-editorial__content {
  display: grid;
  gap: 18px;
  font-size: 18px;
  line-height: 1.72;
}

.policy-editorial__content h2,
.policy-editorial__content h3 {
  margin: 14px 0 0;
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.08;
}

.policy-editorial__content h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.policy-editorial__content h3 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.policy-editorial__content p,
.policy-editorial__content li {
  margin: 0;
}

.policy-editorial__content ul,
.policy-editorial__content ol {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 10px;
}

@media (max-width: 809.98px) {
  .alchemy-card__image.mba-empty-media,
  .service-card__cover.mba-empty-media,
  .service-hub-card__media .mba-empty-media,
  .post-card__media .mba-empty-media,
  .page-hero__card-media .mba-empty-media,
  .article-body__cover .mba-empty-media {
    min-height: 240px;
  }

  .article-hero--compact {
    padding-top: 108px;
    padding-bottom: 36px;
  }

  .policy-editorial {
    padding: 108px 20px 40px;
  }

  .policy-editorial__panel {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .policy-editorial__content {
    font-size: 17px;
  }
}
