[data-forum] {
  --forum-dark: #183e33;
  --forum-muted: #516257;
  --forum-line: #cdd4c5;
  --forum-warm: #a45332;
  padding-bottom: clamp(48px, 8vw, 100px);
}

.forum-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(42px, 6vw, 80px);
  border-bottom: 1px solid var(--forum-line);
}

.forum-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #79452d;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.forum-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--forum-warm);
}

.forum-intro h1 {
  margin: 0 0 20px;
  font-size: clamp(3rem, 5.35vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.forum-intro h1 em {
  color: #4c6c4c;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-synthesis: style;
}

.forum-intro > p {
  max-width: 48ch;
  margin: 0;
  color: var(--forum-muted);
  line-height: 1.72;
}

.forum-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 26px;
}

.forum-primary, .forum-outline, .forum-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  color: var(--forum-dark);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
}

.forum-primary, .forum-outline {
  padding: 12px 20px;
  border: 1px solid var(--forum-dark);
  border-radius: 7px;
}

.forum-primary {
  gap: 22px;
  background: var(--forum-dark);
  color: #fffdf4;
}

.forum-primary:hover, .forum-primary:focus-visible {
  background: #275744;
  color: white;
  text-decoration: none;
}

.forum-outline { background: transparent; }
.forum-outline:hover { background: #e4eadc; }
.forum-text-link { text-decoration: underline; text-underline-offset: 4px; }
.forum-text-link span, .forum-primary span { font-size: 1.05em; }

.forum-photo { padding: 0 8px 0 0; }
.forum-photo figure { position: relative; margin: 0; }
.forum-photo img {
  box-shadow: 6px 6px 0 #cfab82;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.64;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
}

.forum-photo figcaption {
  position: relative;
  margin-top: 13px;
  color: #56655a;
  font-size: .78rem;
  line-height: 1.5;
}
.forum-photo figcaption a, .forum-privacy a { text-decoration: underline; text-underline-offset: 3px; }

.forum-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr);
  align-items: start;
  gap: clamp(34px, 6vw, 85px);
  padding-top: clamp(34px, 4.5vw, 60px);
}

#yanitlar, #soru-sor, .forum-question { scroll-margin-top: 28px; }
.forum-answers h2, .forum-compose h2 {
  margin: 0 0 20px;
  line-height: 1.12;
  font-size: clamp(2rem, 3.3vw, 2.75rem);
}

.forum-empty {
  border-block: 1px solid var(--forum-line);
  padding: clamp(27px, 4vw, 44px) 0;
}

.forum-empty h3 {
  margin: 0 0 6px;
  font: 400 clamp(1.4rem, 2.2vw, 1.85rem)/1.25 Georgia, serif;
  color: var(--forum-dark);
}

.forum-empty p, .forum-list-status {
  margin: 0;
  font-size: .9rem;
  line-height: 1.6;
}

.forum-empty .forum-text-link { margin-top: 8px; }
.forum-list-status:not(:empty) { margin-bottom: 12px; }
.forum-list-status[data-error] { color: #8b3925; }
.forum-questions:not(:empty) { border-top: 1px solid var(--forum-line); }
.forum-questions:not(:empty) ~ .forum-outline { margin-top: 18px; }
.forum-back { margin: -10px 0 12px; }

.forum-question {
  min-width: 0;
  border-bottom: 1px solid var(--forum-line);
}

.forum-question summary {
  position: relative;
  min-height: 70px;
  padding: 19px 48px 18px 0;
  list-style: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.forum-question summary::-webkit-details-marker { display: none; }
.forum-question summary::after {
  position: absolute;
  right: 2px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 1px solid var(--forum-line);
  border-radius: 50%;
  content: "+";
  font: 400 19px/1 Georgia, serif;
}
.forum-question[open] summary::after { content: "−"; }
.forum-question summary:hover::after { background: #e4eadc; }

.forum-question-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-bottom: 7px;
  color: var(--forum-muted);
  font-size: .74rem;
}
.forum-question-meta > span { color: #78452d; font-weight: 650; }
.forum-question-title {
  display: block;
  color: var(--forum-dark);
  font: 400 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 Georgia, serif;
}
.forum-question-body, .forum-answer p {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.65;
  font-size: .94rem;
}
.forum-question-body { margin: 0 0 16px; }
.forum-answer { border-left: 3px solid #91a785; padding: 2px 0 2px 16px; }
.forum-answer strong { display: block; color: var(--forum-dark); font-size: .8rem; margin-bottom: 5px; }
.forum-share { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 9px 0 12px; }
.forum-share .forum-text-link { padding: 0; border: 0; background: none; font-size: .76rem; }
.forum-share small { color: var(--forum-muted); }
.forum-share input { width: 100%; min-width: 0; font: inherit; }

.forum-compose {
  background: #f0e9d8;
  border: 1px solid #ded4bf;
  border-radius: 12px;
  padding: clamp(22px, 3vw, 35px);
}
.forum-compose h2 { margin-bottom: 11px; }
.forum-compose-lead {
  margin: 0 0 21px;
  font-size: .91rem;
  line-height: 1.65;
  color: #505f51;
}
.forum-compose fieldset { border: 0; min-width: 0; padding: 0; margin: 0; }
.forum-compose label {
  display: block;
  color: var(--forum-dark);
  margin: 15px 0 6px;
  font-size: .87rem;
  font-weight: 650;
}
.forum-compose label:first-child { margin-top: 0; }
.forum-compose label span { font-weight: 400; color: var(--forum-muted); }
.forum-compose input, .forum-compose select, .forum-compose textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #acae9d;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fffdf5;
  color: var(--forum-dark);
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
}
.forum-compose select { padding-right: 24px; }
.forum-compose select:invalid, .forum-compose input::placeholder { color: #5c685e; opacity: 1; }
.forum-compose textarea { display: block; min-height: 84px; resize: vertical; }
.forum-privacy {
  margin: 15px 0 20px;
  color: #4e5a50;
  font-size: .77rem;
  line-height: 1.6;
}
.forum-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.forum-compose fieldset:disabled .forum-primary { opacity: .65; cursor: wait; }
.forum-send-status:empty { display: none; }
.forum-send-status { margin: 14px 0 0; font-size: .88rem; line-height: 1.5; overflow-wrap: anywhere; }
.forum-send-status[data-state="error"] { color: #873820; }
.forum-send-status[data-state="success"] { color: var(--forum-dark); font-weight: 600; }
.forum-receipt { display: block; margin-top: 6px; font-size: .75rem; font-weight: 400; }
.forum-receipt code { user-select: all; }
.forum-noscript { padding: 18px 0 0; }
[data-forum] :is(a, button, select, input, textarea, summary):focus-visible { outline: 3px solid #8a532b; outline-offset: 3px; }


.forum-directory {
  padding: clamp(32px, 4vw, 54px) 0 clamp(24px, 3.5vw, 48px);
  border-bottom: 1px solid var(--forum-line);
  scroll-margin-top: 24px;
}
.forum-directory-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.forum-directory-head h2 { margin: 0; }
.forum-topic-search { max-width: 100%; width: 240px; }
.forum-topic-search label {
  display: block;
  color: var(--forum-muted);
  margin-bottom: 5px;
  font-size: .88rem;
  font-weight: 650;
}
.forum-topic-search input {
  width: 100%;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid #aebbad;
  border-radius: 6px;
  background: #fffdf7;
  color: var(--forum-dark);
  font-size: 1rem;
}
.forum-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 36px);
  align-items: start;
}
.forum-stage {
  --stage-accent: #355b4a;
  --stage-paper: #e6ebe2;
  min-width: 0;
  border-top: 3px solid var(--stage-accent);
}
.forum-stage:nth-child(2) { --stage-accent: #825239; --stage-paper: #f2e8d9; }
.forum-stage:nth-child(3) { --stage-accent: #3c5a6b; --stage-paper: #e7eceb; }
.forum-stage h3 {
  padding: 16px 13px;
  margin: 0;
  background: var(--stage-paper);
  color: var(--stage-accent);
  font: 500 clamp(1.25rem, 1.95vw, 1.72rem)/1.18 Georgia, serif;
  letter-spacing: -.025em;
}
.forum-stage ul, .forum-examples ul { list-style: none; padding: 0; margin: 0; }
.forum-stage li { border-bottom: 1px solid var(--forum-line); }
.forum-stage a {
  display: block;
  min-height: 48px;
  padding: 14px 12px;
  overflow-wrap: anywhere;
}
.forum-stage a:hover { background: var(--stage-paper); text-decoration: none; }
.forum-stage a:focus-visible strong, .forum-stage a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.forum-stage strong { display: block; font-size: 1rem; line-height: 1.32; color: var(--forum-dark); }
.forum-stage a span { display: block; margin-top: 4px; color: var(--forum-muted); font-size: .875rem; line-height: 1.48; }
.forum-search-status { color: var(--forum-muted); font-size: .9rem; margin: 14px 0 0; }
.forum-search-status:empty { margin: 0; }
.forum-topic-hero { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); }
.forum-topic-hero h1 { font-size: clamp(2.7rem, 4.6vw, 4.25rem); }
.forum-topic-note {
  border-left: 3px solid #b68158;
  background: #f2eee5;
  padding: clamp(18px, 2.6vw, 30px);
  overflow-wrap: anywhere;
}
.forum-topic-note h2 { margin: 0 0 10px; font: 500 1.5rem/1.2 Georgia, serif; }
.forum-topic-note p, .forum-editorial p { font-size: 1rem; line-height: 1.65; margin: 0 0 4px; }
.forum-topic-note .forum-text-link, .forum-editorial .forum-text-link { justify-content: start; margin-top: 4px; }
.forum-editor-picks { margin-bottom: 30px; }
.forum-editor-picks h2 { margin: 0 0 12px; }
.forum-editor-picks ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--forum-line); }
.forum-editor-picks li { border-bottom: 1px solid var(--forum-line); }
.forum-editor-picks a { display: block; padding: 12px 0; min-height: 46px; font-size: 1rem; line-height: 1.5; color: var(--forum-dark); }
.forum-editor-picks a:hover { text-decoration: underline; text-underline-offset: 3px; }
.forum-read { min-width: 0; }
.forum-editorial { padding-bottom: 26px; margin-bottom: 24px; border-bottom: 1px solid var(--forum-line); }
.forum-editorial h2 { font-size: clamp(1.75rem, 2.75vw, 2.45rem); margin-bottom: 14px; line-height: 1.17; }
.forum-examples { padding-top: 28px; }
.forum-examples h2 { font-size: 1.65rem; margin: 0 0 8px; }
.forum-examples p { color: var(--forum-muted); font-size: .94rem; margin: 0 0 12px; }
.forum-examples li { border-bottom: 1px solid var(--forum-line); }
.forum-examples a { display: flex; min-height: 46px; align-items: center; line-height: 1.52; padding-block: 10px; color: var(--forum-dark); }
.forum-examples a:hover { text-decoration: underline; text-underline-offset: 3px; }
.forum-form-topic { padding-bottom: 14px; margin-bottom: 0; border-bottom: 1px solid #d8cbb1; }
.forum-form-topic span { display: block; font-size: .88rem; margin-bottom: 4px; color: var(--forum-muted); }
.forum-form-topic strong { font-weight: 650; }
.forum-all-topics { margin-top: 30px; }
[data-forum] [hidden] { display: none !important; }

@media (max-width: 800px) {
  .forum-hero { gap: 20px; }
  .forum-intro h1 { font-size: clamp(2.45rem, 5.8vw, 3rem); }
  .forum-columns { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 24px; }
}
@media (max-width: 700px) {
  .forum-stages { grid-template-columns: 1fr; gap: 24px; }
  .forum-stage a { padding-block: 12px; }
  .forum-directory-head { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 20px; }
  .forum-topic-search { width: 100%; }
  .forum-topic-hero { grid-template-columns: minmax(0, 1fr); }
  .forum-topic-note h2 { font-size: 1.35rem; }

  .forum-hero, .forum-columns { grid-template-columns: minmax(0, 1fr); }
  .forum-hero { gap: 28px; padding: 35px 0 30px; }
  .forum-intro h1 { font-size: clamp(2.78rem, 9vw, 4rem); margin-bottom: 16px; }
  .forum-intro > p { max-width: 54ch; }
  .forum-kicker { margin-bottom: 13px; }
  .forum-actions { margin-top: 18px; }
  .forum-photo img {
  box-shadow: 6px 6px 0 #cfab82; aspect-ratio: 2.2; }
  .forum-columns { gap: 32px; padding-top: 32px; }
  .forum-compose .forum-primary { width: 100%; }
  .forum-compose { padding: 24px 20px; }
  [data-forum] .analytics-consent[data-consent-state="unknown"] {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 20px 0 0;
    max-height: none;
    box-shadow: none;
  }
}
@media (max-width: 360px) {
  .forum-hero { padding-top: 28px; }
  .forum-intro h1 { font-size: 2.58rem; }
  .forum-compose { padding-inline: 16px; }
}
