/* =========================================================
   Alternatif C — Teknik pafta
   Sabit sol menü, aks balonları ve künye tablosu,
   iç sayfalarda aks harfli “bu sayfada” dizini
   ========================================================= */
.alt-c {
  --bg: #F6F7F9;
  --surface: #ECEFF3;
  --surface-2: #E0E5EB;
  --ink: #13203A;
  --muted: #5A6880;
  --line: #CED6E0;
  --line-strong: #9AA6B6;
  --grid: #E1E6ED;
  --brand: #13203A;
  --accent: #B5232A;
  --accent-hover: #961C22;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --head-weight: 650;
  --head-tracking: -.005em;
  --head-lh: 1.08;
  --r-sm: 3px;
  --r: 3px;
  --r-lg: 4px;
  --r-btn: 3px;
  --row-hover: #F2F5F8;
  --scroll-pad: 84px;
  font-size: 1.03rem;
}
.alt-c .datebox { background: var(--ink); border-radius: 0; }
.alt-c .card, .alt-c .firm, .alt-c .price-card, .alt-c .award-cat, .alt-c .project, .alt-c .review-item, .alt-c .review-detail,
.alt-c .login-form, .alt-c .kpi a, .alt-c .vote-item, .alt-c .result-card, .alt-c .rc-body, .alt-c .tbl-wrap { background: #fff; }
.alt-c .btn { font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .01em; }
.alt-c .btn-sm { font-size: .9rem; }
.alt-c .price-num, .alt-c .kpi-n, .alt-c .rc-price { font-weight: 700; }
.alt-c .filters { background: #fff; border: 1px solid var(--line); }

/* drawing grid used behind hero and page heads */
.c-gridbg, .c-hero, .c-pagehead {
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}

/* ---------- shell ---------- */
.c-shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--ink) 272px, transparent 272px); }
.c-side { position: sticky; top: 0; height: 100vh; background: var(--ink); color: rgba(255,255,255,.78); display: flex; flex-direction: column; padding: 24px 16px 18px; overflow-y: auto; z-index: 90; }
.c-brand { display: block; margin: 2px 8px 20px; }
.c-brand img { width: 132px; height: auto; }
.c-nav ul { list-style: none; margin: 0; padding: 0; }
.c-nav a { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 3px; color: inherit; text-decoration: none; font-size: .96rem; }
.c-nav a .ic { width: 18px; height: 18px; opacity: .7; }
.c-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.c-nav a.is-active { background: rgba(255,255,255,.11); color: #fff; box-shadow: inset 3px 0 0 #E0434A; }
.c-nav a.is-active .ic { opacity: 1; }
.c-grp { margin: 14px 10px 4px; font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.c-nav .c-lock { margin-left: auto; width: 13px; height: 13px; opacity: .4; }
[data-auth=member] .c-nav .c-lock { display: none; }
.c-side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.c-side-foot a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; }
.c-side-foot a:hover { text-decoration: underline; }
[data-auth=guest] .c-side-foot { display: none; }
.c-main { min-width: 0; display: flex; flex-direction: column; }
.c-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 12px clamp(20px, 3vw, 40px); background: rgba(246,247,249,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.c-top-brand { display: none; }
.c-top-brand img { height: 36px; width: auto; }
.c-search { flex: 1; max-width: 420px; position: relative; display: flex; align-items: center; }
.c-search .ic { position: absolute; left: 12px; color: var(--muted); }
.c-search input { padding-left: 38px; }
.c-top-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.c-top-login { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.c-top-login:hover { text-decoration: underline; }
.c-burger { display: none; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; cursor: pointer; color: var(--ink); }

/* ---------- home ---------- */
.c-hero { position: relative; padding: 70px clamp(20px, 3vw, 40px) 36px 80px; border-bottom: 1.5px solid var(--ink); overflow: hidden; }
.c-axes { position: absolute; display: flex; justify-content: space-between; pointer-events: none; }
.c-axes span { position: relative; width: 30px; height: 30px; border: 1.5px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--muted); background: var(--bg); }
.c-axes-x { top: 18px; left: 120px; right: 60px; }
.c-axes-x span::after { content: ""; position: absolute; top: 100%; left: 50%; height: 2000px; border-left: 1px dashed var(--line); }
.c-axes-y { flex-direction: column; left: 22px; top: 110px; bottom: 150px; }
.c-axes-y span::after { content: ""; position: absolute; left: 100%; top: 50%; width: 3000px; border-top: 1px dashed var(--line); }
.c-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.c-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); font-weight: 700; line-height: 1.0; letter-spacing: -.012em; max-width: 15ch; margin-bottom: .4em; }
.c-hero .lead { color: var(--muted); }
.c-hero-text { background: color-mix(in srgb, var(--bg) 88%, transparent); padding: 8px 0; }
.c-detail { position: relative; margin: 0; background: #fff; border: 1.5px solid var(--ink); padding: 8px; }
.c-detail img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--surface-2); }
.c-detail figcaption { font-size: .82rem; color: var(--muted); padding: 8px 2px 0; }
.c-callout { position: absolute; top: 34%; left: 38%; width: 0; height: 0; }
.c-callout-ring { position: absolute; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 2.5px solid var(--accent); border-radius: 50%; }
.c-callout-line { position: absolute; left: 38px; top: -1px; width: 86px; height: 2px; background: var(--accent); }
.c-callout-tag { position: absolute; left: 124px; top: -13px; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .82rem; padding: 3px 9px; white-space: nowrap; }
.c-titleblock { position: relative; z-index: 1; margin-top: 36px; width: 100%; border-collapse: collapse; background: #fff; border: 1.5px solid var(--ink); font-size: .92rem; }
.c-titleblock th, .c-titleblock td { border: 1px solid var(--line-strong); padding: 8px 12px; text-align: left; vertical-align: top; }
.c-titleblock th { font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--muted); width: 1%; white-space: nowrap; background: #F0F3F6; }
.c-titleblock td { font-weight: 500; }

.c-sec { padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.c-sec > h2, .c-sechead h2 { font-size: 1.7rem; margin: 0; }
.c-sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; margin-bottom: 16px; }
.c-index > h2 { border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; }
.c-index-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-left: 1px solid var(--line); }
.c-index-grid a { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-content: start; min-height: 112px; height: 100%; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; }
.c-index-grid a .ic { grid-row: span 2; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.c-ix-name { font-family: var(--font-head); font-weight: 650; font-size: 1.18rem; line-height: 1.2; }
.c-ix-desc { font-size: .88rem; color: var(--muted); }
.c-index-grid a:hover { background: #F0F3F6; }
.c-ix-member a { background: var(--ink); color: #fff; }
.c-ix-member a:hover { background: #1E2E50; }
.c-ix-member .ic { color: #fff; }
.c-ix-member .c-ix-desc { color: rgba(255,255,255,.72); }
.c-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 56px); }
.c-two .newslist li:first-child { padding-top: 4px; }
.c-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; border-bottom: 0; }
.c-join h2 { font-size: 1.7rem; }
.c-join p { color: var(--muted); max-width: 52ch; }
.c-fees { background: #fff; border: 1px solid var(--line); }
.c-fee-entry td { color: var(--muted); }

/* ---------- inner pages ---------- */
.c-pagehead { padding: 40px clamp(20px, 3vw, 40px) 30px; border-bottom: 1.5px solid var(--ink); }
.c-pagehead h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 700; margin-bottom: .3em; }
.c-pagehead .lead { margin: 0; width: fit-content; background: color-mix(in srgb, var(--bg) 85%, transparent); }
.c-pagehead .crumbs { color: var(--muted); }
.c-body { padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 40px) clamp(56px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 1320px; }
.c-body.has-toc { grid-template-columns: minmax(0, 1fr) 230px; }
.c-content { counter-reset: ax; min-width: 0; }
.c-content .blk:has(> .blk-head) { counter-increment: ax; }
.c-content .blk-head h2::before { content: counter(ax, upper-alpha); display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; margin-right: .5em; border: 2px solid var(--accent); color: var(--accent); border-radius: 50%; font-size: .66em; vertical-align: .2em; }
.c-content > .blk + .blk, .c-content > .split + .blk { border-top: 1px dashed var(--line-strong); padding-top: 36px; }
.c-content .split .blk + .blk { border: 0; }
.c-toc { position: sticky; top: 90px; align-self: start; font-size: .92rem; }
.c-toc-title { font-family: var(--font-head); font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.c-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.c-toc a { display: flex; align-items: center; gap: 10px; padding: 6px 0 6px 12px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; line-height: 1.3; }
.c-toc a:hover { color: var(--accent); }
.c-toc a.is-current { border-left-color: var(--accent); color: var(--accent); }
.axis { width: 24px; height: 24px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: .75rem; flex: none; }

/* ---------- member ---------- */
.page-member .dash-hello { border: 1.5px solid var(--ink); background: #fff; padding: 22px; }

/* ---------- footer ---------- */
.c-foot { margin-top: auto; padding: 28px clamp(20px, 3vw, 40px) 84px; border-top: 1.5px solid var(--ink); font-size: .86rem; color: var(--muted); }
.c-titleblock.small { margin: 0; font-size: .84rem; }
.c-foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 6px; }
.c-foot-row p { margin: 0; }
.c-foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.c-foot a { color: inherit; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .c-body.has-toc { grid-template-columns: minmax(0, 1fr); }
  .c-toc { display: none; }
}
@media (max-width: 980px) {
  .c-shell { grid-template-columns: 1fr; background: none; }
  .c-side { position: fixed; left: 0; top: 0; bottom: 0; width: 288px; transform: translateX(-100%); transition: transform .2s; }
  .nav-open .c-side { transform: none; box-shadow: 0 0 0 100vmax rgba(19,32,58,.5); }
  .c-top-brand { display: block; }
  .c-burger { display: grid; }
  .c-top-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.c-top-login { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.c-top-login:hover { text-decoration: underline; }
  .c-search { max-width: none; }
  .c-hero { padding-left: 56px; }
  .c-axes-x { left: 76px; right: 24px; }
  .c-axes-y { left: 12px; }
  .c-axes span { width: 26px; height: 26px; font-size: .78rem; }
  .c-hero-grid, .c-two, .c-join { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .c-search { display: none; }
  .c-top-login span { display: none; }
  .c-hero { padding: 64px 16px 28px 44px; }
  .c-axes-x span:nth-child(n+4) { display: none; }
  .c-axes-y { left: 8px; }
  .c-titleblock th, .c-titleblock td { display: block; width: auto; border-width: 0 0 1px; }
  .c-titleblock tr { display: block; }
  .c-callout { display: none; }
}
