/* === BASE STYLES === */
:root {
    --pink: #f73eff;
    --gray: #f3f3f3;
  }
  
  body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    font-family: 'Roboto', sans-serif;
  }
  
  /* Default link reset */
a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

/* Special styling for "View Article" links */
a.read-more {
  color: var(--pink);
  font-weight: bold;
  text-decoration: none;
}

a.read-more:hover {
  text-decoration: underline;
}
  
  img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100vw;
  }
  
  .news-alert {
    background-color: var(--pink);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
  }
  
  .news-alert a {
    background-color: white;
    color: var(--pink);
    padding: 5px 10px;
    margin-left: 10px;
    border-radius: 4px;
  } 

  h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #000;
  }
  
  .site-header {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #ccc;
  }
  
  .site-logo {
    max-width: 300px;
    margin: 0 auto;
  }

  .promo-banner {
    width: 100%;
    background-color: #f73eff;
    text-align: center;
    padding: 10px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 16px;
  }
  .promo-banner a {
    color: white;
    text-decoration: none;
  }
  .promo-banner a:hover {
    text-decoration: underline;
  }
  
  .breaking-banner {
    width: 100%;
    display: block;
    margin: 0 auto;
  }
  
  .main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }
  
  .main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .main-nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 16px;
  }
  
  .main-nav a:hover {
    color: var(--pink);
  }
  
  .main-content {
    padding: 20px;
  }
  
  .content-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  
  .main-column {
    flex: 0 1 66%;
  }
  
  .sidebar {
    flex: 0 1 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-story,
  .feature-story,
  .side-story {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-radius: 5px;
    position: relative;
  }
  
  .section-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: var(--pink);
    padding: 4px 8px;
    border-radius: 3px;
  }
  
  .hero-story h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 20px 0 10px;
  }
  
  .feature-story h2,
  .side-story h3 {
    font-size: 1.2rem;
    margin: 10px 0;
  }
  
  .ad-block {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .ad-block img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
  }
  
  .trending-box {
    background-color: #fff;
    border-left: 4px solid var(--pink);
    padding: 15px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  
  .trending-box h4 {
    color: var(--pink);
    margin-top: 0;
    font-weight: bold;
  }
  
  .trending-box ul {
    padding-left: 18px;
    list-style-type: square;
  }
  
  .trending-box li {
    margin-bottom: 8px;
  }
  
  .carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    background-color: var(--gray);
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
  }
  
  .carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 320px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .carousel-item img {
    width: 100%;
    height: auto;
  }
  
  .carousel-item p {
    font-weight: normal;
    font-size: 14px;
    padding: 10px;
    color: #000;
  }
  
  .carousel-item p span {
    color: var(--pink);
    font-weight: bold;
  }

  .carousel-item a {
    display: block;
    color: inherit;
    text-decoration: none;
  }
  
  .carousel-item a:hover p {
    background-color: #000;
    color: var(--pink);
    text-decoration: none;
  }
  
  .carousel-item p {
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
    background-color: white;
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
  }
  
  .banner-break {
    margin: 40px auto;
    text-align: center;
  }
  
  footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
  }
  
  footer img {
    width: 24px;
    margin-top: 10px;
  }
  
  /* === MOBILE OVERRIDES === */
  @media (max-width: 768px) {
    body {
      padding: 0;
      margin: 0;
      overflow-x: hidden;
    }
  
    .main-nav ul {
      flex-direction: column;
      gap: 10px;
    }
  
    .main-content {
      padding: 10px;
    }
  
    .content-grid {
      flex-direction: column;
    }
  
    .main-column,
    .sidebar {
      width: 100%;
      flex: unset;
    }
  
    .carousel {
      flex-direction: column;
      overflow-x: hidden;
    }
  
    .carousel-item {
      width: 100%;
    }
  
    .ad-block img {
      max-width: 90%;
      margin: 0 auto;
    }
  
    .trending-box {
      font-size: 13px;
      margin-top: 20px;
    }
  
    .hero-story h1,
    .feature-story h2,
    .side-story h3 {
      font-size: 1.4rem;
    }
  
    .carousel-item p {
      font-size: 13px;
    }
  
    .section-tag {
      font-size: 12px;
      padding: 3px 6px;
      top: 10px;
      left: 10px;
    }
  }
  @media (max-width: 768px) {
    .news-alert {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 16px;
    }
  
    .news-alert a {
      margin: 10px 0 0 0; /* space it below the text */
      width: auto;
    }
  }
  .nav-toggle {
    display: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    color: #000;
  }
  
  @media (max-width: 768px) {
    .main-nav ul {
      display: none;
      flex-direction: column;
      background: #fff;
      border-top: 1px solid #ddd;
      padding: 10px 0;
      margin: 0;
    }
  
    .main-nav ul.show {
      display: flex;
    }
  
    .nav-toggle {
      display: block;
      text-align: center;
      border-bottom: 1px solid #ddd;
      background: #fff;
    }
  
    .main-nav li {
      display: block;
      margin: 10px 0;
    }
  
    .main-nav a {
      font-size: 22px;
    }
  }
  /* Side menu styles */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: #fff;
  border-right: 1px solid #ddd;
  transform: translateX(-250px);
  transition: transform 0.3s ease;
  z-index: 1000;
  padding-top: 60px;
}

.side-nav ul {
  list-style: none;
  padding: 0;
}

.side-nav li {
  padding: 25px 20px;    /* More top-bottom padding */
  border-bottom: 1px solid #eee;
}

.side-nav a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;       /* Increase font size */
  line-height: 1.6;      /* Optional: more vertical breathing room */
}

.side-nav .nav-toggle {
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 24px;
  background: var(--pink);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1100;
}

html {
  scroll-behavior: smooth;
}

/* Shift content when menu is open */
body.menu-open #main-content {
  transform: translateX(250px);
  transition: transform 0.3s ease;
}

#main-content {
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}
/* Base nav styles */
.desktop-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.desktop-nav li {
  display: inline-block;
  margin: 0 15px;
}

.desktop-nav a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
}

.desktop-nav a:hover {
  color: var(--pink);
}

/* Mobile nav styles */
.mobile-nav {
  display: none;
}

.nav-toggle {
  position: fixed;
  top: 10px;
  left: 10px;
  background-color: var(--pink);
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10000;
  border-radius: 5px;
}

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 250px;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  padding-top: 60px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 9999;
}

.side-nav.active {
  transform: translateX(0);
}

.side-nav ul {
  list-style: none;
  padding: 0;
}

.side-nav li {
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
}

.side-nav a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
}

.side-nav a:hover {
  color: var(--pink);
}

/* Show/Hide based on screen size */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
}
/* Fade animation */
body.fade-transition {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

body.fade-in {
  opacity: 1;
}
footer {
  width: 100%;
  background-color: #111;
  color: white;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

footer p {
  margin: 0 0 10px 0;
  color: white;
}

footer img {
  width: 24px;
  margin-top: 10px;
}
.content-grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.main-column {
  flex: 0 1 66%;
}
.sidebar {
  flex: 0 1 30%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pink {
  color: var(--pink);
}
a.black-link {
  color: #000;
  font-weight: normal;
  text-decoration: none;
}
.hero-story h1,
.feature-story h2,
.side-story h3 {
  font-family: 'Playfair Display', serif;
  color: #000;
}
a.read-more {
  color: var(--pink);
  font-weight: bold;
}
.hero-story h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #000;
  margin: 20px 0 10px;
}

.read-more {
  display: inline-block;
  margin-top: 30px;
  background-color: #f73eff;
  color: white !important; /* ensures it's not being overridden */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  background-color: #000;
  color: #f73eff;
}
.hero-story p {
  color: #000;
  font-weight: normal;
  font-family: 'Roboto', sans-serif;
}
body.fade-in {
  animation: fadeIn 0.3s ease;
}
body.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.read-more {
  color: var(--pink);
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.read-more:hover {
  text-decoration: underline;
}
#lightbox-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
}

#lightbox-modal img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 20px;
}

.lightbox-nav.left {
  left: 0;
}

.lightbox-nav.right {
  right: 0;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  height: auto;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.jury-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px;
}

.jury-carousel img {
  flex: 0 0 auto;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  scroll-snap-align: start;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #111;
  color: white;
  font-size: 24px;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.carousel-arrow:hover {
  opacity: 1;
}

.carousel-arrow.left {
  left: 0;
}

.carousel-arrow.right {
  right: 0;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 9999;
}