/* Two-language disclosure, keeping the existing grid and menu behavior. */
.site-header__inner:has(> .kst-language) {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  column-gap: clamp(12px, 2.2vw, 26px);
}
.site-header__inner > .kst-language { margin-left: 0; }
.kst-pt-linked .kst-locale-header .kst-locale-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; min-width: 0; }
.kst-locale-header .kst-locale-brand img { display: block; width: 42px; height: 42px; flex: 0 0 auto; object-fit: contain; }
.kst-locale-header nav a[aria-current='page'] { color: #2458b8; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1000px) {
  .kst-pt-linked .kst-locale-header > .kst-container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; padding-block: 10px; }
  .kst-pt-linked .kst-locale-header .kst-locale-brand { grid-area: 1 / 1; justify-self: start; }
  .kst-pt-linked .kst-locale-header .kst-language { grid-area: 1 / 2; margin: 0; justify-self: end; }
  .kst-pt-linked .kst-locale-header > .kst-container > nav { grid-area: 2 / 1 / 3 / -1; margin: 0; gap: 2px 15px; }
  .kst-locale-header nav a { display: inline-flex; align-items: center; min-block-size: 44px; }
}
@media (max-width: 920px) {
  .site-header__inner:has(> .kst-language) { grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 8px; }
  .site-header__inner:has(> .kst-language) > .site-brand { grid-area: 1 / 1; justify-self: start; }
  .site-header__inner > .kst-language { grid-area: 1 / 2; }
  .site-header__inner:has(> .kst-language) > .site-nav-toggle { grid-area: 1 / 3; }
  .site-header__inner:has(> .kst-language) > .site-nav { grid-row: 2; }
}
details.kst-language > summary {
  min-block-size: 44px;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #c9d6ea;
  border-radius: 10px;
  background: #fff;
  color: #172b4d;
  font-size: 13px;
  line-height: 1.2;
}
details.kst-language > summary:hover,
details.kst-language[open] > summary { background: #eef4ff; border-color: #8caddd; }
details.kst-language > summary > span[aria-hidden] { font-size: 0; display: inline-flex; flex: 0 0 auto; }
details.kst-language > summary > span:first-child {
  inline-size: 16px;
  block-size: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat;
}
details.kst-language > summary > span:last-child { inline-size: 12px; block-size: 12px; align-items: center; justify-content: center; }
details.kst-language > summary > span:last-child::before {
  content: '';
  inline-size: 6px;
  block-size: 6px;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  transform: translateY(-1px) rotate(45deg);
}
details.kst-language[open] > summary > span:last-child::before { transform: translateY(2px) rotate(225deg); }
details.kst-language > ul { max-inline-size: calc(100vw - 28px); box-shadow: 0 8px 26px #172b4d26; }
details.kst-language > ul a { display: flex; align-items: center; min-block-size: 44px; gap: 10px; }
details.kst-language > ul a[aria-current='page']::after {
  content: '';
  inline-size: 5px;
  block-size: 9px;
  margin-inline-start: auto;
  border: solid #2458d3;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (max-width: 420px) {
  .site-header__inner details.kst-language > summary { padding-inline: 8px; gap: 5px; font-size: 12px; }
  .site-header__inner details.kst-language > summary > span:first-child { display: none; }
  .site-header__inner details.kst-language > ul { right: -14px; }
  .kst-locale-header details.kst-language > summary { padding-inline: 8px; gap: 5px; font-size: 12px; }
  .kst-pt-linked .kst-locale-header .kst-locale-brand { font-size: 15px; gap: 6px; }
  .kst-locale-header .kst-locale-brand img { width: 34px; height: 34px; }
  .kst-pt-linked .kst-locale-header > .kst-container > nav { gap: 0 9px; }
  .kst-pt-linked .kst-locale-header > .kst-container > nav a { font-size: 13px; }
}
@media (max-width: 360px) {
  .kst-pt-linked .kst-locale-header > .kst-container > nav { column-gap: 7px; }
  .kst-pt-linked .kst-locale-header .kst-locale-brand { gap: 5px; }
  .kst-pt-linked .kst-locale-header .kst-locale-brand span { font-size: 13px; letter-spacing: -.025em; }
  .kst-locale-header .kst-locale-brand img { width: 30px; height: 30px; }
  .kst-pt-linked .kst-locale-header details.kst-language > summary > span:first-child { display: none; }
  .kst-pt-linked .kst-locale-header details.kst-language > summary { padding-inline: 7px; gap: 5px; }
}
@media (max-width: 768px) {
  .kst-pt-explore .explore-page__intro { padding-block: 34px 24px; }
  .kst-pt-explore .explore-page__intro h1 { font-size: clamp(2rem, 8.5vw, 3.6rem); margin-bottom: 14px; }
  .kst-pt-explore .explore-page__map { padding-block: 24px 52px; }
  .kst-pt-explore .kst-map__heading h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
}
.kst-pt-explore .kst-map__chips { flex-wrap: wrap; }
.kst-pt-explore .kst-map__chips button { white-space: normal; }

/* Share and Shorts sit after the editorial content and existing map links. */
.kst-social-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 24px 0; padding-block: 16px; border-block-start: 1px solid #dfe6f1; }
.kst-social-control {
  display: inline-flex;
  box-sizing: border-box;
  min-block-size: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid #c9d6ea;
  border-radius: 9px;
  background: #fff;
  color: #172b4d;
  text-decoration: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}
.kst-social-control:hover { background: #eef4ff; color: #172b4d; }
.kst-social-control:focus-visible, .kst-social-band a:focus-visible { outline: 3px solid #4088e8; outline-offset: 3px; }
.kst-social-share__status { font-size: .85rem; color: #42546d; }
.kst-social-share__status:empty { display: none; }
.kst-social-share__url { box-sizing: border-box; flex: 0 1 100%; min-inline-size: 0; padding: 8px; font: inherit; }
.kst-social-share [hidden] { display: none !important; }
.kst-social-video { margin-block: 28px 0; padding: clamp(15px, 4vw, 24px); border: 1px solid #dbe5f4; border-radius: 14px; background: #f3f7ff; }
.kst-social-video h2 { margin: 0 0 8px; font-size: clamp(1.24rem, 3vw, 1.6rem); }
.kst-social-video p { margin: 0 0 12px; }
.kst-social-video .kst-social-video__eyebrow { margin: 0 0 5px; font-size: .75rem; font-weight: 800; color: #2458a5; }
.kst-social-video__player { width: min(100%, 315px); aspect-ratio: 9/16; margin: 18px auto 0; background: #101825; border-radius: 10px; overflow: hidden; }
.kst-social-video__player iframe { display: block; inline-size: 100%; block-size: 100%; border: 0; }
.kst-social-video__preview { position: relative; display: block; inline-size: 100%; block-size: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.kst-social-video__preview img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.kst-social-video__play-icon { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; inline-size: 64px; block-size: 46px; border-radius: 13px; background: #c90727; color: #fff; box-shadow: 0 2px 12px #0006; }
.kst-social-video__preview:hover .kst-social-video__play-icon { background: #ad001c; }
.kst-social-video__preview:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }

/* Same official accounts at the bottom of both language versions. */
.kst-social-band { background: #172b4d; color: #fff; }
.kst-pt-footer__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.kst-pt-footer__brand img { object-fit: contain; flex: none; }
.kst-pt-footer .site-footer__links a { min-block-size: 44px; display: flex; align-items: center; }
.kst-social-band__inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; row-gap: 5px; padding-block: 12px 14px; }
.kst-social-band__label { font-size: .86rem; font-weight: 800; }
.kst-social-band ul { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 0; padding: 0; }
.kst-social-band a { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 8px; background: #ffffff0e; }
.kst-social-band a img { display: block; inline-size: 20px; block-size: 20px; filter: brightness(0) invert(1); }
.kst-social-band a:hover, .kst-social-band a:focus-visible { background: #ffffff2c; }
.kst-social-band a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
  .kst-social-band__inner { align-items: flex-start; flex-direction: column; }
}
