/* Gastromenum blog — lokal / canlı ortak stiller */

html, body {
  overflow-x: hidden;
  font-size: 16px;
  color: #848c99;
  font-family: montserrat, "open sans", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  background: #f8f9fa;
}

.blog-hero {
  background: linear-gradient(45deg, #812dbd 0%, #066ce0 51%, #812dbd 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.blog-hero h1 {
  color: #fff;
  font-size: 2.4em;
  margin-bottom: 12px;
}

.blog-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05em;
}

.cat-filter {
  padding: 32px 0 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 7px 18px;
  border-radius: 20px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #848c99;
  font-size: 0.82em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}

.cat-btn:hover,
.cat-btn.active {
  border-color: #ff7043;
  color: #ff7043;
  background: #fff8f6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 20px 0 80px;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.card-cover {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #812dbd 0%, #066ce0 100%);
  overflow: hidden;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-cover--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card-cover--fallback img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.card-body {
  padding: 22px 24px 24px;
}

.card-cat {
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ff7043;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.05em;
  font-weight: 700;
  color: #37404d;
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-title a:hover {
  color: #ff7043;
}

.card-excerpt {
  font-size: 0.88em;
  color: #848c99;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-meta {
  font-size: 0.78em;
  color: #bbb;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.84em;
  font-weight: 700;
  color: #ff7043;
}

.card-link:hover {
  text-decoration: underline;
}

.breadcrumb {
  padding: 90px 0 0;
  font-size: 0.82em;
  color: #bbb;
}

.breadcrumb a {
  color: #ff7043;
}

.breadcrumb span {
  margin: 0 6px;
}

.post-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 28px 0 80px;
  align-items: start;
}

.post-cover {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #812dbd 0%, #066ce0 100%);
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-header .post-cat {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ff7043;
  margin-bottom: 10px;
}

.post-title {
  font-size: 2em;
  color: #37404d;
  margin-bottom: 10px;
  line-height: 1.25;
}

.post-meta {
  font-size: 0.88em;
  color: #bbb;
  margin-bottom: 24px;
}

.post-content {
  color: #5a6472;
  line-height: 1.8;
}

.post-content h2 {
  margin: 28px 0 12px;
  font-size: 1.35em;
  color: #37404d;
}

.post-content ul {
  margin: 12px 0 16px 20px;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content p {
  margin-bottom: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff7043;
  font-size: 0.88em;
  font-weight: 600;
  margin-bottom: 20px;
}

.sidebar-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-size: 1em;
  margin-bottom: 16px;
  color: #37404d;
}

.sidebar-cta {
  background: linear-gradient(45deg, #812dbd 0%, #066ce0 100%);
  color: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.sidebar-cta h3 {
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.sidebar-cta p {
  font-size: 0.85em;
  opacity: 0.9;
  margin-bottom: 18px;
  color: #fff;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(45deg, #fe60a1, #ff8765);
  color: #fff;
  padding: 11px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9em;
}

.btn-cta:hover {
  opacity: 0.9;
  color: #fff;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li {
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 0;
}

.related-list li:last-child {
  border-bottom: none;
}

.related-list a {
  font-size: 0.88em;
  color: #37404d;
  font-weight: 600;
}

.related-list a:hover {
  color: #ff7043;
}

.blog-footer {
  background: linear-gradient(45deg, #fe60a1 0%, #ff8765 51%, #fe60a1 100%);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.blog-footer a {
  color: #fff;
  margin: 0 12px;
  font-size: 0.85em;
}

.blog-footer p {
  margin-top: 12px;
  font-size: 0.8em;
  opacity: 0.8;
}

.blog-404 {
  padding: 140px 20px 80px;
  text-align: center;
}

.blog-404 h1 {
  font-size: 2em;
  color: #37404d;
  margin-bottom: 12px;
}

.blog-404 p {
  margin-bottom: 24px;
}

/* Ana sayfa teaser */
.home-blog-teaser {
  padding: 70px 0 40px;
  background: #f8f9fa;
}

.home-blog-teaser .section-head {
  text-align: center;
  margin-bottom: 36px;
}

.home-blog-teaser .section-head h2 {
  color: #37404d;
  font-size: 2em;
  margin-bottom: 10px;
}

.home-blog-teaser .section-head p {
  color: #848c99;
  max-width: 560px;
  margin: 0 auto;
}

.home-blog-teaser .teaser-more {
  text-align: center;
  margin-top: 28px;
}

.home-blog-teaser .teaser-more a {
  display: inline-block;
  font-weight: 700;
  color: #ff7043;
  border: 2px solid #ff7043;
  padding: 10px 22px;
  border-radius: 25px;
}

.home-blog-teaser .teaser-more a:hover {
  background: #fff8f6;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .post-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero h1 {
    font-size: 1.8em;
  }
  .post-title {
    font-size: 1.5em;
  }
}
