/*
Theme Name: Cave Global Modern Child
Description: Cave Global için iki dilli içerik, hareketli görsel yön ve erişilebilir dil kontrolü güncellemeleri.
Author: Cave Global
Template: cave-global-free
Version: 1.4.1
Text Domain: cave-global-modern-child
*/

@import url("../cave-global-free/style.css");

/* Preserve the natural colour and contrast of the verified property photos. */
.cg-home-image::after {
    background: linear-gradient(180deg, transparent 62%, rgba(2, 25, 44, .2));
    opacity: 1;
}

/* Istanbul story section */
.cg-story--istanbul {
    align-items: flex-start;
    animation: none;
    background:
        linear-gradient(90deg, rgba(2, 25, 44, .91) 0%, rgba(2, 40, 62, .76) 48%, rgba(8, 108, 111, .42) 100%),
        url("https://caveglobal.com.tr/wp-content/uploads/2026/09/moda-real.jpg") center 48% / cover no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    justify-content: center;
    min-height: clamp(560px, 72vh, 780px);
    padding-inline: clamp(24px, 8vw, 124px);
    text-align: left;
}

/* Real Istanbul hero media, ready for a future muted WebM/MP4 source. */
.cg-hero--media-ready .cg-hero-visual {
    background: #082c42;
    isolation: isolate;
}

.cg-hero--media-ready .cg-hero-visual > img,
.cg-hero--media-ready .cg-hero-visual > video {
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
}

.cg-hero--media-ready .cg-hero-visual::before {
    background:
        radial-gradient(circle at 78% 16%, rgba(73, 184, 255, .18), transparent 35%),
        linear-gradient(125deg, rgba(8, 38, 60, .02), transparent 46%, rgba(8, 168, 154, .12));
}

.cg-hero--media-ready .cg-hero-visual::after {
    background: linear-gradient(180deg, rgba(2, 22, 37, .02), transparent 44%, rgba(2, 22, 37, .64));
}

/* Calm, continuous reassurance ticker below the hero. */
.cg-trust.cg-trust--ticker {
    display: block;
    overflow: hidden;
    padding: 0;
    text-align: center;
}

.cg-trust--ticker::before,
.cg-trust--ticker::after {
    content: "";
    inset-block: 0;
    pointer-events: none;
    position: absolute;
    width: clamp(22px, 5vw, 84px);
    z-index: 2;
}

.cg-trust--ticker::before {
    background: linear-gradient(90deg, rgba(6, 42, 70, .8), transparent);
    left: 0;
}

.cg-trust--ticker::after {
    background: linear-gradient(270deg, rgba(6, 42, 70, .8), transparent);
    right: 0;
}

.cg-trust-track {
    animation: cg-trust-flow 34s linear infinite;
    display: flex;
    width: max-content;
    will-change: transform;
}

.cg-trust--ticker:hover .cg-trust-track,
.cg-trust--ticker:focus-within .cg-trust-track {
    animation-play-state: paused;
}

.cg-trust-group {
    display: flex;
    flex: 0 0 auto;
}

.cg-trust-group > span {
    align-items: center;
    display: flex;
    justify-content: center;
    line-height: 1.45;
    min-height: 82px;
    min-width: clamp(280px, 25vw, 440px);
    padding: 20px clamp(28px, 3vw, 54px);
    white-space: nowrap;
}

.cg-trust-group > span + span {
    border-left: 1px solid rgba(255, 255, 255, .22);
}

@keyframes cg-trust-flow {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.cg-story--istanbul::before {
    background: linear-gradient(180deg, rgba(0, 18, 32, .08), rgba(0, 18, 32, .34));
    border: 0;
    border-radius: 0;
    height: 100%;
    inset: 0;
    width: 100%;
    z-index: -1;
}

.cg-story--istanbul::after {
    display: none;
}

.cg-story--istanbul > * {
    margin-left: 0;
    margin-right: 0;
    position: relative;
    z-index: 1;
}

.cg-story--istanbul .cg-eyebrow {
    color: #9de8df;
}

.cg-story--istanbul h2 {
    color: #fff;
    font-size: clamp(52px, 6.2vw, 94px);
    line-height: .93;
    max-width: 980px;
    text-wrap: balance;
}

.cg-story--istanbul > p:last-child {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(16px, 1.4vw, 20px);
    margin: 34px 0 0;
    max-width: 700px;
}

/* Make the destination language explicit and easy to recognise. */
.cg-language {
    align-items: center;
    border: 1px solid rgba(2, 37, 61, .16);
    border-radius: 999px;
    display: inline-flex;
    gap: 7px;
    letter-spacing: .02em;
    padding: 8px 12px;
}

.cg-language svg {
    fill: none;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    width: 16px;
}

@media (max-width: 640px) {
    .cg-trust.cg-trust--ticker {
        padding: 0;
    }

    .cg-trust-group > span {
        min-height: 66px;
        min-width: 250px;
        padding: 15px 24px;
    }

    .cg-story--istanbul {
        background-position: 58% center;
        min-height: 600px;
        padding: 92px 24px;
    }

    .cg-story--istanbul h2 {
        font-size: clamp(46px, 14vw, 64px);
    }

    .cg-story--istanbul > p:last-child {
        font-size: 16px;
        line-height: 1.68;
    }

    .cg-language {
        padding: 7px 10px;
    }
}

/* Real-photo Kadıköy neighbourhood showcase */
.cg-city-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
}

.cg-city-card--kadikoy {
    display: grid;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    min-height: 530px;
    overflow: hidden;
    padding: 0 !important;
}

.cg-city-card--kadikoy:hover {
    transform: translateY(-5px);
}

.cg-city-copy {
    align-self: center;
    padding: 54px clamp(32px, 4vw, 64px) 60px;
}

.cg-city-slider {
    min-height: 530px;
    overflow: hidden;
    position: relative;
}

.cg-city-slide {
    inset: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 1.15s ease, visibility 1.15s ease;
    visibility: hidden;
}

.cg-city-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.cg-city-slide img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cg-city-slide.is-active img {
    animation: cg-city-ken-burns 7s ease-out both;
}

.cg-city-slider::after {
    background: linear-gradient(90deg, rgba(2, 37, 61, .12), transparent 28%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.cg-city-slider-controls {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(2, 25, 44, .44);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    bottom: 20px;
    display: flex;
    gap: 8px;
    left: 50%;
    padding: 8px 10px;
    position: absolute;
    transform: translateX(-50%);
    z-index: 3;
}

.cg-city-slider-control {
    background: rgba(255, 255, 255, .5);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 8px;
    padding: 0;
    transition: background-color .25s ease, transform .25s ease, width .25s ease;
    width: 8px;
}

.cg-city-slider-control[aria-current="true"] {
    background: #fff;
    transform: none;
    width: 24px;
}

.cg-city-slider-control:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@keyframes cg-city-ken-burns {
    from { transform: scale(1.035); }
    to { transform: scale(1); }
}

@media (max-width: 1050px) {
    .cg-city-grid {
        grid-template-columns: 1fr;
    }

    .cg-city-card--kadikoy {
        grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    }
}

@media (max-width: 640px) {
    .cg-city-card--kadikoy {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .cg-city-copy {
        padding: 36px 30px 42px;
    }

    .cg-city-slider {
        min-height: 280px;
        order: -1;
    }

    .cg-city-slider::after {
        background: linear-gradient(180deg, transparent 66%, rgba(2, 25, 44, .14));
    }
}

@media (prefers-reduced-motion: reduce) {
    .cg-city-slide,
    .cg-city-slide.is-active img {
        animation: none;
        transition: none;
    }

    .cg-trust-track {
        animation: none;
        width: 100%;
    }

    .cg-trust-group {
        flex-wrap: wrap;
        width: 100%;
    }

    .cg-trust-group[aria-hidden="true"] {
        display: none;
    }

    .cg-trust-group > span {
        flex: 1 1 50%;
        min-width: 240px;
        white-space: normal;
    }
}

/* Audit fixes: solid mobile navigation and non-obstructive request actions */
@media (max-width: 980px) {
    .cg-nav {
        backdrop-filter: none;
        background: #f7fbff;
        height: calc(100dvh - 88px);
    }

    body.admin-bar .cg-nav {
        top: 134px;
        height: calc(100dvh - 134px);
    }

    .page-template-page-cg-request .cg-contact-dock {
        align-items: flex-end;
        background: #f7fbff;
        bottom: auto;
        padding: 20px var(--cg-gutter) calc(20px + env(safe-area-inset-bottom));
        position: static;
        right: auto;
    }

    .page-template-page-cg-request .cg-dock-action--booking {
        display: none;
    }
}

@media (max-width: 640px) {
    .cg-header.is-scrolled {
        height: 72px;
    }

    .cg-nav,
    .cg-header.is-scrolled + .cg-nav {
        top: 72px;
        height: calc(100dvh - 72px);
    }

    body.admin-bar .cg-nav,
    body.admin-bar .cg-header.is-scrolled + .cg-nav {
        top: 118px;
        height: calc(100dvh - 118px);
    }

    .page-template-page-cg-request .cg-dock-action--whatsapp {
        padding: 12px 16px;
    }

    .page-template-page-cg-request .cg-dock-action--whatsapp span {
        display: inline;
    }
}


/* Cave Global stay navigation and location pages, 2026-09-07 */
.cg-nav-stays {
  position: relative;
}

.cg-nav-stays__trigger {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  white-space: nowrap;
}

.cg-nav-stays__chevron {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  height: 6px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s var(--cg-ease);
  width: 6px;
}

.cg-nav-stays__menu {
  backdrop-filter: blur(22px) saturate(145%);
  background: rgba(247, 251, 255, .97);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(8, 38, 60, .16);
  display: grid;
  gap: 3px;
  left: -18px;
  min-width: 260px;
  opacity: 0;
  padding: 9px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 17px);
  transform: translateY(-7px);
  transition: opacity .2s ease, transform .25s var(--cg-ease), visibility .2s;
  visibility: hidden;
  z-index: 70;
}

.cg-nav-stays__menu::before {
  content: "";
  height: 18px;
  inset: -18px 0 auto;
  position: absolute;
}

.cg-nav-stays:hover .cg-nav-stays__menu,
.cg-nav-stays:focus-within .cg-nav-stays__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.cg-nav-stays:hover .cg-nav-stays__chevron,
.cg-nav-stays:focus-within .cg-nav-stays__chevron {
  transform: translateY(2px) rotate(225deg);
}

.cg-nav-stays__menu a {
  border-radius: 11px;
  display: block;
  font-size: 13px;
  line-height: 1.4;
  padding: 12px 14px;
  white-space: nowrap;
}

.cg-nav .cg-nav-stays__menu a:hover,
.cg-nav .cg-nav-stays__menu a:focus-visible,
.cg-nav-stays__menu a[aria-current="page"] {
  background: rgba(8, 168, 154, .1);
  opacity: 1;
}

.cg-nav-stays a:focus-visible {
  outline: 2px solid var(--cg-blue);
  outline-offset: 3px;
}

.cg-stays-landing {
  color: var(--cg-ink-soft);
  max-width: 1220px;
  width: min(1220px, calc(100vw - (2 * var(--cg-gutter))));
}

.cg-location-lead {
  color: var(--cg-ink-soft);
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.68;
  margin: 0;
  max-width: 920px;
}

.cg-location-section {
  border-top: 1px solid var(--cg-line);
  margin-top: clamp(72px, 9vw, 124px);
  padding-top: clamp(42px, 5vw, 70px);
}

.cg-location-kicker {
  color: var(--cg-teal);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.cg-stays-landing h2 {
  color: var(--cg-ink);
  font-family: var(--cg-serif);
  font-size: clamp(39px, 4.3vw, 70px);
  font-variation-settings: "opsz" 76, "wdth" 94;
  font-weight: 570;
  letter-spacing: -.045em;
  line-height: .98;
  margin: 0;
  max-width: 920px;
}

.cg-location-section > p:not(.cg-location-kicker) {
  font-size: 17px;
  line-height: 1.75;
  margin: 24px 0 0;
  max-width: 760px;
}

.cg-area-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.cg-area-card {
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(8, 38, 60, .16);
  color: #fff;
  display: flex;
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.cg-area-card::after {
  background: linear-gradient(180deg, rgba(2, 25, 44, .05) 20%, rgba(2, 25, 44, .9) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.cg-area-card > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform .8s var(--cg-ease), filter .5s ease;
  width: 100%;
}

.cg-area-card:hover > img {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.cg-area-card__content {
  align-self: flex-end;
  display: grid;
  gap: 10px;
  padding: clamp(28px, 4vw, 46px);
  position: relative;
  width: 100%;
  z-index: 2;
}

.cg-area-card__content small {
  font-size: 10px;
  font-style: normal;
  font-weight: 720;
  letter-spacing: .11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.cg-area-card__content strong {
  font-family: var(--cg-serif);
  font-size: clamp(34px, 3vw, 50px);
  font-variation-settings: "opsz" 60, "wdth" 94;
  font-weight: 570;
  letter-spacing: -.04em;
  line-height: 1;
}

.cg-area-card__content > span {
  font-size: 13px;
  margin-top: 8px;
}

.cg-stay-type-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.cg-stay-type-grid > div {
  background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(228, 249, 250, .8));
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 24px;
  box-shadow: 0 18px 52px rgba(8, 38, 60, .08);
  min-height: 170px;
  padding: 28px;
}

.cg-stay-type-grid span {
  color: var(--cg-teal);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
}

.cg-stay-type-grid h3 {
  color: var(--cg-ink);
  font-family: var(--cg-serif);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 570;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 45px 0 0;
}

.cg-location-property-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.cg-location-property-card {
  background: #fff;
  border: 1px solid rgba(8, 38, 60, .08);
  border-radius: 25px;
  box-shadow: 0 16px 48px rgba(8, 38, 60, .08);
  display: block;
  overflow: hidden;
  transition: box-shadow .35s ease, transform .35s var(--cg-ease);
}

.cg-location-property-card:hover {
  box-shadow: 0 28px 65px rgba(8, 38, 60, .15);
  transform: translateY(-6px);
}

.cg-location-property-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .65s var(--cg-ease);
  width: 100%;
}

.cg-location-property-card:hover img {
  transform: scale(1.035);
}

.cg-location-property-card > span {
  display: grid;
  gap: 8px;
  padding: 23px 24px 26px;
}

.cg-location-property-card small {
  color: var(--cg-teal);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cg-location-property-card strong {
  color: var(--cg-ink);
  font-family: var(--cg-serif);
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 570;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.cg-location-property-card em {
  color: var(--cg-ink-soft);
  font-size: 12px;
  font-style: normal;
  margin-top: 5px;
}

.cg-location-privacy {
  align-items: start;
  background: linear-gradient(125deg, #062a46, #087a89);
  border-radius: 30px;
  color: rgba(255, 255, 255, .88);
  display: grid;
  gap: clamp(28px, 6vw, 90px);
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  margin-top: clamp(70px, 9vw, 120px);
  padding: clamp(34px, 6vw, 72px);
}

.cg-location-privacy h2,
.cg-location-privacy .cg-location-kicker {
  color: #fff;
}

.cg-location-privacy > p {
  font-size: 17px;
  line-height: 1.75;
  margin: 2px 0 0;
}

.cg-location-cta {
  align-items: center;
  background: radial-gradient(circle at 88% 14%, rgba(65, 221, 200, .27), transparent 30%), linear-gradient(135deg, #eaf8ff, #e9fff7);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 30px;
  box-shadow: 0 22px 65px rgba(8, 38, 60, .1);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: clamp(70px, 9vw, 120px);
  padding: clamp(34px, 6vw, 70px);
}

.cg-location-cta h2 {
  font-size: clamp(38px, 4vw, 62px);
}

.cg-location-cta p:not(.cg-location-kicker) {
  font-size: 16px;
  line-height: 1.7;
  margin: 22px 0 0;
  max-width: 700px;
}

@media (max-width: 980px) {
  .cg-nav-stays {
    border-bottom: 1px solid var(--cg-line);
    width: 100%;
  }

  .cg-nav-stays__trigger {
    justify-content: space-between;
    padding: 11px 0;
    width: 100%;
  }

  .cg-nav-stays__chevron {
    display: none;
  }

  .cg-nav-stays__menu {
    backdrop-filter: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 0;
    left: auto;
    min-width: 0;
    opacity: 1;
    padding: 0 0 13px clamp(14px, 4vw, 28px);
    pointer-events: auto;
    position: static;
    transform: none;
    visibility: visible;
  }

  .cg-nav-stays__menu a {
    border-left: 2px solid rgba(8, 168, 154, .28);
    border-radius: 0;
    font-family: var(--cg-sans);
    font-size: clamp(15px, 3.8vw, 19px);
    padding: 10px 14px;
    white-space: normal;
  }

  .cg-area-grid,
  .cg-location-privacy {
    grid-template-columns: 1fr;
  }

  .cg-location-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cg-location-cta {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .cg-location-cta .cg-button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .cg-stays-landing {
    width: 100%;
  }

  .cg-area-grid,
  .cg-stay-type-grid,
  .cg-location-property-grid {
    grid-template-columns: 1fr;
  }

  .cg-area-card {
    min-height: 370px;
  }

  .cg-location-section {
    margin-top: 68px;
    padding-top: 38px;
  }

  .cg-location-privacy,
  .cg-location-cta {
    border-radius: 24px;
    margin-top: 68px;
    padding: 32px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-nav-stays__chevron,
  .cg-nav-stays__menu,
  .cg-area-card > img,
  .cg-location-property-card,
  .cg-location-property-card img {
    transition: none;
  }
}

}

/* Real Istanbul hero media, ready for a future muted WebM/MP4 source. */
.cg-hero--media-ready .cg-hero-visual {
    background: #082c42;
    isolation: isolate;
}

.cg-hero--media-ready .cg-hero-visual > img,
.cg-hero--media-ready .cg-hero-visual > video {
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
}

.cg-hero--media-ready .cg-hero-visual::before {
    background:
        radial-gradient(circle at 78% 16%, rgba(73, 184, 255, .18), transparent 35%),
        linear-gradient(125deg, rgba(8, 38, 60, .02), transparent 46%, rgba(8, 168, 154, .12));
}

.cg-hero--media-ready .cg-hero-visual::after {
    background: linear-gradient(180deg, rgba(2, 22, 37, .02), transparent 44%, rgba(2, 22, 37, .64));
}

/* Calm, continuous reassurance ticker below the hero. */
.cg-trust.cg-trust--ticker {
    display: block;
    overflow: hidden;
    padding: 0;
    text-align: center;
}

.cg-trust--ticker::before,
.cg-trust--ticker::after {
    content: "";
    inset-block: 0;
    pointer-events: none;
    position: absolute;
    width: clamp(22px, 5vw, 84px);
    z-index: 2;
}

.cg-trust--ticker::before {
    background: linear-gradient(90deg, rgba(6, 42, 70, .8), transparent);
    left: 0;
}

.cg-trust--ticker::after {
    background: linear-gradient(270deg, rgba(6, 42, 70, .8), transparent);
    right: 0;
}

.cg-trust-track {
    animation: cg-trust-flow 34s linear infinite;
    display: flex;
    width: max-content;
    will-change: transform;
}

.cg-trust--ticker:hover .cg-trust-track,
.cg-trust--ticker:focus-within .cg-trust-track {
    animation-play-state: paused;
}

.cg-trust-group {
    display: flex;
    flex: 0 0 auto;
}

.cg-trust-group > span {
    align-items: center;
    display: flex;
    justify-content: center;
    line-height: 1.45;
    min-height: 82px;
    min-width: clamp(280px, 25vw, 440px);
    padding: 20px clamp(28px, 3vw, 54px);
    white-space: nowrap;
}

.cg-trust-group > span + span {
    border-left: 1px solid rgba(255, 255, 255, .22);
}

@keyframes cg-trust-flow {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.cg-story--istanbul::before {
    background: linear-gradient(180deg, rgba(0, 18, 32, .08), rgba(0, 18, 32, .34));
    border: 0;
    border-radius: 0;
    height: 100%;
    inset: 0;
    width: 100%;
    z-index: -1;
}

.cg-story--istanbul::after {
    display: none;
}

.cg-story--istanbul > * {
    margin-left: 0;
    margin-right: 0;
    position: relative;
    z-index: 1;
}

.cg-story--istanbul .cg-eyebrow {
    color: #9de8df;
}

.cg-story--istanbul h2 {
    color: #fff;
    font-size: clamp(52px, 6.2vw, 94px);
    line-height: .93;
    max-width: 980px;
    text-wrap: balance;
}

.cg-story--istanbul > p:last-child {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(16px, 1.4vw, 20px);
    margin: 34px 0 0;
    max-width: 700px;
}

/* Make the destination language explicit and easy to recognise. */
.cg-language {
    align-items: center;
    border: 1px solid rgba(2, 37, 61, .16);
    border-radius: 999px;
    display: inline-flex;
    gap: 7px;
    letter-spacing: .02em;
    padding: 8px 12px;
}

.cg-language svg {
    fill: none;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    width: 16px;
}

@media (max-width: 640px) {
    .cg-trust.cg-trust--ticker {
        padding: 0;
    }

    .cg-trust-group > span {
        min-height: 66px;
        min-width: 250px;
        padding: 15px 24px;
    }

    .cg-story--istanbul {
        background-position: 58% center;
        min-height: 600px;
        padding: 92px 24px;
    }

    .cg-story--istanbul h2 {
        font-size: clamp(46px, 14vw, 64px);
    }

    .cg-story--istanbul > p:last-child {
        font-size: 16px;
        line-height: 1.68;
    }

    .cg-language {
        padding: 7px 10px;
    }
}

/* Real-photo Kadıköy neighbourhood showcase */
.cg-city-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
}

.cg-city-card--kadikoy {
    display: grid;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    min-height: 530px;
    overflow: hidden;
    padding: 0 !important;
}

.cg-city-card--kadikoy:hover {
    transform: translateY(-5px);
}

.cg-city-copy {
    align-self: center;
    padding: 54px clamp(32px, 4vw, 64px) 60px;
}

.cg-city-slider {
    min-height: 530px;
    overflow: hidden;
    position: relative;
}

.cg-city-slide {
    inset: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 1.15s ease, visibility 1.15s ease;
    visibility: hidden;
}

.cg-city-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.cg-city-slide img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cg-city-slide.is-active img {
    animation: cg-city-ken-burns 7s ease-out both;
}

.cg-city-slider::after {
    background: linear-gradient(90deg, rgba(2, 37, 61, .12), transparent 28%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.cg-city-slider-controls {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(2, 25, 44, .44);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    bottom: 20px;
    display: flex;
    gap: 8px;
    left: 50%;
    padding: 8px 10px;
    position: absolute;
    transform: translateX(-50%);
    z-index: 3;
}

.cg-city-slider-control {
    background: rgba(255, 255, 255, .5);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 8px;
    padding: 0;
    transition: background-color .25s ease, transform .25s ease, width .25s ease;
    width: 8px;
}

.cg-city-slider-control[aria-current="true"] {
    background: #fff;
    transform: none;
    width: 24px;
}

.cg-city-slider-control:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@keyframes cg-city-ken-burns {
    from { transform: scale(1.035); }
    to { transform: scale(1); }
}

@media (max-width: 1050px) {
    .cg-city-grid {
        grid-template-columns: 1fr;
    }

    .cg-city-card--kadikoy {
        grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    }
}

@media (max-width: 640px) {
    .cg-city-card--kadikoy {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .cg-city-copy {
        padding: 36px 30px 42px;
    }

    .cg-city-slider {
        min-height: 280px;
        order: -1;
    }

    .cg-city-slider::after {
        background: linear-gradient(180deg, transparent 66%, rgba(2, 25, 44, .14));
    }
}

@media (prefers-reduced-motion: reduce) {
    .cg-city-slide,
    .cg-city-slide.is-active img {
        animation: none;
        transition: none;
    }

    .cg-trust-track {
        animation: none;
        width: 100%;
    }

    .cg-trust-group {
        flex-wrap: wrap;
        width: 100%;
    }

    .cg-trust-group[aria-hidden="true"] {
        display: none;
    }

    .cg-trust-group > span {
        flex: 1 1 50%;
        min-width: 240px;
        white-space: normal;
    }
}

/* Audit fixes: solid mobile navigation and non-obstructive request actions */
@media (max-width: 980px) {
    .cg-nav {
        backdrop-filter: none;
        background: #f7fbff;
        height: calc(100dvh - 88px);
    }

    body.admin-bar .cg-nav {
        top: 134px;
        height: calc(100dvh - 134px);
    }

    .page-template-page-cg-request .cg-contact-dock {
        align-items: flex-end;
        background: #f7fbff;
        bottom: auto;
        padding: 20px var(--cg-gutter) calc(20px + env(safe-area-inset-bottom));
        position: static;
        right: auto;
    }

    .page-template-page-cg-request .cg-dock-action--booking {
        display: none;
    }
}

@media (max-width: 640px) {
    .cg-header.is-scrolled {
        height: 72px;
    }

    .cg-nav,
    .cg-header.is-scrolled + .cg-nav {
        top: 72px;
        height: calc(100dvh - 72px);
    }

    body.admin-bar .cg-nav,
    body.admin-bar .cg-header.is-scrolled + .cg-nav {
        top: 118px;
        height: calc(100dvh - 118px);
    }

    .page-template-page-cg-request .cg-dock-action--whatsapp {
        padding: 12px 16px;
    }

    .page-template-page-cg-request .cg-dock-action--whatsapp span {
        display: inline;
    }
}
