/*
Theme Name: Duck Family Reunion
Theme URI: https://mainstreetsiteco.com/
Author: Main Street Website Company
Author URI: https://mainstreetsiteco.com/
Description: A warm, heritage-style WordPress theme for family reunion websites, built around a dark green & antique cream palette with script and serif typography. Every homepage section — hero, event details, scrapbook photos, quick links, and newsletter — is editable from Appearance > Customize > Reunion Homepage.
Version: 1.1.15
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: duck-family-reunion
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =============================================================
   0. Design tokens
   (color vars below are overridden inline by inc/customizer.php
   -> dfr_customizer_css(), so keep the --dfr-* names in sync)
============================================================= */
:root{
  --dfr-green-dark:  #16321f;
  --dfr-green:       #1e4028;
  --dfr-cream:       #f4ecd8;
  --dfr-gold:        #b7943f;

  /* derived / fixed tokens, not exposed in the Customizer */
  --dfr-cream-light: #f9f4e6;
  --dfr-parchment:   #ece0c2;
  --dfr-brown-dark:  #2b2013;
  --dfr-brown:       #4a3826;
  --dfr-gold-light:  #cdae74;
  --dfr-white:       #fffdf8;

  --dfr-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --dfr-font-script:  'Alex Brush', 'Brush Script MT', cursive;
  --dfr-font-body:    'EB Garamond', Georgia, serif;
  --dfr-font-ui:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --dfr-radius: 4px;
  --dfr-shadow: 0 12px 32px rgba(30, 20, 10, .18);
  --dfr-container: 1180px;
}

/* =============================================================
   1. Base / reset
============================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--dfr-cream-light);
  color: var(--dfr-brown-dark);
  font-family: var(--dfr-font-body);
  font-size: 18px;
  line-height: 1.65;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6{ font-family: var(--dfr-font-display); font-weight: 700; color: var(--dfr-brown-dark); margin: 0 0 .5em; }
p{ margin: 0 0 1em; }
button{ font-family: inherit; }

.screen-reader-text{
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}
.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--dfr-gold);
  color: var(--dfr-white);
  padding: 12px 20px;
  font-family: var(--dfr-font-ui);
}
.skip-link:focus{ left: 10px; top: 10px; }
:focus-visible{ outline: 3px solid var(--dfr-gold); outline-offset: 3px; }

.dfr-container{
  max-width: var(--dfr-container);
  margin: 0 auto;
  padding: 0 32px;
}

.dfr-script{
  font-family: var(--dfr-font-script);
  font-weight: 400;
}

/* =============================================================
   2. Header / navigation
============================================================= */
.dfr-site-header{
  background: var(--dfr-green-dark);
  position: relative;
  z-index: 50;
}
.dfr-header-inner{
  max-width: var(--dfr-container);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.dfr-nav-left, .dfr-nav-right{ flex: 1; min-width: 0; }
.dfr-nav-left .dfr-primary-nav ul{ display: flex; gap: 32px; justify-content: flex-start; flex-wrap: wrap; }
.dfr-nav-right .dfr-primary-nav ul{ display: flex; gap: 32px; justify-content: flex-end; flex-wrap: wrap; }
.dfr-primary-nav a{
  font-family: var(--dfr-font-ui);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--dfr-cream-light);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.dfr-primary-nav a:hover,
.dfr-primary-nav .current-menu-item > a{
  border-bottom-color: var(--dfr-gold-light);
}

.dfr-site-branding{ flex: 0 0 auto; }
.dfr-crest{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--dfr-cream-light);
  border: 1px solid var(--dfr-gold-light);
  border-radius: 999px;
  padding: 12px 32px 10px;
  min-width: 220px;
}
.dfr-crest-icon{ font-size: 26px; line-height: 1; margin-bottom: 4px; display: block; }
.dfr-crest-icon-image{ width: 52px; height: 52px; object-fit: contain; }
.dfr-crest-name{
  font-family: var(--dfr-font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .05em;
  color: var(--dfr-brown-dark);
}
.dfr-crest-sub{
  font-family: var(--dfr-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--dfr-gold);
  margin: 1px 0 7px;
}
.dfr-crest-est{
  font-family: var(--dfr-font-ui);
  font-size: 10px;
  letter-spacing: .16em;
  background: var(--dfr-gold);
  color: var(--dfr-white);
  padding: 3px 14px;
  border-radius: 999px;
}
/* custom-logo variant */
.dfr-site-branding .custom-logo{
  max-width: 275px;
  width: auto;
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--dfr-gold-light);
}
body.dfr-logo-no-border .dfr-site-branding .custom-logo{
  border: none;
  border-radius: 0;
}

.dfr-nav-toggle{
  display: none;
  background: transparent;
  border: 1px solid var(--dfr-gold-light);
  color: var(--dfr-cream-light);
  border-radius: var(--dfr-radius);
  padding: 8px 10px;
  cursor: pointer;
}
.dfr-nav-toggle .dashicons{ font-size: 20px; width: 20px; height: 20px; }

/* =============================================================
   3. Hero
============================================================= */
.dfr-hero{
  position: relative;
  border-top: 0 solid var(--dfr-gold-light);
  background: linear-gradient(180deg, rgba(20,28,18,.4), rgba(20,28,18,.6)), var(--dfr-green-dark);
  background-size: cover;
  background-position: center;
  color: var(--dfr-white);
  text-align: center;
  padding: 70px 24px 90px;
  overflow: hidden;
}
.dfr-hero-inner{ max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.dfr-hero-eyebrow{
  display: block;
  font-size: 38px;
  color: var(--dfr-white);
  margin-bottom: -6px;
}
.dfr-hero-title{
  font-size: clamp(38px, 6vw, 66px);
  letter-spacing: .03em;
  line-height: 1.05;
  color: var(--dfr-white);
  text-shadow: 0 3px 20px rgba(0,0,0,.35);
  margin-bottom: 0;
}
.dfr-hero-title .dfr-script{
  display: block;
  font-size: clamp(46px, 7.5vw, 84px);
  margin-top: -8px;
}
.dfr-hero-divider{
  width: 90px;
  border: none;
  border-top: 1px solid var(--dfr-gold-light);
  margin: 22px auto;
}
.dfr-hero-tagline{
  font-family: var(--dfr-font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--dfr-cream-light);
  margin: 0;
}

/* =============================================================
   4. Event details bar
============================================================= */
.dfr-event-bar{
  padding: 0 24px;
  margin-top: -48px;
  position: relative;
  z-index: 10;
}
.dfr-event-bar-inner{
  max-width: 1060px;
  margin: 0 auto;
  background: var(--dfr-parchment);
  border: 1px solid var(--dfr-gold-light);
  border-radius: var(--dfr-radius);
  box-shadow: var(--dfr-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding: 28px 46px;
}
.dfr-event-item{ display: flex; align-items: center; gap: 14px; }
.dfr-event-item .dashicons, .dfr-event-item .dfr-custom-icon{ font-size: 28px; width: 28px; height: 28px; color: var(--dfr-brown); flex: 0 0 28px; }
.dfr-event-item .dfr-custom-icon{ object-fit: contain; display: block; }
.dfr-event-item strong{ display: block; font-family: var(--dfr-font-display); font-size: 17px; }
.dfr-event-item span{ display: block; font-family: var(--dfr-font-ui); font-size: 13.5px; color: var(--dfr-brown); }
.dfr-event-cta{ text-align: center; }
.dfr-event-cta small{
  display: block;
  margin-top: 8px;
  font-family: var(--dfr-font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--dfr-brown);
}

/* Stylized standalone treatment shown in place of the RSVP button when
   the RSVP button is hidden — keeps the footnote text but dresses it
   up so it fills the space intentionally instead of leaving a gap. */
.dfr-event-cta-solo{ padding: 4px 6px; }
.dfr-event-cta-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
}
.dfr-event-cta-rule{
  width: 56px;
  height: 1px;
  background: var(--dfr-gold-light);
  display: inline-block;
}
.dfr-event-cta-glyph{
  color: var(--dfr-gold);
  font-size: 13px;
  line-height: 1;
}
.dfr-event-cta-note{
  font-family: var(--dfr-font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.3;
  color: var(--dfr-green-dark);
  margin: 0;
}

.dfr-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dfr-green);
  color: var(--dfr-cream-light);
  font-family: var(--dfr-font-ui);
  font-size: 14.5px;
  letter-spacing: .02em;
  padding: 13px 26px;
  border-radius: var(--dfr-radius);
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.dfr-btn:hover{ background: var(--dfr-green-dark); transform: translateY(-1px); }
.dfr-btn .dashicons, .dfr-btn .dfr-custom-icon{ font-size: 16px; width: 16px; height: 16px; flex: 0 0 16px; }
.dfr-btn .dfr-custom-icon{ object-fit: contain; display: block; }

/* =============================================================
   5. Intro + scrapbook
============================================================= */
.dfr-intro{ padding: 100px 0 70px; }
.dfr-intro-grid{
  max-width: var(--dfr-container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* Center the introductory copy and decorative treatment. */
.dfr-intro-copy{ text-align: center; }
.dfr-intro-text{ text-align: center; }
.dfr-intro-motto{ justify-content: center; }

.dfr-intro-heading{
  font-family: var(--dfr-font-script);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 22px;
}
.dfr-intro-text{ font-size: 18px; color: var(--dfr-brown); }
.dfr-intro-text p:last-child{ margin-bottom: 0; }
.dfr-intro-text a{ color: var(--dfr-green); text-decoration: underline; text-underline-offset: 2px; }
.dfr-intro-divider{ display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px 0 14px; min-height: 48px; }
.dfr-intro-rule{ position: relative; display: block; width: 92px; height: 1px; background: var(--dfr-gold-light); flex: 0 1 92px; }
.dfr-intro-rule::after{ content: "✣"; position: absolute; top: 50%; transform: translateY(-55%); color: var(--dfr-gold); font-size: 10px; line-height: 1; }
.dfr-intro-rule-left::after{ right: -1px; }
.dfr-intro-rule-right::after{ left: -1px; }
.dfr-intro-glyph{ display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 48px; flex: 0 0 72px; font-size: 42px; line-height: 1; }
.dfr-intro-glyph.dfr-decorative-glyph{ width: 72px; height: 48px; object-fit: contain; display: inline-flex; align-items: center; justify-content: center; }
.dfr-intro-motto{
  font-family: var(--dfr-font-display);
  font-style: italic;
  font-size: 21px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dfr-scrapbook{ position: relative; min-height: 380px; }
.dfr-scrapbook img{
  position: absolute;
  border: 8px solid var(--dfr-white);
  box-shadow: var(--dfr-shadow);
  object-fit: cover;
  border-radius: 2px;
}
.dfr-scrapbook .photo-1{ width: 48%; aspect-ratio: 4/5; top: 0; left: 0; transform: rotate(-3deg); z-index: 2; }
.dfr-scrapbook .photo-2{ width: 42%; aspect-ratio: 5/4; top: 6%; right: 0; transform: rotate(3deg); z-index: 1; }
.dfr-scrapbook .photo-3{ width: 30%; aspect-ratio: 4/5; bottom: 0; left: 18%; transform: rotate(-4deg); z-index: 3; }
.dfr-scrapbook .photo-4{ width: 38%; aspect-ratio: 4/5; bottom: -6%; right: 2%; transform: rotate(4deg); z-index: 3; }

/* =============================================================
   6. Quick link cards
============================================================= */
.dfr-quicklinks{ padding: 10px 0 100px; }
.dfr-quicklinks-grid{
  max-width: var(--dfr-container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.dfr-card{
  display: block;
  text-align: center;
  background: var(--dfr-parchment);
  border: 1px solid var(--dfr-gold-light);
  border-radius: var(--dfr-radius);
  padding: 32px 16px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dfr-card:hover{ transform: translateY(-4px); box-shadow: var(--dfr-shadow); }
.dfr-card .dashicons, .dfr-card .dfr-custom-icon{ font-size: 32px; width: 32px; height: 32px; color: var(--dfr-green); margin-bottom: 14px; display: block; margin-left: auto; margin-right: auto; }
.dfr-card .dfr-custom-icon{ object-fit: contain; }
.dfr-card-arrow{ display: inline-flex; width: 12px; height: 12px; align-items: center; justify-content: center; vertical-align: -1px; margin-left: 3px; font-size: 15px; line-height: 1; }
.dfr-card-arrow.dfr-decorative-glyph{ width: 12px; height: 12px; object-fit: contain; display: inline-flex; align-items: center; justify-content: center; }
.dfr-card h3{ font-size: 17px; margin-bottom: 4px; }
.dfr-card p{ font-family: var(--dfr-font-ui); font-size: 12.5px; color: var(--dfr-brown); margin: 0; }

/* =============================================================
   7. "More than a reunion" band
============================================================= */
.dfr-band{ background: var(--dfr-green-dark); color: var(--dfr-cream-light); padding: 90px 0; }
.dfr-band-grid{
  max-width: var(--dfr-container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.dfr-band-photo-wrap img{
  border: 8px solid var(--dfr-cream-light);
  box-shadow: var(--dfr-shadow);
  border-radius: 2px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
/* Center the “More Than a Reunion” copy and quote. */
.dfr-band-copy{ text-align: center; }
.dfr-band-text{ text-align: center; }

.dfr-band-copy h2{
  font-family: var(--dfr-font-script);
  font-weight: 400;
  font-size: 44px;
  color: var(--dfr-white);
  margin-bottom: 16px;
}
.dfr-band-copy p, .dfr-band-text{ font-size: 18px; color: rgba(249,244,230,.9); }
.dfr-band-text p:last-child{ margin-bottom: 0; }
.dfr-band-text a{ color: var(--dfr-cream-light); text-decoration: underline; text-underline-offset: 2px; }
.dfr-band-divider{ display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin: 22px 0 18px; }
.dfr-band-divider::before, .dfr-band-divider::after{ content: ""; height: 1px; background: var(--dfr-gold-light); flex: 1 1 auto; max-width: 120px; }
.dfr-band-glyph{ display: inline-flex; width: 28px; height: 28px; flex: 0 0 28px; align-items: center; justify-content: center; color: var(--dfr-gold-light); font-size: 20px; line-height: 1; }
.dfr-band-glyph.dfr-decorative-glyph{ width: 28px; height: 28px; object-fit: contain; display: inline-flex; align-items: center; justify-content: center; }
.dfr-band-quote{
  font-family: var(--dfr-font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--dfr-cream-light);
  margin: 0;
}

/* =============================================================
   8. Newsletter
============================================================= */
.dfr-newsletter{
  background: var(--dfr-cream);
  border-top: 1px solid var(--dfr-gold-light);
  border-bottom: 1px solid var(--dfr-gold-light);
  padding: 38px 0;
}
.dfr-color-divider{
  height: 6px;
  background: var(--dfr-cream);
}
.dfr-newsletter-inner{
  max-width: var(--dfr-container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.dfr-newsletter-left{ display: flex; align-items: center; gap: 18px; }
.dfr-newsletter-left .dashicons, .dfr-newsletter-left .dfr-custom-icon{ font-size: 30px; width: 30px; height: 30px; color: var(--dfr-gold); flex-shrink: 0; }
.dfr-newsletter-left .dfr-custom-icon{ object-fit: contain; display: block; }
.dfr-newsletter-left h3{ font-size: 28px; margin-bottom: 2px; }
.dfr-newsletter-left p{ margin: 0; font-family: var(--dfr-font-ui); font-size: 13.5px; color: var(--dfr-brown); }
.dfr-newsletter-form{ display: flex; gap: 10px; flex-wrap: wrap; }
.dfr-newsletter-form input[type="email"]{
  font-family: var(--dfr-font-ui);
  font-size: 14px;
  padding: 13px 18px;
  border: 1px solid var(--dfr-gold-light);
  border-radius: var(--dfr-radius);
  background: var(--dfr-cream-light);
  min-width: 260px;
}
.dfr-newsletter-form button{
  font-family: var(--dfr-font-ui);
  font-size: 14px;
  background: var(--dfr-green);
  color: var(--dfr-cream-light);
  border: none;
  padding: 13px 26px;
  border-radius: var(--dfr-radius);
  cursor: pointer;
  transition: background .2s ease;
}
.dfr-newsletter-form button:hover{ background: var(--dfr-green-dark); }

/* =============================================================
   9. Footer
============================================================= */
.dfr-site-footer{ background: var(--dfr-green-dark); color: var(--dfr-cream-light); padding: 26px 0; }
.dfr-footer-inner{
  max-width: var(--dfr-container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.dfr-footer-brand{ display: flex; align-items: center; gap: 12px; }
.dfr-footer-brand .dashicons, .dfr-footer-brand .dfr-custom-icon{ font-size: 24px; width: 24px; height: 24px; color: var(--dfr-cream-light); flex: 0 0 24px; }
.dfr-footer-brand .dfr-custom-icon{ object-fit: contain; display: block; }
.dfr-footer-brand strong{ display: block; font-family: var(--dfr-font-display); font-size: 15px; }
.dfr-footer-brand span{ display: block; font-family: var(--dfr-font-ui); font-size: 11px; color: var(--dfr-gold-light); }
.dfr-footer-nav ul{ display: flex; gap: 18px; flex-wrap: wrap; }
.dfr-footer-nav a{ font-family: var(--dfr-font-ui); font-size: 12.5px; color: var(--dfr-cream-light); opacity: .85; }
.dfr-footer-nav a:hover{ opacity: 1; text-decoration: underline; }
.dfr-footer-tagline{
  width: 100%;
  text-align: center;
  font-family: var(--dfr-font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--dfr-gold-light);
  margin: 8px 0 0;
}
.dfr-footer-credit{
  width: 100%;
  text-align: center;
  font-family: var(--dfr-font-ui);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: rgba(249,244,230,.55);
  margin: 6px 0 0;
}
.dfr-footer-credit a{
  color: rgba(249,244,230,.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dfr-footer-credit a:hover{ color: var(--dfr-gold-light); }

/* =============================================================
   10. Inner pages: page hero, content, blog list, comments
============================================================= */
.dfr-page-hero{
  background: var(--dfr-green-dark);
  color: var(--dfr-white);
  text-align: center;
  padding: 70px 24px 50px;
}
.dfr-page-hero h1{ color: var(--dfr-white); font-size: clamp(32px, 5vw, 50px); margin: 0; }
.dfr-page-hero span{ color: var(--dfr-gold-light); }

.dfr-content-wrap{
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 32px;
}
.dfr-content-wrap .entry-content img,
.dfr-page-thumb img{ border-radius: var(--dfr-radius); margin: 0 0 1.4em; }
.dfr-content-wrap .entry-content h2{ font-size: 30px; margin-top: 1.2em; }
.dfr-content-wrap .entry-content blockquote{
  border-left: 3px solid var(--dfr-gold);
  margin: 1.6em 0;
  padding: .2em 0 .2em 1.4em;
  font-family: var(--dfr-font-display);
  font-style: italic;
  color: var(--dfr-brown);
}

/* Page & post body links — editable separately from nav/button colors
   under Appearance > Customize > Page & Post Link Styles. Scoped to
   inner-page content only, so the homepage is unaffected. */
.dfr-content-wrap a,
.dfr-comments a{
  color: var(--dfr-link-color, var(--dfr-green));
  text-decoration: var(--dfr-link-decoration, none);
  text-underline-offset: 3px;
}
.dfr-content-wrap a:hover,
.dfr-content-wrap a:focus,
.dfr-comments a:hover,
.dfr-comments a:focus{
  color: var(--dfr-link-hover-color, var(--dfr-gold));
  text-decoration: var(--dfr-link-hover-decoration, underline);
}
.dfr-content-wrap .entry-title a,
.dfr-content-wrap .comments-title{
  /* Titles keep the theme's heading color, not the body-link color,
     so link styling changes don't discolor headings. */
  color: var(--dfr-brown-dark);
  text-decoration: none;
}
.dfr-content-wrap .entry-title a:hover{
  color: var(--dfr-link-hover-color, var(--dfr-gold));
}
.dfr-content-wrap article{ margin-bottom: 60px; padding-bottom: 50px; border-bottom: 1px solid var(--dfr-parchment); }
.dfr-content-wrap article:last-child{ border-bottom: none; }
.entry-title{ font-size: 28px; margin-bottom: 6px; }
.entry-meta{
  font-family: var(--dfr-font-ui);
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--dfr-gold);
  margin-bottom: 14px;
}
.entry-tags{ font-family: var(--dfr-font-ui); font-size: 13px; color: var(--dfr-brown); margin-top: 20px; }
.page-links{ font-family: var(--dfr-font-ui); font-size: 14px; margin-top: 20px; }

.dfr-pagination{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--dfr-font-ui);
  font-size: 14px;
  padding-top: 20px;
}
.dfr-pagination a{
  padding: 10px 18px;
  border: 1px solid var(--dfr-gold-light);
  border-radius: var(--dfr-radius);
}
.dfr-pagination a:hover{ background: var(--dfr-parchment); }

.dfr-search-form{ display: flex; gap: 10px; }
.dfr-search-form input[type="search"]{
  flex: 1;
  font-family: var(--dfr-font-ui);
  font-size: 14px;
  padding: 13px 18px;
  border: 1px solid var(--dfr-gold-light);
  border-radius: var(--dfr-radius);
  background: var(--dfr-cream-light);
}

.dfr-comments{
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.comments-title{ font-size: 24px; margin-bottom: 24px; }
.comment-list{ margin: 0 0 30px; }
.comment-list li{ border-bottom: 1px solid var(--dfr-parchment); padding-bottom: 22px; margin-bottom: 22px; }
.comment-list .children{ margin-top: 22px; margin-left: 30px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
  width: 100%;
  font-family: var(--dfr-font-ui);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--dfr-gold-light);
  border-radius: var(--dfr-radius);
  margin-bottom: 14px;
  background: var(--dfr-cream-light);
}
.comment-form label{ display: block; font-family: var(--dfr-font-ui); font-size: 13px; margin-bottom: 6px; }
.no-comments{ font-family: var(--dfr-font-ui); color: var(--dfr-brown); }

/* =============================================================
   11. Responsive
============================================================= */
@media (max-width: 1024px){
  .dfr-quicklinks-grid{ grid-template-columns: repeat(3, 1fr); }
  .dfr-intro-grid, .dfr-band-grid{ grid-template-columns: 1fr; }
  .dfr-scrapbook{ min-height: 320px; margin-top: 30px; }
}
@media (max-width: 860px){
  .dfr-nav-left, .dfr-nav-right{ display: none; }
  .dfr-nav-toggle{ display: inline-flex; align-items: center; justify-content: center; }
  .dfr-header-inner{ justify-content: space-between; }
  .dfr-site-header.dfr-nav-open .dfr-nav-left,
  .dfr-site-header.dfr-nav-open .dfr-nav-right{
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dfr-green-dark);
    padding: 10px 32px 20px;
  }
  .dfr-site-header.dfr-nav-open .dfr-nav-right{ padding-top: 0; }
  .dfr-nav-left .dfr-primary-nav ul,
  .dfr-nav-right .dfr-primary-nav ul{ flex-direction: column; gap: 14px; }
  .dfr-event-bar-inner{ flex-direction: column; text-align: center; padding: 28px 26px; }
  .dfr-quicklinks-grid{ grid-template-columns: repeat(2, 1fr); }
  .dfr-newsletter-inner{ flex-direction: column; align-items: flex-start; }
  .dfr-newsletter-form{ width: 100%; }
  .dfr-newsletter-form input[type="email"]{ flex: 1; min-width: 0; }
  .dfr-footer-inner{ flex-direction: column; text-align: center; }
  .dfr-footer-nav ul{ justify-content: center; }
}
@media (max-width: 520px){
  .dfr-quicklinks-grid{ grid-template-columns: 1fr 1fr; }
  .dfr-crest{ min-width: 190px; padding: 10px 22px 8px; }
  .dfr-hero{ padding: 56px 18px 80px; }
  .dfr-pagination{ flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}


/* =============================================================
   Decorative replacement images — individual target boxes
   ============================================================= */
.dfr-decorative-icon.dfr-custom-icon{
  display: block;
  object-fit: contain;
  object-position: center;
  max-width: 100%;
}
.dfr-event-item .dfr-custom-icon,
.dfr-event-item .dfr-event-icon.dfr-custom-icon{ width:28px; height:28px; flex:0 0 28px; }
.dfr-btn .dfr-custom-icon,
.dfr-btn .dfr-rsvp-icon.dfr-custom-icon{ width:16px; height:16px; flex:0 0 16px; }
.dfr-card .dfr-card-icon.dfr-custom-icon{ width:32px; height:32px; flex:0 0 32px; }
.dfr-newsletter-left .dfr-custom-icon,
.dfr-newsletter-icon.dfr-custom-icon{ width:30px; height:30px; flex:0 0 30px; }
.dfr-footer-brand .dfr-custom-icon,
.dfr-footer-icon.dfr-custom-icon{ width:24px; height:24px; flex:0 0 24px; }
.dfr-crest .dfr-custom-icon,
.dfr-crest-icon.dfr-custom-icon{ width:52px; height:52px; flex:0 0 52px; }

.dfr-decorative-glyph img,
.dfr-decorative-glyph.dfr-custom-icon{
  object-fit: contain;
  object-position: center;
  max-width: 100%;
}



/* =============================================================
   8.5. Simple family photo gallery + lightbox
============================================================= */
.dfr-gallery{
  background: var(--dfr-cream-light);
  padding: 78px 0 84px;
  border-top: 1px solid var(--dfr-gold-light);
}
.dfr-gallery-inner{
  max-width: var(--dfr-container);
  margin: 0 auto;
  padding: 0 32px;
}
.dfr-gallery-heading{
  text-align: center;
  font-size: 42px;
  font-weight: 400;
  color: var(--dfr-brown-dark);
  margin: 0 0 10px;
}
.dfr-gallery-subtext{
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--dfr-brown);
  font-size: 17px;
}
.dfr-gallery-subtext p:last-child{ margin-bottom: 0; }
.dfr-gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.dfr-gallery-item{
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--dfr-gold-light);
  border-radius: var(--dfr-radius);
  background: var(--dfr-parchment);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dfr-gallery-item:hover,
.dfr-gallery-item:focus-visible{
  transform: translateY(-3px);
  box-shadow: var(--dfr-shadow);
  outline: none;
}
.dfr-gallery-item:focus-visible{ outline: 2px solid var(--dfr-gold); outline-offset: 3px; }
.dfr-gallery-item img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.dfr-lightbox[hidden]{ display: none; }
.dfr-lightbox{
  position: fixed;
  inset: 0;
  z-index: 99999;
}
.dfr-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(22,50,31,.88);
}
.dfr-lightbox-dialog{
  position: relative;
  z-index: 1;
  width: min(94vw, 1180px);
  max-height: 94vh;
  margin: 3vh auto;
  padding: 28px 64px 24px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  background: var(--dfr-cream-light);
  border: 1px solid var(--dfr-gold-light);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  overflow: auto;
}
.dfr-lightbox-media{
  grid-column: 2;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dfr-lightbox-image{
  display: block;
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.dfr-lightbox-info{
  grid-column: 2;
  text-align: center;
  padding: 18px 18px 0;
}
.dfr-lightbox-title{
  margin: 0 0 5px;
  color: var(--dfr-brown-dark);
  font-size: 23px;
}
.dfr-lightbox-description{
  margin: 0;
  color: var(--dfr-brown);
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-line;
}
.dfr-lightbox-description[hidden],
.dfr-lightbox-title[hidden]{ display: none; }
.dfr-lightbox-close,
.dfr-lightbox-prev,
.dfr-lightbox-next{
  border: 1px solid var(--dfr-gold-light);
  background: var(--dfr-cream);
  color: var(--dfr-brown-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.dfr-lightbox-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 26px;
}
.dfr-lightbox-prev,
.dfr-lightbox-next{
  width: 42px;
  height: 56px;
  font-size: 38px;
}
.dfr-lightbox-prev{ grid-column: 1; grid-row: 1; }
.dfr-lightbox-next{ grid-column: 3; grid-row: 1; }
.dfr-lightbox-close:hover,
.dfr-lightbox-close:focus-visible,
.dfr-lightbox-prev:hover,
.dfr-lightbox-prev:focus-visible,
.dfr-lightbox-next:hover,
.dfr-lightbox-next:focus-visible{
  background: var(--dfr-parchment);
  outline: 2px solid var(--dfr-gold);
  outline-offset: 2px;
}
body.dfr-lightbox-open{ overflow: hidden; }

@media (max-width: 900px){
  .dfr-gallery-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px){
  .dfr-gallery{ padding: 58px 0 64px; }
  .dfr-gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dfr-gallery-heading{ font-size: 34px; }
  .dfr-lightbox-dialog{
    width: 96vw;
    margin: 2vh auto;
    padding: 48px 12px 18px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }
  .dfr-lightbox-image{ max-height: 62vh; }
  .dfr-lightbox-prev,
  .dfr-lightbox-next{ width: 34px; height: 48px; font-size: 30px; }
  .dfr-lightbox-info{ padding-left: 8px; padding-right: 8px; }
}


/* =============================================================
   12. Family recipe index + recipe cards
============================================================= */
.dfr-front-header .dfr-site-branding{ position: relative; z-index: 70; }
.dfr-front-header .dfr-site-branding .custom-logo{
  position: relative;
  z-index: 71;
  transform: translateY(var(--dfr-logo-overlap, 0px));
  transform-origin: center top;
}
.dfr-recipe-index-hero{
  background: var(--dfr-green-dark);
  color: var(--dfr-white);
  text-align: center;
  padding: 72px 24px 68px;
  border-bottom: 1px solid var(--dfr-gold-light);
}
.dfr-recipe-index-inner{ max-width: 860px; margin: 0 auto; }
.dfr-recipe-kicker{ text-transform: uppercase; letter-spacing: .22em; font-family: var(--dfr-font-ui); font-size: 11px; color: var(--dfr-gold-light); margin-bottom: 8px; }
.dfr-recipe-index-hero h1{ color: var(--dfr-white); font-size: clamp(46px, 7vw, 76px); font-weight: 400; margin: 0 0 12px; }
.dfr-recipe-index-intro{ max-width: 720px; margin: 0 auto; color: var(--dfr-cream-light); font-size: 18px; }
.dfr-recipe-index-intro p:last-child{ margin-bottom: 0; }
.dfr-recipe-browser{ background: var(--dfr-cream-light); padding: 48px 0 80px; }
.dfr-recipe-browser-inner{ max-width: var(--dfr-container); margin: 0 auto; padding: 0 32px; }
.dfr-recipe-filters{ display: grid; grid-template-columns: minmax(0, 1fr) 240px auto auto; gap: 10px; align-items: center; max-width: 980px; margin: 0 auto 28px; }
.dfr-recipe-filters input,
.dfr-recipe-filters select{ width: 100%; min-height: 46px; border: 1px solid var(--dfr-gold-light); background: var(--dfr-white); color: var(--dfr-brown-dark); padding: 9px 12px; font: 16px var(--dfr-font-body); }
.dfr-recipe-filters button{ min-height: 46px; border: 1px solid var(--dfr-green); background: var(--dfr-green); color: var(--dfr-white); padding: 9px 18px; cursor: pointer; font-family: var(--dfr-font-ui); }
.dfr-recipe-clear{ font-family: var(--dfr-font-ui); font-size: 13px; color: var(--dfr-green); text-decoration: underline; white-space: nowrap; }
.dfr-recipe-letters{ display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 16px 0 36px; border-bottom: 1px solid var(--dfr-gold-light); }
.dfr-recipe-letters a,
.dfr-recipe-letters span{ width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--dfr-gold-light); font-family: var(--dfr-font-ui); font-size: 12px; }
.dfr-recipe-letters a{ background: var(--dfr-parchment); color: var(--dfr-green); }
.dfr-recipe-letters span{ opacity: .35; }
.dfr-recipe-letter-group{ padding-top: 36px; scroll-margin-top: 30px; }
.dfr-recipe-letter-group > h2{ font-size: 42px; font-weight: 400; color: var(--dfr-gold); border-bottom: 1px solid var(--dfr-gold-light); padding-bottom: 4px; margin-bottom: 18px; }
.dfr-recipe-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dfr-recipe-card{ background: var(--dfr-white); border: 1px solid var(--dfr-gold-light); box-shadow: 0 7px 22px rgba(30,20,10,.08); transition: transform .2s ease, box-shadow .2s ease; }
.dfr-recipe-card:hover{ transform: translateY(-3px); box-shadow: var(--dfr-shadow); }
.dfr-recipe-card-image{ display: block; background: var(--dfr-parchment); overflow: hidden; }
.dfr-recipe-card-image img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.dfr-recipe-card-body{ padding: 20px 20px 22px; }
.dfr-recipe-card-category{ font-family: var(--dfr-font-ui); text-transform: uppercase; letter-spacing: .14em; color: var(--dfr-gold); font-size: 10px; margin-bottom: 5px; }
.dfr-recipe-card h2{ font-size: 25px; line-height: 1.15; margin-bottom: 7px; }
.dfr-recipe-card-source{ font-family: var(--dfr-font-script); color: var(--dfr-green); font-size: 20px; margin-bottom: 9px; }
.dfr-recipe-card-excerpt{ color: var(--dfr-brown); font-size: 15px; line-height: 1.5; }
.dfr-recipe-card-link{ display: inline-block; margin-top: 12px; font-family: var(--dfr-font-ui); font-size: 12px; letter-spacing: .06em; color: var(--dfr-green); text-transform: uppercase; }
.dfr-recipe-card-link span{ font-size: 17px; }
.dfr-recipe-empty{ max-width: 650px; margin: 50px auto; padding: 45px; text-align: center; background: var(--dfr-parchment); border: 1px solid var(--dfr-gold-light); }
.dfr-recipe-empty h2{ font-size: 32px; font-weight: 400; }

/* Single recipe */
.dfr-single-recipe{ background: var(--dfr-cream-light); padding: 55px 0 80px; }
.dfr-single-recipe-wrap{ max-width: 1040px; margin: 0 auto; padding: 0 32px; }
.dfr-back-to-recipes{ display: inline-block; font-family: var(--dfr-font-ui); font-size: 12px; color: var(--dfr-green); margin-bottom: 22px; }
.dfr-single-recipe-header{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: 40px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--dfr-gold-light); }
.dfr-single-recipe-header h1{ font-size: clamp(40px, 6vw, 64px); line-height: 1.05; margin-bottom: 8px; }
.dfr-single-recipe-source{ font-family: var(--dfr-font-script); font-size: 24px; color: var(--dfr-green); }
.dfr-single-recipe-photo img{ width: 100%; border: 1px solid var(--dfr-gold-light); }
.dfr-recipe-meta-strip{ display: flex; justify-content: center; gap: 0; margin: 28px 0 36px; border: 1px solid var(--dfr-gold-light); background: var(--dfr-parchment); }
.dfr-recipe-meta-strip div{ min-width: 150px; padding: 14px 20px; text-align: center; border-right: 1px solid var(--dfr-gold-light); }
.dfr-recipe-meta-strip div:last-child{ border-right: 0; }
.dfr-recipe-meta-strip strong{ display: block; font-family: var(--dfr-font-ui); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; color: var(--dfr-gold); }
.dfr-recipe-meta-strip span{ display: block; margin-top: 2px; color: var(--dfr-brown-dark); }
.dfr-recipe-body-grid{ display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.dfr-recipe-ingredients{ background: var(--dfr-parchment); border: 1px solid var(--dfr-gold-light); padding: 25px 26px; }
.dfr-recipe-ingredients h2,
.dfr-recipe-instructions h2,
.dfr-recipe-family-notes h2{ font-size: 30px; font-weight: 400; margin-bottom: 14px; }
.dfr-recipe-ingredients ul{ list-style: none; margin: 0; padding: 0; }
.dfr-recipe-ingredients li{ padding: 7px 0 7px 18px; border-bottom: 1px solid rgba(183,148,63,.25); position: relative; }
.dfr-recipe-ingredients li::before{ content: '•'; position: absolute; left: 0; color: var(--dfr-gold); }
.dfr-recipe-instructions .entry-content{ font-size: 19px; }
.dfr-recipe-family-notes{ margin-top: 44px; padding: 28px 32px; background: var(--dfr-green-dark); color: var(--dfr-cream-light); border: 1px solid var(--dfr-gold-light); }
.dfr-recipe-family-notes h2{ color: var(--dfr-gold-light); }
.dfr-recipe-family-notes p{ margin: 0; }

@media (max-width: 900px){
  .dfr-recipe-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dfr-recipe-filters{ grid-template-columns: 1fr 1fr; }
  .dfr-recipe-filters button{ width: 100%; }
  .dfr-recipe-clear{ justify-self: start; }
  .dfr-single-recipe-header{ grid-template-columns: 1fr; }
  .dfr-single-recipe-photo{ max-width: 560px; }
}
@media (max-width: 620px){
  .dfr-recipe-browser-inner,.dfr-single-recipe-wrap{ padding-left: 18px; padding-right: 18px; }
  .dfr-recipe-grid{ grid-template-columns: 1fr; }
  .dfr-recipe-filters{ grid-template-columns: 1fr; }
  .dfr-recipe-meta-strip{ flex-direction: column; }
  .dfr-recipe-meta-strip div{ border-right: 0; border-bottom: 1px solid var(--dfr-gold-light); }
  .dfr-recipe-meta-strip div:last-child{ border-bottom: 0; }
  .dfr-recipe-letters{ gap: 4px; }
  .dfr-recipe-letters a,.dfr-recipe-letters span{ width: 27px; height: 27px; }
  .dfr-recipe-body-grid{ grid-template-columns: 1fr; gap: 30px; }
}
