/* Makaleler sayfasında kahramanı biraz kısalt: araç çubuğu ve liste görünsün */
.page-hero { padding-top: calc(var(--header-h, 88px) + 2.2rem); padding-bottom: 2rem; }
.page-hero p { max-width: 40rem; margin-inline: auto; }

/* Makaleler listesi — kullanışlı arama, filtre ve sayfalama (mevcut navy/gold/mavi dil) */
.mak-app { padding: 0 0 2.5rem; background: #f7f5f0; }
.mak-toolbar {
  position: sticky;
  top: var(--header-h-scrolled, 68px);
  z-index: 50;
  background: rgba(11, 29, 54, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 8px 24px rgba(11, 29, 54, 0.18);
}
.mak-toolbar .container { padding-top: 0.85rem; padding-bottom: 0.85rem; }
.mak-search-row {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}
.mak-search {
  flex: 1 1 220px;
  position: relative;
  min-width: 0;
  width: auto;
}
.mak-search svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
}
.mak-search input {
  width: 100%;
  padding: 0.7rem 2.4rem 0.7rem 2.55rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
}
.mak-search input::placeholder { color: rgba(255,255,255,0.58); }
.mak-search input:focus { outline: 2px solid var(--gold, #C9A227); outline-offset: 1px; }
.mak-search-clear {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: none;
}
.mak-search-clear.is-on { display: inline-flex; align-items: center; justify-content: center; }
.mak-search-clear:hover { background: rgba(255,255,255,0.12); color: #fff; }
.mak-sort {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
}
.mak-sort:focus { outline: 2px solid var(--gold, #C9A227); outline-offset: 1px; }
.mak-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.mak-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.9);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.mak-chip:hover { border-color: var(--gold, #C9A227); color: var(--gold, #C9A227); }
.mak-chip.is-active {
  background: var(--gold, #C9A227);
  border-color: var(--gold, #C9A227);
  color: var(--navy, #0B1D36);
  font-weight: 600;
}
.mak-chip .n {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  background: rgba(201,162,39,0.18);
  color: var(--gold, #C9A227);
}
.mak-chip.is-active .n { background: rgba(11,29,54,0.15); color: var(--navy, #0B1D36); }

.mak-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  padding: 1.1rem 0 0.4rem;
  color: var(--muted, #5C6B7A);
  font-size: 0.92rem;
}
.mak-meta strong { color: var(--navy, #0B1D36); font-weight: 600; }
.mak-clear, .mak-toggle {
  border: 0;
  background: none;
  color: var(--title-blue, #1e40af);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mak-clear:hover, .mak-toggle:hover { color: var(--title-blue-hover, #1d4ed8); }
.mak-toggle[aria-pressed="true"] { color: var(--navy, #0B1D36); font-weight: 600; text-decoration: none; }

.mak-latest { padding: 0.5rem 0 1.4rem; }
.mak-latest h2 {
  font-size: 1.15rem;
  color: var(--title-blue, #1e40af);
  margin: 0 0 0.8rem;
  letter-spacing: 0.02em;
}
.mak-latest-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.mak-latest-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid var(--border, rgba(11,29,54,0.08));
  border-radius: 14px;
  min-height: 8.2rem;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.mak-latest-card:hover { transform: translateY(-2px); box-shadow: var(--shadow, 0 8px 32px rgba(11,29,54,.08)); }
.mak-latest-card time { font-size: 0.75rem; color: var(--muted-light, #8A97A5); }
.mak-latest-card span {
  font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--title-blue, #1e40af);
  line-height: 1.3;
}

.mak-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  padding: 0.6rem 0 1.25rem;
}
@media (min-width: 700px) { .mak-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .mak-grid { grid-template-columns: 1fr 1fr 1fr; } }

.mak-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border, rgba(11,29,54,0.08));
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.mak-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 20px 60px rgba(11,29,54,.14)); }
.mak-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem 0;
}
.mak-card time { font-size: 0.78rem; color: var(--muted-light, #8A97A5); letter-spacing: .02em; }
.mak-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.16);
  color: #8a6a10;
  white-space: nowrap;
}
.mak-card h3 {
  margin: 0.15rem 1.15rem 0.45rem;
  font-size: 1.18rem;
  line-height: 1.3;
}
.mak-card h3 a { color: var(--title-blue, #1e40af); text-decoration: none; }
.mak-card h3 a:hover { color: var(--title-blue-hover, #1d4ed8); text-decoration: underline; text-underline-offset: 3px; }
.mak-card p {
  margin: 0 1.15rem 1rem;
  color: var(--muted, #5C6B7A);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}
.mak-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0 1.15rem 1.1rem;
}
.mak-topic {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy, #0B1D36);
  background: rgba(11,29,54,0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.mak-card .article-read { color: #9a7a12; font-weight: 600; font-size: 0.86rem; }

.mak-more-wrap { text-align: center; padding: 0.25rem 0 0.5rem; }
.mak-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--navy, #0B1D36);
  background: #fff;
  color: var(--navy, #0B1D36);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.mak-more:hover { background: var(--navy, #0B1D36); color: #fff; }
.mak-empty {
  text-align: center;
  color: var(--muted, #5C6B7A);
  padding: 2.2rem 1rem 1.5rem;
}
.mak-empty strong { display: block; color: var(--navy, #0B1D36); font-size: 1.1rem; margin-bottom: 0.35rem; }

.mak-index { padding: 1.5rem 0 3rem; background: #fff; border-top: 1px solid var(--border, rgba(11,29,54,0.08)); }
.mak-index > .container > h2 {
  font-size: 1.35rem;
  color: var(--title-blue, #1e40af);
  margin: 0 0 0.35rem;
}
.mak-index > .container > p { color: var(--muted, #5C6B7A); margin: 0 0 1.2rem; font-size: 0.92rem; }
body.js-mak .area-nav { display: none; }
body.js-mak #legacyAreas { padding-top: 0; }
body.js-mak #legacyAreas .area-details { margin-bottom: 0.75rem; }

@media (max-width: 699px) {
  .mak-search-row { flex-direction: column; align-items: stretch; }
  .mak-search { flex: 0 0 auto; width: 100%; }
  .mak-search input { padding-right: 2.2rem; font-size: 0.9rem; }
  .mak-sort { width: 100%; }
  .mak-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .mak-card h3 { font-size: 1.08rem; }
  .mak-latest-track { grid-auto-columns: minmax(210px, 80%); }
}
@media (prefers-reduced-motion: reduce) {
  .mak-card, .mak-latest-card, .mak-chip, .mak-more { transition: none; }
  .mak-card:hover, .mak-latest-card:hover { transform: none; }
}

/* ---- Durum kartları ---- */
.mak-problems { padding: 1.15rem 0 0.35rem; scroll-margin-top: 7.5rem; }
.mak-problems h2 {
  font-size: 1.2rem;
  color: var(--title-blue, #1e40af);
  margin: 0 0 0.8rem;
}
.mak-problems-feat {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-bottom: 0.75rem;
}
@media (min-width: 700px) {
  .mak-problems-feat { grid-template-columns: 1fr 1fr; }
}
.mak-problems-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) {
  .mak-problems-grid { grid-template-columns: repeat(3, 1fr); }
}
.mak-problem {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  background: #fff;
  border: 1px solid var(--border, rgba(11,29,54,0.08));
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  min-height: 4.4rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mak-problem:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow, 0 8px 32px rgba(11,29,54,.08));
  border-color: rgba(201,162,39,0.45);
}
.mak-problem-feat {
  min-height: 5.6rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #0B1D36 0%, #16365F 100%);
  border-color: transparent;
  color: #fff;
}
.mak-problem-feat:hover { border-color: var(--gold, #C9A227); }
.mak-problem-ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,29,54,0.06);
  color: var(--navy, #0B1D36);
}
.mak-problem-feat .mak-problem-ico {
  width: 48px;
  height: 48px;
  background: rgba(201,162,39,0.18);
  color: var(--gold, #C9A227);
}
.mak-problem-ico svg { width: 22px; height: 22px; }
.mak-problem-feat .mak-problem-ico svg { width: 24px; height: 24px; }
.mak-problem-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.mak-problem-text strong {
  font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--title-blue, #1e40af);
  line-height: 1.25;
}
.mak-problem-feat .mak-problem-text strong { color: #fff; font-size: 1.28rem; }
.mak-problem-text em {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
}
.mak-readtime {
  font-size: 0.75rem;
  color: var(--muted, #5C6B7A);
  white-space: nowrap;
}
.mak-card-foot { flex-wrap: wrap; }
@media (max-width: 699px) {
  .mak-problems-grid { grid-template-columns: 1fr; }
  .mak-problem { min-height: 0; padding: 0.7rem 0.8rem; }
  .mak-problem-feat { min-height: 0; }
  .mak-problem-text strong { font-size: 1.05rem; }
  .mak-problem-feat .mak-problem-text strong { font-size: 1.12rem; }
}
