/* Original CSS */
.myMenu {
  text-align: center;
}

.myMenu a {
  text-decoration: none;
  color: #333; /* Set a default color for the logo */
  display: block;
}

.myMenu h1 {
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 1px;

}
/* Logo Styling */

body {
    margin: 0;
    padding: 0;
    transition: background-color 0.5s ease;
  }
  
  .light-mode {
    background-color: white;
    color: black;
    border: black;
  }
  
  .dark-mode {
    background-color: black;
    color: white;
    border: white;
  }
  
  hr{
    font-size: xx-small;
    background-color: #fff;
    border: .1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .para1, #filter, .para2, p, .news-date {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
  }

  h1 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 21px;
    text-align: center;
  }
  
  h2 {
    font-family: 'Teko', sans-serif;
    text-align: center;
  }
  
  h3 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  }
  
  .mainPicture {
    margin: 0 auto;
    width: 75%;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 1px;
    padding-left: 15%; /* Add some padding */
    padding-right: 15%;
    overflow: hidden;
  }
  
  .mainImage {
    max-width: 100%;
    width: 150px;
    height: 150px;
    height: auto;
    display: block;
    margin: 10px 50px 20px;
  }
  
  .mainTitle1 {
    font-size: 1.5em;
  }
  
  @media screen and (max-height: 450px) {
    .overlay a {
      font-size: 20px;
    }
    .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }
  
  .mainAd {
    margin: 0 auto;
    text-align: center;
  }
  
  .adArtMain {
    height: 100px;
  }
  
  .mainAd:hover .adArtMain {
    opacity: 0.3;
    transition: .5s ease;
    backface-visibility: hidden;
  }

  /* Compact Button Menu Styling */
  #buttonMenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 5px 5%;
    font-family: 'Teko', sans-serif;
  }
  
  #buttonMenu button {
    cursor: pointer;
    flex: 1 1 auto;
    padding: 1px 1px 1px 1px;
    font-size: 16px;
    transition: background-color 0.3s, box-shadow 0.3s;
    min-width: 120px;
    font-family: 'Teko', sans-serif;
    color: black;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  #buttonMenu button:hover {
    background-color: #575757;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  @media (max-width: 600px) {
    #buttonMenu button {
        font-size: 14px;
        padding: 5px;
        min-width: 100px;
    }
  }

  .maintopic {
    font-size: 25px;
    min-width: 320px;
    max-width: 1600px;
    text-align: center;
    font-family: 'Teko', sans-serif;
    font-size: xx-large;
  }
  
/*-------------Total Layout----------------*/
.totalLayout{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.col-1{
  width: 75%;
  padding-left: 1%;
  padding-right: 1%;
}
.col-2{
  width: 25%;
  padding-left: 1%;
  padding-right: 1%;
}

@media screen and (max-width: 768px) {
  .totalLayout {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 95%;
      margin: 0 auto;
  }
  .col-1{
    width: 95%;
  }
}

.news-archive {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

ul#newsList {
    list-style: none; /* Hides the bullet points */
    padding: 0;
}

.news-item {
    margin-bottom: 20px;
}

.news-content {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Grey drop shadow */
}

.news-img {
    width: 25%; /* 25% width for the image */
}

.news-img img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover; /* Ensures the image fills the div */
}

.news-title {
    width: 75%; /* 75% width for the title */
    padding-left: 20px;
}

.news-title h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.news-title p {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.newsLink {
    text-decoration: none;
    color: inherit;
}

.newsLink:hover h3 {
    color: #007BFF;
    text-decoration: underline;
}

/* Other Stories */
.otherStories{
  text-align: center;
}

.news-container2 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column; /* Stack items vertically by default */
  gap: 20px;
}

.news-item2 {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 15px;
  box-sizing: border-box;
  overflow: hidden;
  flex: 1 1 calc(100% - 40px); /* Full width for larger screens */
}

.news-item2 img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.news-item2 h2 {
  margin-top: 0;
}

.news-link2 {
  text-decoration: none;
  color: #333;
}

.news-link2:hover {
  color: #007BFF;
}

/* Medium screens: 2 items per row, scale down images and text */
@media (max-width: 1080px) {
  .col-2{
    width: 25%;
    padding-left: 1%;
    padding-right: 1%;
  }
  .news-container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column; /* Stack items vertically by default */
    gap: 20px;
  }
  .news-item2 {
      flex: 1 1 calc(50% - 40px); /* 2 items per row */
  }
  .news-item2 img {
      height: 140px; /* Slightly smaller images */
  }
  .news-item2 h2 {
      font-size: 1.4em; /* Slightly smaller title text */
  }
}

/* Small tablets: 2 items per row, reduce image and text size */
@media (max-width: 768px) {
  .col-2{
    width: 95%;
    padding-left: 1%;
    padding-right: 1%;
  }
  .news-container2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row; /* Stack items vertically by default */
    gap: 20px;
  }
  .news-item2 {
      flex: 1 1 calc(50% - 40px); /* Keep 2 items per row */
  }
  .news-item2 img {
      height: 120px; /* Further reduced image size */
  }
  .news-item2 h2 {
      font-size: 1.2em; /* Further reduced title text size */
  }
}

/* Smartphones in landscape mode: 2 items per row, even smaller images and text */
@media (max-width: 480px) {
  .news-item2 {
      flex: 1 1 calc(50% - 40px); /* 2 items per row */
  }
  .news-item2 img {
      height: 110px; /* Smallest image size */
  }
  .news-item2 h2 {
      font-size: 1.1em; /* Smallest title text size */
  }
}

/* Return Button container */
.return-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Return Button styles */
.back-to-stories {
  margin: 0 auto;
  display: inline-block;
  padding: 10px 20px;
  background-color: #161616;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: large;
  text-align: center;
  color: #fff;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
}

.back-to-stories:hover {
  background-color: #222;
}

/* Optional: Adjust the button size for different screen sizes */
@media screen and (max-width: 600px) {
  .back-to-stories {
    font-size: 16px;
    padding: 8px 16px;
  }
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 560px; /* Ensures the iframe does not exceed this width */
  padding-bottom: 56.25%; /* 16:9 aspect ratio (height/width * 100) */
  height: 0;
  overflow: hidden;
  margin: 0 auto; /* Center the container */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*OtherAds*/
/* Other Ads Section */

.otherAdsTitle {
  text-align: center;
  text-decoration: underline;
}

.otherAdsLayout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#otherAdsIcon {
  padding: 0;
}

/*Footer Start-------------------------------------------*/
.mainfooter {
  text-align: center;
  font-family: 'Teko', sans-serif;
  min-width: 320px;
  max-width: 1600px;
  padding: 10px 10px; /* Generous padding for a spacious look */
  background-color: #1a1a1a; /* Dark background */
  color: #e0e0e0; /* Light gray text for contrast */
}

/* Style the links within the footer */
.mainfooter a {
  text-decoration: none;
  color: #fff; /* White links */
  font-weight: 500; /* Bolder text for visibility */
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.mainfooter a:hover {
  color: #00bcd4; /* A pop of color on hover */
  text-decoration: underline; /* Add underline on hover */
}

/* Style the separator pipes with more spacing */
.mainfooter span {
  color: #888;
  margin: 0 10px;
}

/* Style the horizontal rule */
.mainfooter hr {
  border: 0;
  height: 1px;
  background-color: #444;
  width: 60%;
  margin: 20px auto 0;
}

/* A container for the inline links to add a little more structure */
.mainfooter div:first-child {
  display: flex;
  flex-wrap: wrap; /* Allows links to wrap on smaller screens */
  justify-content: center;
  align-items: center;
  gap: 10px; /* Space between flex items */
}
/*Footer End-------------------------------------------*/


/* Privacy Policy */
.privacy-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 9999;
  animation: slideUp 0.4s ease-in-out;
}

.privacy-cookie-banner p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.privacy-cookie-banner a {
  color: #aad4ff;
  text-decoration: underline;
}

.privacy-cookie-banner a:hover {
  color: #fff;
  text-decoration: none;
}

.privacy-cookie-banner button {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-end;
}

.privacy-cookie-banner button:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 40px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .privacy-cookie-banner {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
  .privacy-cookie-banner button {
    font-size: 0.85rem;
    padding: 6px 14px;
  }
}