/*
Theme Name: Twenty Twenty-Five Origami
Template: twentytwentyfive
Version: 1.0.2
Description: TT5 child theme for Origami migration layout controls.
*/

:root {
  --oe-dark-bg: #202537;
  --oe-dark-text: #ffffff;
  --oe-cta-bg: rgb(177, 184, 196);
  --oe-cta-text: rgb(34, 45, 66);
  --oe-btn-bg: rgb(111, 169, 46);
}

/* Force full-bleed section backgrounds inside TT5 constrained post content. */
.home .entry-content.is-layout-constrained > .oe-hero-cover,
.home .entry-content.is-layout-constrained > .oe-section-dark,
.home .entry-content.is-layout-constrained > .oe-cta-section {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home .entry-content.is-layout-constrained > .oe-section-dark.has-global-padding,
.home .entry-content.is-layout-constrained > .oe-cta-section.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Keep text blocks constrained while background bands stay full width. */
.oe-hero-cover .wp-block-cover__inner-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.oe-hero-cover .wp-block-cover__inner-container > .wp-block-group > .wp-block-group,
.oe-section-dark > .wp-block-group,
.oe-cta-section > .wp-block-group {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 28px);
  padding-right: clamp(16px, 3vw, 28px);
}

.oe-hero-cover h1,
.oe-section-dark h2,
.oe-section-dark h3,
.oe-section-dark h4,
.oe-cta-section h2 {
  font-family: "futura-pt", "Avenir Next", "Segoe UI", sans-serif;
}

.oe-hero-cover h1 {
  font-weight: 300;
  font-size: clamp(2rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  max-width: 11ch;
}

.oe-section-dark {
  background-color: var(--oe-dark-bg);
  color: var(--oe-dark-text);
}

.oe-section-dark h2 {
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.oe-section-dark h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.25;
}

.oe-section-dark h4 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.3;
}

.oe-section-dark p,
.oe-section-dark li,
.oe-cta-section p {
  font-family: "proxima-nova", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

.oe-section-dark .wp-block-columns {
  gap: clamp(1rem, 2.2vw, 2rem);
}

.oe-cta-section {
  background-color: var(--oe-cta-bg);
  color: var(--oe-cta-text);
}

.oe-cta-section h2,
.oe-cta-section p {
  color: var(--oe-cta-text);
}

.oe-section-dark .wp-block-button__link,
.oe-cta-section .wp-block-button__link {
  background-color: var(--oe-btn-bg);
  color: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.64em 1.55em;
  text-decoration: none;
}

.oe-section-dark .wp-block-button__link:hover,
.oe-cta-section .wp-block-button__link:hover {
  filter: brightness(0.95);
}

@media (max-width: 781px) {
  .oe-hero-cover {
    min-height: 320px !important;
  }

  .oe-section-dark,
  .oe-cta-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}
