:root {
  --ink: #081010;
  --ink-soft: #172323;
  --blue: #2196f3;
  --blue-light: #72c1ff;
  --paper: #f4f7f8;
  --paper-blue: #eaf4fb;
  --paper-warm: #f5f1ed;
  --line: rgba(8, 16, 16, .11);
  --muted: #617071;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(7, 15, 15, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.blog-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.blog-page a { color: inherit; }
body.blog-page img { max-width: 100%; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 14px;
  color: #071010;
  background: #fff;
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.header-section .menu-list .blog-active { color: #fff; }
.header-section .menu-list .blog-active::after { width: 20px; margin-left: -10px; }

.blog-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.blog-hero {
  position: relative;
  min-height: 590px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 170px 0 78px;
  color: #fff;
  background: #071010;
}
.blog-hero::before,
.blog-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(4px);
}
.blog-hero::before {
  width: min(700px, 70vw);
  aspect-ratio: 1;
  right: -12%;
  top: -58%;
  border: 1px solid rgba(114, 193, 255, .2);
  box-shadow: 0 0 0 80px rgba(33, 150, 243, .035), 0 0 0 160px rgba(33, 150, 243, .02);
}
.blog-hero::after {
  width: 420px;
  height: 420px;
  left: -250px;
  bottom: -250px;
  background: rgba(33, 150, 243, .16);
  filter: blur(80px);
}
.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-kicker::before,
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.blog-hero h1 {
  max-width: 870px;
  margin: 0;
  font-family: Raleway, Arial, sans-serif;
  font-size: clamp(48px, 8vw, 94px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.055em;
}
.blog-hero h1 span { color: var(--blue); }
.blog-hero-copy {
  max-width: 670px;
  margin: 30px 0 0;
  color: #b9c5c5;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.blog-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.blog-button:hover { transform: translateY(-2px); background: #087fdc; border-color: #087fdc; }
.blog-button.secondary { background: transparent; border-color: rgba(255, 255, 255, .25); }
.blog-button.secondary:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); }

.blog-index { padding: 78px 0 96px; }
.blog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 390px);
  align-items: end;
  gap: 54px;
  margin-bottom: 44px;
}
.blog-intro h2 {
  max-width: 720px;
  margin: 0;
  font-family: Raleway, Arial, sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -.04em;
}
.blog-intro p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.blog-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.blog-search { position: relative; flex: 1 1 330px; }
.blog-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 48px 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  outline: none;
}
.blog-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(33, 150, 243, .1); }
.search-icon { position: absolute; right: 17px; top: 14px; color: var(--blue); font-size: 17px; }
.blog-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.blog-filters button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  color: #526060;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.blog-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.result-status { margin: 0 0 18px; color: #748080; font-size: 12px; }
.post-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.post-card {
  --accent: #2196f3;
  grid-column: span 6;
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(8, 16, 16, .08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 15, 15, .045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post-card[hidden] { display: none; }
.post-card:first-child {
  grid-column: span 12;
  min-height: 440px;
  padding: clamp(32px, 5vw, 58px);
  color: #fff;
  background: var(--ink-soft);
  border-color: rgba(255, 255, 255, .08);
}
.post-card::before,
.post-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  transition: transform .35s ease;
}
.post-card::before {
  width: 210px;
  height: 210px;
  right: -80px;
  top: -92px;
  border: 40px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.post-card::after {
  width: 100px;
  height: 100px;
  right: 38px;
  bottom: 36px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  filter: blur(2px);
}
.post-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 38%, transparent); box-shadow: var(--shadow); }
.post-card:hover::before { transform: translate(-8px, 8px) rotate(12deg); }
.post-card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.post-card-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.card-top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 18px; }
.card-index { color: var(--accent); font-family: Raleway, Arial, sans-serif; font-size: 38px; font-weight: 800; line-height: 1; }
.card-category { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card-content { position: relative; z-index: 1; margin-top: auto; padding-top: 64px; }
.post-card h3 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-family: Raleway, Arial, sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.post-card:first-child h3 { color: #fff; font-size: clamp(38px, 5vw, 62px); }
.post-card p { max-width: 660px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.post-card:first-child p { color: #b7c3c3; font-size: 16px; }
.card-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-card:first-child .card-bottom { border-color: rgba(255, 255, 255, .12); }
.card-meta { color: #7a8686; font-size: 11px; }
.card-read { color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.empty-state { grid-column: 1 / -1; padding: 44px; border-radius: var(--radius); background: #fff; color: var(--muted); text-align: center; }

.blog-cta { padding: 78px 0; color: #fff; background: var(--ink); }
.blog-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.blog-cta h2 { margin: 0; font-family: Raleway, Arial, sans-serif; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.04em; }
.blog-cta p { max-width: 600px; margin: 13px 0 0; color: #aebbbb; }
.footer-section { border-top: 3px solid var(--blue); }

/* Yazı sayfası */
.article-hero { padding: 154px 0 70px; color: #fff; background: var(--ink); }
.article-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; color: #91a0a0; font-size: 12px; }
.article-breadcrumb a { color: var(--blue-light); text-decoration: none; }
.article-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: Raleway, Arial, sans-serif;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -.05em;
}
.article-description { max-width: 760px; margin: 26px 0 0; color: #bac5c5; font-size: 18px; line-height: 1.7; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #8f9c9c; font-size: 12px; }
.article-layout {
  width: min(1120px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 760px) 250px;
  gap: 74px;
  margin: 0 auto;
  padding: 72px 0 92px;
}
.article-body { min-width: 0; color: #263333; font-size: 17px; line-height: 1.88; }
.article-body > p:first-child { margin-top: 0; color: #485656; font-size: 21px; line-height: 1.65; }
.article-body h2,
.article-body h3 { color: var(--ink); font-family: Raleway, Arial, sans-serif; line-height: 1.2; letter-spacing: -.025em; scroll-margin-top: 100px; }
.article-body h2 { margin: 55px 0 18px; font-size: 34px; }
.article-body h3 { margin: 38px 0 13px; font-size: 24px; }
.article-body p { margin: 0 0 23px; }
.article-body ul,
.article-body ol { margin: 0 0 28px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: #101a1a; }
.article-body blockquote {
  margin: 36px 0;
  padding: 24px 26px;
  border: 0;
  border-left: 4px solid var(--blue);
  border-radius: 0 18px 18px 0;
  background: var(--paper-blue);
  color: #324d5d;
}
.article-body a { color: #087dcc; text-underline-offset: 3px; }
.article-aside { align-self: start; position: sticky; top: 110px; }
.toc {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
}
.toc strong { display: block; margin-bottom: 14px; color: var(--ink); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 0; color: #667373; font-size: 12px; line-height: 1.45; text-decoration: none; }
.toc a:hover { color: var(--blue); }
.article-back { display: inline-flex; margin-top: 16px; color: var(--blue) !important; font-size: 12px; font-weight: 800; text-decoration: none; }
.related-section { padding: 75px 0 90px; background: #e9eef0; }
.related-section h2 { margin: 0 0 28px; font-family: Raleway, Arial, sans-serif; font-size: 36px; letter-spacing: -.03em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { min-height: 220px; display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: #fff; text-decoration: none; transition: transform .2s ease; }
.related-card:hover { transform: translateY(-4px); }
.related-card span { color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.related-card h3 { margin: auto 0 0; font-family: Raleway, Arial, sans-serif; font-size: 22px; line-height: 1.2; }

@media (max-width: 991px) {
  .blog-intro { grid-template-columns: 1fr; gap: 22px; }
  .blog-tools { align-items: stretch; flex-direction: column; }
  .blog-search { flex-basis: auto; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 45px; }
  .article-aside { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .blog-shell,
  .article-layout { width: min(100% - 28px, 1180px); }
  .blog-hero { min-height: 570px; padding: 138px 0 56px; }
  .blog-hero h1 { font-size: clamp(46px, 15vw, 68px); }
  .blog-hero-copy { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .blog-index { padding: 58px 0 70px; }
  .blog-intro { margin-bottom: 32px; }
  .blog-filters { margin-inline: -14px; padding: 0 14px 5px; }
  .post-grid { gap: 15px; }
  .post-card,
  .post-card:first-child { grid-column: span 12; min-height: 350px; padding: 25px; border-radius: 20px; }
  .post-card:first-child { min-height: 430px; }
  .post-card h3 { font-size: 28px; }
  .post-card:first-child h3 { font-size: 39px; }
  .card-content { padding-top: 50px; }
  .blog-cta-inner { align-items: flex-start; flex-direction: column; }
  .header-section .menu-list .blog-active::after { margin-left: 10px; }
  .article-hero { padding: 130px 0 52px; }
  .article-description { font-size: 16px; }
  .article-layout { padding: 54px 0 70px; }
  .article-body { font-size: 16px; line-height: 1.82; }
  .article-body > p:first-child { font-size: 19px; }
  .article-body h2 { font-size: 29px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .card-bottom { align-items: flex-start; flex-direction: column; }
  .article-hero h1 { font-size: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
