/* Kayra Patent content and spacing corrections — 2026-08-19 rev. 4
   This file is intentionally loaded after kayra-final-fixes-20260819-v3.css. */

/* Keep the 25% shorter desktop sector hero, but make its copy container use
   the image's exact height so the text never spills into the following band. */
@media (min-width: 1121px) {
  .sector-hub-hero,
  .sector-detail-hero {
    align-items: stretch !important;
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
    overflow: hidden !important;
  }

  .sector-hub-hero > img,
  .sector-detail-hero > img,
  .sector-hub-hero > .sector-hero-shade,
  .sector-detail-hero > .sector-hero-shade {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .sector-hub-hero > .container,
  .sector-detail-hero > .container {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
    min-height: 0 !important;
    padding-block: 34px !important;
  }

  .sector-hub-hero h1 {
    margin-block: 14px !important;
    font-size: clamp(43px, 4.25vw, 62px) !important;
    line-height: 1.02 !important;
  }

  .sector-detail-hero h1 {
    margin-block: 14px !important;
    font-size: clamp(39px, 3.55vw, 52px) !important;
    line-height: 1.03 !important;
  }

  .sector-hub-hero p,
  .sector-detail-hero p {
    font-size: 16px !important;
    line-height: 1.58 !important;
  }

  .sector-hub-hero .button,
  .sector-detail-hero > .container > div {
    margin-top: 22px !important;
  }

  /* The former dark introduction band looked like an empty black strip once
     the hero was shortened. Its content remains, now on a light surface. */
  .sector-hub-intro {
    color: #17191b !important;
    background: #f3f4f5 !important;
    border-top: 1px solid #e0e3e5 !important;
  }

  .sector-hub-intro p {
    color: #555d62 !important;
  }

  /* All six featured-sector cards: title and flowing copy move down 2px;
     the CTA grows from 11.5px to 13.5px. */
  .sector-home-preview .sector-card h3 {
    margin-top: 11px !important;
  }

  .sector-home-preview .sector-card > strong {
    font-size: 13.5px !important;
  }
}

/* Turkish mobile carousel: equal top and bottom padding within the existing
   slide height. Only the copy is rebalanced; the carousel itself is not moved. */
@media (max-width: 650px) {
  .home-page .hero .hero-slide .hero-copy {
    grid-template-rows: auto auto auto auto !important;
    align-content: center !important;
    align-items: start !important;
    padding: 32px 0 !important;
  }

  .home-page .hero .hero-copy > p {
    align-self: start !important;
    margin: 8px 0 0 !important;
  }

  .home-page .hero .hero-actions {
    align-self: start !important;
    margin-top: 12px !important;
  }
}

@media (max-width: 390px) {
  .home-page .hero .hero-slide .hero-copy {
    padding: 30px 0 !important;
  }
}

/* Restored sector long-form editorial guides. */
.sector-editorial {
  background: #f2f3f4;
  border-top: 1px solid #e1e3e5;
  padding: 88px 0;
}

.sector-editorial > .container > header {
  max-width: 960px;
  margin-bottom: 42px;
}

.sector-editorial header h2 {
  max-width: 900px;
  margin: 11px 0 18px;
  font: 600 clamp(34px, 3.7vw, 52px) / 1.1 var(--font-oswald), "Oswald", Arial, sans-serif;
  letter-spacing: -0.025em;
}

.sector-editorial header > p {
  max-width: 850px;
  margin: 0;
  color: #5d6368;
  font-size: 16px;
  line-height: 1.75;
}

.sector-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 44px;
}

.sector-editorial-copy {
  border-top: 1px solid #cfd3d5;
}

.sector-editorial-copy article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 24px;
  padding: 31px 0 34px;
  border-bottom: 1px solid #cfd3d5;
}

.sector-editorial-copy article > span {
  padding-top: 3px;
  color: #c4c8ca;
  font: 600 34px / 1 var(--font-oswald), "Oswald", Arial, sans-serif;
}

.sector-editorial-copy h3 {
  margin: 0 0 15px;
  font: 600 24px / 1.3 var(--font-oswald), "Oswald", Arial, sans-serif;
  letter-spacing: -0.01em;
}

.sector-editorial-copy p {
  margin: 0;
  color: #4f565b;
  font-size: 14.5px;
  line-height: 1.82;
}

.sector-editorial-copy p + p {
  margin-top: 17px;
}

.sector-editorial-layout > aside {
  position: sticky;
  top: 96px;
  padding: 30px 27px;
  color: #fff;
  background: #17191b;
  border-top: 6px solid var(--red);
  box-shadow: 0 18px 38px #1114161f;
}

.sector-editorial-layout > aside > span {
  color: #ef3444;
  font: 600 11px / 1.35 var(--font-open-sans), "Open Sans", Arial, sans-serif;
  letter-spacing: 0.1em;
}

.sector-editorial-layout > aside h3 {
  margin: 12px 0 22px;
  font: 600 25px / 1.25 var(--font-oswald), "Oswald", Arial, sans-serif;
}

.sector-editorial-layout > aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sector-editorial-layout > aside li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid #34383b;
}

.sector-editorial-layout > aside li svg {
  margin-top: 2px;
  color: #ef2638;
}

.sector-editorial-layout > aside li span {
  color: #e3e5e7;
  font-size: 12.5px;
  line-height: 1.55;
}

.sector-editorial-layout > aside > p {
  margin: 0;
  padding-top: 16px;
  color: #aeb3b7;
  border-top: 1px solid #34383b;
  font-size: 10.5px;
  line-height: 1.6;
}

/* Five genuinely new keyword-gap guides are now directly discoverable from
   the Knowledge Centre as well as its search index and sitemap. */
.keyword-gap-guides {
  padding: 68px 0 74px;
  background: #f3f4f5;
  border-top: 1px solid #dfe2e4;
}

.keyword-gap-guides header {
  max-width: 860px;
  margin-bottom: 30px;
}

.keyword-gap-guides header h2 {
  margin: 9px 0 12px;
  font: 600 clamp(31px, 3.5vw, 46px) / 1.12 var(--font-oswald), "Oswald", Arial, sans-serif;
  letter-spacing: -0.02em;
}

.keyword-gap-guides header p {
  margin: 0;
  color: #5b6267;
  font-size: 14px;
  line-height: 1.7;
}

.keyword-gap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.keyword-gap-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 24px 23px 22px;
  color: #17191b;
  text-decoration: none;
  background: #fff;
  border-top: 4px solid #e3192b;
  box-shadow: 0 12px 30px #17191b0d;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.keyword-gap-card:hover,
.keyword-gap-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 17px 38px #17191b18;
}

.keyword-gap-card > span {
  color: #e3192b;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.keyword-gap-card h3 {
  margin: 10px 0 12px;
  font: 600 22px / 1.25 var(--font-oswald), "Oswald", Arial, sans-serif;
}

.keyword-gap-card p {
  margin: 0 0 20px;
  color: #596065;
  font-size: 13px;
  line-height: 1.65;
}

.keyword-gap-card strong {
  margin-top: auto;
  color: #17191b;
  font-size: 12px;
  letter-spacing: 0.035em;
}

.keyword-gap-card strong span {
  margin-left: 5px;
  color: #e3192b;
}

@media (max-width: 1120px) {
  .sector-editorial-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sector-editorial-layout > aside {
    position: static;
  }

  .keyword-gap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .sector-editorial {
    padding: 57px 0;
  }

  .sector-editorial > .container > header {
    margin-bottom: 24px;
  }

  .sector-editorial header h2 {
    font-size: 32px;
  }

  .sector-editorial header > p {
    font-size: 14px;
    line-height: 1.68;
  }

  .sector-editorial-copy article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 25px 0 28px;
  }

  .sector-editorial-copy article > span {
    font-size: 27px;
  }

  .sector-editorial-copy h3 {
    font-size: 21px;
  }

  .sector-editorial-copy p {
    font-size: 13px;
    line-height: 1.72;
  }

  .sector-editorial-layout > aside {
    padding: 25px 21px;
  }

  .keyword-gap-guides {
    padding: 54px 0 58px;
  }

  .keyword-gap-guides header {
    margin-bottom: 22px;
  }

  .keyword-gap-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .keyword-gap-card {
    min-height: 0;
  }
}
