/* =========================================================
   GLBS SHELBY PAGE PATTERNS
   Projects-style subpage system for Shelby Cabinets
   ========================================================= */

.glbs-shelby-subpage {
  background: #ffffff;
  color: #252727;
  font-family: inherit !important;
}

.glbs-shelby-subpage * {
  box-sizing: border-box;
  font-family: inherit !important;
}

/* ---------- Materials gallery alternate pattern ---------- */
.glbs-materials-gallery-page {
  overflow-x: clip;
}

.glbs-materials-gallery-page .glbs-materials-gallery-intro {
  max-width: 820px !important;
  margin: clamp(54px, 8vw, 96px) auto !important;
  padding: 0 24px;
  text-align: center;
}

.glbs-materials-gallery-page .glbs-materials-gallery-intro h2,
.glbs-materials-gallery-page .glbs-materials-gallery-section h2 {
  margin-top: 0;
  color: #252727;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.glbs-materials-gallery-page .glbs-materials-gallery-intro p:last-child,
.glbs-materials-gallery-page .glbs-materials-gallery-copy p {
  color: #595651;
  font-size: 17px;
  line-height: 1.75;
}

.glbs-materials-gallery-page .glbs-materials-gallery-section {
  margin-top: 0 !important;
  margin-bottom: clamp(64px, 9vw, 112px) !important;
  padding: clamp(30px, 5vw, 58px) !important;
  background: #f7f3ec;
}

.glbs-materials-gallery-page .glbs-materials-gallery-copy {
  max-width: 850px !important;
  margin: 0 0 clamp(28px, 4vw, 48px) !important;
}

.glbs-materials-gallery-page .glbs-materials-gallery-grid {
  gap: clamp(12px, 2vw, 24px) !important;
}

.glbs-materials-gallery-page .glbs-materials-gallery-grid figure.wp-block-image {
  overflow: hidden;
  margin: 0 !important;
  background: #e8e1d6;
  cursor: zoom-in;
}

.glbs-materials-gallery-page .glbs-materials-gallery-grid img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.glbs-materials-gallery-page .glbs-materials-gallery-grid img:hover {
  transform: scale(1.02);
}

.glbs-materials-gallery-page .glbs-materials-door-samples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.glbs-materials-gallery-page .glbs-materials-door-sample {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 340px;
  margin: 0 !important;
  padding: 20px 16px 16px;
  background: #fffdf9;
  border: 1px solid #ded8ce;
}

.glbs-materials-gallery-page .glbs-materials-door-sample img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 240px !important;
  margin: auto;
  object-fit: contain !important;
  cursor: zoom-in;
}

.glbs-materials-gallery-page .glbs-materials-door-sample figcaption {
  width: 100%;
  margin: 16px 0 0;
  color: #595651;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.glbs-materials-gallery-page .glbs-materials-door-sample figcaption strong {
  color: #252727;
  font-size: 17px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .glbs-materials-gallery-page .glbs-materials-door-samples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .glbs-materials-gallery-page .glbs-materials-gallery-section {
    width: calc(100% - 28px) !important;
    padding: 26px 14px !important;
  }

  .glbs-materials-gallery-page .glbs-materials-gallery-grid {
    --wp--style--unstable-gallery-gap: 12px;
  }

  .glbs-materials-gallery-page .glbs-materials-door-samples {
    grid-template-columns: 1fr;
  }
}

/* ---------- Materials showroom sample guide ---------- */
.glbs-shelby-materials-page {
  overflow-x: clip;
}

.glbs-shelby-materials-page .glbs-shelby-materials-intro,
.glbs-shelby-materials-page .glbs-shelby-materials-section {
  margin-top: clamp(36px, 6vw, 72px) !important;
  margin-bottom: clamp(36px, 6vw, 72px) !important;
  padding: clamp(28px, 5vw, 56px) !important;
  background: #f7f3ec;
  border: 1px solid #dedad3;
}

.glbs-shelby-materials-page .glbs-shelby-materials-intro {
  max-width: 900px !important;
  text-align: center;
}

.glbs-shelby-materials-page .glbs-shelby-materials-note {
  margin-top: 24px;
  padding-top: 20px;
  color: #665f56;
  font-size: 14px;
  border-top: 1px solid #b4873f;
}

.glbs-shelby-materials-page .glbs-shelby-materials-section-copy {
  max-width: 850px;
  margin-bottom: 30px;
  color: #4e4b47;
}

.glbs-shelby-materials-page .glbs-shelby-materials-sample-grid,
.glbs-shelby-materials-page .glbs-shelby-materials-finish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.glbs-shelby-materials-page .glbs-shelby-materials-finish-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.glbs-shelby-materials-page .glbs-shelby-materials-sample-card,
.glbs-shelby-materials-page .glbs-shelby-materials-finish-card {
  min-width: 0;
  margin: 0;
  padding: 12px 12px 20px;
  background: #fff;
  border: 1px solid #dedad3;
}

.glbs-shelby-materials-page .glbs-shelby-materials-image {
  overflow: hidden;
  margin: 0 0 18px;
  background: #eee7dc;
  cursor: zoom-in;
}

.glbs-shelby-materials-page .glbs-shelby-materials-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.glbs-shelby-materials-page .glbs-shelby-materials-sample-card h3,
.glbs-shelby-materials-page .glbs-shelby-materials-finish-card h3 {
  margin: 0 0 10px;
  color: #252727;
  font-size: 21px;
}

.glbs-shelby-materials-page .glbs-shelby-materials-sample-card p,
.glbs-shelby-materials-page .glbs-shelby-materials-finish-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
}

.glbs-shelby-materials-page .glbs-shelby-materials-type {
  color: #9a6a27;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.glbs-shelby-materials-page .glbs-shelby-materials-card-note {
  color: #6f6a63;
  font-size: 12px !important;
  font-style: italic;
}

@media (max-width: 900px) {
  .glbs-shelby-materials-page .glbs-shelby-materials-sample-grid,
  .glbs-shelby-materials-page .glbs-shelby-materials-finish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .glbs-shelby-materials-page .glbs-shelby-materials-intro,
  .glbs-shelby-materials-page .glbs-shelby-materials-section {
    width: calc(100% - 28px) !important;
    padding: 24px 14px !important;
  }

  .glbs-shelby-materials-page .glbs-shelby-materials-sample-grid {
    grid-template-columns: 1fr;
  }

  .glbs-shelby-materials-page .glbs-shelby-materials-finish-grid {
    gap: 12px;
  }

  .glbs-shelby-materials-page .glbs-shelby-materials-finish-card h3 {
    font-size: 17px;
  }
}

/* ---------- Kadence page shell reset ----------
   Shelby subpage patterns are full-page layouts. When a page starts with
   one, remove Kadence's default boxed entry card so the hero can sit directly
   under the site header like the Projects page. */

body:has(.glbs-shelby-subpage) .content-area,
body:has(.glbs-shelby-subpage) .site-main,
body:has(.glbs-shelby-subpage) .content-container,
body:has(.glbs-shelby-subpage) .content-bg,
body:has(.glbs-shelby-subpage) article.entry,
body:has(.glbs-shelby-subpage) article.single-entry,
body:has(.glbs-shelby-subpage) .entry-content-wrap,
body:has(.glbs-shelby-subpage) .entry-content,
body:has(.glbs-shelby-subpage) .wp-block-post-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body:has(.glbs-shelby-subpage) article.entry,
body:has(.glbs-shelby-subpage) article.single-entry,
body:has(.glbs-shelby-subpage) .content-bg,
body:has(.glbs-shelby-subpage) .entry-content-wrap {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body:has(.glbs-shelby-subpage) .entry-content-wrap {
  padding: 0 !important;
}

body:has(.glbs-shelby-subpage) .entry-content > .glbs-shelby-subpage:first-child,
body:has(.glbs-shelby-subpage) .wp-block-post-content > .glbs-shelby-subpage:first-child {
  margin-top: 0 !important;
}

.glbs-subpage-wrap {
  width: min(calc(100% - 72px), 1120px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- Hero ---------- */

.glbs-subpage-hero {
  position: relative;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  min-height: 620px;
  background: #ffffff;
}

.glbs-subpage-hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 620px;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a6a27;
  font-weight: 700;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.26) 0 50%, rgba(244,239,231,0.72) 50% 100%),
    linear-gradient(135deg, #eee7dc 0%, #f7f3ec 42%, #d8c8b2 100%);
  background-size: 76px 100%, auto;
  border: 0;
}

.glbs-subpage-hero-media p {
  margin: 0 !important;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #dedad3;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.glbs-subpage-hero-media img,
.glbs-subpage-hero-media figure {
  width: 100% !important;
  height: 620px !important;
  min-height: 620px !important;
  margin: 0 !important;
  object-fit: cover !important;
}

.glbs-subpage-hero-copy {
  position: relative;
  z-index: 3;
  width: min(54%, 760px);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 96px)
           clamp(32px, 6vw, 82px)
           clamp(56px, 7vw, 96px)
           max(32px, calc((100vw - 1120px) / 2));
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.98) 0%,
    rgba(255,255,255,0.92) 45%,
    rgba(255,255,255,0.62) 72%,
    rgba(255,255,255,0.00) 100%
  ) !important;
}

.glbs-subpage-eyebrow {
  margin: 0 0 24px !important;
  color: #b4873f;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.glbs-subpage-title {
  margin: 0 !important;
  max-width: 680px;
  color: #252727;
  font-size: clamp(54px, 5vw, 80px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.02em !important;
  font-weight: 600 !important;
}

.glbs-subpage-title::after,
.glbs-subpage-section-title::before,
.glbs-subpage-section-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 1px;
  background: #b4873f;
}

.glbs-subpage-title::after {
  margin-top: 24px;
}

.glbs-subpage-lead {
  margin: 28px 0 0 !important;
  max-width: 430px;
  color: #6f6a63;
  font-size: 20px;
  line-height: 1.45;
}

.glbs-subpage-buttons {
  margin-top: 34px !important;
  gap: 14px !important;
}

.glbs-subpage-button-primary .wp-block-button__link,
.glbs-subpage-button-secondary .wp-block-button__link {
  border-radius: 0 !important;
  padding: 15px 28px !important;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  text-decoration: none !important;
}

.glbs-subpage-button-primary .wp-block-button__link {
  background: #bd8e3d !important;
  color: #ffffff !important;
  border: 1px solid #bd8e3d !important;
}

.glbs-subpage-button-secondary .wp-block-button__link {
  background: rgba(255,255,255,0.42) !important;
  color: #9a6a27 !important;
  border: 1px solid #bd8e3d !important;
}

/* ---------- Trust Bar ---------- */

.glbs-subpage-trust {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #ffffff;
  border-top: 1px solid #dedad3;
  border-bottom: 1px solid #dedad3;
}

.glbs-subpage-trust-inner {
  width: min(calc(100% - 72px), 1120px) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  gap: 0 !important;
}

.glbs-subpage-trust-inner .wp-block-column {
  padding: 22px 18px;
  border-right: 1px solid #dedad3;
}

.glbs-subpage-trust-inner .wp-block-column:first-child {
  border-left: 1px solid #dedad3;
}

.glbs-subpage-trust-item {
  margin: 0 !important;
  color: #6f6a63;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.10em;
  text-align: center;
  text-transform: uppercase;
}

.glbs-subpage-trust-item strong {
  color: #252727;
  font-weight: 700;
}

/* ---------- Sections ---------- */

.glbs-subpage-intro,
.glbs-subpage-story,
.glbs-subpage-process,
.glbs-subpage-card-section,
.glbs-subpage-form-section,
.glbs-subpage-faq-list,
.glbs-subpage-project-overview,
.glbs-subpage-cta {
  margin-top: 48px !important;
  margin-bottom: 48px !important;
  padding: 42px 34px !important;
  background: #f8f7f4;
  border: 1px solid #dedad3;
}

.glbs-subpage-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 0 38px !important;
  color: #252727;
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  text-align: center;
}

.glbs-subpage-section-title::before,
.glbs-subpage-section-title::after {
  flex: 0 0 46px;
  width: 46px;
}

.glbs-subpage-section-title-left {
  justify-content: flex-start;
  text-align: left;
}

.glbs-subpage-section-title-left::before {
  display: none;
}

.glbs-subpage-split {
  gap: 54px !important;
  align-items: center !important;
}

/* ---------- Cards ---------- */

.glbs-subpage-card-grid {
  gap: 24px !important;
  margin-bottom: 0 !important;
}

.glbs-subpage-card {
  background: #ffffff;
  border: 1px solid #dedad3;
  padding: 28px !important;
}

.glbs-subpage-card .glbs-subpage-placeholder {
  margin: -28px -28px 24px !important;
}

.glbs-subpage-placeholder {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a6a27;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.45) 0 50%, rgba(244,239,231,0.8) 50% 100%),
    #eee7dc;
  background-size: 64px 100%, auto;
  border-bottom: 1px solid #dedad3;
}

.glbs-subpage-card-title {
  margin: 0 !important;
  color: #252727;
  font-size: 23px !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
}

.glbs-subpage-card-copy {
  margin: 12px 0 0 !important;
  color: #6f6a63;
  font-size: 16px;
  line-height: 1.55;
}

.glbs-subpage-card-copy + .glbs-subpage-card-copy {
  margin-top: 16px !important;
}

.glbs-subpage-step-number {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px !important;
  color: #ffffff;
  background: #bd8e3d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.glbs-subpage-area-grid .glbs-subpage-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.glbs-subpage-area-grid .glbs-subpage-card-title {
  font-size: 20px !important;
}

/* ---------- FAQ / Form / CTA ---------- */

.glbs-subpage-faq-item {
  padding: 28px 0 !important;
  border-top: 1px solid #dedad3;
}

.glbs-subpage-faq-item:last-child {
  border-bottom: 1px solid #dedad3;
}

.glbs-subpage-form-placeholder {
  min-height: 300px;
  padding: 24px !important;
  background: #ffffff;
  border: 1px solid #dedad3;
}

.glbs-subpage-form-placeholder p {
  margin: 0 0 14px !important;
  padding: 14px 16px;
  color: #8a8175;
  background: #f8f7f4;
  border: 1px solid #dedad3;
  font-size: 14px;
}

.glbs-subpage-cta {
  margin-bottom: 64px !important;
}

.glbs-subpage-cta-title {
  margin-bottom: 28px !important;
}

.glbs-subpage-cta-inner {
  gap: 40px !important;
  align-items: center !important;
}

.glbs-subpage-phone {
  margin: 14px 0 0 !important;
  color: #6f6a63;
  font-size: 14px;
  text-align: right;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .glbs-subpage-hero,
  .glbs-subpage-hero-media,
  .glbs-subpage-hero-media img,
  .glbs-subpage-hero-media figure,
  .glbs-subpage-hero-copy {
    min-height: 560px !important;
  }

  .glbs-subpage-hero-copy {
    width: min(68%, 720px);
  }

  .glbs-subpage-title {
    font-size: clamp(46px, 7vw, 66px) !important;
  }

  .glbs-subpage-four-grid {
    flex-wrap: wrap !important;
  }

  .glbs-subpage-four-grid .wp-block-column {
    flex-basis: calc(50% - 12px) !important;
    flex-grow: 0 !important;
  }
}

@media (max-width: 781px) {
  .glbs-subpage-wrap,
  .glbs-subpage-trust-inner {
    width: min(calc(100% - 32px), 1120px) !important;
  }

  .glbs-subpage-hero {
    min-height: auto !important;
    display: flex;
    flex-direction: column;
  }

  .glbs-subpage-hero-media {
    position: relative;
    min-height: 310px !important;
    order: 1;
  }

  .glbs-subpage-hero-media img,
  .glbs-subpage-hero-media figure {
    height: 310px !important;
    min-height: 310px !important;
  }

  .glbs-subpage-hero-copy {
    order: 2;
    width: 100%;
    min-height: auto !important;
    padding: 34px 18px 38px !important;
    background: #ffffff !important;
  }

  .glbs-subpage-eyebrow {
    margin-bottom: 18px !important;
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .glbs-subpage-title {
    max-width: 100%;
    font-size: 40px !important;
    line-height: 1.02 !important;
  }

  .glbs-subpage-title::after {
    margin-top: 18px;
    width: 76px;
  }

  .glbs-subpage-lead {
    max-width: 100%;
    margin-top: 20px !important;
    font-size: 17px;
  }

  .glbs-subpage-buttons {
    margin-top: 24px !important;
  }

  .glbs-subpage-button-primary,
  .glbs-subpage-button-secondary,
  .glbs-subpage-button-primary .wp-block-button__link,
  .glbs-subpage-button-secondary .wp-block-button__link {
    width: 100%;
  }

  .glbs-subpage-button-primary .wp-block-button__link,
  .glbs-subpage-button-secondary .wp-block-button__link {
    display: block;
    text-align: center;
  }

  .glbs-subpage-trust-inner {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .glbs-subpage-trust-inner .wp-block-column,
  .glbs-subpage-trust-inner .wp-block-column:first-child {
    border-left: 1px solid #dedad3;
    border-right: 1px solid #dedad3;
    border-bottom: 1px solid #dedad3;
  }

  .glbs-subpage-trust-inner .wp-block-column:last-child {
    border-bottom: 0;
  }

  .glbs-subpage-intro,
  .glbs-subpage-story,
  .glbs-subpage-process,
  .glbs-subpage-card-section,
  .glbs-subpage-form-section,
  .glbs-subpage-faq-list,
  .glbs-subpage-project-overview,
  .glbs-subpage-cta {
    margin-top: 28px !important;
    margin-bottom: 28px !important;
    padding: 28px 18px !important;
  }

  .glbs-subpage-section-title,
  .glbs-subpage-section-title-left {
    justify-content: center;
    gap: 14px;
    margin-bottom: 26px !important;
    font-size: 24px !important;
    letter-spacing: 0.08em !important;
    text-align: center;
  }

  .glbs-subpage-section-title::before,
  .glbs-subpage-section-title::after,
  .glbs-subpage-section-title-left::before,
  .glbs-subpage-section-title-left::after {
    display: block;
    flex-basis: 28px;
    width: 28px;
  }

  .glbs-subpage-split,
  .glbs-subpage-card-grid,
  .glbs-subpage-cta-inner {
    gap: 18px !important;
  }

  .glbs-subpage-four-grid .wp-block-column {
    flex-basis: 100% !important;
  }

  .glbs-subpage-card {
    padding: 22px !important;
  }

  .glbs-subpage-card .glbs-subpage-placeholder {
    margin: -22px -22px 20px !important;
  }

  .glbs-subpage-phone {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .glbs-subpage-title {
    font-size: 36px !important;
  }

  .glbs-subpage-section-title {
    font-size: 21px !important;
  }

  .glbs-subpage-card-title {
    font-size: 21px !important;
  }
}

/* =========================================================
   Final baseline lock
   Keeps Shelby subpages aligned with the Projects page type rhythm.
   ========================================================= */

.glbs-shelby-subpage,
.glbs-shelby-subpage * {
  font-family: inherit !important;
}

.glbs-subpage-title {
  font-size: clamp(42px, 5vw, 68px) !important;
  line-height: 1.02 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.glbs-subpage-lead {
  font-size: clamp(16px, 1.45vw, 19px) !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.glbs-subpage-eyebrow {
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
}

.glbs-subpage-section-title,
.glbs-subpage-cta-title {
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
}

.glbs-subpage-card-title,
.glbs-subpage-area-grid .glbs-subpage-card-title {
  font-size: clamp(18px, 1.5vw, 22px) !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.glbs-subpage-card-copy,
.glbs-subpage-trust-item,
.glbs-subpage-phone {
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.glbs-subpage-trust-item strong,
.glbs-subpage-step-number,
.glbs-subpage-placeholder,
.glbs-subpage-hero-media {
  font-weight: 600 !important;
}

.glbs-subpage-button-primary .wp-block-button__link,
.glbs-subpage-button-secondary .wp-block-button__link {
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 900px) {
  .glbs-subpage-title {
    font-size: clamp(40px, 10vw, 58px) !important;
  }

  .glbs-subpage-lead {
    font-size: 18px !important;
  }

  .glbs-subpage-section-title,
  .glbs-subpage-cta-title {
    font-size: clamp(22px, 5.6vw, 28px) !important;
  }
}

@media (max-width: 600px) {
  .glbs-subpage-title {
    font-size: clamp(40px, 11vw, 52px) !important;
  }

  .glbs-subpage-card-title,
  .glbs-subpage-area-grid .glbs-subpage-card-title {
    font-size: 20px !important;
  }

  .glbs-subpage-trust-item {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
}
