/* Custom styles for news-detail.php page */

/* Enhanced blog detail styles */
.blog-detail .inner-box {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.blog-detail .inner-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.blog-detail .image-box {
  position: relative;
  overflow: hidden;
  max-width: 750px;
  margin: 0 auto 20px;
  border-radius: 15px;
}

.blog-detail .image-box .image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-detail .image-box:hover .image img {
  transform: scale(1.03);
}

.blog-detail .news-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #3498db, #024f9a);
  color: #fff;
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.blog-detail .lower-content {
  padding: 30px;
}

.blog-detail .post-meta {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.blog-detail .post-meta li {
  display: inline-block;
  margin-right: 15px;
  color: #666;
  font-size: 14px;
}

.blog-detail .post-meta li .icon {
  color: #3498db;
  margin-right: 5px;
}

.blog-detail h3 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 700;
}

.blog-detail .text p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
}

.blog-detail .text blockquote {
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  padding: 15px 20px;
  margin: 25px 0;
  font-style: italic;
  color: #555;
  border-radius: 0 5px 5px 0;
}

.blog-detail .text h4 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 600;
}

.blog-detail .text .row .column .image {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.blog-detail .text .row .column .image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.blog-detail .text .row .column .image:hover img {
  transform: scale(1.05);
}

/* Author box styles */
.author-box {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.author-box .author-image {
  width: 100px;
  height: 100px;
  overflow: hidden;
  margin-right: 25px;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-box .author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box h4 {
  margin-bottom: 10px;
  color: #2c3e50;
  font-size: 20px;
}

.author-box .text {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

.author-box .social-icon li {
  display: inline-block;
  margin-right: 8px;
}

.author-box .social-icon li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  color: #3498db;
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.author-box .social-icon li a:hover {
  background: linear-gradient(135deg, #3498db, #024f9a);
  color: #fff;
  transform: translateY(-3px);
}

/* Comments area styles */
.comments-area {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.comments-area .group-title h3 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
}

.comments-area .group-title h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #024f9a);
  border-radius: 3px;
}

.comment-box {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.comment-box:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.comment {
  display: flex;
}

.comment-image {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.comment-image i {
  font-size: 50px;
  color: #3498db;
}

.comment-content {
  flex-grow: 1;
}

.comment-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.comment-name {
  font-weight: 600;
  color: #2c3e50;
  margin-right: 15px;
  font-size: 16px;
}

.comment-date {
  color: #888;
  font-size: 14px;
}

.comment .text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.reply-btn {
  display: inline-flex;
  align-items: center;
  color: #3498db;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  gap: 8px;
}

.reply-btn:hover {
  color: #024f9a;
}

.reply-btn i {
  font-size: 13px;
}

/* Comment form styles */
.comment-form {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 80px;
}

.comment-form .group-title h3 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
}

.comment-form .group-title h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #024f9a);
  border-radius: 3px;
}

.comment-form .form-group {
  margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
  outline: none;
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Post share options styles */
.post-share-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
}

.tags-list a {
  display: inline-block;
  padding: 6px 15px;
  background: #f0f0f0;
  color: #555;
  border-radius: 20px;
  font-size: 14px;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.tags-list a:hover {
  background: linear-gradient(135deg, #3498db, #024f9a);
  color: #fff;
}

.social-links {
  display: flex;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f0f0f0;
  color: #555;
  border-radius: 50%;
  margin-left: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, #3498db, #024f9a);
  color: #fff;
  transform: translateY(-3px);
}

.share-btn {
  background: linear-gradient(135deg, #3498db, #024f9a) !important;
  color: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .blog-detail .lower-content {
    padding: 20px;
  }

  .blog-detail h3 {
    font-size: 24px;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .author-box .author-image {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .post-share-options {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-links {
    margin-top: 15px;
  }
}

/* News Navigation */
.news-navigation {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  gap: 30px;
}

.news-navigation .nav-link {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  max-width: 48%;
  position: relative;
  overflow: hidden;
}

.news-navigation .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s;
}

.news-navigation .nav-link:hover::before {
  left: 100%;
}

.news-navigation .nav-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.news-navigation .nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #024f9a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
}

.news-navigation .nav-link:last-child .nav-icon {
  margin-right: 0;
  margin-left: 15px;
}

.news-navigation .nav-content {
  flex: 1;
}

.news-navigation .nav-label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Premium News Content Styling */
.news-content-wrapper {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #333;
  margin-top: 20px;
}

.news-para {
  margin-bottom: 25px;
  text-align: justify;
}

.news-subheading {
  font-size: 1.5rem;
  color: #024f9a;
  font-weight: 700;
  margin: 45px 0 20px;
  padding-bottom: 15px;
  position: relative;
  display: block;
  border-bottom: 1px solid #eee;
}

.news-subheading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #024f9a, #f39c12);
  border-radius: 2px;
}

[dir='rtl'] .news-subheading::after {
  right: 0;
}

[dir='ltr'] .news-subheading::after {
  left: 0;
}

.news-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  background: #fcfcfc;
  padding: 20px;
  border-radius: 12px;
  border-right: 4px solid #024f9a;
}

[dir='ltr'] .news-list {
  border-right: none;
  border-left: 4px solid #024f9a;
}

.news-list li {
  position: relative;
  margin-bottom: 18px;
  padding-right: 35px;
  font-weight: 500;
  color: #444;
  transition: all 0.2s ease;
}

[dir='ltr'] .news-list li {
  padding-right: 0;
  padding-left: 35px;
}

.news-list li::before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free', 'FontAwesome';
  font-weight: 900;
  position: absolute;
  top: 2px;
  font-size: 10px;
  color: #024f9a;
}

[dir='rtl'] .news-list li::before {
  right: 5px;
}

[dir='ltr'] .news-list li::before {
  left: 5px;
}

.news-list li:last-child {
  margin-bottom: 0;
}

.news-list li:hover {
  color: #024f9a;
  transform: translateX(-5px);
}

[dir='ltr'] .news-list li:hover {
  transform: translateX(5px);
}
