/*
Theme Name: Shaken & Stirred
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A beautiful mixed drink recipe theme with Amazon & Walmart affiliate support and Printify merch store integration.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shaken-stirred
Tags: food-and-drink, blog, custom-colors, custom-menu, featured-images, recipe
*/

/* ─────────────────────────────────────────
   CSS Variables
───────────────────────────────────────── */
:root {
  --color-header:     #3B5068;
  --color-header-alt: #2e3f52;
  --color-accent:     #A8D8C8;
  --color-accent-2:   #B8D0E8;
  --color-text:       #2a1f14;
  --color-text-muted: #7A6A55;
  --color-bg:         #FDF8F2;
  --color-bg-card:    #ffffff;
  --color-border:     #EDE0CE;
  --color-amazon:     #FF9900;
  --color-walmart:    #0071CE;
  --color-merch:      #3B5068;
  --font-display:     'Playfair Display', Georgia, serif;
  --font-body:        'DM Sans', sans-serif;
  --radius-sm:        8px;
  --radius-md:        12px;
  --radius-lg:        16px;
  --radius-pill:      999px;
  --shadow-card:      0 2px 16px rgba(42,31,20,0.07);
  --shadow-hover:     0 6px 28px rgba(42,31,20,0.13);
  --transition:       0.2s ease;
}

/* ─────────────────────────────────────────
   Reset & Base
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-header); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }
ul { list-style: none; }

/* ─────────────────────────────────────────
   Typography
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--color-text);
  font-weight: 400;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────
   Layout
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-main { padding: 48px 0; }

/* ─────────────────────────────────────────
   Header & Navigation
───────────────────────────────────────── */
.site-header {
  background: var(--color-header);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* .site-branding a styles moved to hero branding block below */

.main-navigation ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-navigation a {
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-accent-2);
  font-weight: 500;
  transition: color var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--color-accent);
  opacity: 1;
}

.nav-merch-btn {
  background: var(--color-accent);
  color: var(--color-header) !important;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-merch-btn:hover { background: #8dcab8 !important; opacity: 1 !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 0.5px solid rgba(255,255,255,0.3);
  color: #F0F7FF;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
}

/* ─────────────────────────────────────────
   Hero
───────────────────────────────────────── */
.hero-section {
  background: var(--color-header);
  padding: 32px 0 56px;
  text-align: center;
}



.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  width: 100%;
  padding: 0 24px;   /* matches container gutter, but no auto-centering */
  box-sizing: border-box;
}

.hero-nav-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-align: left;
  /* no margin-right: auto needed — justify-content: space-between handles it */
}

.hero-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* ── Hero Search Bar ─────────────────────────────────────────── */
.hero-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.hero-search:focus-within {
  background: rgba(255,255,255,0.13);
  border-color: var(--color-accent);
}

.hero-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #F0F7FF;
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 8px 14px;
  width: 200px;
  letter-spacing: 0.3px;
}

.hero-search-input::placeholder {
  color: rgba(240,247,255,0.45);
}

.hero-search-btn {
  background: transparent;
  border: none;
  color: var(--color-accent-2);
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.hero-search-btn:hover {
  color: var(--color-accent);
}

.hero-title {
  color: #F0F7FF;
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #8BAFC8;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Filter pills */
.filter-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-pill {
  background: #4A6278;
  border: 0.5px solid #6A8DA8;
  color: var(--color-accent-2);
  font-size: 0.75rem;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  text-decoration: none;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--color-accent);
  color: #2a3d4d;
  border-color: var(--color-accent);
  opacity: 1;
}

/* ─────────────────────────────────────────
   Section Labels
───────────────────────────────────────── */
.section-label {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--color-border);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header h2 { margin: 0; }
.view-all-link {
  font-size: 0.8rem;
  color: var(--color-header);
  border-bottom: 1px solid var(--color-border);
}

/* ─────────────────────────────────────────
   Recipe Cards
───────────────────────────────────────── */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.recipe-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.recipe-card-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #C8E6DA, #A8D8C8);
}

.recipe-card-thumb-link {
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  z-index: 1;
}
.recipe-card-thumb-icon {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 10%;
  right: 10%;
}
.recipe-card-thumb-icon img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  max-width: none !important;
}

.recipe-card:hover .recipe-card-thumb-link { transform: scale(1.04); }

.recipe-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(59,80,104,0.9);
  color: var(--color-accent-2);
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.recipe-card-body { padding: 16px 18px 18px; }

.recipe-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--color-text);
}

.recipe-card-body h3 a { color: inherit; }
.recipe-card-body h3 a:hover { color: var(--color-header); opacity: 1; }

.recipe-card-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.recipe-card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.recipe-card-meta span { display: flex; align-items: center; gap: 4px; }

/* Featured recipe card */
.recipe-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.recipe-card.featured .recipe-card-thumb { aspect-ratio: auto; min-height: 300px; }
.recipe-card.featured .recipe-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.recipe-card.featured h3 { font-size: 1.8rem; margin-bottom: 10px; }
.recipe-card.featured .recipe-card-excerpt { font-size: 0.95rem; margin-bottom: 20px; }

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--color-header);
  color: #F0F7FF;
}
.btn-primary:hover { background: var(--color-header-alt); opacity: 1; }

/* ─────────────────────────────────────────
   Affiliate Sections
───────────────────────────────────────── */
.affiliate-section {
  padding: 48px 0;
  border-top: 0.5px solid var(--color-border);
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.affiliate-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--color-border);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.affiliate-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.affiliate-card-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  padding: 8px;
}

/* Emoji <img> tags injected by WordPress inside affiliate cards */
.affiliate-card > div > img.emoji {
  width: 56px;
  height: 56px;
  display: block;
  margin: 4px auto 0;
  padding: 0;
  box-shadow: none;
  border: none;
  background: none;
  vertical-align: unset;
  object-fit: contain;
}

.affiliate-card-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

.affiliate-card-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.affiliate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.badge-amazon { background: #FFF3DC; color: #CC7700; border: 0.5px solid #FFD580; }
.badge-walmart { background: #E8F3FF; color: #0058A3; border: 0.5px solid #90C4F0; }

.btn-amazon {
  background: var(--color-amazon);
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 18px;
}
.btn-amazon:hover { background: #e08800; opacity: 1; }

.btn-walmart {
  background: var(--color-walmart);
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 18px;
}
.btn-walmart:hover { background: #005cb3; opacity: 1; }

.affiliate-disclosure {
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 0.5px solid var(--color-border);
}

/* ─────────────────────────────────────────
   Merch Section
───────────────────────────────────────── */
.merch-section {
  background: #EEF4F8;
  padding: 56px 0;
  border-top: 0.5px solid #C0D8E8;
}

.merch-section .section-label::after { background: #C0D8E8; }

.merch-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.printify-badge {
  background: var(--color-merch);
  color: #F0F7FF;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.merch-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 0.5px solid #C0D8E8;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.merch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.merch-card-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #EEF4F8, #C8DFF0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.merch-card-img img { width: 100%; height: 100%; object-fit: cover; }

.merch-card-body { padding: 14px 16px 16px; }
.merch-card-body h4 { font-size: 1rem; margin-bottom: 4px; }
.merch-card-price { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 12px; }

.btn-merch {
  background: var(--color-merch);
  color: #F0F7FF;
  font-size: 0.82rem;
  padding: 8px 18px;
  width: 100%;
  text-align: center;
}
.btn-merch:hover { background: var(--color-header-alt); opacity: 1; }

/* ─────────────────────────────────────────
   Single Recipe Page
───────────────────────────────────────── */
.recipe-hero {
  position: relative;
  background: var(--color-header);
  padding: 56px 0 48px;
  color: #F0F7FF;
}

.recipe-hero h1 { color: #F0F7FF; margin-bottom: 12px; }
.recipe-hero .recipe-hero-meta {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--color-accent-2);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.recipe-hero .recipe-hero-meta span { display: flex; align-items: center; gap: 6px; }

.recipe-hero-tag {
  display: inline-block;
  background: rgba(168,216,200,0.2);
  border: 0.5px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.recipe-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.recipe-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 40px;
  box-shadow: var(--shadow-hover);
}
.recipe-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Ingredients card */
.ingredients-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  position: sticky;
  top: 80px;
}

.ingredients-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--color-border);
}

.ingredient-list { display: flex; flex-direction: column; gap: 10px; }

.ingredient-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--color-border);
}
.ingredient-item:last-child { border-bottom: none; }
.ingredient-amount { color: var(--color-text-muted); font-size: 0.82rem; }

/* Steps */
.recipe-steps { margin-bottom: 40px; }\n.recipe-steps h2 { margin-bottom: 24px; }

/* Instructions card — mirrors ingredients-card */
.instructions-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--color-border);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  overflow: hidden;
}

.instructions-card-header {
  position: relative;
  background: var(--color-header);
  padding: 20px 24px;
  overflow: hidden;
  min-height: 100px;
}

.instructions-card-header.has-header-img {
  padding-right: calc(70px + 24px);
}

.instructions-card-header h2 {
  color: #F0F7FF;
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.instructions-card-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--color-accent-2);
}

.instructions-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.instructions-card-icon {
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: 12px;
  width: 60px;
  overflow: hidden;
  border-radius: 4px;
}

.instructions-card-icon img {
  width: 60px;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.instructions-card-img {
  width: 100%;
}

.instructions-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.instructions-card-body {
  padding: 24px;
}

.instructions-card-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 16px;
}

.instructions-card-body p:last-child { margin-bottom: 0; }

.instructions-card-body img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 8px 0 16px;
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 0.5px solid var(--color-border);
}
.step:last-child { border-bottom: none; }

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-header);
  color: #F0F7FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 2px;
}

.step-content h4 { margin-bottom: 6px; font-size: 1rem; }
.step-content p { font-size: 0.92rem; color: var(--color-text-muted); margin: 0; }

/* Inline affiliate suggestion */
.recipe-affiliate-suggestion {
  background: #FFF9F0;
  border: 0.5px solid #FFD580;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.recipe-affiliate-suggestion img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 6px;
  border: 0.5px solid var(--color-border);
  flex-shrink: 0;
}

.recipe-aff-text { flex: 1; }
.recipe-aff-text p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.recipe-aff-text strong { font-size: 0.9rem; color: var(--color-text); display: block; margin-bottom: 4px; }

/* ─────────────────────────────────────────
   Sidebar
───────────────────────────────────────── */
.widget-area { display: flex; flex-direction: column; gap: 24px; }

.widget {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--color-border);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--color-border);
}

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
.site-footer {
  background: var(--color-header);
  color: var(--color-accent-2);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .site-branding a { font-size: 1.4rem; }
.footer-brand p {
  font-size: 0.85rem;
  color: #8BAFC8;
  margin-top: 12px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #F0F7FF;
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 0.83rem;
  color: #8BAFC8;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--color-accent); opacity: 1; }

.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #6A8DA8;
  flex-wrap: wrap;
  gap: 10px;
}

.affiliate-footer-note {
  font-size: 0.72rem;
  color: #6A8DA8;
  margin-top: 8px;
}

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */
@media (max-width: 900px) {
  .recipe-layout { grid-template-columns: 1fr; }
  .ingredients-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .recipe-card.featured { grid-template-columns: 1fr; }
  .recipe-card.featured .recipe-card-thumb { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
  .main-navigation { display: none; }
  .main-navigation.toggled { display: block; position: absolute; top: 64px; left: 0; right: 0; background: var(--color-header); padding: 16px 24px; }
  .main-navigation.toggled ul { flex-direction: column; gap: 16px; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .affiliate-grid { grid-template-columns: repeat(2, 1fr); }
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { padding: 24px 0 36px; }
  .hero-nav { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  .hero-nav-right { flex-wrap: wrap; gap: 12px; }
  .hero-search-input { width: 140px; }
}

/* ── Site Logo ────────────────────────────────────────────────── */
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 40px;
}

.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.custom-logo-link img.custom-logo {
  max-height: 180px;
  width: auto;
  display: block;
}

.site-name-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.site-title {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.1;
}

.site-title a {
  font-family: var(--font-display);
  font-style: italic;
  color: #F0F7FF;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.site-title a:hover { opacity: 0.9; }

.site-tagline {
  margin: 0;
  font-size: 1.2rem;
  color: var(--color-accent-2);
  letter-spacing: 0.5px;
  font-family: var(--font-body);
  opacity: 1;
}
