/*
Theme Name: TCybers
Theme URI: https://tcybers.net
Author: TCybers.Net
Author URI: https://tcybers.net
Description: TCybers.Net için Lookonchain tarzından ilham alan sade, ortalanmış, turuncu vurgulu teknoloji haber teması.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tcybers
Tags: blog, news, one-column, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Tokenlar ---------- */
:root {
  --accent: #ff5c00;
  --accent-dark: #e04f00;
  --accent-soft: #fff1e8;
  --text: #16181c;
  --text-2: #4b5058;
  --meta: #8a8f98;
  --border: #ebedf0;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Gömülü logo fontu ---------- */
@font-face {
  font-family: 'TC Orbitron';
  src: url('assets/fonts/Orbitron-Bold.woff2') format('woff2'),
       url('assets/fonts/Orbitron-Bold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset / taban ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; background: none; border: 0; }
input, textarea { font-family: inherit; font-size: 15px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo a {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-family: 'TC Orbitron', var(--font);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: .8px;
  text-transform: lowercase;
}
.site-logo a:hover { color: var(--accent-dark); }
.site-logo { display: flex; align-items: center; }
.site-logo a { line-height: 1; }
.site-logo img { max-height: 26px; width: auto; display: block; object-fit: contain; }

.header-search { position: relative; width: 260px; }
.header-search input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 8px 14px 8px 36px;
  font-size: 14px;
  transition: border-color .15s;
}
.header-search input:focus { border-color: var(--accent); background: #fff; outline: none; }
.header-search .search-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--meta); pointer-events: none; display: flex;
}
.icon-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--text);
  border-radius: 50%;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Ana yerleşim ---------- */
.site-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px 44px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 300px;
  grid-template-areas: "nav main side";
  gap: 16px 26px;
  align-items: start;
}

/* Sol menü */
.left-nav.desktop-only { align-self: stretch; }
.left-nav__sticky { position: static; }
@media (min-width: 861px) {
  .left-nav.desktop-only .left-nav__sticky {
    position: sticky;
    top: 76px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }
}
.left-nav ul { list-style: none; }
.left-nav li { margin-bottom: 4px; }
.left-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-2);
}
.left-nav a:hover { background: var(--bg-soft); color: var(--text); }
.left-nav .current-cat > a,
.left-nav .current-menu-item > a,
.left-nav .current_page_item > a {
  color: var(--accent);
  background: var(--accent-soft);
}
.left-nav a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .45;
  flex: none;
}

/* ---------- Hero: slider + mini kartlar ---------- */
body.tc-has-hero .site-wrap {
  grid-template-areas:
    "nav hero hero"
    "nav main side";
}
.left-nav.desktop-only { grid-area: nav; }
.main-feed { grid-area: main; min-width: 0; }
.right-sidebar { grid-area: side; }
.home-hero { grid-area: hero; min-width: 0; }
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.hero--full { display: block; }
.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}
.hero-mini {
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  background: #000;
  display: block;
}
.hero-mini img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.hero-mini:hover img { transform: scale(1.04); }
.hero-mini__title {
  position: absolute; inset: auto 0 0 0;
  padding: 34px 12px 13px;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Slider ---------- */
.tc-slider {
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  background: #000;
}
.tc-slider__track {
  display: flex;
  height: 100%;
  transition: transform .45s ease;
}
.tc-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  color: #fff;
}
.hero--full .tc-slide { aspect-ratio: 16 / 8; }
.tc-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.tc-slide__body {
  position: absolute; inset: auto 0 0 0;
  padding: 52px 22px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
}
.tc-slide__cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tc-slider .tc-slide__title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
}
.tc-slide:hover .tc-slide__title { text-decoration: underline; }
.tc-slide__meta { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.75); }
.tc-slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.tc-slider:hover .tc-slider__nav { opacity: 1; }
.tc-slider__nav:hover { background: #fff; color: var(--accent); }
.tc-slider__nav--prev { left: 14px; }
.tc-slider__nav--next { right: 14px; }
.tc-slider__dots {
  position: absolute; bottom: 10px; right: 16px;
  display: flex; gap: 6px;
}
.tc-slider__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: background .2s, width .2s;
}
.tc-slider__dots button[aria-current="true"] { background: var(--accent); width: 20px; border-radius: 999px; }

/* ---------- Bölüm başlıkları ---------- */
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
  padding-bottom: 6px;
}
.section-title::before {
  content: "";
  width: 4px; height: 16px;
  background: var(--accent);
  border-radius: 2px;
}
.archive-head { margin-bottom: 10px; }
.archive-head .section-title { padding-bottom: 0; margin-bottom: 4px; }
.archive-head .archive-desc { color: var(--meta); font-size: 14px; }

/* ---------- Yazı listesi ---------- */
.post-list { list-style: none; }
.post-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.post-item:last-child { border-bottom: 0; }
.post-item__body { flex: 1; min-width: 0; }
.post-item__cat {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 4px;
}
.post-item__title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 5px;
}
.post-item__title a:hover { color: var(--accent); }
.post-item__excerpt {
  color: var(--text-2);
  font-size: 13.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-item__meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--meta);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.post-item__meta a:hover { color: var(--accent); }
.post-item__thumb {
  flex: none;
  width: 192px;
  max-width: 44%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
}
.post-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-item:hover .post-item__thumb img { transform: scale(1.04); }

/* ---------- Sayfalama ---------- */
.pagination { margin-top: 20px; }
.pagination .nav-links {
  display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap;
}
.pagination .page-numbers {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-2);
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .page-numbers.dots { border: 0; }

/* ---------- Sağ sidebar ---------- */
.right-sidebar { display: grid; gap: 16px; }
@media (min-width: 1200px) {
  .right-sidebar { position: sticky; top: 76px; }
}
.side-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.side-box__title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.side-box__title::before {
  content: "";
  width: 4px; height: 14px;
  background: var(--accent);
  border-radius: 2px;
}
.side-list { list-style: none; display: grid; gap: 10px; }
.side-list li { display: flex; gap: 10px; align-items: flex-start; }
.side-list__thumb {
  flex: none;
  width: 64px; height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
}
.side-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-list__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-list__date { font-size: 12px; color: var(--meta); margin-top: 2px; }
.follow-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 600;
}
.follow-row:last-child { border-bottom: 0; }
.follow-row__name { display: flex; align-items: center; gap: 10px; }
.follow-row__name svg { width: 18px; height: 18px; color: var(--text-2); }
.follow-row__btn {
  font-size: 12px; font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 14px;
  border-radius: 999px;
}
.follow-row__btn:hover { background: var(--accent); color: #fff; }

/* ---------- Tekil yazı ---------- */
.single-article { max-width: 720px; }
.single-article__cat {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.single-article__title {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 600;
  margin: 6px 0 14px;
}
.single-article__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}
.single-article__meta img { width: 24px; height: 24px; border-radius: 50%; }
.single-article__author { font-weight: 700; }
.single-article__meta .sep { color: var(--meta); }
.single-article__date { color: var(--meta); }

/* Yazı giriş (alt başlık) kutusu - Lookonchain tarzı */
.single-article__lead {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.single-article__lead p { margin: 0; }

/* Yazı içi reklam alanı */
.tc-ad {
  margin: 26px 0;
  text-align: center;
}
.tc-ad__label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--meta);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.single-article__thumb { border-radius: 7px; overflow: hidden; margin-bottom: 18px; }

.entry-content { font-size: 16px; line-height: 1.75; color: #222; }
.entry-content > * + * { margin-top: 18px; }
.entry-content h2 { font-size: 24px; line-height: 1.3; margin-top: 32px; }
.entry-content h3 { font-size: 20px; margin-top: 28px; }
.entry-content h4 { font-size: 17px; margin-top: 24px; }
.entry-content a { color: var(--accent); }
.entry-content a:hover { text-decoration: underline; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-2);
}
.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content pre {
  background: #16181c; color: #e6e8eb;
  padding: 16px; border-radius: var(--radius-sm);
  overflow-x: auto; font-size: 14px;
}
.entry-content code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 90%; }
.entry-content pre code { background: none; padding: 0; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.entry-content iframe { max-width: 100%; }
.wp-block-image figcaption, .entry-content figcaption {
  font-size: 13px; color: var(--meta); text-align: center; margin-top: 6px;
}

.post-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a {
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
}
.post-tags a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.related-posts { margin-top: 28px; }

/* ---------- Yorumlar ---------- */
.comments-area { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.comments-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.comment-list, .comment-list .children { list-style: none; }
.comment-list .children { margin-left: 28px; }
.comment-body { display: flex; gap: 12px; padding: 14px 0; }
.comment-body .avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.comment-inner { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.comment-author-name { font-weight: 700; font-size: 14px; }
.comment-date { font-size: 12px; color: var(--meta); }
.comment-text { margin-top: 4px; font-size: 14px; color: #222; }
.comment-text p + p { margin-top: 8px; }
.comment-reply-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.comment-awaiting-moderation { font-size: 12px; color: var(--meta); font-style: italic; }

.comment-respond { margin-top: 24px; }
.comment-reply-title { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { font-size: 13px; font-weight: 600; color: var(--text-2); display: block; margin-bottom: 4px; }
.comment-form textarea {
  resize: vertical;
  min-height: 110px;
  max-width: 100%;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color .15s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); background: #fff; outline: none; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-form .form-submit { margin: 0; }
.comment-form .submit {
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 26px;
  border-radius: 999px;
  transition: background .15s;
}
.comment-form .submit:hover { background: var(--accent-dark); }
.comment-navigation { display: flex; justify-content: space-between; font-size: 14px; margin: 12px 0; }

/* ---------- Sayfa / 404 / arama ---------- */
.page-content-wrap { max-width: 720px; }
.error-404 { text-align: center; padding: 60px 0; }
.error-404 h1 { font-size: 64px; color: var(--accent); font-weight: 800; }
.error-404 p { color: var(--text-2); margin: 10px 0 24px; }
.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 999px;
}
.btn-accent:hover { background: var(--accent-dark); }
.no-results { padding: 40px 0; color: var(--text-2); }

/* ---------- İletişim formu ---------- */
.tc-form { display: grid; gap: 14px; margin-top: 20px; }
.tc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc-form__field { display: grid; gap: 6px; min-width: 0; }
.tc-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.tc-form input[type="text"],
.tc-form input[type="email"],
.tc-form select,
.tc-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 15px;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.tc-form textarea { resize: vertical; min-height: 150px; }
.tc-form select { appearance: none; cursor: pointer; }
.tc-form input:focus, .tc-form select:focus, .tc-form textarea:focus {
  border-color: var(--accent);
  background: #fff;
  outline: none;
}
.tc-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tc-form__submit {
  justify-self: start;
  background: var(--accent);
  color: #fff;
  border: 0;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 999px;
  transition: background .15s;
}
.tc-form__submit:hover { background: var(--accent-dark); }
.tc-form__note { font-size: 12.5px; color: var(--meta); margin: 0; }
.tc-form__notice {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 18px;
  border: 1px solid;
}
.tc-form__notice--ok { background: #f1f9f3; border-color: #cde8d4; color: #256b38; }
.tc-form__notice--error { background: var(--accent-soft); border-color: #ffd0b3; color: #a33b00; }

/* İletişim kanalları kutusu */
.tc-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 26px; }
.tc-contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.tc-contact-card strong { display: block; font-size: 14px; margin-bottom: 3px; }
.tc-contact-card span, .tc-contact-card a { font-size: 13.5px; color: var(--text-2); }
.tc-contact-card a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .tc-form__row { grid-template-columns: 1fr; }
  .tc-contact-cards { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--meta);
}
.site-footer a { color: var(--text-2); font-weight: 600; }
.site-footer a:hover { color: var(--accent); }
.footer-menu { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }

/* ---------- Mobil çekmece + arama overlay ---------- */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  z-index: 90;
}
.mobile-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(78vw, 320px);
  background: #fff;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform .25s ease;
  padding: 16px;
  overflow-y: auto;
}
body.drawer-open .mobile-drawer { transform: translateX(0); }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open, body.search-open { overflow: hidden; }
.mobile-drawer .icon-btn { display: flex; margin-bottom: 12px; }
.mobile-drawer .left-nav { position: static; }
.mobile-drawer .left-nav a { font-size: 16px; padding: 12px; }

.search-overlay {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 110;
  padding: 16px 20px;
  display: none;
}
body.search-open .search-overlay { display: block; }
.search-overlay__bar { display: flex; align-items: center; gap: 14px; max-width: 720px; margin: 0 auto; }
.search-overlay__bar form { flex: 1; position: relative; }
.search-overlay__bar input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 10px 16px 10px 40px;
}
.search-overlay__bar input:focus { border-color: var(--accent); background: #fff; outline: none; }
.search-overlay__bar .search-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--meta); display: flex;
}
.search-overlay__cancel { font-weight: 700; font-size: 15px; }
.search-overlay__trending { max-width: 720px; margin: 24px auto 0; }
.search-overlay__trending h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.trend-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trend-chips a {
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}
.trend-chips a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Responsive ---------- */
/* ---------- Tablet (861-1199px) ---------- */
@media (max-width: 1199px) {
  .site-wrap {
    grid-template-columns: 172px minmax(0, 1fr);
    grid-template-areas:
      "nav main"
      "side side";
  }
  body.tc-has-hero .site-wrap {
    grid-template-areas:
      "nav hero"
      "nav main"
      "side side";
  }
  .right-sidebar { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .post-item__thumb { width: 168px; }
}
@media (max-width: 860px) {
  .site-wrap, body.tc-has-hero .site-wrap { grid-template-columns: 1fr; grid-template-areas: none; padding: 12px 14px 44px; gap: 24px; }
  .right-sidebar { gap: 26px; }
  .pagination { margin-top: 30px; }
  .comment-respond { margin-top: 32px; }
  .comments-area { margin-top: 34px; }
  .related-posts { margin-top: 34px; }
  .header-inner { height: 50px; padding: 0 6px; }
  .site-logo img { max-height: 22px; }
  .home-hero { margin: 0; }
  .left-nav.desktop-only { display: none; }
  .home-hero, .main-feed, .right-sidebar, .left-nav.desktop-only { grid-area: auto; }
  .right-sidebar { grid-template-columns: 1fr; }
  .icon-btn { display: flex; }
  .header-search.desktop-only { display: none; }
  .header-inner { position: relative; }
  .site-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .hero { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .tc-slide__title { font-size: 17px; }
  .tc-slide__body { padding: 36px 14px 18px; }
  .tc-slide, .hero--full .tc-slide { aspect-ratio: 16 / 9; }
  .post-item { gap: 14px; padding: 17px 0; }
  .post-item__thumb { width: 124px; }
  .post-item__title { font-size: 15px; }
  .post-item__excerpt { display: none; }

  /* Popüler Yazılar mobilde kutu içinde, satırlar büyük */
  .side-box { padding: 4px 14px; }
  .side-box .side-box__title { padding-top: 12px; margin-bottom: 4px; }
  .follow-row:first-of-type { border-top: 0; }
  .side-box:has(.follow-row) { padding-bottom: 12px; }
  .side-list { gap: 0; }
  .side-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
  }
  .side-list li:last-child { border-bottom: 0; }
  .side-list li > div { flex: 1; min-width: 0; order: 1; }
  .side-list__thumb {
    order: 2;
    width: 124px;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .side-list__title { font-size: 15px; font-weight: 700; -webkit-line-clamp: 2; }
  .side-list__date { font-size: 12.5px; margin-top: 4px; }
  .single-article__title { font-size: 22px; }
  .entry-content { font-size: 15.5px; }
  .comment-list .children { margin-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .tc-slider__track { transition: none; }
}
