/* =========================================================
   Eleventy ADS v13 targeted fixes
   Footer title effect parity, desktop service titles, MacBook about spacing,
   career popup close, mobile references, testimonial clipping.
   ========================================================= */

/* 1) Hero Eleventy ADS başlığı: footer ile aynı at-title-text char mantığı. */
.eleventy-home-v2 .sec-1-home-2 .hero-2-title.at-title-text {
  overflow: hidden !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

.eleventy-home-v2 .sec-1-home-2 .hero-2-title.at-title-text .char {
  display: inline-block !important;
  text-shadow: 0 1.05em var(--at-theme-primary) !important;
  transition:
    translate 0.3s var(--basic-ease),
    text-shadow 0.1s 0.15s ease !important;
  will-change: translate;
}

.eleventy-home-v2 .sec-1-home-2 .at-title-anim:hover .hero-2-title.at-title-text .char {
  text-shadow: 0 1.05em currentColor !important;
  translate: 0 -1.05em 0 !important;
  transition:
    translate 0.5s calc((var(--char) - 1) * 0.024s) var(--basic-ease),
    text-shadow 0.175s calc((var(--char) - 1) * 0.024s + 0.225s) ease !important;
}

/* Eski özel hero animasyonu class'ı kalırsa etkisizleşsin; footer yapısını ezmesin. */
.eleventy-home-v2 .sec-1-home-2 .hero-2-title.eleventy-hero-footer-effect .eh-footer-char {
  all: unset;
  display: inline-block !important;
}

/* 2) Hizmet parallax başlıkları - yalnızca desktop: 2 satır + ok sabit sağda. */
@media (min-width: 992px) {
  .eleventy-home-v2 .wall__copy h2 {
    max-width: min(690px, 50vw) !important;
    font-size: clamp(1.55rem, 2.55vw, 3.2rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0.028em !important;
  }

  .eleventy-home-v2 .wall__title-link {
    position: relative !important;
    display: block !important;
    width: min(690px, 50vw) !important;
    max-width: 100% !important;
    padding-right: 72px !important;
    color: inherit !important;
    text-decoration: none !important;
  }

  .eleventy-home-v2 .wall__title-text {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    letter-spacing: inherit !important;
  }

  .eleventy-home-v2 .wall__title-line {
    display: block !important;
    white-space: nowrap !important;
    letter-spacing: inherit !important;
  }

  .eleventy-home-v2 .wall__title-line-management,
  .eleventy-home-v2 .wall__title-line-amp {
    margin-top: 0.03em !important;
  }

  .eleventy-home-v2 .wall__desktop-break {
    display: block !important;
  }

  .eleventy-home-v2 .wall__title-arrow {
    position: absolute !important;
    top: 0.18em !important;
    right: 0 !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    margin: 0 !important;
    transform: none !important;
    color: var(--ea-accent) !important;
  }

  .eleventy-home-v2 .wall__title-link:hover .wall__title-arrow {
    transform: translate3d(5px, -5px, 0) !important;
  }
}

@media (min-width: 1200px) and (max-width: 1536px) {
  .eleventy-home-v2 .wall__copy h2 {
    max-width: min(650px, 50vw) !important;
    font-size: clamp(1.45rem, 2.35vw, 2.85rem) !important;
    letter-spacing: 0.025em !important;
  }

  .eleventy-home-v2 .wall__title-link {
    width: min(650px, 50vw) !important;
    padding-right: 64px !important;
  }

  .eleventy-home-v2 .wall__title-arrow {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }
}

@media (max-width: 991.98px) {
  .eleventy-home-v2 .wall__desktop-break {
    display: none !important;
  }

  .eleventy-home-v2 .wall__title-link {
    display: inline-flex !important;
    width: auto !important;
    padding-right: 0 !important;
  }

  .eleventy-home-v2 .wall__title-line {
    display: inline !important;
    white-space: normal !important;
  }
}

/* 5) MacBook / küçük laptop: Biz Kimiz alanını görünür şekilde içeri al. */
@media (min-width: 992px) and (max-width: 1536px) {
  .eleventy-home-v2 .sec-2-home-2.container-2200 {
    width: calc(100% - clamp(64px, 7vw, 128px)) !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .eleventy-home-v2 .sec-2-home-2 > .mx-4,
  .eleventy-home-v2 .sec-2-home-2 .bg-coating.mx-lg-3,
  .eleventy-home-v2 .sec-2-home-2 .bg-coating.mx-2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .bg-coating > .container {
    max-width: 100% !important;
    padding-left: clamp(48px, 5vw, 86px) !important;
    padding-right: clamp(48px, 5vw, 86px) !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .bg-coating .row.g-4 {
    --bs-gutter-x: clamp(48px, 5.5vw, 96px) !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .card-item__bg {
    max-width: clamp(330px, 28vw, 430px) !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}

/* 3) Kariyer popup: kapatma butonu/overlay her zaman tıklanabilir. */
#careerPopup.analysis-popup {
  z-index: 2147481000 !important;
}

#careerPopup .analysis-popup-content {
  position: relative !important;
  z-index: 2 !important;
}

#careerPopup .analysis-popup-close,
#careerPopup .career-popup-close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 20 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

#careerPopup .analysis-popup-overlay,
#careerPopup .career-popup-overlay {
  z-index: 1 !important;
  pointer-events: auto !important;
}

#careerPopup:not(.is-active) {
  display: none !important;
}

#careerPopup.is-active {
  display: flex !important;
}

/* 4) Referanslar mobil: kartlar daha kompakt, görsel daha tam, tagler daha derli toplu. */
@media (max-width: 767.98px) {
  #referanslar.eleventy-references-section {
    padding: 48px 0 !important;
  }

  #referanslar.eleventy-references-section > .container,
  #referanslar .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #referanslar .eleventy-references-shell {
    padding: 22px 12px 24px !important;
    border-radius: 22px !important;
  }

  #referanslar .eleventy-references-head {
    gap: 14px !important;
    margin-bottom: 20px !important;
  }

  #referanslar .eleventy-references-title {
    font-size: clamp(28px, 8.6vw, 38px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }

  #referanslar .eleventy-references-note {
    display: none !important;
  }

  #referanslar .eleventy-references-slider {
    overflow: hidden !important;
  }

  #referanslar .eleventy-references-slider .swiper-wrapper {
    align-items: flex-start !important;
  }

  #referanslar .eleventy-references-slider .swiper-slide {
    height: auto !important;
    display: flex !important;
    align-items: flex-start !important;
  }

  #referanslar .eleventy-reference-card,
  #referanslar .eleventy-references-slider .eleventy-reference-card {
    height: auto !important;
    min-height: 0 !important;
    border-radius: 20px !important;
  }

  #referanslar .eleventy-reference-media {
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 10px !important;
    background: #ffffff !important;
  }

  #referanslar .eleventy-reference-media img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: top center !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  #referanslar .eleventy-reference-content {
    display: block !important;
    padding: 13px 12px 15px !important;
    min-height: 0 !important;
  }

  #referanslar .eleventy-reference-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 5px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  #referanslar .eleventy-reference-tag {
    flex: 0 1 auto !important;
    min-height: 22px !important;
    padding: 5px 8px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    font-size: 9.2px !important;
    line-height: 1.12 !important;
    letter-spacing: 0.01em !important;
    white-space: normal !important;
  }

  #referanslar .eleventy-reference-title-row {
    align-items: center !important;
    gap: 10px !important;
  }

  #referanslar .eleventy-reference-title-row h3 {
    font-size: 20px !important;
    line-height: 1.06 !important;
  }

  #referanslar .eleventy-reference-arrow {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  #referanslar .eleventy-reference-content p:empty {
    display: none !important;
    margin: 0 !important;
  }

  #referanslar .eleventy-references-slider-controls {
    margin-top: 16px !important;
  }
}

/* 5) Neden Bizi Seçtiler: yorum metinleri kesilmesin. */
@media (min-width: 992px) {
  .eleventy-home-v2 .why-choose-premium .section-title-pin,
  .eleventy-home-v2 .why-choose-premium .testimonial-scroll-section,
  .eleventy-home-v2 .why-choose-premium .testimonial-scroll-section .wrapper,
  .eleventy-home-v2 .why-choose-premium .testimonial-scroll-section .list,
  .eleventy-home-v2 .why-choose-premium .testimonial-scroll-section .item,
  .eleventy-home-v2 .why-choose-premium .testimonial-cart-wrap {
    height: clamp(500px, 36vw, 560px) !important;
    min-height: clamp(500px, 36vw, 560px) !important;
    max-height: clamp(500px, 36vw, 560px) !important;
  }

  .eleventy-home-v2 .why-choose-premium .testimonial-cart-wrap {
    padding: clamp(30px, 2.6vw, 42px) !important;
    justify-content: flex-start !important;
  }

  .eleventy-home-v2 .why-choose-premium .testimonial-bottom-wrap {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 0 !important;
  }

  .eleventy-home-v2 .why-choose-premium .testimonial-content-text {
    display: block !important;
    max-width: 100% !important;
    margin-bottom: 26px !important;
    font-size: clamp(23px, 1.82vw, 34px) !important;
    line-height: 1.24 !important;
    letter-spacing: -0.035em !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .eleventy-home-v2 .why-choose-premium .section-title-pin,
  .eleventy-home-v2 .why-choose-premium .testimonial-scroll-section,
  .eleventy-home-v2 .why-choose-premium .testimonial-scroll-section .wrapper,
  .eleventy-home-v2 .why-choose-premium .testimonial-scroll-section .list,
  .eleventy-home-v2 .why-choose-premium .testimonial-scroll-section .item,
  .eleventy-home-v2 .why-choose-premium .testimonial-cart-wrap {
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
  }

  .eleventy-home-v2 .why-choose-premium .testimonial-content-text {
    font-size: 23px !important;
  }
}

/* =========================================================
   Service corridor visual image slot
   - Replaces the decorative grid/ring/chip block with a real image area.
   - Desktop image target: 9:16 portrait.
   - Mobile image target: 16:9 landscape.
   ========================================================= */
.eleventy-home-v2 .wall__visual.wall__visual--image {
  display: block !important;
  width: min(100%, clamp(300px, 26vw, 390px)) !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  justify-self: center !important;
  align-self: center !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 28px 80px rgba(30, 41, 59, 0.13) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.eleventy-home-v2 .wall__visual.wall__visual--image .wall__visual-picture,
.eleventy-home-v2 .wall__visual.wall__visual--image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.eleventy-home-v2 .wall__visual.wall__visual--image img {
  object-fit: cover !important;
  object-position: center center !important;
  transform: translateZ(0) !important;
}

.eleventy-home-v2 .wall__visual.wall__visual--image::before,
.eleventy-home-v2 .wall__visual.wall__visual--image::after,
.eleventy-home-v2 .wall__visual.wall__visual--image .wall__visual-grid,
.eleventy-home-v2 .wall__visual.wall__visual--image .wall__visual-ring,
.eleventy-home-v2 .wall__visual.wall__visual--image .wall__visual-chip {
  display: none !important;
}

@media (max-width: 1180px) {
  .eleventy-home-v2 .wall__visual.wall__visual--image {
    width: min(100%, 330px) !important;
  }
}

@media (max-width: 760px) {
  .eleventy-home-v2 .wall__visual.wall__visual--image {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 22px !important;
  }
}


/* =========================================================
   Service corridor label/title/arrow polish
   - "Koridor" prefix removed in PHP; this CSS tightens the visual.
   - Desktop: title remains 2 lines where needed, line gap reduced.
   - Arrow: fixed position inside title block, smaller, black -> orange on hover.
   ========================================================= */
.eleventy-home-v2 .wall__index {
  color: var(--ea-accent) !important;
}

@media (min-width: 992px) {
  .eleventy-home-v2 .wall__copy h2 {
    max-width: min(700px, 50vw) !important;
    font-size: clamp(1.5rem, 2.48vw, 3.08rem) !important;
    line-height: 0.86 !important;
    letter-spacing: 0.03em !important;
  }

  .eleventy-home-v2 .wall__title-link {
    position: relative !important;
    display: block !important;
    width: min(700px, 50vw) !important;
    max-width: 100% !important;
    padding-right: 52px !important;
    color: inherit !important;
    text-decoration: none !important;
  }

  .eleventy-home-v2 .wall__title-text {
    display: block !important;
    width: 100% !important;
    line-height: 0.86 !important;
    letter-spacing: inherit !important;
  }

  .eleventy-home-v2 .wall__title-line {
    display: block !important;
    white-space: nowrap !important;
    line-height: 0.86 !important;
    letter-spacing: inherit !important;
  }

  .eleventy-home-v2 .wall__title-line + .wall__title-line,
  .eleventy-home-v2 .wall__title-line-management,
  .eleventy-home-v2 .wall__title-line-amp {
    margin-top: -0.035em !important;
  }

  .eleventy-home-v2 .wall__desktop-break {
    display: block !important;
    line-height: 0 !important;
  }

  .eleventy-home-v2 .wall__title-arrow {
    position: absolute !important;
    top: 0.22em !important;
    right: 4px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin: 0 !important;
    transform: none !important;
    color: #111111 !important;
    transition: color 0.25s ease, transform 0.25s ease !important;
  }

  .eleventy-home-v2 .wall__title-link:hover .wall__title-arrow {
    color: var(--ea-accent) !important;
    transform: translate3d(3px, -3px, 0) !important;
  }
}

@media (min-width: 1200px) and (max-width: 1536px) {
  .eleventy-home-v2 .wall__copy h2 {
    max-width: min(660px, 50vw) !important;
    font-size: clamp(1.42rem, 2.28vw, 2.78rem) !important;
    line-height: 0.86 !important;
  }

  .eleventy-home-v2 .wall__title-link {
    width: min(660px, 50vw) !important;
    padding-right: 48px !important;
  }

  .eleventy-home-v2 .wall__title-arrow {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    top: 0.24em !important;
  }
}

@media (max-width: 991.98px) {
  .eleventy-home-v2 .wall__title-arrow {
    color: #111111 !important;
  }

  .eleventy-home-v2 .wall__title-link:hover .wall__title-arrow {
    color: var(--ea-accent) !important;
  }
}

/* =========================================================
   Corridor title line-height final tightening
   The explicit <br> between already-block title spans was creating an
   extra visual gap. Hide the break on desktop and let the block spans
   handle the 2-line layout.
   ========================================================= */
@media (min-width: 992px) {
  .eleventy-home-v2 .wall__copy h2,
  .eleventy-home-v2 .wall__copy h2 .wall__title-link,
  .eleventy-home-v2 .wall__copy h2 .wall__title-text,
  .eleventy-home-v2 .wall__copy h2 .wall__title-line {
    line-height: 0.74 !important;
  }

  .eleventy-home-v2 .wall__copy h2 br.wall__desktop-break {
    display: none !important;
  }

  .eleventy-home-v2 .wall__copy h2 .wall__title-line + .wall__title-line,
  .eleventy-home-v2 .wall__copy h2 .wall__title-line-management,
  .eleventy-home-v2 .wall__copy h2 .wall__title-line-amp {
    margin-top: -0.11em !important;
  }
}

@media (min-width: 1200px) and (max-width: 1536px) {
  .eleventy-home-v2 .wall__copy h2,
  .eleventy-home-v2 .wall__copy h2 .wall__title-link,
  .eleventy-home-v2 .wall__copy h2 .wall__title-text,
  .eleventy-home-v2 .wall__copy h2 .wall__title-line {
    line-height: 0.76 !important;
  }

  .eleventy-home-v2 .wall__copy h2 .wall__title-line + .wall__title-line,
  .eleventy-home-v2 .wall__copy h2 .wall__title-line-management,
  .eleventy-home-v2 .wall__copy h2 .wall__title-line-amp {
    margin-top: -0.09em !important;
  }
}

/* =========================================================
   Service title gap hard fix
   Desktop: the service title words are intentionally split into two
   separate spans. Force those spans to behave like a compact two-line
   title and pull the second line up so there is no block-like gap.
   ========================================================= */
@media (min-width: 992px) {
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-link,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-text {
    line-height: 0.78 !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 br.wall__desktop-break {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-text {
    display: inline-grid !important;
    grid-auto-flow: row !important;
    row-gap: 0 !important;
    gap: 0 !important;
    align-items: start !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line {
    display: block !important;
    line-height: 0.78 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line:nth-of-type(2),
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-management,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-amp {
    margin-top: -0.28em !important;
  }
}

@media (min-width: 1200px) and (max-width: 1536px) {
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-link,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-text,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line {
    line-height: 0.80 !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line:nth-of-type(2),
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-management,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-amp {
    margin-top: -0.25em !important;
  }
}

/* =========================================================
   Service title gap balanced fix
   Previous hard gap fix pulled the second title line too high on some
   desktop viewports. Keep the compact line-height, but restore a small,
   controlled gap between the two title rows.
   ========================================================= */
@media (min-width: 992px) {
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line:nth-of-type(2),
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-management,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-amp {
    margin-top: 0.02em !important;
  }
}

@media (min-width: 1200px) and (max-width: 1536px) {
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line:nth-of-type(2),
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-management,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-amp {
    margin-top: 0.035em !important;
  }
}

/* =========================================================
   Service title two-line spacing FINAL override
   Previous attempts were being affected by older line-height and margin
   overrides. This block resets the two title rows into a clean flex column:
   not too far apart, not overlapping.
   ========================================================= */
@media (min-width: 992px) {
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 {
    line-height: 1 !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-link {
    display: block !important;
    line-height: 1 !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-text {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.075em !important;
    row-gap: 0.075em !important;
    line-height: 1 !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 br.wall__desktop-break {
    display: none !important;
    content: none !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line:nth-of-type(2),
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-management,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-amp {
    display: block !important;
    line-height: 0.88 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    transform: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1536px) {
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-text {
    gap: 0.085em !important;
    row-gap: 0.085em !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line:nth-of-type(2),
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-management,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-amp {
    line-height: 0.90 !important;
  }
}

/* =========================================================
   REAL final service title spacing fix
   Previous spacing blocks used line-height values below 1, which made the
   two title rows visually collide. Keep the two-row structure, but reset it
   to normal text metrics with a small controlled gap.
   ========================================================= */
@media (min-width: 992px) {
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 {
    line-height: 1 !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-link {
    display: inline-flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    line-height: 1 !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-text {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    row-gap: 4px !important;
    line-height: 1 !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 br.wall__desktop-break {
    display: none !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line:nth-of-type(2),
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-management,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-amp {
    display: block !important;
    line-height: 1.02 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1200px) and (max-width: 1536px) {
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-text {
    gap: 3px !important;
    row-gap: 3px !important;
  }

  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line:nth-of-type(2),
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-management,
  body.eleventy-home-v2 .eleventy-fortress-services .wall__copy h2 .wall__title-line-amp {
    line-height: 1.03 !important;
  }
}
