/* === Header base layout === */
.site-header {
  text-align: center;
  position: relative;
  z-index: 3;
  font-size: 14px;
  color: #222;
}

/* === AirTheme Header === */

/* Header container */
.site-header .header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 20px;
}

/* Logo + text wrapper */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.logo-text {
  font-weight: 700;
  font-size: 20px;
  color: #222;
  text-decoration: none;
  line-height: 1.2;
}

/* Search area wrapper */
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* Search form */
.header-right form.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Search field */
.header-right input.search-field {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.22);

  font-size: 13px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);

  transition: all 0.25s ease;
  width: 150px;
}

.header-right input.search-field::placeholder {
  color: rgba(0,0,0,0.35);
  font-size: 10px;
}

/* Search field focus */
.header-right input.search-field:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.25);
  outline: none;
}

/* Search button */
.header-right button#search-btn {
  height: 28px;
  padding: 0 12px;

  border: none;
  border-radius: 6px;
  background: var(--accent-color);
  color: #fff;

  font-size: 13px;
  font-weight: 600;

  transition: background 0.2s ease;
  cursor: pointer;
}

/* Smart hover: automatically darken the accent color */
.header-right button#search-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 80%, #000);
}

/* === WordPress Core Logo === */
.site-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
/* Logo image */
.site-header .custom-logo {
  display: block;
  max-width: 50px;   
  height: auto;
  border-radius: 6px;
}

/* Tagline next to logo */
.site-tagline {
  font-size: 20px;
  font-weight: 600;
  color: rgba(0,0,0,0.85);
  margin: 0;
  padding-left: 8px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
  white-space: nowrap;
}

/* Glass header */
.site-header {
  top: 0;
  left: 0;
  padding: 0 3px;

  background: rgba(var(--header-bg-rgb), var(--header-opacity));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
