/* Kayra Patent — final V5 presentation lock, 2026-08-22.
   Loaded after the verified V4 stylesheet. */

/* Editorial metadata must never sit on top of a subject photograph. */
html body .foodx-meta {
  display: none !important;
}

/* Keep the translated desktop chrome on the same corporate axis as Turkish.
   Articles remains available in the black top bar, so the duplicate menu item
   is hidden on desktop and all languages retain the Turkish eight-item rhythm. */
@media (min-width: 1121px) {
  html body .localized-topbar.localized-topbar:not(#kayra-v5-axis) > .container,
  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container,
  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled > .container {
    box-sizing: border-box !important;
    width: min(1600px, calc(100% - 80px)) !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    direction: ltr !important;
  }

  html body .localized-topbar.localized-topbar:not(#kayra-v5-axis) > .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 62px !important;
    font-family: var(--font-open-sans), "Open Sans", Arial, sans-serif !important;
    font-size: 15px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) {
    min-height: 108px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled {
    min-height: 84px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container,
  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled > .container {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: inherit !important;
    column-gap: 0 !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > .localized-brand,
  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled > .container > .localized-brand {
    box-sizing: border-box !important;
    flex: 0 0 250px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    margin: 0 !important;
    direction: ltr !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) .localized-brand .brand-lockup {
    display: flex !important;
    align-items: center !important;
    width: 250px !important;
    max-width: 250px !important;
    gap: 10px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) .localized-brand .brand-lockup > img {
    flex: 0 0 66px !important;
    width: 66px !important;
    height: 66px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) .localized-brand .brand-wordmark {
    flex: 0 0 174px !important;
    width: 174px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) .localized-brand .brand-name strong,
  html body header.localized-header.localized-header:not(#kayra-v5-axis) .localized-brand .brand-name b {
    font-family: var(--font-oswald), Oswald, Arial, sans-serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > nav.localized-main-nav,
  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled > .container > nav.localized-main-nav {
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 0 0 245px !important;
    overflow: visible !important;
    direction: ltr !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled > .container > nav.localized-main-nav {
    margin-left: 170px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) nav.localized-main-nav > .mobile-drawer-scroll,
  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled nav.localized-main-nav > .mobile-drawer-scroll {
    box-sizing: border-box !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    gap: clamp(7px, .65vw, 13px) !important;
    overflow: visible !important;
    direction: ltr !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis)
  nav.localized-main-nav > .mobile-drawer-scroll > .localized-nav-articles {
    display: none !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis)
  nav.localized-main-nav > .mobile-drawer-scroll > a,
  html body header.localized-header.localized-header:not(#kayra-v5-axis)
  nav.localized-main-nav > .mobile-drawer-scroll > .localized-nav-group,
  html body header.localized-header.localized-header:not(#kayra-v5-axis)
  nav.localized-main-nav > .mobile-drawer-scroll > .localized-nav-group > button {
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    width: max-content !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-inline: 0 !important;
    white-space: nowrap !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis)
  nav.localized-main-nav > .mobile-drawer-scroll > a,
  html body header.localized-header.localized-header:not(#kayra-v5-axis)
  nav.localized-main-nav > .mobile-drawer-scroll > .localized-nav-group > button,
  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > .localized-quote {
    font-family: var(--font-oswald), Oswald, Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > .localized-quote,
  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled > .container > .localized-quote {
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    min-height: 56px !important;
    margin: 0 0 0 18px !important;
    padding-inline: 20px !important;
    white-space: nowrap !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > .desktop-header-language {
    display: none !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled > .container > .desktop-header-language {
    box-sizing: border-box !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 10px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > .mobile-header-language,
  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > .localized-mobile-toggle {
    display: none !important;
  }

  html body header.localized-header.localized-header[data-locale="ar"]
  nav.localized-main-nav > .mobile-drawer-scroll > a,
  html body header.localized-header.localized-header[data-locale="ar"]
  nav.localized-main-nav > .mobile-drawer-scroll > .localized-nav-group > button,
  html body header.localized-header.localized-header[data-locale="ar"] > .container > .localized-quote {
    direction: rtl !important;
    text-align: right !important;
  }
}

@media (min-width: 1121px) and (max-width: 1699px) {
  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > nav.localized-main-nav {
    margin-left: clamp(24px, 5vw, 84px) !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis).scrolled > .container > nav.localized-main-nav {
    margin-left: clamp(18px, 3.5vw, 58px) !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > .localized-brand {
    flex-basis: 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) nav.localized-main-nav > .mobile-drawer-scroll {
    gap: 5px !important;
  }

  html body header.localized-header.localized-header:not(#kayra-v5-axis) > .container > .localized-quote {
    padding-inline: 13px !important;
  }
}

/* Arabic content reads right-to-left while the physical logo/quote axis stays
   aligned with the other seven languages. */
html[lang^="ar"] body,
html[dir="rtl"] body {
  direction: rtl;
}

html[lang^="ar"] .foodx-main,
html[lang^="ar"] .kayra-guide,
html[lang^="ar"] .knowledge-page,
html[lang^="ar"] .localized-section,
html[lang^="ar"] .localized-overview,
html[lang^="ar"] .localized-footer {
  text-align: right;
}

/* New home guide cluster: deliberately different from the service cards and
   replaces the repeated telephone/quote/office strip. */
.kayra-home-guide-cluster-v5 {
  background: #eef0f2;
  padding: clamp(56px, 5.2vw, 86px) 0;
}

.kayra-home-guide-cluster-v5 > .container {
  box-sizing: border-box;
  width: min(1600px, calc(100% - 80px));
  max-width: 1600px;
  margin-inline: auto;
}

.kayra-home-guide-cluster-v5 .kayra-guide-cluster-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 28px;
}

.kayra-home-guide-cluster-v5 .kayra-guide-cluster-head small,
.kayra-home-guide-cluster-v5 .kayra-guide-card small {
  display: block;
  color: #d40016;
  font-family: var(--font-oswald), Oswald, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.kayra-home-guide-cluster-v5 h2 {
  max-width: 800px;
  margin: 8px 0 0;
  color: #111417;
  font-family: var(--font-oswald), Oswald, Arial, sans-serif;
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 500;
  line-height: 1.06;
}

.kayra-home-guide-cluster-v5 .kayra-guide-cluster-head > p {
  margin: 0;
  color: #50585e;
  font-size: 16px;
  line-height: 1.7;
}

.kayra-home-guide-cluster-v5 .kayra-guide-cluster-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .82fr) minmax(0, .82fr);
  gap: 14px;
}

.kayra-home-guide-cluster-v5 .kayra-guide-card {
  position: relative;
  box-sizing: border-box;
  min-height: 294px;
  padding: clamp(28px, 2.5vw, 42px);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.kayra-home-guide-cluster-v5 .kayra-guide-card--annexes {
  background: #111518;
}

.kayra-home-guide-cluster-v5 .kayra-guide-card--haccp {
  display: flex;
  flex-direction: column;
  background: #cf0017;
}

.kayra-home-guide-cluster-v5 .kayra-guide-card--declaration {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(120deg, rgba(12, 17, 20, .94), rgba(12, 17, 20, .52)),
    url("/kayra-topic-heroes/hero-conformity-documents.webp") center/cover no-repeat;
}

.kayra-home-guide-cluster-v5 .kayra-guide-card h3 {
  max-width: 570px;
  margin: 10px 0 12px;
  color: inherit;
  font-family: var(--font-oswald), Oswald, Arial, sans-serif;
  font-size: clamp(26px, 2vw, 35px);
  font-weight: 500;
  line-height: 1.13;
}

.kayra-home-guide-cluster-v5 .kayra-guide-card p {
  max-width: 590px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 15px;
  line-height: 1.58;
}

.kayra-home-guide-cluster-v5 .kayra-guide-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
  color: #fff;
  font-family: var(--font-oswald), Oswald, Arial, sans-serif;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.kayra-home-guide-cluster-v5 .kayra-annex-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 25px;
}

.kayra-home-guide-cluster-v5 .kayra-annex-links a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-family: var(--font-oswald), Oswald, Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

.kayra-home-guide-cluster-v5 .kayra-annex-links a:hover,
.kayra-home-guide-cluster-v5 .kayra-annex-links a:focus-visible {
  border-color: #ed1a2f;
  background: rgba(237,26,47,.16);
}

/* Slider V5: keep the established frame, but keep all copy and both actions
   over the photograph and inside the two navigation arrows. */
.kayra-home-slider-v5 {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
}

.kayra-home-slider-v5 > article > img {
  object-fit: cover !important;
  object-position: center !important;
}

.kayra-home-slider-v5 .slide-dots {
  gap: 4px !important;
  column-gap: 4px !important;
}

@media (max-width: 760px) {
  .kayra-home-slider-v5 > article {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .kayra-home-slider-v5 > article.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .kayra-home-slider-v5 > article > img,
  .kayra-home-slider-v5 > article > .hero-media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .kayra-home-slider-v5 > article > .localized-hero-shade,
  .kayra-home-slider-v5 > article > .hero-prism {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
  }

  .kayra-home-slider-v5 > article > .container,
  .kayra-home-slider-v5 > article > .hero-copy {
    position: absolute !important;
    inset: 0 64px !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 34px 0 132px !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  html[dir="rtl"] .kayra-home-slider-v5 > article > .container,
  html[dir="rtl"] .kayra-home-slider-v5 > article > .hero-copy {
    text-align: right !important;
  }

  .kayra-home-slider-v5 > article .overline,
  .kayra-home-slider-v5 > article > .container > span:first-child {
    display: block !important;
    max-width: 100% !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    letter-spacing: .07em !important;
  }

  .kayra-home-slider-v5 > article h1 {
    max-width: 100% !important;
    margin: 11px 0 13px !important;
    font-size: clamp(30px, 8.8vw, 40px) !important;
    line-height: 1.04 !important;
    text-align: inherit !important;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .kayra-home-slider-v5 > article p {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    text-align: inherit !important;
    text-wrap: pretty;
  }

  .kayra-home-slider-v5 .hero-actions,
  .kayra-home-slider-v5 .localized-home-actions {
    position: absolute !important;
    right: 0 !important;
    bottom: 42px !important;
    left: 0 !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .kayra-home-slider-v5 .hero-actions .button,
  .kayra-home-slider-v5 .localized-home-actions .button {
    box-sizing: border-box !important;
    display: inline-flex !important;
    min-width: 0 !important;
    min-height: 64px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 7px !important;
    padding: 11px 13px !important;
    font-size: clamp(12px, 3.3vw, 15px) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  .kayra-home-slider-v5 > .slide-arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
    display: grid !important;
    width: 40px !important;
    height: 64px !important;
    place-items: center !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
  }

  .kayra-home-slider-v5 > .slide-arrow.prev,
  html[dir="rtl"] .kayra-home-slider-v5 > .slide-arrow.next {
    right: auto !important;
    left: 14px !important;
  }

  .kayra-home-slider-v5 > .slide-arrow.next,
  html[dir="rtl"] .kayra-home-slider-v5 > .slide-arrow.prev {
    right: 14px !important;
    left: auto !important;
  }

  .kayra-home-slider-v5 .slide-dots {
    position: absolute !important;
    right: 0 !important;
    bottom: 14px !important;
    left: 0 !important;
    z-index: 6 !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
  }
}

@media (max-width: 900px) {
  .kayra-home-guide-cluster-v5 > .container {
    width: min(100% - 28px, 1600px);
  }

  .kayra-home-guide-cluster-v5 .kayra-guide-cluster-head,
  .kayra-home-guide-cluster-v5 .kayra-guide-cluster-grid {
    grid-template-columns: 1fr;
  }

  .kayra-home-guide-cluster-v5 .kayra-guide-cluster-head {
    gap: 15px;
  }
}

@media (max-width: 560px) {
  .kayra-home-guide-cluster-v5 {
    padding-block: 48px;
  }

  .kayra-home-guide-cluster-v5 .kayra-guide-card {
    min-height: 0;
    padding: 28px 22px;
  }

  .kayra-home-guide-cluster-v5 .kayra-annex-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .kayra-home-slider-v5 > article,
  .kayra-home-guide-cluster-v5 a {
    transition: none !important;
  }
}
