body {
  font-family: "Inter", sans-serif;
}

:root {
  --primary-color: #890c25;
  --primary-dark: #6e091d;
  --text-color: #000000;
  --text-muted: #6c757d;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --card-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  --sidebar-bg: #fff;
  --accent-gold: #e8bc00;
}
  
/* News Page Content */
.news-page-content {
  background-color: #ffffff;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.news-card:hover .news-title {
  color: var(--primary-color);
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.news-content {
  padding: 24px;
  max-width: 908px;
}

.news-title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 27px;
  color: #393939;
  margin-bottom: 39px;
  transition: var(--transition);
}

.news-card:hover .news-title {
  color: var(--primary-color);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--primary-color);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-separator {
  color: var(--primary-color);
  opacity: 0.5;
}

.news-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar Styling */
.sidebar-links {
  margin-top: 0; 
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid #d3989c;
  border-radius: 100px;
  text-decoration: none !important;
  color: #333;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.sidebar-item:hover {
  background-color: var(--primary-color, #890c25);
  color: white;
  border-color: var(--primary-color, #890c25);
  transform: translateX(5px);
}

.sidebar-item .icon-wrapper {
  width: 32px;
  height: 32px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-item img {
  max-width: 100%;
}

.sidebar-item:hover .icon-wrapper img {
  filter: brightness(0) invert(1);
}

/* Pagination Styling */
.news-pagination .page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px !important;
  margin: 0 5px;
  color: #26262699;
  border: 1px solid #E0E4EC;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  transition: var(--transition);
  background-color: #fff;
}

.news-pagination .page-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.news-pagination .page-item.active .page-link {
  background-color: #fff;
  border: 2px solid #007BC1;
  color: #007BC1;
}

.news-pagination .page-link:hover {
  background-color: #fff;
  color: #007BC1;
  border-color: #007BC1;
}

.news-pagination .page-item.disabled {
  opacity: 0.5;
  pointer-events: none;
}


/* Responsive adjustments */
@media (max-width: 991px) {
  .sidebar-links {
    margin-top: 40px;
    position: static;
  }
}

@media (max-width: 767px) {
  .news-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
  }
  .news-title {
    font-size: 1.25rem;
    margin-top: 15px;
  }
}

/* Removed individual fixed font size to match news-detail.css */

/* Mobile Sidebar Toggle Button */
.sidebar-toggle-btn {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1050;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}

.sidebar-toggle-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

/* Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1030;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 991px) {
  .sidebar-toggle-btn {
    display: flex;
  }

  /* Transform sidebar to off-canvas */
  .sidebar-column {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    z-index: 1040;
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .sidebar-column.active {
    right: 0;
  }

  .sidebar-links {
    margin-top: 0;
  }
}

/* Prevent scrolling when sidebar is open */
body.sidebar-open {
  overflow: hidden;
}

body {
  font-family: 'Inter', sans-serif;
}

.news-detail-content {
  background-color: #ffffff;
}

.news-detail-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  color: #000000;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #890C25;
  font-size: 15px;
  line-height: 27px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item img {
  width: 16px;
  height: 16px;
}

.meta-separator {
  color: #dee2e6;
}

.news-main-image img {
    width: 100%;
    height: auto;
    max-height: 612px;
    object-fit: cover;
}

.news-text-content {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 27px;
  color: #000000;
}

.news-text-content p {
  margin-bottom: 8px;
}

.sidebar-links {
  /* margin-top: 125px;  */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid #d3989c; /* Lighter version of primary or per design */
  border-radius: 100px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.sidebar-item:hover {
  background-color: var(--primary-color, #890c25);
  color: white;
  border-color: var(--primary-color, #890c25);
  transform: translateX(5px);
}

.sidebar-item .icon-wrapper {
  width: 32px;
  height: 32px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-item img {
  max-width: 100%;
}

@media (max-width: 991px) {
  .news-detail-title {
    font-size: 24px;
  }
  
  .sidebar-links {
    margin-top: 40px;
    position: static;
  }
}

@media (max-width: 768px) {
  .news-detail-title {
    padding-top: 10px;
    font-size: 20px;
    line-height: 27px;
  }
  .news-main-image img {
    max-width: 100%;
    height: auto;
  }
  .news-text-content p {
    font-size: 14px;
    margin-bottom: 0px;
  }
}

@media (max-width: 376px) {
  .news-detail-title {
    font-size: 18px;
  }
  .news-main-image img {
    max-width: 100%;
    height: auto;
  }
  .news-text-content p {
    font-size: 14px;
    margin-bottom: 0px;
  }
}

@media (max-width: 321px) {
  .news-detail-title {
    font-size: 16px;
  }
  .news-main-image img {
    max-width: 100%;
    height: auto;
  }
  .news-text-content p {
    font-size: 14px;
    margin-bottom: 0px;
  }
}

/* Mobile Sidebar Toggle Button */
.sidebar-toggle-btn {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 50px;
  height: 50px;
  background-color: #890c25;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1050;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.sidebar-toggle-btn:hover {
  background-color: #6e091d;
  transform: scale(1.1);
}

/* Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1030;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 991px) {
  .sidebar-toggle-btn {
    display: flex;
  }

  /* Transform sidebar to off-canvas */
  .sidebar-column {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    z-index: 1040;
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .sidebar-column.active {
    right: 0;
  }

  .sidebar-links {
    margin-top: 0;
  }
}

/* Prevent scrolling when sidebar is open */
body.sidebar-open {
  overflow: hidden;
}
