/*
Theme Name:   Arthur Wechsler
Theme URI:    https://arthurwechslermusic.com
Description:  Child theme for arthurwechslermusic.com — Navy & Gold
Author:       Eugene Wechsler
Template:     astra
Version:      1.0.0
*/

/* ─── Navy & Gold Palette ───────────────────────────────── */
:root {
  --bg:         #FFFFFF;
  --bg-card:    #FAFAF7;
  --primary:    #1E3A5F;
  --primary-lt: #2A5080;
  --accent:     #C4880E;
  --accent-lt:  #DA9E1A;
  --text:       #18140A;
  --text-mid:   #6A5E48;
  --border:     #E8E2D6;
  --hero-grad:  linear-gradient(150deg, #1E3A5F 0%, #12243C 100%);
}

/* ─── Google Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700;900&display=swap');

/* ─── Base overrides ────────────────────────────────────── */
body {
  font-family: 'Inter', sans-serif !important;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .entry-title, .ast-blog-single-element {
  font-family: 'Playfair Display', serif !important;
  color: var(--text);
}

a { color: var(--primary); }
a:hover { color: var(--primary-lt); }

/* ─── Header ─────────────────────────────────────────────── */
.site-header,
.ast-primary-header-bar {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

.ast-site-identity .site-title a,
.ast-site-identity .site-title {
  font-family: 'Playfair Display', serif !important;
  color: var(--primary) !important;
  font-size: 1.15rem !important;
}

/* ─── Navigation ─────────────────────────────────────────── */
.ast-primary-header-bar .main-header-menu > .menu-item > a,
.main-header-menu .menu-item a {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--text-mid) !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
}

.main-header-menu .menu-item a:hover,
.main-header-menu .current-menu-item > a {
  background: var(--bg-card) !important;
  color: var(--primary) !important;
}

/* ─── Page hero banner ───────────────────────────────────── */
.aw-page-hero {
  background: var(--hero-grad);
  color: #fff;
  padding: 48px 32px 44px;
}

.aw-page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: #fff;
}

.aw-page-hero p { color: rgba(255,255,255,0.72); font-size: 1rem; }

/* ─── Buttons ────────────────────────────────────────────── */
.ast-button,
.wp-block-button__link,
.aw-btn {
  background: var(--accent) !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  padding: 11px 24px !important;
  border-radius: 6px !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
  transition: background 0.15s, transform 0.1s !important;
  white-space: nowrap !important;
}

.ast-button:hover,
.wp-block-button__link:hover,
.aw-btn:hover {
  background: var(--accent-lt) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* ─── Composition / post cards ───────────────────────────── */
.aw-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.aw-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
  border-color: transparent;
}

.aw-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ─── Section labels ─────────────────────────────────────── */
.aw-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ─── Elevations ─────────────────────────────────────────── */
.wp-block-group.is-style-card,
.aw-elevated {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  padding: 24px !important;
}

/* ─── Audio player accent ────────────────────────────────── */
audio {
  accent-color: var(--primary);
  width: 100%;
  margin: 12px 0 16px;
  display: block;
}

/* ─── Composition cards (in page content) ───────────────── */
.entry-content .aw-card h3,
.aw-main .aw-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 0 0 4px;
  color: var(--text);
}

.entry-content .aw-card p,
.aw-main .aw-card p {
  color: var(--text-mid);
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.aw-compositions-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin-top: 32px;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer,
.ast-small-footer {
  background: var(--bg) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--text-mid) !important;
  font-size: 0.83rem !important;
}

.site-footer a { color: var(--primary) !important; }

/* ─── Layout helpers ─────────────────────────────────────── */
.aw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.aw-main { padding-bottom: 64px; }

.aw-section { padding: 56px 0 0; }

.aw-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  margin: 4px 0 24px;
  color: var(--text);
}

.aw-prose { max-width: 720px; }
.aw-prose p { line-height: 1.75; color: var(--text-mid); }
.aw-lead { font-size: 1.1rem; font-weight: 500; color: var(--text); }

.aw-fact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.aw-fact-list li { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.aw-fact-list li strong { color: var(--text); }

/* ─── Home page two-column layout ───────────────────────── */
.aw-home-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  min-height: calc(100vh - 80px);
}

/* Left: hero column */
.aw-home-hero-col {
  overflow: hidden;
}

.aw-hero {
  background: var(--hero-grad);
  color: #fff;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  gap: 40px;
  align-items: start;
  padding: 40px 32px;
}

.aw-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
}

.aw-hero h1 span { color: var(--accent-lt); }

.aw-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 32px;
}

.aw-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.aw-btn-ghost {
  background: transparent !important;
  color: rgba(255,255,255,0.85) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  padding: 11px 24px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  transition: background 0.15s !important;
}

.aw-btn-ghost:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}

.aw-hero-photo {
  height: 100%;
  display: flex;
  align-items: start;
}

.aw-hero-photo img.hero-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  max-height: 560px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Right: His Work column */
.aw-home-work-col {
  background: var(--bg);
  padding: 40px 24px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.aw-work-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  flex: 1;
}

/* ─── Cards grid ─────────────────────────────────────────── */
.aw-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
  max-width: 800px;
}

.aw-cards .aw-card .aw-btn { margin-top: auto; }

/* ─── Contact wrap ───────────────────────────────────────── */
.aw-contact-wrap { max-width: 640px; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .aw-home-grid {
    grid-template-columns: 1fr;
  }
  .aw-hero {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 32px;
  }
  .aw-hero-photo img.hero-img {
    height: auto;
    max-height: 400px;
    width: 100%;
  }
  .aw-hero h1 { font-size: 2.4rem; }
  .aw-home-work-col { border-left: none; border-top: 1px solid var(--border); }
  .aw-container { padding: 0 16px; }
}

/* ─── Gutenberg block overrides ──────────────────────────── */
.wp-block-separator { border-color: var(--border) !important; }

.wp-block-pullquote {
  border-color: var(--accent) !important;
}

.wp-block-quote {
  border-left-color: var(--accent) !important;
}
