/*
 * Dark Horse Performance Dogs — Custom CSS
 * WordPress Blockbase Theme Override
 * darkhorseboxers.com
 *
 * Palette:
 *   --gold-bright   : #C9A84C  (warm antique gold, logo text)
 *   --gold-deep     : #8B6914  (deep burnished gold, accents)
 *   --gold-glow     : #E8C96A  (highlight gold, hover states)
 *   --near-black    : #0D0D0D  (site background)
 *   --surface-dark  : #161410  (card / section backgrounds)
 *   --surface-mid   : #1F1B14  (elevated surfaces, nav)
 *   --brown-warm    : #5C3D1E  (warm brown, borders/dividers)
 *   --text-primary  : #E8DEC8  (warm off-white body text)
 *   --text-muted    : #9A8F7A  (secondary / caption text)
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --gold-bright:    #C9A84C;
  --gold-deep:      #8B6914;
  --gold-glow:      #E8C96A;
  --near-black:     #0D0D0D;
  --surface-dark:   #161410;
  --surface-mid:    #1F1B14;
  --brown-warm:     #5C3D1E;
  --text-primary:   #E8DEC8;
  --text-muted:     #9A8F7A;

  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      16px;

  --transition:     0.25s ease;

  /* Gold gradient used throughout */
  --gold-gradient:  linear-gradient(135deg, #8B6914 0%, #C9A84C 45%, #E8C96A 65%, #C9A84C 100%);
  --gold-gradient-h: linear-gradient(90deg, #8B6914 0%, #C9A84C 50%, #E8C96A 100%);
}


/* ============================================================
   GLOBAL RESET / BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--near-black);
  color: var(--text-primary);
  font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* Import Google Fonts — add this @import at the very top if your theme allows it */
/* @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap'); */

/* If Google Fonts are loaded, override the font stack here: */
body {
  font-family: 'EB Garamond', 'Palatino Linotype', Palatino, Georgia, serif;
}

h1, h2, h3, h4, h5, h6,
.wp-block-site-title,
.wp-block-navigation a {
  font-family: 'Cinzel', 'Palatino Linotype', Palatino, 'Book Antiqua', serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-block-end: 1.4em;
  color: var(--text-primary);
}

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus {
  color: var(--gold-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

hr {
  border: none;
  border-top: 1px solid var(--brown-warm);
  margin: 2.5rem 0;
  opacity: 0.6;
}

/* Gold decorative rule — add class "gold-rule" to HR blocks */
hr.gold-rule,
.wp-block-separator {
  border: none;
  height: 2px;
  background: var(--gold-gradient-h);
  border-radius: 2px;
  max-width: 420px;
  margin-inline: auto;
  opacity: 0.85;
}


/* ============================================================
   LAYOUT — SITE WRAPPER
   ============================================================ */
.wp-site-blocks,
.site,
#page {
  background-color: var(--near-black);
}

/* Content width constraint */
.wp-block-group,
.wp-block-columns,
.entry-content,
.wp-block-post-content {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* Full-width override for hero sections */
.alignfull {
  margin-inline: calc(-1 * clamp(1rem, 4vw, 2.5rem));
  width: calc(100% + 2 * clamp(1rem, 4vw, 2.5rem));
  max-width: 100vw;
}


/* ============================================================
   HEADER / SITE BRANDING
   ============================================================ */

/* --- Strip ALL Blockbase default spacing from the header template part --- */
.wp-block-template-part[data-slug="header"],
header.wp-block-template-part,
.wp-block-template-part[data-slug="header"] > .wp-block-group,
.wp-block-template-part[data-slug="header"] .wp-block-group {
  padding-block: 0 !important;
  margin-block: 0 !important;
  gap: 0 !important;
}

/* --- The header itself --- */
.wp-block-template-part[data-slug="header"],
header.wp-block-template-part {
  background-color: var(--surface-mid);
  border-bottom: 1px solid var(--brown-warm);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

/* --- Inner row: logo left, nav right, single line --- */
.wp-block-template-part[data-slug="header"] .wp-block-group:first-child,
header.wp-block-template-part > .wp-block-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-block: 0.6rem !important;
  padding-inline: clamp(1rem, 4vw, 2.5rem) !important;
  max-width: 100% !important;
  width: 100% !important;
  gap: 1.5rem !important;
}

/* Site title — single line, no wrapping */
.wp-block-site-title,
.wp-block-site-title a {
  font-family: 'Cinzel', 'Palatino Linotype', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* Logo sizing — small and inline */
.wp-block-site-logo {
  line-height: 0;
  flex-shrink: 0;
}

.wp-block-site-logo img {
  max-height: 48px;
  width: auto;
}

/* Tagline — hidden in header to save space */
.wp-block-template-part[data-slug="header"] .wp-block-site-tagline {
  display: none;
}

/* Nav sits flush right, no extra gap */
.wp-block-template-part[data-slug="header"] .wp-block-navigation {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

/* Remove any wrapping group padding Blockbase injects */
.wp-block-template-part[data-slug="header"] .wp-block-group + .wp-block-group,
.wp-block-template-part[data-slug="header"] > * + * {
  margin-top: 0 !important;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.wp-block-navigation {
  background: transparent;
}

.wp-block-navigation a {
  font-family: 'Cinzel', 'Palatino Linotype', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
  text-decoration: none;
  position: relative;
}

/* Underline reveal on hover */
.wp-block-navigation a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 1px;
  background: var(--gold-gradient-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.wp-block-navigation a:hover,
.wp-block-navigation a:focus {
  color: var(--gold-bright);
  background-color: rgba(201, 168, 76, 0.07);
  text-decoration: none;
}

.wp-block-navigation a:hover::after {
  transform: scaleX(1);
}

/* Active / current page */
.wp-block-navigation .current-menu-item > a,
.wp-block-navigation .current_page_item > a {
  color: var(--gold-bright);
}

.wp-block-navigation .current-menu-item > a::after {
  transform: scaleX(1);
}

/* Dropdown menus */
.wp-block-navigation .wp-block-navigation__submenu-container {
  background-color: var(--surface-mid);
  border: 1px solid var(--brown-warm);
  border-top: 2px solid var(--gold-deep);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-width: 220px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
}

.wp-block-navigation .wp-block-navigation__submenu-container a {
  font-size: 0.74rem;
  padding: 0.55rem 1.2rem;
  border-bottom: 1px solid rgba(92, 61, 30, 0.3);
}

.wp-block-navigation .wp-block-navigation__submenu-container a:last-child {
  border-bottom: none;
}

/* Mobile hamburger */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  color: var(--gold-bright);
}

.wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--surface-dark);
  padding: 2rem 1.5rem;
}


/* ============================================================
   HERO / COVER BLOCKS
   ============================================================ */
.wp-block-cover,
.wp-block-cover-image {
  min-height: 70vh;
  position: relative;
}

/* Dark overlay tinted toward the brand palette */
.wp-block-cover__background,
.wp-block-cover-image__background {
  background-color: rgba(10, 8, 4, 0.6) !important;
  mix-blend-mode: multiply;
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 4rem;
}

/* Hero headline */
.wp-block-cover h1,
.wp-block-cover h2 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.wp-block-cover p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-primary);
  max-width: 640px;
  margin-inline: auto;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

/* Gold bottom border on hero sections */
.wp-block-cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient-h);
}


/* ============================================================
   BUTTONS & CALLS TO ACTION
   ============================================================ */
.wp-block-button__link,
.wp-element-button,
button,
input[type="submit"] {
  font-family: 'Cinzel', 'Palatino Linotype', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gold-deep);
  background: var(--gold-gradient);
  color: var(--near-black) !important;
  cursor: pointer;
  transition: opacity var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 18px rgba(139, 105, 20, 0.25);
  text-decoration: none !important;
  display: inline-block;
}

.wp-block-button__link:hover,
.wp-element-button:hover,
button:hover,
input[type="submit"]:hover {
  opacity: 0.88;
  box-shadow: 0 4px 28px rgba(201, 168, 76, 0.45);
  transform: translateY(-1px);
}

/* Outline / ghost button variant — add class "is-style-outline" */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--gold-bright) !important;
  border-color: var(--gold-bright);
  box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(201, 168, 76, 0.1);
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.2);
}


/* ============================================================
   CONTENT SECTIONS / GROUP BLOCKS
   ============================================================ */

/* Standard content section */
.wp-block-group {
  padding-block: 4rem;
}

/* Alternating section tinting */
.wp-block-group:nth-child(even) {
  background-color: var(--surface-dark);
}

/* Gold-accented section — add custom class "section-accent" */
.wp-block-group.section-accent {
  border-top: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  background-color: var(--surface-mid);
}

/* Centered section heading with decorative lines */
.wp-block-group > h2:first-child,
.section-heading {
  text-align: center;
  position: relative;
  padding-bottom: 1.25rem;
  margin-bottom: 2.5rem;
}

.wp-block-group > h2:first-child::after,
.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold-gradient-h);
  border-radius: 2px;
}


/* ============================================================
   DOG PROFILE CARDS
   (Use Query Loop or Post grid with custom classes)
   ============================================================ */

/* Card container — apply "dog-card" class to Group blocks */
.dog-card,
.wp-block-post {
  background-color: var(--surface-dark);
  border: 1px solid var(--brown-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.dog-card:hover,
.wp-block-post:hover {
  transform: translateY(-4px);
  border-color: var(--gold-deep);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 168, 76, 0.15);
}

/* Gold top accent bar on cards */
.dog-card::before,
.wp-block-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient-h);
  z-index: 1;
}

/* Card image */
.dog-card img,
.wp-block-post-featured-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.dog-card:hover img,
.wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.03);
}

/* Card body */
.dog-card__body,
.wp-block-post-excerpt,
.wp-block-post-title {
  padding: 1.5rem 1.75rem;
}

/* Dog name */
.dog-card__name,
.wp-block-post-title a,
.wp-block-post-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

/* Dog breed / subtitle badge */
.dog-card__breed,
.breed-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--near-black);
  background: var(--gold-gradient);
  padding: 0.2rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 0.85rem;
}

/* Stats row — titles, health, achievements */
.dog-card__stats,
.dog-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  border-top: 1px solid var(--brown-warm);
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dog-card__stats span::before,
.dog-stats span::before {
  content: '◆ ';
  color: var(--gold-deep);
  font-size: 0.6rem;
  vertical-align: middle;
}

/* Query Loop grid for dog profiles */
.wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}


/* ============================================================
   INDIVIDUAL DOG PROFILE PAGE
   ============================================================ */

/* Profile header banner */
.dog-profile-header {
  position: relative;
  padding: 3rem 2rem;
  background-color: var(--surface-mid);
  border-bottom: 2px solid var(--gold-deep);
  text-align: center;
}

/* Large centered profile photo */
.dog-profile-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--gold-deep);
  box-shadow: 0 0 0 6px var(--surface-dark), 0 0 0 7px var(--brown-warm),
              0 12px 40px rgba(0,0,0,0.7);
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* Call name */
.dog-profile-callname {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

/* Registered name */
.dog-profile-regname {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Info table — sire, dam, DOB, health, titles */
.dog-info-table {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dog-info-table th,
.dog-info-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(92, 61, 30, 0.35);
  text-align: left;
}

.dog-info-table th {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  width: 40%;
}

.dog-info-table td {
  color: var(--text-primary);
}

.dog-info-table tr:last-child th,
.dog-info-table tr:last-child td {
  border-bottom: none;
}

/* Health clearance badges */
.health-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
  margin: 0.15rem;
}

.health-badge.pass {
  background-color: rgba(80, 130, 60, 0.2);
  border: 1px solid rgba(80, 130, 60, 0.5);
  color: #8BC87A;
}

.health-badge.pending {
  background-color: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-deep);
  color: var(--gold-bright);
}


/* ============================================================
   FAQ SECTION
   ============================================================ */

/* FAQ list container — apply class "faq-list" to a Group block */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

/* Individual FAQ item — use Group blocks with class "faq-item" */
.faq-item {
  border: 1px solid var(--brown-warm);
  border-radius: var(--radius-md);
  background-color: var(--surface-dark);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--gold-deep);
}

/* Question heading */
.faq-item h3,
.faq-question {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
  padding: 1.25rem 1.5rem;
  margin: 0;
  border-bottom: 1px solid rgba(92, 61, 30, 0.4);
  position: relative;
}

/* Diamond accent before question */
.faq-item h3::before,
.faq-question::before {
  content: '◆';
  color: var(--gold-deep);
  margin-right: 0.75rem;
  font-size: 0.6rem;
  vertical-align: middle;
}

/* Answer */
.faq-item p,
.faq-answer {
  padding: 1.1rem 1.5rem 1.25rem 1.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.75;
}

/* WordPress Details block (native accordion) */
.wp-block-details {
  border: 1px solid var(--brown-warm);
  border-radius: var(--radius-md);
  background-color: var(--surface-dark);
  padding: 0;
  margin-bottom: 1rem;
  overflow: hidden;
}

.wp-block-details summary {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid rgba(92, 61, 30, 0.3);
  transition: background-color var(--transition);
}

.wp-block-details summary:hover {
  background-color: rgba(201, 168, 76, 0.05);
}

.wp-block-details > *:not(summary) {
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}


/* ============================================================
   TABLES (pedigrees, titles, health clearances)
   ============================================================ */
.wp-block-table table,
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: var(--text-primary);
  background-color: var(--surface-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.wp-block-table thead th,
thead th {
  background: linear-gradient(135deg, var(--surface-mid), rgba(139, 105, 20, 0.2));
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--gold-deep);
}

.wp-block-table tbody td,
tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(92, 61, 30, 0.3);
}

.wp-block-table tbody tr:last-child td,
tbody tr:last-child td {
  border-bottom: none;
}

.wp-block-table tbody tr:hover td,
tbody tr:hover td {
  background-color: rgba(201, 168, 76, 0.05);
}

/* Striped rows */
.wp-block-table.is-style-stripes tbody tr:nth-child(even) td {
  background-color: rgba(22, 20, 16, 0.6);
}


/* ============================================================
   BLOCKQUOTES / TESTIMONIALS
   ============================================================ */
blockquote,
.wp-block-quote {
  border-left: 3px solid var(--gold-deep);
  margin-left: 0;
  padding: 1.25rem 1.75rem;
  background-color: var(--surface-mid);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.05rem;
}

blockquote cite,
.wp-block-quote cite,
.wp-block-quote footer {
  font-style: normal;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  display: block;
  margin-top: 0.75rem;
}

blockquote cite::before,
.wp-block-quote cite::before {
  content: '— ';
}

/* Pull quote */
.wp-block-pullquote {
  border-top: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  text-align: center;
  padding: 2rem 2.5rem;
  background: transparent;
}

.wp-block-pullquote blockquote p {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold-bright);
}


/* ============================================================
   LISTS
   ============================================================ */
ul, ol {
  padding-left: 1.5rem;
  color: var(--text-primary);
}

ul li,
ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Custom gold diamond bullets */
ul:not([class]) li::marker {
  content: '◆  ';
  color: var(--gold-deep);
  font-size: 0.6em;
}

/* Checklist style — add class "checklist" to a List block */
ul.checklist li::marker {
  content: '✓  ';
  color: var(--gold-bright);
  font-size: 0.9em;
  font-weight: 700;
}


/* ============================================================
   FORMS (contact, puppy application, waitlist)
   ============================================================ */
.wp-block-group form,
.wpcf7-form,
form {
  background-color: var(--surface-dark);
  border: 1px solid var(--brown-warm);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 680px;
  margin-inline: auto;
}

label,
.wpcf7-form-control-wrap label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
  margin-top: 1.25rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea,
.wpcf7-text,
.wpcf7-email,
.wpcf7-select,
.wpcf7-textarea {
  width: 100%;
  background-color: var(--surface-mid);
  border: 1px solid var(--brown-warm);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.2);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* Placeholder text */
::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

/* Form submit */
form input[type="submit"],
.wpcf7-submit {
  margin-top: 1.5rem;
  width: 100%;
}


/* ============================================================
   COLUMNS BLOCK
   ============================================================ */
.wp-block-columns {
  gap: 2rem;
  align-items: start;
}

.wp-block-column {
  /* Inherits grid from Blockbase */
}

/* Two-column profile layout: photo left, bio right */
.wp-block-columns.profile-layout {
  gap: 3rem;
  align-items: start;
}

.wp-block-columns.profile-layout .wp-block-column:first-child {
  flex-basis: 38% !important;
  flex-grow: 0;
}

.wp-block-columns.profile-layout .wp-block-column:last-child {
  flex-basis: 58% !important;
  flex-grow: 0;
}


/* ============================================================
   IMAGE BLOCKS & GALLERY
   ============================================================ */
.wp-block-image img {
  border-radius: var(--radius-md);
  border: 1px solid var(--brown-warm);
}

.wp-block-image figcaption {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* Gallery */
.wp-block-gallery {
  gap: 0.75rem;
}

.wp-block-gallery .wp-block-image img {
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.wp-block-gallery .wp-block-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}


/* ============================================================
   SIDEBAR / WIDGET AREAS
   ============================================================ */
.widget,
.wp-block-group.sidebar-widget {
  background-color: var(--surface-dark);
  border: 1px solid var(--brown-warm);
  border-top: 3px solid var(--gold-deep);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.widget-title,
.wp-block-group.sidebar-widget h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--brown-warm);
}


/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs,
.wp-block-breadcrumbs,
nav.breadcrumb {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
}

.breadcrumbs a,
nav.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumbs a:hover,
nav.breadcrumb a:hover {
  color: var(--gold-bright);
  text-decoration: none;
}

.breadcrumbs .separator {
  margin: 0 0.5rem;
  color: var(--gold-deep);
}


/* ============================================================
   PAGINATION
   ============================================================ */
.wp-block-query-pagination,
.pagination,
.page-numbers {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.wp-block-query-pagination a,
.page-numbers a,
.page-numbers span {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brown-warm);
  background-color: var(--surface-dark);
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
}

.wp-block-query-pagination a:hover,
.page-numbers a:hover {
  border-color: var(--gold-deep);
  color: var(--gold-bright);
  background-color: rgba(201, 168, 76, 0.07);
}

.page-numbers.current {
  background: var(--gold-gradient);
  border-color: var(--gold-deep);
  color: var(--near-black);
  font-weight: 700;
}


/* ============================================================
   FOOTER
   ============================================================ */
.wp-block-template-part[data-slug="footer"],
footer.wp-block-template-part {
  background-color: var(--surface-dark);
  border-top: 2px solid var(--gold-deep);
  padding-block: 3rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.wp-block-template-part[data-slug="footer"] h3,
footer h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.wp-block-template-part[data-slug="footer"] a,
footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.wp-block-template-part[data-slug="footer"] a:hover,
footer a:hover {
  color: var(--gold-bright);
}

/* Footer nav links */
.wp-block-template-part[data-slug="footer"] .wp-block-navigation a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Copyright bar */
.footer-copyright,
.site-info {
  border-top: 1px solid rgba(92, 61, 30, 0.4);
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}


/* ============================================================
   UTILITY CLASSES
   (Apply directly to blocks via Additional CSS class field)
   ============================================================ */

/* Gold gradient text */
.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Centered text */
.text-center { text-align: center; }

/* Muted text */
.text-muted { color: var(--text-muted) !important; }

/* Gold top border accent */
.border-gold-top { border-top: 2px solid var(--gold-deep); }

/* Surface-mid background */
.bg-surface { background-color: var(--surface-mid); }

/* Spacer utilities */
.mt-sm  { margin-top: 1rem; }
.mt-md  { margin-top: 2rem; }
.mt-lg  { margin-top: 4rem; }
.mb-sm  { margin-bottom: 1rem; }
.mb-md  { margin-bottom: 2rem; }
.mb-lg  { margin-bottom: 4rem; }

/* Full bleed image strip */
.image-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 0;
}

/* Tag / label chip */
.tag-chip {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background-color: var(--surface-mid);
  border: 1px solid var(--brown-warm);
  color: var(--text-muted);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  margin: 0.15rem;
}

/* Litter announcement badge */
.litter-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  color: var(--near-black);
  padding: 0.3rem 1rem;
  border-radius: 2px;
  font-weight: 700;
}


/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 16px; }

  .wp-block-cover { min-height: 55vh; }

  .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .wp-block-columns.profile-layout {
    flex-direction: column;
  }

  .wp-block-columns.profile-layout .wp-block-column:first-child,
  .wp-block-columns.profile-layout .wp-block-column:last-child {
    flex-basis: 100% !important;
  }

  .dog-profile-photo {
    width: 200px;
    height: 200px;
  }

  .wp-block-group {
    padding-block: 2.5rem;
  }
}

@media (max-width: 480px) {
  .wp-block-button__link { padding: 0.75rem 1.5rem; }
  .faq-item h3 { font-size: 0.88rem; }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  body {
    background: #fff;
    color: #111;
  }

  .wp-block-navigation,
  .wp-block-template-part[data-slug="footer"] {
    display: none;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #111;
    -webkit-text-fill-color: #111;
    background: none;
  }
}