/* 
* Main styles for AtozDex WordPress Theme - Modified Color Scheme
*/

/* Base Styles */
* {box-sizing: border-box; margin: 0; padding: 0; font-family: 'Merriweather', 'Georgia', serif;}
body {background-color: #e4ecf2; color: #003049;}
.container {max-width: 1200px; margin: 0 auto; background-color: #FFFFFF; box-shadow: 0 4px 30px rgba(0,0,0,0.03);}

/* Global Link Styles */
a {
  color: #C1121F;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

a:hover {
  color: #780000;
  text-decoration: underline;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #e4ecf2;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #003049;
}
.logo img {
  height: 40px;
  width: auto;
}
.logo h1 {
  display: none;
}
.logo:hover {
  text-decoration: none;
}

/* Navigation - Primary Menu */
#primary-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
#primary-menu a {
  text-decoration: none;
  color: #669BBC;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  transition: color 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  position: relative;
}
#primary-menu a:hover {
  color: #C1121F;
  text-decoration: none;
}
#primary-menu .current-menu-item a {
  color: #FFFFFF;
  background: #C1121F;
}

/* Dropdown Menu */
#primary-menu .menu-item-has-children {
  position: relative;
}
#primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  min-width: 200px;
  z-index: 1000;
}
#primary-menu .menu-item-has-children:hover .sub-menu,
#primary-menu .menu-item-has-children:focus-within .sub-menu {
  display: block;
}
#primary-menu .sub-menu li {
  margin: 0;
}
#primary-menu .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #669BBC;
  border-radius: 0;
}
#primary-menu .sub-menu a:hover {
  background: #e4ecf2;
  color: #C1121F;
}

/* Chevron Indicator (CSS Triangle) */
#primary-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #669BBC;
  margin-left: 0.5rem;
  vertical-align: middle;
  transition: border-top-color 0.2s;
}
#primary-menu .menu-item-has-children:hover > a::after,
#primary-menu .menu-item-has-children > a:focus::after {
  border-top-color: #C1121F;
}
#primary-menu .current-menu-item.menu-item-has-children > a::after {
  border-top-color: #FFFFFF;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 0.75rem 1.25rem;
  margin-bottom: 20px;
  background-color: #e4ecf2;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  color: #669BBC;
}

.breadcrumb-item {
  display: inline-block;
  vertical-align: middle;
}

a.breadcrumb-item {
  color: #669BBC;
  text-decoration: none;
}

a.breadcrumb-item:hover {
  color: #C1121F;
}

.breadcrumb-item + .breadcrumb-item:before {
  content: " \00bb ";
  padding: 0 0.5rem;
  color: #ccc;
}

span.breadcrumb-item {
  color: #003049;
  font-weight: 600;
}

/* Post Hero Section */
.post-hero {
  position: relative;
  height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.post-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(102,155,188,0.4);
}

.post-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.post-title {
  font-size: 3rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.category-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.category-pill {
  background: rgba(253,240,213,0.2);
  color: #FFFFFF;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(5px);
}

.category-pill:hover {
  background: #C1121F;
  text-decoration: none;
}

/* Post Content */
main {padding: 0 2rem 3rem;}

.post-content {
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  color: #003049;
  font-size: 1.05rem;
}

.post-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 2rem;
  color: #003049;
  position: relative;
  padding-bottom: 0.75rem;
}

.post-content h2:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background-color: #C1121F;
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.post-content p {
  margin-bottom: 1.5rem;
  font-family: 'Open Sans', sans-serif;
}

.post-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
  font-family: 'Open Sans', sans-serif;
}

.post-content a {
  color: #C1121F;
  text-decoration: none;
  transition: all 0.2s;
}

.post-content a:hover {
  color: #780000;
}

/* Table */
.wp-block-table thead,
.wp-block-table thead tr {
  border-bottom: none !important;
}

table {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  background: #e4ecf2;
  width: 100%;
  border-collapse: collapse;
  font-family: 'Open Sans', sans-serif;
}

table thead {
  background: #003049;
  color: #e4ecf2;
  text-align: left;
  padding: 1rem;
  font-weight: 700;
}

table th {
  padding: 0.75rem 1rem !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-top: 0 !important;
  border-bottom: 2px solid #FFF !important;
}

table tbody td {
  padding: 0.75rem 1rem !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}

table tr:last-child td {
  padding: 0.75rem 1rem !important;
  /*border-bottom: none;*/
}

table tr:hover {
  background: rgba(255,255,255,0.5);
}

/* Word Cards */
.word-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.word-card {
  background: #e4ecf2;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.word-card:hover {
  background: rgba(102,155,188,0.1);
  transform: translateY(-2px);
}

.word-term {
  font-weight: 700;
  color: #003049;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.word-definition {
  font-size: 0.9rem;
  color: #003049;
  font-family: 'Open Sans', sans-serif;
}

.letter-highlight {
  font-weight: 700;
  color: #C1121F;
}

/* Alphabet Navigation */
.alphabet-container {
  margin: 0 auto 3.5rem;
  background-color: #e4ecf2;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  max-width: 900px;
}

.alphabet-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C1121F' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.alphabet-title {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #003049;
  font-family: 'Open Sans', sans-serif;
  position: relative;
  z-index: 1;
}

.alphabet-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.alphabet-nav a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  text-align: center;
  background: #FFFFFF;
  color: #669BBC;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-family: 'Open Sans', sans-serif;
}

.alphabet-nav a:hover {
  background: #C1121F;
  color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(193,18,31,0.3);
  text-decoration: none;
}

.alphabet-nav a.active {
  background: #C1121F;
  color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(193,18,31,0.3);
}

/* Related Posts */
.related-section {
  margin-bottom: 4rem;
}

.section-title, .page-title {
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
  color: #003049;
  padding-bottom: 0.75rem;
  position: relative;
  font-weight: 700;
}

.page-title {
  font-size: 2.2rem;
  margin-top: 1.6rem;
  text-align: center;
}

.section-title:after, .page-title:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background-color: #C1121F;
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.page-title:after {
  left: 50%;
  transform: translateX(-50%);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.related-item {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.related-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.related-image {
  height: 130px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,48,73,0.3);
  transition: all 0.3s;
}

.related-item:hover .related-image::after {
  background: rgba(0,48,73,0.1);
}

.related-letter {
  position: absolute;
  z-index: 1;
  font-size: 4rem;
  color: #FFFFFF;
  opacity: 0.8;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-weight: 900;
}

.related-content {
  padding: 1.2rem;
}

.related-item a {
  color: #003049;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
  font-family: 'Open Sans', sans-serif;
}

.related-item a:hover {
  color: #C1121F;
  text-decoration: none;
}

/* Footer */
footer {
  background: #003049;
  color: #e4ecf2;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-info {
  max-width: 500px;
  font-family: 'Merriweather', 'Georgia', serif;
  text-align: left;
  flex: 1;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  justify-content: flex-end;
  text-decoration: underline;
  flex: 1;
}

.footer-links a {
  color: #e4ecf2;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  transition: color 0.2s, text-decoration 0.2s;
}

.footer-links a:hover {
  color: #C1121F;
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #e4ecf2 0%, rgba(102,155,188,0.1) 100%);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23669BBC' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: #003049;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.hero-title:after {
  content: "";
  position: absolute;
  width: 40%;
  height: 4px;
  background-color: #C1121F;
  bottom: -10px;
  left: 30%;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #669BBC;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
  font-family: 'Open Sans', sans-serif;
}

/* Search Container */
.search-container {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
}

.search-container form {
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 1.2rem 2rem 1.2rem 3.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  outline: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  font-family: 'Open Sans', sans-serif;
}

.search-input:focus {
  box-shadow: 0 4px 25px rgba(0,0,0,0.12);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #669BBC;
}

.search-button {
  position: absolute;
  right: 8px;
  top: 8px;
  background: #C1121F;
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.2s;
  font-family: 'Open Sans', sans-serif;
}

.search-button:hover {
  background: #780000;
}

/* About Section */
.about-section {
  margin-bottom: 4rem;
}

.about-text {
  line-height: 1.8;
  color: #669BBC;
  font-size: 1.05rem;
  font-family: 'Open Sans', sans-serif;
}

/* Category Cards */
.categories-section {
  margin-bottom: 4rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2rem;
}

.category-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.category-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.category-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,48,73,0.4) 0%, rgba(0,48,73,0.2) 100%);
}

.category-content {
  padding: 1.5rem;
}

.category-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #003049;
  position: relative;
  padding-bottom: 0.75rem;
}

.category-title:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: #C1121F;
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.hub-list {
  list-style: none;
}

.hub-list li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 18px;
}

.hub-list li::before {
  /*content: "•";*/
  content: "\2022";
  position: absolute;
  left: 0;
  color: #C1121F;
  font-weight: bold;
}

.hub-list a {
  color: #669BBC;
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
}

.hub-list a:hover {
  color: #C1121F;
}

.hub-list .more-link {
  font-weight: 600;
  color: #C1121F;
  font-style: italic;
}

/* Featured Section */
.featured-section {
  margin-bottom: 4rem;
  position: relative;
}

.featured-section::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0,48,73,0.02), rgba(0,48,73,0.06), rgba(0,48,73,0.02));
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.featured-item {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.featured-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.featured-image {
  height: 130px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,48,73,0.3);
  transition: all 0.3s;
}

.featured-item:hover .featured-image::after {
  background: rgba(0,48,73,0.1);
}

.featured-letter {
  position: absolute;
  z-index: 1;
  font-size: 4rem;
  color: #FFFFFF;
  opacity: 0.8;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-weight: 900;
}

.featured-content {
  padding: 1.2rem;
}

.featured-item a {
  color: #003049;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
  font-family: 'Open Sans', sans-serif;
}

.featured-item a:hover {
  color: #C1121F;
}

/* Letter Highlighting */
.letter-highlight {
  font-weight: 700;
  color: #C1121F;
}

/* Main Container */
main {
  padding: 0 2rem 2rem;
}

/* Letter Lists Section */
.letter-lists-section {
  margin-bottom: 4rem;
}

.letter-lists-section .category-card {
  margin-bottom: 2rem;
  box-shadow: none;
  border: 1px solid #e4ecf2;
}

.letter-lists-section .category-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.no-results {
  text-align: center;
  font-size: 1.2rem;
  color: #5a5249;
  font-family: 'Open Sans', sans-serif;
  padding: 2rem;
  background: #f5f2ef;
  border-radius: 12px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .letter-lists-section .category-card {
      margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .letter-lists-section .category-card {
      margin-bottom: 1rem;
  }

  .no-results {
      font-size: 1rem;
      padding: 1.5rem;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  #primary-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .post-hero {
    height: 350px;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .word-list {
    grid-template-columns: 1fr;
  }
  
  .word-table {
    display: block;
    overflow-x: auto;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-info,
  .footer-links {
    justify-content: center;
    text-align: center;
  }
  
  .breadcrumbs {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .search-input {
    padding: 1rem 1.5rem 1rem 3rem;
  }
  
  .search-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 3rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .search-button {
    padding: 0.5rem 1rem;
  }
  
  .about-section, .categories-section, .featured-section {
    margin-bottom: 2.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}