/* hamilelikhesapla.com tema */

:root {
  --ink: #24333e;
  --ink-soft: #51636f;
  --teal: #12897b;
  --teal-dark: #0c6459;
  --teal-deep: #094d44;
  --mint: #e3f2ef;
  --mint-soft: #f2f9f7;
  --sky: #eaf4f8;
  --line: #dce8e5;
  --amber: #f4b942;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 137, 123, 0.10);
  --font: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

/* ---------- Ust menu ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-text {
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-text strong { color: var(--teal); font-weight: 700; }

.nav-list {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-list a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover {
  color: var(--teal-dark);
  text-decoration: none;
  border-bottom-color: var(--teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Ekmek kirintisi ---------- */

.breadcrumbs {
  background: var(--mint-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 10px 0;
}
.breadcrumbs li + li::before {
  content: "\203A";
  margin: 0 8px 0 4px;
  color: var(--ink-soft);
}
.breadcrumbs span[aria-current] { color: var(--ink-soft); }

/* ---------- Hero + hesaplayici ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 340px at 88% -60px, var(--sky) 0%, rgba(234, 244, 248, 0) 70%),
    radial-gradient(560px 320px at -80px 110%, var(--mint) 0%, rgba(227, 242, 239, 0) 70%),
    var(--white);
  padding: 52px 0 64px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 640px;
}

.hero h1 .accent { color: var(--teal); }

.hero-lead {
  margin-top: 16px;
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.calc-panel {
  margin-top: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calc-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--mint-soft);
}

.calc-tab {
  flex: 1;
  padding: 15px 12px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.calc-tab[aria-selected="true"] {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
  background: var(--white);
}

.calc-body { padding: 28px; }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 137, 123, 0.14);
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  border: 0;
  border-radius: 10px;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--teal-dark); }
.btn:active { transform: translateY(1px); }

.field-hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* Sonuc alani */

.calc-result {
  display: none;
  margin-top: 26px;
  border-top: 1px dashed var(--line);
  padding-top: 26px;
  animation: fadeUp 0.45s ease both;
}
.calc-result.visible { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-headline {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.result-headline .week-no { font-size: 1.7rem; color: var(--teal); }

.result-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.result-card {
  background: var(--mint-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.result-card .rc-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.result-card .rc-value {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 3px;
}

.result-progress { margin-top: 20px; }

.progress-track {
  height: 10px;
  background: var(--mint);
  border-radius: 6px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), #48b09e);
  border-radius: 6px;
  transition: width 0.8s ease;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

.result-size {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--sky);
  border-radius: 12px;
  padding: 14px 18px;
}
.result-size svg { flex-shrink: 0; }
.result-size p { font-size: 0.95rem; }

.result-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- Genel bolumler ---------- */

.section { padding: 54px 0; }
.section.tinted { background: var(--mint-soft); }

.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}
.section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.3em;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--teal), #48b09e);
}

.section .section-lead {
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 26px;
}

.section h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 26px 0 8px;
}

.section p + p { margin-top: 14px; }

.prose { max-width: 760px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- Trimester sekmeleri ---------- */

.tri-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tri-tab {
  flex: 1;
  min-width: 180px;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tri-tab .tri-name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.tri-tab .tri-range {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.tri-tab[aria-selected="true"] {
  border-color: var(--teal);
  background: var(--mint-soft);
  box-shadow: 0 6px 18px rgba(18, 137, 123, 0.12);
}
.tri-tab[aria-selected="true"] .tri-name { color: var(--teal-dark); }

.tri-panel { display: none; }
.tri-panel.active { display: block; animation: fadeUp 0.35s ease both; }

.tri-intro {
  background: var(--sky);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

/* Hafta akordeonlari */

.week-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
}

.week-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
}
.week-head:hover { background: var(--mint-soft); }

.week-no-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.week-title {
  flex: 1;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

.week-chevron {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--ink-soft);
}
.week-item.open .week-chevron { transform: rotate(180deg); }

.week-body {
  display: none;
  padding: 0 18px 18px 76px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.week-item.open .week-body { display: block; animation: fadeUp 0.3s ease both; }

.week-body p { margin-bottom: 8px; }
.week-body strong { color: var(--ink); }

/* ---------- Icindekiler ---------- */

.toc {
  background: var(--mint-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
  max-width: 560px;
}
.toc-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.toc ol {
  list-style: none;
  counter-reset: tocnum;
}
.toc > ol > li {
  counter-increment: tocnum;
  margin-bottom: 5px;
  font-size: 0.92rem;
}
.toc > ol > li::before {
  content: counter(tocnum) ".";
  color: var(--teal);
  font-weight: 600;
  margin-right: 8px;
}
.toc ol ol {
  margin: 4px 0 4px 24px;
}
.toc ol ol li {
  font-size: 0.88rem;
  margin-bottom: 3px;
}
.toc ol ol li::before { content: "-"; color: var(--teal); margin-right: 6px; }

/* ---------- SSS ---------- */

.faq-board {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: #bfe0d8; }
.faq-item.open {
  border-color: var(--teal);
  box-shadow: 0 6px 18px rgba(18, 137, 123, 0.12);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.faq-q:hover { background: var(--mint-soft); }
.faq-item.open .faq-q { color: var(--teal-dark); }

.faq-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item.open .faq-num { background: var(--teal); color: var(--white); }

.faq-q-text { flex: 1; font-size: 0.98rem; line-height: 1.45; }
.faq-q .week-chevron { flex-shrink: 0; }

.faq-a {
  display: none;
  padding: 0 20px 18px 66px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.faq-a p { margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul, .faq-a ol { margin: 0 0 10px 20px; }
.faq-item.open .faq-a { display: block; animation: fadeUp 0.3s ease both; }
.faq-item.open .week-chevron { transform: rotate(180deg); }

.section-more { margin-top: 22px; }
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid var(--line);
  border-radius: 30px;
  padding: 9px 20px;
  background: var(--white);
}
.more-link::after { content: "\2192"; }
.more-link:hover { border-color: var(--teal); text-decoration: none; }

/* ---------- Ortak kucuk parcalar ---------- */

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.kicker a { color: inherit; }
.kicker a:hover { color: var(--teal); }

.blockhead {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding-left: 13px;
  position: relative;
}
.blockhead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.24em;
  width: 4px;
  border-radius: 3px;
  background: var(--teal);
}

.dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  vertical-align: 0.28em;
  margin: 0 3px;
}

.resultcount {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.resultcount strong { color: var(--ink); }

.backlink { margin: 30px 0 4px; font-size: 0.9rem; font-weight: 500; }
.backlink a::before { content: "\2190"; margin-right: 7px; }

.emptybox {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--mint-soft);
  padding: 34px 28px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.93rem;
}
.emptybox-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.notebox {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  background: var(--mint-soft);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 820px;
}
.notebox-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 5px;
}

.ghostbtn {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
  background: var(--white);
  border-radius: 9px;
  padding: 10px 20px;
  font-size: 0.89rem;
  font-weight: 600;
  white-space: nowrap;
}
.ghostbtn:hover { background: var(--mint-soft); color: var(--teal-deep); text-decoration: none; }

/* ---------- Site ici arama ---------- */

.sitesearch {
  max-width: 580px;
  margin: 0 0 26px;
}

.sitesearch-field {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.sitesearch-field:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 137, 123, 0.13);
}

.sitesearch-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  margin-top: -9.5px;
  color: var(--ink-soft);
  pointer-events: none;
}

.sitesearch-field input {
  display: block;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.96rem;
  color: var(--ink);
  padding: 14px 54px 14px 43px;
}
.sitesearch-field input::placeholder { color: #8d9ba4; }
.sitesearch-field input::-webkit-search-cancel-button { cursor: pointer; }

.sitesearch-go {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  transition: background 0.18s ease;
}
.sitesearch-go:hover { background: var(--teal-dark); }

.sitesearch-panel {
  position: absolute;
  z-index: 45;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 14px 36px rgba(9, 77, 68, 0.15);
  overflow-y: auto;
  max-height: 62vh;
}
.sitesearch-panel[hidden] { display: none; }

.site-search-empty {
  padding: 18px;
  font-size: 0.89rem;
  color: var(--ink-soft);
  text-align: center;
}

.site-search-all {
  display: block;
  padding: 12px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  color: var(--teal-dark);
  background: var(--mint-soft);
  border-top: 1px solid var(--line);
}
.site-search-all:hover { background: var(--mint); text-decoration: none; }

/* Sonuc satirlari: hem panelde hem arama sayfasinda */

.search-result {
  display: flex;
  gap: 13px;
  align-items: baseline;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.search-result:last-of-type { border-bottom: 0; }
.search-result:hover,
.search-result.active { background: var(--mint-soft); text-decoration: none; }

.sr-badge {
  flex-shrink: 0;
  width: 62px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.sr-blog { color: var(--teal-dark); }
.sr-duyuru { color: #8a6d1f; }
.sr-sss { color: #2a6076; }

.sr-body { display: block; min-width: 0; flex: 1; }
.sr-title { display: block; font-weight: 600; font-size: 0.93rem; line-height: 1.4; }
.sr-text {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 2px;
  line-height: 1.5;
}
.search-result mark {
  background: #fbeec2;
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

.search-results {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 820px;
}

/* ---------- Duyurular ---------- */

.annlist { list-style: none; max-width: 840px; }

.annitem + .annitem { margin-top: 10px; }

.annitem-link {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.annitem-link:hover {
  border-color: #b6ddd3;
  box-shadow: 0 8px 22px rgba(18, 137, 123, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.annitem-date {
  flex-shrink: 0;
  width: 60px;
  padding: 9px 0 8px;
  text-align: center;
  background: var(--mint-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  line-height: 1.1;
}
.annitem-day { display: block; font-size: 1.32rem; font-weight: 700; color: var(--teal-dark); }
.annitem-mon {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-top: 1px;
}
.annitem-year { display: block; font-size: 0.68rem; color: var(--ink-soft); margin-top: 2px; }

.annitem-main { display: block; min-width: 0; flex: 1; }
.annitem-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.42;
}
.annitem-link:hover .annitem-title { color: var(--teal-dark); }
.annitem-text {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 6px;
}
.annitem-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.annitem-more { font-weight: 600; color: var(--teal-dark); }
.annitem-more::after { content: "\2192"; margin-left: 5px; }

.annlist.compact .annitem-link { padding: 15px 18px; }
.annlist.compact .annitem-text { margin-top: 4px; }

.annother { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.annother-list { list-style: none; max-width: 780px; }
.annother-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.annother-list li:last-child { border-bottom: 0; }
.annother-list a { font-weight: 500; }
.annother-list span { color: var(--ink-soft); font-size: 0.79rem; white-space: nowrap; }

/* ---------- Ilanlar: filtre cubugu ---------- */

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.filterbar-tabs { display: flex; flex-wrap: wrap; gap: 4px; }

.ftab {
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
}
.ftab:hover { background: var(--mint-soft); color: var(--teal-deep); text-decoration: none; }
.ftab.is-on {
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 600;
}

/* ---------- Ilan kartlari ---------- */

.lgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(248px, 100%), 1fr));
  gap: 22px;
}

.lcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.lcard:hover {
  border-color: #b6ddd3;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.lcard-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--mint-soft);
  border-bottom: 1px solid var(--line);
}
.lcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lcard-blank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #a8bcb6;
  font-size: 0.76rem;
}

.lcard-shots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}

.lcard-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 17px 16px;
}

.lcard-kicker {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 7px;
}

.lcard-title {
  font-size: 0.99rem;
  font-weight: 600;
  line-height: 1.42;
  margin: 0 0 8px;
}
.lcard-title a { color: var(--ink); }
.lcard-title a:hover { color: var(--teal-dark); text-decoration: none; }

.lcard-text {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}

.lcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 0.77rem;
  color: var(--ink-soft);
}
.lcard-owner {
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lcard-date { flex-shrink: 0; }

/* ---------- Ilan detayi ---------- */

.ldetail-head { padding: 40px 0 6px; }
.ldetail-head h1 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 780px;
}
.ldetail-sub {
  margin-top: 10px;
  font-size: 0.87rem;
  color: var(--ink-soft);
}

.ldetail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 328px;
  gap: 34px;
  align-items: start;
  margin-top: 26px;
  overflow: hidden;
}

.gallery {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.gallery-stage { aspect-ratio: 4 / 3; background: var(--mint-soft); }
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }

.gallery-strip {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}
.lg-thumb {
  flex-shrink: 0;
  width: 78px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mint-soft);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.18s ease, border-color 0.18s ease;
}
.lg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lg-thumb:hover { opacity: 1; }
.lg-thumb.active { border-color: var(--teal); opacity: 1; }

.gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 16 / 9;
  background: var(--mint-soft);
  color: #a8bcb6;
  font-size: 0.88rem;
}

.ldetail-main { min-width: 0; overflow: hidden; }
.ldetail-desc { margin-top: 32px; }

.richtext { font-size: 0.97rem; line-height: 1.75; color: var(--ink); word-break: break-word; overflow-wrap: break-word; }
.richtext p { margin-bottom: 13px; }
.richtext p:last-child { margin-bottom: 0; }

.ldetail-side { position: sticky; top: 84px; min-width: 0; overflow: hidden; }

.sidecard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 22px;
  margin-bottom: 14px;
  max-width: 100%;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

.sidecard-head {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.sidecard-lead {
  border-color: var(--teal);
  border-top-width: 3px;
  background: var(--mint-soft);
}
.sidecard-lead .sidecard-head { color: var(--teal-deep); }

.sidecard-contact {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.5;
  word-break: break-word;
}
.sidecard-note { font-size: 0.79rem; color: var(--ink-soft); margin-top: 8px; }

.sidecard-quiet {
  background: var(--mint-soft);
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.spec { display: block; }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-row:first-child { padding-top: 0; }
.spec dt { font-size: 0.83rem; color: var(--ink-soft); flex-shrink: 0; }
.spec dd {
  font-size: 0.89rem;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.lother { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }


/* ---------- Blog kartlari ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.post-card-img {
  aspect-ratio: 16 / 9;
  background: var(--mint-soft);
  display: block;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }

.post-card-cat {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.post-card-cat a { color: var(--teal-dark); }

.post-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 8px;
}
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--teal-dark); text-decoration: none; }

.post-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  flex: 1;
}

.post-meta {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
}

/* ---------- Yazi sayfasi ---------- */

.article-head { padding: 44px 0 8px; }
.article-head h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 820px;
}
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin-top: 12px;
}

.article-featured {
  margin: 26px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-featured img { display: block; width: 100%; }

.article-body {
  max-width: 780px;
  font-size: 1.01rem;
}
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 34px 0 12px;
  padding-left: 14px;
  position: relative;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.3em;
  width: 4px;
  border-radius: 4px;
  background: var(--teal);
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 26px 0 10px;
}
.article-body p { margin-bottom: 15px; }
.article-body ul, .article-body ol { margin: 0 0 15px 24px; }
.article-body li { margin-bottom: 7px; }
.article-body img {
  border-radius: 10px;
  margin: 10px 0;
}
.article-body a { font-weight: 500; }
.article-body blockquote {
  border-left: 4px solid var(--teal);
  background: var(--mint-soft);
  padding: 14px 20px;
  border-radius: 0 10px 10px 0;
  margin: 0 0 15px;
  color: var(--ink-soft);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.93rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
.article-body th { background: var(--mint-soft); font-weight: 600; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 8px;
}
.tag-list a {
  background: var(--mint);
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 30px;
}
.tag-list a:hover { background: var(--teal); color: var(--white); text-decoration: none; }

.medical-note {
  margin: 30px 0;
  background: #fdf6e7;
  border: 1px solid #f0dfb6;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.86rem;
  color: #7a6733;
  max-width: 780px;
}

/* ---------- Reklam alanlari ---------- */

.ad-slot {
  margin: 30px auto;
  text-align: center;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-slot:empty { display: none; }

/* ---------- Sayfalama ---------- */

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.pagination a, .pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0 12px;
}
.pagination span.current {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.pagination a:hover { border-color: var(--teal); text-decoration: none; }

/* ---------- Form ---------- */

.contact-form { max-width: 620px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form textarea {
  width: 100%;
  min-height: 160px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.98rem;
  resize: vertical;
}
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 137, 123, 0.14);
}

.alert {
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.93rem;
}
.alert.ok { background: var(--mint); color: var(--teal-deep); border: 1px solid #bfe3da; }
.alert.err { background: #fdecec; color: #99332f; border: 1px solid #f3c6c4; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 60px;
  background: var(--teal-deep);
  color: #cfe6e0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 46px 22px;
}

.footer-brand {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand strong { color: #7ed4c3; }

.footer-about p:last-child { font-size: 0.87rem; line-height: 1.7; }

.footer-title {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #cfe6e0; font-size: 0.88rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  font-size: 0.8rem;
}

/* ---------- Cerez bildirimi ---------- */

.cookie-bar {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  justify-content: center;
  animation: cookieUp 0.45s ease both;
}
.cookie-bar[hidden] { display: none; }

@keyframes cookieUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-inner {
  width: 100%;
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(9, 77, 68, 0.18);
  padding: 20px 24px;
}

.cookie-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}

.cookie-text {
  font-size: 0.87rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.cookie-text a { font-weight: 600; }

.cookie-prefs {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.cookie-prefs[hidden] { display: none; }

.cookie-pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--mint-soft);
  cursor: pointer;
}
.cookie-pref-info { display: flex; flex-direction: column; gap: 2px; }
.cookie-pref-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.cookie-pref-desc { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.45; }
.cookie-pref input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--teal);
  cursor: pointer;
}
.cookie-pref input:disabled { cursor: not-allowed; opacity: 0.6; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-btn {
  border-radius: 9px;
  padding: 11px 20px;
  font-family: var(--font);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cookie-btn[hidden] { display: none; }
.cookie-btn.accept {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.cookie-btn.accept:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.cookie-btn.reject {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.cookie-btn.reject:hover { background: #16222b; border-color: #16222b; }
.cookie-btn.manage,
.cookie-btn.save {
  background: var(--mint-soft);
  color: var(--ink-soft);
  border-color: var(--line);
}
.cookie-btn.manage:hover,
.cookie-btn.save:hover { color: var(--ink); border-color: var(--ink-soft); }

/* ---------- Mobil ---------- */

@media (max-width: 1040px) {
  .nav-list { gap: 17px; }
  .nav-list a { font-size: 0.9rem; }
}

@media (max-width: 940px) {
  .ldetail-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ldetail-side { position: static; }
}

@media (max-width: 860px) {
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .faq-a { padding-left: 20px; }

  .nav-list { gap: 0; }
  .nav-list a { font-size: 0.95rem; }

  .annitem-link { gap: 13px; padding: 15px 16px; }
  .annitem-date { width: 52px; padding: 7px 0 6px; }
  .annitem-day { font-size: 1.15rem; }

  .filterbar { align-items: stretch; }
  .filterbar-tabs { justify-content: space-between; width: 100%; }
  .ghostbtn { justify-content: center; }

  .lgrid { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 16px; }
  .sidecard { word-break: break-word; overflow-wrap: break-word; }
  .sr-badge { width: 54px; }

  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 10px 22px 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }
  .nav-list.open { display: flex; }
  .nav-list a { display: block; padding: 11px 0; border-bottom: 0; }

  .week-body { padding-left: 18px; }
  .tri-tab { min-width: 100%; }
}
