/* EF4e Intermediate — Çalışma Notları (s.6–19) */

:root {
  --bg: #FAF9F5;
  --bg-soft: #F3F1EA;
  --ink: #262624;
  --muted: #6E6A63;
  --faint: #9A958C;
  --accent: #C96442;
  --accent-deep: #A94F31;
  --accent-soft: rgba(201, 100, 66, .09);
  --card: #FFFEFB;
  --line: rgba(38, 38, 36, .12);
  --line-soft: rgba(38, 38, 36, .07);
  --good: #3E7A50;
  --bad: #B3442E;
  --shadow: 0 1px 2px rgba(38, 38, 36, .05), 0 8px 24px -18px rgba(38, 38, 36, .25);
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

[data-theme="dark"] .topbar {
  background: rgba(33, 31, 29, .88);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
}
[data-theme="dark"] {
  --bg: #211F1D;
  --bg-soft: #262421;
  --ink: #EDEAE4;
  --muted: #A9A29A;
  --faint: #7C766E;
  --accent: #D97B57;
  --accent-deep: #E08A67;
  --accent-soft: rgba(217, 123, 87, .12);
  --card: #2A2724;
  --line: rgba(237, 234, 228, .14);
  --line-soft: rgba(237, 234, 228, .08);
  --good: #7FBE93;
  --bad: #E08A76;
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 10px 28px -18px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent-soft); }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 245, .88);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-in {
  max-width: 1160px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-weight: 600; font-size: 15.5px; letter-spacing: .01em; }
.brand .icon { width: 19px; height: 19px; color: var(--accent); }
.topbar .spacer { flex: 1; }
.pill-range {
  font-size: 12.5px; color: var(--muted); border: 1px solid var(--line);
  background: var(--card); padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.theme-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-btn .icon { width: 17px; height: 17px; }
.theme-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-moon { display: inline-block; }

/* ---------- hero ---------- */
.hero { max-width: 1160px; margin: 0 auto; padding: 54px 24px 10px; }
.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600; margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12;
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.hero p.lede { margin: 0 0 22px; color: var(--muted); font-size: 17px; max-width: 62ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chip {
  font-size: 12.5px; color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--line-soft); padding: 5px 12px; border-radius: 999px;
}
.chip b { color: var(--ink); font-weight: 600; }

/* ---------- layout ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 26px 24px 72px; display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 52px; align-items: start; }
@media (max-width: 980px) {
  .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ---------- toc ---------- */
.toc { position: sticky; top: 78px; max-height: calc(100vh - 100px); overflow: auto; padding-right: 4px; min-width: 0; }
.toc::-webkit-scrollbar { width: 8px; }
.toc::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.toc-group { margin: 0 0 18px; }
.toc-label {
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--faint); font-weight: 600; margin: 0 0 8px; padding-left: 10px;
}
.toc a {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 13.5px; color: var(--muted); padding: 6px 10px; border-radius: 8px;
  text-decoration: none; line-height: 1.35;
}
.toc a:hover { background: var(--accent-soft); color: var(--ink); text-decoration: none; }
.toc a.active { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.toc a .n { font-size: 11px; color: var(--faint); margin-left: auto; }
.toc a.active .n { color: var(--accent-deep); }
@media (max-width: 980px) {
  .toc {
    position: static; max-height: none; overflow: visible;
    display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px;
    border-bottom: 1px solid var(--line-soft); min-width: 0;
    -webkit-overflow-scrolling: touch;
  }
  .toc-group { display: flex; gap: 6px; margin: 0; align-items: center; }
  .toc-label { margin: 0 4px 0 8px; padding: 0; white-space: nowrap; }
  .toc a { white-space: nowrap; background: var(--bg-soft); border: 1px solid var(--line-soft); padding: 6px 12px; }
  .toc a .n { display: none; }
}

/* ---------- section chrome ---------- */
.sect { margin: 0 0 46px; scroll-margin-top: 86px; }
.sect-h { display: flex; align-items: center; gap: 14px; margin: 0 0 6px; }
.sect-h h2 { font-family: var(--serif); font-size: 27px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.sect-h .rule { flex: 1; height: 1px; background: var(--line-soft); }
.sect-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }

/* ---------- grammar cards ---------- */
.gcard {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 28px; margin: 0 0 26px; box-shadow: var(--shadow); scroll-margin-top: 86px;
}
.ghead { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.ubadge {
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent-deep);
  font-family: var(--serif); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.ghead h3 { font-family: var(--serif); font-size: 21.5px; font-weight: 600; margin: 0 0 2px; letter-spacing: -0.01em; }
.ghead .meta { color: var(--faint); font-size: 13px; margin: 0; }
.intro { margin: 0 0 18px; color: var(--ink); }
.intro p { margin: 0 0 10px; }

.block { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.block > h4 {
  font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin: 0 0 12px;
}

ol.rules { margin: 0; padding: 0; list-style: none; counter-reset: r; }
ol.rules li {
  counter-increment: r; position: relative; padding: 2px 0 2px 34px; margin: 0 0 9px;
}
ol.rules li::before {
  content: counter(r); position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.tbl-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line-soft); border-radius: 10px; }
.tbl-title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
table.gt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.gt th {
  text-align: left; font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; padding: 9px 14px; border-bottom: 1px solid var(--line);
  background: var(--bg-soft); white-space: nowrap;
}
table.gt td { padding: 9px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.gt tr:last-child td { border-bottom: 0; }
table.gt td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }

ul.ex { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 26px; }
@media (max-width: 700px) { ul.ex { grid-template-columns: 1fr; } }
ul.ex li { padding: 6px 0; border-bottom: 1px dashed var(--line-soft); }
ul.ex .en { display: block; font-weight: 500; }
ul.ex .tr { display: block; color: var(--muted); font-size: 14px; }

.mtable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mtable td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.mtable tr:last-child td { border-bottom: 0; }
.mtable .lbl { flex: none; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 2px; }
.mtable td.wrong { color: var(--bad); width: 34%; }
.mtable td.wrong .lbl { color: var(--bad); }
.mtable td.right { color: var(--good); width: 34%; }
.mtable td.right .lbl { color: var(--good); }
.mtable td.note { color: var(--muted); font-size: 13.5px; }

ul.tips { margin: 0; padding: 0; list-style: none; }
ul.tips li { position: relative; padding: 2px 0 2px 20px; margin: 0 0 8px; }
ul.tips li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- vocab ---------- */
.vtool {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow);
}
.search { position: relative; flex: 1; min-width: 220px; }
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--faint); width: 16px; height: 16px; pointer-events: none; }
.search input {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 38px 10px 38px; outline: none;
}
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search .clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--faint); cursor: pointer;
  width: 26px; height: 26px; border-radius: 7px; display: none; align-items: center; justify-content: center;
}
.search .clear:hover { color: var(--ink); background: var(--bg-soft); }
.search.has-q .clear { display: inline-flex; }
.vcount { font-size: 13px; color: var(--muted); white-space: nowrap; }

.vsec { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 0 22px; overflow: hidden; scroll-margin-top: 86px; }
.vsec-h { display: flex; align-items: baseline; gap: 12px; padding: 18px 22px 12px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.vsec-h h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 0; }
.vsec-h .sub { color: var(--faint); font-size: 13px; }
.vsec-h .cnt { margin-left: auto; font-size: 12px; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.vsec .tbl-wrap { margin: 0; border: 0; border-radius: 0; }
table.vt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.vt th { text-align: left; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 8px 22px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
table.vt td { padding: 9px 22px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.vt tr:last-child td { border-bottom: 0; }
table.vt tbody tr:nth-child(even) { background: rgba(38, 38, 36, .025); background: color-mix(in srgb, var(--bg-soft) 55%, transparent); }
[data-theme="dark"] table.vt tbody tr:nth-child(even) { background: rgba(237, 234, 228, .03); }
table.vt tbody tr:hover { background: var(--accent-soft); }
table.vt .w { font-weight: 600; }
table.vt .pos { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; margin-left: 6px; vertical-align: 1px; }
table.vt .ipa { font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-left: 7px; white-space: nowrap; }
table.vt .tr { color: var(--ink); }
table.vt .ex { color: var(--muted); font-style: italic; font-size: 13.5px; }
.vsec .empty { display: none; padding: 14px 22px; color: var(--faint); font-size: 14px; }
.vsec.no-hits .empty { display: block; }
@media (max-width: 760px) {
  table.vt td, table.vt th { padding-left: 14px; padding-right: 14px; }
  table.vt .ipa { display: none; }
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-soft); padding: 30px 24px 44px; }
.foot-in { max-width: 1160px; margin: 0 auto; color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.foot-in .sep { color: var(--faint); }
.foot-in a { color: var(--muted); text-decoration: underline; }
.foot-note { max-width: 1160px; margin: 10px auto 0; color: var(--faint); font-size: 12.5px; }

/* ---------- back to top ---------- */
#to-top {
  position: fixed; right: 22px; bottom: 24px; z-index: 60;
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease;
}
#to-top.show { opacity: 1; pointer-events: auto; transform: none; }
#to-top:hover { color: var(--accent); border-color: var(--accent); }
#to-top .icon { width: 18px; height: 18px; }

/* ---------- print ---------- */
@media print {
  .topbar, .toc, .vtool, #to-top { display: none !important; }
  body { background: #fff; color: #000; font-size: 12px; }
  .wrap { display: block; padding: 0; max-width: none; }
  .gcard, .vsec { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; margin-bottom: 14px; }
  .hero { padding: 10px 0; }
  a { color: #000; }
}

/* ===== v2: multi-page navigation, unit pages, index ===== */
.topbar a.brand { color: inherit; text-decoration: none; }
.brand .b-short { display: none; }
@media (max-width: 660px) {
  .brand .b-full { display: none; }
  .brand .b-short { display: inline; }
  .pill-range { display: none; }
}

.menu-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-btn:hover { border-color: var(--accent); color: var(--accent); }
.menu-btn .icon { width: 18px; height: 18px; }

/* drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(370px, 88vw);
  background: var(--card); border-left: 1px solid var(--line);
  box-shadow: -14px 0 44px -22px rgba(0, 0, 0, .4);
  transform: translateX(103%); transition: transform .22s ease;
  z-index: 95; overflow-y: auto; padding: 16px 20px 44px;
}
body.drawer-open .drawer { transform: none; }
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(38, 38, 36, .38);
  opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 90;
}
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 14px; }
.drawer-head b { font-family: var(--serif); font-size: 17px; }
.drawer-close {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--bg); color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer-close:hover { color: var(--ink); }
.drawer-close .icon { width: 16px; height: 16px; }
.dr-group { margin: 0 0 14px; }
.dr-label {
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin: 0 0 6px; padding-left: 4px;
}
.dr-link {
  display: flex; align-items: baseline; gap: 10px; padding: 8px 10px;
  border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 14.5px;
}
.dr-link:hover { background: var(--accent-soft); text-decoration: none; }
.dr-link.active { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.dr-link .u { font-family: var(--serif); font-weight: 700; font-size: 12.5px; color: var(--accent-deep); min-width: 32px; }
.dr-link .t { color: var(--faint); font-size: 12.5px; margin-left: auto; }
.dr-sep { height: 1px; background: var(--line-soft); margin: 12px 2px; }
.dr-home { font-weight: 600; }

/* unit strip */
.strip-wrap { border-bottom: 1px solid var(--line-soft); background: var(--bg); }
.strip {
  max-width: 1160px; margin: 0 auto; display: flex; gap: 6px; align-items: center;
  overflow-x: auto; padding: 9px 24px; scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.s-chip {
  flex: none; font-size: 12.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); background: var(--card);
  padding: 5px 12px; border-radius: 999px; text-decoration: none;
}
.s-chip:hover { color: var(--accent-deep); border-color: var(--accent); text-decoration: none; }
.s-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.s-sep { flex: none; width: 1px; height: 16px; background: var(--line); margin: 0 4px; }

/* unit head */
.unit-head {
  display: flex; align-items: center; gap: 16px; margin: 6px 0 22px; padding: 22px 24px;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.unit-head .ubadge { width: 54px; height: 54px; font-size: 17px; border-radius: 14px; }
.unit-head .uh-t { flex: 1; min-width: 0; }
.unit-head h2 { font-family: var(--serif); font-size: 24px; margin: 0 0 3px; letter-spacing: -0.01em; }
.unit-head .uh-m { color: var(--muted); font-size: 13.5px; }
.unit-head .uh-w {
  flex: none; font-size: 12.5px; color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 3px 12px; white-space: nowrap;
}

/* pager */
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 26px 0 0; }
.pager a {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  padding: 13px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); min-width: 0;
}
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager .pl {
  display: block; font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin-bottom: 3px;
}
.pager .pt { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pager a.next { text-align: right; }
.pager .ghost { flex: 1; }

/* index */
.btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff;
  border-radius: 10px; padding: 10px 17px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent;
}
.btn:hover { background: var(--accent-deep); text-decoration: none; }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--card); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 10px; }

.file-block { margin: 0 0 36px; }
.file-h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.file-h h2 { font-family: var(--serif); font-size: 22px; margin: 0; }
.file-h .fp {
  font-size: 12.5px; color: var(--muted); border: 1px solid var(--line-soft);
  background: var(--bg-soft); border-radius: 999px; padding: 2px 10px;
}
.file-h .rule { flex: 1; height: 1px; background: var(--line-soft); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card {
  display: block; background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 17px 19px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow);
}
.card:hover { border-color: var(--accent); text-decoration: none; }
.card .c-top { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.card .ubadge { width: 36px; height: 36px; font-size: 13px; border-radius: 9px; flex: none; }
.card h3 { font-family: var(--serif); font-size: 17px; margin: 0; font-weight: 600; line-height: 1.25; }
.card .c-meta { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.card .c-foot { display: flex; gap: 7px; flex-wrap: wrap; }
.card .tag {
  font-size: 11.5px; color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px 9px;
}
.card .tag.g { color: var(--accent-deep); border-color: rgba(201, 100, 66, .32); background: var(--accent-soft); }
[data-theme="dark"] .card .tag.g { border-color: rgba(217, 123, 87, .35); }

/* kelimeler grouping */
.wrap.one { grid-template-columns: minmax(0, 1fr); max-width: 1060px; }
.wrap.one.wide { max-width: 1160px; }
.group-h { display: flex; align-items: center; gap: 12px; margin: 30px 0 6px; }
.group-h h2 { font-family: var(--serif); font-size: 21px; margin: 0; }
.group-h .gp {
  font-size: 12.5px; color: var(--muted); border: 1px solid var(--line-soft);
  background: var(--bg-soft); border-radius: 999px; padding: 2px 10px;
}
.group-h .rule { flex: 1; height: 1px; background: var(--line-soft); }
.u-head { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; }
.u-head .ubadge { width: 32px; height: 32px; font-size: 12px; border-radius: 8px; }
.u-head h3 { font-family: var(--serif); font-size: 16.5px; margin: 0; font-weight: 600; }
.u-head .u-m { color: var(--faint); font-size: 12.5px; }

@media (max-width: 760px) {
  .unit-head { flex-wrap: wrap; padding: 18px 16px; gap: 12px; }
  .unit-head .uh-w { order: 3; }
  .pager { flex-direction: column; }
  .pager .ghost { display: none; }
  .pager a.next { text-align: left; }
  .strip { padding: 8px 14px; }
  .wrap { padding: 18px 14px 60px; }
  .cards { grid-template-columns: 1fr; }
}
