/* Blog Post sayfası */
.blog-post-main { padding-top: 70px; }

/* ── Page Hero (Poyraz-adapted & custom posts) ─────── */
.page-hero {
  background: linear-gradient(135deg, #2a4a20 0%, #3d6b2f 100%);
  padding: 100px 20px 40px;
  text-align: center;
  color: #fff;
}
.page-hero h1, .page-hero-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}
.page-hero p {
  opacity: 0.85;
  font-size: 1rem;
  margin-bottom: 14px;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: #fff; font-weight: 600; }

/* ── Blog post wrap (shared layout) ──────────────────── */
.blog-post {
  background: #f4f6f1;
  padding: 50px 0 70px;
}
.blog-post-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Post header ─────────────────────────────────────── */
.blog-post-header { margin-bottom: 28px; }
.blog-post-tag {
  display: inline-block;
  background: #3d6b2f;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.blog-post-header h1 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 14px;
}
.blog-post-header .blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: #6b7280;
}

/* ── Featured image ───────────────────────────────────── */
.blog-post-featured {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
  display: block;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

/* ── Blog content body ───────────────────────────────── */
.blog-content {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  line-height: 1.85;
  color: #1f2937;
  font-size: 0.97rem;
}
.blog-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
  line-height: 1.3;
}
.blog-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a4a20;
  margin: 24px 0 10px;
}
.blog-content p { margin-bottom: 16px; }
.blog-content ul, .blog-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.blog-content li { margin-bottom: 6px; }
.blog-content strong { color: #111; }
.blog-content a { color: #3d6b2f; text-decoration: underline; }
.blog-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
  height: auto;
}
@media (max-width: 639px) {
  .blog-content { padding: 22px 18px; }
  .blog-post-featured { height: 220px; }
  .page-hero { padding: 90px 16px 32px; }
}

/* ── Info box ─────────────────────────────────────────── */
.info-box {
  background: #f0f7ec;
  border-left: 4px solid #3d6b2f;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.info-box p { margin: 0; font-size: 0.92rem; }

/* ── Price table ──────────────────────────────────────── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.88rem;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.price-table thead tr {
  background: #3d6b2f;
  color: #fff;
}
.price-table th, .price-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.price-table tbody tr:nth-child(even) { background: #f9fafb; }
.price-table tbody tr:hover { background: #f0f7ec; }
.price-table td.price { color: #3d6b2f; font-weight: 700; }
.price-table td.metal { font-weight: 600; }
@media (max-width: 639px) {
  .price-table { font-size: 0.78rem; }
  .price-table th, .price-table td { padding: 8px 8px; }
}

/* ── FAQ accordion ────────────────────────────────────── */
.faq-section { margin-top: 32px; }
.faq-section h2 { border-bottom: 2px solid #3d6b2f; }
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  background: #f9fafb;
  position: relative;
  font-size: 0.95rem;
  color: #1a1a1a;
  user-select: none;
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: #3d6b2f;
  font-weight: 300;
  transition: transform 0.25s;
}
.faq-q.open::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.92rem;
  color: #374151;
  padding: 0 20px;
}
.faq-a.open {
  max-height: 400px;
  padding: 14px 20px;
}

/* ── Blog CTA block ───────────────────────────────────── */
.blog-cta {
  background: linear-gradient(135deg, #2a4a20, #3d6b2f);
  color: #fff;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-top: 36px;
}
.blog-cta h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.blog-cta p {
  opacity: 0.88;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.blog-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.blog-cta-buttons .btn-primary {
  background: #fff;
  color: #2a4a20;
  font-weight: 700;
}
.blog-cta-buttons .btn-primary:hover { background: #f5f5f5; }

.blog-post-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
}
.blog-post-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}
.blog-post-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 30px 0;
  color: #fff;
}
.blog-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.75);
  margin-bottom: 14px; flex-wrap: wrap;
}
.blog-breadcrumb a { color: rgba(255,255,255,0.75); }
.blog-breadcrumb a:hover { color: #fff; }
.blog-breadcrumb i { font-size: 0.65rem; }
.blog-post-hero-content h1 {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 700; line-height: 1.3;
  margin-bottom: 12px;
}
.blog-post-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem; color: rgba(255,255,255,0.8);
}
.blog-post-meta span { display: flex; align-items: center; gap: 6px; }

/* Layout */
.blog-post-content-wrap { padding: 50px 0; background: #f4f6f1; }
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .blog-post-layout { grid-template-columns: 1fr 320px; }
}

/* Content */
.blog-post-content {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  line-height: 1.8;
  color: #1f2937;
}
.blog-post-content h2, .blog-post-content h3 {
  color: #1a1a1a; margin: 28px 0 14px;
  font-weight: 700; line-height: 1.3;
}
.blog-post-content h2 { font-size: 1.4rem; }
.blog-post-content h3 { font-size: 1.15rem; }
.blog-post-content p { margin-bottom: 16px; font-size: 0.97rem; }
.blog-post-content img {
  max-width: 100%; border-radius: 8px;
  margin: 20px 0; height: auto;
}
.blog-post-content ul, .blog-post-content ol {
  padding-left: 24px; margin-bottom: 16px;
}
.blog-post-content li { margin-bottom: 6px; font-size: 0.97rem; }
.blog-post-content strong { color: #111; }
.blog-post-content a { color: #3d6b2f; text-decoration: underline; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: #fff; border-radius: 12px;
  padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.sidebar-widget h3 {
  font-size: 1rem; font-weight: 700;
  color: #1a1a1a; margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.cta-widget { background: #3d6b2f; color: #fff; }
.cta-widget h3 { color: #fff; border-color: rgba(255,255,255,0.2); }
.cta-widget p { color: rgba(255,255,255,0.85); font-size: 0.88rem; margin-bottom: 16px; }
.cta-widget .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

.sidebar-links { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; }
.sidebar-links a {
  display: flex; align-items: center; gap: 8px;
  color: #1f2937; font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s;
}
.sidebar-links a:hover { color: #3d6b2f; }
.sidebar-links i { color: #3d6b2f; font-size: 0.7rem; }

/* Blog Index */
.blog-index-main { padding-top: 70px; }
.blog-index-hero {
  background: linear-gradient(135deg, #2a4a20 0%, #3d6b2f 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: #fff;
}
.blog-index-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.blog-index-hero p { opacity: 0.85; font-size: 1.05rem; }

.blog-index-content { padding: 60px 0; background: #f4f6f1; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: #fff; border-radius: 12px;
  overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
@media (hover: hover) { .blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 35px rgba(0,0,0,0.13); } }
.blog-card-img {
  height: 200px; overflow: hidden; position: relative;
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
@media (hover: hover) { .blog-card:hover .blog-card-img img { transform: scale(1.06); } }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  font-size: 0.78rem; color: #9ca3af;
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.blog-card-body h2 {
  font-size: 1rem; font-weight: 700; color: #1a1a1a;
  margin-bottom: 10px; line-height: 1.4;
}
.blog-card-body h2 a { color: inherit; }
.blog-card-body h2 a:hover { color: #3d6b2f; }
.blog-card-body p { font-size: 0.86rem; color: #6b7280; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.blog-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #3d6b2f; font-size: 0.85rem; font-weight: 600;
  transition: gap 0.2s;
}
.blog-card:hover .blog-card-link { gap: 10px; }

/* Latest blog on homepage */
.latest-blog-section { padding: 70px 0; background: #fff; }
.latest-blog-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px;
}
@media (min-width: 768px) { .latest-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.latest-blog-card {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: #fff; border: 1px solid #e5e7eb;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
@media (hover: hover) { .latest-blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); } }
.latest-blog-img-wrap { display: block; height: 180px; overflow: hidden; }
.latest-blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
@media (hover: hover) { .latest-blog-card:hover .latest-blog-img-wrap img { transform: scale(1.06); } }
.latest-blog-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.latest-blog-meta { font-size: 0.75rem; color: #9ca3af; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.latest-blog-body h3 { font-size: 0.95rem; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; line-height: 1.4; }
.latest-blog-body h3 a { color: inherit; }
.latest-blog-body h3 a:hover { color: #3d6b2f; }
.latest-blog-body p { font-size: 0.83rem; color: #6b7280; flex: 1; margin-bottom: 12px; line-height: 1.5; }
.latest-blog-link { color: #3d6b2f; font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.section-cta { text-align: center; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  border: 2px solid #3d6b2f; color: #3d6b2f;
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.3s;
}
.btn-outline:hover { background: #3d6b2f; color: #fff; }
