/* ============ RESOURCES PAGE STYLES ============ */

/* ============ SEARCH BAR SECTION ============ */
.resources-search {
  background: var(--gold);
  padding: 30px 0;
}

.search-wrapper {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: none;
  border-radius: 30px;
  outline: none;
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--gold);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.3s ease;
}

.search-btn:hover {
  color: var(--gold-dark);
}

/* ============ BLOG POSTS GRID ============ */
.blog-section {
  background: #fff;
  padding: 60px 0 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.blog-card {
  padding: 0;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card-title a {
  color: var(--dark);
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--gold);
}

.blog-card-byline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-card-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gold);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 25px;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .resources-search {
    padding: 20px 0;
  }

  .search-input {
    font-size: 14px;
    padding: 12px 45px 12px 16px;
  }

  .blog-section {
    padding: 40px 0 60px;
  }
}
