/* Original CSS */
/* Logo Styling */
.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);
}

h1 {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 21px;
  text-align: center;
  padding-left: 5px; /* Add some padding */
  padding-right: 5px;
}

h2 {
  font-family: 'Teko', sans-serif;
  text-align: left;
  padding-left: 5%;
}

h3 {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.mainPicture {
  width: 100%;
  max-width: 460px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0 auto; /* This centers the image horizontally */
}

.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;
}

/*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-------------------------------------------*/

.griditems1 {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  grid-gap: 1em;
  padding-left: 3%;
}

@media screen and (max-width: 600px) {
  .griditems1 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 5%;
  }
}

.contentTitle {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: large;
  text-align: center;
  font-weight: bold;
}

.pictureWrapper {
  width: 300px;
  margin: 0 auto;
  padding: 5px;
}

@media screen and (max-width: 600px) {
  .pictureWrapper {
    width: 100%;
    padding-left: 3%;
  }
}

.contentWrapper {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 300px;
  font-size: smaller;
  margin: 0 auto;
  padding-left: 5%;
}

@media screen and (max-width: 600px) {
  .contentWrapper {
    width: 100%;
    padding-left: 3%;
  }
}

.para1, #filter, .para2, .news-date {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 14px;
  border-radius: 2px;
  max-width: 100%;
  margin: 0 auto;
  vertical-align: middle;
  text-align: center;
  padding-left: 5%;
}

p {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 14px;
  border-radius: 2px;
  max-width: 100%;
  margin: 0 auto;
  vertical-align: middle;
  text-align: left;
  padding-left: 5%;
}

li {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 14px;
  border-radius: 2px;
  max-width: 100%;
  margin: 0 auto;
  vertical-align: middle;
  text-align: left;
  list-style: circle;
}

blockquote {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 14px;
  border-radius: 2px;
  max-width: 100%;
  margin: 0 auto;
  vertical-align: middle;
  text-align: center;
  padding-left: 5%;
  text-indent: 2em;

}

.article {
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  border-radius: 2px;
  max-width: 100%;
  margin: 0 auto;
  vertical-align: middle;
  text-align: center;
  padding-left: 5%;
  padding-right: 5%;

}

#myTable {
  width: 75%;
  margin: 0 auto;
  border-collapse: collapse;
  border: 1px solid #ddd;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: small;
}

#myTable th, #myTable td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

#myTable th {
  background-color: #f2f2f2;
}

#myTable tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

#myTable tbody tr:hover {
  background-color: #ddd;
}

/* Other Ads Section */

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

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

#otherAdsIcon {
  padding: 0;
}

.artworkContent1 {
  max-width: 620px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}

.topsongs1 {
  max-height: 100px;
  padding: 2px;
}

@media screen and (max-width: 620px) {
  .topsongs1 {
    max-height: 60px;
  }
}

/* Smartphone Compatibility and Responsiveness */
@viewport {
  width: device-width;
  zoom: 1.0;
}

@media only screen and (max-width: 768px) {
  .maintopic {
    font-size: large;
  }
}

.myGoogleAd,
.mainAd,
.overlay a {
  touch-action: manipulation;
}

@media only screen and (max-width: 480px) {
  .pictureWrapper {
    width: 100%;
    padding: 5px;
  }

  .contentWrapper {
    width: 100%;
    padding-left: 5px;
  }

  .para1,
  #filter,
  .para2 {
    padding-left: 5px;
    padding-right: 5px;
  }

  #myTable {
    padding: 5px;
  }

  .overlay .closebtn {
    right: 25px;
  }
}

.mainAd {
  margin: 0 auto;
  text-align: center;
}

.adArtMain {
  height: 100px;
}

.mainAd:hover .adArtMain {
  opacity: 0.3;
  transition: .5s ease;
  backface-visibility: hidden;
}

.adsPic1 {
  max-height: 100px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/*-------------Total Layout----------------*/
.totalLayout {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 5px auto; /* Centers the content horizontally */
  max-width: 1024px; /* Ensures it doesn't stretch wider than a 13" screen */
  width: 100%; /* Allows it to be responsive */
  padding: 0 5%; /* Optional: Add some padding for smaller screens */
}

.col-1{
  width: 75%;
  padding-left: 1%;
  padding-right: 1%;
  margin: 0 auto; /* This centers the image horizontally */
  text-align: center;
}
.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: 100%;
  }
}

/*-------------Stories--------------*/

/* Main News Article Layout */
.news-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Controls spacing between articles */
}

.news-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  flex: 1 1 200px; /* Minimum width to fit as many items as possible */
  transition: transform 0.3s ease; /* Scaling effect on hover */
  margin: 0.01px;
}

.news-item:hover {
  transform: scale(1.02); /* Slight zoom on hover */
}

.news-item img {
  width: 100%;
  height: 150px; /* Default height for larger screens */
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 5px; /* Reduced space between image and title */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: height 0.3s ease; /* Transition for smooth scaling */
}

.news-item h2 {
  margin: 5px 0; /* Reduced top and bottom margin for the title */
  font-size: 1.5em; /* Default font size for larger screens */
  padding: 0; /* No padding inside the title */
  transition: font-size 0.3s ease; /* Transition for smooth scaling */
}

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

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

/* Media Queries for responsiveness */

/* Medium screens: 2 items per row, scale down images and text */
@media (max-width: 1024px) {
  .col-1{
    width: 95%;
    padding-left: 1%;
    padding-right: 1%;
    margin: auto 0;
  }
  .news-item {
      flex: 1 1 calc(50% - 40px); /* 2 items per row */
  }
  .news-item img {
      height: 140px; /* Slightly smaller images */
  }
  .news-item h2 {
      font-size: 1.4em; /* Slightly smaller title text */
  }
}

/* iPads and smaller: Keep 2 items per row, further scale down images and text */
@media (max-width: 1024px) {
  .news-item {
      flex: 1 1 calc(50% - 40px); /* 2 items per row */
  }
  .news-item img {
      height: 130px; /* Smaller images */
  }
  .news-item h2 {
      font-size: 1.3em; /* Smaller title text */
  }
}

/* Small tablets: 2 items per row, reduce image and text size */
@media (max-width: 768px) {
  .news-item {
      flex: 1 1 calc(50% - 40px); /* Keep 2 items per row */
  }
  .news-item img {
      height: 120px; /* Further reduced image size */
  }
  .news-item 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-item {
      flex: 1 1 calc(50% - 40px); /* 2 items per row */
  }
  .news-item img {
      height: 110px; /* Smallest image size */
  }
  .news-item h2 {
      font-size: 1.1em; /* Smallest title text size */
  }
}


/* 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: 2px;
  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: 2px;
  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%;
}

/*Share on Social*/
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  text-decoration: none;
  font-family: 'Teko', sans-serif;
  border-radius: 5px;
  color: #fff;
  transition: background 0.3s;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
}

.social-twitter {
  background: #1da1f2;
}

.social-facebook {
  background: #3b5998;
}

.btn:hover {
  opacity: 0.9;
}

.social-linkedin {
  background: #0077b5;
}

/* Privacy Policy */
.privacy-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}
.privacy-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: lightgrey;
  color: #ffffff;
  padding: 15px;
  text-align: center;
  display: none; /* Initially hidden */
}
.privacy-cookie-banner button {
  background: #218394;
  border: none;
  color: #cfcaca;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}
.privacy-cookie-banner button:hover {
  background: #ffffff;
}
.privacy-footer {
  text-align: center;
  padding: 20px;
  background: #f4f4f4;
  border-top: 1px solid #ddd;
}

