/* static/details.css */

/* Base styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  width: 85%;
  max-width: 1000px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

/* Blog details */
.blog-detail h1 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 20px;
}

.blog-detail-banner {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.blog-meta {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 20px;
}

.blog-detail p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Comments section */
.comments-section {
  margin-top: 50px;
}

.comments-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

/* Comment form */
.comments-section form input,
.comments-section form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Old Post Comment button (kept for fallback) */
.comments-section form button {
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.comments-section form button:hover {
  background-color: #0056b3;
}

/* Comment list */
.comment-list {
  list-style-type: none;
  padding: 0;
}

.comment-list li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.comment-list p {
  margin: 0;
}

/* Header */
.site-header {
  margin: 0;
  padding: 0;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}


.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid gold;
  z-index: 10;
  
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: gold;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: gold;
}

.nav-links ion-icon {
  font-size: 18px;
  color: gold;
}


/* Bookmark button */
.bookmark-btn {
  background-color: #ffc107;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0;
  transition: background-color 0.3s ease;
}

.bookmark-btn:hover {
  background-color: #e0a800;
}

/* ==== ✅ New Modern Styles Below ==== */

/* Flex container to space buttons */
.comment-action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Modern styled Post Comment button */
.post-comment-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #f7c948, #ffb300);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(247, 201, 72, 0.4);
  transition: all 0.3s ease;
}

.post-comment-btn:hover {
  background: linear-gradient(135deg, #f5b800, #e0a800);
  box-shadow: 0 6px 14px rgba(255, 179, 0, 0.5);
  transform: translateY(-2px);
}


/* Must Read Updates section */
.column.center-column {
  margin-top: 60px;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 12px;
}

.column-inner {
  max-width: 900px;
  margin: 0 auto;
}

.column-inner h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.featured-horizontal-card {
  display: flex;
  gap: 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.featured-horizontal-card img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
}

.featured-content {
  padding: 10px;
  flex: 1;
}

.featured-content h4 {
  font-size: 1.1rem;
  margin: 0 0 5px;
  color: #222;
}

.featured-content p {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 10px;
}

.featured-content a {
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}

.featured-content a:hover {
  text-decoration: underline;
}
