
/* 1. İzolasyon ve tema içerik genişliğinden bağımsız dış çerçeve */
#hej-home.hej-home {
  --hej-gutter: clamp(16px, 1.15vw, 24px);
  --hej-gap: clamp(16px, 1vw, 20px);
  --hej-ink: #15284c;
  --hej-muted: #486080;
  --hej-green: #075d55;
  --hej-coral: #f23555;
  --hej-blue: #0964de;
  --hej-border: #dae4ee;
  --level-a1: #197b66; --level-a1-soft: #d9eee3;
  --level-a2: #1470c8; --level-a2-soft: #deedf9;
  --level-b1: #ce3556; --level-b1-soft: #f5dfe7;
  --level-b2: #0b64c9; --level-b2-soft: #dce9f8;
  --level-c1: #7354bd; --level-c1-soft: #e9e3f6;
  --level-c2: #9841ad; --level-c2-soft: #f0e0f5;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  width: calc(100vw - var(--hej-gutter) - var(--hej-gutter));
  max-width: none;
  margin-block: 0;
  /* WordPress’in otomatik yan marjinlerini yalnızca bu bölümde aşar. */
  margin-inline: calc(50% - 50vw + var(--hej-gutter)) !important;
  padding: 0 0 clamp(20px, 2vw, 36px);
  color: var(--hej-ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
.hej-home *, .hej-home *::before, .hej-home *::after { box-sizing: border-box; }
.hej-home :is(h2, p, ul, li, figure, form, details) { margin: 0; padding: 0; }
.hej-home .hej-link, .hej-home .hej-button, .hej-home .hej-tile, .hej-home .hej-level {
  color: inherit; text-decoration: none; box-shadow: none;
}
.hej-home a:focus-visible, .hej-home summary:focus-visible,
.hej-home button:focus-visible, .hej-home input:focus-visible {
  outline: 3px solid var(--hej-blue); outline-offset: 4px;
}
.hej-home .hej-icon {
  display: block; flex: 0 0 auto; width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.hej-home .hej-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.hej-home .hej-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* 2. Üst menü */
.hej-home .hej-header {
  position: relative; z-index: 5; display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center; gap: clamp(14px, 1.4vw, 28px);
  padding: 6px 0 6px;
}
.hej-home .hej-brand {
  display: flex; flex-direction: column; align-items: center;
  width: clamp(176px, 12.5vw, 240px); color: var(--hej-muted);
}
.hej-home .hej-brand-logo { display: block; width: 100%; height: auto; border: 0; }
.hej-home .hej-tagline { font-size: clamp(10px, .75vw, 13px); line-height: 1.3; white-space: nowrap; }
.hej-home .hej-nav-list {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: clamp(6px, .55vw, 11px); list-style: none;
}
.hej-home .hej-desktop-nav { min-width: 0; }
.hej-home .hej-nav-list > li { margin: 0; padding: 0; list-style: none; }
.hej-home .hej-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 10px clamp(12px, 1.05vw, 20px);
  border: 1px solid #dbe4ec; border-radius: 999px;
  box-shadow: 0 2px 4px #15284c08, inset 0 1px 0 #ffffffa6;
  font-size: clamp(13px, .88vw, 16px); font-weight: 700;
  line-height: 1.2; white-space: nowrap;
}
.hej-home .hej-pill--learn { color: #fff; background: #08745b; border-color: #08614f; box-shadow: 0 3px 7px #08745b24; }
.hej-home .hej-pill--exam { color: #fff; background: #d92346; border-color: #c11e3e; box-shadow: 0 3px 7px #d9234624; }
.hej-home .hej-pill--prep { color: #803352; background: #fcf5f8; border-color: #e9d6df; }
.hej-home .hej-pill--words { color: #075aba; background: #edf5ff; }
.hej-home .hej-pill--video { color: var(--hej-ink); border-color: var(--hej-border); background: #fff; }
.hej-home .hej-pill--video .hej-icon { width: 23px; height: 23px; color: currentColor; }
.hej-home .hej-kids-logo {
  display: block; flex: 0 0 auto; width: clamp(44px, 3vw, 58px);
  height: auto; max-width: 100%; object-fit: contain; border: 0;
}
.hej-home .hej-pill--kids { padding: 6px 12px; }
.hej-home .hej-pill--kids .hej-kids-logo { width: clamp(80px, 5.4vw, 104px); }
.hej-home .hej-actions { display: flex; align-items: center; gap: clamp(8px, .75vw, 14px); }
.hej-home .hej-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 12px 21px; border: 1px solid transparent;
  border-radius: 999px; background: #fff; font-family: inherit;
  font-size: 15px; font-weight: 650; line-height: 1.25; cursor: pointer;
}
.hej-home .hej-button--login { border-color: #cddbe7; white-space: nowrap; }
.hej-home .hej-button--start { color: #fff; background: #e92e4e; white-space: nowrap; }
.hej-home .hej-disclosure > summary {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0; padding: 0;
  border: 1px solid transparent; border-radius: 50%;
  color: var(--hej-ink); background: transparent; cursor: pointer; list-style: none;
}
.hej-home .hej-disclosure > summary::-webkit-details-marker { display: none; }
.hej-home .hej-disclosure > summary::marker { content: ""; }
.hej-home .hej-disclosure[open] > summary { background: #edf5ff; }
.hej-home .hej-search > summary .hej-icon { width: 27px; height: 27px; }
.hej-home .hej-search-form, .hej-home .hej-mobile-panel {
  position: absolute; top: calc(100% - 8px); right: 0; z-index: 10;
  width: min(360px, 100%); padding: 20px;
  border: 1px solid var(--hej-border); border-radius: 18px;
  background: #fff; box-shadow: 0 14px 40px #15284c18;
}
.hej-home .hej-search-form label { display: block; margin-bottom: 10px; font-weight: 650; }
.hej-home .hej-search-row { display: flex; gap: 8px; }
.hej-home .hej-search-row input {
  min-width: 0; width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid #b8c9d9; border-radius: 10px;
  background: #fff; color: var(--hej-ink); font: inherit;
}
.hej-home .hej-search-row button { flex: 0 0 auto; padding: 10px 15px; }
.hej-home .hej-mobile-menu { display: block; }
.hej-home .hej-mobile-list { display: grid; gap: 8px; list-style: none; }
.hej-home .hej-mobile-list .hej-pill { display: flex; justify-content: flex-start; }
.hej-home .hej-mobile-account { display: none; gap: 10px; margin-top: 16px; }

/* 3. İki büyük ana kart */
.hej-home .hej-hero-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch; gap: var(--hej-gap);
}
.hej-home .hej-card {
  --hej-accent: var(--hej-green);
  --hej-underline: #a4dcb7;
  --hej-button-bg: #08745b;
  --hej-orb: #ddf1e5;
  min-width: 0; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid #cce8d680; border-radius: 24px;
  background: linear-gradient(115deg, #d8f1e0 0%, #ecf8f0 100%);
}
.hej-home .hej-card--exam {
  --hej-accent: var(--hej-coral);
  --hej-underline: #f7b2c0;
  --hej-button-bg: #e92e4e;
  --hej-orb: #fde5ec;
  border-color: #f2dbe580;
  background: linear-gradient(115deg, #faebef 0%, #fff6f8 100%);
}
.hej-home .hej-card-main {
  --hej-hero-pad: clamp(24px, 2vw, 40px);
  --hej-hero-gap: clamp(12px, 1.1vw, 22px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center; gap: var(--hej-hero-gap);
  min-height: clamp(360px, 28vw, 545px);
  padding: var(--hej-hero-pad);
}
.hej-home .hej-copy { position: relative; min-width: 0; z-index: 1; container-type: inline-size; }
.hej-home .hej-eyebrow {
  margin: 0 0 16px; color: var(--hej-accent);
  font-size: clamp(11px, .9vw, 16px); font-weight: 750;
  line-height: 1.5; letter-spacing: .025em;
}
.hej-home .hej-title {
  position: relative; display: inline-block; width: max-content; margin: 0 0 30px;
  color: var(--hej-accent);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(40px, 20cqw, 100px); font-weight: 900;
  line-height: 1.08; letter-spacing: -.055em; text-transform: none;
  white-space: nowrap; overflow-wrap: normal; word-break: normal; hyphens: none;
}
.hej-home .hej-title::after {
  content: ""; position: absolute; left: .015em; bottom: -.105em;
  width: 96%; height: .115em; border-radius: 999px;
  background: var(--hej-underline); transform: rotate(-1deg);
}
.hej-home .hej-sparks {
  position: absolute; left: calc(100% + .06em); top: -.16em;
  width: .38em; height: .47em; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round;
}
.hej-home .hej-description {
  margin: 0 0 24px; color: #173b57;
  font-size: clamp(17px, 1.45vw, 28px); font-weight: 500; line-height: 1.4;
}
.hej-home .hej-button--hero {
  max-width: 100%; min-height: clamp(48px, 3.2vw, 60px);
  padding: 14px clamp(18px, 1.6vw, 30px);
  color: #fff; background: var(--hej-button-bg);
  font-size: clamp(13px, 1.1vw, 20px); text-align: center;
}
.hej-home .hej-button--hero .hej-icon { width: 22px; height: 22px; }

/* Fotoğrafların kendi oranı korunur; kenar geçişleri kart rengine karışır. */
.hej-home .hej-card--learn { --hej-photo-width: 110%; --hej-photo-mobile-height: 330px; }
.hej-home .hej-card--exam { --hej-photo-width: 103%; --hej-photo-mobile-height: 309px; }
.hej-home .hej-visual {
  display: flex; align-items: center; justify-content: flex-end;
  position: relative; min-width: 0; align-self: stretch;
  margin-inline-start: calc(var(--hej-hero-gap) * -.7);
  margin-inline-end: calc(4px - var(--hej-hero-pad));
  pointer-events: none;
}
.hej-home .hej-visual-img {
  display: block; flex: 0 0 auto; width: var(--hej-photo-width); height: auto; max-width: none;
  object-fit: contain; object-position: center; border: 0;
  /* Merkez net kalır; her iki yan, üst ve alt kenar kademeli olarak saydamlaşır. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0007 4%, #000 12%, #000 88%, #0008 96%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 7%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #0007 4%, #000 12%, #000 88%, #0008 96%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 7%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Sağ fotoğrafta yüzler ve masa net kalır; beyaz kenarlar pembe zemine karışır. */
.hej-home .hej-card--exam { isolation: isolate; }
.hej-home .hej-card--exam .hej-visual-img {
  background: transparent; opacity: 1; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0002 2%, #0006 4%, #000d 7%, #000 11%, #000 89%, #000d 93%, #0006 96%, #0002 98%, transparent 100%), linear-gradient(180deg, #000 0%, #000 92%, #000d 95%, #0005 98%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #0002 2%, #0006 4%, #000d 7%, #000 11%, #000 89%, #000d 93%, #0006 96%, #0002 98%, transparent 100%), linear-gradient(180deg, #000 0%, #000 92%, #000d 95%, #0005 98%, transparent 100%);
}

/* 4. Genişletilebilir alt kartlar */
.hej-home .hej-card-bottom { margin-top: auto; padding: 0 clamp(18px, 1.35vw, 28px) 24px; }
.hej-home .hej-skill-grid, .hej-home .hej-level-grid {
  display: grid; gap: clamp(10px, .85vw, 16px); margin: 0; padding: 0; list-style: none;
}
.hej-home .hej-skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hej-home .hej-skill-grid > li, .hej-home .hej-level-grid > li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.hej-home .hej-tile, .hej-home .hej-level {
  height: 100%; border: 1px solid #ffffffb3; border-radius: 18px; background: #ffffffdb;
}
.hej-home .hej-tile {
  display: flex; align-items: center; gap: clamp(8px, .85vw, 16px);
  min-height: clamp(90px, 7.2vw, 134px); padding: clamp(12px, 1.1vw, 20px);
}
.hej-home .hej-orb {
  display: grid; place-items: center; flex: 0 0 auto;
  width: clamp(40px, 4vw, 72px); aspect-ratio: 1;
  border-radius: 50%; color: #126348; background: #e0f1e7;
}
.hej-home .hej-orb .hej-icon { width: 48%; height: 48%; }
.hej-home .hej-orb--blue { color: #075fe1; background: #ddecff; }
.hej-home .hej-orb--red { color: #cf2948; background: #fce2e7; }
.hej-home .hej-tile-copy { display: grid; gap: 4px; min-width: 0; }
.hej-home .hej-tile-title { font-size: clamp(14px, 1.2vw, 21px); font-weight: 750; line-height: 1.25; }
.hej-home .hej-tile-note { color: var(--hej-muted); font-size: clamp(11px, .85vw, 15px); line-height: 1.4; }
.hej-home .hej-level-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, .65vw, 12px); padding-top: 16px; }
.hej-home .hej-level {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-height: clamp(186px, 13vw, 240px); padding: 20px 7px 12px; text-align: center;
  background: linear-gradient(#ffffffc9, #ffffffc9), var(--hej-cover-bg, #fff);
}
.hej-home .hej-level > .hej-icon { color: var(--hej-cover-accent, var(--hej-blue)); width: 28px; height: 28px; }
.hej-home .hej-level-title { color: var(--hej-cover-accent, var(--hej-blue)); font-size: clamp(24px, 2.1vw, 38px); font-weight: 800; line-height: 1; }
.hej-home .hej-level-note { color: var(--hej-muted); font-size: clamp(11px, .8vw, 14px); line-height: 1.5; }
.hej-home .hej-level--popular { border-color: #e8aabd; background: var(--hej-cover-bg); box-shadow: 0 3px 10px #bd345016; }
.hej-home .hej-popular {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 5px 11px; border-radius: 999px; background: var(--hej-cover-accent, #e92e4e); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.hej-home .hej-level-arrow {
  display: grid; place-items: center; width: 32px; height: 32px;
  margin-top: auto; border-radius: 50%; color: var(--hej-cover-accent, #16497c); background: var(--hej-cover-bg, #eaf5ff);
}
.hej-home .hej-level-arrow .hej-icon { width: 18px; height: 18px; }
.hej-home .hej-level--popular .hej-level-arrow { background: var(--hej-cover-accent, #e92e4e); color: #fff; }
.hej-home .hej-exam-note {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  margin: 12px 0 0; padding: 10px 16px; border-radius: 12px; background: #ffffffd9;
  color: var(--hej-ink); font-size: clamp(11px, .8vw, 14px); line-height: 1.5;
}
.hej-home .hej-exam-note .hej-icon { width: 25px; height: 25px; flex: 0 0 auto; color: #0b4660; }
.hej-home .hej-exam-note a { margin-left: auto; color: #0b64c9; text-decoration: none; font-weight: 700; }

/* 5. Laptop, tablet ve telefon */
@media (max-width: 1230px) {
  .hej-home .hej-desktop-nav { display: none; }
  .hej-home .hej-header { grid-template-columns: minmax(0, 1fr) auto auto; }
  .hej-home .hej-mobile-menu { display: block; }
  .hej-home .hej-tile { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 1023px) {
  .hej-home .hej-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hej-home .hej-card-main { --hej-hero-pad: clamp(24px, 4vw, 40px); min-height: 360px; }
  .hej-home .hej-title { font-size: clamp(48px, 8.1vw, 82px); }
  .hej-home .hej-description { font-size: clamp(20px, 2.9vw, 27px); }
  .hej-home .hej-eyebrow { font-size: 13px; }
  .hej-home .hej-button--hero { font-size: 16px; }
  .hej-home .hej-tile { flex-direction: row; align-items: center; }
  .hej-home .hej-tile-title { font-size: 17px; }
  .hej-home .hej-tile-note { font-size: 13px; }
  .hej-home .hej-level-title { font-size: 30px; }
  .hej-home .hej-level-note { font-size: 12px; }
}
@media (max-width: 600px) {
  .hej-home .hej-header { gap: 6px; padding: 5px 0 5px; }
  .hej-home .hej-brand { width: clamp(140px, 42vw, 180px); }
  .hej-home .hej-tagline { font-size: 10px; }
  .hej-home .hej-actions > .hej-button { display: none; }
  .hej-home .hej-mobile-account { display: grid; }
  .hej-home .hej-card { border-radius: 21px; }
  .hej-home .hej-card-main { --hej-hero-pad: 18px; grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; padding: 20px 18px 8px; }
  .hej-home .hej-visual { margin-inline: 0; justify-content: center; }
  .hej-home .hej-title { font-size: clamp(36px, 10.5vw, 58px); margin-bottom: 18px; }
  .hej-home .hej-eyebrow { font-size: 10px; margin-bottom: 8px; }
  .hej-home .hej-description { font-size: 17px; margin-bottom: 12px; }
  .hej-home .hej-button--hero { min-height: 44px; padding: 10px 16px; font-size: clamp(13px, 3.5vw, 15px); gap: 8px; }
  .hej-home .hej-visual-img { width: auto; max-width: 100%; height: auto; max-height: clamp(130px, 34vw, 185px); margin-top: 8px; }
  .hej-home .hej-card-bottom { padding: 0 12px 14px; }
  .hej-home .hej-skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hej-home .hej-tile { flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 10px; min-height: 104px; }
  .hej-home .hej-orb { width: 36px; height: 36px; min-height: 36px; max-height: 36px; flex: 0 0 36px; }
  .hej-home .hej-orb .hej-icon { width: 19px; height: 19px; }
  .hej-home .hej-tile-title { font-size: 15px; }
  .hej-home .hej-tile-note { font-size: 11px; }
  .hej-home .hej-level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 10px; }
  .hej-home .hej-level { min-height: 210px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hej-home .hej-pill, .hej-home .hej-button, .hej-home .hej-tile, .hej-home .hej-level { transition: box-shadow .18s ease, transform .18s ease; }
}
@media (hover: hover) {
  .hej-home .hej-pill:hover, .hej-home .hej-button:hover { box-shadow: 0 4px 12px #15284c14; }
  .hej-home .hej-tile:hover, .hej-home .hej-level:hover { transform: translateY(-3px); box-shadow: 0 6px 16px #15284c14; }
}

/* 6. Yeni bölümlerin ortak düzeni */
.hej-home .hej-pill--courses { color: #075aba; background: #e8f4ff; }
.hej-home a[aria-disabled="true"] { cursor: default; }
.hej-home .hej-panel, .hej-home .hej-feature-grid, .hej-home .hej-social {
  margin-top: clamp(24px, 2vw, 40px); min-width: 0;
}
.hej-home .hej-panel {
  padding: clamp(20px, 1.8vw, 36px); border: 1px solid #e2edf5;
  border-radius: 24px; background: linear-gradient(120deg, #eaf6ff, #f7fbff);
}
.hej-home .hej-panel--stories {
  border-color: #f1e6c9; background: linear-gradient(120deg, #fff6dd, #fffdf5);
}
.hej-home .hej-section-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-bottom: 24px;
}
.hej-home .hej-section-intro { display: flex; align-items: center; gap: 16px; min-width: 0; }
.hej-home .hej-section-intro > div { min-width: 0; }
.hej-home .hej-section-emblem {
  display: grid; place-items: center; flex: 0 0 auto;
  width: clamp(48px, 4vw, 68px); aspect-ratio: 1; border-radius: 50%;
  color: #fff; background: linear-gradient(140deg, #218aff, #0754cf);
  box-shadow: 0 6px 16px #0864d51a;
}
.hej-home .hej-section-emblem .hej-icon { width: 48%; height: 48%; }
.hej-home .hej-section-emblem--stories { background: linear-gradient(140deg, #ffb731, #ef920b); }
.hej-home .hej-section-title, .hej-home .hej-feature-title {
  margin: 0; color: var(--hej-ink); font-family: inherit;
  font-size: clamp(24px, 2.05vw, 38px); font-weight: 800;
  line-height: 1.18; letter-spacing: -.025em; text-transform: none;
}
.hej-home .hej-section-note { margin-top: 8px; color: var(--hej-muted); font-size: clamp(14px, 1.05vw, 18px); }
.hej-home .hej-button--blue { color: #fff; background: #0863d9; }
.hej-home .hej-button--gold { color: #263044; background: #ffcf59; }
.hej-home .hej-button--blue, .hej-home .hej-button--gold { flex: 0 0 auto; }
.hej-home .hej-course-grid, .hej-home .hej-story-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1vw, 20px); min-width: 0; margin: 0; padding: 0; list-style: none;
}
.hej-home .hej-course-grid > li, .hej-home .hej-story-grid > li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.hej-home .hej-course-card, .hej-home .hej-story-card {
  display: flex; flex-direction: column; height: 100%; min-width: 0;
  padding: 8px; border: 1px solid #dce6ef; border-radius: 20px;
  color: var(--hej-ink); background: #ffffffeb; text-decoration: none;
  box-shadow: 0 4px 14px #17325005;
}
.hej-home .hej-media {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 10;
  border-radius: 14px; background: var(--hej-cover-bg, #e9f3fb);
}
.hej-home .hej-media > img {
  position: absolute; inset: 0; z-index: 1; display: block;
  width: 100%; height: 100%; max-width: 100%; object-fit: cover; border: 0;
}
.hej-home .hej-course-cover {
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 85% 15%, #ffffffd9, transparent 70%), var(--hej-cover-bg);
}
.hej-home .hej-course-cover::before {
  content: ""; position: absolute; width: 43%; height: 67%; border-radius: 14px;
  border: 2px solid #ffffffc4; background: #ffffff66; transform: rotate(-12deg);
  box-shadow: 9px 9px 0 #ffffff45;
}
.hej-home .hej-cover-art {
  position: relative; width: 27%; height: auto; aspect-ratio: 1;
  color: var(--hej-cover-accent); stroke-width: 1.25;
}
.hej-home .hej-course-badge {
  position: absolute; z-index: 2; top: 10px; left: 10px;
  padding: 5px 10px; border-radius: 9px; color: #fff;
  background: var(--hej-cover-accent); font-size: 15px; font-weight: 800; line-height: 1.2;
}
.hej-home .hej-video-count {
  position: absolute; z-index: 2; left: 10px; bottom: 10px;
  max-width: calc(100% - 65px); padding: 4px 8px; border-radius: 7px;
  color: #33465d; background: #fffffff0; font-size: 11px; font-weight: 650; line-height: 1.3;
}
.hej-home .hej-play {
  position: absolute; z-index: 2; right: 10px; bottom: 10px;
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid #ffffffc9; border-radius: 50%; color: #0863d9;
  background: #fff; box-shadow: 0 3px 12px #19375818;
}
.hej-home .hej-play .hej-icon { width: 18px; height: 18px; }
.hej-home .hej-card-caption { display: grid; gap: 6px; padding: 14px 7px 10px; }
.hej-home .hej-card-title {
  margin: 0; color: var(--hej-ink); font-family: inherit;
  font-size: clamp(15px, 1.1vw, 20px); font-weight: 750; line-height: 1.3;
  letter-spacing: -.015em; text-transform: none;
}
.hej-home .hej-card-description { color: var(--hej-muted); font-size: clamp(12px, .9vw, 15px); line-height: 1.45; }
.hej-home .hej-story-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hej-home .hej-story-card { border-color: #eee5cf; }
.hej-home .hej-story-card .hej-media { aspect-ratio: 16 / 10; }
.hej-home .hej-story-art { display: block; width: 100%; height: 100%; }
.hej-home .hej-story-card .hej-play { color: #bf6205; }

/* Prüfungstipps & Modelltests: her kart bir sınav videosunu ve iç sayfasını temsil eder. */
.hej-home .hej-panel--prep { border-color: #eddae5; background: linear-gradient(115deg, #faf0f6, #f8f5ff); scroll-margin-top: 24px; }
.hej-home .hej-section-emblem--prep { background: linear-gradient(140deg, #cc5f82, #9450a0); }
.hej-home .hej-prep-status {
  display: inline-flex; align-items: center; padding: 6px 11px;
  border: 1px solid #dfc3d3; border-radius: 999px;
  color: #7d3255; background: #fff7fb; font-size: 12px; font-weight: 700; line-height: 1.3;
}
.hej-home .hej-prep-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1vw, 20px); margin: 0; padding: 0; list-style: none;
}
.hej-home .hej-prep-item { min-width: 0; margin: 0; padding: 0; list-style: none; }
.hej-home .hej-prep-card {
  display: flex; flex-direction: column; height: 100%; min-width: 0; padding: 8px;
  border: 1px solid #eadfe8; border-radius: 20px; background: #fff;
  color: var(--hej-ink); text-decoration: none; box-shadow: 0 3px 12px #34294d05;
}
.hej-home .hej-prep-thumb {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  gap: 7px; width: 100%; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden;
  padding: clamp(17px, 1.4vw, 26px); border-radius: 14px;
  color: var(--hej-prep-accent); background: linear-gradient(125deg, var(--hej-prep-tint), #f7fafc);
}
.hej-home .hej-prep-thumb::before {
  content: ""; position: absolute; right: -16%; bottom: -74%; width: 90%; aspect-ratio: 1;
  border: 1px solid #ffffffbd; border-radius: 50%; background: #ffffff5c; pointer-events: none;
}

.hej-home .hej-prep-exam-badge {
  position: absolute; z-index: 1; left: 12px; top: 12px; padding: 5px 9px;
  border-radius: 8px; background: #ffffffef; color: var(--hej-prep-accent);
  font-size: 12px; font-weight: 800; line-height: 1.2;
}
.hej-home .hej-prep-thumb > .hej-prep-status { position: absolute; z-index: 1; right: 10px; top: 10px; }
.hej-home .hej-prep-thumb-topic {
  position: relative; margin-top: 28px; max-width: calc(100% - 54px);
  font-size: clamp(23px, 2vw, 38px); font-weight: 850; line-height: 1.1; letter-spacing: -.035em;
}
.hej-home .hej-prep-thumb-kicker { position: relative; font-size: clamp(10px, .7vw, 12px); font-weight: 650; letter-spacing: .06em; }
.hej-home .hej-prep-play {
  position: absolute; z-index: 1; top: 58%; right: clamp(14px, 1.5vw, 28px); transform: translateY(-50%);
  display: grid; place-items: center; width: clamp(46px, 3.7vw, 66px); aspect-ratio: 1;
  border: 1px solid #ffffffed; border-radius: 50%; color: #fff; background: var(--hej-prep-accent);
  box-shadow: 0 5px 15px #293c5e20;
}
.hej-home .hej-prep-play .hej-icon { width: 38%; height: 38%; margin-left: 3px; }
.hej-home .hej-prep-caption { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 9px 10px; }
.hej-home .hej-prep-card-title { margin: 0; font-size: clamp(17px, 1.3vw, 23px); line-height: 1.25; font-weight: 800; color: var(--hej-ink); }
.hej-home .hej-prep-card-text { color: var(--hej-muted); font-size: 14px; line-height: 1.5; }
.hej-home .hej-prep-card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: var(--hej-prep-accent); font-size: 13px; font-weight: 650; }
.hej-home .hej-prep-card-foot .hej-icon { width: 18px; height: 18px; }
/* Yakında kartları bağlantı içermez. Her video tek başına açılıp kapatılır. */
.hej-home .hej-prep-item > .hej-prep-ready { display: none; }
.hej-home .hej-prep-item[data-hej-durum="acik"] > .hej-prep-ready { display: flex; }
.hej-home .hej-prep-item[data-hej-durum="acik"] > .hej-prep-soon,
.hej-home .hej-prep-item[data-hej-durum="kapali"] { display: none; }
.hej-home .hej-panel--prep:has(.hej-prep-item[data-hej-durum="acik"]) .hej-prep-overall-status { display: none; }
@media (max-width: 1000px) { .hej-home .hej-prep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .hej-home .hej-prep-grid { grid-template-columns: minmax(0, 1fr); }
  .hej-home .hej-prep-thumb-topic { font-size: clamp(26px, 7.5vw, 38px); }
}
@media (hover: hover) {
  .hej-home .hej-prep-ready:hover { border-color: #bd89a9; box-shadow: 0 6px 18px #6a386d12; }
  .hej-home .hej-pill--learn:hover { background: #065f4b; }
  .hej-home .hej-pill--exam:hover { background: #be1939; }
}

/* 7. Wortkarten ve LiD: yalnızca iki büyük kart */
.hej-home .hej-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hej-gap); }
.hej-home .hej-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center; gap: 20px; min-width: 0;
  padding: clamp(24px, 1.8vw, 36px); border: 1px solid #e4dff3; border-radius: 24px;
  background: linear-gradient(120deg, #f2eaff, #eaf3ff);
}
.hej-home .hej-feature--lid { border-color: #f0e3bf; background: linear-gradient(120deg, #fff5dc, #fffbee); }
.hej-home .hej-feature-copy { min-width: 0; }
.hej-home .hej-feature-title { font-size: clamp(25px, 2vw, 36px); }
.hej-home .hej-feature-copy .hej-section-note { margin-top: 12px; }
.hej-home .hej-feature-copy > .hej-button { margin-top: 24px; }
.hej-home .hej-feature-tags, .hej-home .hej-lid-facts {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none;
}
.hej-home .hej-feature-tags > li, .hej-home .hej-lid-facts > li {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 6px 9px; border-radius: 9px; color: #4d397f;
  background: #ffffff9e; font-size: 13px; font-weight: 650; list-style: none;
}
.hej-home .hej-lid-facts > li { color: #805412; }
.hej-home .hej-lid-facts .hej-icon { width: 17px; height: 17px; }
.hej-home .hej-flashcards {
  display: flex; align-items: center; justify-content: center;
  min-width: 0; min-height: 230px; padding: 26px 12px;
}
.hej-home .hej-flashcard {
  position: relative; display: grid; grid-template-rows: 1fr auto; align-items: center;
  flex: 0 1 134px; min-width: 0; aspect-ratio: 3 / 4; margin: 0 -5px;
  padding: 15px 6px 12px; border: 1px solid #dfdef1; border-radius: 14px;
  background: #fff; text-align: center; box-shadow: 0 9px 18px #33286222;
}
.hej-home .hej-flashcard:first-child { transform: rotate(-12deg) translateY(9px); box-shadow: -9px -8px 0 #b7e4db, 0 9px 18px #33286222; }
.hej-home .hej-flashcard:nth-child(2) { z-index: 1; transform: rotate(-2deg) translateY(-8px); }
.hej-home .hej-flashcard:last-child { transform: rotate(12deg) translateY(9px); box-shadow: 8px -8px 0 #e8cdf7, 0 9px 18px #33286222; }
.hej-home .hej-word-art { display: block; width: 100%; max-height: 108px; aspect-ratio: 1; }
.hej-home .hej-flashcard figcaption { color: #203655; font-size: clamp(12px, 1vw, 17px); font-weight: 700; white-space: normal; }
.hej-home .hej-lid-art { display: block; width: 100%; max-height: 275px; height: auto; }

/* 8. Sosyal medya: bağımsız kapanış satırı */
.hej-home .hej-social {
  display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  align-items: center; gap: 24px; padding: clamp(22px, 1.8vw, 36px);
  border: 1px solid #dfedf6; border-radius: 24px;
  background: linear-gradient(110deg, #eff8ff, #f7fbff);
}
.hej-home .hej-social .hej-section-title { font-size: clamp(23px, 1.8vw, 32px); }
.hej-home .hej-social .hej-section-note { font-size: 15px; }
.hej-home .hej-social-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; margin: 0; padding: 0; min-width: 0; list-style: none;
}
.hej-home .hej-social-list > li { min-width: 0; list-style: none; }
.hej-home .hej-social-link {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px; min-height: 90px; height: 100%; padding: 12px 7px;
  border: 1px solid #dfebf4; border-radius: 16px;
  color: var(--hej-ink); background: #ffffffc9; text-decoration: none;
}
.hej-home .hej-social-mark {
  display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px;
  border-radius: 11px; color: #214f78; background: #e7f1fa;
}
.hej-home .hej-social-mark .hej-icon { width: 25px; height: 25px; }
.hej-home .hej-social-mark--kids { width: 76px; background: transparent; border-radius: 0; }
.hej-home .hej-social-mark--kids .hej-kids-logo { width: 100%; }
.hej-home .hej-social-copy { display: grid; gap: 2px; text-align: center; }
.hej-home .hej-social-copy strong { font-size: 14px; line-height: 1.25; }
.hej-home .hej-social-copy small { color: var(--hej-muted); font-size: 12px; }

/* 9. Yeni bölümlerin ekran uyarlamaları; üst kart oranları korunur. */
@media (max-width: 1199px) {
  .hej-home .hej-course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hej-home .hej-story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hej-home .hej-feature { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hej-home .hej-social { grid-template-columns: minmax(0, 1fr); }
  .hej-home .hej-flashcards { max-width: 410px; width: 100%; justify-self: center; }
}
@media (max-width: 700px) {
  .hej-home .hej-panel, .hej-home .hej-feature, .hej-home .hej-social { border-radius: 21px; }
  .hej-home .hej-section-head { gap: 16px; margin-bottom: 20px; }
  .hej-home .hej-section-intro { align-items: flex-start; gap: 12px; }
  .hej-home .hej-section-emblem { width: 44px; }
  .hej-home .hej-section-title { font-size: clamp(22px, 5.4vw, 30px); }
  .hej-home .hej-section-note { font-size: 14px; }
  .hej-home .hej-course-grid, .hej-home .hej-story-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(210px, 82%);
    max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scroll-padding-inline: 4px;
    padding: 4px 4px 16px; scrollbar-width: thin; scrollbar-color: #adc3d8 transparent;
  }
  .hej-home .hej-course-grid > li, .hej-home .hej-story-grid > li { scroll-snap-align: start; }
  .hej-home .hej-card-title { font-size: 18px; }
  .hej-home .hej-card-description { font-size: 14px; }
  .hej-home .hej-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .hej-home .hej-feature-copy > .hej-button { max-width: 100%; }
  .hej-home .hej-flashcards { min-height: 215px; }
  .hej-home .hej-flashcard figcaption { font-size: 13px; }
  .hej-home .hej-social-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hej-home .hej-social-link { flex-direction: column; flex-wrap: nowrap; }
}
@media (max-width: 400px) {
  .hej-home .hej-section-intro { display: block; }
  .hej-home .hej-section-emblem { margin-bottom: 12px; }
  .hej-home .hej-social-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .hej-home .hej-course-card, .hej-home .hej-story-card, .hej-home .hej-social-link {
    transition: transform .18s ease, box-shadow .18s ease;
  }
}
@media (hover: hover) {
  .hej-home .hej-course-card:hover, .hej-home .hej-story-card:hover,
  .hej-home .hej-social-link[href]:hover { transform: translateY(-3px); box-shadow: 0 9px 24px #203f5d14; }
}


/* 10. Sade altbilgi; diğer WordPress sayfalarını etkilemez. */
body:has(#hej-home) #colophon.site-footer { display: none; }
.hej-home .hej-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; margin-top: 26px; padding: 18px 4px 0;
  border-top: 1px solid var(--hej-border); color: var(--hej-muted); font-size: 13px;
}
.hej-home .hej-footer-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; list-style: none;
}
.hej-home .hej-footer-links li { display: inline-flex; align-items: center; gap: 12px; list-style: none; }
.hej-home .hej-footer-links li + li::before { content: "·"; }
.hej-home .hej-footer-links a { display: inline-block; padding: 4px 0; }
.hej-home .hej-footer-links a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .hej-home .hej-footer { justify-content: center; text-align: center; }
  .hej-home .hej-footer-links { justify-content: center; }
}

/* BÖLÜM AÇ / KAPAT: ayarlar HTML dosyasının ilk section etiketindedir. */
#hej-home[data-hej-menu="kapali"] .hej-header { display: none; }
#hej-home[data-hej-lernen="kapali"] .hej-card--learn,
#hej-home[data-hej-lernen="kapali"] [data-hej-nav="lernen"] { display: none; }
#hej-home[data-hej-pruefungen="kapali"] .hej-card--exam,
#hej-home[data-hej-pruefungen="kapali"] [data-hej-nav="pruefungen"] { display: none; }
#hej-home[data-hej-modelltests="kapali"] #hej-pruefungstipps-modelltests,
#hej-home[data-hej-modelltests="kapali"] [data-hej-nav="modelltests"] { display: none; }
#hej-home[data-hej-kurse="kapali"] #hej-kurse,
#hej-home[data-hej-kurse="kapali"] [data-hej-nav="kurse"] { display: none; }
#hej-home[data-hej-geschichten="kapali"] #hej-geschichten { display: none; }
#hej-home[data-hej-wortkarten="kapali"] .hej-feature--words,
#hej-home[data-hej-wortkarten="kapali"] [data-hej-nav="wortkarten"] { display: none; }
#hej-home[data-hej-lid="kapali"] .hej-feature--lid { display: none; }
#hej-home[data-hej-social="kapali"] #hej-social { display: none; }
#hej-home[data-hej-footer="kapali"] .hej-footer { display: none; }

/* Bir eş kart kapanırsa diğeri boşluğu doldurur; ikisi kapanırsa satır kalkar. */
#hej-home[data-hej-lernen="kapali"] .hej-hero-grid,
#hej-home[data-hej-pruefungen="kapali"] .hej-hero-grid,
#hej-home[data-hej-wortkarten="kapali"] .hej-feature-grid,
#hej-home[data-hej-lid="kapali"] .hej-feature-grid { grid-template-columns: minmax(0, 1fr); }
#hej-home[data-hej-lernen="kapali"][data-hej-pruefungen="kapali"] .hej-hero-grid,
#hej-home[data-hej-wortkarten="kapali"][data-hej-lid="kapali"] .hej-feature-grid { display: none; }


/* 11. Alt menüler, merkezi kapaklar ve kategoriler — yalnız HEJlearn içinde. */
.hej-home [hidden] { display: none !important; }
.hej-home .hej-header { z-index: 30; }
.hej-home .hej-menu-group { position: relative; }
.hej-home .hej-nav-trigger > summary { list-style: none; cursor: pointer; }
.hej-home .hej-nav-trigger > summary::-webkit-details-marker { display: none; }
.hej-home .hej-nav-trigger > summary::marker { content: ""; }
.hej-home .hej-menu-row { gap: 0; width: max-content; max-width: 100%; }
.hej-home .hej-nav-trigger[open] > summary { box-shadow: 0 4px 12px #15284c20; }
.hej-home .hej-dropdown-panel {
  display: none; position: absolute; z-index: 40; top: calc(100% + 8px); left: 0;
  width: min(290px, calc(100vw - 2 * var(--hej-gutter))); padding: 10px;
  border: 1px solid var(--hej-border);
  border-radius: 15px; background: #fff; box-shadow: 0 12px 30px #15284c1c;
}
.hej-home .hej-desktop-nav .hej-menu-group:nth-last-child(-n+3) > .hej-dropdown-panel { left: auto; right: 0; }
/* Fare başlıktan panele geçerken aradaki boşluk da aktif alanın içindedir. */
.hej-home .hej-desktop-nav .hej-dropdown-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
@media (min-width: 1231px) and (hover: hover) and (pointer: fine) {
  .hej-home .hej-desktop-nav .hej-menu-group:hover > .hej-dropdown-panel,
  .hej-home .hej-desktop-nav .hej-menu-group:focus-within > .hej-dropdown-panel { display: block; }
}
.hej-home .hej-nav-trigger[open] + .hej-dropdown-panel { display: block; }
.hej-home .hej-menu-group.hej-escape-closed > .hej-dropdown-panel { display: none; }
.hej-home .hej-menu-overview {
  display: block; margin-bottom: 6px; padding: 7px 8px;
  border-bottom: 1px solid #e8eef3; color: var(--hej-blue);
  font-size: 12px; font-weight: 750; text-decoration: none;
}
.hej-home .hej-menu-overview:hover { text-decoration: underline; }
.hej-home .hej-menu-grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 4px; margin: 0; padding: 0; list-style: none;
}
.hej-home .hej-menu-grid--levels { grid-template-columns: minmax(0, 1fr); }
.hej-home .hej-menu-grid > li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.hej-home .hej-menu-card {
  display: flex; align-items: center; gap: 12px; min-width: 0; height: 100%;
  min-height: 46px; padding: 8px 9px; border: 1px solid transparent; border-radius: 10px;
  color: var(--hej-ink); background: #f8fbfd; text-decoration: none; line-height: 1.3;
}
.hej-home .hej-menu-card > .hej-icon { width: 22px; height: 22px; color: var(--hej-green); }
.hej-home .hej-menu-card > span:last-child { display: grid; min-width: 0; gap: 3px; }
.hej-home .hej-menu-card strong { font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.hej-home .hej-menu-card small { font-size: 10px; color: var(--hej-muted); overflow-wrap: anywhere; }
.hej-home .hej-menu-card:hover { border-color: #adc8db; background: #f0f7fc; }
.hej-home .hej-menu-level { flex: 0 0 30px; font-size: 19px; font-weight: 850; line-height: 1; color: var(--hej-level); }
.hej-home [data-hej-level="a1"] { --hej-level: var(--level-a1); --hej-level-soft: var(--level-a1-soft); }
.hej-home [data-hej-level="a2"] { --hej-level: var(--level-a2); --hej-level-soft: var(--level-a2-soft); }
.hej-home [data-hej-level="b1"] { --hej-level: var(--level-b1); --hej-level-soft: var(--level-b1-soft); }
.hej-home [data-hej-level="b2"] { --hej-level: var(--level-b2); --hej-level-soft: var(--level-b2-soft); }
.hej-home [data-hej-level="c1"] { --hej-level: var(--level-c1); --hej-level-soft: var(--level-c1-soft); }
.hej-home [data-hej-level="c2"] { --hej-level: var(--level-c2); --hej-level-soft: var(--level-c2-soft); }
.hej-home .hej-menu-card[data-hej-level] { background: linear-gradient(90deg, var(--hej-level-soft), #ffffff); align-items: center; }
.hej-home .hej-menu-card[data-hej-level] .hej-menu-level { padding-top: 2px; }
.hej-home .hej-mobile-menu > summary { border-color: var(--hej-border); background: #fff; box-shadow: 0 2px 5px #15284c09; }
.hej-home .hej-mobile-menu[open] > summary { background: #edf5ff; }
.hej-home .hej-mobile-panel {
  width: min(420px, 100%); max-height: min(75dvh, 720px); overflow-y: auto;
  overscroll-behavior: contain; scrollbar-width: thin;
}
.hej-home .hej-drawer-title { font-size: 16px; font-weight: 750; margin: 0 0 16px; }
.hej-home .hej-drawer .hej-menu-row { width: 100%; justify-content: flex-start; }
.hej-home .hej-drawer .hej-dropdown-panel {
  position: static; width: 100%; padding: 10px 0 2px; border: 0;
  background: transparent; box-shadow: none;
}
.hej-home .hej-drawer .hej-nav-trigger:not([open]) + .hej-dropdown-panel { display: none; }
.hej-home .hej-drawer .hej-menu-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.hej-home .hej-drawer .hej-menu-card { min-height: 50px; padding: 10px; }
.hej-home .hej-drawer .hej-menu-level { font-size: 22px; }
.hej-home .hej-drawer .hej-menu-row .hej-kids-logo { width: 104px; }
.hej-home .hej-orb { position: relative; box-shadow: inset 0 1px 0 #fffaf8, 0 4px 12px #14403712; }
.hej-home .hej-orb::after {
  content: ""; position: absolute; inset: 4px; border: 1px solid #ffffffad;
  border-radius: 50%; pointer-events: none;
}
.hej-home .hej-menu-card > .hej-icon { border-radius: 7px; filter: drop-shadow(0 2px 2px #102f4514); }
.hej-home .hej-mobile-account { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hej-home .hej-mobile-account .hej-button { white-space: normal; font-size: 13px; padding: 10px 8px; }
.hej-home a[aria-disabled="true"] { opacity: .72; cursor: default; }
.hej-home .hej-story-brand { display: flex; flex: 0 0 auto; align-items: center; width: clamp(112px, 10vw, 180px); }
.hej-home .hej-story-brand img { display: block; width: 100%; height: auto; object-fit: contain; }
.hej-home .hej-video-thumbnail {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; border: 0; opacity: 0;
}
.hej-home .hej-has-thumbnail .hej-video-thumbnail { opacity: 1; }
.hej-home .hej-has-thumbnail > :is(.hej-cover-art, .hej-story-art, .hej-prep-thumb-topic, .hej-prep-thumb-kicker) { visibility: hidden; }
.hej-home .hej-course-badge, .hej-home .hej-video-count, .hej-home .hej-prep-exam-badge { z-index: 2; }
.hej-home .hej-prep-play { z-index: 2; }
.hej-home .hej-flashcard { grid-template-rows: minmax(50px, 1fr) auto; gap: 8px; }
.hej-home .hej-flashcard-icon { width: 40px; height: 40px; justify-self: center; color: #246a80; }
.hej-home .hej-flashcard:nth-child(2) .hej-flashcard-icon { color: var(--level-b2); }
.hej-home .hej-flashcard:last-child .hej-flashcard-icon { color: var(--level-c1); }
.hej-home .hej-flashcard figcaption {
  white-space: normal; overflow-wrap: anywhere; font-size: clamp(11px, .86vw, 15px);
  line-height: 1.25; padding: 0 3px;
}
.hej-home .hej-flashcard figcaption small { display: block; margin-top: 9px; font-size: 10px; font-weight: 500; color: var(--hej-muted); line-height: 1.4; }
.hej-home .hej-social-copy { min-width: 0; overflow-wrap: anywhere; }
.hej-home .hej-social-copy strong { font-size: 13px; }
#hej-home[data-hej-geschichten="kapali"] [data-hej-nav="geschichten"],
#hej-home[data-hej-lid="kapali"] [data-hej-nav="lid"] { display: none; }
@media (min-width: 1231px) and (max-width: 1500px) {
  .hej-home .hej-header { gap: 10px; }
  .hej-home .hej-menu-row { padding-inline: 8px; }
  .hej-home .hej-pill--kids .hej-kids-logo { width: 80px; }
  .hej-home .hej-actions { gap: 8px; }
  .hej-home .hej-actions > .hej-button { padding-inline: 14px; font-size: 13px; }
}
@media (hover: none), (pointer: coarse) {
  .hej-home .hej-desktop-nav { display: none; }
  .hej-home .hej-header { grid-template-columns: minmax(0, 1fr) auto auto; }
}
@media (max-width: 600px) {
  .hej-home .hej-mobile-panel { padding: 14px; }
  .hej-home .hej-exam-note { gap: 7px; padding: 9px 10px; font-size: 11px; }
  .hej-home .hej-exam-note > span { flex: 1; min-width: 0; }
  .hej-home .hej-exam-note a { margin-left: 32px; }
  .hej-home .hej-story-brand { width: 124px; margin-bottom: 6px; }
  .hej-home .hej-flashcard figcaption { font-size: 11px; }
  .hej-home .hej-flashcard-icon { width: 32px; height: 32px; }
  .hej-home .hej-social-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 12. İki katmanlı hero başlığı: Deutsch büyük, Lernen/Prüfungen daha güçlü. */
.hej-home .hej-language-label {
  display: block; margin: 0 0 .13em; color: var(--hej-accent); opacity: .78;
  font-family: inherit; font-size: .68em; font-weight: 600; line-height: 1;
  letter-spacing: -.035em; white-space: nowrap;
}
.hej-home .hej-title::after { content: none; }
.hej-home .hej-title-main { display: block; position: relative; width: max-content; }
.hej-home .hej-title-main::after {
  content: ""; position: absolute; left: .015em; bottom: -.105em;
  width: 96%; height: .115em; border-radius: 999px;
  background: var(--hej-underline); transform: rotate(-1deg);
}
@media (min-width: 1024px) {
  /* Referanstaki daha toplu üst alan; görsellerin oranları değişmez. */
  .hej-home .hej-card-main { min-height: clamp(360px, 24vw, 485px); }
}

/* Altı seviye normal akışta kalır: görsellerle veya beceri kartlarıyla örtüşmez. */
.hej-home .hej-learn-levels { margin: 0 0 20px; min-width: 0; }
.hej-home .hej-learn-levels-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 10px; padding: 0; color: var(--hej-ink); font-family: inherit;
  font-size: clamp(15px, 1.05vw, 19px); font-weight: 750; line-height: 1.3;
  letter-spacing: -.015em; text-transform: none;
}
.hej-home .hej-learn-levels-title::after {
  content: ""; flex: 1; height: 1px; background: #0c71622b;
}
.hej-home .hej-level-heading-sparks {
  flex: 0 0 20px; width: 20px; height: 24px;
  color: var(--hej-green); fill: none; stroke: currentColor;
  stroke-width: 5; stroke-linecap: round;
}
.hej-home .hej-learn-level-list {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(7px, .65vw, 12px); margin: 0; padding: 0; list-style: none;
}
.hej-home .hej-learn-level-list > li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.hej-home .hej-learn-level-button {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; min-width: 0; min-height: 82px; padding: 10px 6px;
  border: 1px solid #ffffffb3; border-radius: 18px;
  color: var(--hej-level);
  background: linear-gradient(135deg, #ffffff80, #ffffff10), var(--hej-level-soft);
  font-size: clamp(22px, 1.65vw, 29px); font-weight: 800; line-height: 1.1;
  text-decoration: none; white-space: nowrap; box-shadow: 0 3px 7px #193d4214;
}
.hej-home .hej-learn-level-symbol { width: 25px; height: 25px; flex: 0 0 auto; }
.hej-home .hej-learn-level-caption { display: inline-flex; align-items: center; gap: 8px; }
.hej-home .hej-learn-level-arrow { width: 17px; height: 17px; flex: 0 0 auto; }

/* Alt alanlarda aynı marka: logo tek kaynaktan gelir, yeni görsel oluşturulmaz. */
.hej-home .hej-section-brand {
  display: block; flex: 0 0 auto; width: clamp(130px, 10vw, 175px);
  height: auto; aspect-ratio: 1266 / 274; max-width: 100%; overflow: visible;
}
.hej-home .hej-section-intro--branded { gap: clamp(18px, 1.6vw, 30px); }
.hej-home .hej-feature-brand { width: clamp(140px, 10vw, 175px); margin: 0 0 16px; }
.hej-home .hej-section-language {
  display: block; margin: 0 0 5px; color: inherit;
  font-size: clamp(18px, 1.35vw, 25px); font-weight: 700; line-height: 1.15;
  letter-spacing: .025em;
}
.hej-home #hej-kurse-title { color: #14638b; }
.hej-home #hej-prep-title { color: #963e66; }
.hej-home #hej-geschichten-title { color: #8d581b; }
.hej-home #hej-wortkarten-title { color: #6b479a; }
@media (max-width: 700px) {
  .hej-home .hej-section-intro--branded { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hej-home .hej-section-brand { width: 140px; }
}
@media (max-width: 600px) {
  /* Mevcut kısa mobil hero/görsel düzeni ve beceri kartları korunur. */
  .hej-home .hej-language-label { font-size: .62em; margin-bottom: .14em; }
  .hej-home .hej-learn-levels { margin-bottom: 14px; }
  .hej-home .hej-learn-levels-title { font-size: 14px; gap: 8px; }
  .hej-home .hej-level-heading-sparks { flex-basis: 16px; width: 16px; height: 20px; }
  .hej-home .hej-learn-level-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hej-home .hej-learn-level-button {
    flex-direction: row; gap: 8px; min-height: 48px; padding: 8px 6px;
    border-radius: 13px; font-size: 19px;
  }
  .hej-home .hej-learn-level-symbol { width: 19px; height: 19px; }
  .hej-home .hej-learn-level-arrow { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hej-home .hej-learn-level-button { transition: box-shadow .18s ease, transform .18s ease; }
}
@media (hover: hover) {
  .hej-home .hej-learn-level-button:hover { border-color: currentColor; box-shadow: 0 5px 12px #193d4222; }
}

/* 12. Smart sticky header: aşağı kaydırırken gizlenir, yukarı kaydırınca geri gelir. */
.hej-home .hej-header {
  position: sticky; top: 0; z-index: 70;
  transform: translate3d(0, 0, 0);
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform .20s ease;
  will-change: transform;
}
.hej-home .hej-header.hej-header--hidden {
  transform: translate3d(0, calc(-100% - 14px), 0);
  pointer-events: none;
}
.hej-home .hej-header.hej-header--scrolled {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.admin-bar .hej-home .hej-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hej-home .hej-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .hej-home .hej-header { transition: none; }
}

/* Prüfungen: her sınav adı kendi seviyesinin renginde ince çerçeveli etiket olarak görünür. */
.hej-home .hej-level--split .hej-level-main-link {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 100%; color: inherit; text-decoration: none;
}
.hej-home .hej-level--split .hej-level-main-link > .hej-icon {
  color: var(--hej-cover-accent, var(--hej-blue)); width: 28px; height: 28px;
}
.hej-home .hej-level-note.hej-exam-chip-list {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 100%; line-height: 1.2;
}
.hej-home .hej-exam-chip,
.hej-home .hej-level-testdaf {
  display: inline-flex; align-items: center; justify-content: center;
  max-width: 100%; padding: 2px 8px;
  border: 1px solid color-mix(in srgb, var(--hej-cover-accent, #7354bd) 34%, white);
  border-radius: 999px; color: var(--hej-cover-accent, #7354bd); background: #ffffffb8;
  font-size: clamp(10px, .7vw, 12px); font-weight: 750; line-height: 1.3;
  text-align: center; text-decoration: none; white-space: nowrap;
}
.hej-home .hej-level-testdaf { font-weight: 850; }
.hej-home .hej-level--split .hej-level-arrow { text-decoration: none; }
@media (hover: hover) {
  .hej-home .hej-level-testdaf:hover { background: #fff; box-shadow: 0 3px 10px #15284c12; }
}

/* 13. HEJlearn watermarkları — gerçek logo doğrudan SVG olarak kullanılır.
   Bölümler arasındaki boşluğu gereksiz büyütmeden görünür kalır. */
.hej-home .hej-page-watermark {
  position: relative; z-index: 2;
  height: clamp(28px, 2.6vw, 40px);
  margin: 2px 0 -6px;
  overflow: visible; pointer-events: none; user-select: none;
}
.hej-home .hej-page-watermark-logo {
  position: absolute; top: 50%; display: block;
  width: min(23vw, 350px); height: auto; aspect-ratio: 1266 / 274;
  opacity: .12;
  transform: translateY(-50%) rotate(-2deg);
}
.hej-home .hej-page-watermark--right .hej-page-watermark-logo { right: 7%; }
.hej-home .hej-page-watermark--left .hej-page-watermark-logo { left: 7%; transform: translateY(-50%) rotate(2deg); }
.hej-home .hej-page-watermark--soft .hej-page-watermark-logo { opacity: .10; width: min(21vw, 320px); }
/* Watermarktan sonraki bölümün kendi üst boşluğunu küçült: iki bölüm arası şişmesin. */
.hej-home .hej-page-watermark + .hej-panel,
.hej-home .hej-page-watermark + .hej-feature-grid,
.hej-home .hej-page-watermark + .hej-social { margin-top: 2px; }
@media (max-width: 700px) {
  .hej-home .hej-page-watermark { height: 28px; margin: 2px 0 -5px; overflow: hidden; }
  .hej-home .hej-page-watermark-logo { width: min(48vw, 240px); opacity: .10; }
  .hej-home .hej-page-watermark--right .hej-page-watermark-logo { right: 2%; }
  .hej-home .hej-page-watermark--left .hej-page-watermark-logo { left: 2%; }
  .hej-home .hej-page-watermark--soft .hej-page-watermark-logo { width: min(45vw, 225px); opacity: .09; }
  .hej-home .hej-page-watermark + .hej-panel,
  .hej-home .hej-page-watermark + .hej-feature-grid,
  .hej-home .hej-page-watermark + .hej-social { margin-top: 2px; }
}
/* 1.0.8: Desktop hero photos occupy the visual area like the approved reference.
   Copy keeps its original width; the photo is layered behind it with a soft masked edge. */
@media (min-width: 1024px) {
  .hej-home .hej-card-main { position: relative; }
  .hej-home .hej-card-main > .hej-visual {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    margin: 0;
    align-self: auto;
    align-items: flex-start;
    justify-content: flex-end;
  }
  .hej-home .hej-card--learn .hej-visual { width: 69%; }
  .hej-home .hej-card--exam .hej-visual { width: 64%; right: -1%; }
  .hej-home .hej-card-main > .hej-visual .hej-visual-img {
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: right top;
  }
  .hej-home .hej-card--learn .hej-visual-img { width: 108%; }
  .hej-home .hej-card--exam .hej-visual-img {
    width: 103%;
    object-position: right center;
    transform: translateX(6%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0002 6%, #0008 11%, #000 18%, #000 90%, #0009 95%, transparent 100%), linear-gradient(180deg, #000 0%, #000 92%, #000c 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #0002 6%, #0008 11%, #000 18%, #000 90%, #0009 95%, transparent 100%), linear-gradient(180deg, #000 0%, #000 92%, #000c 96%, transparent 100%);
  }
}



/* 1.0.9: recover clickability from empty saved link records, give all real targets a clear pointer/hover affordance, and keep the exam photo out of the heading area. */
.hej-home .hej-button[href],
.hej-home .hej-menu-overview[href],
.hej-home .hej-menu-card[href],
.hej-home .hej-learn-level-button[href],
.hej-home .hej-level[href],
.hej-home .hej-level-main-link[href],
.hej-home .hej-level-arrow[href],
.hej-home .hej-level-testdaf[href],
.hej-home .hej-prep-card[href],
.hej-home .hej-sm-cover-link[href],
.hej-home .hej-social-link[href],
.hej-home .hej-sm-tool[href] { cursor: pointer; }
.hej-home .hej-prep-card[href],
.hej-home .hej-sm-managed-feature,
.hej-home .hej-level[href],
.hej-home .hej-level-main-link[href],
.hej-home .hej-learn-level-button[href] {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .hej-home .hej-prep-card[href]:hover,
  .hej-home .hej-sm-managed-feature:hover,
  .hej-home .hej-level[href]:hover,
  .hej-home .hej-level-main-link[href]:hover,
  .hej-home .hej-learn-level-button[href]:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px #203f5d14;
  }
}


/* 1.0.11: keep the Prüfungen typography at the approved size.
   The photo grows into the right half without shrinking the text column. */
.hej-home .hej-desktop-nav .hej-menu-row[role="link"] { cursor: pointer; }
@media (min-width: 1024px) {
  .hej-home .hej-card--exam .hej-copy {
    max-width: none;
    width: auto;
  }
  .hej-home .hej-card--exam .hej-visual {
    width: 60%;
    right: -3%;
    align-items: center;
  }
  .hej-home .hej-card--exam .hej-visual-img {
    width: 104%;
    object-position: right center;
    transform: translateX(10%) translateY(3%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0002 5%, #0007 10%, #000 18%, #000 91%, #000b 96%, transparent 100%), linear-gradient(180deg, #000 0%, #000 91%, #000c 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #0002 5%, #0007 10%, #000 18%, #000 91%, #000b 96%, transparent 100%), linear-gradient(180deg, #000 0%, #000 91%, #000c 96%, transparent 100%);
  }
}


/* 1.0.13: Prüfungen hero image follows the approved mockup.
   It is a full-height background-like visual: larger, farther left, but softly faded under copy. */
@media (min-width: 1024px) {
  .hej-home .hej-card--exam .hej-copy {
    position: relative;
    z-index: 3;
    max-width: none;
    width: auto;
  }
  .hej-home .hej-card--exam .hej-visual {
    top: 0;
    right: -1.5%;
    bottom: 0;
    width: 70%;
    height: auto;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
  }
  .hej-home .hej-card--exam .hej-visual-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
    transform: none;
    opacity: 1;
    mix-blend-mode: multiply;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #0001 7%, #0006 15%, #000d 23%, #000 31%, #000 94%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 84%, #000d 91%, #0007 96%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #0001 7%, #0006 15%, #000d 23%, #000 31%, #000 94%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 84%, #000d 91%, #0007 96%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}


/* 1.0.14: fine-tune the Prüfungen hero photo so it sits just clear of the heading,
   and add subtle borders to clickable level/skill cards so they read as interactive. */
@media (min-width: 1024px) {
  .hej-home .hej-card--exam .hej-visual {
    right: -1%;
    width: 67%;
  }
  .hej-home .hej-card--exam .hej-visual-img {
    object-position: right center;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #0001 9%, #0005 17%, #000c 26%, #000 34%, #000 94%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 84%, #000d 91%, #0007 96%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #0001 9%, #0005 17%, #000c 26%, #000 34%, #000 94%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 84%, #000d 91%, #0007 96%, transparent 100%);
  }
}

.hej-home .hej-tile,
.hej-home .hej-level,
.hej-home .hej-learn-level-button {
  border-width: 1px;
}
.hej-home .hej-tile {
  border-color: #d8e4eb;
  box-shadow: inset 0 1px 0 #ffffffb5;
}
.hej-home .hej-level {
  border-color: #e5dde5;
  box-shadow: inset 0 1px 0 #ffffffb5;
}
.hej-home .hej-learn-level-button {
  border-color: #d3dfe6;
  box-shadow: 0 3px 7px #193d4210, inset 0 1px 0 #ffffff9a;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .hej-home .hej-tile:hover,
  .hej-home .hej-level:hover,
  .hej-home .hej-learn-level-button:hover {
    border-color: #c6d6df;
  }
}


/* 1.0.15: clear the Prüfungen headline area a bit more and strengthen only the inner skill tiles slightly. */
@media (min-width: 1024px) {
  .hej-home .hej-card--exam .hej-visual {
    right: 0;
    width: 64%;
  }
  .hej-home .hej-card--exam .hej-visual-img {
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, transparent 13%, #0001 19%, #0005 26%, #000b 34%, #000 41%, #000 95%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 84%, #000d 91%, #0007 96%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, transparent 13%, #0001 19%, #0005 26%, #000b 34%, #000 41%, #000 95%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 84%, #000d 91%, #0007 96%, transparent 100%);
  }
}

.hej-home .hej-tile {
  border-color: #cfdbe3;
  box-shadow: inset 0 1px 0 #ffffffc7, 0 1px 2px #18334d06;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .hej-home .hej-tile:hover {
    border-color: #c0d0d9;
  }
}


/* 1.0.16: Prüfungen photo fine-tune.
   Keep the left man visible; move the whole photo slightly right instead of fading him away. */
@media (min-width: 1024px) {
  .hej-home .hej-card--exam .hej-visual {
    right: -0.5%;
    width: 61%;
  }
  .hej-home .hej-card--exam .hej-visual-img {
    object-position: right center;
    transform: translateX(1%);
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #0007 3%, #000d 7%, #000 12%, #000 96%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 84%, #000d 91%, #0007 96%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #0007 3%, #000d 7%, #000 12%, #000 96%, transparent 100%),
      linear-gradient(180deg, #000 0%, #000 84%, #000d 91%, #0007 96%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}


/* 1.0.19: responsive-only refinements; desktop hero remains exactly as approved in 1.0.16. */
@media (max-width: 600px) {
  .hej-home .hej-card-main {
    padding: 20px 18px 14px;
  }
  .hej-home .hej-visual-img {
    max-height: clamp(165px, 46vw, 235px);
    margin-top: 12px;
  }
  .hej-home .hej-card--learn .hej-visual-img {
    max-height: clamp(170px, 48vw, 245px);
  }
  .hej-home .hej-card--exam .hej-visual-img {
    max-height: clamp(160px, 43vw, 220px);
  }
}

@media (min-width: 1024px) and (max-width: 1100px) {
  .hej-home .hej-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hej-home .hej-card-main {
    --hej-hero-pad: clamp(24px, 3.6vw, 38px);
    min-height: 360px;
  }
  .hej-home .hej-title {
    font-size: clamp(48px, 8vw, 80px);
  }
  .hej-home .hej-description {
    font-size: clamp(20px, 2.5vw, 26px);
  }
  .hej-home .hej-button--hero {
    font-size: 16px;
  }
  .hej-home .hej-card--learn .hej-visual,
  .hej-home .hej-card--exam .hej-visual {
    width: auto;
    right: auto;
    position: relative;
    top: auto;
    bottom: auto;
    margin-inline-start: calc(var(--hej-hero-gap) * -.4);
    margin-inline-end: calc(4px - var(--hej-hero-pad));
    align-self: stretch;
    justify-content: flex-end;
    overflow: visible;
  }
  .hej-home .hej-card--learn .hej-visual-img,
  .hej-home .hej-card--exam .hej-visual-img {
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    transform: none;
  }
  .hej-home .hej-card--learn .hej-visual-img {
    width: 108%;
    object-position: right top;
  }
  .hej-home .hej-card--exam .hej-visual-img {
    width: 100%;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0002 3%, #0008 8%, #000 14%, #000 90%, #0008 95%, transparent 100%), linear-gradient(180deg, #000 0%, #000 92%, #000d 95%, #0005 98%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #0002 3%, #0008 8%, #000 14%, #000 90%, #0008 95%, transparent 100%), linear-gradient(180deg, #000 0%, #000 92%, #000d 95%, #0005 98%, transparent 100%);
  }
}


/* 1.0.24: lower the original photograph without changing its horizontal placement.
   The upper SVG displays only the photograph's empty window strip. People stay untouched.
   Fading belongs to the photograph itself, so no hard lower edge remains. */
.hej-home .hej-exam-window{display:none}
@media(min-width:1101px){
 .hej-home .hej-card--exam .hej-card-main>.hej-visual{top:0;right:-.5%;bottom:-24px;width:61%;overflow:hidden;display:block}
 .hej-home .hej-card--exam .hej-card-main>.hej-visual .hej-visual-img{
  position:absolute;top:clamp(32px,3vw,56px);right:0;width:104%;height:auto;max-width:none;
  object-fit:contain;object-position:right top;transform:translateX(4%);mix-blend-mode:normal;
  clip-path:inset(19.65% 0 0 0);
  -webkit-mask-image:linear-gradient(90deg,transparent,#0009 5%,#000 12%,#000 98%,transparent),linear-gradient(180deg,#000 0%,#000 73%,#000e 80%,#0008 91%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent,#0009 5%,#000 12%,#000 98%,transparent),linear-gradient(180deg,#000 0%,#000 73%,#000e 80%,#0008 91%,transparent 100%);
  -webkit-mask-composite:source-in;mask-composite:intersect;
 }
 .hej-home .hej-card--exam .hej-card-main>.hej-visual>.hej-exam-window{
  display:block;position:absolute;top:0;right:0;width:104%;height:auto;aspect-ratio:4/1;transform:translateX(4%);overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#0009 5%,#000 12%,#000 98%,transparent);
  mask-image:linear-gradient(90deg,transparent,#0009 5%,#000 12%,#000 98%,transparent);
 }
 .hej-home .hej-card--exam .hej-card-main>.hej-visual::after{content:none}
}
