/*
Theme Name: Sohbet.Gen.TR
Theme URI: https://sohbet.gen.tr/
Author: Sohbet.Gen.TR
Description: Koyu lacivert/mor, sohbet portalı odaklı WordPress teması.
Version: 1.0.5
Text Domain: sohbet-gen-tr
*/
:root{--bg:#03122b;--bg2:#061a3a;--card:#071f43;--line:#174b85;--purple:#7138ff;--purple2:#9b55ff;--text:#f7f8ff;--muted:#aab9d3;--green:#16e39a;--radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 50% 0,#0b2d5d 0,#03122b 45%,#020c1d 100%);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1450px,94%);margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(2,14,34,.96);border-bottom:1px solid #123a69;backdrop-filter:blur(12px)}.nav{min-height:70px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:25px;white-space:nowrap}.brand-bubble{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#6b2cff,#b35cff);font-size:22px;box-shadow:0 0 25px #7138ff55}.brand span{color:var(--purple2)}.nav-menu{display:flex;gap:24px;margin-left:auto;align-items:center}.nav-menu a{color:#dce5f7;font-size:14px;padding:24px 2px;border-bottom:3px solid transparent}.nav-menu a:hover,.nav-menu .current-menu-item a{border-color:#8b48ff;color:white}.nav-cta{padding:12px 18px!important;border:1px solid #9d68ff;border-radius:9px!important;background:linear-gradient(135deg,#6e2fff,#933fff);border-bottom:0!important}
.hero{min-height:340px;background:url('assets/hero.png') center/cover no-repeat;border-bottom:1px solid #174b85}.hero-inner{padding:52px 0 38px}.hero h1{font-size:56px;line-height:1.05;margin:0 0 8px}.hero h1 span{color:#9b55ff}.hero h2{font-size:29px;margin:0 0 10px}.hero p{max-width:620px;color:#e4e9f4;font-size:17px}.slogan{display:inline-block;background:linear-gradient(90deg,#6b25ff,#8f3cff);padding:7px 18px;border-radius:8px;transform:skew(-7deg);font-style:italic;margin-top:8px}
.layout{display:grid;grid-template-columns:320px minmax(0,1fr) 320px;gap:18px;margin-top:18px}.panel{background:linear-gradient(180deg,rgba(7,31,67,.98),rgba(4,23,49,.98));border:1px solid #14508e;border-radius:var(--radius);box-shadow:0 12px 35px #0005;overflow:hidden}.panel-title{display:flex;align-items:center;gap:10px;padding:17px 18px;border-bottom:1px solid #154a80;font-size:18px;font-weight:800}.panel-body{padding:14px}.login-box{padding:17px}.login-box input{width:100%;margin:7px 0;padding:13px 14px;background:#061b3a;border:1px solid #396b9e;border-radius:9px;color:white;outline:none}.login-box input:focus{border-color:#9a58ff}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:9px;padding:12px 18px;background:linear-gradient(135deg,#6730ff,#983dff);color:#fff;font-weight:700;cursor:pointer}.btn-full{width:100%;margin-top:8px}.muted{color:var(--muted);font-size:13px}.feature{padding:17px;border-top:1px solid #123d6a;display:flex;gap:13px}.feature-icon{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;background:#3724a8;color:#fff;font-size:21px}.room-head{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#08244d,#0a1b3d)}.room-head h2{margin:0;font-size:22px}.room-grid{padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.room{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #14508e;border-radius:12px;background:#061a38;transition:.2s}.room:hover{transform:translateY(-1px);border-color:#8450ff}.room-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#1c55c8,#7138ff);font-size:21px}.room-name{font-weight:700}.room-meta{font-size:12px;color:var(--muted);margin-top:2px}.online{color:var(--green);font-size:12px;margin-left:auto;white-space:nowrap}.category-list,.post-list{padding:8px 12px}.category,.post{display:flex;gap:9px;align-items:center;padding:10px 5px;border-bottom:1px solid #10375f;font-size:14px}.category:last-child,.post:last-child{border-bottom:0}.count{margin-left:auto;color:#d8e2f2;font-size:12px;background:#0c2d54;padding:2px 7px;border-radius:20px}.post img{width:45px;height:45px;object-fit:cover;border-radius:8px}.post-title{font-size:12px;line-height:1.25}.post-date{font-size:10px;color:var(--muted)}.server-strip{margin:0 16px 16px;border:1px solid #6b31ff;border-radius:12px;min-height:105px;padding:18px;background:linear-gradient(90deg,#10106b,#24105b 45%,#0b244b);display:flex;align-items:center;gap:16px}.server-icon{font-size:32px;width:55px;height:55px;display:grid;place-items:center;background:#3120a4;border-radius:10px}.server-strip h3{margin:0 0 3px}.server-strip p{margin:0;color:#b9c7df;font-size:13px}.server-strip .btn{margin-left:auto}.site-footer{margin-top:24px;border-top:1px solid #153d69;background:#020e23}.footer-inner{padding:25px 0;display:flex;justify-content:space-between;gap:20px;align-items:center}.footer-nav{display:flex;gap:20px;color:#b9c7df;font-size:13px}.copyright{padding:14px 0;border-top:1px solid #102f50;color:#7f91af;font-size:12px}.mobile-toggle{display:none}
@media(max-width:1100px){.layout{grid-template-columns:270px minmax(0,1fr)}.rightbar{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px}.nav-menu{gap:12px}.nav-menu a{font-size:12px}.hero h1{font-size:45px}}
@media(max-width:780px){.nav{min-height:62px}.brand{font-size:20px}.nav-menu{display:none}.mobile-toggle{display:block;margin-left:auto;background:none;border:1px solid #31547d;color:white;border-radius:8px;padding:8px}.layout{grid-template-columns:1fr}.rightbar{display:block}.hero h1{font-size:37px}.hero h2{font-size:22px}.hero-inner{padding:35px 0}.room-grid{grid-template-columns:1fr}.footer-inner{flex-direction:column;align-items:flex-start}.footer-nav{flex-wrap:wrap}}

/* Final visual refinements */
.room{cursor:default;text-decoration:none}
.room:hover{transform:none}
.room-head h2{color:#b05cff}
.room-head .btn{display:none}
.room .online{display:none}

.sohbet-login-form input{width:100%;margin:7px 0;padding:13px 14px;background:#061b3a;border:1px solid #396b9e;border-radius:9px;color:#fff;outline:none}
.sohbet-login-form input:focus{border-color:#9a58ff}
.sohbet-login-form .btn-full{width:100%;margin-top:8px}
.hero{background-position:center right;background-repeat:no-repeat;background-size:cover}

/* Mobile-first header and CTA fixes */
html{overflow-x:hidden}
body{overflow-x:hidden}
.nav{min-width:0}
.brand{flex:0 1 auto;min-width:0}
.brand strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-cta{flex:0 0 auto;white-space:nowrap;display:inline-flex!important;min-width:max-content}
.mobile-toggle{flex:0 0 auto}
@media(max-width:780px){
  .container{width:min(100% - 24px,1450px)}
  .nav{gap:8px}
  .brand{font-size:17px;gap:6px}
  .brand-bubble{width:36px;height:36px;flex-basis:36px;font-size:18px}
  .nav-cta{font-size:12px;padding:9px 11px!important;line-height:1;white-space:nowrap}
  .mobile-toggle{padding:7px 8px;font-size:16px}
  .hero{min-height:300px;background-position:center}
  .hero h1{font-size:34px}
  .hero h2{font-size:20px}
  .hero p{font-size:14px}
  .layout{margin-top:12px;gap:12px}
  .panel-title{font-size:16px;padding:14px}
  .room-grid{padding:10px;gap:8px}
  .room{padding:11px}
  .room-icon{width:40px;height:40px;flex-basis:40px}
  .room-meta{font-size:11px}
  .footer-nav{gap:12px}
}
@media(max-width:390px){
  .brand strong{max-width:128px}
  .nav-cta{font-size:11px;padding:8px 9px!important}
  .mobile-toggle{padding:6px 7px}
}

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto;width:auto;height:auto;margin:10px;padding:10px;background:#fff;color:#000;z-index:9999}

/* Category and posts archive */
.panel-action{margin-left:auto;color:#c06cff;font-size:13px;font-weight:700;white-space:nowrap}
.archive-page{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;margin-top:22px;margin-bottom:30px}
.archive-head{padding:22px;border-bottom:1px solid #154a80;background:linear-gradient(90deg,#08244d,#0a1b3d)}
.archive-head h1{margin:0 0 6px;font-size:28px;color:#fff}
.archive-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}
.archive-post{overflow:hidden;border:1px solid #14508e;border-radius:12px;background:#061a38;min-width:0}
.archive-thumb{display:block;aspect-ratio:16/8;overflow:hidden;background:#03122b}
.archive-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.archive-post-body{padding:15px}
.archive-post-body h2{font-size:19px;line-height:1.25;margin:5px 0 8px}
.archive-post-body h2 a:hover{color:#b05cff}
.read-more{display:inline-block;margin-top:12px;color:#b05cff;font-weight:700;font-size:13px}
.archive-pagination{padding:0 16px 18px}
.archive-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.archive-pagination a,.archive-pagination span{padding:8px 12px;border:1px solid #285987;border-radius:8px}
.empty-state{padding:35px}
@media(max-width:900px){
  .archive-page{grid-template-columns:1fr}
  .archive-post-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .archive-post-grid{grid-template-columns:1fr;padding:10px}
  .archive-head{padding:16px}
  .archive-head h1{font-size:23px}
  .archive-page{margin-top:12px}
  .panel-action{font-size:12px}
}

.hero{background-image:url('assets/hero.png');background-position:center;background-size:cover;background-repeat:no-repeat}
@media(min-width:781px){.hero{min-height:340px}}

/* Final category layout fix: never squeeze category content into a narrow sidebar. */
.category-page{
  display:block!important;
  width:min(1450px,94%)!important;
  margin:24px auto 32px!important;
}
.category-results{
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
.category-results-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px;
  border-bottom:1px solid #154a80;
  background:linear-gradient(90deg,#08244d,#0a1b3d);
}
.category-kicker{
  color:#b05cff;
  font-size:13px;
  font-weight:700;
  margin-bottom:5px;
}
.category-results-head h1{
  margin:0 0 6px;
  font-size:32px;
  color:#fff;
  overflow-wrap:anywhere;
}
.category-post-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  padding:18px!important;
  width:100%!important;
}
.category-post-card{
  min-width:0!important;
  overflow:hidden;
  border:1px solid #14508e;
  border-radius:12px;
  background:#061a38;
}
.category-post-image{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#03122b;
}
.category-post-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.category-placeholder{
  display:grid;
  place-items:center;
  color:#b05cff;
  font-size:48px;
  background:linear-gradient(135deg,#071d43,#1b1051);
}
.category-post-content{
  padding:16px;
  min-width:0;
}
.category-post-content h2{
  margin:5px 0 8px;
  font-size:19px;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.category-post-content h2 a:hover{color:#b05cff}
.category-post-content p{
  margin:0;
  color:#aab9d3;
  font-size:14px;
  line-height:1.55;
}
.category-pagination{padding:0 18px 20px}
.category-pagination .nav-links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.category-pagination a,.category-pagination span{
  padding:8px 12px;
  border:1px solid #285987;
  border-radius:8px;
}
.category-empty{
  padding:70px 25px;
  text-align:center;
}
.category-empty-icon{font-size:52px}
.category-bottom{
  margin-top:18px;
}
.category-list-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0 14px;
  padding:8px 14px 14px;
}
.category-list-grid .category{
  min-width:0;
}
@media(max-width:1100px){
  .category-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .category-list-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .category-page{width:calc(100% - 20px)!important;margin:12px auto 20px!important}
  .category-results-head{padding:16px;align-items:flex-start;flex-direction:column}
  .category-results-head h1{font-size:25px}
  .category-post-grid{grid-template-columns:1fr!important;padding:10px!important}
  .category-list-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
  .category-list-grid{grid-template-columns:1fr}
}

/* Son Yazılar: normal, compact featured images */
.posts-page{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:18px;
  margin-top:22px;
  margin-bottom:30px;
  width:min(1450px,94%);
}
.posts-page-main{min-width:0;overflow:hidden}
.posts-normal-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start;
}
.normal-post-card{min-width:0}
.normal-post-thumb{
  width:100%!important;
  aspect-ratio:16/7!important;
  max-height:210px!important;
  overflow:hidden!important;
  background:#03122b;
}
.normal-post-thumb img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.posts-pagination{
  grid-column:1/-1;
  padding:4px 0 4px;
}
.posts-pagination a,.posts-pagination span{
  display:inline-block;
  margin:4px;
  padding:8px 12px;
  border:1px solid #285987;
  border-radius:8px;
}
@media(max-width:900px){
  .posts-page{grid-template-columns:1fr}
  .posts-normal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
  .posts-page{width:calc(100% - 20px);margin-top:12px}
  .posts-normal-grid{grid-template-columns:1fr!important}
  .normal-post-thumb{aspect-ratio:16/8!important;max-height:190px!important}
}

/* FINAL /son-yazilar/ layout - intentionally isolated from archive styles */
.son-yazilar-page{
  width:min(1450px,94%)!important;
  margin:22px auto 32px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:18px!important;
  align-items:start!important;
}
.son-yazilar-main{
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}
.son-yazilar-head{
  padding:20px 22px!important;
  border-bottom:1px solid #154a80!important;
  background:linear-gradient(90deg,#08244d,#0a1b3d)!important;
}
.son-yazilar-head h1{
  margin:0 0 5px!important;
  color:#fff!important;
  font-size:28px!important;
}
.son-yazilar-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  padding:14px!important;
  align-items:start!important;
}
.son-yazi-card{
  display:block!important;
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
  border:1px solid #14508e!important;
  border-radius:12px!important;
  background:#061a38!important;
}
.son-yazi-thumb{
  display:block!important;
  width:100%!important;
  height:165px!important;
  max-height:165px!important;
  min-height:165px!important;
  overflow:hidden!important;
  background:#03122b!important;
}
.son-yazi-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
}
.son-yazi-placeholder{
  display:grid!important;
  place-items:center!important;
  color:#b05cff!important;
  font-size:42px!important;
  background:linear-gradient(135deg,#071d43,#1b1051)!important;
}
.son-yazi-body{
  padding:13px!important;
  min-width:0!important;
}
.son-yazi-body .post-date{
  font-size:11px!important;
  margin-bottom:5px!important;
}
.son-yazi-body h2{
  margin:0 0 7px!important;
  font-size:17px!important;
  line-height:1.3!important;
  overflow-wrap:anywhere!important;
}
.son-yazi-body h2 a:hover{color:#b05cff!important}
.son-yazi-body p{
  margin:0!important;
  color:#aab9d3!important;
  font-size:13px!important;
  line-height:1.5!important;
}
.son-yazilar-pagination{
  grid-column:1/-1!important;
  padding:2px 2px 4px!important;
}
.son-yazilar-pagination a,
.son-yazilar-pagination span{
  display:inline-block!important;
  margin:3px!important;
  padding:7px 10px!important;
  border:1px solid #285987!important;
  border-radius:8px!important;
}
@media(max-width:1100px){
  .son-yazilar-page{grid-template-columns:minmax(0,1fr) 270px!important}
  .son-yazilar-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .son-yazilar-page{
    width:calc(100% - 20px)!important;
    margin:12px auto 20px!important;
    display:block!important;
  }
  .son-yazilar-sidebar{margin-top:12px!important}
  .son-yazilar-grid{grid-template-columns:1fr!important;padding:10px!important}
  .son-yazi-thumb{
    height:180px!important;
    max-height:180px!important;
    min-height:180px!important;
  }
  .son-yazilar-head{padding:16px!important}
  .son-yazilar-head h1{font-size:24px!important}
}

/* Chat entry: no username/password required here; /sohbet/ handles entry. */
.sohbet-giris-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
  cursor:pointer!important;
}

/* Optional-password chat entry */
.sgtr-chat-login{padding:16px!important;background:#071d3d!important;border:1px solid #164d86!important;border-radius:12px!important;margin-bottom:16px!important}
.sgtr-chat-login-title{font-size:20px!important;font-weight:800!important;color:#fff!important;margin-bottom:12px!important}
.sgtr-chat-login-form{display:flex!important;flex-direction:column!important;gap:8px!important}
.sgtr-chat-login-form label{font-size:13px!important;color:#c4d1e8!important;font-weight:700!important}
.sgtr-chat-login-form input{width:100%!important;box-sizing:border-box!important;padding:10px 11px!important;border:1px solid #2a5d91!important;border-radius:8px!important;background:#06152f!important;color:#fff!important;outline:none!important}
.sgtr-chat-login-form input:focus{border-color:#9b4dff!important;box-shadow:0 0 0 2px rgba(155,77,255,.15)!important}
.sgtr-chat-login-form .optional{font-weight:400!important;color:#879ab8!important}
.sgtr-chat-login-form .btn{width:100%!important;border:0!important}


/* CATEGORY LAYOUT HARD OVERRIDE - final */
body.category #main-content,
body.archive.category #main-content,
body.archive #main-content.sgtr-cat-page{
  display:block!important;
  position:relative!important;
  float:none!important;
  clear:both!important;
  grid-column:1 / -1!important;
  grid-row:auto!important;
  flex:0 0 auto!important;
  width:min(1450px,94vw)!important;
  max-width:1450px!important;
  min-width:0!important;
  margin:22px auto 32px!important;
  padding:0!important;
  left:auto!important;
  right:auto!important;
  box-sizing:border-box!important;
}
body.category #main-content .sgtr-cat-box,
body.category #main-content .sgtr-cat-grid,
body.archive.category #main-content .sgtr-cat-box,
body.archive.category #main-content .sgtr-cat-grid{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
body.category #main-content .sgtr-cat-grid,
body.archive.category #main-content .sgtr-cat-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body.category #main-content .sgtr-cat-card,
body.archive.category #main-content .sgtr-cat-card{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
@media(max-width:1100px){
  body.category #main-content .sgtr-cat-grid,
  body.archive.category #main-content .sgtr-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  body.category #main-content,
  body.archive.category #main-content,
  body.archive #main-content.sgtr-cat-page{width:calc(100vw - 20px)!important;margin:12px auto 20px!important}
  body.category #main-content .sgtr-cat-grid,
  body.archive.category #main-content .sgtr-cat-grid{grid-template-columns:1fr!important}
}


/* FINAL CENTERING OVERRIDE
   Category/archive pages must escape any inherited 2/3-column layout.
   The category content is centered against the browser viewport, not a parent grid column.
*/
body.category #main-content.sgtr-cat-page,
body.archive #main-content.sgtr-cat-page{
  display:block!important;
  position:relative!important;
  float:none!important;
  clear:both!important;
  width:100vw!important;
  max-width:100vw!important;
  min-width:0!important;
  margin-top:22px!important;
  margin-right:0!important;
  margin-bottom:32px!important;
  margin-left:calc(50% - 50vw)!important;
  padding:0!important;
  box-sizing:border-box!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  grid-column:1 / -1!important;
}
body.category #main-content.sgtr-cat-page > .sgtr-cat-box,
body.archive #main-content.sgtr-cat-page > .sgtr-cat-box,
body.category #main-content.sgtr-cat-page > .sgtr-cat-other,
body.archive #main-content.sgtr-cat-page > .sgtr-cat-other{
  width:min(1450px,94vw)!important;
  max-width:1450px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
body.category #main-content.sgtr-cat-page .sgtr-cat-grid,
body.archive #main-content.sgtr-cat-page .sgtr-cat-grid{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
@media(max-width:1100px){
  body.category #main-content.sgtr-cat-page .sgtr-cat-grid,
  body.archive #main-content.sgtr-cat-page .sgtr-cat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  body.category #main-content.sgtr-cat-page,
  body.archive #main-content.sgtr-cat-page{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-top:12px!important;
    margin-bottom:20px!important;
  }
  body.category #main-content.sgtr-cat-page > .sgtr-cat-box,
  body.archive #main-content.sgtr-cat-page > .sgtr-cat-box,
  body.category #main-content.sgtr-cat-page > .sgtr-cat-other,
  body.archive #main-content.sgtr-cat-page > .sgtr-cat-other{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
  }
  body.category #main-content.sgtr-cat-page .sgtr-cat-grid,
  body.archive #main-content.sgtr-cat-page .sgtr-cat-grid{
    grid-template-columns:1fr!important;
  }
}

/* FINAL CATEGORY BODY LAYOUT FIX
   Prevent any inherited theme/plugin grid or flex layout from placing the category
   content in a right-hand column and the footer in a left-hand column. */
body.category, body.archive.category {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow-x:hidden !important;
}
body.category > .site-header,
body.archive.category > .site-header,
body.category > .site-footer,
body.archive.category > .site-footer {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  float:none !important;
  clear:both !important;
  grid-column:1 / -1 !important;
  grid-row:auto !important;
}
body.category > #main-content.sgtr-cat-page,
body.archive.category > #main-content.sgtr-cat-page {
  display:block !important;
  width:min(1450px, 94vw) !important;
  max-width:1450px !important;
  min-width:0 !important;
  margin:22px auto 32px !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  grid-column:auto !important;
  grid-row:auto !important;
  flex:none !important;
  box-sizing:border-box !important;
}
body.category > #main-content.sgtr-cat-page .sgtr-cat-box,
body.category > #main-content.sgtr-cat-page .sgtr-cat-other,
body.archive.category > #main-content.sgtr-cat-page .sgtr-cat-box,
body.archive.category > #main-content.sgtr-cat-page .sgtr-cat-other {
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
@media (max-width:700px){
  body.category > #main-content.sgtr-cat-page,
  body.archive.category > #main-content.sgtr-cat-page {
    width:calc(100% - 20px) !important;
    margin:12px auto 20px !important;
  }
}


/* Chat entry highlights below the Sohbete Bağlan button */
.sgtr-chat-features{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.sgtr-chat-feature{display:flex;align-items:flex-start;gap:12px;padding:14px 13px;border:1px solid #164d86;border-radius:11px;background:linear-gradient(180deg,#071f43,#061a38);box-shadow:0 8px 22px rgba(0,0,0,.18)}
.sgtr-chat-feature-icon{width:38px;height:38px;min-width:38px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#3120a4,#7138ff);font-size:19px}
.sgtr-chat-feature strong{display:block;font-size:14px;color:#fff;line-height:1.3}
.sgtr-chat-feature p{margin:4px 0 0;color:#aab9d3;font-size:12px;line-height:1.45}
@media(max-width:780px){.sgtr-chat-feature{padding:12px}.sgtr-chat-feature strong{font-size:13px}}


/* Modern folder icon for category headings */
.category-heading{display:inline-flex;align-items:center;gap:10px}
.modern-folder-icon{position:relative;display:inline-block;width:22px;height:16px;flex:0 0 22px;border-radius:4px 4px 3px 3px;background:linear-gradient(135deg,#a855f7 0%,#7c3aed 55%,#5b21b6 100%);box-shadow:0 3px 10px rgba(124,58,237,.28);vertical-align:-2px}
.modern-folder-icon:before{content:"";position:absolute;left:2px;top:-4px;width:10px;height:6px;border-radius:4px 4px 0 0;background:#b56cff}
.modern-folder-icon:after{content:"";position:absolute;inset:1px 2px 2px;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0));border-radius:3px;pointer-events:none}
.modern-folder-icon-small{width:18px;height:13px;flex-basis:18px}
.modern-folder-icon-small:before{width:8px;height:5px;top:-3px}

/* Supplied hero banner already contains logo and feature copy. */
.hero-inner{min-height:100%;padding:0!important}
.hero h1,.hero h2,.hero p,.hero .slogan{display:none!important}
.hero{min-height:420px}
@media(max-width:1100px){.hero{min-height:350px}}
@media(max-width:780px){.hero{min-height:230px;background-position:center top}}


/* 1.0.5 - Responsive hero + LCP optimization */
.hero{
  min-height:0!important;
  height:340px;
  background:none!important;
  overflow:hidden;
  padding:0!important;
  border-bottom:1px solid #174b85;
}
.hero-picture{
  display:block;
  width:100%;
  height:100%;
}
.hero-image{
  display:block;
  width:100%;
  height:100%;
  max-width:none!important;
  object-fit:cover;
  object-position:center center;
}
@media(max-width:780px){
  .hero{
    height:auto!important;
    aspect-ratio:2172 / 724;
    min-height:0!important;
  }
  .hero-picture{
    width:100%;
    height:100%;
  }
  .hero-image{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
  }
}
@media(max-width:420px){
  .hero{
    aspect-ratio:2172 / 724;
  }
}


/* Performance + responsive hero: use the optimized <picture> image only.
   The old CSS background duplicated the hero request and cropped the logo on phones. */
.hero{
  min-height:0!important;
  height:auto!important;
  background:none!important;
  border-bottom:1px solid #174b85;
  line-height:0;
  overflow:hidden;
}
.hero-picture{
  display:block;
  width:100%;
  margin:0;
}
.hero-image{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  object-fit:contain;
}
@media(max-width:780px){
  .hero{
    min-height:0!important;
    height:auto!important;
  }
  .hero-image{
    width:100%;
    height:auto;
  }
}


/* 1.0.6 - Mobile navigation + modern brand polish */
.brand{
  position:relative;
  gap:10px;
  padding:6px 12px 6px 6px;
  border:1px solid rgba(128,88,255,.22);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(15,35,74,.92),rgba(8,20,48,.72));
  box-shadow:0 8px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05);
  text-shadow:0 1px 10px rgba(125,67,255,.18);
}
.brand-bubble{
  width:46px;height:46px;flex:0 0 46px;
  border-radius:14px;
  background:linear-gradient(145deg,#5d27ff 0%,#8f3cff 55%,#b95cff 100%);
  box-shadow:0 7px 22px rgba(111,49,255,.38), inset 0 1px 0 rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.14);
  font-size:22px;
}
.brand strong{font-size:24px;letter-spacing:-.5px}
.brand span{color:#a557ff;text-shadow:0 0 14px rgba(165,87,255,.28)}

@media(max-width:780px){
  .nav{position:relative;gap:8px;min-height:70px;padding-top:7px;padding-bottom:7px}
  .brand{font-size:19px;padding:5px 9px 5px 5px;border-radius:14px;gap:8px;min-width:0}
  .brand strong{font-size:19px;letter-spacing:-.4px;overflow:visible;white-space:nowrap}
  .brand-bubble{width:42px;height:42px;flex-basis:42px;border-radius:13px;font-size:20px}
  .nav-cta{font-size:12px!important;padding:10px 11px!important;border-radius:11px!important}
  .mobile-toggle{width:46px;height:46px;display:grid;place-items:center;margin-left:0;padding:0!important;border-radius:12px;font-size:22px;line-height:1;background:#071a38;border:1px solid #31547d;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}

  /* Closed by default; opened as a clean vertical dropdown below the header. */
  .nav-menu{
    display:none!important;
    position:absolute!important;
    top:calc(100% + 8px)!important;
    left:0!important;
    right:0!important;
    margin:0!important;
    padding:8px!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:4px!important;
    background:rgba(3,18,43,.985)!important;
    border:1px solid #285a8e!important;
    border-radius:16px!important;
    box-shadow:0 18px 45px rgba(0,0,0,.45)!important;
    backdrop-filter:blur(14px)!important;
    z-index:200!important;
  }
  .site-header.mobile-open .nav-menu{display:flex!important}
  .nav-menu a,
  .nav-menu .menu-item a{
    display:flex!important;
    width:100%!important;
    min-height:50px!important;
    align-items:center!important;
    padding:13px 16px!important;
    margin:0!important;
    border:0!important;
    border-radius:11px!important;
    color:#edf3ff!important;
    background:transparent!important;
    font-size:15px!important;
    line-height:1.25!important;
  }
  .nav-menu a:hover,
  .nav-menu .current-menu-item a{
    color:#fff!important;
    background:linear-gradient(90deg,rgba(112,48,255,.20),rgba(112,48,255,.06))!important;
    border:1px solid rgba(139,72,255,.28)!important;
  }
  .nav-menu .menu-item{width:100%!important;margin:0!important}
}

@media(max-width:430px){
  .brand{padding-right:7px}
  .brand strong{font-size:17px}
  .brand-bubble{width:40px;height:40px;flex-basis:40px}
  .nav-cta{font-size:11px!important;padding:9px 9px!important}
  .mobile-toggle{width:43px;height:43px}
}

/* Single post image sizing: keep article images compact instead of filling the screen. */
.single-post-panel .panel-body{overflow:hidden}
.single-featured-image{
  display:block!important;
  width:auto!important;
  max-width:min(620px,100%)!important;
  max-height:380px!important;
  height:auto!important;
  object-fit:contain!important;
  margin:16px auto 24px!important;
  border-radius:12px;
}
.single-content img{
  display:block!important;
  width:auto!important;
  max-width:min(620px,100%)!important;
  max-height:380px!important;
  height:auto!important;
  object-fit:contain!important;
  margin:18px auto!important;
}
.single-content figure{margin:18px auto!important;max-width:620px!important}
.single-content figure img{margin:0 auto!important}
@media(max-width:780px){
  .single-post-page{width:calc(100% - 24px)!important;padding-top:18px!important}
  .single-featured-image,.single-content img{max-width:100%!important;max-height:280px!important}
  .single-content figure{max-width:100%!important}
}
