/* ===================================
   YEREL BASIN DETAIL PAGE STYLES
   Shared styles for all local press posts
   =================================== */

/* PAGE HEADER */
.page-header {
  position: relative;
  background-color: var(--primary-color);
  /* Modern Geometrik Altın Desen */
  background-image: 
    linear-gradient(135deg, rgba(20, 33, 61, 0.95) 0%, rgba(20, 33, 61, 0.8) 100%),
    repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.03) 0px, rgba(212, 175, 55, 0.03) 1px, transparent 1px, transparent 10px),
    repeating-linear-gradient(-45deg, rgba(212, 175, 55, 0.03) 0px, rgba(212, 175, 55, 0.03) 1px, transparent 1px, transparent 10px);
  padding: 80px 0;
  margin-bottom: 0;
  text-align: center;
  border-bottom: 4px solid var(--secondary-color);
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border: 2px solid rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.page-header h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  letter-spacing: 2px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.8rem; /* Mobilde başlığı küçülttük */
  }
}

.page-header h1::after {
  display: none;
}

/* BLOG DETAIL SECTION */
.blog-detail-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.blog-detail-container {
  display: flex;
  flex-direction: column; /* Stack button and content vertically */
  align-items: center;    /* Center them horizontally */
}

/* Back button wrapper */
.action-btn-wrapper {
  width: 100%;
  max-width: 900px; /* Match blog-content width */
  margin-bottom: 20px;
  display: flex; /* Allow button to align left */
  justify-content: flex-start;
}

/* CONTENT AREA */
.blog-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  max-width: 900px;
  width: 100%;
}

.blog-content h2 {
  color: #333;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 40px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

@media (max-width: 768px) {
  .page-header {
    padding: 50px 0;
  }

  .page-header h1 {
    font-size: 1.5rem; /* Mobil'de başlık boyutunu küçülttük */
  }

  .blog-detail-section {
    padding: 50px 0;
  }

  /* Buton hizalamasını mobilde düzelt */
  .action-btn-wrapper {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .blog-content {
    padding: 30px 20px; /* İç boşluğu azalttık */
    width: 95%; /* Mobilde kenarlara yapışmasın */
  }

  .blog-content h2 {
    font-size: 1.4rem; /* İçerik başlıklarını küçülttük */
  }
}  margin-top: 0;
}

.blog-content p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  display: block;
}

.timestamp {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
    font-style: normal;
}

/* DYNAMIC NEWS CONTENT STYLES */
.news-intro {
  font-weight: 600;
  font-size: 1.1em;
  color: #444;
  margin-bottom: 20px;
}

.news-subtitle {
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
}

.news-source {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #777;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.news-link {
  display: inline-block;
  margin-top: 15px;
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.news-link:hover {
  color: #039be5;
  text-decoration: underline;
}
