/* Search Block Component Styles
 * 
 * Styles for the hero search block template part
 * Used in: template-parts/search-block.php
 */

 /* Search Block Top Links */
.vga-hero-header-links {
  display: flex;
  gap: 1.5rem;
}
.vga-hero-header-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 100;
  transition: color 0.2s;
}
.vga-hero-header-link:hover {
  color: #b6e0e3;
} 

/* Hero Search Block Container */
.vga-hero-search-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: 0;
  min-width: 350px;
  margin-left: auto;
}

.vga-hero-search-label {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

/* Hero Search Form */
.vga-hero-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--color-white);
  width: 256px;
  max-width: 100%;
}

.vga-hero-search-field {
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 0.8rem;
  flex: 1 1 auto;
  outline: none;
  padding: 0.45rem 0.45rem;
  background: rgba(2, 15, 48, 0.5);
}

/* Remove the clear button (X) from hero search field */
.vga-hero-search-field::-webkit-search-cancel-button,
.vga-hero-search-field::-webkit-search-decoration,
.vga-hero-search-field::-webkit-search-results-button,
.vga-hero-search-field::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.vga-hero-search-field::placeholder {
  color: #e3f2f4;
  opacity: 0.8;
}

.vga-hero-search-submit {
  background: var(--color-white);
  color: #111;
  border: none;
  font-weight: 400;
  font-size: 0.7rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  opacity: 1.0;
}

.vga-hero-search-submit:hover {
  background: #b6e0e3;
  color: #003366;
}

/* ===================================
   MEDIA QUERIES - TABLET BREAKPOINT (1080px)
   =================================== */

@media screen and (max-width: 1080px) {
  .vga-hero-search-block {
    min-width: 300px;
  }
  
  .vga-hero-search {
    flex-direction: column;
    gap: 0.5rem;
  }
}
