:root {
  --navy: #071b33;
  --navy2: #0e3157;
  --red: #d82335;
  --red2: #ef3949;
  --white: #fff;
  --paper: #f8f7f3;
  --cream: #f0eadf;
  --text: #102238;
  --muted: #687487;
  --line: rgba(7, 27, 51, .12);
  --shadow: 0 28px 90px rgba(3, 19, 38, .22);
  --header: 82px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden
}

body.locked {
  overflow: hidden
}

button,
a {
  font: inherit
}

button {
  cursor: pointer
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 76px);
  background: rgba(248, 247, 243, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line)
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column
}

.brand-name {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 38px;
  line-height: .8;
  color: var(--navy)
}

.brand-meta {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red)
}

.hamburger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-content: center;
  gap: 5px
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  display: block;
  border-radius: 999px
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 14, 28, .46);
  backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: .3s
}

.menu-backdrop.show {
  opacity: 1;
  visibility: visible
}

.side-menu {
  position: fixed;
  right: 0;
  top: 0;
  width: min(440px, 92vw);
  height: 100dvh;
  z-index: 100;
  padding: 28px;
  background: linear-gradient(180deg, #082442, #06172d);
  color: #fff;
  transform: translateX(105%);
  transition: transform .5s cubic-bezier(.18, .85, .2, 1);
  overflow: auto
}

.side-menu.open {
  transform: translateX(0)
}

.side-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding-bottom: 24px
}

.mini-label {
  font-size: 10px;
  letter-spacing: .17em;
  color: #f69aa4
}

.side-menu h2 {
  margin: 4px 0 0;
  font-size: 32px
}

.menu-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px
}

.menu-links {
  display: grid;
  margin-top: 16px
}

.menu-links button {
  display: grid;
  grid-template-columns: 44px 1fr;
  text-align: left;
  align-items: center;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  color: #fff
}

.menu-links button span {
  font-size: 11px;
  color: #f69aa4
}

.menu-foot {
  margin-top: 32px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6
}

.screen {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-margin-top: var(--header);
  position: relative;
  padding: calc(var(--header) + 54px) clamp(20px, 6vw, 96px) 72px;
  display: flex;
  align-items: center;
  overflow: hidden
}

.screen:not(.hero) {
  opacity: .65;
  transform: translateY(46px);
  transition: opacity .7s ease, transform .7s ease
}

.screen.screen-active {
  opacity: 1;
  transform: translateY(0)
}

.content-wrap {
  width: min(1500px, 100%);
  margin: auto
}

.hero {
  color: #fff;
  isolation: isolate
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(135deg, rgba(6, 24, 46, .12), rgba(6, 24, 46, .12)),
    url("images/birmingham_hero_bg.png") center/cover no-repeat,
    linear-gradient(130deg, #183a5c, #9a7061)
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(3, 18, 36, .93) 0%, rgba(3, 18, 36, .7) 48%, rgba(3, 18, 36, .18) 82%)
}

.hero-content {
  margin-left: 0
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  color: var(--red);
  text-transform: uppercase
}

.on-dark {
  color: #ff9da7
}

.hero-white{
  color:#fff;
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(62px, 7.2vw, 120px);
  line-height: .88;
  letter-spacing: -.045em;
  font-family: Georgia, serif;
}

.hero h1 span {
  display: inline-block;
  background: var(--red);
  padding: 0 .08em .06em;
  margin: .08em 0;
}

.hero-copy {
  max-width: 700px;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .9)
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
  margin: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2)
}

.hero-facts div {
  padding: 17px 18px 17px 0
}

.hero-facts strong,
.hero-facts span {
  display: block
}

.hero-facts span {
  font-size: 12px;
  color: rgba(255, 255, 255, .64);
  margin-top: 4px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.primary-btn,
.glass-btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800
}

.primary-btn {
  background: var(--red);
  color: #fff
}

.glass-btn {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  backdrop-filter: blur(8px)
}

.scroll-hint {
  position: absolute;
  right: 32px;
  bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .65)
}

.section-white {
  background: var(--paper)
}

.section-navy {
  background: linear-gradient(135deg, #06172d, #0b3158);
  color: #fff
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px
}

.section-head>div {
  max-width: 850px
}

.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 76px);
  font-family: Georgia, serif;
  letter-spacing: -.035em;
  line-height: 1
}

.section-head>p {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.7
}

.section-head.light h2,
.section-head.light>p {
  color: #fff
}

.section-head.light>p {
  color: rgba(255, 255, 255, .7)
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.program-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: .3s;
  cursor: pointer
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(8, 29, 54, .1)
}

.card-no {
  position: absolute;
  right: 22px;
  top: 18px;
  color: #b0b8c4;
  font-size: 12px
}

.icon-chip {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  letter-spacing: .05em;
  margin-bottom: 28px
}

.red-chip {
  background: var(--red)
}

.blue-chip {
  background: var(--navy)
}

.program-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.22
}

.program-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px
}

.program-card button,
.partner-card button {
  margin-top: auto;
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 900;
  text-align: left;
  padding: 0
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px
}

.price-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .16)
}

.price-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  color: #fff
}

.red-band {
  background: var(--red)
}

.blue-band {
  background: #0e3157
}

.price-title span {
  font-weight: 900;
  letter-spacing: .06em
}

.price-title strong {
  font-size: 36px;
  margin-left: 14px
}

.price-title del {
  opacity: .6
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr)
}

.week-grid div {
  padding: 18px 12px;
  border-right: 1px solid #e5e8ec;
  min-height: 105px
}

.week-grid b,
.week-grid span,
.week-grid small {
  display: block
}

.week-grid b {
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 10px
}

.week-grid span {
  font-weight: 800
}

.week-grid small {
  margin-top: 7px;
  color: var(--red)
}

.price-foot {
  padding: 16px 22px;
  border-top: 1px solid #e6e9ed;
  color: var(--red);
  font-weight: 800;
  font-size: 13px
}

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

.partner-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  cursor: pointer;
  transition: .3s
}

.partner-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 54px rgba(8, 29, 54, .12)
}

.partner-visual {
  height: 190px;
  background-size: cover;
  background-position: center
}

.aston {
  background: linear-gradient(135deg, #5d1b70, #cfd6dc)
}

.bcu {
  background: linear-gradient(135deg, #0b3157, #6ea4c6)
}

.bangor {
  background: linear-gradient(135deg, #8b673e, #d7c7a3)
}

.plymouth {
  background: linear-gradient(135deg, #164c72, #a7c4d9)
}

.portsmouth {
  background: linear-gradient(135deg, #17345c, #7aa3c0)
}

.dmu {
  background: linear-gradient(135deg, #b42835, #d9b7ba)
}

.partner-body {
  padding: 22px
}

.partner-body span {
  font-size: 10px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .13em
}

.partner-body h3 {
  margin: 8px 0 18px;
  font-size: 21px
}

.life-section {
  background: radial-gradient(circle at 82% 18%, rgba(216, 35, 53, .22), transparent 26%), linear-gradient(135deg, #06172d, #0b3158);
  color: #fff
}

.life-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: repeat(2, 260px);
  gap: 15px
}

.life-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
  min-height: 0
}

.life-large {
  grid-row: span 2
}

.life-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .55s
}

.life-card:hover .life-img {
  transform: scale(1.06)
}

.city-img {
  background: linear-gradient(140deg, #8e2e36, #152e49)
}

.culture-img {
  background: linear-gradient(140deg, #af6a31, #1b3150)
}

.transport-img {
  background: linear-gradient(140deg, #b61e30, #304d67)
}

.student-img {
  background: linear-gradient(140deg, #2f6483, #182b46)
}

.digbeth-img {
  background: linear-gradient(140deg, #7d332f, #122f50)
}

.life-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(transparent, rgba(3, 16, 31, .94))
}

.life-overlay span {
  font-size: 11px;
  color: #ff9da7
}

.life-overlay h3 {
  font-size: 24px;
  margin: 6px 0
}

.life-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, .72)
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px
}

.step-grid div {
  border-top: 2px solid var(--navy);
  padding-top: 18px
}

.step-grid span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px
}

.step-grid strong {
  display: block
}

.step-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5
}

.contact-section {
  background: linear-gradient(135deg, #06172d, #0d335a);
  color: #fff
}

.contact-wrap h2 {
  font-family: Georgia, serif;
  font-size: clamp(48px, 6vw, 86px);
  margin: 0 0 18px
}

.contact-wrap>p {
  max-width: 760px;
  color: rgba(255, 255, 255, .72)
}

.contact-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.contact-row>* {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff;
  text-decoration: none
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 22px
}

.modal-layer.open {
  display: grid
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 17, 33, .58);
  backdrop-filter: blur(13px)
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1000px, 96vw);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: none;
  animation: modalIn .35s ease
}

.modal-panel.active {
  display: block
}

.modal-x {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 25px;
  z-index: 2
}

.modal-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center
}

.modal-tag {
  font-size: 11px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .14em
}

.modal-copy h2,
.campus-content h2,
.info-modal h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  margin: 10px 0 18px
}

.modal-copy p,
.campus-content p,
.info-modal p {
  color: var(--muted);
  line-height: 1.75
}

.modal-copy ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  padding-left: 20px;
  color: #334155
}

.modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px
}

.modal-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f4f7;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800
}

.modal-image {
  min-height: 430px;
  border-radius: 20px;
  background-position: center;
  background-size: cover
}

.general-photo {
  background: linear-gradient(135deg, #e7d8cf, #63778a)
}

.academic-photo {
  background: linear-gradient(135deg, #d5e2ea, #304b67)
}

.ielts-photo {
  background: linear-gradient(135deg, #efcdd1, #5e3040)
}

.pre-photo {
  background: linear-gradient(135deg, #d5d9df, #172f50)
}

.university-modal {
  padding: 0;
  overflow: hidden
}

.campus-hero {
  height: 280px;
  background-size: cover;
  background-position: center
}

.aston-hero {
  background: linear-gradient(135deg, #6b1d7c, #bfcbd3)
}

.bcu-hero {
  background: linear-gradient(135deg, #173a62, #85b3cc)
}

.bangor-hero {
  background: linear-gradient(135deg, #8c673e, #d3bd95)
}

.plymouth-hero {
  background: linear-gradient(135deg, #1c537a, #b2cfdf)
}

.portsmouth-hero {
  background: linear-gradient(135deg, #234061, #85a7be)
}

.dmu-hero {
  background: linear-gradient(135deg, #ad2330, #e0b7ba)
}

.campus-content {
  padding: 28px
}

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px
}

.campus-gallery span {
  height: 90px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d8dee4, #7a8da0)
}

.info-modal {
  max-width: 720px
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(.98)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:1100px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .life-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto
  }

  .life-large {
    grid-row: auto
  }

  .life-card {
    min-height: 280px
  }

  .step-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:760px) {
  :root {
    --header: 72px
  }

  .topbar {
    padding-inline: 18px
  }

  .brand-name {
    font-size: 32px
  }

  .brand-meta {
    font-size: 8px
  }

  .screen {
    padding: calc(var(--header) + 40px) 18px 56px;
    min-height: auto
  }

  .hero {
    min-height: 100svh
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 78px)
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr
  }

  .section-head {
    display: block
  }

  .section-head>p {
    margin-top: 18px
  }

  .program-grid,
  .pricing-grid,
  .partner-grid,
  .life-grid,
  .step-grid {
    grid-template-columns: 1fr
  }

  .week-grid {
    grid-template-columns: 1fr
  }

  .week-grid div {
    min-height: auto;
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    border-bottom: 1px solid #e5e8ec;
    border-right: 0
  }

  .modal-split {
    grid-template-columns: 1fr
  }

  .modal-image {
    min-height: 260px
  }

  .modal-copy ul {
    grid-template-columns: 1fr
  }

  .modal-panel {
    padding: 22px
  }

  .university-modal {
    padding: 0
  }
}

/* Partner universities — visual campus cards + rich modal */
.partner-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #102a4c, #d9d4ca)
}

.partner-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s ease, filter .35s ease
}

.partner-card:hover .partner-visual img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03)
}

.partner-body {
  min-height: 185px;
  display: flex;
  flex-direction: column
}

.partner-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55
}

.partner-body button {
  pointer-events: none
}

.university-modal {
  width: min(1120px, 96vw);
  padding: 0;
  overflow: auto;
  background: #fff
}

.campus-hero {
  height: 330px;
  position: relative;
  overflow: hidden;
  background: #dfe5ea
}

.campus-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 20, 39, .38))
}

.campus-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.campus-content {
  padding: 32px 34px 36px
}

.campus-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px
}

.campus-kicker span {
  font-size: 11px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .14em
}

.campus-kicker b {
  font-size: 12px;
  color: #64748b;
  font-weight: 700
}

.campus-content h2 {
  max-width: 820px;
  margin-bottom: 14px
}

.campus-content>p {
  max-width: 940px;
  margin-bottom: 22px
}

.campus-facts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px
}

.campus-facts span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800
}

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 25px
}

.campus-gallery img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: 15px;
  background: #d7dee5;
  transition: transform .3s ease
}

.campus-gallery img:hover {
  transform: translateY(-4px)
}

.campus-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
  transition: .25s
}

.campus-link:hover {
  background: var(--red);
  transform: translateY(-2px)
}

@media(max-width:760px) {
  .partner-visual {
    height: 200px
  }

  .campus-hero {
    height: 230px
  }

  .campus-content {
    padding: 24px 20px 26px
  }

  .campus-kicker {
    display: block
  }

  .campus-kicker b {
    display: block;
    margin-top: 5px
  }

  .campus-gallery {
    grid-template-columns: 1fr 1fr
  }

  .campus-gallery img {
    height: 120px
  }

  .campus-gallery img:last-child {
    grid-column: 1/-1
  }

  .campus-link {
    width: 100%
  }
}

/* ===== V5: visible scrollbars + richer programme visuals ===== */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

/* Main page scrollbar */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 13px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #eef0f2;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: #7a8796;
  border: 3px solid #eef0f2;
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #455568;
}

/* Make modal scrolling obvious on desktop */
.modal-panel {
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}
.modal-panel::-webkit-scrollbar {
  width: 12px;
}
.modal-panel::-webkit-scrollbar-track {
  background: #edf0f3;
  border-radius: 999px;
}
.modal-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(#d82335, #0e3157);
  border: 3px solid #edf0f3;
  border-radius: 999px;
}
.modal-panel::-webkit-scrollbar-thumb:hover {
  background: #0e3157;
}

/* Firefox */
html,
.modal-panel {
  scrollbar-width: auto;
  scrollbar-color: #637286 #edf0f3;
}

.program-visual {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(360px, 1fr) 118px;
  gap: 12px;
}

.program-photo-main {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 22px;
  background: #dfe5eb;
}

.program-photo-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 42%,
    rgba(3, 18, 36, .12) 58%,
    rgba(3, 18, 36, .88) 100%
  );
}

.program-photo-main img,
.program-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-photo-main img {
  transition: transform .55s ease;
}

.program-photo-main:hover img {
  transform: scale(1.035);
}

.photo-caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
}

.photo-caption span {
  display: block;
  margin-bottom: 5px;
  color: #ffadb5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.photo-caption strong {
  font-family: Georgia, serif;
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.02;
}

.program-photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.program-photo-strip img {
  min-height: 118px;
  border-radius: 16px;
  filter: saturate(1.08) contrast(1.02);
  transition: transform .3s ease, filter .3s ease;
}

.program-photo-strip img:hover {
  transform: translateY(-3px);
  filter: saturate(1.22) contrast(1.05);
}

/* Modal layout feels less like a static brochure and more like a visual story */
.modal-panel:not(.university-modal):not(.info-modal) {
  width: min(1180px, 96vw);
}

.modal-panel:not(.university-modal):not(.info-modal) .modal-split {
  grid-template-columns: minmax(0, 1.03fr) minmax(370px, .97fr);
  align-items: start;
}

.modal-copy {
  padding-bottom: 8px;
}

.modal-copy > p {
  font-size: 16px;
}

.modal-copy ul {
  margin-top: 22px;
}

.modal-copy li {
  padding: 4px 0;
}

.modal-badges {
  padding-bottom: 8px;
}

@media (max-width: 760px) {
  .program-visual {
    grid-template-rows: 300px 95px;
  }

  .program-photo-main {
    min-height: 300px;
  }

  .program-photo-strip img {
    min-height: 95px;
  }

  .modal-panel:not(.university-modal):not(.info-modal) .modal-split {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   V6 — Detailed programme + accommodation modals + gallery
========================================================= */

.programme-modal {
  width: min(1240px, 96vw);
}

.programme-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 26px;
}

.programme-stats > div {
  padding: 15px;
  border-radius: 16px;
  background: #f3f5f7;
  border: 1px solid var(--line);
}

.programme-stats span,
.programme-stats strong,
.programme-stats small {
  display: block;
}

.programme-stats span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.programme-stats strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 16px;
}

.programme-stats small {
  margin-top: 3px;
  color: var(--muted);
}

.programme-copy-block {
  margin: 24px 0;
}

.programme-copy-block h3,
.programme-info-panels h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.programme-copy-block p,
.programme-info-panels p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.programme-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.programme-skill-grid > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.programme-skill-grid b,
.programme-skill-grid span {
  display: block;
}

.programme-skill-grid b {
  color: var(--navy);
  margin-bottom: 4px;
}

.programme-skill-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.programme-info-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.programme-info-panels > div {
  padding: 17px;
  border-radius: 16px;
  background: #f5f1ea;
}

.programme-warning {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 15px;
  border-left: 4px solid var(--red);
  background: #fff2f3;
  border-radius: 12px;
  color: #4b5565;
  line-height: 1.55;
}

.programme-warning strong {
  color: var(--red);
  white-space: nowrap;
}

.visual-note {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 4px 0;
  font-size: 12px;
  color: var(--muted);
}

.gallery-image {
  cursor: zoom-in;
}

/* Accommodation section */
.accommodation-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(216,35,53,.10), transparent 25%),
    linear-gradient(180deg, #f7f2e9, #fbfaf7);
}

.accommodation-head h2 {
  max-width: 900px;
}

.accommodation-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -15px 0 28px;
}

.accommodation-filters span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

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

.accommodation-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.accommodation-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(7,27,51,.12);
}

.accommodation-cover {
  height: 235px;
  position: relative;
  overflow: hidden;
}

.accommodation-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(4,18,34,.72));
}

.accommodation-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.accommodation-card:hover .accommodation-cover img {
  transform: scale(1.04);
}

.accommodation-price {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  color: #fff;
}

.accommodation-price small,
.accommodation-price strong,
.accommodation-price span {
  display: block;
}

.accommodation-price small {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffd5d9;
}

.accommodation-price strong {
  margin-top: 4px;
  font-size: 27px;
}

.accommodation-price span {
  font-size: 12px;
  opacity: .75;
}

.accommodation-body {
  padding: 22px;
}

.accommodation-body > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.accommodation-body h3 {
  margin: 8px 0 10px;
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: 25px;
}

.accommodation-body p {
  min-height: 66px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.accommodation-body button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--red);
  font-weight: 900;
}

.accommodation-note {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--navy);
  color: rgba(255,255,255,.76);
  line-height: 1.55;
}

.accommodation-note strong {
  color: #ffadb5;
}

/* Accommodation modals */
.accommodation-modal {
  width: min(1160px, 96vw);
}

.accommodation-modal-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.accommodation-modal-gallery {
  display: grid;
  gap: 12px;
}

.accommodation-main-img {
  width: 100%;
  height: 410px;
  border-radius: 20px;
  object-fit: cover;
}

.accommodation-mini-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.accommodation-mini-gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
}

.accommodation-modal-copy h2 {
  margin: 9px 0 17px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
}

.accommodation-modal-copy > p {
  color: var(--muted);
  line-height: 1.75;
}

.accommodation-modal-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f2f4f7;
}

.accommodation-modal-price small {
  width: 100%;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.accommodation-modal-price strong {
  color: var(--navy);
  font-size: 31px;
}

.accommodation-modal-price span {
  color: var(--muted);
}

.accommodation-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 20px 0;
}

.accommodation-detail-grid div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.accommodation-detail-grid b,
.accommodation-detail-grid span {
  display: block;
}

.accommodation-detail-grid b {
  color: var(--navy);
  margin-bottom: 4px;
}

.accommodation-detail-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.accommodation-warning {
  margin: 18px 0;
  padding: 14px;
  background: #fff2f3;
  border-left: 4px solid var(--red);
  border-radius: 12px;
}

.accommodation-warning strong,
.accommodation-warning span {
  display: block;
}

.accommodation-warning strong {
  color: var(--red);
  margin-bottom: 5px;
}

.accommodation-warning span {
  color: #556070;
  line-height: 1.55;
}

/* Global modal scrollbar */
.modal-panel {
  scrollbar-gutter: stable;
}

.modal-panel::-webkit-scrollbar {
  width: 12px;
}

.modal-panel::-webkit-scrollbar-track {
  background: #edf0f3;
}

.modal-panel::-webkit-scrollbar-thumb {
  background: #657587;
  border: 3px solid #edf0f3;
  border-radius: 999px;
}

/* Image lightbox / slider */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 24px;
}

.image-lightbox.open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,12,25,.88);
  backdrop-filter: blur(16px);
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(1180px, 96vw);
  max-height: 94vh;
  display: grid;
  grid-template-columns: 62px 1fr 62px;
  align-items: center;
  gap: 12px;
}

.lightbox-stage figure {
  margin: 0;
  min-width: 0;
  max-height: 86vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 22px;
  background: #07182d;
  box-shadow: 0 35px 120px rgba(0,0,0,.5);
}

.lightbox-stage figure > img {
  width: 100%;
  max-height: 73vh;
  object-fit: contain;
  display: block;
  background: #07182d;
}

.lightbox-stage figcaption {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  color: #fff;
}

.lightbox-stage figcaption span {
  color: rgba(255,255,255,.74);
}

.lightbox-nav,
.lightbox-close {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.lightbox-nav {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 38px;
}

.lightbox-close {
  position: absolute;
  right: 0;
  top: -58px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
}

.lightbox-thumbs {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding-top: 5px;
}

.lightbox-thumbs button {
  width: 70px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border-radius: 9px;
  border: 2px solid transparent;
  background: #fff;
}

.lightbox-thumbs button.active {
  border-color: #ff5360;
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .accommodation-grid {
    grid-template-columns: 1fr;
  }

  .accommodation-modal-grid {
    grid-template-columns: 1fr;
  }

  .programme-stats,
  .programme-skill-grid,
  .programme-info-panels {
    grid-template-columns: 1fr;
  }

  .lightbox-stage {
    grid-template-columns: 44px 1fr 44px;
    gap: 5px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 29px;
  }
}

@media (max-width: 600px) {
  .accommodation-detail-grid {
    grid-template-columns: 1fr;
  }

  .accommodation-note {
    display: block;
  }

  .accommodation-note strong {
    display: block;
    margin-bottom: 5px;
  }

  .lightbox-stage {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    position: absolute;
    top: 44%;
    z-index: 2;
  }

  .lightbox-nav.prev {
    left: 7px;
  }

  .lightbox-nav.next {
    right: 7px;
  }

  .lightbox-close {
    top: -50px;
  }

  .lightbox-thumbs {
    grid-column: 1;
  }
}

/* V7 WHY BIRMINGHAM */
.why-birmingham-section{background:linear-gradient(180deg,#f8f5ef,#fff)}.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.why-card{min-height:285px;padding:24px;border-radius:25px;background:#0e3157;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;cursor:pointer;transition:.3s}.why-card:nth-child(3n+1){background:#9f2634}.why-card:nth-child(3n+2){background:#12365e}.why-card:nth-child(3n){background:#315d49}.why-card:hover{transform:translateY(-6px)}.why-card b{font-size:10px;letter-spacing:.12em;color:#ffd1d5}.why-card h3{font:30px/1.05 Georgia,serif;margin:10px 0}.why-card p{color:#ffffffc7;line-height:1.55}.why-card button{width:max-content;border:0;background:transparent;color:#fff;font-weight:900;padding:0}.why-modal{width:min(850px,94vw)}.why-modal h2{font:48px/1 Georgia,serif;color:var(--navy);margin:12px 0 20px}.why-modal>p{font-size:16px;line-height:1.8;color:var(--muted)}.why-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:24px 0}.why-facts b{padding:14px;border-radius:14px;background:#f2f4f6;color:var(--navy)}.official-link{display:inline-flex;padding:12px 16px;border-radius:999px;background:var(--navy);color:#fff;text-decoration:none;font-weight:900}@media(max-width:800px){.why-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.why-grid,.why-facts{grid-template-columns:1fr}.why-modal h2{font-size:38px}}


/* =========================================================
   V8 — HOW TO APPLY
========================================================= */
.how-apply-section{background:linear-gradient(180deg,#f8f5ef,#fff)}
.apply-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.apply-step{position:relative;min-height:250px;padding:22px;border:1px solid var(--line);border-radius:22px;background:#fff;cursor:pointer;transition:.3s;overflow:hidden}
.apply-step:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(7,27,51,.10)}
.apply-step-featured{background:var(--navy);color:#fff;border-color:var(--navy)}
.apply-no{display:block;font:italic 46px/1 Georgia,serif;color:#d8dde3}
.apply-step-featured .apply-no{color:#ffffff2b}
.apply-step small{display:block;margin:20px 0 6px;color:var(--red);font-weight:900;letter-spacing:.09em}
.apply-step-featured small{color:#ffadb5}
.apply-step h3{margin:0 0 9px;font:25px/1.05 Georgia,serif;color:var(--navy)}
.apply-step-featured h3{color:#fff}
.apply-step p{color:var(--muted);line-height:1.5}
.apply-step-featured p{color:#ffffffb8}
.apply-step button{border:0;padding:0;background:transparent;color:var(--red);font-weight:900}
.apply-step-featured button{color:#fff}
.apply-help-strip{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px;padding:18px 20px;border-radius:18px;background:#f0f2f4}
.apply-help-strip span,.apply-help-strip strong{display:block}.apply-help-strip span{color:var(--red);font-size:11px;font-weight:900}.apply-help-strip strong{margin-top:4px;color:var(--navy)}
.apply-modal{width:min(920px,95vw)}
.apply-modal h2{margin:10px 0 18px;font:clamp(38px,5vw,58px)/1 Georgia,serif;color:var(--navy)}
.apply-modal>p,.visa-intro{font-size:16px;line-height:1.75;color:var(--muted)}
.apply-modal-grid,.visa-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
.apply-modal-grid>div,.visa-check-grid>div{padding:15px;border:1px solid var(--line);border-radius:14px;background:#f7f8f9}
.apply-modal-grid b,.apply-modal-grid span{display:block}.apply-modal-grid b{color:var(--navy);margin-bottom:5px}.apply-modal-grid span{color:var(--muted);font-size:13px;line-height:1.45}
.document-list{display:grid;gap:9px;margin-top:23px}.document-list>div{display:grid;grid-template-columns:45px 1fr;gap:12px;align-items:start;padding:13px;border-radius:14px;background:#f5f6f7}.document-list>div>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--navy);color:#fff;font-weight:900}.document-list p{margin:0;color:var(--muted);line-height:1.5}.document-list b{display:block;color:var(--navy);margin-bottom:3px}
.apply-flow,.visa-timeline{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;margin:28px 0}.apply-flow span,.visa-timeline span{padding:11px 14px;border-radius:999px;background:#eef1f4;color:var(--navy);font-weight:900}.apply-flow i,.visa-timeline i{font-style:normal;color:var(--red)}
.visa-modal{width:min(1050px,96vw)}.visa-route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:25px 0}.visa-route-grid>div{padding:17px;border:1px solid var(--line);border-radius:16px}.visa-route-grid .active{background:var(--navy);border-color:var(--navy);color:#fff}.visa-route-grid small,.visa-route-grid strong,.visa-route-grid span{display:block}.visa-route-grid small{color:var(--red);font-weight:900}.visa-route-grid .active small{color:#ffadb5}.visa-route-grid strong{margin:6px 0;font-size:19px}.visa-route-grid span{color:var(--muted);font-size:13px;line-height:1.5}.visa-route-grid .active span{color:#ffffffb8}.visa-modal h3{margin:28px 0 10px;color:var(--navy)}
.visa-note{display:flex;gap:10px;margin:20px 0;padding:15px;border-left:4px solid var(--red);border-radius:12px;background:#fff2f3;color:#556070;line-height:1.55}.visa-note strong{color:var(--red)}
.govuk-btn{display:inline-flex;align-items:center;gap:10px;padding:13px 18px;border-radius:8px;background:#00703c;color:#fff;text-decoration:none;font-weight:900}.govuk-btn span{padding:4px 6px;background:#fff;color:#0b0c0c}
.decision-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.decision-grid>div{padding:20px;border-radius:16px}.decision-grid b,.decision-grid span{display:block}.decision-grid span{margin-top:5px}.approved{background:#e9f5ee;color:#1d633b}.refused{background:#fff0f1;color:#9c2431}
.arrival-checklist{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.arrival-checklist span{padding:11px 14px;border-radius:999px;background:#eef1f4;color:var(--navy);font-weight:900}
@media(max-width:1000px){.apply-timeline{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.apply-timeline,.apply-modal-grid,.visa-check-grid,.visa-route-grid,.decision-grid{grid-template-columns:1fr}.apply-help-strip{display:block}.apply-help-strip .primary-btn{margin-top:14px}.visa-note{display:block}.visa-note strong{display:block;margin-bottom:5px}}


/* =========================================================
   V9 — Birmingham visuals + modal reliability + single scroll
========================================================= */

/* Remove the extra nested scrollbars. The overlay scrolls, the modal itself does not. */
html { overflow-y: auto !important; scrollbar-gutter: auto !important; }
body { overflow-y: visible; }
.modal-layer {
  overflow-y: auto !important;
  align-items: start !important;
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}
.modal-panel {
  max-height: none !important;
  overflow: visible !important;
  scrollbar-gutter: auto !important;
}
.modal-panel::-webkit-scrollbar { display: none !important; }
.modal-panel { scrollbar-width: none !important; }

/* WHY BIRMINGHAM */
.why-birmingham-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(216,35,53,.08), transparent 24%),
    linear-gradient(180deg,#f8f4ed,#fff);
}
.why-birmingham-head h2 { max-width: 850px; }
.why-birmingham-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.why-image-card {
  position:relative;
  min-height:330px;
  overflow:hidden;
  border-radius:25px;
  cursor:pointer;
  background:#0b2747;
  box-shadow:0 12px 34px rgba(7,27,51,.08);
  transition:transform .32s ease, box-shadow .32s ease;
}
.why-image-card:hover { transform:translateY(-7px); box-shadow:0 24px 58px rgba(7,27,51,.16); }
.why-image-card>img {
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  filter:saturate(1.08) contrast(1.03);
  transition:transform .55s ease;
}
.why-image-card:hover>img { transform:scale(1.055); }
.why-image-card::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(2,14,28,.04) 10%,rgba(2,14,28,.18) 40%,rgba(2,14,28,.94) 100%);
}
.why-image-overlay {
  position:absolute; z-index:2; left:0; right:0; bottom:0;
  padding:24px; color:#fff;
}
.why-image-overlay>span { color:#ffabb3; font-size:10px; font-weight:900; letter-spacing:.14em; }
.why-image-overlay h3 { margin:7px 0 8px; font:31px/1 Georgia,serif; }
.why-image-overlay p { margin:0 0 15px; color:rgba(255,255,255,.78); line-height:1.5; }
.why-image-overlay button { border:0; padding:0; background:transparent; color:#fff; font-weight:900; }
.why-birmingham-note { display:flex; gap:12px; margin-top:22px; padding:14px 17px; border-radius:15px; background:var(--navy); color:#ffffffbd; }
.why-birmingham-note strong { color:#ffabb3; white-space:nowrap; }

/* Birmingham detail modal */
.why-modal { width:min(1180px,96vw) !important; padding:28px !important; }
.why-modal-layout { display:grid; grid-template-columns:.9fr 1.1fr; gap:30px; align-items:start; }
.why-modal-gallery { display:grid; gap:12px; }
.why-modal-main { width:100%; height:430px; object-fit:cover; border-radius:20px; cursor:zoom-in; }
.why-modal-thumbs { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.why-modal-thumbs img { width:100%; height:135px; object-fit:cover; border-radius:14px; cursor:zoom-in; }
.why-modal-copy h2 { margin:9px 0 16px; color:var(--navy); font:clamp(42px,5vw,66px)/1 Georgia,serif; }
.why-modal-copy>p { color:var(--muted); line-height:1.75; font-size:16px; }
.why-detail-grid { display:grid; gap:10px; margin:22px 0; }
.why-detail-grid>div { padding:15px 16px; border:1px solid var(--line); border-radius:14px; background:#f7f8f9; }
.why-detail-grid b,.why-detail-grid span { display:block; }
.why-detail-grid b { color:var(--navy); margin-bottom:4px; }
.why-detail-grid span { color:var(--muted); font-size:13px; line-height:1.5; }
.official-link { display:inline-flex; padding:12px 16px; border-radius:999px; background:var(--navy); color:#fff; text-decoration:none; font-weight:900; }

@media(max-width:950px) {
  .why-birmingham-grid { grid-template-columns:1fr 1fr; }
  .why-modal-layout { grid-template-columns:1fr; }
}
@media(max-width:620px) {
  .why-birmingham-grid { grid-template-columns:1fr; }
  .why-birmingham-note { display:block; }
  .why-birmingham-note strong { display:block; margin-bottom:5px; }
  .why-modal { padding:20px !important; }
  .why-modal-main { height:300px; }
  .why-modal-thumbs img { height:100px; }
}

/* V10 MODAL FIX */
.modal-layer.open{display:block!important;overflow-y:auto!important;overflow-x:hidden!important;padding:30px 20px!important}.modal-layer{place-items:initial!important;align-items:initial!important}.modal-panel{max-height:none!important;height:auto!important;overflow:visible!important;scrollbar-width:none!important}.modal-panel::-webkit-scrollbar{display:none!important}.modal-panel.active{display:block!important;margin:0 auto 30px!important}.why-modal{width:min(1180px,94vw)!important;padding:28px!important}.why-modal-layout{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);gap:30px;align-items:start}.why-modal-gallery{display:grid;gap:12px}.why-modal-main{width:100%;height:430px;object-fit:cover;border-radius:20px}.why-modal-thumbs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.why-modal-thumbs img{width:100%;height:135px;object-fit:cover;border-radius:14px}.why-modal-copy h2{margin:8px 0 16px;font:clamp(43px,5vw,66px)/1 Georgia,serif;color:var(--navy)}.why-modal-copy>p{font-size:16px;line-height:1.78;color:var(--muted)}.why-detail-grid{display:grid;gap:10px;margin:22px 0}.why-detail-grid>div{padding:15px 16px;border-radius:14px;border:1px solid var(--line);background:#f6f7f8}.why-detail-grid b,.why-detail-grid span{display:block}.why-detail-grid b{color:var(--navy);margin-bottom:5px}.why-detail-grid span{color:var(--muted);font-size:13px;line-height:1.5}.catalogue-callout{padding:15px 16px;margin:18px 0;border-left:4px solid var(--red);border-radius:12px;background:#fff1f2}.catalogue-callout strong,.catalogue-callout span{display:block}.catalogue-callout strong{color:var(--red);margin-bottom:4px}.catalogue-callout span{color:#566071;line-height:1.55}@media(max-width:900px){.why-modal-layout{grid-template-columns:1fr}}@media(max-width:600px){.why-modal{padding:20px!important}.why-modal-main{height:290px}.why-modal-thumbs img{height:100px}}


/* =========================================================
   V11 — Scroll modalın içine taşındı
========================================================= */

/* Modal açıkken ana sayfa sabit kalsın */
body.locked {
  overflow: hidden !important;
}

/* Dış blur katmanı artık scroll yapmaz */
.modal-layer,
.modal-layer.open {
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
}

/* Scroll doğrudan modal kartın içinde */
.modal-panel {
  width: min(1180px, 96vw);
  max-height: calc(100vh - 48px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin: 0 auto !important;

  scrollbar-width: thin !important;
  scrollbar-color: #7a8796 #eef1f4 !important;

  overscroll-behavior: contain;
}

/* Chrome / Edge / Safari */
.modal-panel::-webkit-scrollbar {
  display: block !important;
  width: 10px;
}

.modal-panel::-webkit-scrollbar-track {
  background: #eef1f4;
  border-radius: 999px;
}

.modal-panel::-webkit-scrollbar-thumb {
  background: #7a8796;
  border: 2px solid #eef1f4;
  border-radius: 999px;
}

.modal-panel::-webkit-scrollbar-thumb:hover {
  background: #445466;
}

/* X butonu modal kayarken üstte sabit kalsın */
.modal-x {
  position: sticky !important;
  top: 0;
  margin-left: auto;
  float: right;
  z-index: 30;
}

/* Uzun program modalları */
.programme-modal,
.why-modal,
.accommodation-modal,
.apply-modal,
.university-modal,
.info-modal {
  max-height: calc(100vh - 48px) !important;
  overflow-y: auto !important;
}

/* Birmingham görsel kolonu modal içinde hareket etmesin */
.why-modal-gallery {
  position: static !important;
}

/* Mobilde biraz daha fazla ekran kullan */
@media (max-width: 760px) {
  .modal-layer,
  .modal-layer.open {
    padding: 10px !important;
  }

  .modal-panel,
  .programme-modal,
  .why-modal,
  .accommodation-modal,
  .apply-modal,
  .university-modal,
  .info-modal {
    max-height: calc(100dvh - 20px) !important;
    width: 100% !important;
  }
}


/* =========================================================
   V12 — Doğru modal scroll davranışı
   Ana sayfa normal / yalnızca açık modal kendi içinde scroll
========================================================= */

/* Modal kapalıyken kesinlikle görünmez */
.modal-layer {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 200 !important;
  overflow: hidden !important;
  padding: 24px !important;
}

/* Sadece modal açıldığında blur katmanı görünür */
.modal-layer.open {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

/* Ana sayfa sadece modal açıkken kilitlenir */
body:not(.locked) {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

body.locked {
  overflow: hidden !important;
}

/* Scroll SADECE açılan modal kartın içinde */
.modal-panel {
  display: none !important;
  position: relative !important;
  width: min(1180px, 96vw) !important;
  max-height: calc(100dvh - 48px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  overscroll-behavior: contain;

  scrollbar-width: thin !important;
  scrollbar-color: #718095 #eef1f4 !important;
}

.modal-panel.active {
  display: block !important;
}

/* Modalın kendi scrollbar'ı */
.modal-panel::-webkit-scrollbar {
  display: block !important;
  width: 10px !important;
}

.modal-panel::-webkit-scrollbar-track {
  background: #eef1f4 !important;
  border-radius: 999px !important;
}

.modal-panel::-webkit-scrollbar-thumb {
  background: #718095 !important;
  border: 2px solid #eef1f4 !important;
  border-radius: 999px !important;
}

.modal-panel::-webkit-scrollbar-thumb:hover {
  background: #425268 !important;
}

/* Kapat butonu modal içinde görünür kalır */
.modal-x {
  position: sticky !important;
  top: 0 !important;
  right: 0 !important;
  float: right !important;
  margin-left: auto !important;
  z-index: 40 !important;
}

/* Tüm uzun modal türleri aynı davranışı kullanır */
.programme-modal,
.why-modal,
.accommodation-modal,
.apply-modal,
.university-modal,
.info-modal {
  max-height: calc(100dvh - 48px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Modal açık değilken hiçbir modal scrollbar üretmez */
.modal-panel:not(.active) {
  overflow: hidden !important;
}

/* Mobil */
@media (max-width: 760px) {
  .modal-layer {
    padding: 10px !important;
  }

  .modal-panel,
  .programme-modal,
  .why-modal,
  .accommodation-modal,
  .apply-modal,
  .university-modal,
  .info-modal {
    width: 100% !important;
    max-height: calc(100dvh - 20px) !important;
  }
}


/* =========================================================
   V13 — Ana sayfada tek scrollbar + lightbox geri geldi
========================================================= */

/* Ana sayfada yalnızca tarayıcının tek dikey scroll'u */
html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: auto !important;
}

body {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  min-height: 100%;
}

/* Modal kapalıyken blur layer kesinlikle layout/scroll üretmez */
.modal-layer:not(.open) {
  display: none !important;
  overflow: hidden !important;
}

/* Modal açıkken body sabit, scroll yalnızca aktif modalda */
body.locked {
  overflow: hidden !important;
}

.modal-layer.open {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

/* Sadece aktif modal scroll üretir */
.modal-panel {
  overflow: hidden !important;
}

.modal-panel.active {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: calc(100dvh - 48px) !important;
}

/* Görseller tekrar tıklanabilir */
.why-modal-gallery img,
.program-photo-main img,
.program-photo-strip img,
.accommodation-modal-gallery img,
.campus-gallery img {
  cursor: zoom-in !important;
}

/* Lightbox modalın ve blur katmanının üstünde */
.image-lightbox {
  z-index: 9999 !important;
}

.image-lightbox.open {
  display: grid !important;
}


/* =========================================================
   V14 — HOW TO APPLY MODALS + tek ana sayfa scrollbar
========================================================= */

/*
  Scroll sahibi yalnızca BODY.
  HTML artık ikinci bağımsız scrollbar oluşturmaz.
*/
html {
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  scrollbar-gutter: auto !important;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* Modal kapalıyken site normal şekilde body üzerinden kayar */
body:not(.locked) {
  overflow-y: auto !important;
}

/* Modal açıkken ana sayfa sabit */
body.locked {
  overflow: hidden !important;
}

/* Modal kendi içinde scroll */
.modal-layer.open {
  overflow: hidden !important;
}

.modal-panel.active {
  max-height: calc(100dvh - 48px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* How To Apply modal görünümü */
.apply-modal {
  width: min(940px, 95vw) !important;
  padding: 34px !important;
}

.apply-modal h2 {
  margin: 10px 0 18px;
  color: var(--navy);
  font: clamp(40px, 5vw, 62px)/1 Georgia, serif;
}

.apply-modal > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.apply-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 24px 0;
}

.apply-modal-grid > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f6f7f8;
}

.apply-modal-grid b,
.apply-modal-grid span {
  display: block;
}

.apply-modal-grid b {
  margin-bottom: 5px;
  color: var(--navy);
}

.apply-modal-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.apply-tip {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 15px 16px;
  border-left: 4px solid var(--red);
  border-radius: 12px;
  background: #fff1f2;
}

.apply-tip strong {
  color: var(--red);
}

.apply-tip span {
  color: #586273;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .apply-modal {
    padding: 22px !important;
  }

  .apply-modal-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   V15 — İletişim / geri dönüş alanı
========================================================= */
.contact-section{
  background:
    radial-gradient(circle at 12% 10%, rgba(216,35,53,.10), transparent 22%),
    radial-gradient(circle at 90% 88%, rgba(14,49,87,.10), transparent 25%),
    #f8f5ef;
}
.contact-wrap{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:42px;
  align-items:start;
}
.contact-intro h2{
  margin:10px 0 18px;
  max-width:650px;
  font:clamp(54px,6vw,84px)/.95 Georgia,serif;
  color:var(--navy);
}
.contact-lead{
  max-width:640px;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
}
.contact-promise-grid{
  display:grid;
  gap:10px;
  margin-top:28px;
}
.contact-promise-grid>div{
  display:grid;
  grid-template-columns:44px 1fr;
  column-gap:12px;
  padding:15px 0;
  border-top:1px solid var(--line);
}
.contact-promise-grid span{
  grid-row:1/3;
  color:var(--red);
  font-weight:900;
}
.contact-promise-grid b{
  color:var(--navy);
  font-size:16px;
}
.contact-promise-grid small{
  margin-top:3px;
  color:var(--muted);
}
.contact-panel{
  padding:30px;
  border:1px solid var(--line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 18px 45px rgba(7,27,51,.08);
}
.contact-panel-head>span{
  color:var(--red);
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
}
.contact-panel-head h3{
  margin:8px 0 6px;
  font:38px/1 Georgia,serif;
  color:var(--navy);
}
.contact-panel-head p{
  margin:0 0 24px;
  color:var(--muted);
}
.contact-form{
  display:grid;
  gap:16px;
}
.form-grid.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.contact-form label>span,
.online-options label>span{
  display:block;
  margin-bottom:7px;
  color:var(--navy);
  font-size:12px;
  font-weight:900;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.online-options select{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d7dce2;
  border-radius:14px;
  background:#fbfbfc;
  color:var(--navy);
  font:inherit;
  padding:13px 14px;
  outline:none;
}
.contact-form textarea{resize:vertical;min-height:130px}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color:#8b98a8;
  box-shadow:0 0 0 3px rgba(14,49,87,.08);
}
.contact-methods{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:0;
  padding:0;
  border:0;
}
.contact-methods legend{
  grid-column:1/-1;
  margin-bottom:9px;
  color:var(--navy);
  font-weight:900;
}
.contact-method-card{
  position:relative;
  display:flex;
  gap:10px;
  align-items:center;
  padding:14px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  cursor:pointer;
}
.contact-method-card:has(input:checked){
  border-color:var(--red);
  background:#fff4f5;
}
.contact-method-card input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.method-icon{
  display:grid!important;
  place-items:center;
  flex:0 0 42px;
  width:42px;height:42px;
  margin:0!important;
  border-radius:50%;
  background:var(--navy);
  color:#fff!important;
  font-size:10px!important;
}
.method-copy b,.method-copy small{display:block}
.method-copy b{color:var(--navy)}
.method-copy small{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.35}
.online-options{
  padding:14px;
  border-radius:15px;
  background:#f3f5f7;
}
.form-consent label{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}
.form-consent input{
  width:auto;
  margin-top:2px;
}
.contact-form-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.contact-status{
  margin:0;
  font-size:12px;
  color:var(--muted);
}
.direct-contact-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.direct-contact{
  padding:14px 16px;
  border-radius:15px;
  text-decoration:none;
  background:#f4f6f8;
}
.direct-contact span,.direct-contact strong{display:block}
.direct-contact span{color:var(--red);font-size:10px;font-weight:900}
.direct-contact strong{margin-top:4px;color:var(--navy)}

.floating-whatsapp{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:120;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 14px 10px 10px;
  border-radius:999px;
  background:#1f9d55;
  color:#fff;
  text-decoration:none;
  box-shadow:0 14px 32px rgba(0,0,0,.22);
}
.floating-whatsapp span{
  display:grid;
  place-items:center;
  width:34px;height:34px;
  border-radius:50%;
  background:#fff;
  color:#1f9d55;
  font-size:10px;
  font-weight:900;
}
.floating-whatsapp b{font-size:13px}

@media(max-width:980px){
  .contact-wrap{grid-template-columns:1fr}
}
@media(max-width:700px){
  .form-grid.two,
  .contact-methods,
  .direct-contact-row{grid-template-columns:1fr}
  .contact-panel{padding:22px}
  .contact-intro h2{font-size:52px}
  .floating-whatsapp{right:14px;bottom:14px}
}


/* =========================================================
   V16 — UK CORPORATE COLOUR SYSTEM
   Kurumsal İngiltere paleti: Navy / Union Red / Ivory / Steel
========================================================= */

:root{
  --uk-navy:#071b33;
  --uk-navy-2:#0d2a4a;
  --uk-red:#c8102e;
  --uk-red-dark:#9f0e27;
  --uk-ivory:#f7f5f0;
  --uk-paper:#fffdfa;
  --uk-steel:#66758a;
  --uk-line:#d9dee5;
  --uk-soft:#eef2f6;
  --uk-gold:#b89b5e;

  /* mevcut değişkenleri yeni palete bağla */
  --navy:var(--uk-navy);
  --red:var(--uk-red);
  --muted:var(--uk-steel);
  --line:var(--uk-line);
}

/* Genel zemin */
body{
  background:var(--uk-ivory) !important;
  color:var(--uk-navy) !important;
}

/* Header / navbar */
.site-header,
header{
  background:rgba(255,253,250,.96) !important;
  border-bottom:1px solid var(--uk-line) !important;
  backdrop-filter:blur(14px);
}

.brand,
.site-brand,
.logo{
  color:var(--uk-navy) !important;
}

.eyebrow,
.modal-tag{
  color:var(--uk-red) !important;
}

/* Hero: daha ciddi ve UK odaklı */
.hero-shade{
  background:
    linear-gradient(90deg,
      rgba(7,27,51,.94) 0%,
      rgba(7,27,51,.84) 35%,
      rgba(7,27,51,.52) 62%,
      rgba(7,27,51,.14) 100%) !important;
}

/* Kırmızı vurgu daha kontrollü */
.primary-btn,
.contact-submit,
.apply-step-featured,
.govuk-btn{
  box-shadow:none !important;
}

.primary-btn,
.contact-submit{
  background:var(--uk-red) !important;
  color:#fff !important;
  border-color:var(--uk-red) !important;
}

.primary-btn:hover,
.contact-submit:hover{
  background:var(--uk-red-dark) !important;
}

/* Kart yüzeyleri */
.program-card,
.partner-card,
.accommodation-card,
.apply-step,
.contact-panel,
.why-image-card,
.modal-panel{
  border-color:var(--uk-line) !important;
}

.program-card,
.partner-card,
.accommodation-card,
.apply-step,
.contact-panel{
  background:var(--uk-paper) !important;
}

/* Kart hover: renk patlaması yerine kurumsal gölge */
.program-card:hover,
.partner-card:hover,
.accommodation-card:hover,
.apply-step:hover{
  box-shadow:0 18px 48px rgba(7,27,51,.10) !important;
}

/* Birmingham kartları: kontrollü UK paleti */
.why-image-card::after{
  background:
    linear-gradient(180deg,
      rgba(7,27,51,.05) 5%,
      rgba(7,27,51,.20) 42%,
      rgba(7,27,51,.92) 100%) !important;
}

.why-image-overlay>span{
  color:#f3b4bf !important;
}

/* Koyu bölümler */
.pricing-section,
.dark-section,
.footer,
.site-footer{
  background:var(--uk-navy) !important;
  color:#fff !important;
}

/* Fiyat alanları */
.price-card,
.pricing-card{
  background:var(--uk-paper) !important;
  border:1px solid var(--uk-line) !important;
}

.price-badge,
.sale-badge{
  background:var(--uk-red) !important;
  color:#fff !important;
}

/* Konaklama */
.accommodation-section{
  background:
    linear-gradient(180deg,#f3f5f7 0%,#faf9f6 100%) !important;
}

.accommodation-price small{
  color:#f4bcc5 !important;
}

/* How to Apply */
.how-apply-section{
  background:linear-gradient(180deg,#f6f7f9,#fffdfa) !important;
}

.apply-step-featured{
  background:var(--uk-navy) !important;
  border-color:var(--uk-navy) !important;
}

.apply-step-featured small{
  color:#f4b7c1 !important;
}

/* İletişim */
.contact-section{
  background:
    radial-gradient(circle at 15% 10%, rgba(200,16,46,.06), transparent 23%),
    radial-gradient(circle at 88% 86%, rgba(7,27,51,.06), transparent 24%),
    var(--uk-ivory) !important;
}

.contact-method-card:has(input:checked){
  border-color:var(--uk-red) !important;
  background:#fff7f8 !important;
}

.method-icon{
  background:var(--uk-navy) !important;
}

/* WhatsApp kendi marka yeşili olarak kalsın */
.floating-whatsapp{
  background:#1f9d55 !important;
}

/* Modal */
.modal-layer{
  background:rgba(7,27,51,.58) !important;
  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
}

.modal-panel{
  background:var(--uk-paper) !important;
  box-shadow:0 28px 90px rgba(7,27,51,.28) !important;
}

/* Küçük bilgi blokları */
.programme-stats>div,
.programme-skill-grid>div,
.apply-modal-grid>div,
.why-detail-grid>div,
.accommodation-detail-grid>div{
  background:#f6f8fa !important;
  border-color:var(--uk-line) !important;
}

/* Uyarılar */
.programme-warning,
.catalogue-callout,
.apply-tip,
.accommodation-warning{
  background:#fff4f5 !important;
  border-left-color:var(--uk-red) !important;
}

/* Resmi linkler */
.official-link{
  background:var(--uk-navy) !important;
  color:#fff !important;
}

.official-link:hover{
  background:var(--uk-navy-2) !important;
}

/* Footer üstü çizgi */
footer,
.site-footer{
  border-top:4px solid var(--uk-red) !important;
}

/* Hamburger */
.menu-toggle,
.hamburger,
.menu-button{
  color:var(--uk-navy) !important;
  border-color:var(--uk-line) !important;
  background:#fff !important;
}

/* Tipografik detay */
h1,h2,h3{
  color:var(--uk-navy);
}

a{
  text-underline-offset:3px;
}

/* =========================================================
   V17 — Birmingham Editorial / Corporate integration
   Visual direction: catalogue typography + premium consultancy UI
========================================================= */
:root{
  --navy:#061a32;
  --navy2:#0a2848;
  --magenta:#cb1f59;
  --magenta2:#e53771;
  --ivory:#f7f4ef;
  --paper:#fbfaf7;
  --ink:#0b2340;
  --line:rgba(6,26,50,.13);
  --header:74px;
}
html{scroll-snap-type:none!important;background:var(--paper)}
body{background:var(--paper);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink)}
.screen{min-height:auto!important;scroll-snap-align:none!important;opacity:1!important;transform:none!important;display:block!important;overflow:visible!important;padding:76px clamp(22px,5vw,70px)!important}
.screen:not(.hero){opacity:1!important;transform:none!important}
.content-wrap{width:min(1440px,100%)}

.topbar{height:var(--header);padding:0 clamp(22px,4vw,52px);background:rgba(5,24,47,.98);border-bottom:1px solid rgba(255,255,255,.1);color:#fff;backdrop-filter:blur(14px)}
.brand-name{font-style:normal;font-size:34px;line-height:.82;letter-spacing:.13em;color:#fff;position:relative}
.brand-name:before{content:"♛";position:absolute;left:0;top:-16px;font:13px/1 serif;color:var(--magenta2);transform:translateX(3px)}
.brand-meta{margin-top:8px;color:#fff;font-size:8px;letter-spacing:.28em}
.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:28px}
.topbar-actions a{text-decoration:none;color:#fff;font-size:12px;white-space:nowrap}
.topbar-cta{border:1px solid rgba(229,55,113,.8);padding:12px 19px;border-radius:7px;font-weight:800}
.hamburger{margin-left:22px;width:74px;height:74px;border:0;border-radius:0;background:linear-gradient(145deg,#b8174f,#d82b65)}
.hamburger span{background:#fff;width:22px}
.side-menu{background:linear-gradient(160deg,#061a32 0%,#092c50 75%,#8d1841 145%)}

.hero{padding:var(--header) 0 0!important;background:var(--navy);color:#fff;min-height:610px!important;display:grid!important;grid-template-columns:minmax(360px,40%) 1fr!important;align-items:stretch!important;isolation:isolate}
.hero-bg{position:relative!important;inset:auto!important;grid-column:2;grid-row:1;background-image:url('images/birmingham_hero_bg.png')!important;background-size:cover!important;background-position:center!important;min-height:590px;z-index:-2}
.hero-shade{position:absolute!important;inset:var(--header) auto 0 0!important;width:48%;background:linear-gradient(90deg,#061a32 72%,rgba(6,26,50,0));z-index:-1}
.hero-content{grid-column:1;grid-row:1;width:auto!important;margin:0!important;padding:62px 36px 100px clamp(34px,5vw,74px);display:flex;flex-direction:column;justify-content:center}
.hero .eyebrow{color:var(--magenta2);font-weight:800;letter-spacing:.14em}
.hero h1{font-family:Georgia,serif!important;font-size:clamp(48px,5.6vw,86px)!important;line-height:.93!important;letter-spacing:-.045em!important;max-width:650px;margin:15px 0 22px}
.hero h1 span{display:block;color:#dc2e66!important}
.hero-copy{max-width:510px;font-size:16px;line-height:1.65;color:rgba(255,255,255,.84)}
.hero-actions{margin-top:26px;gap:12px;flex-wrap:wrap}
.primary-btn{background:linear-gradient(135deg,#c51d58,#df326d)!important;border-color:transparent!important;border-radius:5px!important;box-shadow:none!important}
.glass-btn{border:0!important;border-bottom:1px solid var(--magenta2)!important;border-radius:0!important;background:transparent!important}
.hero-facts{position:absolute!important;left:clamp(34px,5vw,74px);bottom:0;transform:translateY(50%);width:min(880px,83vw);z-index:3;background:#fff;color:var(--navy);display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important;border-radius:7px;box-shadow:0 18px 55px rgba(1,16,33,.22);padding:19px 22px!important}
.hero-facts div{padding:0 20px;border-right:1px solid var(--line)}
.hero-facts div:last-child{border-right:0}
.hero-facts strong{font-size:12px}.hero-facts span{font-size:10px;color:#727d8b;margin-top:4px}
.scroll-hint{display:none!important}

#programs{padding-top:118px!important;background:linear-gradient(180deg,#fbfaf8,#fff)!important}
.section-head{display:grid!important;grid-template-columns:minmax(280px,.75fr) 1.25fr!important;gap:42px!important;align-items:end!important;margin-bottom:34px!important}
.section-head h2{font-family:Georgia,serif!important;font-size:clamp(38px,4vw,58px)!important;line-height:1.02!important;color:var(--navy)!important;letter-spacing:-.03em!important}
.section-head>p{max-width:600px!important;margin-left:auto!important;color:#667486!important;line-height:1.7!important}
.eyebrow{color:var(--magenta)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.18em!important}
.program-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:16px!important}
.program-card{padding:0 0 22px!important;background:#fff!important;border:1px solid rgba(6,26,50,.1)!important;border-radius:7px!important;overflow:hidden;box-shadow:0 10px 26px rgba(5,23,45,.07)!important;min-height:365px!important;display:block!important;transform:none!important}
.program-card:hover{transform:translateY(-5px)!important;box-shadow:0 18px 38px rgba(5,23,45,.12)!important}
.program-card-image{width:100%;height:170px;object-fit:cover;display:block}
.program-card .card-no{display:none!important}
.program-card .icon-chip{margin:-20px 18px 6px;position:relative;z-index:2;width:42px;height:42px;border-radius:50%!important;background:var(--magenta)!important;color:#fff!important;display:grid;place-items:center;font-size:9px}
.program-card h3,.program-card p,.program-card button{margin-left:20px!important;margin-right:20px!important}
.program-card h3{font-family:Georgia,serif!important;font-size:22px!important;color:var(--navy)!important;margin-top:7px!important}
.program-card p{color:#5e6b79!important;line-height:1.55!important;min-height:50px}
.program-card button{color:var(--navy)!important;border:0!important;background:transparent!important;padding:0!important;font-weight:700!important}

#prices{background:var(--navy)!important;color:#fff}
#prices .section-head h2,#prices .section-head p{color:#fff!important}
.price-card{border-radius:8px!important}

#life{background:linear-gradient(180deg,#f8f6f2,#fff)!important}
#life .section-head{grid-template-columns:.55fr 1.45fr!important}
#life .section-head h2{font-size:clamp(54px,6vw,92px)!important}
.why-birmingham-grid{grid-template-columns:repeat(6,1fr)!important;gap:10px!important}
.why-image-card{height:330px!important;border-radius:6px!important;box-shadow:none!important}
.why-image-card img{height:100%!important;filter:saturate(.86)}
.why-image-overlay{padding:18px!important;background:linear-gradient(180deg,transparent 18%,rgba(4,20,39,.88) 100%)!important}
.why-image-overlay span{display:inline-flex!important;align-items:center;justify-content:center;background:var(--magenta)!important;border-radius:999px!important;padding:7px 10px!important;font-size:9px!important;color:#fff!important}
.why-image-overlay h3{font:20px/1.05 Georgia,serif!important;margin:10px 0!important}
.why-image-overlay p{font-size:11px!important;line-height:1.45!important}
.why-image-overlay button{font-size:10px!important}
.why-birmingham-note{margin-top:28px!important;padding:24px 0!important;background:transparent!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;display:flex!important;justify-content:space-between!important;gap:30px!important}
.why-birmingham-note strong{font:28px/1 Georgia,serif!important;color:var(--magenta)!important}

#partners,#accommodation,#apply,#contact{background:#fff!important}
.partner-card,.accommodation-card,.apply-step,.contact-panel{border-radius:7px!important;box-shadow:0 12px 32px rgba(5,23,45,.07)!important}

.editorial-cta{padding:42px clamp(26px,5vw,70px);background:linear-gradient(90deg,#8a1744,#c52361 55%,#071b33);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}
.editorial-cta small{letter-spacing:.16em;font-weight:900;color:#ffd7e4}.editorial-cta h2{font:clamp(30px,4vw,54px)/1 Georgia,serif;margin:7px 0}.editorial-cta p{margin:0;color:#ffffffc7}

/* Modal = same page, blurred background, editorial detail card */
.modal-backdrop{background:rgba(1,13,27,.57)!important;backdrop-filter:blur(13px)!important}
.modal-panel{border-radius:9px!important;box-shadow:0 32px 100px rgba(0,0,0,.38)!important;border:1px solid rgba(255,255,255,.5)!important}
.modal-x{border-radius:50%!important}
.programme-modal{width:min(1060px,94vw)!important}
.modal-copy h2,.why-modal-copy h2{font-family:Georgia,serif!important;letter-spacing:-.025em!important}

/* Desktop hamburger remains the primary navigation */
@media(max-width:1180px){
  .topbar-actions .topbar-link{display:none}
  .why-birmingham-grid{grid-template-columns:repeat(3,1fr)!important}
  .program-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:820px){
  .topbar-actions .topbar-cta{display:none}
  .topbar{padding-left:20px;padding-right:0}
  .hamburger{margin-left:12px;width:68px;height:74px}
  .hero{display:block!important;padding-top:var(--header)!important}
  .hero-bg{display:block!important;min-height:320px!important;background-position:center!important}
  .hero-shade{display:none!important}
  .hero-content{display:block!important;padding:38px 24px 85px!important;background:var(--navy)}
  .hero h1{font-size:52px!important}
  .hero-facts{position:static!important;transform:none!important;width:100%!important;border-radius:0!important;grid-template-columns:1fr 1fr!important;margin:0!important}
  .hero-facts div{padding:12px;border-bottom:1px solid var(--line)}
  .section-head,#life .section-head{grid-template-columns:1fr!important;gap:12px!important}
  .section-head>p{margin-left:0!important}
  .why-birmingham-grid{grid-template-columns:repeat(2,1fr)!important}
  .editorial-cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:560px){
  .screen{padding:58px 18px!important}
  #programs{padding-top:64px!important}
  .program-grid,.why-birmingham-grid{grid-template-columns:1fr!important}
  .program-card{min-height:0!important}
  .why-image-card{height:360px!important}
  .hero h1{font-size:45px!important}
  .hero-facts{grid-template-columns:1fr!important}
  .why-birmingham-note{display:block!important}
  .why-birmingham-note span{display:block;margin-top:10px}
}

/* V17.1 — Header contrast + clean Birmingham headline */
.topbar{
  background:linear-gradient(90deg,#061a32 0%,#0a2342 58%,#151b45 100%) !important;
  border-bottom:1px solid rgba(229,55,113,.28) !important;
  box-shadow:0 10px 28px rgba(1,16,33,.16) !important;
  color:#fff !important;
}
.topbar .brand-name,
.topbar .brand-meta,
.topbar .topbar-actions a,
.topbar .topbar-link{
  color:#fff !important;
}
.topbar .brand-meta{opacity:.86 !important;}
.topbar .topbar-cta{
  color:#fff !important;
  background:rgba(197,29,88,.13) !important;
  border:1px solid rgba(235,76,129,.78) !important;
}
.topbar .topbar-cta:hover{
  background:#c51d58 !important;
  border-color:#c51d58 !important;
}
.hamburger{
  background:linear-gradient(145deg,#aa1748 0%,#d82b65 100%) !important;
}

.hero h1 span{
  display:block !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
  box-shadow:none !important;
  color:#df326d !important;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}

/* V17.2 — Birmingham modal harita keşfi */
.bham-map-explorer{margin:24px 0 18px;border:1px solid #dfe4eb;border-radius:22px;overflow:hidden;background:#fff}
.bham-map-head{display:flex;justify-content:space-between;align-items:end;gap:16px;padding:18px 20px;border-bottom:1px solid #e7e9ee}
.bham-map-head h3{margin:5px 0 0;font:30px/1.05 Georgia,serif;color:#071b33}.map-hint{font-size:12px;color:#7c8592}
.bham-map-shell{display:grid;grid-template-columns:310px 1fr;min-height:410px}.bham-place-list{padding:12px;background:#fbfaf8;border-right:1px solid #e6e8ec;display:grid;align-content:start;gap:8px}
.map-place{width:100%;display:grid;grid-template-columns:34px 1fr;gap:10px;text-align:left;border:1px solid transparent;background:transparent;padding:10px;border-radius:13px;cursor:pointer;color:#071b33}.map-place:hover,.map-place.active{background:#fff;border-color:#e5b4c4;box-shadow:0 8px 22px #071b3310}.map-place-num{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#d31f5b;color:#fff;font-weight:800}.map-place b,.map-place small{display:block}.map-place small{margin-top:3px;color:#697382;line-height:1.35}
.bham-map-canvas{position:relative;overflow:hidden;min-height:410px;background:linear-gradient(135deg,#f3f5f7,#e7edf1);isolation:isolate}.bham-map-canvas:before,.bham-map-canvas:after{content:"";position:absolute;inset:0;z-index:-2;background-image:linear-gradient(#cbd4dc66 1px,transparent 1px),linear-gradient(90deg,#cbd4dc66 1px,transparent 1px);background-size:42px 42px;transform:rotate(-7deg) scale(1.15)}.bham-map-canvas:after{background:none;border:70px solid #dce7e0aa;border-radius:45% 55% 40% 60%;inset:64% -18% -55% 48%;transform:rotate(-18deg)}
.map-road{position:absolute;height:7px;background:#fff;border:1px solid #d6dce2;border-radius:99px;box-shadow:0 0 0 1px #fff9;transform-origin:left center;z-index:-1}.road-a{width:120%;left:-8%;top:44%;transform:rotate(-11deg)}.road-b{width:95%;left:18%;top:18%;transform:rotate(63deg)}.road-c{width:90%;left:8%;top:76%;transform:rotate(-39deg)}
.map-area{position:absolute;font-size:10px;letter-spacing:.11em;color:#798493;font-weight:800}.area-jq{left:17%;top:15%}.area-centre{left:48%;top:43%}.area-digbeth{left:67%;top:60%}.area-edgbaston{left:13%;top:74%}
.map-pin{position:absolute;transform:translate(-50%,-100%);width:38px;height:38px;border:0;border-radius:50% 50% 50% 8px;rotate:-45deg;background:#d31f5b;color:#fff;box-shadow:0 7px 18px #071b3340;cursor:pointer;display:grid;place-items:center}.map-pin span{rotate:45deg;font-weight:900}.map-pin.active{background:#071b33;scale:1.13}.map-selected{position:absolute;left:18px;right:18px;bottom:16px;padding:13px 15px;border-radius:14px;background:#fffffff2;box-shadow:0 10px 30px #071b3320}.map-selected b,.map-selected span{display:block}.map-selected b{color:#071b33}.map-selected span{margin-top:3px;color:#657080;font-size:12px}
@media(max-width:820px){.bham-map-shell{grid-template-columns:1fr}.bham-place-list{border-right:0;border-bottom:1px solid #e6e8ec;grid-template-columns:1fr 1fr}.bham-map-canvas{min-height:360px}}
@media(max-width:520px){.bham-place-list{grid-template-columns:1fr}.bham-map-head{align-items:start}.map-hint{display:none}.bham-map-canvas{min-height:330px}}

/* =========================================================
   V17.3 — Editorial footer + map reliability
========================================================= */
.editorial-footer{background:#061a31;color:#fff;border-top:1px solid rgba(255,255,255,.12)}
.editorial-footer-cta{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;padding:34px clamp(28px,6vw,88px);background:linear-gradient(100deg,#81133c,#cf1f5c 56%,#8d1747);position:relative;overflow:hidden}
.editorial-footer-cta:after{content:"BIRMINGHAM";position:absolute;right:-25px;bottom:-30px;font:800 86px/1 Georgia,serif;letter-spacing:.05em;color:rgba(255,255,255,.07);pointer-events:none}
.footer-kicker{display:block;font-size:11px;letter-spacing:.18em;font-weight:800;margin-bottom:8px;color:#ffd7e4}
.editorial-footer-cta h2{margin:0 0 6px;font:44px/1.02 Georgia,serif;max-width:760px}
.editorial-footer-cta p{margin:0;color:#ffeaf1;max-width:700px}
.footer-cta-btn{border:1px solid #fff;background:#fff;color:#071b33;border-radius:8px;padding:15px 22px;font-weight:800;cursor:pointer;position:relative;z-index:1}
.editorial-footer-main{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:48px;padding:50px clamp(28px,6vw,88px) 42px}
.footer-brand strong{display:block;font:48px/.9 Georgia,serif;letter-spacing:.12em}.footer-brand small{display:block;margin-top:7px;letter-spacing:.2em;font-size:9px}.footer-brand p{max-width:310px;color:#aeb9c8;line-height:1.6}.footer-crown{display:block;color:#d31f5b;font-size:20px;margin-bottom:6px}
.footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.footer-col h3{font:20px/1.1 Georgia,serif;margin:0 0 8px}.footer-col button,.footer-col a,.footer-col span{border:0;background:none;padding:0;color:#c8d1dc;font:inherit;text-decoration:none;cursor:pointer;text-align:left}.footer-col button:hover,.footer-col a:hover{color:#fff}
.editorial-footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.1);padding:16px clamp(28px,6vw,88px);font-size:12px;color:#8f9bac}
@media(max-width:900px){.editorial-footer-cta{grid-template-columns:1fr}.editorial-footer-main{grid-template-columns:1fr 1fr}.editorial-footer-cta h2{font-size:36px}}
@media(max-width:560px){.editorial-footer-main{grid-template-columns:1fr}.editorial-footer-bottom{flex-direction:column}.editorial-footer-cta h2{font-size:31px}}

/* map block must remain visible inside every Birmingham modal */
.bham-map-explorer{display:block!important;visibility:visible!important;opacity:1!important;clear:both}
.why-modal-copy .bham-map-explorer{grid-column:1/-1}


/* V17.4 — gerçek Google Haritalar + daha net görseller */
.program-card-image,
.why-image-card img,
.partner-visual img,
.accommodation-card img,
.modal-image img,
.why-modal-gallery img,
.program-photo-strip img {
  filter: none !important;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.program-card-image,
.why-image-card img {
  object-fit: cover;
  object-position: center;
}
.why-image-card:hover img { filter:none !important; }

.google-map-canvas{
  position:relative;
  overflow:hidden;
  min-height:470px;
  background:#eef2f5;
}
.google-map-frame{
  display:block;
  width:100%;
  height:470px;
  border:0;
  background:#eef2f5;
}
.google-map-caption{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border-radius:10px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 34px rgba(5,23,45,.16);
  color:var(--navy);
}
.google-map-caption div{display:grid;gap:3px}
.google-map-caption b{font:18px/1.1 Georgia,serif}
.google-map-caption span{font-size:11px;color:#5f6d7d}
.google-map-caption small{font-size:11px;color:#7c8793;max-width:480px}
.google-map-caption a{
  flex:0 0 auto;
  text-decoration:none;
  background:var(--magenta);
  color:#fff;
  font-size:11px;
  font-weight:800;
  padding:10px 12px;
  border-radius:6px;
}
.bham-place-list{max-height:470px;overflow:auto}
.map-place small{display:block;margin-top:4px;color:#6d7885;line-height:1.35}
@media(max-width:820px){
  .google-map-frame{height:390px}
  .google-map-canvas{min-height:390px}
  .google-map-caption{position:static;border-radius:0;align-items:flex-start;flex-direction:column}
  .bham-place-list{max-height:none}
}

/* =========================================================
   V17.5 — CATALOGUE / EDITORIAL FINAL LAYOUT
   Sol başlık + sağ içerik; katalog ritmi; net görseller
========================================================= */

/* Daha keskin görsel sunumu: filtre/ölçek kaynaklı yumuşamayı engelle */
.program-card-image,
.why-image-card img,
.partner-visual img,
.accommodation-cover img,
.modal-image img,
.why-modal-gallery img,
.program-photo-main img,
.program-photo-strip img,
.gallery-image,
.contact-visual img {
  filter:none !important;
  transform:none !important;
  backface-visibility:visible !important;
  image-rendering:auto !important;
  object-fit:cover;
}

/* Katalog sayfası gibi genel bölüm iskeleti */
#programs .content-wrap,
#prices .content-wrap,
#partners .content-wrap,
#life .content-wrap,
#accommodation .content-wrap,
#apply .content-wrap {
  position:relative;
  display:grid !important;
  grid-template-columns:minmax(245px, 0.58fr) minmax(0, 1.72fr) !important;
  column-gap:clamp(34px,5vw,82px) !important;
  align-items:start !important;
}

#programs .section-head,
#prices .section-head,
#partners .section-head,
#life .section-head,
#accommodation .section-head,
#apply .section-head {
  grid-column:1 !important;
  display:block !important;
  position:sticky;
  top:calc(var(--header) + 28px);
  align-self:start;
  margin:0 !important;
  padding:0 0 26px 22px;
  border-left:2px solid var(--magenta);
}

#programs .section-head > p,
#prices .section-head > p,
#partners .section-head > p,
#life .section-head > p,
#accommodation .section-head > p,
#apply .section-head > p {
  margin:18px 0 0 !important;
  max-width:310px !important;
  line-height:1.72 !important;
}

#programs .section-head h2,
#prices .section-head h2,
#partners .section-head h2,
#life .section-head h2,
#accommodation .section-head h2,
#apply .section-head h2 {
  font-size:clamp(42px,4.25vw,68px) !important;
  line-height:.96 !important;
  margin:9px 0 0 !important;
  letter-spacing:-.045em !important;
}

/* Katalog sayfa numarası hissi */
#programs .content-wrap::before,
#prices .content-wrap::before,
#partners .content-wrap::before,
#life .content-wrap::before,
#accommodation .content-wrap::before,
#apply .content-wrap::before {
  position:absolute;
  left:-6px;
  top:-48px;
  font:700 72px/.9 Georgia,serif;
  color:rgba(7,27,51,.055);
  letter-spacing:-.06em;
  pointer-events:none;
}
#programs .content-wrap::before{content:"01"}
#prices .content-wrap::before{content:"02";color:rgba(255,255,255,.065)}
#partners .content-wrap::before{content:"03"}
#life .content-wrap::before{content:"04"}
#accommodation .content-wrap::before{content:"05"}
#apply .content-wrap::before{content:"06"}

/* Sağ içerik kolonları */
#programs .program-grid,
#prices .pricing-grid,
#partners .partner-grid,
#life .why-birmingham-grid,
#accommodation .accommodation-filters,
#accommodation .accommodation-grid,
#accommodation .accommodation-note,
#apply .apply-timeline,
#apply .apply-help-strip,
#life .why-birmingham-note {
  grid-column:2 !important;
}

/* Programlar: katalog kartları 2x2, daha büyük görsel */
#programs .program-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:22px !important;
}
#programs .program-card{
  min-height:430px !important;
  border-radius:3px !important;
  box-shadow:none !important;
  border:1px solid #dfe3e8 !important;
  position:relative;
}
#programs .program-card::after{
  content:"";
  position:absolute;
  left:20px;right:20px;bottom:0;
  height:3px;background:var(--magenta);
  transform:scaleX(0);transform-origin:left;
  transition:.25s ease;
}
#programs .program-card:hover::after{transform:scaleX(1)}
#programs .program-card-image{height:235px !important;width:100%;}
#programs .program-card h3{font-size:28px !important}
#programs .program-card p{font-size:14px !important;max-width:85%}

/* Fiyatlarda editorial iki büyük panel */
#prices .pricing-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:22px !important}
#prices .price-card{border-radius:3px !important;box-shadow:none !important;border:1px solid rgba(255,255,255,.14) !important}

/* Partnerler: 2 kolon, fotoğrafı büyük ve temiz */
#partners .partner-grid{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:20px !important}
#partners .partner-card{border-radius:3px !important;box-shadow:none !important;border:1px solid #e0e4e9 !important;overflow:hidden}
#partners .partner-visual{height:240px !important;overflow:hidden}
#partners .partner-visual img{width:100%;height:100%;object-fit:cover}
#partners .partner-body h3{font-family:Georgia,serif;font-size:27px}

/* WHY BIRMINGHAM: katalogdaki fotoğraf şeritleri gibi 3x2 */
#life .why-birmingham-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px !important}
#life .why-image-card{height:355px !important;border-radius:2px !important;overflow:hidden;background:#071b33}
#life .why-image-card img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease !important}
#life .why-image-card:hover img{transform:scale(1.025) !important}
#life .why-image-overlay{background:linear-gradient(180deg,rgba(3,19,38,0) 25%,rgba(3,19,38,.93) 100%) !important}
#life .why-image-overlay h3{font-size:24px !important}
#life .why-birmingham-note{
  display:grid !important;grid-template-columns:.8fr 1.2fr !important;
  margin-top:20px !important;padding:24px 0 !important;
}

/* Konaklama: katalogtaki 1 / 2 / 3 kolon mantığı */
#accommodation .accommodation-filters{margin-top:0 !important}
#accommodation .accommodation-grid{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:18px !important}
#accommodation .accommodation-card{border-radius:3px !important;box-shadow:none !important;border:1px solid #e0e4e9 !important;overflow:hidden}
#accommodation .accommodation-cover{height:250px !important}
#accommodation .accommodation-cover img{width:100%;height:100%;object-fit:cover}
#accommodation .accommodation-body h3{font:27px/1.05 Georgia,serif}

/* HOW TO APPLY: büyük adım numaraları, sağda 2 kolon */
#apply .apply-timeline{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:15px !important}
#apply .apply-step{min-height:230px !important;border-radius:3px !important;box-shadow:none !important}
#apply .apply-no{font-size:72px !important;color:rgba(7,27,51,.12) !important}
#apply .apply-step-featured .apply-no{color:rgba(255,255,255,.16) !important}
#apply .apply-step h3{font-size:29px !important}

/* Bölüm üst-alt çizgileri: basılı katalog hissi */
#programs,#partners,#life,#accommodation,#apply{border-top:1px solid #e8e7e3}
#prices{border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12)}

/* Modal görselleri büyük ve net */
.why-modal-gallery .why-modal-main,
.modal-image img,
.program-photo-main img{min-height:360px;object-fit:cover}
.why-modal-thumbs img,.program-photo-strip img{min-height:110px;object-fit:cover}

/* Editorial CTA da katalog tam sayfa şerit hissi */
.editorial-cta{border-radius:0 !important;border-top:1px solid rgba(255,255,255,.15);border-bottom:1px solid rgba(255,255,255,.15)}

@media(max-width:1050px){
  #programs .content-wrap,#prices .content-wrap,#partners .content-wrap,#life .content-wrap,#accommodation .content-wrap,#apply .content-wrap{
    grid-template-columns:230px minmax(0,1fr) !important;column-gap:32px !important;
  }
  #partners .partner-grid,#life .why-birmingham-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  #accommodation .accommodation-grid{grid-template-columns:1fr 1fr !important}
}

@media(max-width:820px){
  #programs .content-wrap,#prices .content-wrap,#partners .content-wrap,#life .content-wrap,#accommodation .content-wrap,#apply .content-wrap{
    display:block !important;
  }
  #programs .section-head,#prices .section-head,#partners .section-head,#life .section-head,#accommodation .section-head,#apply .section-head{
    position:static !important;padding:0 0 22px 18px;margin-bottom:26px !important;
  }
  #programs .section-head>p,#prices .section-head>p,#partners .section-head>p,#life .section-head>p,#accommodation .section-head>p,#apply .section-head>p{max-width:640px !important}
  #programs .program-grid,#prices .pricing-grid,#partners .partner-grid,#life .why-birmingham-grid,#accommodation .accommodation-grid,#apply .apply-timeline{grid-template-columns:1fr 1fr !important}
  #programs .content-wrap::before,#prices .content-wrap::before,#partners .content-wrap::before,#life .content-wrap::before,#accommodation .content-wrap::before,#apply .content-wrap::before{display:none}
}

@media(max-width:560px){
  #programs .program-grid,#prices .pricing-grid,#partners .partner-grid,#life .why-birmingham-grid,#accommodation .accommodation-grid,#apply .apply-timeline{grid-template-columns:1fr !important}
  #programs .program-card-image{height:220px !important}
  #life .why-image-card{height:365px !important}
  #accommodation .accommodation-cover{height:235px !important}
}

/* =========================================================
   V17.6 — Editorial polish: partner headline + full-height pricing
========================================================= */

/* Partner bölümündeki uzun Türkçe başlığın sağdaki kartlara taşmasını engelle */
#partners .content-wrap{
  grid-template-columns:minmax(300px,.72fr) minmax(0,1.78fr) !important;
  column-gap:clamp(44px,5.2vw,88px) !important;
}
#partners .section-head{
  min-width:0 !important;
  max-width:100% !important;
  overflow:visible !important;
}
#partners .section-head h2{
  font-size:clamp(40px,3.45vw,58px) !important;
  line-height:.99 !important;
  letter-spacing:-.04em !important;
  max-width:100% !important;
  white-space:normal !important;
  overflow-wrap:break-word !important;
  word-break:normal !important;
  hyphens:auto;
}
#partners .section-head > p{
  max-width:285px !important;
}
#partners .partner-grid{
  min-width:0 !important;
}
#partners .partner-card,
#partners .partner-body{
  min-width:0 !important;
}
#partners .partner-body h3{
  overflow-wrap:break-word !important;
  word-break:normal !important;
}

/* Fiyatlar bölümünü masaüstünde gerçek bir katalog sayfası yüksekliğine getir */
#prices{
  min-height:calc(100vh - var(--header)) !important;
  display:flex !important;
  align-items:center !important;
}
#prices .content-wrap{
  width:100% !important;
  align-items:stretch !important;
}
#prices .pricing-grid{
  align-self:stretch !important;
  align-items:stretch !important;
}
#prices .price-card{
  min-height:430px !important;
  display:flex !important;
  flex-direction:column !important;
}
#prices .week-grid{
  flex:1 1 auto !important;
}
#prices .price-foot{
  margin-top:auto !important;
}

@media(max-width:1180px){
  #partners .content-wrap{
    grid-template-columns:minmax(270px,.72fr) minmax(0,1.6fr) !important;
    column-gap:38px !important;
  }
  #partners .section-head h2{
    font-size:clamp(38px,4.4vw,52px) !important;
  }
}

@media(max-width:900px){
  #prices{
    min-height:auto !important;
    display:block !important;
  }
  #prices .price-card{
    min-height:0 !important;
  }
}

/* =========================================================
   V17.7 — Why Birmingham modal: editör seçkisi + harita, 2 sütun
========================================================= */
.map-focused-modal{
  width:min(1320px,96vw)!important;
  padding:24px!important;
  overflow:hidden!important;
}
.map-focused-modal .why-modal-layout{
  display:block!important;
}
.map-focused-modal .why-modal-gallery{
  display:none!important;
}
.map-focused-modal .why-modal-copy{
  display:block!important;
}
.map-focused-modal .why-modal-copy > *:not(.bham-map-explorer){
  display:none!important;
}
.map-focused-modal .bham-map-explorer{
  margin:0!important;
  width:100%;
  border:1px solid #dfe4eb;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
}
.map-focused-modal .bham-map-head{
  padding:22px 26px 20px;
  align-items:flex-end;
}
.map-focused-modal .bham-map-head h3{
  max-width:760px;
  font:clamp(32px,3vw,48px)/.98 Georgia,serif;
  letter-spacing:-.025em;
}
.map-focused-modal .bham-map-shell{
  display:grid;
  grid-template-columns:minmax(360px,.82fr) minmax(520px,1.18fr);
  min-height:560px;
  align-items:stretch;
}
.bham-editor-picks{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:24px;
  background:#fbfaf8;
  border-right:1px solid #e5e8ed;
}
.editor-picks-intro{
  padding:2px 8px 18px;
  border-bottom:1px solid #e7e8eb;
  margin-bottom:12px;
}
.editor-picks-intro>span{
  display:block;
  color:#d31f5b;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
}
.editor-picks-intro h4{
  margin:8px 0 7px;
  color:#071b33;
  font:28px/1.05 Georgia,serif;
}
.editor-picks-intro p{
  margin:0;
  color:#657181;
  font-size:13px;
  line-height:1.55;
}
.map-focused-modal .bham-place-list{
  flex:1;
  display:grid;
  align-content:start;
  gap:9px;
  padding:0;
  border:0;
  background:transparent;
  max-height:none;
  overflow:visible;
}
.map-focused-modal .map-place{
  grid-template-columns:42px 1fr;
  gap:12px;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid transparent;
}
.map-focused-modal .map-place.active{
  border-color:#e6aabd;
  box-shadow:0 8px 26px rgba(7,27,51,.08);
}
.map-focused-modal .map-place-num{
  width:36px;
  height:36px;
  font-size:11px;
  letter-spacing:.04em;
}
.map-place-copy{min-width:0}
.map-focused-modal .map-place b{
  color:#071b33;
  font-size:15px;
  line-height:1.25;
}
.map-focused-modal .map-place small{
  font-size:11px;
  line-height:1.35;
  color:#667383;
}
.map-focused-modal .map-place em{
  display:block;
  margin-top:5px;
  color:#88919d;
  font-size:11px;
  line-height:1.35;
  font-style:normal;
}
.bham-map-stage{
  min-width:0;
  min-height:560px;
  background:#eef2f5;
}
.map-focused-modal .google-map-canvas,
.map-focused-modal .google-map-frame{
  width:100%;
  min-height:560px;
  height:560px;
}
.map-focused-modal .google-map-caption{
  left:18px;
  right:18px;
  bottom:18px;
  padding:15px 16px;
}

/* Why Birmingham ana kart görsellerini daha temiz göster */
.why-image-card{
  background:#071b33;
  overflow:hidden;
}
.why-image-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  image-rendering:auto;
  filter:none!important;
  transform:none!important;
}
.why-image-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(7,27,51,.02) 22%,rgba(7,27,51,.78) 100%);
}
.why-image-overlay{z-index:2}

@media(max-width:980px){
  .map-focused-modal{padding:18px!important}
  .map-focused-modal .bham-map-shell{grid-template-columns:1fr;min-height:0}
  .bham-editor-picks{border-right:0;border-bottom:1px solid #e5e8ed}
  .map-focused-modal .bham-place-list{grid-template-columns:1fr 1fr}
  .bham-map-stage,.map-focused-modal .google-map-canvas,.map-focused-modal .google-map-frame{min-height:430px;height:430px}
}
@media(max-width:640px){
  .map-focused-modal{width:95vw!important;padding:12px!important}
  .map-focused-modal .bham-map-head{padding:18px 16px}
  .map-focused-modal .bham-map-head h3{font-size:30px}
  .bham-editor-picks{padding:16px}
  .map-focused-modal .bham-place-list{grid-template-columns:1fr}
  .bham-map-stage,.map-focused-modal .google-map-canvas,.map-focused-modal .google-map-frame{min-height:360px;height:360px}
  .map-focused-modal .google-map-caption{position:static;border-radius:0;flex-direction:column;align-items:flex-start}
}

/* =========================================================
   V17.8 — SINGLE SCREEN CATALOGUE + COLUMN ALIGNMENT POLISH
   - Menüden seçilen bölüm tek başına görünür
   - Sol editoryal başlık / sağ içerik aynı üst çizgiden başlar
   - Konaklama filtreleri sol açıklamanın altında
   - Uzun sol başlıklar kontrollü ölçekte
========================================================= */

/* Menü sayfası mantığı: yalnız seçilen katalog bölümü görünür. */
body.single-section-mode .screen{
  display:none !important;
}
body.single-section-mode .screen.screen-selected{
  display:block !important;
}
body.single-section-mode .editorial-cta{
  display:none !important;
}
body.single-section-mode .screen.screen-selected{
  min-height:calc(100vh - var(--header));
}

/* Bölüm kolonlarını aynı üst hizada kilitle. */
#programs .content-wrap,
#prices .content-wrap,
#partners .content-wrap,
#life .content-wrap,
#accommodation .content-wrap,
#apply .content-wrap{
  grid-template-columns:minmax(310px, .70fr) minmax(0, 2fr) !important;
  column-gap:clamp(30px,3.5vw,58px) !important;
  row-gap:20px !important;
  align-items:start !important;
}

/* Sol editoryal başlıklar artık taşmayacak kadar kompakt. */
#programs .section-head h2,
#prices .section-head h2,
#partners .section-head h2,
#life .section-head h2,
#accommodation .section-head h2,
#apply .section-head h2{
  font-size:clamp(38px,3.15vw,54px) !important;
  line-height:.98 !important;
  max-width:100% !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
  hyphens:none !important;
}
#programs .section-head,
#prices .section-head,
#partners .section-head,
#life .section-head,
#accommodation .section-head,
#apply .section-head{
  min-width:0 !important;
  max-width:100% !important;
  overflow:visible !important;
}
#programs .section-head > p,
#prices .section-head > p,
#partners .section-head > p,
#life .section-head > p,
#accommodation .section-head > p,
#apply .section-head > p{
  max-width:290px !important;
  font-size:15px !important;
  line-height:1.65 !important;
}

/* KONAKLAMA: sol başlık + filtreler tek sütun; üç kart aynı satırdan sağda başlar. */
#accommodation .section-head{
  grid-column:1 !important;
  grid-row:1 !important;
  position:sticky !important;
  top:calc(var(--header) + 28px) !important;
}
#accommodation .section-head h2{
  font-size:clamp(39px,3.05vw,52px) !important;
  letter-spacing:-.035em !important;
}
#accommodation .accommodation-filters{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:9px !important;
  margin:22px 0 0 !important;
  max-width:300px !important;
}
#accommodation .accommodation-filters span{
  margin:0 !important;
  padding:9px 13px !important;
  font-size:12px !important;
  white-space:nowrap;
}
#accommodation .accommodation-grid{
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:start !important;
  margin-top:0 !important;
}
#accommodation .accommodation-note{
  grid-column:2 !important;
  grid-row:2 !important;
  margin-top:0 !important;
}
#accommodation .accommodation-cover{
  height:225px !important;
}
#accommodation .accommodation-body{
  padding:22px 20px 24px !important;
}
#accommodation .accommodation-body h3{
  font-size:clamp(23px,1.65vw,28px) !important;
}

/* HOW TO APPLY: başlık ve adımlar da aynı üst çizgiden başlasın. */
#apply .section-head{
  grid-column:1 !important;
  grid-row:1 !important;
  position:sticky !important;
  top:calc(var(--header) + 28px) !important;
}
#apply .section-head h2{
  font-size:clamp(38px,3vw,51px) !important;
  letter-spacing:-.035em !important;
}
#apply .apply-timeline{
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:start !important;
  margin-top:0 !important;
}
#apply .apply-help-strip{
  grid-column:2 !important;
  grid-row:2 !important;
  margin-top:0 !important;
}
#apply .apply-step{
  min-height:205px !important;
  padding:18px 20px !important;
}
#apply .apply-no{
  font-size:58px !important;
}
#apply .apply-step h3{
  font-size:25px !important;
}
#apply .apply-step p{
  font-size:14px !important;
}

/* Tüm içerik görselleri mümkün olduğunca keskin ve kontrastlı göster. */
.program-card-image,
.program-card-image img,
.why-image-card img,
.partner-visual img,
.accommodation-cover img,
.modal-image img,
.why-modal-gallery img,
.program-photo-main img,
.program-photo-strip img,
.gallery-image,
.contact-visual img{
  filter:contrast(1.035) saturate(1.025) !important;
  image-rendering:auto !important;
  -webkit-font-smoothing:antialiased;
}

@media(max-width:1180px){
  #programs .content-wrap,#prices .content-wrap,#partners .content-wrap,#life .content-wrap,#accommodation .content-wrap,#apply .content-wrap{
    grid-template-columns:minmax(260px,.72fr) minmax(0,1.8fr) !important;
    column-gap:30px !important;
  }
  #programs .section-head h2,#prices .section-head h2,#partners .section-head h2,#life .section-head h2,#accommodation .section-head h2,#apply .section-head h2{
    font-size:clamp(36px,4vw,47px) !important;
  }
  #accommodation .accommodation-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}

@media(max-width:820px){
  body.single-section-mode .screen.screen-selected{min-height:auto;}
  #accommodation .section-head,#apply .section-head{position:static !important;}
  #accommodation .accommodation-filters{max-width:none !important;}
  #accommodation .accommodation-grid,#apply .apply-timeline{margin-top:24px !important;}
}
body.single-section-mode .screen.hero.screen-selected{
  display:grid !important;
}
/* ID-specific guard: V17.6 pricing used !important display:flex. */
body.single-section-mode #home:not(.screen-selected),
body.single-section-mode #programs:not(.screen-selected),
body.single-section-mode #prices:not(.screen-selected),
body.single-section-mode #partners:not(.screen-selected),
body.single-section-mode #life:not(.screen-selected),
body.single-section-mode #accommodation:not(.screen-selected),
body.single-section-mode #apply:not(.screen-selected),
body.single-section-mode #contact:not(.screen-selected){
  display:none !important;
}


/* =========================================================
   V18.1 — Panel bağlantısı + Hakkımızda modalı
   V17.8 yerleşimine dokunmaz.
========================================================= */
.footer-admin-link{
  display:inline-flex;align-items:center;gap:.35rem;margin-top:.35rem;
  color:inherit;text-decoration:none;font-weight:700;opacity:.9;
}
.footer-admin-link:hover{opacity:1;text-decoration:underline;}
.about-modal-layout{align-items:stretch;}
.about-modal-image{min-height:460px;overflow:hidden;border-radius:22px;background:#eef1f5;}
.about-modal-image img{width:100%;height:100%;min-height:460px;object-fit:cover;display:block;}
.about-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0;}
.about-service-card{border:1px solid rgba(7,27,51,.12);border-radius:16px;background:#fff;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}
.about-service-card[open]{border-color:rgba(220,46,102,.35);box-shadow:0 10px 26px rgba(7,27,51,.07)}
.about-service-card summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px;user-select:none}
.about-service-card summary::-webkit-details-marker{display:none}
.about-service-card summary i{font-style:normal;color:#dc2e66;font-size:18px;transition:transform .2s ease}
.about-service-card[open] summary i{transform:rotate(180deg)}
.about-service-grid b,.about-service-grid span{display:block;}
.about-service-card>span{padding:0 17px 17px;font-size:.92rem;line-height:1.5;color:#566273;}
@media(max-width:780px){
  .about-modal-image{min-height:260px;}
  .about-modal-image img{min-height:260px;max-height:340px;}
  .about-service-grid{grid-template-columns:1fr;}
}

/* V18.5 admin frame önizleme modu */
body.admin-preview-mode .floating-whatsapp{display:none!important}
body.admin-preview-mode .editorial-footer{display:none!important}
body.admin-preview-mode .screen-selected{min-height:auto!important}
body.admin-preview-mode .topbar{position:relative!important}

/* V18.7 — panelden gizlenen katalog bölümü menüden modal olarak açılır */
.hidden-section-layer{position:fixed;inset:0;z-index:180;background:rgba(3,18,35,.76);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:none;align-items:center;justify-content:center;padding:28px;overflow:auto}.hidden-section-layer.open{display:flex}.hidden-section-dialog{position:relative;width:min(1480px,96vw);max-height:92vh;overflow:auto;background:#fbfaf7;border-radius:26px;box-shadow:0 30px 90px rgba(0,0,0,.34)}.hidden-section-close{position:sticky;top:18px;float:right;margin:18px 18px -62px 0;z-index:4;width:46px;height:46px;border-radius:50%;border:1px solid rgba(7,27,51,.16);background:#fff;color:#071b33;font-size:28px;cursor:pointer}.hidden-section-content{clear:both}.hidden-section-clone{display:block!important;min-height:auto!important;height:auto!important}.hidden-section-clone .content-wrap{padding-top:72px!important;padding-bottom:72px!important}.pricing-admin-note{margin:22px 0 0;padding:15px 18px;border-left:3px solid #dc2e66;color:#fff;background:rgba(255,255,255,.06);font-size:14px;line-height:1.6}
.price-admin-description{margin:0;padding:14px 16px 2px;color:#5e6878;font-size:13px;line-height:1.55;background:#fff}


/* V18.9 — İletişim gönderim başarı durumu */
.contact-form.is-success > :not(.contact-form-actions){
  display:none !important;
}
.contact-form.is-success .contact-form-actions{
  min-height:240px;
  justify-content:center;
  text-align:center;
}
.contact-form.is-success .contact-submit{
  display:none;
}
.contact-form.is-success .contact-status{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--navy);
  font-size:16px;
  line-height:1.45;
}
.contact-form.is-success .contact-status strong{
  font-family:Georgia,serif;
  font-size:28px;
  font-weight:700;
}
.success-check{
  width:68px;
  height:68px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#17a65a;
  color:white;
  font-size:36px;
  font-weight:800;
  box-shadow:0 12px 30px rgba(23,166,90,.18);
}

/* =========================================================
   V18.10 — MOBILE / TABLET RESPONSIVE SAFETY LAYER
   Yalnızca yerleşim ve ölçek düzenlemeleri. Mevcut renk paleti,
   içerik, görseller, JS/PHP davranışı ve masaüstü tasarımı korunur.
========================================================= */

/* Uzun içeriklerin dar ekranı genişletmesini engelle */
img, video, iframe, svg{max-width:100%}
input, select, textarea, button{max-width:100%}

@media (max-width: 980px){
  html{scroll-snap-type:none}
  .screen{min-height:auto;overflow:visible}
  .screen:not(.hero){opacity:1;transform:none}

  /* Header */
  .topbar{
    height:var(--header);
    padding:0 18px!important;
    gap:12px;
  }
  .brand{min-width:0;flex:1}
  .brand-name{font-size:clamp(27px,6vw,34px);white-space:nowrap}
  .brand-meta{font-size:8px;letter-spacing:.1em;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hamburger{
    flex:0 0 50px;
    width:50px!important;
    height:50px!important;
    margin-left:0!important;
  }
  .side-menu{width:min(420px,94vw);padding:22px}

  /* Hero: görsel bozulmadan üstte, metin altta */
  .hero{
    min-height:auto!important;
    display:flex!important;
    flex-direction:column!important;
    padding:var(--header) 0 0!important;
    background:var(--navy)!important;
  }
  .hero-bg{
    order:1;
    display:block!important;
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    min-height:clamp(300px,55vw,430px)!important;
    background-size:cover!important;
    background-position:center center!important;
    grid-column:auto!important;
    grid-row:auto!important;
    z-index:0!important;
  }
  .hero-shade{display:none!important}
  .hero-content{
    order:2;
    display:block!important;
    width:100%!important;
    padding:38px 24px 34px!important;
    background:var(--navy)!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }
  .hero h1{
    font-size:clamp(44px,9.5vw,66px)!important;
    line-height:.96!important;
    max-width:760px!important;
    overflow-wrap:break-word;
  }
  .hero-copy{font-size:15px!important;line-height:1.65!important;max-width:680px}
  .hero-actions{gap:10px}
  .hero-actions .primary-btn,.hero-actions .glass-btn{min-height:48px}
  .hero-facts{
    order:3;
    position:static!important;
    transform:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0 18px!important;
    border-radius:0!important;
    box-shadow:none!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .hero-facts div{
    min-width:0;
    padding:15px 10px!important;
    border-right:0!important;
    border-bottom:1px solid var(--line)!important;
  }
  .scroll-hint{display:none}

  /* Editoryal bölüm kolonlarını tek akışa indir */
  #programs .content-wrap,#prices .content-wrap,#partners .content-wrap,#life .content-wrap,#accommodation .content-wrap,#apply .content-wrap{
    display:block!important;
  }
  #programs .section-head,#prices .section-head,#partners .section-head,#life .section-head,#accommodation .section-head,#apply .section-head{
    position:static!important;
    top:auto!important;
    width:100%!important;
    max-width:none!important;
    padding:0 0 22px 16px!important;
    margin:0 0 26px!important;
  }
  #programs .section-head>p,#prices .section-head>p,#partners .section-head>p,#life .section-head>p,#accommodation .section-head>p,#apply .section-head>p{
    max-width:680px!important;
  }

  #programs .program-grid,#prices .pricing-grid,#partners .partner-grid,#life .why-birmingham-grid,#accommodation .accommodation-grid,#apply .apply-timeline{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }

  /* Form */
  .contact-row,.contact-promise-grid,.contact-form,.apply-modal-grid,.visa-check-grid,.accommodation-modal-grid,.why-modal-layout{
    grid-template-columns:1fr!important;
  }
  .contact-row>*{min-width:0;width:100%}
  .contact-methods{grid-template-columns:1fr 1fr}

  /* Modallar */
  .modal-backdrop{padding:16px!important;overflow-y:auto!important;align-items:flex-start!important}
  .modal-panel,
  .programme-modal,
  .why-modal,
  .apply-modal,
  .accommodation-modal,
  .map-focused-modal{
    width:min(100%,760px)!important;
    max-width:100%!important;
    max-height:calc(100dvh - 32px)!important;
    margin:auto!important;
    padding:22px!important;
    overflow-y:auto!important;
  }
  .modal-x{position:sticky!important;top:0!important;margin-left:auto!important;z-index:20!important}
  .why-modal-gallery .why-modal-main,.modal-image img,.program-photo-main img{min-height:260px!important}
  .why-modal-thumbs img,.program-photo-strip img{min-height:90px!important}

  /* Harita */
  .map-focused-modal{overflow-y:auto!important}
  .map-focused-modal .bham-map-shell{grid-template-columns:1fr!important;min-height:0!important}
  .bham-editor-picks{border-right:0!important;border-bottom:1px solid #e5e8ed!important}
  .map-focused-modal .bham-place-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .bham-map-stage,.map-focused-modal .google-map-canvas,.map-focused-modal .google-map-frame{
    min-height:390px!important;height:390px!important;
  }

  /* Footer */
  .editorial-footer-cta{grid-template-columns:1fr!important;gap:22px!important}
  .editorial-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:34px!important}

  /* Gizli bölüm modalı */
  .hidden-section-layer{padding:16px!important;align-items:flex-start!important}
  .hidden-section-dialog{width:100%!important;max-height:calc(100dvh - 32px)!important;border-radius:18px!important}
  .hidden-section-clone .content-wrap{padding:56px 20px!important}
}

@media (max-width: 640px){
  :root{--header:72px}

  .topbar{padding:0 14px!important}
  .brand-name{font-size:27px}
  .brand-meta{max-width:220px}
  .hamburger{flex-basis:46px;width:46px!important;height:46px!important}

  .side-menu{width:94vw;padding:18px}
  .side-menu h2{font-size:28px}
  .menu-links button{padding:14px 0;grid-template-columns:38px 1fr}

  .hero-bg{
    min-height:285px!important;
    background-position:center center!important;
  }
  .hero-content{padding:32px 18px 28px!important}
  .hero .eyebrow{font-size:9px!important;letter-spacing:.12em!important;margin-bottom:13px}
  .hero h1{font-size:clamp(39px,12vw,52px)!important;letter-spacing:-.035em!important}
  .hero-copy{font-size:14px!important}
  .hero-actions{display:grid!important;grid-template-columns:1fr!important}
  .hero-actions button,.hero-actions a{width:100%}
  .hero-facts{grid-template-columns:1fr!important;padding:0 18px!important}
  .hero-facts div{padding:13px 0!important}

  .screen,
  body.single-section-mode .screen.screen-selected{
    padding:42px 18px 54px!important;
    min-height:auto!important;
  }
  #programs{padding-top:46px!important}

  #programs .section-head h2,#prices .section-head h2,#partners .section-head h2,#life .section-head h2,#accommodation .section-head h2,#apply .section-head h2,
  .section-head h2{
    font-size:clamp(36px,11vw,48px)!important;
    line-height:1!important;
  }
  #programs .section-head,#prices .section-head,#partners .section-head,#life .section-head,#accommodation .section-head,#apply .section-head{
    padding-left:13px!important;
    margin-bottom:20px!important;
  }

  #programs .program-grid,#prices .pricing-grid,#partners .partner-grid,#life .why-birmingham-grid,#accommodation .accommodation-grid,#apply .apply-timeline{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  #programs .program-card-image{height:220px!important}
  #life .why-image-card{height:330px!important}
  #accommodation .accommodation-cover{height:225px!important}

  .contact-section{padding-left:18px!important;padding-right:18px!important}
  .contact-wrap{width:100%!important}
  .contact-methods{grid-template-columns:1fr!important}
  .contact-form-actions{align-items:stretch!important;flex-direction:column!important}
  .contact-submit{width:100%!important}

  .editorial-cta{padding:34px 18px!important}
  .editorial-footer-cta{padding:30px 18px!important}
  .editorial-footer-cta h2{font-size:31px!important}
  .editorial-footer-main{grid-template-columns:1fr!important;padding:38px 18px 32px!important;gap:28px!important}
  .footer-brand strong{font-size:40px!important}
  .editorial-footer-bottom{padding:16px 18px!important;flex-direction:column!important;gap:8px!important}

  .modal-backdrop{padding:8px!important}
  .modal-panel,.programme-modal,.why-modal,.apply-modal,.accommodation-modal,.map-focused-modal{
    width:100%!important;
    max-height:calc(100dvh - 16px)!important;
    padding:16px!important;
    border-radius:14px!important;
  }
  .modal-copy h2,.why-modal-copy h2{font-size:clamp(31px,10vw,42px)!important}
  .why-modal-gallery .why-modal-main,.modal-image img,.program-photo-main img{min-height:210px!important}
  .why-modal-thumbs{grid-template-columns:1fr 1fr!important}
  .apply-modal-grid,.visa-check-grid,.about-service-grid{grid-template-columns:1fr!important}

  .bham-map-head{padding:16px!important;align-items:flex-start!important}
  .map-hint{display:none!important}
  .map-focused-modal .bham-place-list{grid-template-columns:1fr!important}
  .bham-editor-picks{padding:14px!important}
  .bham-map-stage,.map-focused-modal .google-map-canvas,.map-focused-modal .google-map-frame{
    min-height:320px!important;height:320px!important;
  }
  .map-focused-modal .google-map-caption{position:static!important;border-radius:0!important;flex-direction:column!important;align-items:flex-start!important}

  .about-modal-image,.about-modal-image img{min-height:230px!important;max-height:300px!important}
  .hidden-section-layer{padding:8px!important}
  .hidden-section-dialog{max-height:calc(100dvh - 16px)!important;border-radius:14px!important}
  .hidden-section-close{top:10px;margin:10px 10px -54px 0!important}
  .hidden-section-clone .content-wrap{padding:52px 16px 34px!important}
}

@media (max-width: 380px){
  .brand-name{font-size:24px}
  .brand-meta{max-width:185px;font-size:7px}
  .hero h1{font-size:38px!important}
  .hero-bg{min-height:250px!important}
  .screen,body.single-section-mode .screen.screen-selected{padding-left:14px!important;padding-right:14px!important}
}

/* =========================================================
   V18.11 — MOBILE HERO FINAL STACK FIX
   Mobil/tablette hero görseli tam genişlik üstte, tüm bilgilendirme
   içeriği altta. Renkler ve masaüstü düzeni korunur.
========================================================= */
@media (max-width: 980px){
  #home.hero{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    min-height:0!important;
    padding:var(--header) 0 0!important;
    overflow:visible!important;
    background:var(--navy)!important;
  }

  #home.hero .hero-bg{
    order:1!important;
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16 / 10!important;
    background-image:url('images/birmingham_hero_bg.png')!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
    grid-column:auto!important;
    grid-row:auto!important;
    z-index:0!important;
  }

  #home.hero .hero-shade{
    display:none!important;
  }

  #home.hero .hero-content.content-wrap{
    order:2!important;
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:34px 24px 36px!important;
    box-sizing:border-box!important;
    background:var(--navy)!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }

  #home.hero .hero-facts{
    position:static!important;
    transform:none!important;
    width:100%!important;
    max-width:none!important;
    margin:24px 0 0!important;
    border-radius:7px!important;
    box-shadow:none!important;
  }

  #home.hero .hero-actions{
    margin-top:22px!important;
  }
}

@media (max-width: 640px){
  #home.hero{
    padding:var(--header) 0 0!important;
  }

  #home.hero .hero-bg{
    width:100%!important;
    aspect-ratio:4 / 3!important;
    min-height:0!important;
    background-position:center center!important;
  }

  #home.hero .hero-content.content-wrap{
    padding:28px 18px 30px!important;
  }

  #home.hero .hero-facts{
    margin-top:20px!important;
    padding:0 16px!important;
  }
}


/* V18.12 — mobile header sizing + native touch scrolling */
@media (max-width: 600px){
  .brand-name{font-size:20px!important;letter-spacing:.10em!important;line-height:.95!important;}
  .brand-meta{font-size:6.5px!important;letter-spacing:.08em!important;max-width:190px!important;}
  html,body{scroll-snap-type:none!important;overscroll-behavior-y:auto!important;}
  body{touch-action:pan-y!important;-webkit-overflow-scrolling:touch;}
}

/* =========================================================
   V18.13 — APP-LIKE MOBILE HOME POLISH
   Mevcut renk paleti, tek-bölüm navigasyonu, hamburger ve footer korunur.
   Mobilde hero görseli üstten başlar; 4 program kartı 2x2 görünür.
========================================================= */
@media (max-width: 640px){
  /* Hero görseli header'ın hemen altında, üstten odaklı başlar. */
  #home.hero .hero-bg{
    aspect-ratio: 4 / 3 !important;
    background-position: center top !important;
    border-radius: 0 !important;
  }

  #home.hero .hero-content.content-wrap{
    padding: 26px 18px 30px !important;
  }

  #home.hero .hero-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  /* Dört ana program kartı mobilde 2 sütun x 2 satır. */
  #programs .program-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }

  #programs .program-card{
    min-width:0 !important;
    padding:0 0 15px !important;
    border-radius:16px !important;
    overflow:hidden !important;
  }

  #programs .program-card-image{
    width:100% !important;
    height:128px !important;
    object-fit:cover !important;
    object-position:center !important;
  }

  #programs .program-card .card-no{
    margin:12px 12px 0 !important;
  }

  #programs .program-card .icon-chip{
    margin-left:12px !important;
  }

  #programs .program-card h3{
    margin-left:12px !important;
    margin-right:12px !important;
    font-size:18px !important;
    line-height:1.08 !important;
    overflow-wrap:anywhere;
  }

  #programs .program-card p{
    margin-left:12px !important;
    margin-right:12px !important;
    font-size:12px !important;
    line-height:1.45 !important;
  }

  #programs .program-card button{
    margin-left:12px !important;
    margin-right:12px !important;
    font-size:11px !important;
  }

  /* Hamburger tek mobil navigasyon olarak daha rahat dokunulur. */
  .hamburger{
    border-radius:12px !important;
  }
  .menu-links button{
    min-height:50px !important;
  }

  /* Footer sayfanın doğal sonu; sabit alt menü kullanılmaz. */
  .editorial-footer{
    position:relative !important;
    inset:auto !important;
  }
}

@media (max-width: 390px){
  #programs .program-grid{gap:9px !important;}
  #programs .program-card-image{height:112px !important;}
  #programs .program-card h3{font-size:16px !important;}
  #programs .program-card p{font-size:11px !important;}
}

/* =========================================================
   V18.14 — COMPACT MOBILE PHOTO LIGHTBOX
   Mobilde fotoğraf lightbox'ı tam ekranı yutmaz; kart gibi kompakt görünür.
========================================================= */
@media (max-width: 640px){
  .image-lightbox{
    padding:18px !important;
    place-items:center !important;
  }

  .lightbox-backdrop{
    background:rgba(2,12,25,.76) !important;
    backdrop-filter:blur(10px) !important;
  }

  .lightbox-stage{
    width:min(88vw,360px) !important;
    max-height:82dvh !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
  }

  .lightbox-stage figure{
    width:100% !important;
    max-height:68dvh !important;
    border-radius:18px !important;
    box-shadow:0 24px 70px rgba(0,0,0,.38) !important;
  }

  .lightbox-stage figure > img{
    width:100% !important;
    max-height:52dvh !important;
    object-fit:contain !important;
  }

  .lightbox-stage figcaption{
    min-height:0 !important;
    padding:10px 12px !important;
    gap:8px !important;
    font-size:12px !important;
    line-height:1.35 !important;
  }

  .lightbox-stage figcaption span{
    font-size:11px !important;
  }

  .lightbox-close{
    top:8px !important;
    right:8px !important;
    width:36px !important;
    height:36px !important;
    z-index:5 !important;
    background:rgba(7,24,45,.72) !important;
    border-color:rgba(255,255,255,.32) !important;
    font-size:21px !important;
  }

  .lightbox-nav{
    top:42% !important;
    width:36px !important;
    height:36px !important;
    font-size:24px !important;
    background:rgba(7,24,45,.68) !important;
  }

  .lightbox-nav.prev{ left:7px !important; }
  .lightbox-nav.next{ right:7px !important; }

  .lightbox-thumbs{
    width:100% !important;
    justify-content:flex-start !important;
    gap:6px !important;
    padding:4px 2px 0 !important;
  }

  .lightbox-thumbs button{
    flex:0 0 48px !important;
    width:48px !important;
    height:34px !important;
    border-radius:7px !important;
  }
}

@media (max-width: 390px){
  .lightbox-stage{
    width:min(86vw,330px) !important;
  }
  .lightbox-stage figure > img{
    max-height:48dvh !important;
  }
}

/* =========================================================
   V18.17 — Mobil galeri / lightbox iyileştirmesi
========================================================= */
.image-lightbox{
  padding:18px;
  background:rgba(3,10,22,.82);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.image-lightbox .lightbox-card,
.image-lightbox .lightbox-dialog,
.image-lightbox > .lightbox-inner{
  width:min(92vw,760px);
  max-height:90dvh;
  border-radius:22px;
  background:#fff;
  padding:14px;
  box-shadow:0 24px 80px rgba(0,0,0,.35);
}
#lightboxImage{
  display:block;
  width:100%;
  max-height:66dvh;
  object-fit:contain;
  border-radius:16px;
  background:#f4f5f7;
}
#lightboxThumbs{
  display:flex;
  gap:9px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  padding:10px 2px 3px;
  scroll-snap-type:x proximity;
}
#lightboxThumbs button{
  flex:0 0 76px;
  width:76px;
  height:58px;
  padding:0;
  overflow:hidden;
  border:2px solid transparent;
  border-radius:10px;
  scroll-snap-align:start;
  background:#eef0f3;
}
#lightboxThumbs button.active{border-color:#d1195b}
#lightboxThumbs img{width:100%;height:100%;object-fit:cover}
#lightboxPrev,#lightboxNext{
  width:44px;height:44px;border-radius:50%;
  background:#fff;border:1px solid #d1195b;color:#b3134d;
  box-shadow:0 6px 20px rgba(0,0,0,.18);
}
.cms-gallery-strip{
  display:flex!important;
  gap:9px;
  overflow-x:auto;
  padding:10px 1px 3px;
}
.cms-gallery-strip img{
  flex:0 0 88px;
  width:88px!important;height:66px!important;
  object-fit:cover;border-radius:10px;cursor:zoom-in;
}
.cms-gallery-main img,.program-photo-main img,.campus-hero img{cursor:zoom-in}
@media(max-width:768px){
  .image-lightbox{padding:10px}
  .image-lightbox .lightbox-card,
  .image-lightbox .lightbox-dialog,
  .image-lightbox > .lightbox-inner{width:94vw;max-height:88dvh;padding:10px;border-radius:18px}
  #lightboxImage{max-height:54dvh;border-radius:13px}
  #lightboxThumbs button{flex-basis:64px;width:64px;height:50px}
  #lightboxPrev,#lightboxNext{width:38px;height:38px}
  .cms-gallery-strip img{flex-basis:72px;width:72px!important;height:56px!important}
}

/* =========================================================
   V18.19 — Lightbox okları yanlarda
   v18.17 görünümü ve metin alanı korunur.
========================================================= */
.image-lightbox .lightbox-stage{
  position:relative;
}

#lightboxPrev,
#lightboxNext{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:12;
  width:44px;
  height:44px;
  border-radius:50%;
}

#lightboxPrev{
  left:-58px;
}

#lightboxNext{
  right:-58px;
}

@media (max-width:900px){
  #lightboxPrev{
    left:10px;
  }
  #lightboxNext{
    right:10px;
  }
}

@media (max-width:768px){
  #lightboxPrev,
  #lightboxNext{
    width:38px;
    height:38px;
  }
}

/* =========================================================
   V18.20 — Kart > İçerik Modalı > Galeri akışı
========================================================= */

/* Kart üzerindeki kapak fotoğrafı kartın parçasıdır; zoom imleci göstermez. */
.program-card.modal-trigger > img,
.accommodation-card.modal-trigger img,
.partner-card.modal-trigger img,
.why-image-card.modal-trigger img{
  cursor:pointer;
}

/* İçerik modalındaki fotoğraflar ise galeriyi açar. */
.modal-panel.active .program-photo-main img,
.modal-panel.active .program-photo-strip img,
.modal-panel.active .campus-hero img,
.modal-panel.active .campus-gallery img,
.modal-panel.active .accommodation-modal-gallery img,
.modal-panel.active .why-modal-gallery img,
.modal-panel.active .cms-gallery-main img,
.modal-panel.active .cms-gallery-strip img{
  cursor:zoom-in;
}

/* Ana görsel içerik modalında düzgün ve net kalsın. */
.modal-panel .program-photo-main,
.modal-panel .cms-gallery-main,
.modal-panel .campus-hero{
  overflow:hidden;
  border-radius:16px;
}

.modal-panel .program-photo-main img,
.modal-panel .cms-gallery-main img,
.modal-panel .campus-hero img{
  display:block;
  width:100%;
  max-height:430px;
  object-fit:cover;
  object-position:center;
}

/* Küçük görseller tek satırda taşarsa yatay kayar. */
.modal-panel .program-photo-strip,
.modal-panel .cms-gallery-strip,
.modal-panel .campus-gallery{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:10px 2px 4px;
  scroll-snap-type:x proximity;
}

.modal-panel .program-photo-strip img,
.modal-panel .cms-gallery-strip img,
.modal-panel .campus-gallery img{
  flex:0 0 96px;
  width:96px;
  height:72px;
  object-fit:cover;
  border-radius:10px;
  scroll-snap-align:start;
}

/* Lightbox okları masaüstünde ana görselin iki yanında. */
.image-lightbox .lightbox-stage{
  position:relative;
}
#lightboxPrev{
  left:-58px;
  top:50%;
}
#lightboxNext{
  right:-58px;
  top:50%;
}

@media (max-width:900px){
  #lightboxPrev{left:10px}
  #lightboxNext{right:10px}
}

@media (max-width:768px){
  .modal-panel .program-photo-main img,
  .modal-panel .cms-gallery-main img,
  .modal-panel .campus-hero img{
    max-height:300px;
  }

  .modal-panel .program-photo-strip img,
  .modal-panel .cms-gallery-strip img,
  .modal-panel .campus-gallery img{
    flex-basis:76px;
    width:76px;
    height:58px;
  }
}

/* =========================================================
   V18.21 — Modal galeri wrap + kırık görsel görünümü düzeltmesi
========================================================= */

/* İçerik modalındaki küçük fotoğraflar yatay scroll yapmaz.
   Alan dolunca otomatik olarak bir alt satırdan devam eder. */
.modal-panel .program-photo-strip,
.modal-panel .cms-gallery-strip,
.modal-panel .campus-gallery,
.modal-panel .accommodation-modal-gallery{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-start;
  gap:10px;
  overflow:visible !important;
  overflow-x:visible !important;
  overflow-y:visible !important;
  max-height:none !important;
  height:auto !important;
  padding:10px 0 4px;
  scrollbar-width:none;
}

.modal-panel .program-photo-strip::-webkit-scrollbar,
.modal-panel .cms-gallery-strip::-webkit-scrollbar,
.modal-panel .campus-gallery::-webkit-scrollbar,
.modal-panel .accommodation-modal-gallery::-webkit-scrollbar{
  display:none;
}

.modal-panel .program-photo-strip img,
.modal-panel .cms-gallery-strip img,
.modal-panel .campus-gallery img,
.modal-panel .accommodation-modal-gallery img{
  flex:0 0 calc(25% - 8px) !important;
  width:calc(25% - 8px) !important;
  min-width:0 !important;
  height:84px !important;
  object-fit:cover;
  border-radius:10px;
}

/* Ana görsel geniş alanı doldursun; oranı bozulmasın. */
.modal-panel .program-photo-main,
.modal-panel .cms-gallery-main,
.modal-panel .campus-hero{
  width:100%;
  min-height:260px;
  background:#eef2f6;
}

.modal-panel .program-photo-main img,
.modal-panel .cms-gallery-main img,
.modal-panel .campus-hero img{
  width:100%;
  height:auto;
  min-height:260px;
  max-height:440px;
  object-fit:cover;
  object-position:center;
  display:block;
}

/* Kırık olarak işaretlenen görsel alan kaplamasın. */
.modal-panel img[data-broken="1"]{
  display:none !important;
}

@media (max-width:768px){
  .modal-panel .program-photo-strip img,
  .modal-panel .cms-gallery-strip img,
  .modal-panel .campus-gallery img,
  .modal-panel .accommodation-modal-gallery img{
    flex-basis:calc(33.333% - 7px) !important;
    width:calc(33.333% - 7px) !important;
    height:68px !important;
  }

  .modal-panel .program-photo-main,
  .modal-panel .cms-gallery-main,
  .modal-panel .campus-hero,
  .modal-panel .program-photo-main img,
  .modal-panel .cms-gallery-main img,
  .modal-panel .campus-hero img{
    min-height:210px;
    max-height:320px;
  }
}

@media (max-width:430px){
  .modal-panel .program-photo-strip img,
  .modal-panel .cms-gallery-strip img,
  .modal-panel .campus-gallery img,
  .modal-panel .accommodation-modal-gallery img{
    flex-basis:calc(50% - 5px) !important;
    width:calc(50% - 5px) !important;
    height:82px !important;
  }
}

/* =========================================================
   V18.22 — Büyük lightbox görseli + gerçek yan oklar
   Kart > içerik modalı > fotoğraf > slider akışı korunur.
========================================================= */

.image-lightbox{
  padding:18px 90px;
}

.image-lightbox .lightbox-stage{
  position:relative;
  width:min(82vw, 1180px);
  max-width:1180px;
  max-height:90dvh;
  margin:auto;
}

/* Ana görsel alanı daha geniş ve belirgin */
.image-lightbox .lightbox-stage figure{
  width:100%;
  margin:0;
}

#lightboxImage{
  display:block;
  width:100% !important;
  height:auto !important;
  max-width:100%;
  max-height:68dvh !important;
  object-fit:contain !important;
  object-position:center;
  margin:0 auto;
}

/* Oklar görsel/modal kutusunun dışında iki yanda */
#lightboxPrev,
#lightboxNext{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:50;
  width:48px !important;
  height:48px !important;
  border-radius:50%;
  background:#fff !important;
  color:#c31350 !important;
  border:1px solid #d51a59 !important;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}

#lightboxPrev{
  left:-72px !important;
}

#lightboxNext{
  right:-72px !important;
}

/* Thumbnail alanı alt tarafta ve wrap yapar */
#lightboxThumbs{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center;
  gap:9px;
  overflow:visible !important;
  max-height:none !important;
  width:100%;
  padding-top:12px;
}

#lightboxThumbs button{
  flex:0 0 78px;
  width:78px;
  height:58px;
}

/* Tablet */
@media (max-width:1000px){
  .image-lightbox{
    padding-left:68px;
    padding-right:68px;
  }

  .image-lightbox .lightbox-stage{
    width:min(86vw, 940px);
  }

  #lightboxPrev{left:-56px !important;}
  #lightboxNext{right:-56px !important;}
}

/* Mobilde de oklar fotoğrafın sağ/sol kenarında kalsın */
@media (max-width:768px){
  .image-lightbox{
    padding:10px;
  }

  .image-lightbox .lightbox-stage{
    width:94vw;
    max-height:88dvh;
  }

  #lightboxImage{
    max-height:58dvh !important;
  }

  #lightboxPrev,
  #lightboxNext{
    width:38px !important;
    height:38px !important;
    top:45% !important;
  }

  #lightboxPrev{
    left:8px !important;
  }

  #lightboxNext{
    right:8px !important;
  }

  #lightboxThumbs button{
    flex-basis:62px;
    width:62px;
    height:48px;
  }
}

/* =========================================================
   V18.23 — FINAL LARGE LIGHTBOX FIX
   Eski 3 kolonlu grid yapisi küçük kart sorununa yol açıyordu.
   Lightbox tek kolonlu geniş paneldir; oklar ana görselin iki yanındadır.
========================================================= */
.image-lightbox{
  padding:22px 88px !important;
  place-items:center !important;
}

.image-lightbox .lightbox-stage{
  position:relative !important;
  z-index:1 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:12px !important;
  width:min(84vw, 1240px) !important;
  max-width:1240px !important;
  max-height:92dvh !important;
  padding:18px !important;
  border-radius:24px !important;
  background:#fff !important;
  box-shadow:0 30px 100px rgba(0,0,0,.42) !important;
  overflow:visible !important;
}

.image-lightbox .lightbox-stage figure{
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  min-width:0 !important;
  max-height:none !important;
  margin:0 !important;
  overflow:hidden !important;
  border-radius:18px !important;
  background:#f4f5f7 !important;
  box-shadow:none !important;
}

#lightboxImage,
.image-lightbox .lightbox-stage figure > img{
  display:block !important;
  width:100% !important;
  height:min(66dvh, 700px) !important;
  min-height:440px !important;
  max-width:100% !important;
  max-height:700px !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 auto !important;
  background:#f4f5f7 !important;
  border-radius:0 !important;
}

.image-lightbox .lightbox-stage figcaption{
  min-height:46px !important;
  padding:11px 14px !important;
  color:#233142 !important;
  background:#fff !important;
  border-top:1px solid #e8ebef !important;
}
.image-lightbox .lightbox-stage figcaption span{
  color:#5c6775 !important;
}

/* Oklar tam olarak ana görselin sol ve saginda */
#lightboxPrev,
#lightboxNext{
  position:absolute !important;
  top:calc(50% - 34px) !important;
  transform:translateY(-50%) !important;
  z-index:60 !important;
  width:52px !important;
  height:52px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  border-radius:50% !important;
  background:#fff !important;
  color:#c31350 !important;
  border:1px solid #d51a59 !important;
  box-shadow:0 10px 28px rgba(0,0,0,.22) !important;
  font-size:34px !important;
  line-height:1 !important;
}
#lightboxPrev{ left:-70px !important; }
#lightboxNext{ right:-70px !important; }

.image-lightbox .lightbox-close{
  top:-16px !important;
  right:-16px !important;
  z-index:70 !important;
  width:46px !important;
  height:46px !important;
  border-radius:50% !important;
  background:#0b1b2e !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.35) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.24) !important;
}

#lightboxThumbs,
.image-lightbox .lightbox-thumbs{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  align-items:center !important;
  gap:9px !important;
  width:100% !important;
  overflow:visible !important;
  max-height:none !important;
  padding:0 !important;
}
#lightboxThumbs button{
  flex:0 0 80px !important;
  width:80px !important;
  height:58px !important;
  border-radius:10px !important;
}

@media (max-width:1000px){
  .image-lightbox{ padding:16px 62px !important; }
  .image-lightbox .lightbox-stage{
    width:min(88vw, 960px) !important;
    padding:14px !important;
  }
  #lightboxImage,
  .image-lightbox .lightbox-stage figure > img{
    height:min(61dvh, 610px) !important;
    min-height:360px !important;
  }
  #lightboxPrev{ left:-52px !important; }
  #lightboxNext{ right:-52px !important; }
}

@media (max-width:768px){
  .image-lightbox{ padding:10px !important; }
  .image-lightbox .lightbox-stage{
    width:94vw !important;
    max-height:90dvh !important;
    padding:10px !important;
    border-radius:18px !important;
  }
  #lightboxImage,
  .image-lightbox .lightbox-stage figure > img{
    height:56dvh !important;
    min-height:0 !important;
    max-height:56dvh !important;
  }
  #lightboxPrev,
  #lightboxNext{
    top:45% !important;
    width:40px !important;
    height:40px !important;
    font-size:28px !important;
    background:rgba(255,255,255,.94) !important;
  }
  #lightboxPrev{ left:16px !important; }
  #lightboxNext{ right:16px !important; }
  .image-lightbox .lightbox-close{
    top:8px !important;
    right:8px !important;
    width:38px !important;
    height:38px !important;
  }
  #lightboxThumbs button{
    flex-basis:62px !important;
    width:62px !important;
    height:46px !important;
  }
}

/* v18.24 — Program modal vize bağlantısı */
.programme-warning .programme-visa-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  margin-top:14px;
  padding:10px 14px;
  border:1px solid rgba(211,19,90,.28);
  border-radius:999px;
  background:#fff;
  color:#c8104d;
  font-weight:800;
  line-height:1.25;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.programme-warning .programme-visa-link:hover{
  transform:translateY(-1px);
  border-color:rgba(211,19,90,.52);
  box-shadow:0 8px 20px rgba(7,27,51,.10);
}
@media (max-width:640px){
  .programme-warning .programme-visa-link{width:100%;}
}


/* ===== HERO BASLIK RENK DUZELTMESI ===== */
.hero .hero-content h1 span {
  display: inline;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero .hero-content h1 .hero-title-white {
  color: #ffffff !important;
}

.hero .hero-content h1 .hero-title-accent {
  color: var(--red) !important;
}
