:root {
  --black: #222222;
  --red: #DF1818;
}
/* Start Gallery and Gallery Details */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.gallery-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.gallery-list .gallery--item {
  transition: 0.5s all ease-in-out;
  position: relative;
  cursor: pointer;
}

.gallery-list .gallery--item .item--image {
  max-width: 100%;
  object-fit: cover;
  overflow: hidden;
}
.gallery--item .item--image:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 10px 7px 29px 0px;
}

.gallery--item .item--image img {
  width: 100%;
  transition: 0.5s all ease-in-out;
}
.gallery--item .item--image:hover img {
  transform: rotate(5deg) scale(1.2);
}
.gallery-list .item--overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  overflow: hidden;
  padding: 20px;
}

.gallery-list .item--overlay h2 {
  padding: 0;
  color: white;
  font-size: 2em;
  text-transform: capitalize;
}

.gallery-details {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  overflow: hidden;
}
.gallery-details .item--overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: end;

  transition: opacity 0.3s ease;
  overflow: hidden;
  padding: 20px;
}
.gallery-details .gallery--item {
  transition: 0.5s all ease-in-out;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gallery-details .gallery--item .item--image {
  max-width: 100%;
  object-fit: cover;
  overflow: hidden;
}
.gallery-details .gallery--item .item--image:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 10px 7px 29px 0px;
}

.gallery-details .gallery--item .item--image img {
  width: 100%;
  transition: 0.5s all ease-in-out;
}
.gallery-details .gallery--item .item--image:hover img {
  transform: rotate(5deg) scale(1.2);
}
.gallery-details .item--overlay h2 {
  padding: 0;
  color: white;
  font-size: 14px;
  text-transform: none;
}
.gallery--item.large {
  grid-column: span 2; /* This makes the first item span two columns */
  grid-row: span 2; /* This makes the first item span two rows */
}
@media (max-width: 768px) {
  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
}
/* End Gallery and Gallery Details */

/* Start News and News Details*/
.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100%, 0.5fr));
  gap: 20px;
}
.news {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  width: 100%;
  padding: 20px;
  background-color: #fffafa;
  border: 1px solid var(--red);
  transition: 0.5s all ease-in-out;
}
.news:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transform: translateY(-5px);
}

.news-image {
  width: 100%;
  border-radius: 5px;
}
.news-image img {
  width: 100%;
  border-radius: 5px;
}

.news-content {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  /* justify-content: center; */
}

.news-date {
  color: #d1313b;
  font-size: 1.2em;
  margin-bottom: 10px;
  text-align: left !important;
}

.news-title {
  text-align: left !important;
  padding: 0;
  color: var(--black);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: none;
}

.news-source {
  color: #e44f58; /* Slightly brighter for source */
  font-size: 18px;
  margin-bottom: 8px;
  text-align: left !important;
}

.news-description {
  color: var(--black);
  font-size: 16px; 
  margin-bottom: 20px;
  text-align: left !important;
}

.read-more {
  width: fit-content;
  transition: background-color 0.3s ease;
  background: linear-gradient(180deg, #DF1818 -8.14%, #BF2932 100%);
  border: 1px solid #DF1818;
  color: #fff;
  font-size: 16px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 0px;
  font-weight: 500;
  /* padding: 10px 20px;
  background-color: #d1313b;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.5em; */
}

.read-more:hover {
  color: #fff;
  background-color: #410e11;
}
/* .news.news-details {

  border: none;
}
.news-details.news-content {
  display: flex;
  justify-content: start;
  flex-direction: column;

} */
/* Tablets (2 columns) */
@media screen and (max-width: 1024px) {
  .news-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
  .news {
    grid-template-columns: 1fr; /* Stack image and content on top of each other */
  }
}

/* Phones (1 column) */
@media screen and (max-width: 576px) {
  .news-container {
    grid-template-columns: 1fr; /* 1 column on phones */
  }
  .news {
    grid-template-columns: 1fr; /* Image and content stacked */
  }
}

/* End News and News Details*/


.article {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.article__image img {
  width: 100%;
  height: 100%;
  border: 2px solid #bf2932; /* Gold border */
}

.article__text .source {
  color: #bf2932; /* Gold color */
  margin-bottom: 10px;
}

.article__text p {
  color: var(--black);
  text-align: justify;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .article {
    grid-template-columns: 1fr;
  }

  .article__image {
    margin-bottom: 20px;
  }
}

/* Start Video List and Video Gallery */
.video-card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for large screens */
  gap: 20px;
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}
.video-card {
  flex-grow: 1; /* Each card will grow to fill available space */
  flex-basis: calc(25% - 20px); /* Default: 4 columns, minus gap */
  border: 1px solid #ddd;
  background-color: white;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-radius: 8px;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.video-thumbnail {
  position: relative;
  border-radius: 8px;
}

.video-thumbnail img {
  border-radius: 8px 8px 0 0;

  width: 100%;
  height: auto;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease, background-color 0.4s ease;
  cursor: pointer;
}

.play-button i {
  color: #d1313b;
}
.video-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.2);
  background-color: rgba(255, 255, 255, 1);
}
.video-info {
  padding: 15px;
}

.video-info h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
}

.play-video-btn {
  display: flex;
  padding: 10px 20px;
  background-color: #d1313b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.play-video-btn i {
  margin-left: 5px;
  transition: color 0.4s ease;
}

.play-video-btn:hover {
  background-color: #792328;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-card {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .video-card-container {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for smaller laptops */
  }
}

@media (max-width: 768px) {
  .video-card-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media (max-width: 480px) {
  .video-card-container {
    grid-template-columns: 1fr; /* 1 column for mobile devices */
  }
}

/* End Video List Gallery*/

.video-details-container {
  width: 100%;
  /* max-height: 500px; */
  /* overflow: hidden; */
  /* position: relative; */
}
.video--details-container video {
  width: 100%;
  height: 400px;

  display: block;
}
.video-container {
  height: 400px;
}
.video-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Video Details Section */
.video-details {
  padding: 10px;
  margin: 20px auto;
  border-radius: 5px;
}

.video-details h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
}

.video-details .video-description {
  font-size: 16px;
  color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .video-details h1 {
    font-size: 24px;
  }
  .video-details .video-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .video-details h1 {
    font-size: 20px;
  }

  .video-details .video-description {
    font-size: 14px;
  }
}
/* End Video List Gallery*/

/* Start download page */
.pdf-container {
  display: flex;
  align-items: center;
  border: 1px solid white;
  padding: 15px 10px;
  width: fit-content;
  cursor: pointer;
  border: 1px solid var(--red);
  width: 100%;
  transition: 0.5s all ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  border-radius: 4px;
}

.pdf-icon i {
  width: 25px;
  color: var(--red);
  font-size: 20px;
}

.pdf-description {
  color: var(--red);
  font-size: 18px;
}
.pdf-container:hover {
  background-color: var(--red);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}
.pdf-container:hover .pdf-icon i,
.pdf-container:hover .pdf-description {
  color: white;
}
/* End download page */

/* Start Media Center */
.category-container {
  display: grid;
  grid-template-columns: repeat(2, 0.3fr);
  /* display: flex;
  justify-content: space-between; */
  justify-content: center;
  gap: 25px;
  margin: 20px 0;
}

.category-box {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  /* width: 500px; */
  box-sizing: border-box;
  transition: transform 0.3s ease;
  background-color: #fdf3f4;
  text-align: center;
}

.category-box:hover { 
  box-shadow: 1px 5px 4px #00000020;
  transition: 0.5s all ease-in-out;
}
.litemediacenter .category-box{
  min-height: 220px;
  border: 1px solid #e3e3e3;
  transition: 0.5s all ease-in-out;
  border-radius: 12px; 
}

.category-box::before {
  content: "";
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  top: -3px;
  background-color: var(--red);
  position: absolute;
  width: 0;
  transition: 0.5s all ease-in-out;
}
.category-box:hover::before {
  width: 100%;
}
.category-box:hover {
  transform: scale(1.05);
}

.category-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 75px;
  background-color: var(--red);
  padding: 10px;
  border-radius: 50%;
  /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
  margin-bottom: 15px;
}
.category-box {
  color: #000;
}
.category-box h3{
  font-size: 20px; 
  font-weight: 500;
}
.category-icon i {
  font-size: 30px;
  color: white;
}
 
/* Media query for tablets and laptops */
@media (max-width: 1024px) {
  .category-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
  }
}

/* Media query for mobile phones */
@media (max-width: 600px) {
  .category-container {
    grid-template-columns: 1fr; /* 1 column */
  }

  .category-box {
    padding-top: 60px; /* Extra space for the icon on mobile */
    text-align: center;
  } 
}
/* End Media Center */


.news-article-text{
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
}
.thelitenews{
  float: right;
  margin-left: 24px;
}

@media(max-width: 768px){
  .news-article-text{
    display: block;
  }
  .thelitenews{
    width: 100%;
    margin-left: 0px;
  }
  .thelitenews img{
    width: 100%;
  }
}