/* =========================================================
   hotfix.css — DLF Website V2
   PURPOSE:
   - Prove hotfix is loading (gold line at top)
   - Normalize header sizing + logo scale
   - Restore MOBILE hamburger + dropdown behavior (CSS-side)
   - Normalize footer sizing + logo scale + typography
   NOTES:
   - Assumes your HTML uses:
       <header class="site-header">
         <div class="nav-inner">
           ... <button class="nav-toggle"><span></span><span></span><span></span></button>
           <nav class="main-nav" id="site-nav">...</nav>
         </div>
       </header>
   - Assumes your JS toggles .is-open on #site-nav
   ========================================================= */


/* ================================
   LOADING PROOF
   ================================ */
html{ border-top:4px solid #D1B77A !important; }

/* ================================
   VARIABLES (safe fallbacks)
   ================================ */
:root{
  --header-pad-y: 18px;
  --header-pad-x: 32px;
  --logo-h: 84px;
  --nav-font: 0.88rem;

  /* fallbacks if missing in main.css */
  --navy: #0b1b2b;
  --cream: #f6f0e3;
  --gold: #D1B77A;
}

@media (max-width: 960px){
  :root{
    --header-pad-y: 14px;
    --header-pad-x: 18px;
    --logo-h: 64px;
    --nav-font: 0.92rem;
  }
}

/* =========================================================
   HEADER NORMALIZATION
   ========================================================= */
.site-header{
  background: var(--navy);
  color: var(--cream);
  box-sizing: border-box;
}

/* main row */
.site-header .nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;

  padding: var(--header-pad-y) var(--header-pad-x);
  min-height: calc(var(--logo-h) + (var(--header-pad-y) * 2));
  box-sizing: border-box;
}

/* logo sizing (robust selectors) */
.site-header .logo-area img,
.site-header img.logo-img,
.site-header img[alt*="logo" i],
.site-header img[src*="logo" i]{
  height: var(--logo-h) !important;
  width: auto !important;
  max-height: var(--logo-h) !important;
  max-width: 380px !important;
  object-fit: contain !important;
  display:block;
}

/* desktop nav */
.site-header .main-nav{
  display:flex;
  align-items:center;
  gap: 1.25rem;
}

.site-header .main-nav a{
  font-size: var(--nav-font);
  line-height: 1.15;
  padding: 8px 0;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  opacity: 0.92;
}

.site-header .main-nav a:hover{
  opacity: 1;
}

/* =========================================================
   MOBILE NAV + HAMBURGER (RESTORED)
   ========================================================= */

/* default: hide hamburger on desktop */
.nav-toggle{ display:none; }

/* mobile behavior */
@media (max-width: 960px){

  /* allow wrapping */
  .site-header .nav-inner{
    flex-wrap: wrap;
    gap: 12px 14px;
  }

  /* show hamburger */
  .nav-toggle{
    display:inline-flex !important;
    width:44px;
    height:44px;
    border:1px solid rgba(255,255,255,0.28);
    border-radius:12px;
    background:transparent;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:6px;
    cursor:pointer;
    margin-left:auto;
    box-sizing:border-box;
  }

  /* FORCE the bars to exist + be visible (this fixes your “blank button” issue) */
  .nav-toggle span{
    display:block !important;
    width:22px !important;
    height:2px !important;
    background: var(--gold) !important;
    border-radius:2px !important;
    opacity:1 !important;
    visibility:visible !important;
  }

  /* collapse nav by default */
  #site-nav{
    display:none;
    width:100%;
    margin-top:10px;
  }

  /* JS toggles this class */
  #site-nav.is-open{
    display:block;
  }

  /* dropdown link styling */
  #site-nav a{
    display:block;
    padding:12px 0;
    border-top:1px solid rgba(255,255,255,0.10);
    opacity:0.95;
  }

  #site-nav a:hover{
    opacity:1;
  }
}

/* =========================================================
   FOOTER NORMALIZATION (logo + spacing + type)
   ========================================================= */
.site-footer{
  background: var(--navy);
  color: var(--cream);
}

.site-footer .footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

.site-footer .footer-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.5rem;
}

/* STOP full-width logo blowout (robust selectors) */
.site-footer .footer-logo-img,
.site-footer .footer-brand img,
.site-footer img[alt*="logo" i],
.site-footer img[src*="dlf-logo" i],
.site-footer img[src*="logo" i]{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:180px !important;   /* tweak 160–220 */
  max-height:72px !important;   /* tweak 60–90 */
  object-fit:contain !important;
  margin:0 auto !important;
}

.site-footer .footer-tagline,
.site-footer .footer-meta p{
  margin:0;
  font-size:0.95rem;
  line-height:1.35;
  opacity:0.92;
}

.site-footer .footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0.6rem 1.0rem;
  margin:1.0rem 0 0.75rem;
}

.site-footer .footer-links a{
  color: var(--cream);
  text-decoration:none;
  opacity:0.9;
}

.site-footer .footer-links a:hover{
  opacity:1;
  text-decoration:underline;
}

.site-footer .footer-copyright{
  padding:0.9rem 1.5rem 1.2rem;
  text-align:center;
}

.site-footer .footer-copyright p{
  margin:0;
  font-size:0.9rem;
  line-height:1.35;
  opacity:0.85;
}

@media (max-width: 700px){
  .site-footer .footer-inner{ padding:2.0rem 1.2rem; }

  .site-footer .footer-logo-img,
  .site-footer .footer-brand img,
  .site-footer img[alt*="logo" i],
  .site-footer img[src*="dlf-logo" i],
  .site-footer img[src*="logo" i]{
    max-width:160px !important;
    max-height:64px !important;
  }
}
/* =========================================================
   DLF — HOTFIX (SAFE LAYER)
   Scoped, minimal, no main.css edits.
   ========================================================= */

/* =========================
   OWNERSHIP — RHYTHM + READABILITY
   ========================= */
body.ownership .ownership-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Headings were crowding each other */
body.ownership .ownership-wrap h2{
  margin: 44px 0 14px;
}

body.ownership .ownership-wrap h3{
  margin: 22px 0 8px;
}

/* First section should feel slightly calmer */
body.ownership .ownership-wrap p.lead{
  font-size: 1.06rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* Lists: add breathing + reduce “stacked” feel */
body.ownership .ownership-wrap ul,
body.ownership .ownership-wrap ol{
  margin: 14px 0 24px;
  padding-left: 1.25rem;
}

body.ownership .ownership-wrap li{
  margin: 8px 0;
}

/* NOTE: make it read like a callout (not a paragraph) */
body.ownership .ownership-wrap .note{
  margin: 22px 0 30px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(15,30,43,0.04);
  border: 1px solid rgba(30,42,61,0.14);
}

/* QUICK LINKS: add space under button so it doesn't crash into next header */
body.ownership .quicklinks-card{
  margin: 36px 0 44px;
  padding-bottom: 10px;
}

body.ownership .quicklinks-card .ownership-cta{
  margin-top: 10px;
  margin-bottom: 30px; /* <-- this is the “CTA too close to Common Questions” fix */
}

/* FAQ: reduce “mind-numbing wall” with spacing + subtle dividers */
body.ownership .faq{
  margin-top: 10px;
}

body.ownership .faq h3{
  margin: 24px 0 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(30,42,61,0.12);
}

body.ownership .faq h3:first-child{
  border-top: none;
  padding-top: 0;
}

body.ownership .faq p{
  margin: 0 0 18px;
  max-width: 78ch;
  line-height: 1.75;
  opacity: 0.92;
}

/* Mobile: keep gutters comfortable */
@media (max-width: 520px){
  body.ownership .ownership-wrap{
    padding-left: 18px;
    padding-right: 18px;
  }
}
/* =========================================
   ABOUT PAGE — HERO PHOTO FRAME (LOCKED)
   Portrait framing, no crop, no gutters
   ========================================= */

body.about figure.about-photo{
  max-width: 760px;
  margin: 0 auto;
}

body.about figure.about-photo img{
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 1200px){
  body.about figure.about-photo{
    max-width: 720px;
  }
}
/* =========================================
   ACHIEVEMENTS — PAGE LAYOUT (SCOPED)
   ========================================= */

body.achievements .achievements-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.25rem, 3vw, 2.25rem);
}

body.achievements .achievements-prose{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  margin-bottom: 1.75rem;
}

body.achievements .achievements-prose p{
  margin: 0;
  line-height: 1.8;
  font-size: 1.05rem;
  color: rgba(0,0,0,0.80);
}

body.achievements .achievements-h2{
  margin: 0 0 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

body.achievements .achievements-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.25rem;
}

body.achievements .achv-card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1.0rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

body.achievements .achv-card h3{
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

body.achievements .achv-card p{
  margin: 0;
  line-height: 1.65;
  color: rgba(0,0,0,0.78);
}

body.achievements .achv-timeline{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
}

body.achievements .achv-muted{
  margin: -0.25rem 0 1rem;
  color: rgba(0,0,0,0.70);
}

body.achievements .timeline{
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0;
  border-left: 2px solid rgba(209,183,122,0.55);
}

body.achievements .timeline li{
  position: relative;
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.9rem;
  padding: 0.6rem 0 0.6rem 0.15rem;
}

body.achievements .t-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D1B77A;
  margin-left: -6px;
  margin-top: 0.35rem;
}

body.achievements .t-item{
  line-height: 1.55;
}

body.achievements .t-meta{
  color: rgba(0,0,0,0.70);
}

body.achievements .achv-footnote{
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.72);
  line-height: 1.7;
}

@media (max-width: 960px){
  body.achievements .achievements-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  body.achievements .achievements-grid{
    grid-template-columns: 1fr;
  }
}
/* PAGE HERO — PARAGRAPH RHYTHM */
.page-hero--slim .page-subline{
  margin-top: 24px;
  margin-bottom: 0;
  max-width: 760px; /* keeps copy readable */
}

.page-hero--slim .page-subline.follow-up{
  margin-top: 32px;        /* key separation */
  opacity: 0.9;            /* slightly quieter */
}

/* INNER PAGES — CTA BUTTON (MATCH HOME TONE) */
.btn.btn-outline{
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;

  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  color: #0b1b2b; /* DLF Navy */
  background: transparent;

  border: 1px solid rgba(209,183,122,0.6); /* DLF Gold */
  border-radius: 999px;

  text-decoration: none;
  transition: all 0.25s ease;
}

.btn.btn-outline:hover{
  background: rgba(209,183,122,0.12);
  border-color: rgba(209,183,122,0.9);
}
.section-divider{
  width: 100%;
  max-width: 720px;
  height: 1px;
  border: none;
  background: rgba(26,26,26,0.18);
  margin: 44px auto 28px auto;
}
.legacy-anchor-photo {
  text-align: center;
}

.legacy-anchor-photo img {
  display: inline-block;
}

.legacy-anchor-photo figcaption {
  margin-top: 10px;
}
.legacy-caption {
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

.legacy-caption strong {
  font-size: 1rem;
  color: #222;
  letter-spacing: 0.4px;
}

.legacy-caption .pedigree {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

.working-hero {
  position: relative;
  overflow: hidden;
}

.working-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
  pointer-events: none;
}

.working-hero .page-hero-inner {
  position: relative;
  z-index: 1;
}
.working-master{
  column-count: 2;
  column-gap: 40px;
}

.working-master li{
  break-inside: avoid;
  margin-bottom: 6px;
}

@media (max-width:800px){
  .working-master{
    column-count:1;
  }
}
.page-hero .page-hero-inner::after {
  content: "";
  display: block;
  width: 140px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(
    to right,
    rgba(209,183,122,0),
    rgba(209,183,122,0.85),
    rgba(209,183,122,0)
  );
}
.section-status {
  margin-top: 40px;
}
.status p {
  color: #2f2f2f;
}
.pedigree-notes + .status {
  margin-top: 36px;
}
.dogs-section-block {
  grid-column: 1 / -1;
}
.section-divider {
  width: 100%;
  height: 1px;
  margin: 56px 0;
  background: rgba(0, 0, 0, 0.08);
}
.puppies-box {
  margin-top: 10px;
  padding: 24px 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 14px;
}
/* APPLICATION PAGE — ERAN FEATURE PHOTO */

/* APPLICATION PAGE — ERAN PHOTO */

body.application figure.about-photo{
  margin: 26px auto 36px;
  max-width: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(30,42,61,0.14);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}

body.application figure.about-photo img{
  width:100%;
  height:auto;
  display:block;
}

body.application figure.about-photo figcaption{
  padding:12px 16px 14px;
  font-size:.90rem;
  line-height:1.5;
  opacity:.86;
  background:rgba(15,30,43,0.04);
  text-align:center;
}
.page-hero .section-divider{
  width:120px;
  height:2px;
  margin:24px auto 0;
  background:#d1b77a;
  opacity:.9;
}