/*
Theme Name: DINKFOLK
Theme URI: https://dinkfolk.com
Author: DINKFOLK
Author URI: https://dinkfolk.com
Description: A luxury lifestyle magazine theme for DINKs — dual-income, no-kids couples designing life on their own terms. Built for Elementor Pro with a cinematic hero slider, editorial grid layouts, and a refined dark aesthetic.
Version: 2.0.2
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dinkfolk
Tags: magazine, blog, elementor, luxury, dark, full-width-template

*/

/* ==========================================================================
   CSS Custom Properties — Design Tokens
   ========================================================================== */

:root {
  /* Palette */
  --df-black:        #0a0a0a;
  --df-near-black:   #111111;
  --df-dark:         #1a1a1a;
  --df-mid:          #2a2a2a;
  --df-border:       #2e2e2e;
  --df-muted:        #555555;
  --df-light:        #999999;
  --df-silver:       #cccccc;
  --df-white:        #f5f4f0;
  --df-off-white:    #ede9e0;

  /* Gold / Champagne accent */
  --df-gold:         #c9a96e;
  --df-gold-light:   #dfc08a;
  --df-gold-dark:    #a07840;

  /* Typography */
  --df-font-display: 'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  --df-font-sans:    'Be Vietnam Pro', 'Helvetica Neue', 'Arial', sans-serif;
  --df-font-mono:    'Courier New', monospace;

  /* Spacing */
  --df-gutter:       clamp(1rem, 4vw, 2.5rem);
  --df-container:    1400px;
  --df-container-sm: 860px;

  /* Motion */
  --df-ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --df-ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
  --df-duration:     0.4s;
  --df-duration-slow: 0.8s;

  /* Z-index layers */
  --z-base:    1;
  --z-slider:  10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--df-black);
  color: var(--df-white);
  font-family: var(--df-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--df-duration) var(--df-ease),
              opacity var(--df-duration) var(--df-ease);
}

a:hover {
  color: var(--df-gold);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ==========================================================================
   Typography Scale
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--df-font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--df-white);
}

h1 { font-size: clamp(2.2rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.8vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.6rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.9rem; }

p {
  margin-bottom: 1.25em;
  color: var(--df-silver);
}

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

blockquote {
  font-family: var(--df-font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  border-left: 2px solid var(--df-gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--df-off-white);
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.df-container {
  width: 100%;
  max-width: var(--df-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--df-gutter);
  padding-right: var(--df-gutter);
}

.df-container--sm {
  max-width: var(--df-container-sm);
}

.df-section {
  padding-top: clamp(3rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

.df-grid {
  display: grid;
  gap: var(--df-gutter);
}

/* ==========================================================================
   Category Label
   ========================================================================== */

.df-category {
  display: inline-block;
  font-family: var(--df-font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--df-gold);
  border-top: 1px solid var(--df-gold);
  padding-top: 0.4rem;
  margin-bottom: 0.6rem;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */

.df-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  background: var(--df-black);
}

.df-hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.df-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--df-ease);
  pointer-events: none;
}

.df-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.df-hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s var(--df-ease-out);
}

.df-hero__slide.is-active .df-hero__slide-bg {
  transform: scale(1);
}

.df-hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.15) 0%,
    rgba(10, 10, 10, 0.0) 30%,
    rgba(10, 10, 10, 0.5) 70%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

/* Side article previews (Elite Traveler style) */
.df-hero__panels {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 2rem;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  z-index: var(--z-slider);
}

.df-hero__side {
  padding-bottom: 0.5rem;
}

.df-hero__side--right {
  text-align: right;
}

.df-hero__side-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.df-hero__side-title {
  font-family: var(--df-font-display);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--df-white);
}

.df-hero__side-title:hover {
  color: var(--df-gold-light);
}

/* Centre content */
.df-hero__centre {
  text-align: center;
  padding-bottom: 0.5rem;
}

.df-hero__label {
  display: block;
  font-family: var(--df-font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin-bottom: 0.75rem;
}

.df-hero__title {
  font-family: var(--df-font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  font-weight: 400;
  color: var(--df-white);
  line-height: 1.1;
  letter-spacing: 0.03em;
  max-width: 580px;
  margin: 0 auto 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.df-hero__title a:hover { color: var(--df-gold-light); }

/* Dots navigation */
.df-hero__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 0.25rem;
}

.df-hero__dot {
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  transition: background var(--df-duration) var(--df-ease),
              transform var(--df-duration) var(--df-ease);
}

.df-hero__dot.is-active {
  background: var(--df-gold);
  transform: scaleX(1.3);
}

/* Prev/Next arrows */
.df-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-slider);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color var(--df-duration) var(--df-ease);
}

.df-hero__arrow:hover { color: var(--df-gold); }
.df-hero__arrow--prev { left: 1.5rem; }
.df-hero__arrow--next { right: 1.5rem; }

.df-hero__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* ==========================================================================
   Editorial Grid (Featured Section)
   ========================================================================== */

.df-featured {
  background: var(--df-near-black);
}

.df-featured__grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--df-border);
}

.df-featured__cell {
  background: var(--df-near-black);
  overflow: hidden;
}

/* Top row: 3 small articles */
.df-featured__cell--small {
  padding: var(--df-gutter);
}

/* Centre large article (spans 2 rows) */
.df-featured__cell--main {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  min-height: 520px;
}

.df-featured__cell--main-bottom {
  grid-column: 2;
}

/* Bottom row: 2 small articles */
.df-featured__cell--bottom {
  padding: var(--df-gutter);
}

.df-featured__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--df-duration-slow) var(--df-ease);
}

.df-featured__cell:hover .df-featured__thumb {
  transform: scale(1.04);
}

.df-featured__thumb-wrap {
  overflow: hidden;
}

.df-featured__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform var(--df-duration-slow) var(--df-ease);
}

.df-featured__cell--main:hover .df-featured__main-image {
  transform: scale(1.03);
}

.df-featured__main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0) 55%);
}

.df-featured__main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--df-gutter);
}

.df-featured__small-content {
  padding-top: 0.75rem;
}

.df-featured__title {
  font-family: var(--df-font-display);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--df-white);
  transition: color var(--df-duration) var(--df-ease);
}

.df-featured__title:hover { color: var(--df-gold); }

.df-featured__title--main {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.df-featured__meta {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--df-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.df-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  transition: background var(--df-duration) var(--df-ease),
              border-color var(--df-duration) var(--df-ease);
}

.df-header.is-scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--df-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.df-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 70px;
  padding: 0 var(--df-gutter);
  max-width: var(--df-container);
  margin: 0 auto;
}

.df-header__nav--left,
.df-header__nav--right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.df-header__nav--right {
  justify-content: flex-end;
}

.df-header__nav-link {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--df-silver);
  position: relative;
}

.df-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--df-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--df-duration) var(--df-ease);
}

.df-header__nav-link:hover {
  color: var(--df-white);
}

.df-header__nav-link:hover::after {
  transform: scaleX(1);
}

/* Explicit grid placement — logo stays centred even when left nav is hidden on mobile */
.df-header__nav--left  { grid-column: 1; }
.df-header__logo       { grid-column: 2; text-align: center; }
.df-header__nav--right { grid-column: 3; }

/* Text fallback logo — each property driven by a CSS variable so the admin
   panel can override them without touching this file.                       */
.df-header__logo a {
  font-family: var(--df-logo-font, var(--df-font-display));
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: var(--df-logo-letter-spacing, 0.25em);
  text-transform: none;
  color: var(--df-white);
}

.df-header__logo a:hover {
  color: var(--df-white);
  opacity: 0.8;
}

/* Custom logo image (set via Appearance → Customise → Site Identity)
   NOTE: if your logo image is dark-coloured and appears invisible against
   the dark header, add this to Customise → Additional CSS:
   .df-header__logo .custom-logo { filter: brightness(0) invert(1); }
*/
.df-header__logo .custom-logo-link,
a.custom-logo-link {
  display: inline-flex !important;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.df-header__logo .custom-logo-link:hover {
  opacity: 0.8;
}

/* Override any WordPress or browser default that hides the image */
.df-header__logo .custom-logo,
.df-header__logo img.custom-logo {
  display: block !important;
  visibility: visible !important;
  max-height: 48px !important;
  width: auto !important;
  height: auto !important;
  max-width: 220px;
  object-fit: contain;
}

/* Footer logo */
.df-footer__brand-logo .custom-logo-link {
  display: inline-flex !important;
  align-items: center;
  line-height: 1;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.df-footer__brand-logo .custom-logo,
.df-footer__brand-logo img.custom-logo {
  display: block !important;
  visibility: visible !important;
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.df-footer__brand-logo .custom-logo-link:hover .custom-logo {
  opacity: 1;
}

/* Hamburger (mobile) */
.df-header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  background: none;
  border: none;
}

.df-header__hamburger span {
  display: block;
  height: 1px;
  background: var(--df-white);
  transition: all var(--df-duration) var(--df-ease);
}

/* Search toggle */
.df-header__search-toggle {
  color: var(--df-silver);
  transition: color var(--df-duration) var(--df-ease);
}

.df-header__search-toggle:hover { color: var(--df-gold); }

.df-header__search-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* Mobile nav overlay */
.df-mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--df-black);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--df-duration) var(--df-ease);
}

.df-mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.df-mobile-nav__close {
  position: absolute;
  top: 1.5rem;
  right: var(--df-gutter);
  font-size: 1.5rem;
  color: var(--df-silver);
}

.df-mobile-nav__menu {
  text-align: center;
}

.df-mobile-nav__menu li + li { margin-top: 1.5rem; }

.df-mobile-nav__menu a {
  font-family: var(--df-font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--df-white);
}

.df-mobile-nav__menu a:hover { color: var(--df-gold); }

/* Nav overlay — account / reading-list section */
.df-mobile-nav__account {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.18);
  text-align: center;
}

.df-mobile-nav__account-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--df-font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--df-gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--df-duration) var(--df-ease);
}

.df-mobile-nav__account-link:hover {
  color: var(--df-white);
}

.df-mobile-nav__account-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.df-footer {
  background: var(--df-near-black);
  border-top: 1px solid var(--df-border);
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.df-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--df-gutter);
  margin-bottom: 3rem;
}

.df-footer__brand-name {
  font-family: var(--df-font-display);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: none;
  color: var(--df-white);
  margin-bottom: 0.5rem;
}

.df-footer__brand-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--df-muted);
  margin-bottom: 1.5rem;
}

.df-footer__socials {
  display: flex;
  gap: 1rem;
}

.df-footer__social-link {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--df-muted);
  transition: color var(--df-duration) var(--df-ease);
}

.df-footer__social-link:hover { color: var(--df-gold); }

.df-footer__col-title {
  font-family: var(--df-font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin-bottom: 1.25rem;
}

.df-footer__nav li + li { margin-top: 0.6rem; }

.df-footer__nav a {
  font-size: 0.8rem;
  color: var(--df-light);
  letter-spacing: 0.05em;
}

.df-footer__nav a:hover { color: var(--df-white); }

.df-footer__bottom {
  border-top: 1px solid var(--df-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.df-footer__copyright {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--df-muted);
}

.df-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.df-footer__legal a {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--df-muted);
}

.df-footer__legal a:hover { color: var(--df-light); }

/* ==========================================================================
   Article Card (reusable)
   ========================================================================== */

.df-card {
  position: relative;
  overflow: hidden;
}

.df-card__thumb-wrap {
  overflow: hidden;
  margin-bottom: 1rem;
}

.df-card__thumb {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform var(--df-duration-slow) var(--df-ease);
}

.df-card:hover .df-card__thumb { transform: scale(1.05); }

.df-card__title {
  font-family: var(--df-font-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--df-white);
  margin-bottom: 0.4rem;
  transition: color var(--df-duration) var(--df-ease);
}

.df-card:hover .df-card__title { color: var(--df-gold); }

.df-card__excerpt {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--df-light);
}

.df-card__meta {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--df-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   Post Grid (Archive)
   ========================================================================== */

.df-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.df-post-header {
  text-align: center;
  padding: var(--df-header-pt, clamp(5rem, 12vw, 10rem)) var(--df-gutter) var(--df-header-pb, clamp(2rem, 5vw, 4rem));
  background: var(--df-near-black);
  border-bottom: 1px solid var(--df-border);
}

.df-post-header__title {
  font-family: var(--df-font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.03em;
  max-width: 860px;
  margin: 0 auto 1rem;
}

.df-post-header__byline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.df-post-header__meta {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--df-muted);
  margin: 0;
}

.df-post-header__meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.df-post-header__meta a:hover {
  opacity: 0.75;
}

.df-header__theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--df-silver);
  transition: color var(--df-duration) var(--df-ease);
}

.df-header__theme-toggle:hover { color: var(--df-gold); }

.df-theme-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.df-theme-icon--moon { display: none; }

[data-theme="dark"] .df-theme-icon--sun { display: none; }
[data-theme="dark"] .df-theme-icon--moon { display: block; }

.df-post-hero-image {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.df-post-content {
  max-width: var(--df-container-sm);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) var(--df-gutter);
}

.df-post-content p,
.df-post-content li {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--df-silver);
}

.df-post-content h2,
.df-post-content h3 {
  margin: 2.5rem 0 1rem;
}

.df-post-content img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

/* ==========================================================================
   Category Archive Header
   ========================================================================== */

.df-archive-header {
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) var(--df-gutter) clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--df-border);
}

.df-archive-header__rule {
  width: 40px;
  height: 1px;
  background: var(--df-gold);
  margin: 0 auto 1rem;
}

.df-archive-header__title {
  font-family: var(--df-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Pagination — uses paginate_links( type => 'plain' ) which outputs bare
   <a> and <span> tags directly inside .df-pagination. The flex container
   lines them up in a row automatically — no <ul>/<li> to fight.
   ========================================================================== */

.df-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 3rem 0;
}

.df-pagination a.page-numbers,
.df-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.6rem;
  font-family: var(--df-font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--df-border);
  color: var(--df-light);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.df-pagination a.page-numbers:hover {
  color: var(--df-gold);
  border-color: var(--df-gold);
}

.df-pagination span.current {
  color: var(--df-gold);
  border-color: var(--df-gold);
  background: rgba(201, 169, 110, 0.08);
}

.df-pagination .prev.page-numbers,
.df-pagination .next.page-numbers {
  min-width: auto;
  padding: 0 1rem;
  font-size: 1rem;
}

.df-pagination .dots {
  border-color: transparent;
  pointer-events: none;
  color: var(--df-muted);
}

/* ==========================================================================
   Search
   ========================================================================== */

.df-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--df-duration) var(--df-ease);
}

.df-search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.df-search-form {
  width: 100%;
  max-width: 640px;
  padding: 0 var(--df-gutter);
}

.df-search-form__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--df-gold);
  color: var(--df-white);
  font-family: var(--df-font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 300;
  padding: 0.75rem 0;
  outline: none;
  letter-spacing: 0.05em;
}

.df-search-form__input::placeholder {
  color: var(--df-muted);
}

.df-search-overlay__close {
  position: absolute;
  top: 2rem;
  right: var(--df-gutter);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--df-muted);
}

/* ==========================================================================
   Elementor Integration Overrides
   ========================================================================== */

/* Ensure Elementor sections respect theme spacing */
.elementor-section {
  position: relative;
}

/* Gold accent for Elementor dividers */
.elementor-widget-divider .elementor-divider-separator {
  border-color: var(--df-gold) !important;
}

/* Override Elementor default heading colours when inside theme body */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--df-font-display);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .df-featured__grid {
    grid-template-columns: 1fr 1.6fr 1fr;
  }
}

@media (max-width: 900px) {
  .df-featured__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .df-featured__cell--main {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 380px;
  }

  .df-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .df-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Hide the left nav entirely; right nav stays to hold search + hamburger */
  .df-header__nav--left {
    display: none;
  }

  /* Hide only the text category links on mobile — keep search and hamburger */
  .df-header__nav--right .df-header__nav-link {
    display: none;
  }

  /* Grid stays 1fr auto 1fr — empty col-1 balances col-3, logo stays centred */
  .df-header__inner {
    grid-template-columns: 1fr auto 1fr;
  }
}

@media (max-width: 640px) {
  .df-hero__panels {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .df-hero__side { display: none; }

  .df-featured__grid {
    grid-template-columns: 1fr;
  }

  .df-featured__cell--main {
    grid-column: 1;
    min-height: 300px;
  }

  .df-post-grid {
    grid-template-columns: 1fr;
  }

  .df-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--df-gold);
  outline-offset: 3px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   WordPress Core Classes
   ========================================================================== */

.wp-caption { max-width: 100%; }
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1rem; }
.alignwide  { margin-left: calc(-1 * var(--df-gutter)); margin-right: calc(-1 * var(--df-gutter)); }
.alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; }

.sticky { position: relative; }
.gallery { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gallery-item { flex: 1 0 200px; }

/* ==========================================================================
   Page Header (used by Contact, Gallery, Terms, Saved Articles templates)
   ========================================================================== */

.df-page-header {
  padding: 6rem var(--df-gutter) 3rem;
  text-align: center;
  border-bottom: 1px solid var(--df-border);
}

.df-page-header--thin {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.df-page-title {
  font-family: var(--df-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--df-white);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0.5rem auto 0;
  max-width: 700px;
}

.df-page-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--df-light);
  margin-top: 0.75rem;
}

.df-page-header__meta {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--df-muted);
  margin-top: 0.75rem;
}

.df-page-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--df-silver);
  font-weight: 300;
}

/* ==========================================================================
   Shared Page Header component — df-pg-hdr
   ALWAYS use this (via template-parts/page-header.php) for new page templates.
   It keeps the gold kicker, display title, and muted subtitle consistent
   across every page without needing bespoke per-template CSS classes.
   ========================================================================== */

.df-pg-hdr {
  padding: clamp(3.5rem, 8vw, 7rem) var(--df-gutter) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--df-border);
}

.df-pg-hdr__kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin: 0 0 0.75rem;
}

.df-pg-hdr__title {
  font-family: var(--df-font-head);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--df-near-black);
  margin: 0 0 0.5rem;
}

.df-pg-hdr__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--df-muted);
  font-style: italic;
  font-weight: 300;
  margin: 0;
}

/* ==========================================================================
   Contact Template
   ========================================================================== */

.df-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}

.df-contact-intro p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--df-silver);
  margin-bottom: 1rem;
}

.df-contact-details {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--df-border);
}

.df-contact-details p {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.df-contact-details__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--df-gold);
}

.df-contact-details a {
  color: var(--df-silver);
}

.df-contact-details a:hover {
  color: var(--df-gold);
}

@media (max-width: 860px) {
  .df-contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   Terms & Legal Template
   ========================================================================== */

.df-container--legal {
  max-width: var(--df-container-sm);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}

.df-toc {
  display: none;
  position: sticky;
  top: 5rem;
  font-size: 0.7rem;
  padding-right: 1.5rem;
  border-right: 1px solid var(--df-border);
}

.df-toc__title {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin-bottom: 0.75rem;
}

.df-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.df-toc__list li {
  margin-bottom: 0.5rem;
  counter-increment: toc-counter;
}

.df-toc__list a {
  color: var(--df-muted);
  font-size: 0.7rem;
  line-height: 1.4;
  transition: color 0.25s;
}

.df-toc__list a:hover {
  color: var(--df-gold);
}

.df-legal-content h2 {
  font-size: 1.3rem;
  font-weight: 400;
  margin: 2.5rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--df-border);
  color: var(--df-white);
  font-family: var(--df-font-display);
}

.df-legal-content h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 1.75rem 0 0.75rem;
  font-family: var(--df-font-sans);
  color: var(--df-silver);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

@media (max-width: 860px) {
  .df-container--legal {
    grid-template-columns: 1fr;
  }

  .df-toc {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--df-border);
    padding: 0 0 1.25rem;
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   Gallery Template
   ========================================================================== */

.df-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--df-border);
}

.df-gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--df-near-black);
  aspect-ratio: 4 / 3;
  margin: 0;
}

.df-gallery-item__link {
  display: block;
  width: 100%;
  height: 100%;
}

.df-gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--df-ease), opacity 0.4s;
}

.df-gallery-item:hover .df-gallery-item__img {
  transform: scale(1.04);
  opacity: 0.85;
}

.df-gallery-item__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--df-white);
  opacity: 0;
  transition: opacity 0.35s;
  background: rgba(10, 10, 10, 0.3);
}

.df-gallery-item:hover .df-gallery-item__hover {
  opacity: 1;
}

.df-gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-family: var(--df-font-sans);
  letter-spacing: 0.05em;
}

.df-gallery-content .wp-block-gallery {
  gap: 1px;
}

/* ==========================================================================
   Saved Articles Template
   ========================================================================== */

.df-saved-account {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--df-border);
}

.df-saved-account__greeting {
  font-size: 0.75rem;
  color: var(--df-muted);
  letter-spacing: 0.05em;
}

.df-saved-account__signout {
  color: var(--df-light);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.25s, text-decoration-color 0.25s;
}

.df-saved-account__signout:hover {
  color: var(--df-gold);
  text-decoration-color: var(--df-gold);
}

/* ==========================================================================
   Global Button Helpers
   ========================================================================== */

.df-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--df-font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  border: 1px solid transparent;
  text-decoration: none;
}

.df-btn--gold {
  background: var(--df-gold);
  color: var(--df-black);
  border-color: var(--df-gold);
}

.df-btn--gold:hover {
  background: var(--df-gold-light);
  border-color: var(--df-gold-light);
}

.df-btn--outline {
  background: transparent;
  color: var(--df-gold);
  border-color: var(--df-gold);
}

.df-btn--outline:hover {
  background: var(--df-gold);
  color: var(--df-black);
}


/* ==========================================================================
   Holding Page Template
   Scoped under .df-holding-page body class and .df-holding-* components
   so nothing bleeds into standard theme pages.
   ========================================================================== */

/* ── Full-viewport layout ── */

/* Default background — overridden by inline CSS injected from the admin panel */
body.df-holding-page {
  background-color: var(--df-near-black);
}

/* Full-screen overlay — colour and opacity set via inline CSS from inc/holding.php */
.df-holding-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.df-holding-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.df-holding-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px;
}

.df-holding-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── Brand column ── */

.df-holding-brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.df-holding-logo-wrap {
  line-height: 1;
}

.df-holding-logo-link {
  display: inline-block;
  font-family: var(--df-font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--df-white);
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s;
}

.df-holding-logo-link:hover {
  opacity: 0.8;
}

/* Custom logo image inside the holding page */
.df-holding-logo-wrap .custom-logo {
  max-height: 60px;
  width: auto;
}

.df-holding-tagline {
  font-family: var(--df-font-display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 244, 240, 0.55);
  letter-spacing: 0.04em;
}

.df-holding-description {
  font-family: var(--df-font-sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 244, 240, 0.55);
  line-height: 1.8;
  max-width: 420px;
}

.df-holding-description p + p {
  margin-top: 12px;
}

.df-holding-description p,
.df-holding-description ul,
.df-holding-description ol {
  margin-bottom: 0;
}

.df-holding-launch {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.df-holding-launch p {
  font-family: var(--df-font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin: 0;
}

/* ── Form column ── */

.df-holding-form-wrap {
  display: flex;
  flex-direction: column;
}

.df-holding-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.df-holding-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.df-holding-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.df-holding-field label {
  font-family: var(--df-font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.55);
}

.df-holding-field input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--df-white);
  font-family: var(--df-font-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0;
}

.df-holding-field input::placeholder {
  color: rgba(245, 244, 240, 0.35);
  font-weight: 300;
}

.df-holding-field input:focus {
  border-bottom-color: var(--df-gold);
}

/* Suppress browser autofill yellow background */
.df-holding-field input:-webkit-autofill,
.df-holding-field input:-webkit-autofill:hover,
.df-holding-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #111111 inset;
  -webkit-text-fill-color: var(--df-white);
  caret-color: var(--df-white);
}

/* ── Submit button ── */

.df-holding-submit {
  margin-top: 8px;
}

.df-holding-btn {
  display: inline-block;
  width: 100%;
  background: transparent;
  border: 1px solid var(--df-gold);
  color: var(--df-gold);
  font-family: var(--df-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.df-holding-btn:hover {
  background: var(--df-gold);
  color: var(--df-near-black);
}

.df-holding-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Form message ── */

.df-holding-message {
  display: none;
  font-family: var(--df-font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 14px 0;
  border-top: 1px solid rgba(201, 169, 110, 0.35);
}

.df-holding-message:not(:empty) {
  display: block;
}

.df-holding-message--success {
  color: var(--df-gold);
}

.df-holding-message--error {
  color: #e07070;
}

/* ── Quick-access links ── */

.df-holding-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.df-holding-link-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--df-gold);
  color: var(--df-gold);
  font-family: var(--df-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 24px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.df-holding-link-btn:hover {
  background: var(--df-gold);
  color: #111111;
}

/* ── Holding footer ── */

.df-holding-footer {
  padding: 24px 80px;
  border-top: 1px solid rgba(245, 244, 240, 0.08);
}

.df-holding-footer p {
  font-family: var(--df-font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(245, 244, 240, 0.55);
  margin: 0;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .df-holding-main {
    padding: 60px 40px;
    align-items: flex-start;
  }

  .df-holding-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .df-holding-footer {
    padding: 20px 40px;
  }
}

@media (max-width: 560px) {
  .df-holding-main {
    padding: 48px 24px;
  }

  .df-holding-form-row {
    grid-template-columns: 1fr;
  }

  .df-holding-footer {
    padding: 20px 24px;
  }
}

/* ==========================================================================
   ARTICLE — SIDEBAR LAYOUT
   ========================================================================== */

.df-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  max-width: var(--df-container);
  margin: 0 auto;
  padding: 0 var(--df-gutter);
  align-items: start;
  position: relative;
}

.df-article-layout__main {
  min-width: 0;
}

.df-article-layout__sidebar {
  position: sticky;
  top: var(--df-sidebar-top, 4rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.df-sidebar--scroll {
  position: static !important;
}

.df-post-content--sidebar {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 900px) {
  .df-article-layout {
    grid-template-columns: 1fr;
  }
  .df-article-layout__sidebar {
    position: static;
    border-top: 1px solid var(--df-border);
    padding-top: 2rem;
  }
}

/* ==========================================================================
   ARTICLE — PARTNER BADGE
   ========================================================================== */

.df-partner-badge {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  font-family: var(--df-font-sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--df-gold);
  border: 1px solid var(--df-gold);
  padding: .2rem .6rem;
  margin-bottom: .5rem;
}

/* Sits under the article title instead of beside the category label. */
.df-partner-badge--below-title {
  margin-top: .5rem;
  margin-bottom: 0;
}

.df-post-header--partner .df-post-header__meta {
  opacity: .75;
}

.df-post-header .df-category {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* ==========================================================================
   ARTICLE — AUTHOR BIO
   ========================================================================== */

.df-author-bio {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--df-card-bg, transparent);
}

.df-author-bio__avatar-wrap img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.df-author-bio__text {
  flex: 1;
  min-width: 0;
}

.df-author-bio__label {
  font-family: var(--df-font-sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin: 0 0 .3rem;
}

.df-author-bio__name {
  font-family: var(--df-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--df-white);
  text-decoration: none;
  display: block;
  margin-bottom: .4rem;
}

.df-author-bio__name:hover {
  color: var(--df-gold);
}

.df-author-bio__desc {
  font-family: var(--df-font-sans);
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(245, 244, 240, .65);
  margin: 0;
}

/* Stacked layout when inside sidebar */
.df-article-layout__sidebar .df-author-bio {
  flex-direction: column;
  gap: .75rem;
}

.df-article-layout__sidebar .df-author-bio__avatar-wrap img {
  width: 48px;
  height: 48px;
}

/* ==========================================================================
   ARTICLE — PARTNER BLURB
   ========================================================================== */

.df-partner-blurb {
  padding: 1.5rem;
  background: var(--df-card-bg, transparent);
}

.df-partner-blurb__label {
  font-family: var(--df-font-sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin: 0 0 .75rem;
}

.df-partner-blurb__logo {
  margin-bottom: .75rem;
}

.df-partner-blurb__logo-img {
  max-width: 160px;
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
}

.df-partner-blurb__name {
  font-family: var(--df-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--df-white);
  margin: 0 0 .5rem;
}

.df-partner-blurb__desc {
  font-family: var(--df-font-sans);
  font-size: .8rem;
  line-height: 1.65;
  color: rgba(245, 244, 240, .65);
  margin: 0;
}

.df-partner-blurb__link {
  display: inline-block;
  font-family: var(--df-font-sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--df-gold);
  border-bottom: 1px solid var(--df-gold);
  padding-bottom: .1rem;
  margin-top: .9rem;
  transition: opacity .2s ease;
}

.df-partner-blurb__link:hover {
  opacity: .75;
}

/* ==========================================================================
   ARTICLE — AFFILIATE DISCLOSURE
   ========================================================================== */

.df-affiliate-notice {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-family: var(--df-font-sans);
  font-size: .78rem;
  line-height: 1.6;
  color: var(--df-white, #f5f4f0);
  background: rgba(201, 169, 110, .08);
  border: 1px solid rgba(201, 169, 110, .25);
  border-left: 3px solid var(--df-gold);
  padding: .85rem 1rem;
  margin-bottom: 1.75rem;
}

.df-affiliate-notice__icon {
  color: var(--df-gold);
  font-style: normal;
  flex-shrink: 0;
  font-size: .9rem;
}

/* ==========================================================================
   ARTICLE — SEE ALSO BLOCK
   ========================================================================== */

.df-see-also {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--df-border, #2a2a2a);
  border-bottom: 1px solid var(--df-border, #2a2a2a);
}

.df-see-also__label {
  display: block;
  font-family: var(--df-font-sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin-bottom: .85rem;
}

.df-see-also__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.df-see-also__item {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.df-see-also__thumb-link {
  flex-shrink: 0;
}

.df-see-also__thumb {
  display: block;
  width: 72px;
  height: 50px;
  object-fit: cover;
}

.df-see-also__body {
  flex: 1;
  min-width: 0;
}

.df-see-also__cat {
  display: block;
  font-family: var(--df-font-sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin-bottom: .2rem;
}

.df-see-also__title {
  font-family: var(--df-font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--df-white, #f5f4f0);
  text-decoration: none;
}

.df-see-also__title:hover {
  color: var(--df-gold);
}

/* ==========================================================================
   ARTICLE — NEWSLETTER BLOCK
   ========================================================================== */

.df-newsletter-block {
  margin: 2.5rem 0;
  background: var(--df-nl-bg, var(--df-dark, #111));
  border: 1px solid var(--df-nl-border, var(--df-border, #2a2a2a));
}

.df-newsletter-block__inner {
  padding: 2rem 2rem 2rem;
}

.df-newsletter-block__copy {
  margin-bottom: 1.25rem;
}

.df-newsletter-block__heading {
  font-family: var(--df-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--df-nl-heading-color, var(--df-white, #f5f4f0));
  margin: 0 0 .4rem;
  line-height: 1.2;
}

.df-newsletter-block__body {
  font-family: var(--df-font-sans);
  font-size: .85rem;
  line-height: 1.65;
  color: var(--df-nl-text-color, rgba(245, 244, 240, .65));
  margin: 0;
}

.df-newsletter-block__fields {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.df-newsletter-block__input {
  flex: 1 1 200px;
  min-width: 0;
  background: transparent;
  border: 1px solid rgba(245, 244, 240, .25);
  color: var(--df-white, #f5f4f0);
  font-family: var(--df-font-sans);
  font-size: .85rem;
  padding: .65rem .9rem;
  outline: none;
  transition: border-color .2s;
}

.df-newsletter-block__input:focus {
  border-color: var(--df-gold);
}

.df-newsletter-block__input::placeholder {
  color: rgba(245, 244, 240, .35);
}

.df-newsletter-block__btn {
  background: var(--df-nl-btn-bg, var(--df-gold));
  color: var(--df-nl-btn-text, var(--df-black, #0a0a0a));
  font-family: var(--df-font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  padding: .65rem 1.4rem;
  cursor: pointer;
  transition: opacity .2s;
  white-space: nowrap;
}

.df-newsletter-block__btn:hover { opacity: .85; }
.df-newsletter-block__btn:disabled { opacity: .5; cursor: default; }

.df-newsletter-block__success {
  font-family: var(--df-font-sans);
  font-size: .85rem;
  color: var(--df-gold);
  margin: .75rem 0 0;
}

.df-newsletter-block__error {
  font-family: var(--df-font-sans);
  font-size: .82rem;
  color: #e07070;
  margin: .5rem 0 0;
}

/* ==========================================================================
   ARTICLE — AD SLOTS
   ========================================================================== */

.df-ad-slot {
  margin: 1.5rem 0;
}

.df-ad-slot--below-hero {
  max-width: var(--df-container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--df-gutter);
}

.df-ad-slot__label {
  font-family: var(--df-font-sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, .3);
  margin: 0 0 .4rem;
  text-align: center;
}

.df-ad-slot__link {
  display: block;
}

.df-ad-slot__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Below-hero — full-width leaderboard, capped at 250 px tall */
.df-ad-slot--below-hero .df-ad-slot__img {
  max-height: 250px;
}

/* In-content — article-width leaderboard/rectangle, capped at 200 px tall */
.df-ad-slot--in-content .df-ad-slot__img {
  max-height: 200px;
}

/* Sidebar ad slots — constrained width */
.df-article-layout__sidebar .df-ad-slot {
  margin: 0;
}

.df-article-layout__sidebar .df-ad-slot--below-hero {
  display: none; /* below-hero is full-width only */
}

/* Sidebar slots — medium rectangle, capped at 250 px tall */
.df-article-layout__sidebar .df-ad-slot__img {
  max-width: 300px;
  max-height: 250px;
}

/* ==========================================================================
   ARTICLE HEADER — LAYOUT VARIANTS
   ========================================================================== */

/* ── OVERLAY ────────────────────────────────────────────────────────────── */
.df-post-header--overlay {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  background-color: var(--df-near-black);
  display: flex;
  align-items: flex-end;
  padding: 0;
  border-bottom: none;
  text-align: center;
}

.df-post-header--overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.1) 100%);
  pointer-events: none;
}

.df-post-header__overlay-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--df-container);
  margin: 0 auto;
  padding: 4rem var(--df-gutter) var(--df-header-pb, clamp(2.5rem, 5vw, 4rem));
  color: var(--df-white);
}

.df-post-header--overlay .df-post-header__title {
  color: var(--df-white);
  text-align: center;
}

.df-post-header--overlay .df-category {
  color: rgba(245,244,240,.82);
  border-color: rgba(245,244,240,.35);
}

.df-post-header--overlay .df-post-header__meta {
  color: rgba(245,244,240,.72);
}

.df-post-header--overlay .df-post-header__byline {
  justify-content: center;
}

/* ── SPLIT ──────────────────────────────────────────────────────────────── */
.df-post-header--split {
  display: grid;
  grid-template-columns: 45fr 55fr;
  min-height: 55vh;
  overflow: hidden;
  padding: 0;
  border-bottom: none;
  text-align: center;
}

.df-post-header__split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--df-header-pt, clamp(3rem, 6vw, 5rem)) clamp(2rem, 4vw, 3.5rem) var(--df-header-pb, clamp(2rem, 5vw, 4rem));
  min-height: 60vh;
}

.df-post-header__split-text .df-post-header__title {
  text-align: center;
  max-width: 540px;
}

.df-post-header__split-text .df-post-header__byline {
  justify-content: center;
  margin-top: auto;
}

.df-post-header__split-image {
  position: relative;
}

.df-post-header__split-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.df-post-header__split-figure .df-post-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .df-post-header--split {
    grid-template-columns: 1fr;
  }
  .df-post-header__split-image {
    min-height: 55vw;
    order: -1;
    position: relative;
  }
}

/* ── CENTERED ───────────────────────────────────────────────────────────── */
/* Centered uses the existing .df-post-header defaults (centered text, dark bg).
   No hero image is shown in the header area. No additional rules required. */

/* ── EDITORIAL (Spears-style) ───────────────────────────────────────────── */
.df-post-header--editorial {
  text-align: left;
  max-width: var(--df-container-sm, 760px);
  margin-left: auto;
  margin-right: auto;
  padding: var(--df-header-pt, clamp(2.5rem, 6vw, 5rem)) var(--df-gutter) 1.5rem;
  background: transparent;
  border-bottom: none;
}

/* Category pill + date meta row above the title */
.df-post-header__ed-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-bottom: 1.1rem;
}

.df-post-header__ed-meta .df-post-header__meta {
  margin: 0;
}

.df-post-header--editorial .df-post-header__title {
  text-align: left;
  max-width: none;
  margin-bottom: 1rem;
}

/* "By Author" line below the title, above the image */
.df-post-header__ed-author {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--df-muted);
  margin: 0;
}

.df-post-header__ed-author a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero image — article column width, not full browser */
.df-post-hero-image-wrap--editorial {
  max-width: var(--df-container-sm, 760px);
  margin: 1.5rem auto 0;
}

/* Save + share row below the image */
.df-post-header__editorial-byline {
  max-width: var(--df-container-sm, 760px);
  margin: 0 auto;
  padding: 1rem var(--df-gutter) 1.25rem;
  border-bottom: 1px solid var(--df-border);
}

.df-post-header__editorial-byline .df-post-header__byline {
  margin-top: 0;
  justify-content: flex-start;
}

/* ── Editorial inside the sidebar two-column grid ───────────────────────── */
/* When the editorial header is rendered inside df-article-layout__main,
   remove centering constraints so it aligns left with the article copy,
   and the image fills the full width of the content column. */
.df-article-layout__main .df-post-header--editorial {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.df-article-layout__main .df-post-hero-image-wrap--editorial {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.df-article-layout__main .df-post-header__editorial-byline {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* ==========================================================================
   ARTICLE — SIDEBAR RELATED POSTS
   ========================================================================== */

.df-sidebar-related {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--df-border);
}

.df-sidebar-related__heading {
  font-family: var(--df-font-head);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--df-muted);
  margin: 0 0 1.1rem;
}

.df-sidebar-related__item {
  display: block;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--df-border);
}

.df-sidebar-related__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.df-sidebar-related__thumb-link {
  display: block;
  margin-bottom: .65rem;
}

.df-sidebar-related__thumb {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
}

.df-sidebar-related__body {}

.df-sidebar-related__cat {
  font-size: .58rem;
  display: block;
  margin-bottom: .3rem;
}

.df-sidebar-related__title {
  font-family: var(--df-font-head);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 .3rem;
}

.df-sidebar-related__title a {
  color: var(--df-text);
  text-decoration: none;
}

.df-sidebar-related__title a:hover {
  color: var(--df-gold);
}

.df-sidebar-related__meta {
  font-size: .72rem;
  color: var(--df-muted);
  margin: 0;
}

/* ==========================================================================
   ARTICLE — SIDEBAR DIVIDER LINE
   ========================================================================== */

.df-article-divider {
  display: none;
}

@media (min-width: 901px) {
  .df-article-divider {
    display: block;
    position: absolute;
    /* Sits centred in the 3rem gap between the 1fr main and 300px sidebar */
    right: calc(var(--df-gutter, 1.5rem) + 300px + 1.5rem);
    top: var(--df-divider-gap-top, 2rem);
    bottom: var(--df-divider-gap-bottom, 2rem);
    width: var(--df-divider-thickness, 1px);
    background-color: var(--df-divider-color, rgba(245, 244, 240, .12));
    pointer-events: none;
    z-index: 0;
  }
}

/* ==========================================================================
   ABOUT PAGE TEMPLATE
   ========================================================================== */

.df-about__hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--df-border);
}

.df-about__hero--image {
  position: relative;
  background-size: cover;
  background-position: center;
  border-bottom: none;
}

.df-about__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,.75) 100%);
  pointer-events: none;
}

.df-about__hero-inner {
  position: relative;
  z-index: 1;
}

.df-about__kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin-bottom: 0.75rem;
}

.df-about__hero--image .df-about__kicker {
  color: rgba(255,255,255,.7);
}

.df-about__title {
  font-family: var(--df-font-head);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--df-near-black);
}

.df-about__title--light { color: #fff; }

.df-about__intro {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--df-muted);
  max-width: 680px;
  margin: 0;
}

.df-about__intro--light { color: rgba(255,255,255,.85); }

.df-about__body {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* ==========================================================================
   FAQ PAGE TEMPLATE
   ========================================================================== */

.df-faq-page__hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--df-border);
}

.df-faq-page__kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin-bottom: 0.75rem;
}

.df-faq-page__intro {
  margin-top: 1.25rem;
  max-width: 640px;
  color: var(--df-muted);
}

.df-faq-list {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.df-faq {
  border-bottom: 1px solid var(--df-border);
}

.df-faq:first-child {
  border-top: 1px solid var(--df-border);
}

.df-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--df-font-head);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 600;
  color: var(--df-near-black);
  user-select: none;
}

.df-faq__question::-webkit-details-marker { display: none; }
.df-faq__question::marker { display: none; }

.df-faq__question-text { flex: 1; }

.df-faq__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--df-border);
  color: var(--df-near-black);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.df-faq[open] .df-faq__icon {
  background: var(--df-gold);
  border-color: var(--df-gold);
  color: var(--df-near-black);
}

.df-faq__icon-v {
  transition: opacity 0.2s;
}

.df-faq[open] .df-faq__icon-v {
  opacity: 0;
}

.df-faq__answer {
  padding: 0 0 1.5rem;
  color: var(--df-muted);
  line-height: 1.7;
}

.df-faq__answer p:first-child { margin-top: 0; }
.df-faq__answer p:last-child  { margin-bottom: 0; }

/* FAQ group section heading (h3) */
.df-faq-section-heading {
  font-family: var(--df-font-head);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--df-near-black);
  margin: 2.5rem 0 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--df-border);
}

.df-faq-section-heading:first-child {
  margin-top: 0;
}

/* No double border: heading bottom + FAQ top */
.df-faq-section-heading + .df-faq {
  border-top: none;
}

.df-faq-list__empty {
  padding: 3rem 0;
  color: var(--df-muted);
  text-align: center;
  line-height: 1.7;
}

/* ==========================================================================
   FAQ — Two Column variant
   Template: page-templates/faq-two-col.php
   Uses .df-faq-list--two-col modifier + .df-faq-grid wrapper.
   ========================================================================== */

@media ( min-width: 760px ) {
  /* CSS columns — each column is independent, so expanding one accordion
     does not affect the height or layout of the opposite column. */
  .df-faq-list--two-col .df-faq-grid {
    columns: 2;
    column-gap: clamp(2rem, 4vw, 4rem);
    border-top: 1px solid var(--df-border);
  }

  /* Prevent any single FAQ from breaking across the column boundary */
  .df-faq-list--two-col .df-faq-grid .df-faq {
    break-inside: avoid;
  }

  /* Grid container already has a top border — no need for :first-child's too */
  .df-faq-list--two-col .df-faq-grid .df-faq:first-child {
    border-top: none;
  }

  /* Section headings span both columns and reset the column flow */
  .df-faq-list--two-col .df-faq-grid .df-faq-section-heading {
    column-span: all;
  }
}

/* ==========================================================================
   DINKTIONARY PAGE TEMPLATE
   ========================================================================== */

.df-dink-dict__hero {
  padding: clamp(3.5rem, 8vw, 7rem) var(--df-gutter) clamp(1.5rem, 3vw, 2.5rem);
}

.df-dink-dict__kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--df-gold);
  margin-bottom: 0.75rem;
}

.df-dink-dict__title {
  font-family: var(--df-font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 0.6rem;
}

.df-dink-dict__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--df-muted);
  font-style: italic;
  margin: 0;
}

.df-dink-dict__intro {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.df-dink-dict__intro p { color: var(--df-muted); margin: 0; }
.df-dink-dict__intro p + p { margin-top: 0.75rem; }

/* Coined badge (inline in heading row) */
.df-dink-dict__coined-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--df-gold);
  border: 1px solid var(--df-gold);
  border-radius: 2px;
  padding: 0.1em 0.5em;
  vertical-align: middle;
  margin-left: 0.4rem;
  line-height: 1.6;
}

/* Alphabet jump nav */
.df-dink-dict__alpha {
  padding: 1.25rem var(--df-gutter);
  border-top: 1px solid var(--df-border);
  border-bottom: 1px solid var(--df-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
}

.df-dink-dict__alpha-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--df-font-head);
  color: var(--df-near-black);
  border: 1px solid var(--df-border);
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.df-dink-dict__alpha-link:hover {
  background: var(--df-gold-dark);
  color: #fff;
  border-color: var(--df-gold-dark);
}

/* Entries container */
.df-dink-dict__entries {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* Letter section */
.df-dink-dict__letter-section {
  padding-top: 2.5rem;
}

.df-dink-dict__letter-section + .df-dink-dict__letter-section {
  border-top: 1px solid var(--df-border);
  margin-top: 2rem;
}

.df-dink-dict__letter-heading {
  font-family: var(--df-font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--df-near-black);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--df-gold);
  display: inline-block;
  min-width: 1.75ch;
}

/* Dictionary list */
.df-dink-dict__list { margin: 0; }

.df-dink-dict__entry {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--df-border);
}

.df-dink-dict__entry:last-child { border-bottom: none; }

/* dt — term row */
.df-dink-dict__term {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.65rem;
}

.df-dink-dict__headword {
  font-family: var(--df-font-head);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: var(--df-near-black);
}

.df-dink-dict__phonetic {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--df-muted);
  font-family: Georgia, 'Times New Roman', serif;
}

.df-dink-dict__pos {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--df-muted);
}

/* dd — definition */
.df-dink-dict__def {
  margin: 0;
  padding-left: 0;
  line-height: 1.75;
  max-width: 660px;
}

.df-dink-dict__def p { margin: 0.4rem 0; }
.df-dink-dict__def p:first-child { margin-top: 0; }
.df-dink-dict__def p:last-child  { margin-bottom: 0; }

/* Footer CTA */
.df-dink-dict__footer {
  padding: 3rem var(--df-gutter);
  border-top: 2px solid var(--df-near-black);
  margin-top: 2rem;
}

.df-dink-dict__footer-heading {
  font-family: var(--df-font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.df-dink-dict__footer a {
  color: inherit;
  text-decoration: underline;
}


/* ==========================================================================
   Module Builder — Front-end Styles
   ========================================================================== */

/* ── Shared wrapper ──────────────────────────────────────────────────────── */

.df-module {
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

.df-module__inner {
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--df-gutter, 1.5rem);
  padding-right: var(--df-gutter, 1.5rem);
  box-sizing: border-box;
}

/* Padding variants */
.df-module--pad-none { padding-top: 0; padding-bottom: 0; }
.df-module--pad-xs   { padding-top: 0.5rem;  padding-bottom: 0.5rem; }
.df-module--pad-sm   { padding-top: 1.5rem;  padding-bottom: 1.5rem; }
.df-module--pad-md   { padding-top: 3rem;    padding-bottom: 3rem; }
.df-module--pad-lg   { padding-top: 5rem;    padding-bottom: 5rem; }
.df-module--pad-xl   { padding-top: 8rem;    padding-bottom: 8rem; }

/* Text colour overrides */
.df-module--tc-light,
.df-module--tc-light * { color: #fff; }
.df-module--tc-dark,
.df-module--tc-dark *  { color: var(--df-dark, #1a1a1a); }

/* Background overlay (used in hero / cta-banner image-bg layouts) */
.df-module__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ── Prose (rich-text / column text content) ─────────────────────────────── */

.df-prose { line-height: 1.75; }
.df-prose > * + * { margin-top: 1em; }
.df-prose h1, .df-prose h2, .df-prose h3,
.df-prose h4, .df-prose h5, .df-prose h6 {
  font-family: var(--df-font-head);
  line-height: 1.25;
  margin-top: 1.5em;
  margin-bottom: .4em;
}
.df-prose h2 { font-size: clamp(1.3rem, 2.5vw, 1.85rem); }
.df-prose h3 { font-size: clamp(1.1rem, 2vw,   1.45rem); }
.df-prose a  { color: var(--df-gold); text-decoration: underline; }
.df-prose ul, .df-prose ol { padding-left: 1.4em; }
.df-prose li + li { margin-top: .35em; }
.df-prose blockquote {
  border-left: 3px solid var(--df-gold);
  margin-left: 0;
  padding-left: 1.2em;
  font-style: italic;
  color: var(--df-muted, #888);
}
.df-prose img { max-width: 100%; height: auto; border-radius: 3px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.df-btn {
  display: inline-block;
  padding: .75em 2em;
  border-radius: 2px;
  font-family: var(--df-font-head);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  line-height: 1;
}
.df-btn--gold    { background: var(--df-gold); color: #fff; border: 2px solid var(--df-gold); }
.df-btn--gold:hover { background: var(--df-gold-dark, #a07840); border-color: var(--df-gold-dark, #a07840); color: #fff; }
.df-btn--white   { background: #fff; color: var(--df-dark, #1a1a1a); border: 2px solid #fff; }
.df-btn--white:hover { background: transparent; color: #fff; }
.df-btn--dark    { background: var(--df-dark, #1a1a1a); color: #fff; border: 2px solid var(--df-dark, #1a1a1a); }
.df-btn--dark:hover  { background: transparent; color: var(--df-dark, #1a1a1a); }
.df-btn--outline { background: transparent; color: currentColor; border: 2px solid currentColor; }
.df-btn--outline:hover { background: currentColor; color: #fff; }

/* ── Video embed ─────────────────────────────────────────────────────────── */

.df-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  width: 100%;
  border-radius: 3px;
}
.df-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Column layouts ──────────────────────────────────────────────────────── */

.df-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.df-cols--gap-none { gap: 0; }
.df-cols--gap-sm   { gap: 1rem; }
.df-cols--gap-md   { gap: 2rem; }
.df-cols--gap-lg   { gap: 3.5rem; }

.df-col { min-width: 0; flex-shrink: 0; }

.df-module__col-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}
.df-module__col-text { width: 100%; }

/* Stack columns on small screens */
@media (max-width: 700px) {
  .df-col { flex-basis: 100% !important; max-width: 100% !important; }
  .df-cols { gap: 1.5rem !important; }
}

/* ── Hero module ─────────────────────────────────────────────────────────── */

.df-module--hero {
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.df-module__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.df-module__hero-headline {
  font-family: var(--df-font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: .5rem;
}
.df-module__hero-headline * { font-size: inherit; font-family: inherit; line-height: inherit; }

.df-module__hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 1.75rem;
  opacity: .85;
}
.df-module__hero-subtitle * { font-size: inherit; }

/* ── CTA Banner ──────────────────────────────────────────────────────────── */

.df-cta { overflow: hidden; }
.df-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  pointer-events: none;
}
.df-cta__inner  { position: relative; z-index: 1; }
.df-cta__split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}
.df-cta__img-col { flex: 1 1 40%; min-width: 240px; }
.df-cta__text-col { flex: 1 1 45%; min-width: 240px; }
.df-cta__img { width: 100%; height: auto; display: block; border-radius: 3px; }
.df-cta__headline {
  font-family: var(--df-font-head);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: .6rem;
}
.df-cta__headline * { font-size: inherit; font-family: inherit; }
.df-cta__body { margin-bottom: 1.5rem; }

@media (max-width: 700px) {
  .df-cta__split { flex-direction: column !important; }
  .df-cta__img-col,
  .df-cta__text-col { flex-basis: 100%; }
}

/* ── Blockquote ──────────────────────────────────────────────────────────── */

.df-bq { margin: 0; }

.df-bq--gold-border {
  border-left: 4px solid var(--df-gold);
  padding-left: 1.5rem;
}
.df-bq--gold-border .df-bq__text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.6;
}

.df-bq--large {
  text-align: center;
  padding: 0 1rem;
}
.df-bq--large .df-bq__text {
  font-family: var(--df-font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.3;
  position: relative;
}
.df-bq--large .df-bq__text::before {
  content: '\201C';
  display: block;
  font-size: 5rem;
  line-height: .7;
  color: var(--df-gold);
  font-family: Georgia, serif;
  margin-bottom: .25rem;
}

.df-bq--dark {
  background: var(--df-near-black, #111);
  padding: 2.5rem;
  border-radius: 4px;
}
.df-bq--dark .df-bq__text {
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
}
.df-bq--dark .df-bq__cite { color: var(--df-gold); }

.df-bq__text * { font-size: inherit; font-style: inherit; }
.df-bq__cite {
  display: block;
  margin-top: .75rem;
  font-style: normal;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--df-muted, #888);
}
.df-bq--large .df-bq__cite { color: var(--df-gold); }

/* ── Spacer / Divider ────────────────────────────────────────────────────── */

.df-module--spacer { background: transparent !important; }

/* ── Modular page wrapper ────────────────────────────────────────────────── */

.df-modular-page { overflow-x: hidden; }

/* ── Image Gallery ────────────────────────────────────────────────────────── */

.df-gallery__grid {
  display: grid;
  gap: 0.75rem;
}
.df-gallery__masonry {
  column-gap: 0.75rem;
}
.df-gallery__masonry .df-gallery__item {
  break-inside: avoid;
  margin-bottom: 0.75rem;
}
.df-gallery__inline {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.df-gallery__inline .df-gallery__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.df-gallery__slider { position: relative; }
.df-gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 3px;
}
.df-gallery__track::-webkit-scrollbar { display: none; }
.df-gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.df-gallery__item { margin: 0; overflow: hidden; border-radius: 3px; }
.df-gallery__img  { width: 100%; height: auto; display: block; transition: opacity .2s; }
.df-gallery__item a:hover .df-gallery__img { opacity: .9; }

.df-gallery__nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}
.df-gallery__nav-btn {
  background: var(--df-mid, #2a2a2a);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.df-gallery__nav-btn:hover { background: var(--df-gold); }

.df-gallery__caption {
  text-align: center;
  font-size: .875rem;
  color: var(--df-muted, #888);
  margin-top: 0.75rem;
  font-style: italic;
}

/* ── Video embed ─────────────────────────────────────────────────────────── */

.df-video__caption {
  text-align: center;
  font-size: .875rem;
  color: var(--df-muted, #888);
  margin-top: .6rem;
  font-style: italic;
}

/* ── Stat callout ─────────────────────────────────────────────────────────── */

.df-stats__grid {
  display: grid;
  gap: 2rem;
}
.df-stats__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--df-border, #2e2e2e);
  border-radius: 4px;
}
.df-stats--dark .df-stats__cell {
  background: var(--df-near-black, #111);
  border-color: transparent;
}
.df-stats--gold .df-stats__cell {
  border-color: var(--df-gold);
}
.df-stats__number {
  display: block;
  font-family: var(--df-font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--df-gold);
  margin-bottom: .4rem;
}
.df-stats--dark .df-stats__number { color: var(--df-gold); }
.df-stats__label {
  display: block;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--df-muted, #888);
}
.df-stats--dark .df-stats__label { color: #ccc; }
@media (max-width: 600px) {
  .df-stats__grid { grid-template-columns: 1fr 1fr !important; }
}

/* ── Accordion ───────────────────────────────────────────────────────────── */

.df-accordion__intro { margin-bottom: 1.5rem; }

.df-accordion { border-top: 1px solid var(--df-border, #2e2e2e); }

.df-accordion__item {
  border-bottom: 1px solid var(--df-border, #2e2e2e);
}

.df-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--df-font-head);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.df-accordion__trigger::-webkit-details-marker { display: none; }

.df-accordion__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}
.df-accordion__icon::before,
.df-accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--df-gold);
  border-radius: 2px;
  transition: transform .25s;
}
.df-accordion__icon::before { width: 100%; height: 2px; top: 50%; transform: translateY(-50%); }
.df-accordion__icon::after  { width: 2px; height: 100%; left: 50%; transform: translateX(-50%); }
.df-accordion__item[open] .df-accordion__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.df-accordion__body {
  padding: 0 0 1.25rem;
}

/* ── Newsletter CTA ──────────────────────────────────────────────────────── */

.df-newsletter--dark  { background: var(--df-near-black, #111) !important; }
.df-newsletter--gold  { background: var(--df-gold) !important; }
.df-newsletter--gold .df-pg-hdr__kicker { color: #fff; border-color: rgba(255,255,255,.4); }
.df-newsletter--gold .df-newsletter__headline * { color: #fff; }
.df-newsletter--gold .df-newsletter__intro      { color: rgba(255,255,255,.85); }

.df-newsletter__headline {
  font-family: var(--df-font-head);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.df-newsletter__headline * { font-size: inherit; font-family: inherit; }

.df-newsletter__intro {
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.df-newsletter__form { max-width: 520px; margin: 0 auto; }
.df-newsletter__placeholder { color: var(--df-muted, #888); font-size: .9rem; }
.df-newsletter__placeholder code { background: rgba(255,255,255,.1); padding: 1px 6px; border-radius: 3px; }

/* ── Team cards ──────────────────────────────────────────────────────────── */

.df-team-grid {
  display: grid;
  gap: 2rem;
}
.df-team-card { display: flex; flex-direction: column; }
.df-team-card__photo { margin-bottom: 1rem; }
.df-team-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  max-width: 160px;
}
.df-team-card__name {
  font-family: var(--df-font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 .2rem;
}
.df-team-card__role {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--df-gold);
  margin: 0 0 .6rem;
}
.df-team-card__bio { font-size: .9rem; }

@media (max-width: 600px) {
  .df-team-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 400px) {
  .df-team-grid { grid-template-columns: 1fr !important; }
}

/* ── Testimonial slider ──────────────────────────────────────────────────── */

.df-testimonials__slider { position: relative; }
.df-testimonials__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.df-testimonials__track::-webkit-scrollbar { display: none; }
.df-testimonials__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 0 1rem;
  box-sizing: border-box;
}

.df-testimonial { margin: 0; }
.df-testimonial__mark {
  display: block;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: .6;
  color: var(--df-gold);
  margin-bottom: .5rem;
}
.df-testimonial__quote {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.df-testimonial__footer {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.df-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.df-testimonial__author {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-family: var(--df-font-head);
  font-size: .95rem;
}
.df-testimonial__role {
  display: block;
  font-size: .8rem;
  color: var(--df-muted, #888);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.df-testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.df-testimonials__btn {
  background: var(--df-mid, #2a2a2a);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.df-testimonials__btn:hover { background: var(--df-gold); }

.df-testimonials__dots { display: flex; gap: .5rem; }
.df-testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--df-border, #2e2e2e);
  cursor: pointer;
  transition: background .2s;
}
.df-testimonials__dot.is-active { background: var(--df-gold); }

@media (max-width: 600px) {
  .df-testimonials__slide { padding: 0; }
}
