/* ABOUT PAGE - COMPACT LAYOUT */

.about-page {
  width: 100%;
}

/* Remove excessive spacing and inherited heights */
.about-page section.page-section {
  height: auto;
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 0;
  margin-bottom: 0;
}

/* Prevent narrow container from adding extra spacing */
.about-page .page-section.narrow {
  height: auto;
  min-height: 0;
}

/* Section labels */
.about-page .page-section .eyebrow {
  display: block;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Section headings */
.about-page .page-section h2 {
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.2;
}

/* Paragraph spacing */
.about-page .page-section p {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Lead paragraph */
.about-page .page-section p.lead {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Remove bottom margin on final paragraph */
.about-page .page-section p:last-child {
  margin-bottom: 0;
}

/* Shop button */
.about-page .page-section .button {
  display: inline-block;
  margin-top: 12px;
}

/* Hero spacing */
.about-page .about-hero {
  height: auto;
  min-height: 0;
  padding-top: 70px;
  padding-bottom: 70px;
}

/* Mobile layout */
@media (max-width: 768px) {
  .about-page section.page-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .about-page .page-section h2 {
    margin-bottom: 14px;
  }

  .about-page .page-section p {
    margin-bottom: 10px;
  }

  .about-page .about-hero {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* Shipping policy: complements the existing American Empire Company theme. */
.shipping-page .shipping-hero {
  padding: 55px 0 35px;
}

.shipping-page .shipping-hero h1 {
  margin: 8px 0 12px;
  line-height: 1.15;
}

.shipping-page .shipping-intro {
  max-width: 780px;
  line-height: 1.65;
}

.shipping-page section.shipping-section {
  height: auto;
  min-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 22px;
  padding-bottom: 22px;
}

.shipping-page .shipping-section + .shipping-section {
  border-top: 1px solid rgba(120, 120, 120, 0.22);
}

.shipping-page .shipping-section h2 {
  margin: 0 0 12px;
  line-height: 1.25;
}

.shipping-page .shipping-section p {
  margin: 0 0 12px;
  line-height: 1.65;
}

.shipping-page .shipping-section p:last-child {
  margin-bottom: 0;
}

.shipping-page .shipping-section .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.shipping-page .shipping-updated {
  font-size: 0.9rem;
  opacity: 0.75;
}

.shipping-page .shipping-closing {
  font-weight: 700;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .shipping-page .shipping-hero {
    padding: 36px 0 20px;
  }

  .shipping-page section.shipping-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* Scoped to the Returns page to preserve the existing site design. */
.aec-returns section.page-section {
  height: auto;
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 0;
  margin-bottom: 0;
}
.aec-returns .page-section .eyebrow {
  display: block;
  margin: 0 0 8px;
  line-height: 1.4;
}
.aec-returns .page-section h1,
.aec-returns .page-section h2 {
  margin: 0 0 18px;
  line-height: 1.2;
}
.aec-returns .page-section p {
  margin: 0 0 12px;
  line-height: 1.65;
}
.aec-returns .page-section p:last-child {
  margin-bottom: 0;
}
.aec-returns .policy-intro {
  font-size: 1.12rem;
}
.aec-returns .policy-emphasis {
  border-left: 4px solid #9f1d2d;
  padding: 14px 18px;
  margin: 18px 0;
  background: rgba(159, 29, 45, 0.06);
}
.aec-returns .policy-emphasis p {
  margin: 0;
}
.aec-returns .policy-updated {
  font-size: 0.9rem;
  opacity: 0.75;
}
.aec-returns .policy-actions {
  margin-top: 22px;
}
@media (max-width: 768px) {
  .aec-returns section.page-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .aec-returns .page-section h1,
  .aec-returns .page-section h2 {
    margin-bottom: 14px;
  }
}

/* Scoped styles preserve the American Empire Company site's existing design. */
.aec-privacy section.page-section {
  height: auto;
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 0;
  margin-bottom: 0;
}
.aec-privacy section.page-section + section.page-section {
  border-top: 1px solid rgba(120, 120, 120, 0.2);
}
.aec-privacy .page-section .eyebrow {
  display: block;
  margin: 0 0 8px;
  line-height: 1.4;
}
.aec-privacy .page-section h1,
.aec-privacy .page-section h2 {
  margin: 0 0 18px;
  line-height: 1.2;
}
.aec-privacy .page-section p,
.aec-privacy .page-section li {
  line-height: 1.65;
}
.aec-privacy .page-section p {
  margin: 0 0 12px;
}
.aec-privacy .page-section p:last-child {
  margin-bottom: 0;
}
.aec-privacy .page-section ul {
  padding-left: 22px;
  margin: 0 0 12px;
}
.aec-privacy .page-section li {
  margin-bottom: 7px;
}
.aec-privacy .policy-updated {
  font-size: 0.9rem;
  opacity: 0.75;
}
.aec-privacy .policy-intro {
  font-size: 1.12rem;
}
.aec-privacy a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 768px) {
  .aec-privacy section.page-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .aec-privacy .page-section h1,
  .aec-privacy .page-section h2 {
    margin-bottom: 14px;
  }
}

/* Scoped styling: retain the site's existing colors, fonts and containers. */
.aec-terms section.page-section {
  height: auto;
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 0;
  margin-bottom: 0;
}
.aec-terms section.page-section + section.page-section {
  border-top: 1px solid rgba(120, 120, 120, 0.2);
}
.aec-terms .page-section .eyebrow {
  display: block;
  margin: 0 0 8px;
  line-height: 1.4;
}
.aec-terms .page-section h1,
.aec-terms .page-section h2 {
  margin: 0 0 18px;
  line-height: 1.2;
}
.aec-terms .page-section p,
.aec-terms .page-section li {
  line-height: 1.65;
}
.aec-terms .page-section p {
  margin: 0 0 12px;
}
.aec-terms .page-section p:last-child {
  margin-bottom: 0;
}
.aec-terms .page-section ul {
  padding-left: 22px;
  margin: 0 0 12px;
}
.aec-terms .page-section li {
  margin-bottom: 7px;
}
.aec-terms .policy-updated {
  font-size: 0.9rem;
  opacity: 0.75;
}
.aec-terms .policy-intro {
  font-size: 1.12rem;
}
.aec-terms .policy-emphasis {
  border-left: 4px solid #9f1d2d;
  padding: 14px 18px;
  margin: 18px 0;
  background: rgba(159, 29, 45, 0.06);
}
.aec-terms .policy-emphasis p {
  margin: 0;
}
.aec-terms a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 768px) {
  .aec-terms section.page-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .aec-terms .page-section h1,
  .aec-terms .page-section h2 {
    margin-bottom: 14px;
  }
}

/* Keep long-form content readable when the reference design expands containers. */
.page-section.narrow {
  max-width: 850px;
  margin-inline: auto;
}
