/*
Theme Name:  Asosoft Blog
Theme URI:   https://asosoft.com.tr
Author:      Asosoft Dijital
Author URI:  https://asosoft.com.tr
Description: Asosoft markasına özel blog teması. Inter Tight font, temiz beyaz-gri zemin, Elementor header/footer uyumlu, %100 mobil responsive, dinamik scroll header (üstte siyah, kaydırınca mat beyaz).
Version:     1.4.1
License:     GNU General Public License v2 or later
Text Domain: asosoft-blog
Tags:        blog, custom-header, custom-footer, elementor, seo, animated-404
*/

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&display=swap');

/* ══ CSS DEĞİŞKENLERİ ══════════════════════════════════════ */
:root {
  --black:        #09090b;
  --black-2:      #18181b;
  --black-3:      #27272a;
  --black-4:      #3f3f46;
  --gray-1:       #52525b;
  --gray-2:       #71717a;
  --gray-3:       #a1a1aa;
  --gray-4:       #d4d4d8;
  --gray-5:       #e4e4e7;
  --gray-6:       #f4f4f5;
  --gray-7:       #fafafa;
  --white:        #ffffff;
  --accent:       #4ade80;
  --accent-dark:  #16a34a;
  --bg-page:      #f4f4f6;
  --font:         'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    14px;
  --radius-xl:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.05);
  --shadow-md:    0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:    0 10px 30px rgba(0,0,0,.09);
  --header-h:     95px;
}

/* ══ ÇİFT SCROLL'U VE STICKY ENGELİNİ ÇÖZEN RESET ═══════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: clip !important;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--black-3);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: visible !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: 100% !important;
}

#page,
.site,
.as-main-wrapper,
.as-container,
.as-two-col-layout,
.as-sidebar {
  overflow: visible !important;
  height: auto;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* WP Core */
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; word-wrap: normal !important; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; max-width: 100%; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; max-width: 100%; }
.aligncenter { display: block; margin: 0 auto 1rem; max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .78rem; color: var(--gray-2); font-style: italic; margin-top: .4rem; text-align: center; }

/* ══ HEADER KATMANINI EN ÜSTE ALAN KURAL ═════════════════════ */
#as-header-wrap {
  z-index: 999999 !important;
}

/* ══ SADECE BLOG, TEKLİ VE 404 SAYFASINDA GİRİŞTE SİYAH HEADER ══ */
/* Sayfa en üstteyken (:not(.as-scrolled)) Header Katı Siyah Olsun */
body.asosoft-blog-view #as-header-wrap:not(.as-scrolled),
body.blog #as-header-wrap:not(.as-scrolled),
body.single-post #as-header-wrap:not(.as-scrolled),
body.single #as-header-wrap:not(.as-scrolled),
body.archive #as-header-wrap:not(.as-scrolled),
body.category #as-header-wrap:not(.as-scrolled),
body.tag #as-header-wrap:not(.as-scrolled),
body.search #as-header-wrap:not(.as-scrolled),
body.error404 #as-header-wrap:not(.as-scrolled) {
  background-color: #09090b !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Sayfa içeriğini header'ın altına iten üst boşluk */
body.asosoft-blog-view,
body.blog,
body.single-post,
body.single,
body.archive,
body.category,
body.tag,
body.search,
body.error404 {
  padding-top: 105px !important;
}

@media (max-width: 768px) {
  body.asosoft-blog-view,
  body.blog,
  body.single-post,
  body.single,
  body.archive,
  body.category,
  body.tag,
  body.search,
  body.error404 {
    padding-top: 90px !important;
  }
}

/* ══ GENEL KONTEYNER ═══════════════════════════════════════ */
.as-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

/* ══ SAYFA BAŞLANGICI BOŞLUĞU ═══════════════════════════════ */
.as-main-wrapper {
  padding: 1.5rem 0 5rem;
  width: 100%;
  box-sizing: border-box;
}

/* ══ İKİ KOLONLU DÜZEN (STICKY İÇİN STRETCH YAPI) ═════════════ */
.as-two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  align-items: stretch !important;
  width: 100%;
  box-sizing: border-box;
}

/* ══ KART IZGARASI (BLOG ANASAYFA) ═════════════════════════ */
.as-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.as-post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}
.as-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-4);
}

.as-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #18181b;
  overflow: hidden;
}
.as-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.as-post-card:hover .as-card-thumb-wrap img {
  transform: scale(1.04);
}

.as-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #27272a 0%, #09090b 100%);
  position: relative;
}
.as-card-thumb-placeholder::before {
  content: '⚙️';
  font-size: 2.2rem;
  opacity: .85;
}

.as-card-cat-tag {
  position: absolute;
  bottom: .7rem;
  right: .7rem;
  z-index: 2;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.15);
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

.as-card-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.as-card-meta {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  color: var(--gray-2);
  font-weight: 500;
  margin-bottom: .45rem;
}
.as-card-meta svg {
  width: 13px;
  height: 13px;
  color: var(--gray-3);
}

.as-card-title {
  font-size: .98rem;
  font-weight: 750;
  color: var(--black);
  line-height: 1.4;
  letter-spacing: -.01em;
  margin-bottom: .6rem;
}
.as-post-card:hover .as-card-title {
  color: var(--black-2);
}

.as-card-excerpt {
  font-size: .8rem;
  color: var(--gray-1);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.as-btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  align-self: flex-start;
  padding: .45rem .95rem;
  background: var(--black);
  color: var(--white);
  border-radius: 5px;
  font-size: .76rem;
  font-weight: 750;
  transition: background .2s ease, transform .2s ease;
}
.as-post-card:hover .as-btn-read-more {
  background: var(--black-3);
  transform: translateX(2px);
}

/* ══ SAYFALAMA ══════════════════════════════════════════════ */
.as-pagination {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.nav-links .page-numbers {
  min-width: 36px;
  height: 36px;
  padding: 0 .6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 650;
  color: var(--gray-2);
  border: 1px solid var(--gray-5);
  background: var(--white);
  text-decoration: none;
  transition: all .2s ease;
}
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ══ TEKLİ YAZI SAYFASI (SINGLE POST) ══════════════════════ */
.as-single-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-5);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.as-breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  font-size: .75rem;
  color: var(--gray-2);
  font-weight: 550;
  margin-bottom: 1.1rem;
  line-height: 1.4;
}
.as-breadcrumb a {
  color: var(--black-3);
  transition: color .2s;
}
.as-breadcrumb a:hover {
  color: var(--black);
  text-decoration: underline;
}
.as-breadcrumb-sep {
  color: var(--gray-3);
  font-size: .7rem;
}

.as-single-badges {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.as-single-badge {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .04em;
  padding: .32rem .75rem;
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  transition: opacity .2s;
}
.as-single-badge:hover { opacity: .88; }
.as-single-badge.accent {
  background: var(--accent);
  color: var(--black);
}

.as-single-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 850;
  color: var(--black);
  letter-spacing: -.03em;
  line-height: 1.22;
  margin-bottom: .85rem;
}

.as-single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .76rem;
  color: var(--gray-2);
  font-weight: 500;
  padding-bottom: 1.4rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--gray-5);
}
.as-single-meta-item {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.as-single-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--gray-3);
}

/* ══ MAKALE METNİ (PROSE) & ALINTI (BLOCKQUOTE) ══════════════ */
.as-prose {
  font-size: 1rem;
  line-height: 1.85;
  color: #2d2d32;
  word-break: break-word;
  overflow-wrap: break-word;
}
.as-prose h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 2.4rem 0 .9rem;
}
.as-prose h3 {
  font-size: 1.18rem;
  font-weight: 750;
  color: var(--black-2);
  letter-spacing: -.015em;
  margin: 1.8rem 0 .65rem;
}
.as-prose p {
  margin-bottom: 1.35rem;
}
.as-prose a {
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.as-prose a:hover {
  text-decoration-color: var(--black);
}
.as-prose strong {
  font-weight: 700;
  color: var(--black-2);
}
.as-prose ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.as-prose ul li {
  padding-left: 1.3rem;
  position: relative;
}
.as-prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.as-prose ol {
  list-style: decimal;
  padding-left: 1.3rem;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.as-prose img {
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}

/* ── ALINTI KUTUSU (TEMİZ, OKUNAKLI BEYAZ-GRİ ARKA PLANLI) ── */
.as-prose blockquote,
blockquote,
.wp-block-quote,
.wp-block-pullquote {
  margin: 1.8rem 0 !important;
  padding: 1.3rem 1.6rem !important;
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  border-left: 4px solid var(--accent, #4ade80) !important;
  border-radius: var(--radius-sm) !important;
  color: #18181b !important;
  font-size: 1.02rem !important;
  font-style: italic !important;
  line-height: 1.75 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
}
.as-prose blockquote p,
.wp-block-quote p,
blockquote p {
  color: #18181b !important;
  margin-bottom: 0 !important;
}
.wp-block-quote cite,
blockquote cite {
  display: block !important;
  margin-top: .75rem !important;
  font-size: .82rem !important;
  font-style: normal !important;
  font-weight: 700 !important;
  color: #71717a !important;
}

.as-prose pre {
  background: #13131f;
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  overflow-x: auto;
  margin-bottom: 1.35rem;
  max-width: 100%;
}
.as-prose code {
  font-family: 'SF Mono', Consolas, monospace;
  font-size: .85rem;
  color: var(--accent);
  background: var(--gray-6);
  padding: .15rem .4rem;
  border-radius: 4px;
}
.as-prose pre code {
  color: #e2e8f0;
  background: none;
  padding: 0;
}
.as-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.35rem;
  border: 1px solid var(--gray-5);
  overflow-x: auto;
  display: block;
}
.as-prose thead tr { background: var(--black); }
.as-prose thead th {
  padding: .75rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--white);
  text-align: left;
}
.as-prose tbody tr { border-bottom: 1px solid var(--gray-5); }
.as-prose tbody td { padding: .75rem 1rem; font-size: .85rem; }

/* Yazı Sonu Etiket & Paylaşım */
.as-post-footer-tags {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
  margin-top: 2rem;
  border-top: 1px solid var(--gray-5);
}
.as-post-footer-tag-label {
  font-size: .72rem;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-right: .2rem;
}
.as-post-footer-tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 9999px;
  background: var(--gray-6);
  border: 1px solid var(--gray-5);
  color: var(--black-3);
  text-decoration: none;
  transition: all .2s ease;
}
.as-post-footer-tag:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.as-share-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--gray-7);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-5);
}
.as-share-title {
  font-size: .72rem;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-right: .3rem;
}
.as-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .76rem;
  font-weight: 650;
  padding: .38rem .75rem;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--gray-5);
  color: var(--black-3);
  text-decoration: none;
  transition: all .2s;
}
.as-share-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ══ ÖNERİLEN DİĞER YAZILAR (THUMBNAİLLİ KARTLAR) ═══════════ */
.as-related-box {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-5);
  width: 100%;
}
.as-related-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.as-related-heading::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
}
.as-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.as-related-card {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-5);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.as-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.as-related-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #18181b;
  overflow: hidden;
}
.as-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.as-related-card:hover .as-related-thumb img {
  transform: scale(1.05);
}
.as-related-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: #18181b;
}
.as-related-cat {
  position: absolute;
  bottom: .4rem;
  right: .4rem;
  background: #09090b;
  color: #fff;
  font-size: .58rem;
  font-weight: 750;
  padding: .15rem .45rem;
  border-radius: 3px;
  text-transform: uppercase;
}
.as-related-info {
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
}
.as-related-date {
  font-size: .68rem;
  color: var(--gray-3);
}
.as-related-card-title {
  font-size: .84rem;
  font-weight: 750;
  color: var(--black-3);
  line-height: 1.35;
  margin: 0;
}

/* ══ SIDEBAR & STICKY WIDGET (AŞAĞI KAYDIRDIKÇA YAZIYLA GELEN KUSURSUZ YAPI) ══ */
.as-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.as-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-5);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

/* ── STICKY WIDGET: HEADER'IN KESİNLİKLE ALTINDA KALACAK ŞEKİLDE DÜZENLENDİ ── */
.as-widget.as-sticky-widget {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 90px !important;
  z-index: 10 !important;
}

.as-widget-header {
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--gray-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
}
.as-widget-title-text {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.01em;
}
.as-widget-title-text::before {
  content: '';
  width: 8px;
  height: 14px;
  background: var(--black);
  border-radius: 1px;
  flex-shrink: 0;
}

.as-widget-body {
  padding: 1.15rem;
  box-sizing: border-box;
}

/* ── DANIŞMANLIK WIDGETI (ASOSOFT SİYAH/YEŞİL RENK PALETİ) ── */
.as-lead-widget.brand-theme {
  border: 1.5px solid #09090b;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.1rem;
  text-align: center;
}
.as-lead-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #09090b;
  letter-spacing: -.02em;
  margin-bottom: .55rem;
  line-height: 1.25;
}
.as-lead-desc {
  font-size: .78rem;
  color: var(--gray-1);
  line-height: 1.55;
  margin-bottom: 1.1rem;
}
.as-lead-form {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.as-lead-input {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid var(--gray-5);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .82rem;
  outline: none;
  background: var(--white);
  box-sizing: border-box;
  transition: border-color .2s;
}
.as-lead-input:focus {
  border-color: var(--black);
}
.as-lead-btn.brand-btn {
  width: 100%;
  padding: .75rem 1rem;
  background: #09090b;
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.as-lead-btn.brand-btn:hover {
  background: #18181b;
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── YAZAR WIDGETI ── */
.as-author-widget {
  text-align: center;
  padding: 1.3rem 1.1rem;
}
.as-author-photo-box {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gray-5);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.as-author-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.as-author-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: .2rem;
}
.as-author-role {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-2);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .8rem;
}
.as-author-bio {
  font-size: .8rem;
  color: var(--gray-1);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.as-author-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
  font-size: .8rem;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s;
  margin-bottom: 1rem;
}
.as-author-btn:hover {
  background: var(--black-2);
}
.as-author-social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
}
.as-author-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-6);
  border: 1px solid var(--gray-5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-3);
  transition: all .2s;
}
.as-author-social-link:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ── SON YAZILAR (TİMELİNE TARZI) ── */
.as-timeline-list {
  display: flex;
  flex-direction: column;
}
.as-timeline-item {
  padding: .75rem 0;
  border-bottom: 1px solid var(--gray-6);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  transition: padding-left .2s;
}
.as-timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.as-timeline-item:hover {
  padding-left: .3rem;
}
.as-timeline-date {
  font-size: .68rem;
  color: var(--gray-3);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.as-timeline-date::before {
  content: '•';
  color: var(--gray-4);
  font-size: 1rem;
  line-height: 1;
}
.as-timeline-title {
  font-size: .82rem;
  font-weight: 650;
  color: var(--black-3);
  line-height: 1.38;
}
.as-timeline-item:hover .as-timeline-title {
  color: var(--black);
}

/* ══ YORUMLAR ══════════════════════════════════════════════ */
.as-comments {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-5);
  width: 100%;
}
.as-comments-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1.5rem;
}
.as-comment-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.as-comment {
  display: flex;
  gap: .9rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--gray-6);
}
.as-comment:last-child { border-bottom: none; }
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-5);
  flex-shrink: 0;
}
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.as-comment-body { flex: 1; }
.as-comment-name { font-size: .86rem; font-weight: 750; color: var(--black); }
.as-comment-date { font-size: .7rem; color: var(--gray-3); margin-left: .5rem; }
.as-comment-text { font-size: .85rem; color: var(--black-4); margin: .4rem 0 .5rem; line-height: 1.55; }
.comment-reply-link { font-size: .73rem; font-weight: 700; color: var(--gray-2); }

#respond {
  margin-top: 2rem;
  background: var(--gray-7);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-5);
  padding: 1.5rem;
}
#reply-title { font-size: 1rem; font-weight: 800; color: var(--black); margin-bottom: 1rem; }
.comment-form label { font-size: .74rem; font-weight: 700; display: block; margin-bottom: .3rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: .65rem .85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-5);
  font-family: var(--font);
  font-size: .84rem;
  box-sizing: border-box;
  margin-bottom: .8rem;
  outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--black); }
.form-submit .submit {
  padding: .65rem 1.4rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 750;
  border: none;
  cursor: pointer;
}

/* ══ 404 HAREKETLİ VE MODERN SAYFA DÜZENİ ══════════════════ */
.as-404-wrapper {
  padding: 2.5rem 0 5rem;
}

.as-404-hero-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-5);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

/* Arka Plan Glow Efektleri */
.as-404-glow-orb {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.12) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.as-404-glow-orb-2 {
  position: absolute;
  bottom: -80px;
  right: 10%;
  width: 300px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 9, 11, 0.05) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* 1. Hareketli 404 Görsel Alanı */
.as-404-visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  z-index: 1;
}

.as-404-number-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  position: relative;
  z-index: 2;
  animation: as-float 4.5s ease-in-out infinite;
}

.as-404-digit {
  font-size: clamp(5.5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  color: var(--black);
  text-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Orta '0' Portalı (Hareketli Dönen Radar / Portal) */
.as-404-zero-portal {
  width: clamp(75px, 11vw, 120px);
  height: clamp(75px, 11vw, 120px);
  border-radius: 50%;
  background: #09090b;
  border: 4px solid var(--accent);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(74, 222, 128, 0.35), inset 0 0 20px rgba(74, 222, 128, 0.2);
  overflow: hidden;
}

.as-404-portal-core {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.9);
  animation: as-core-pulse 2s ease-in-out infinite alternate;
}

.as-404-portal-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(74, 222, 128, 0.4) 300deg, var(--accent) 360deg);
  animation: as-scanner-spin 3s linear infinite;
  opacity: .75;
}

/* Radar Halkaları */
.as-404-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.4);
  pointer-events: none;
}
.as-404-radar-ring.ring-1 { width: 180px; height: 180px; animation: as-radar-pulse 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; }
.as-404-radar-ring.ring-2 { width: 250px; height: 250px; animation: as-radar-pulse 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite 1s; }
.as-404-radar-ring.ring-3 { width: 320px; height: 320px; animation: as-radar-pulse 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite 2s; }

/* Yüzen Parçacıklar */
.as-404-particle {
  position: absolute;
  font-size: 1.3rem;
  pointer-events: none;
  z-index: 3;
}
.as-404-particle.p1 { top: -10px; left: 10%; animation: as-float-particle-1 5s ease-in-out infinite; }
.as-404-particle.p2 { bottom: 0; left: 5%; animation: as-float-particle-2 6s ease-in-out infinite 1s; }
.as-404-particle.p3 { top: 15%; right: 5%; animation: as-float-particle-3 5.5s ease-in-out infinite 0.5s; }

/* 2. Durum Rozeti */
.as-404-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .95rem;
  border-radius: 9999px;
  background: var(--black);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  z-index: 1;
  position: relative;
}
.as-404-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.9);
  animation: as-dot-blink 1.5s infinite;
}

/* 3. Başlık & Açıklama */
.as-404-title {
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: .9rem;
  position: relative;
  z-index: 1;
}

.as-404-desc {
  font-size: 1rem;
  color: var(--gray-1);
  max-width: 620px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* 4. Canlı Arama Kutusu */
.as-404-search-box {
  max-width: 580px;
  margin: 0 auto 2.2rem;
  position: relative;
  z-index: 1;
}
.as-404-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--gray-7);
  border: 1.5px solid var(--gray-5);
  border-radius: 9999px;
  padding: .4rem .5rem .4rem 1.2rem;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.as-404-input-wrap:focus-within {
  background: #ffffff;
  border-color: var(--black);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2), 0 8px 24px rgba(0,0,0,0.06);
}
.as-404-search-icon {
  color: var(--gray-3);
  margin-right: .6rem;
  flex-shrink: 0;
}
.as-404-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: .88rem;
  color: var(--black);
  outline: none;
}
.as-404-search-btn {
  padding: .65rem 1.4rem;
  border-radius: 9999px;
  background: var(--black);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 750;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}
.as-404-search-btn:hover {
  background: var(--black-2);
  color: var(--accent);
  transform: translateX(2px);
}

/* 5. Butonlar */
.as-404-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.as-404-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
  transition: all .25s ease;
}
.as-404-btn.primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.as-404-btn.primary:hover {
  background: var(--black-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.as-404-btn.secondary {
  background: #ffffff;
  color: var(--black);
  border: 1px solid var(--gray-5);
}
.as-404-btn.secondary:hover {
  background: var(--gray-7);
  border-color: var(--black);
  transform: translateY(-2px);
}
.as-404-btn.whatsapp {
  background: #25d366;
  color: #ffffff;
}
.as-404-btn.whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

/* ══ 404 ÖNERİLEN YAZILAR BAŞLIĞI ══════════════════════════ */
.as-404-suggestions {
  width: 100%;
}
.as-404-suggestions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.as-404-suggestions-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.as-404-suggestions-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
}
.as-404-view-all {
  font-size: .82rem;
  font-weight: 750;
  color: var(--black-3);
  text-decoration: none;
  transition: color .2s;
}
.as-404-view-all:hover {
  color: var(--accent-dark);
}

/* ══ 404 ANİMASYON KEYFRAMES ════════════════════════════════ */
@keyframes as-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes as-scanner-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes as-core-pulse {
  0% { transform: scale(0.85); box-shadow: 0 0 10px rgba(74, 222, 128, 0.6); }
  100% { transform: scale(1.15); box-shadow: 0 0 24px rgba(74, 222, 128, 1); }
}

@keyframes as-radar-pulse {
  0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

@keyframes as-dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

@keyframes as-float-particle-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -20px) rotate(15deg); }
}

@keyframes as-float-particle-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-15px, -15px) rotate(-15deg); }
}

@keyframes as-float-particle-3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, 15px) rotate(20deg); }
}

/* ══ MOBİL & RESPONSIVE ═════════════════════════════════════ */
@media (max-width: 1024px) {
  .as-two-col-layout {
    grid-template-columns: 1fr;
  }
  .as-sidebar {
    width: 100%;
  }
  .as-widget.as-sticky-widget {
    position: static !important;
  }
  .as-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 85px;
  }
  body.asosoft-blog-view,
  body.blog,
  body.single-post,
  body.single,
  body.archive,
  body.category,
  body.tag,
  body.search,
  body.error404 {
    padding-top: 90px !important;
  }
  .as-container {
    padding: 0 1rem;
  }
  .as-main-wrapper {
    padding: 1rem 0 4rem;
  }
  .as-404-hero-card {
    padding: 2.5rem 1.2rem 2rem;
  }
  .as-404-actions {
    flex-direction: column;
    width: 100%;
  }
  .as-404-btn {
    width: 100%;
    justify-content: center;
  }
  .as-post-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .as-single-card {
    padding: 1.4rem 1.1rem;
  }
  .as-single-title {
    font-size: 1.45rem;
  }
  .as-single-meta {
    gap: .6rem;
    font-size: .72rem;
  }
  .as-prose {
    font-size: .95rem;
    line-height: 1.75;
  }
  .as-prose h2 {
    font-size: 1.25rem;
  }
  .as-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── YÜZEN WHATSAPP & MOBİL KÖPRÜ AKSİYON BARI (EVRENSEL TEMA DESTEĞİ) ── */
#as-float-wa-btn {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  z-index: 99999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: .65rem !important;
  padding: .75rem 1.35rem !important;
  border-radius: 9999px !important;
  background: #09090b !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: .88rem !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease, background .3s ease !important;
}
#as-float-wa-btn:hover {
  transform: translateY(-3px) scale(1.03) !important;
  background: #18181b !important;
  border-color: #25D366 !important;
}
.as-wa-icon-box {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.as-wa-icon-box svg {
  width: 15px !important;
  height: 15px !important;
  fill: #ffffff !important;
}
#as-mob-action-bar {
  display: none !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  z-index: 99999999 !important;
  background: rgba(9, 9, 11, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: .4rem .6rem calc(.4rem + env(safe-area-inset-bottom, 0px)) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif !important;
  grid-template-columns: 1fr 1fr !important;
  gap: .4rem !important;
}
#as-mob-action-bar .as-mob-act-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .35rem !important;
  padding: .48rem .6rem !important;
  border-radius: 8px !important;
  font-size: .78rem !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  line-height: 1 !important;
}
#as-mob-action-bar .as-mob-act-call {
  background: #ffffff !important;
  color: #09090b !important;
}
#as-mob-action-bar .as-mob-act-wa {
  background: #25D366 !important;
  color: #ffffff !important;
}
#as-mob-action-bar .as-mob-act-wa svg {
  width: 14px !important;
  height: 14px !important;
  fill: #ffffff !important;
}
@media (max-width: 1024px) {
  #as-float-wa-btn {
    display: none !important;
  }
  #as-mob-action-bar {
    display: grid !important;
  }
}
