
/* V68 blog redesign inspired by the approved reference. Mobile menu and global header stay untouched. */
body.page-blog-v68 { background: #f5f6f4; }
body.page-blog-v68::before { display: none; }
.ast-blog {
  --blog-green: #178f4e;
  --blog-green-dark: #0f6e3d;
  --blog-ink: #17231b;
  --blog-muted: #5f6b62;
  --blog-line: #dde5de;
  --blog-surface: #ffffff;
  --blog-shell: min(1360px, calc(100% - 48px));
  background: #f5f6f4;
  color: var(--blog-ink);
  font-family: inherit;
}
.ast-blog, .ast-blog * { box-sizing: border-box; }
.ast-blog a { color: inherit; }
.ast-blog button, .ast-blog input { font: inherit; }
.ast-blog button { cursor: pointer; }
.ast-blog a, .ast-blog button, .ast-blog input { touch-action: manipulation; }
.ast-blog a:focus-visible, .ast-blog button:focus-visible, .ast-blog input:focus-visible {
  outline: 3px solid #b87d00;
  outline-offset: 4px;
}
.ast-blog [hidden] { display: none !important; }
.ast-blog .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.ast-blog-hero {
  padding: 20px 0 16px;
}
.ast-blog-hero-shell {
  position: relative;
  width: var(--blog-shell);
  margin: 0 auto;
  min-height: clamp(300px, 24vw, 340px);
  border-radius: 28px;
  overflow: hidden;
  background: #dfe8dc;
  box-shadow: 0 18px 44px rgba(20, 55, 32, .08);
}
.ast-blog-hero-media,
.ast-blog-hero-overlay,
.ast-blog-hero-content { position: absolute; inset: 0; }
.ast-blog-hero-media {
  background-image: url('/assets/img/hero/image_bpsuqM.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  transform: scale(1);
}
.ast-blog-hero-overlay {
  background: linear-gradient(90deg,
    rgba(250, 251, 247, .98) 0%,
    rgba(250, 251, 247, .93) 30%,
    rgba(250, 251, 247, .72) 45%,
    rgba(250, 251, 247, .18) 60%,
    rgba(250, 251, 247, 0) 78%);
}
.ast-blog-hero-content {
  z-index: 1;
  width: min(100%, 780px);
  padding: clamp(30px, 3vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ast-blog-kicker {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  color: #637165;
  font-size: 15px;
  font-weight: 700;
}
.ast-blog-kicker span:first-child {
  color: var(--blog-green-dark);
}
.ast-blog-kicker span + span::before {
  content: '|';
  display: inline-block;
  margin: 0 10px;
  color: #9aa99e;
}
.ast-blog .ast-blog-hero h1 {
  margin: 0 0 14px;
  color: #0d1710;
  font-size: clamp(32px, 2.8vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.045em;
  max-width: 14.5ch;
}
.ast-blog-lead {
  margin: 0;
  max-width: 60ch;
  color: #334138;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}
.ast-blog #search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  width: min(100%, 780px);
  min-height: 54px;
  padding: 6px 6px 6px 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(23, 143, 78, .18);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(20, 55, 32, .06);
}
.ast-blog .ast-search-icon { width: 21px; height: 21px; flex: 0 0 21px; color: var(--blog-green-dark); }
.ast-blog #search {
  flex: 1; min-width: 0; width: auto; margin: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: var(--blog-ink); padding: 10px 0; font-size: 15px;
}
.ast-blog #search::placeholder { color: #6a766d; opacity: 1; }
.ast-blog button[type=submit], .ast-blog #reset {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 24px;
  border: 0;
  border-radius: 15px;
  background: var(--blog-green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 8px 18px rgba(23, 143, 78, .25);
}

.ast-blog-shell {
  width: var(--blog-shell);
  margin: 0 auto;
  padding: 0 0 56px;
}
.ast-blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 4px 0 18px;
}
.ast-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ast-blog-filters button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--blog-line);
  border-radius: 16px;
  background: #fff;
  color: #243228;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.ast-filter-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  color: currentColor;
}
.ast-filter-icon svg { width: 18px; height: 18px; display: block; }
.ast-filter-count {
  display: none;
}
.ast-blog-filters button[aria-pressed=true] {
  background: var(--blog-green);
  border-color: var(--blog-green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 143, 78, .2);
}
.ast-blog-filters button:hover {
  border-color: rgba(23, 143, 78, .55);
}
.ast-blog #result-count {
  margin: 0;
  color: #5f6b62;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.ast-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.ast-blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(20, 55, 32, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ast-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 55, 32, .10);
}
.ast-blog .ast-blog-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.ast-card-media {
  position: relative;
  overflow: hidden;
}
.ast-blog-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.ast-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.ast-category-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}
.ast-blog-card[data-category-slug='kurulum'] .ast-category { background: #eef8f1; color: #0d7d42; }
.ast-blog-card[data-category-slug='proje'] .ast-category { background: #fff3e7; color: #d66d00; }
.ast-blog-card[data-category-slug='sulama'] .ast-category { background: #eaf4ff; color: #1d69cc; }
.ast-blog-card[data-category-slug='yatirim'] .ast-category { background: #f8f2ff; color: #814ad1; }
.ast-blog-card[data-category-slug='otomasyon'] .ast-category { background: #f1efff; color: #5b4cd6; }
.ast-blog-card[data-category-slug='urun'] .ast-category { background: #fff0ef; color: #d44a34; }
.ast-blog-card[data-category-slug='topraksiz'] .ast-category { background: #edf9ef; color: #2b8c46; }
.ast-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 18px 20px;
}
.ast-blog .ast-blog-card h2 {
  margin: 0 0 10px;
  color: #131e17;
  font-size: 18px;
  line-height: 1.24;
  letter-spacing: -.02em;
  font-family: inherit;
}
.ast-blog-card p {
  margin: 0 0 18px;
  color: var(--blog-muted);
  font-size: 15px;
  line-height: 1.56;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ast-card-footer {
  width: 100%;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}
.ast-read-more {
  display: inline-flex;
  align-items: center;
  color: var(--blog-green-dark);
  font-size: 15px;
  font-weight: 800;
}
.ast-read-more span { margin-left: 6px; }
.ast-blog #empty-state {
  text-align: center;
  padding: 52px 18px;
  background: #fff;
  border: 1px solid var(--blog-line);
  border-radius: 20px;
}
.ast-blog-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  border-top: 1px solid #e1e8e3;
  background: #fff;
  padding: 28px 20px;
  color: #4c6053;
  font-size: 14px;
}
.ast-blog-footer strong { color: var(--blog-green); }
.ast-blog-footer a { text-decoration: none; }

@media (max-width: 1200px) {
  .ast-blog {
    --blog-shell: min(1280px, calc(100% - 40px));
  }
  .ast-blog .ast-blog-hero h1 { font-size: clamp(34px, 3vw, 46px); }
  .ast-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ast-blog {
    --blog-shell: calc(100% - 32px);
  }
  .ast-blog-hero {
    padding: 14px 0 16px;
  }
  .ast-blog-hero-shell {
    min-height: 0;
    border-radius: 24px;
  }
  .ast-blog-hero-media {
    background-position: center;
  }
  .ast-blog-hero-overlay {
    background: linear-gradient(180deg,
      rgba(250, 251, 247, .92) 0%,
      rgba(250, 251, 247, .88) 26%,
      rgba(250, 251, 247, .55) 54%,
      rgba(250, 251, 247, .14) 74%,
      rgba(250, 251, 247, 0) 100%);
  }
  .ast-blog-hero-content {
    position: relative;
    width: 100%;
    padding: 28px 22px;
  }
  .ast-blog .ast-blog-hero h1 {
    max-width: none;
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.12;
  }
  .ast-blog-lead { font-size: 15px; }
  .ast-blog #search-form {
    margin-top: 18px;
    padding-left: 14px;
  }
  .ast-blog #search { font-size: 14px; }
  .ast-blog button[type=submit] { padding-inline: 18px; }
  .ast-blog-toolbar {
    align-items: flex-start;
    padding-bottom: 16px;
  }
  .ast-blog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    width: 100%;
  }
  .ast-blog-filters button { flex: 0 0 auto; }
  .ast-blog #result-count { width: 100%; }
  .ast-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ast-blog {
    --blog-shell: calc(100% - 24px);
  }
  .ast-blog-hero-shell { border-radius: 20px; }
  .ast-blog-kicker { font-size: 14px; }
  .ast-blog #search-form { gap: 8px; }
  .ast-blog .ast-search-icon { display: none; }
  .ast-blog button[type=submit] { min-height: 42px; padding: 10px 16px; }
  .ast-blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .ast-card-body { padding: 16px; }
  .ast-blog .ast-blog-card h2 { font-size: 24px; }
  .ast-blog-card p { font-size: 15px; }
  .ast-blog-footer { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ast-blog-card { transition: none; }
}
