/* Otorixa Forum Family Final — public index/lokasyon/kategori aile uyumu */
:root{
  --otx-forum-shell:1180px;
  --otx-forum-narrow:960px;
  --otx-forum-gold:#d4a03c;
  --otx-forum-gold-soft:#f4d08b;
  --otx-forum-teal:#12b8a6;
  --otx-forum-bg:#070b14;
  --otx-forum-card:rgba(15,23,42,.72);
  --otx-forum-line:rgba(148,163,184,.17);
  --otx-forum-text:#e5edf7;
  --otx-forum-muted:#aebed0;
  --otx-forum-radius:30px;
}
body:has(.otx-forum-family),
body:has(.forum-cat-shell),
body:has(.forum-topic-shell){
  overflow-x:hidden;
}
.otx-forum-family,
.forum-cat-shell,
.forum-topic-shell{
  width:min(100% - 24px,var(--otx-forum-shell))!important;
  max-width:var(--otx-forum-shell)!important;
  margin-inline:auto!important;
  padding:clamp(22px,4.5vw,66px) 0!important;
  color:var(--otx-forum-text)!important;
  box-sizing:border-box!important;
}
.otx-forum-family *,
.forum-cat-shell *,
.forum-topic-shell *{box-sizing:border-box;min-width:0}
.otx-forum-hero,
.forum-cat-hero,
.forum-topic-hero{
  min-height:clamp(430px,48vw,600px)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  border:1px solid rgba(212,160,60,.20)!important;
  border-radius:clamp(24px,3vw,34px)!important;
  padding:clamp(30px,5vw,64px)!important;
  background:
    radial-gradient(circle at 82% 14%,rgba(212,160,60,.22),transparent 32%),
    radial-gradient(circle at 12% 90%,rgba(18,184,166,.16),transparent 32%),
    linear-gradient(135deg,rgba(7,11,20,.99),rgba(17,24,39,.95) 45%,rgba(31,41,55,.86))!important;
  box-shadow:0 30px 90px rgba(2,6,23,.34),inset 0 1px 0 rgba(255,255,255,.05)!important;
  overflow:hidden!important;
}
.forum-eyebrow,
.forum-cat-eyebrow,
.forum-topic-badge,
.forum-section-head>span{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  align-self:flex-start!important;
  border:1px solid rgba(212,160,60,.34)!important;
  border-radius:999px!important;
  background:rgba(212,160,60,.10)!important;
  color:var(--otx-forum-gold-soft)!important;
  padding:8px 12px!important;
  font-size:.75rem!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.forum-eyebrow::before{display:none!important}
.forum-hero h1,
.forum-cat-hero h1,
.forum-topic-hero h1{
  max-width:1000px!important;
  margin:18px 0 14px!important;
  color:#fff!important;
  font-size:clamp(2.15rem,5vw,4.55rem)!important;
  line-height:1.02!important;
  letter-spacing:-.055em!important;
}
.forum-lead,
.forum-cat-lead,
.forum-topic-lead{
  max-width:880px!important;
  color:#c5d3e5!important;
  font-size:clamp(1rem,1.85vw,1.22rem)!important;
  line-height:1.72!important;
  margin:0!important;
}
.forum-section,
.forum-cat-section{
  width:100%!important;
  margin-top:clamp(24px,4vw,42px)!important;
  border:1px solid rgba(148,163,184,.10)!important;
  border-radius:28px!important;
  padding:clamp(20px,3vw,30px)!important;
  background:linear-gradient(180deg,rgba(15,23,42,.58),rgba(7,11,20,.34))!important;
  box-shadow:0 18px 54px rgba(2,6,23,.18)!important;
}
.forum-section-head{max-width:900px;margin-bottom:18px!important}
.forum-section h2,
.forum-cat-section h2,
.forum-topic-card h2{
  margin:10px 0 10px!important;
  color:#fff!important;
  font-size:clamp(1.45rem,3vw,2.4rem)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
}
.forum-section>p,
.forum-section-head p,
.forum-cat-section>p,
.forum-topic-card p{
  color:var(--otx-forum-muted)!important;
  line-height:1.72!important;
}
.forum-grid,
.forum-subforums,
.forum-topic-grid,
.forum-hub-list,
.forum-region-list,
.forum-live-deck,
.forum-trust-grid,
.forum-cat-grid,
.forum-cat-info,
.forum-ai-grid,
.forum-live-grid,
.forum-score-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;
  gap:16px!important;
}
.forum-card,
.forum-topic-card,
.forum-action-card,
.forum-hub,
.forum-subforum,
.forum-region,
.forum-live-item,
.forum-trust-card,
.forum-cat-card,
.forum-cat-info>div,
.forum-ai-mini,
.forum-live-card,
.forum-score-item{
  min-height:auto!important;
  border:1px solid var(--otx-forum-line)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(15,23,42,.72))!important;
  padding:18px!important;
  color:inherit!important;
  box-shadow:0 16px 44px rgba(2,6,23,.16)!important;
}
.forum-topic-card{display:flex!important;flex-direction:column!important;gap:0!important}
.forum-card h3,
.forum-topic-card h3,
.forum-action-card h3,
.forum-hub h3,
.forum-subforum h3,
.forum-cat-card h3,
.forum-ai-mini h3{
  color:#fff!important;
  margin:8px 0!important;
  line-height:1.3!important;
}
.forum-card p,
.forum-topic-card p,
.forum-action-card p,
.forum-hub p,
.forum-subforum p,
.forum-region p,
.forum-live-item p,
.forum-trust-card p,
.forum-cat-card p,
.forum-ai-mini p{
  color:var(--otx-forum-muted)!important;
  line-height:1.62!important;
}
.forum-actions,
.forum-topic-actions,
.forum-cat-actions,
.forum-cat-links{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:20px!important}
.forum-actions a,
.forum-topic-actions a,
.forum-cat-actions a,
.forum-cat-links a,
.forum-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  min-height:42px!important;
  padding:10px 15px!important;
  text-decoration:none!important;
  font-weight:950!important;
  border:1px solid rgba(212,160,60,.34)!important;
  background:rgba(212,160,60,.08)!important;
  color:var(--otx-forum-gold-soft)!important;
}
.forum-actions a:first-child,
.forum-topic-actions a:first-child,
.forum-cat-actions a:first-child{
  background:linear-gradient(135deg,#d4a03c,#f4d08b)!important;
  color:#111827!important;
}
.forum-chip-row,
.forum-query-tags,
.forum-country-tags,
.forum-cat-tags,
.forum-cat-badges{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:16px!important}
.forum-chip,
.forum-query-tags span,
.forum-country-tags span,
.forum-cat-tags span,
.forum-cat-badges span,
.forum-topic-query,
.forum-comment-chip,
.forum-topic-card .query{
  display:inline-flex!important;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.04)!important;
  color:#dbe7f4!important;
  font-size:.82rem!important;
  font-weight:800!important;
  padding:7px 10px!important;
}
.forum-country-tags span,
.forum-topic-card .query{border-color:rgba(212,160,60,.28)!important;background:rgba(212,160,60,.08)!important;color:var(--otx-forum-gold-soft)!important}
.forum-stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:14px!important;margin-top:28px!important;max-width:760px!important}
.forum-stat{border:1px solid rgba(148,163,184,.16)!important;border-radius:18px!important;background:rgba(255,255,255,.045)!important;padding:18px!important}
.forum-stat strong{display:block!important;color:#fff!important;font-size:1.55rem!important;line-height:1.1!important}.forum-stat span{display:block!important;color:#9fb3ca!important;margin-top:6px!important}
.forum-sub-icon,.forum-action-card img,.forum-live-item img{width:34px!important;height:34px!important;object-fit:contain!important;margin-bottom:10px!important;filter:drop-shadow(0 8px 16px rgba(0,0,0,.22))}
.forum-topic-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:20px!important;margin-top:24px!important}
.forum-topic-side{position:sticky!important;top:16px!important;align-self:start!important}
.forum-author-panel,
.forum-cat-author{border:1px solid rgba(148,163,184,.16)!important;border-radius:20px!important;background:rgba(255,255,255,.045)!important;padding:14px!important;max-width:780px!important}
.forum-mod-note,.forum-note,.forum-topic-note{border-left:3px solid var(--otx-forum-gold)!important;padding:12px 14px!important;background:rgba(212,160,60,.08)!important;border-radius:0 14px 14px 0!important;color:#dbe7f4!important;line-height:1.6!important;margin-top:16px!important}
.forum-topic-list,.forum-cat-steps,.forum-trust-list{display:grid!important;gap:10px!important;margin:0!important;padding:0!important;list-style:none!important}
.forum-topic-list li,.forum-cat-steps li,.forum-trust-list li{border:1px solid rgba(148,163,184,.14)!important;border-radius:15px!important;background:rgba(255,255,255,.035)!important;padding:12px!important;color:#dbe7f4!important;line-height:1.55!important}
@media (max-width:900px){
  .otx-forum-family,.forum-cat-shell,.forum-topic-shell{width:min(100% - 18px,var(--otx-forum-shell))!important;padding-top:18px!important}
  .otx-forum-hero,.forum-cat-hero,.forum-topic-hero{min-height:auto!important;padding:24px!important;border-radius:24px!important}
  .forum-hero h1,.forum-cat-hero h1,.forum-topic-hero h1{font-size:clamp(2rem,10vw,3rem)!important;letter-spacing:-.04em!important}
  .forum-section,.forum-cat-section{padding:18px!important;border-radius:22px!important}
  .forum-topic-layout{grid-template-columns:1fr!important}.forum-topic-side{position:static!important}.forum-actions a,.forum-topic-actions a,.forum-cat-actions a{width:100%!important}
  .forum-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:520px){
  .forum-stats{grid-template-columns:1fr!important}
  .forum-grid,.forum-subforums,.forum-topic-grid,.forum-hub-list,.forum-region-list,.forum-live-deck,.forum-trust-grid,.forum-cat-grid{grid-template-columns:1fr!important}
  .forum-chip-row,.forum-query-tags,.forum-country-tags,.forum-cat-tags{max-width:100%;overflow:hidden}
}

/* Forum live-traffic continuation: ana forum ve alt forum gerçek ziyaretçi akışı */
.otx-forum-home .forum-priority-section,
.otx-forum-category #alt-forum-net-cevap,
.otx-forum-category #bolge-fiyat-sinyali,
.otx-forum-category #avrupa-yatirimci-kontrolu,
.otx-forum-category #proje-firma-gecisi{
  scroll-margin-top: 96px;
}
.otx-forum-home .forum-card,
.otx-forum-home .forum-region,
.otx-forum-home .forum-hub,
.otx-forum-home .forum-topic-card,
.otx-forum-category .forum-cat-card{
  min-height: 100%;
}
.otx-forum-home .forum-card h3,
.otx-forum-category .forum-cat-card h3{
  letter-spacing: -.02em;
}
.otx-forum-home .forum-card p,
.otx-forum-home .forum-region p,
.otx-forum-category .forum-cat-card p,
.otx-forum-category .forum-cat-steps li{
  overflow-wrap: anywhere;
}
.otx-forum-category .forum-cat-section{
  scroll-margin-top: 96px;
}
@media (max-width: 720px){
  .otx-forum-home .forum-global-grid,
  .otx-forum-home .forum-grid,
  .otx-forum-home .forum-subforums,
  .otx-forum-home .forum-topic-grid,
  .otx-forum-home .forum-hub-list,
  .otx-forum-category .forum-cat-grid,
  .otx-forum-category .forum-cat-info{
    grid-template-columns: 1fr !important;
  }
  .otx-forum-home .forum-actions a,
  .otx-forum-category .forum-cat-actions a,
  .otx-forum-category .forum-cat-links a{
    width: 100%;
  }
  .otx-forum-home .forum-hero,
  .otx-forum-category .forum-cat-hero{
    padding: 24px 18px !important;
  }
}


/* Otorixa Forum — performans ve tekrar azaltma devam paketi */
.otx-forum-family .forum-section,
.otx-forum-family .forum-cat-section,
.otx-forum-family .forum-topic-card{
  content-visibility:auto;
  contain-intrinsic-size: 1px 420px;
}
.otx-forum-family .forum-hero,
.otx-forum-family .forum-cat-hero,
.otx-forum-family .forum-topic-hero{
  content-visibility:visible;
  contain-intrinsic-size:auto;
}
.otx-forum-family .forum-topic-grid,
.otx-forum-family .forum-hub-list,
.otx-forum-family .forum-cat-grid,
.otx-forum-family .forum-grid{
  align-items:stretch;
}
.otx-forum-family .forum-topic-card,
.otx-forum-family .forum-cat-card,
.otx-forum-family .forum-card,
.otx-forum-family .forum-hub{
  min-width:0;
  overflow-wrap:anywhere;
}
.otx-forum-family .forum-topic-actions{
  gap:8px;
}
.otx-forum-family .forum-topic-actions a{
  min-height:38px;
}
.otx-forum-family .forum-chip-row,
.otx-forum-family .forum-query-tags,
.otx-forum-family .forum-cat-tags,
.otx-forum-family .forum-country-tags{
  max-width:100%;
}
.otx-forum-family .forum-chip-row span[hidden],
.otx-forum-family .forum-query-tags span[hidden],
.otx-forum-family .forum-cat-tags span[hidden],
.otx-forum-family .forum-country-tags span[hidden],
.otx-forum-family .forum-topic-query[hidden]{
  display:none!important;
}
@media (max-width: 760px){
  .otx-forum-family .forum-section,
  .otx-forum-family .forum-cat-section{
    margin-top:20px!important;
  }
  .otx-forum-family .forum-grid,
  .otx-forum-family .forum-topic-grid,
  .otx-forum-family .forum-hub-list,
  .otx-forum-family .forum-cat-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .otx-forum-family .forum-card,
  .otx-forum-family .forum-topic-card,
  .otx-forum-family .forum-cat-card,
  .otx-forum-family .forum-hub{
    padding:15px!important;
    border-radius:18px!important;
  }
  .otx-forum-family .forum-topic-actions a,
  .otx-forum-family .forum-actions a,
  .otx-forum-family .forum-cat-actions a{
    width:100%;
    justify-content:center;
  }
}
/* forum live micro cleanup */
.forum-topic-card small,.forum-cat-card small{letter-spacing:.045em}.forum-topic-card p,.forum-cat-card p{max-width:70ch}.forum-topic-actions a[href*="forum-yorum"],.forum-topic-actions a[href*="forum-konu-ac"]{white-space:nowrap}.forum-global-grid,.forum-topic-grid,.forum-cat-grid{content-visibility:auto;contain-intrinsic-size:1px 720px}@media(max-width:640px){.forum-topic-actions{display:grid;grid-template-columns:1fr;gap:8px}.forum-topic-actions a{width:100%;justify-content:center}.forum-topic-card,.forum-cat-card{padding:16px!important}}

/* OTORIXA Forum width restore — after public unified color package
   Scope: forum only. Keeps index/location/category widths untouched. */
:root{
  --otx-forum-shell:1180px;
  --otx-forum-safe-gap:36px;
  --otx-forum-cyan:#38bdf8;
  --otx-forum-teal:#14b8a6;
  --otx-forum-emerald:#22c55e;
  --otx-forum-violet:#8b5cf6;
  --otx-forum-line-cool:rgba(125,211,252,.18);
}
html:has(.otx-forum-family),
html:has(.forum-cat-shell),
html:has(.forum-topic-shell),
body:has(.otx-forum-family),
body:has(.forum-cat-shell),
body:has(.forum-topic-shell){
  overflow-x:hidden!important;
  max-width:100%!important;
}
body.otx-public-vitrine .forum-shell.otx-forum-family,
body.otx-public-vitrine .otx-forum-family,
body.otx-public-vitrine .forum-cat-shell,
body.otx-public-vitrine .forum-topic-shell{
  width:min(var(--otx-forum-shell),calc(100vw - var(--otx-forum-safe-gap)))!important;
  max-width:var(--otx-forum-shell)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  overflow:clip!important;
  isolation:isolate!important;
}
body.otx-public-vitrine .forum-shell.otx-forum-family > *,
body.otx-public-vitrine .otx-forum-family > *,
body.otx-public-vitrine .forum-cat-shell > *,
body.otx-public-vitrine .forum-topic-shell > *{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.otx-public-vitrine .otx-forum-family :where(.forum-hero,.otx-forum-hero,.forum-section,.forum-cat-section,.forum-topic-hero,.forum-topic-layout,.forum-topic-card,.forum-grid,.forum-subforums,.forum-topic-grid,.forum-hub-list,.forum-region-list,.forum-live-deck,.forum-trust-grid,.forum-cat-grid,.forum-cat-info,.forum-ai-grid,.forum-live-grid,.forum-score-grid){
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.otx-public-vitrine .otx-forum-family :where(.forum-grid,.forum-subforums,.forum-topic-grid,.forum-hub-list,.forum-region-list,.forum-live-deck,.forum-trust-grid,.forum-cat-grid,.forum-cat-info,.forum-ai-grid,.forum-live-grid,.forum-score-grid){
  grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;
  overflow:hidden!important;
}
body.otx-public-vitrine .otx-forum-family :where(.forum-card,.forum-topic-card,.forum-action-card,.forum-hub,.forum-subforum,.forum-region,.forum-live-item,.forum-trust-card,.forum-cat-card,.forum-cat-info>div,.forum-ai-mini,.forum-live-card,.forum-score-item){
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
body.otx-public-vitrine .otx-forum-family :where(.forum-chip-row,.forum-query-tags,.forum-country-tags,.forum-cat-tags,.forum-cat-badges,.forum-topic-actions,.forum-actions,.forum-cat-actions,.forum-cat-links){
  max-width:100%!important;
  overflow:hidden!important;
  margin-right:0!important;
}
body.otx-public-vitrine .otx-forum-family :where(.forum-chip,.forum-query-tags span,.forum-country-tags span,.forum-cat-tags span,.forum-cat-badges span,.forum-topic-query,.forum-comment-chip,.forum-topic-card .query){
  max-width:100%!important;
  white-space:normal!important;
}
body.otx-public-vitrine .otx-forum-family :where(img,svg,video,iframe,table,pre,code){
  max-width:100%!important;
}
body.otx-public-vitrine .otx-forum-family :where(table,pre){
  overflow:auto!important;
}
/* Forum cool color lock: prevent old yellow from widening/standing out visually. */
body.otx-public-vitrine .otx-forum-family{
  --otx-forum-gold:var(--otx-forum-cyan)!important;
  --otx-forum-gold-soft:#a7f3ff!important;
  --otx-forum-teal:#14b8a6!important;
}
body.otx-public-vitrine .otx-forum-family :where(.forum-eyebrow,.forum-cat-eyebrow,.forum-topic-badge,.forum-section-head>span,.forum-country-tags span,.forum-topic-card .query){
  border-color:rgba(56,189,248,.24)!important;
  background:linear-gradient(135deg,rgba(56,189,248,.10),rgba(139,92,246,.07))!important;
  color:#c8fbff!important;
}
body.otx-public-vitrine .otx-forum-family :where(.forum-actions a:first-child,.forum-topic-actions a:first-child,.forum-cat-actions a:first-child){
  background:linear-gradient(135deg,var(--otx-forum-cyan),var(--otx-forum-teal) 58%,var(--otx-forum-emerald))!important;
  color:#03101e!important;
  border-color:rgba(103,232,249,.42)!important;
}
body.otx-public-vitrine .otx-forum-family :where(.forum-actions a,.forum-topic-actions a,.forum-cat-actions a,.forum-cat-links a,.forum-link){
  border-color:rgba(103,232,249,.24)!important;
  background:rgba(56,189,248,.07)!important;
  color:#e7f8ff!important;
}
@media (max-width:920px){
  body.otx-public-vitrine .forum-shell.otx-forum-family,
  body.otx-public-vitrine .otx-forum-family,
  body.otx-public-vitrine .forum-cat-shell,
  body.otx-public-vitrine .forum-topic-shell{
    --otx-forum-safe-gap:22px;
    width:calc(100vw - var(--otx-forum-safe-gap))!important;
    max-width:calc(100vw - var(--otx-forum-safe-gap))!important;
    overflow:hidden!important;
  }
  body.otx-public-vitrine .otx-forum-family :where(.forum-hero,.otx-forum-hero,.forum-cat-hero,.forum-topic-hero){
    padding:22px 16px!important;
    border-radius:24px!important;
  }
  body.otx-public-vitrine .otx-forum-family :where(.forum-section,.forum-cat-section){
    padding:16px!important;
    border-radius:22px!important;
  }
  body.otx-public-vitrine .otx-forum-family :where(.forum-grid,.forum-subforums,.forum-topic-grid,.forum-hub-list,.forum-region-list,.forum-live-deck,.forum-trust-grid,.forum-cat-grid,.forum-cat-info,.forum-ai-grid,.forum-live-grid,.forum-score-grid){
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  body.otx-public-vitrine .otx-forum-family :where(.forum-topic-layout){
    grid-template-columns:minmax(0,1fr)!important;
  }
}
