/* ==========================================================================
   Kwaaihoek Burn — Clean Static Stylesheet (css/styles.css)
   This file controls all colours, fonts, spacing, and mobile layout across
   every page on the website. Keeping everything in one file replaces all 23
   heavy WordPress stylesheets.
   ========================================================================== */

/* Load the four fonts (Montserrat, Roboto Slab, Roboto, Source Sans Pro) from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto+Slab:wght@300;400;500;600&family=Roboto:wght@300;400;500;700&family=Source+Sans+Pro:wght@400;600&display=swap');

/* Shared colour, font, and spacing shortcuts reused across the whole site.
   Changing a colour once here updates every button, link, and card automatically. */
:root {
  /* Original Astra / Kwaaihoek Color Palette */
  --color-gold: #DCA54A;         /* Main warm gold colour for buttons, quotes, and highlights */
  --color-gold-hover: #D09A40;   /* Slightly darker gold when the mouse hovers over a button or link */
  --color-navy: #0F172A;         /* Deep navy ink colour for main headings and dark cards */
  --color-text: #4A4A4A;         /* Dark grey body text so long stories are easy to read */
  --color-cream: #FAF5E5;        /* Soft sandy cream background for pages */
  --color-white: #FFFFFF;        /* Crisp white background for story cards and popups */
  --color-sand: #F0E6C5;         /* Light sand colour for text sitting on dark backgrounds */
  --color-dark: #141004;         /* Near-black charcoal background for the header and footer bars */
  --color-charcoal: #222222;     /* Secondary dark grey */
  --color-lime: #9FCE00;         /* Bright lime green used on the Contact page heading */

  /* Typography (font families for headings vs body paragraphs) */
  --font-heading: 'Montserrat', sans-serif;
  --font-slab: 'Roboto Slab', serif;
  --font-body: 'Source Sans Pro', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout measurements */
  --container-max: 1280px;       /* Maximum width of page content on wide desktop screens */
  --radius-sm: 4px;              /* Gentle corner rounding for buttons and photos */
  --radius-md: 8px;              /* Slightly larger corner rounding for cards and popup boxes */
  --transition: 0.25s ease;      /* Smooth 0.25-second fade/slide speed for hover effects */
}

/* Reset & Base: remove browser default spacing differences and make boxes measure cleanly */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 20px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 500;
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: background-color var(--transition);
}

.site-header.header-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

.site-header.header-solid {
  background-color: var(--color-dark);
  border-bottom: 1px solid rgba(240, 230, 197, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  width: 62px;
  height: 60px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-sand);
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-sand);
  padding: 120px 24px 70px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(20, 16, 4, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

/* Home page hero banner:
   - The <video class="hero-bg-video"> fills the screen continuously behind the text.
   - min-height: calc(100vh - 88px) makes the opening title & quote fill the entire first screen
     (100vh = 100% of the screen height minus 88px top padding), pushing the 4 videos and Mandela
     quote just off the bottom until the visitor scrolls down. */
.hero-home {
  min-height: 100vh;
  background-color: var(--color-dark);
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 88px 32px 64px;
}

/* Full-screen background intro video anchored behind everything on the Home page */
.hero-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-home::before {
  background-color: rgba(20, 16, 4, 0.25);
}

/* Slow "fade onto screen" entrance for the top-left logo and top-right page links:
   Visitors see only the video for 3 seconds (3s), then the logo and links gently fade in
   over 2.5 seconds (2.5s) and stay visible so visitors can click Home, About, or Memories. */
@keyframes homeFadeOntoScreen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Fade-in then fade-out animation just for the center title, dates, and Bartolomeu Dias quote:
   - Waits 3s on arrival (or when the video replays), fades in over ~2s (0% -> 14%),
     stays fully visible for 10s (14% -> 86% of 14s), and slowly fades back out over ~2s (86% -> 100%).
   - Using opacity: 0 keeps the box height intact so the videos below do not jump upward. */
@keyframes homeTitleFadeInAndOut {
  0% {
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.home-page .site-logo,
.home-page .nav-menu {
  opacity: 0;
  animation: homeFadeOntoScreen 2.5s ease-out 3s forwards;
}

.home-page .hero-home .hero-content {
  opacity: 0;
  animation: homeTitleFadeInAndOut 14s ease-in-out 3s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .site-logo,
  .home-page .nav-menu,
  .home-page .hero-home .hero-content {
    opacity: 1;
    animation: none;
  }
}

.hero-home .hero-content {
  margin-top: 0;
  min-height: calc(100vh - 88px);
}

/* 3-column layout ("1fr auto 1fr") putting videos on left & right with Mandela in the center */
.hero-videos {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 32px;
  margin-top: 24px;
}

.hero-video-card {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.yt-playlist-mosaic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.yt-mosaic-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
}

/* Fills the top-left YouTube Music box neatly with the uploaded playlist cover art */
.yt-playlist-cover,
.yt-mosaic-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-playlist-cover {
  position: absolute;
  inset: 0;
}

.yt-playlist-mosaic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  transition: background var(--transition);
}

.yt-playlist-mosaic:hover::after {
  background: rgba(0, 0, 0, 0.08);
}

.yt-playlist-mosaic .yt-play-btn {
  z-index: 3;
}

.yt-playlist-mosaic:hover .yt-play-btn {
  transform: scale(1.08);
}

.hero-video-card:last-child {
  justify-self: end;
}

.hero-mandela-card {
  max-width: 390px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
}

.hero-mandela-img {
  width: 170px;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 14px;
}

.hero-mandela-quote {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  line-height: 1.45;
  color: var(--color-sand);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 6px;
}

.hero-mandela-author {
  font-family: var(--font-slab);
  font-size: 0.9rem;
  color: var(--color-gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-about {
  min-height: 760px;
  background-image: url('../images/main-pic-3-scaled.jpg');
}

.hero-about .hero-content {
  margin-top: 320px;
}

/* About Page fixed backdrop & full-screen opening view:
   - .about-bg-backdrop anchors main-pic-3-scaled.jpg in place behind the whole page
     (like the video on the Home page), with a soft dark tint so gold text stays easy to read.
   - .about-page main sits on layer z-index: 2 so the statement text and group photo glide
     cleanly over the fixed background image as the page scrolls. */
.about-bg-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('../images/main-pic-3-scaled.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-bg-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(20, 16, 4, 0.35);
}

.about-page main {
  position: relative;
  z-index: 2;
}

.about-page .hero-about {
  min-height: 100vh;
  background: transparent;
}

.about-page .hero-about::before {
  display: none;
}

.about-page .hero-about .hero-content {
  margin-top: 28vh;
}

.hero-contact {
  min-height: 680px;
  background-image: url('../images/Main-Pic-scaled.jpg');
}

.hero-contact .hero-content {
  margin-top: 280px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 500;
  color: var(--color-sand);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  margin-bottom: 16px;
}

.hero-about .hero-title {
  font-size: 2.95rem;
  letter-spacing: -1.5px;
  color: var(--color-gold);
}

.hero-contact .hero-title {
  font-size: 2.35rem;
  color: var(--color-lime);
  text-transform: lowercase;
}

.hero-subtitle {
  font-family: var(--font-slab);
  font-size: 1.47rem;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 22px;
}

.hero-quote {
  font-size: 0.98rem;
  line-height: 1.6;
  letter-spacing: 1px;
  color: var(--color-gold-hover);
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.btn:hover {
  background-color: var(--color-gold-hover);
  color: var(--color-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   Home Page Sections (Video & Mandela Quote)
   ========================================================================== */
.video-section {
  background-color: var(--color-white);
  padding: 28px 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.video-wrapper iframe,
.video-wrapper .yt-file-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-file-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  text-decoration: none;
}

.yt-file-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background var(--transition);
}

.yt-file-fallback:hover::before {
  background: rgba(0, 0, 0, 0.15);
}

.yt-play-btn {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 48px;
  transition: transform var(--transition);
}

.yt-file-fallback:hover .yt-play-btn {
  transform: scale(1.08);
}

.quote-section {
  background-color: var(--color-cream);
  padding: 64px 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}

.quote-box {
  text-align: center;
  padding: 20px 40px;
}

.quote-icon {
  width: 37px;
  height: auto;
  margin: 0 auto 36px;
  opacity: 0.3;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 2.05rem;
  line-height: 1.25;
  letter-spacing: -1px;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.quote-author {
  font-size: 1.75rem;
  color: var(--color-text);
}

.quote-portrait img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   About Page Section
   ========================================================================== */
.bond-section {
  background-color: var(--color-white);
  padding: 70px 0 80px;
  text-align: center;
}

.bond-statement {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.48;
  color: var(--color-gold);
  max-width: 780px;
  margin: 0 auto 50px;
}

.bond-photo img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
}

/* On the About page, keep .bond-section transparent so the statement text and group photo
   glide right over the fixed main-pic-3-scaled.jpg backdrop, with a dark text shadow so the
   gold words stay crisp and readable over the beach photo. */
.about-page .bond-section {
  background-color: transparent;
  padding: 90px 0 100px;
}

.about-page .bond-statement {
  margin: 0 auto clamp(90px, 18vh, 180px);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.65);
}

.about-page .bond-photo img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 64px);
  margin: 0 auto;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Blog Archive & Single Post Layout
   ========================================================================== */
.blog-section {
  padding: 64px 0 90px;
}

.page-banner-header {
  text-align: center;
  margin-bottom: 48px;
}

.page-banner-header h1 {
  font-size: 2.2rem;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.page-banner-header p {
  color: var(--color-text);
  font-size: 1.05rem;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.post-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  align-items: center;
}

.post-card-thumb img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.post-card-meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold-hover);
  margin-bottom: 8px;
  font-weight: 600;
}

.post-card-title {
  font-size: 1.65rem;
  margin-bottom: 14px;
}

.post-card-title a {
  color: var(--color-navy);
}

.post-card-title a:hover {
  color: var(--color-gold);
}

.post-card-excerpt {
  color: var(--color-text);
  margin-bottom: 18px;
}

.read-more {
  font-weight: 600;
  color: var(--color-gold);
}

.read-more:hover {
  color: var(--color-gold-hover);
}

/* Single Article */
.article-section {
  padding: 60px 0 90px;
}

.article-card {
  background-color: var(--color-white);
  padding: 56px 64px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  max-width: 980px;
  margin: 0 auto;
}

.article-featured-banner {
  margin-bottom: 32px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--color-gold-hover);
  margin-bottom: 28px;
}

.article-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.article-content p {
  margin-bottom: 22px;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  font-size: 1.15rem;
  color: var(--color-navy);
  margin: 26px 0 12px;
  font-weight: 600;
}

.article-content h2 {
  font-size: 1.45rem;
}

.article-content h3 {
  font-size: 1.25rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px 24px;
}

.article-content li {
  margin-bottom: 6px;
}

.article-content blockquote {
  margin: 18px 0 24px;
  padding: 12px 18px;
  border-left: 4px solid var(--color-gold);
  background: rgba(250, 245, 229, 0.75);
  color: var(--color-navy);
  font-style: italic;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-content a {
  color: var(--color-gold-hover);
  text-decoration: underline;
  word-break: break-word;
}

.float-right-img {
  float: right;
  max-width: 480px;
  width: 50%;
  margin: 6px 0 20px 28px;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}

.photo-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}

.photo-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.photo-grid .full-span {
  grid-column: 1 / -1;
}

.post-navigation {
  max-width: 980px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  padding: 20px 32px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Contact & Register Forms
   ========================================================================== */
.contact-section {
  background-color: var(--color-white);
  padding: 90px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3,
.contact-form-wrap h3 {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.contact-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.1rem;
  color: var(--color-navy);
}

.register-hero {
  position: relative;
  min-height: 920px;
  background-image: url('../images/Contact-form-scaled.jpg');
  background-position: top center;
  background-size: cover;
  padding: 140px 24px 90px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.register-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 4, 0.35);
}

.register-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  padding: 44px 48px;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.register-card h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.register-card p {
  margin-bottom: 28px;
  color: var(--color-text);
}

.clean-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy);
}

.form-group label .req {
  color: #c0392b;
}

.form-control {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-navy);
  background: var(--color-white);
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.3);
  padding: 12px 10px;
  transition: border-color var(--transition), opacity var(--transition);
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
}

textarea.form-control {
  height: 136px;
  resize: none;
}

.form-status {
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--color-cream);
  color: var(--color-navy);
  display: none;
}

/* ==========================================================================
   Footer (Astra 3fr 1fr 3fr layout)
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 3;
  background-color: var(--color-dark);
  color: var(--color-sand);
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 1fr 3fr;
  align-items: center;
  gap: 24px;
}

.footer-nav {
  display: flex;
  list-style: none;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-sand);
  font-size: 0.98rem;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: var(--color-gold);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-logo img {
  width: 110px;
  height: auto;
}

.footer-right {
  text-align: right;
  font-size: 0.88rem;
  color: rgba(240, 230, 197, 0.65);
}

/* ==========================================================================
   Memories Page (Unified Mobile-Friendly Photo & Story Hub)
   ========================================================================== */
.memories-page-section,
.photos-page-section {
  padding: 48px 0 84px;
}

.memories-section-heading {
  font-size: 1.45rem;
  color: var(--color-navy);
  margin: 12px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.memories-stories-block {
  margin-bottom: 48px;
}

.photos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.photos-title {
  font-size: 2rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.photos-subtitle {
  color: var(--color-text);
  font-size: 1rem;
}

.upload-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  margin-bottom: 36px;
  border: 1px solid rgba(220, 165, 74, 0.25);
}

.upload-card.collapsed {
  display: none;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.upload-dropzone {
  position: relative;
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-md);
  background: var(--color-cream);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  background: #f5ebd1;
  border-color: var(--color-gold-hover);
}

.upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  color: var(--color-gold-hover);
  margin: 0 auto 10px;
}

.dropzone-title {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.dropzone-hint {
  font-size: 0.85rem;
  color: var(--color-text);
}

.selected-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.selected-previews:empty {
  display: none;
}

.preview-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--color-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.upload-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.upload-caption-group {
  grid-column: 1 / -1;
}

.upload-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.upload-status {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy);
}

.upload-status.error {
  color: #c0392b;
}

.upload-status.success {
  color: #1e8449;
}

/* Filter Pills */
.gallery-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-pill {
  background: var(--color-white);
  color: var(--color-navy);
  border: 1px solid rgba(15, 23, 42, 0.15);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

/* Shared Photo Wall Grid */
.shared-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.photo-wall-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.photo-wall-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.photo-wall-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.photo-wall-caption {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.photo-wall-caption-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.photo-wall-caption-textgroup {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.photo-caption-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy);
}

.photo-caption-meta {
  font-size: 0.78rem;
  color: var(--color-gold-hover);
}

/* ==========================================================================
   Password Gate (Visitor Lock Screen for Memories)
   If a page has data-protected-page="true" and does NOT yet have "auth-unlocked"
   on <body>, hide <main> so private stories/photos cannot be seen until "Bushmans"
   is entered.
   ========================================================================== */
body[data-protected-page="true"]:not(.auth-unlocked) main {
  display: none;
}

.auth-gate-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}

.auth-gate-card {
  width: 100%;
  max-width: 460px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  text-align: center;
  border: 1px solid rgba(220, 165, 74, 0.28);
}

.auth-gate-logo {
  width: 72px;
  height: auto;
  margin: 0 auto 18px;
}

.auth-gate-card h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.auth-gate-card p {
  font-size: 0.92rem;
  color: var(--color-text);
  margin-bottom: 24px;
}

.auth-gate-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-gate-input {
  text-align: center;
  font-size: 1.05rem;
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.auth-gate-error {
  font-size: 0.88rem;
  color: #c0392b;
  font-weight: 600;
  display: none;
}

/* Blog Rich-Text (Quill) Editor & Dynamic Post Modal Reader */
textarea.blog-textarea {
  height: 190px;
  resize: vertical;
}

/* Wraps Quill's toolbar and typing box so they match Kwaaihoek's rounded borders and colours */
.kwaaihoek-quill-wrap {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.kwaaihoek-quill-wrap .ql-toolbar.ql-snow {
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: #FCF9EE;
  font-family: var(--font-body);
  padding: 8px 10px;
}

/* Override Quill's default height: 100% so the editor never overflows over buttons below it */
.kwaaihoek-quill-wrap .ql-container.ql-snow {
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  height: auto;
}

.kwaaihoek-quill-wrap .ql-editor {
  height: auto;
  min-height: 190px;
  max-height: 420px;
  overflow-y: auto;
  line-height: 1.7;
  padding: 14px 16px;
}

.kwaaihoek-quill-wrap.kwaaihoek-quill-modal .ql-editor {
  min-height: 170px;
  max-height: 280px;
}

.kwaaihoek-quill-wrap .ql-editor.ql-blank::before {
  color: #8A94A6;
  font-style: normal;
  left: 16px;
  right: 16px;
}

.kwaaihoek-quill-wrap .ql-editor h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-navy);
  margin: 14px 0 8px;
}

.kwaaihoek-quill-wrap .ql-editor h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-navy);
  margin: 12px 0 6px;
}

.kwaaihoek-quill-wrap .ql-editor blockquote {
  border-left: 4px solid var(--color-gold);
  background: rgba(250, 245, 229, 0.7);
  padding: 8px 14px;
  margin: 10px 0;
  color: var(--color-navy);
}

.kwaaihoek-quill-wrap .ql-editor a {
  color: var(--color-gold-hover);
}

/* Highlight toolbar buttons in Kwaaihoek gold when hovered or active */
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar button:hover,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar button:focus,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar button.ql-active,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar .ql-picker-label:hover,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar .ql-picker-label.ql-active,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar .ql-picker-item:hover,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar .ql-picker-item.ql-selected {
  color: var(--color-gold-hover);
}

.kwaaihoek-quill-wrap .ql-snow.ql-toolbar button:hover .ql-stroke,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar button:focus .ql-stroke,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar button.ql-active .ql-stroke,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke {
  stroke: var(--color-gold-hover);
}

.kwaaihoek-quill-wrap .ql-snow.ql-toolbar button:hover .ql-fill,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar button:focus .ql-fill,
.kwaaihoek-quill-wrap .ql-snow.ql-toolbar button.ql-active .ql-fill {
  fill: var(--color-gold-hover);
}

.kwaaihoek-quill-wrap:focus-within .ql-toolbar.ql-snow,
.kwaaihoek-quill-wrap:focus-within .ql-container.ql-snow {
  border-color: var(--color-gold);
}

.post-reader-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  z-index: 950;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.post-reader-backdrop.open {
  display: flex;
}

.post-reader-modal {
  background: var(--color-white);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  padding: 40px 44px;
  position: relative;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.post-reader-close {
  position: sticky;
  top: 0;
  float: right;
  background: var(--color-cream);
  border: none;
  color: var(--color-navy);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.post-reader-close:hover {
  background: var(--color-gold);
}

/* ==========================================================================
   Post Card Header Row & Admin Edit Button
   ========================================================================== */
.post-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.article-section .post-card-header-row {
  align-items: center;
  margin-bottom: 12px;
}

.btn-edit-post {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 165, 74, 0.12);
  border: 1px solid var(--color-gold);
  color: var(--color-navy);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-edit-post:hover {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(220, 165, 74, 0.35);
}

.btn-edit-post svg {
  width: 13px;
  height: 13px;
}

/* Groups the Admin Edit and Delete buttons cleanly on story cards and inside the reader popup */
.post-card-admin-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Red-accented Admin Delete pill button for stories and photos */
.btn-delete-post,
.btn-delete-photo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.45);
  color: #b03022;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-delete-post:hover,
.btn-delete-photo:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

/* Only show Delete buttons on stories and photos when signed in as Admin */
body:not(.admin-authenticated) .btn-delete-post,
body:not(.admin-authenticated) .btn-delete-photo {
  display: none;
}

/* ==========================================================================
   Admin Edit Explanation Box (Timestamped Edit Notes)
   ========================================================================== */
.post-edit-notes {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-edit-notes:empty {
  display: none;
  margin: 0;
}

.edit-note-box {
  background: #FCF9EE;
  border: 1px solid rgba(220, 165, 74, 0.3);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.edit-note-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.edit-note-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold-hover);
  background: rgba(220, 165, 74, 0.16);
  padding: 2px 8px;
  border-radius: 4px;
}

.edit-note-badge svg {
  width: 12px;
  height: 12px;
}

.edit-note-time {
  font-size: 0.76rem;
  color: #718096;
  font-weight: 500;
}

.edit-note-text {
  line-height: 1.5;
  color: var(--color-text);
  font-style: italic;
}

/* ==========================================================================
   Admin Post Edit Modal Dialog
   ========================================================================== */
.post-edit-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.post-edit-backdrop.open {
  display: flex;
}

.post-edit-modal {
  background: var(--color-white);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(220, 165, 74, 0.3);
}

.post-edit-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--color-cream);
  border: none;
  color: var(--color-navy);
  font-size: 1.4rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.post-edit-close:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.post-edit-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.post-edit-subtitle {
  font-size: 0.84rem;
  color: #718096;
  margin-bottom: 22px;
}

.post-edit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edit-note-field-card {
  background: #FFFDF5;
  border: 1.5px dashed var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.edit-note-field-card label {
  color: var(--color-gold-hover);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.edit-note-field-card p {
  font-size: 0.78rem;
  color: #718096;
  margin-bottom: 8px;
}

.post-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #CBD5E0;
  color: #4A5568;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

/* ==========================================================================
   Admin Authentication & Password Reset UI
   ========================================================================== */
.admin-status-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.82rem;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 165, 74, 0.12);
  border: 1px solid rgba(220, 165, 74, 0.45);
  border-radius: 20px;
  padding: 4px 14px;
  color: var(--color-navy);
}

.admin-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.admin-status-text {
  font-weight: 500;
}

.admin-status-text strong {
  color: var(--color-navy);
}

.btn-admin-logout {
  background: transparent;
  border: none;
  color: #718096;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0 4px;
  margin-left: 4px;
  transition: color var(--transition);
}

.btn-admin-logout:hover {
  color: #DC2626;
}

.btn-admin-login-link {
  background: transparent;
  border: 1px dashed rgba(220, 165, 74, 0.6);
  border-radius: 16px;
  padding: 4px 14px;
  color: var(--color-gold-hover);
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-admin-login-link:hover {
  border-style: solid;
  background: rgba(220, 165, 74, 0.15);
  color: var(--color-navy);
}

.admin-auth-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.admin-auth-backdrop.open {
  display: flex;
}

.admin-auth-modal {
  background: var(--color-white);
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-md);
  padding: 36px 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  border: 1px solid rgba(220, 165, 74, 0.35);
}

.admin-auth-header {
  margin-bottom: 22px;
  text-align: center;
}

.admin-auth-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220, 165, 74, 0.15);
  color: var(--color-gold-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.admin-auth-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.admin-auth-subtitle {
  font-size: 0.84rem;
  color: #718096;
  line-height: 1.45;
}

.admin-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-auth-form label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-navy);
}

.admin-auth-form input.form-control {
  padding: 10px 14px;
  border: 1px solid #CBD5E0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}

.admin-auth-form input.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(220, 165, 74, 0.2);
}

.admin-auth-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-top: -4px;
}

.admin-auth-link {
  background: transparent;
  border: none;
  color: var(--color-gold-hover);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
  padding: 0;
}

.admin-auth-link:hover {
  color: var(--color-navy);
}

.admin-auth-error {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.4;
}

.admin-auth-success {
  display: none;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.4;
}

.admin-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* Layer order (z-index) keeps popups stacked properly:
   - Story reader popup sits at 950
   - Enlarged photo lightbox sits at 999 (above the story reader)
   - Admin post editor sits at 1000
   - Admin login & password reset popup sits at 2100 (topmost) */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox-backdrop.open {
  display: flex;
}

.lightbox-backdrop img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Responsive Breakpoints (layout adjustments for tablets <= 900px and phones <= 680px)
   ========================================================================== */
@media (max-width: 900px) {
  .quote-grid,
  .post-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-right {
    text-align: center;
  }

  .article-card {
    padding: 36px 28px;
  }

  .float-right-img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px 0;
  }
}

@media (max-width: 680px) {
  .nav-menu {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .hero-home {
    min-height: auto;
    padding: 84px 18px 48px;
  }

  .hero-home .hero-content {
    margin-top: 0;
    min-height: calc(100vh - 84px);
  }

  .hero-videos {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
  }

  .hero-video-card,
  .hero-video-card:last-child {
    width: 100%;
    max-width: 100%;
    justify-self: center;
  }

  .hero-about .hero-content,
  .hero-contact .hero-content {
    margin-top: 80px;
  }

  .hero-about,
  .hero-contact {
    min-height: 360px;
  }

  .about-page .hero-about {
    min-height: 100vh;
  }

  .about-page .hero-about .hero-content {
    margin-top: 22vh;
  }

  .about-page .bond-statement {
    font-size: 1.3rem;
  }

  .hero-title,
  .hero-about .hero-title {
    font-size: 1.85rem;
  }

  .quote-text {
    font-size: 1.45rem;
  }

  .photo-grid,
  .form-row-2,
  .upload-fields-grid,
  .shared-photo-grid {
    grid-template-columns: 1fr;
  }

  .upload-card {
    padding: 20px 16px;
  }

  .btn-upload-toggle,
  .upload-actions .btn,
  .upload-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .register-card {
    padding: 28px 22px;
  }
}
