/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
<!--
header {
    background: #87ceeb;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

.navbar a {
  padding: 10px 20px;
  margin: 5px;
  background-color: teal;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s;
}

.navbar a:hover {
  background-color: #037c50;
}


nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Breaking News */
.breaking-news {
    background: red;
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

/* Main Content */
.featured {
    text-align: center;
    margin: 20px 0;
}

.featured img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


.venue-card {
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.news-grid article {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.news-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* Footer */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

.search-container {
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
  }
  #searchInput {
    width: 100%;
    padding: 12px;
    border: 2px solid #004466;
    border-radius: 8px;
    font-size: 16px;
  }
  ul#results {
    list-style: none;
    padding: 0;
    margin-top: 15px;
  }
  ul#results li {
    background: #fff;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  ul#results li a {
    text-decoration: none;
    color: #004466;
    font-weight: bold;
  }
  ul#results li span {
    display: block;
    font-size: 14px;
    color: #666;
  }

ul#results li a {
  text-decoration: none;
  color: #004466;
  font-weight: bold;
  cursor: pointer;
}
ul#results li a:hover {
  text-decoration: underline;
}

  
  /* Big Search Box */
#searchInput {
  width: 80%;          /* Takes 80% of screen width */
  max-width: 600px;    /* Looks good on desktop */
  padding: 16px 20px;  /* Larger padding = bigger box */
  font-size: 20px;     /* Big readable text */
  border-radius: 10px; /* Smooth rounded corners */
  border: 2px solid #444;
  box-sizing: border-box;
  display: block;
  margin: 0 auto;      /* Centers it */
}

/* Optional: make it 100% wide on small screens */
@media (max-width: 768px) {
  #searchInput {
    width: 95%;
    font-size: 18px;
    padding: 14px 18px;
  }
}



/* --- Universal Image Styling for Fixed Height & Responsive --- */
img {
    width: 100% !important;          /* fill container width */
    max-width: 400px !important;     /* limit max width on large screens */
    height: 250px !important;        /* fixed height for uniformity */
    object-fit: cover !important;    /* crop excess without stretching */
    border-radius: 12px !important;  /* optional: rounded corners */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important; /* subtle shadow */
    display: block !important;       /* removes inline spacing */
    margin: 0 auto 20px !important;  /* centers image and adds spacing */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    img {
        max-width: 100% !important;  /* fill smaller screens */
        height: 180px !important;    /* reduce height for tablets */
    }
}

@media (max-width: 480px) {
    img {
        height: 140px !important;    /* small phones */
    }
}

/* --- Optional: Make images inside specific containers consistent --- */
.card img, .gallery img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
}

