/* Turkey-approved destination pattern shared by country pages; North Cyprus is deliberately excluded. */
body.turkey-pattern-hero-page .country-background-hero {
  position: relative;
  padding: clamp(52px, 6vw, 88px) 0 !important;
  background-image:
    linear-gradient(90deg, rgba(3,25,50,.94) 0%, rgba(5,38,72,.86) 42%, rgba(6,39,72,.60) 70%, rgba(3,25,50,.74) 100%),
    var(--country-hero-image) !important;
  background-position: center var(--country-hero-position, 48%) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  isolation: isolate;
}
body.turkey-pattern-hero-page .country-background-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2,22,44,.10), rgba(2,22,44,.28));
  pointer-events: none;
}
body.turkey-pattern-hero-page .country-background-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(520px, 1.04fr);
  align-items: center;
  gap: clamp(34px, 4vw, 66px);
}
body.turkey-pattern-hero-page .country-background-hero .destination-hero-content { position: static !important; align-self: center; padding: 0 !important; }
body.turkey-pattern-hero-page .country-background-hero h1,
body.turkey-pattern-hero-page .country-background-hero .destination-hero-content > p,
body.turkey-pattern-hero-page .country-background-hero .breadcrumbs,
body.turkey-pattern-hero-page .country-background-hero .breadcrumbs span { color: #fff !important; }
body.turkey-pattern-hero-page .country-background-hero .landing-form-shell { width: 100%; max-width: none !important; margin: 0; border: 1px solid rgba(255,255,255,.24); box-shadow: 0 24px 55px rgba(1,18,38,.30); }
body.turkey-pattern-hero-page .country-background-hero .landing-lead-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 16px; }
body.turkey-pattern-hero-page .country-background-hero .landing-lead-form h2,
body.turkey-pattern-hero-page .country-background-hero .landing-lead-form label:last-of-type,
body.turkey-pattern-hero-page .country-background-hero .landing-lead-form button { grid-column: 1 / -1; }

/* Turkey card proportions, applied only to the nine requested non-UK destinations. */
body.country-turkey-card-page .turkey-pattern-university-section { padding-block: clamp(72px, 8vw, 112px) !important; background: linear-gradient(180deg,#edf4fa 0%,#fbfdff 45%,#eef5fa 100%) !important; }
body.country-turkey-card-page .turkey-pattern-university-section .section-head { max-width: 920px; margin: 0 auto 46px; text-align: center; }
body.country-turkey-card-page .turkey-pattern-university-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 30px !important; align-items: stretch; }
body.country-turkey-card-page .turkey-pattern-university-card { position: relative; display: flex !important; min-width: 0; height: 100%; flex-direction: column !important; overflow: hidden; padding: 0 !important; border: 1px solid #cfdeeb !important; border-radius: 26px !important; background: linear-gradient(145deg,#fff 0%,#f7fbff 100%) !important; box-shadow: 0 18px 44px rgba(5,35,67,.11) !important; isolation: isolate; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
body.country-turkey-card-page .turkey-pattern-university-card::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 3; height: 7px; background: linear-gradient(90deg,#073b70 0%,#0b64ad 52%,#f7bd18 52%,#ffd762 100%); pointer-events: none; }
body.country-turkey-card-page .turkey-pattern-university-card:hover { transform: translateY(-6px); border-color: #b9cfe3 !important; box-shadow: 0 26px 58px rgba(5,35,67,.17) !important; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-logo { position: relative; display: grid !important; width: 100% !important; height: 238px !important; min-height: 238px !important; flex: 0 0 238px !important; place-items: center !important; overflow: hidden !important; padding: 28px 34px 34px !important; border: 0 !important; border-bottom: 1px solid #d7e3ee !important; border-radius: 0 !important; background: radial-gradient(circle at 50% 40%,#fff 0%,#fff 48%,#edf5fb 100%) !important; box-shadow: inset 0 -6px 0 #f7bd18, inset 0 0 0 9px rgba(237,244,250,.92) !important; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-logo::before,
body.country-turkey-card-page .turkey-pattern-university-card .country-university-logo::after { content: none !important; display: none !important; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-logo img { display: block !important; width: 100% !important; height: 100% !important; max-width: 420px !important; max-height: 176px !important; object-fit: contain !important; object-position: center !important; filter: none !important; image-rendering: auto !important; transform: none !important; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-content { position: relative; display: flex !important; flex: 1; min-width: 0; height: auto !important; flex-direction: column; padding: 27px 28px 29px !important; background: linear-gradient(180deg,#fff 0%,#fbfdff 100%) !important; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-content::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg,#f7bd18,#ffd866); pointer-events: none; }
body.country-turkey-card-page .turkey-pattern-university-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
body.country-turkey-card-page .turkey-pattern-university-meta .country-university-type { display: inline-flex; align-items: center; min-height: 31px; margin: 0 !important; padding: 7px 11px !important; border-radius: 999px !important; background: #f7bd18 !important; color: #061f3d !important; font-size: .72rem !important; font-weight: 850 !important; letter-spacing: .035em; text-transform: uppercase; }
body.country-turkey-card-page .turkey-pattern-university-meta .country-university-location { display: inline-flex; align-items: center; gap: 7px; margin: 0 !important; color: #60778d !important; font-size: .78rem !important; font-weight: 750 !important; }
body.country-turkey-card-page .turkey-pattern-university-meta .country-university-location i { color: #d79d00; }
body.country-turkey-card-page .turkey-pattern-university-card h3 { position: relative; min-height: 2.5em; margin: 0 0 13px !important; padding-bottom: 12px !important; color: #06264b !important; font-size: clamp(1.35rem,1.65vw,1.58rem) !important; line-height: 1.22 !important; }
body.country-turkey-card-page .turkey-pattern-university-card h3::after { content: ""; position: absolute; bottom: 0; left: 0; width: 48px; height: 3px; border-radius: 99px; background: #0b5797; }
body.country-turkey-card-page .turkey-pattern-university-summary { min-height: 6em; margin: 0 0 16px !important; color: #536b82 !important; font-size: .9rem; line-height: 1.65; }
body.country-turkey-card-page .turkey-pattern-university-strength { margin: 0 0 16px; padding: 14px 15px; border-left: 4px solid #0b5797; border-radius: 0 13px 13px 0; background: #eef6fc; }
body.country-turkey-card-page .turkey-pattern-university-strength span { display: block; margin-bottom: 5px; color: #59748d; font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
body.country-turkey-card-page .turkey-pattern-university-strength strong { color: #103b66; font-size: .84rem; line-height: 1.5; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-fee { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px !important; padding: 14px !important; border: 1px solid #f1df9e; border-radius: 14px; background: #fff8df !important; color: #314b66; font-size: .84rem; line-height: 1.5; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-fee i { margin-top: 3px; color: #d79d00; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-programs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 22px !important; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-programs::before { content: "Major Study Fields"; flex: 0 0 100%; margin-bottom: 2px; color: #60778d; font-size: .7rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-programs a { display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #0b4c91; border-radius: 999px; background: #0b4c91; color: #fff; text-decoration: none; font-size: .74rem; font-weight: 800; box-shadow: 0 5px 12px rgba(11,76,145,.16); transition: transform 160ms ease,background-color 160ms ease,color 160ms ease,border-color 160ms ease,box-shadow 160ms ease; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-programs a:hover,
body.country-turkey-card-page .turkey-pattern-university-card .country-university-programs a:focus-visible { transform: translateY(-3px) scale(1.035); border-color: #f7bd18; background: #f7bd18; color: #061f3d; box-shadow: 0 9px 18px rgba(207,151,0,.25); outline: 0; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-actions { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; margin-top: auto !important; padding-top: 17px !important; border-top: 1px solid #e2ebf3; }
body.country-turkey-card-page .turkey-pattern-university-card .country-university-actions .btn { display: inline-flex !important; min-width: 0 !important; min-height: 48px; align-items: center !important; justify-content: center !important; padding: 11px 12px !important; border-radius: 12px !important; text-align: center; font-size: .8rem !important; font-weight: 800 !important; }

/* Requested popular-program icon treatment for every non-Turkey/non-North-Cyprus page. */
body.turkey-pattern-hero-page .program-grid span i.fa-graduation-cap { display: inline-flex !important; width: 48px !important; height: 48px !important; flex: 0 0 48px !important; align-items: center !important; justify-content: center !important; border-radius: 13px !important; background: #f7bd18 !important; color: #050505 !important; }

@media (max-width:1120px) {
  body.turkey-pattern-hero-page .country-background-hero-grid { grid-template-columns: 1fr; }
  body.turkey-pattern-hero-page .country-background-hero .landing-form-shell { max-width: 780px !important; }
  body.country-turkey-card-page .turkey-pattern-university-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:720px) {
  body.turkey-pattern-hero-page .country-background-hero { padding: 36px 0 44px !important; background-position: 58% center !important; }
  body.turkey-pattern-hero-page .country-background-hero .landing-lead-form,
  body.country-turkey-card-page .turkey-pattern-university-grid { grid-template-columns: 1fr !important; }
  body.country-turkey-card-page .turkey-pattern-university-card .country-university-logo { height: 210px !important; min-height: 210px !important; flex-basis: 210px !important; padding: 25px 30px 31px !important; }
  body.country-turkey-card-page .turkey-pattern-university-card .country-university-content { padding: 23px !important; }
}
@media (max-width:430px) {
  body.country-turkey-card-page .turkey-pattern-university-card .country-university-actions { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion:reduce) {
  body.country-turkey-card-page .turkey-pattern-university-card,
  body.country-turkey-card-page .turkey-pattern-university-card .country-university-programs a { transition: none !important; }
}

/* Beat the older editorial-country hero shorthand without changing shared legacy CSS. */
body.turkey-pattern-hero-page .destination-benchmark-hero.country-image-form-hero.country-background-hero {
  background-image:
    linear-gradient(90deg, rgba(3,25,50,.94) 0%, rgba(5,38,72,.86) 42%, rgba(6,39,72,.60) 70%, rgba(3,25,50,.74) 100%),
    var(--country-hero-image) !important;
  background-position: center var(--country-hero-position, 48%) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}