/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: #1a1a1a;
  background-color: #fff;
  line-height: 1.5;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
}
.logo {
  font-size: 36px;
  font-weight: 600;
  font-style: normal;
  font-family: "Inter", "Inter Placeholder", sans-serif;
  color: #000000;
  letter-spacing: 0em;
  text-align: left;
  line-height: 1.2;
  font-feature-settings: normal;
  position: left;
}
.nav {
  display: flex;
  gap: 24px;
}
.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 300;
  font-size: 16px;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #e91e63;
}
.icons {
  display: flex;
  gap: 20px;
}
.icon-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}
.icon-btn:hover {
  color: #e91e63;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(to right, #e9d5db, #d0b3c9);
  position: relative;
  text-align: center;
  padding: 100px 20px 100px;
  /*background: url('images/hero-bg.jpg') center/cover no-repeat;*/
  color: #fff;
}
.hero h1 {
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 10px;
  width: 100%;
  height: auto;
  max-width: 100%;
  font-weight: 400;
  font-style: normal;
  font-family: "Playfair Display", "Playfair Display Placeholder", serif;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1;
  font-feature-settings: 'cv01' on, 'cv09' on, 'cv11' on, 'cv05' on, 'ss03' on;

  }
  
.hero-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #bd4b4b;

}
.subline {
  font-size: 23px;
  color: #bd4b4b;
  width: 100%;
  height: auto;
  font-weight: 500;
  font-style: normal;
  font-family: "Inter", "Inter Placeholder", sans-serif;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.4;
	font-feature-settings: 'cv01' on, 'cv09' on, 'cv11' on, 'cv05' on, 'ss03' on;
}

/* Featured */
.featured {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 60px 20px;
}
.featured h2 {
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 30px;
  color: #1a1a1a;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  display: block;
  border: 1px solid #eee;
  border-radius: 8px;
  text-decoration: none;
  color: #1a1a1a;
  overflow: hidden;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
  transition: box-shadow 0.3s ease;
}
.card:hover {
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.15);
}
.card-image {
  width: 100%;
  height: 180px; /* same height as the placeholder was */
  object-fit: cover; /* crop to fill without distortion */
  display: block;
  border-bottom: 1px solid #eee; 
}
.card-info {
  padding: 16px;
}
.card-info h3 {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 20px;
}
.card-info p {
  font-weight: 300;
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    margin: 12px 0;
    gap: 16px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .subline {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .quiz-button {
    position: static;
    transform: none;
    margin: 20px auto 0;
    display: block;
    width: 90%;
    max-width: 320px;
    font-size: 14px;
    padding: 12px 18px;
  }

  .hero {
    padding-bottom: 60px;
  }
}

.search-wrapper {
  position: relative;
}

#searchInline {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 280px;
  z-index: 999;
}

#searchInline.active {
  display: block;
}

.search-inline-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 12px;
}

.popular-searches-inline p {
  font-weight: 500;
  color: #000;
  margin-bottom: 6px;
}

.popular-searches-inline ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popular-searches-inline li {
  margin-bottom: 6px;
}

.popular-searches-inline a {
  color: #000;
  text-decoration: none;
}

.popular-searches-inline a:hover {
  text-decoration: underline;
}

/* Mobile Search Overlay */
.mobile-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.mobile-search-overlay.active {
  display: block;
}

.mobile-search-content {
  max-width: 600px;
  margin: 0 auto;
}

.mobile-search-input {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 20px;
}

.mobile-popular-searches p {
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
}

.mobile-popular-searches ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-popular-searches li {
  margin-bottom: 8px;
}

.mobile-popular-searches a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
}

.mobile-popular-searches a:hover {
  text-decoration: underline;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  float: right;
  cursor: pointer;
}

/* Show only on mobile */
@media (min-width: 601px) {
  .mobile-search-overlay {
    display: none !important;
  }
}
