/*
Theme Name: Jamestown Theme
*/

/* ===== BASE ===== */

body {
  margin: 0;
  font-family: 'Libre Baskerville', serif;
  color: #2e5239;
  background: #F5F1E8;
}

/* ===== HERO (TOP SECTION) ===== */

.hero {
  position: relative;
  height: auto; /* or 100vh for full screen */
  min-height: 300px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;

  object-fit: cover;       /* 🔥 fills the page */
  object-position: top center; /* 👈 keeps your text visible */
}

/* HERO TEXT */

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
}

.draw-text {
  font-family: 'Great Vibes', cursive;

  font-size: clamp(80px, 13vw, 180px);;

  fill: none;
  stroke: white;
  stroke-width: 1.6;

  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;

  animation: draw 4s ease forwards;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 24px);
  font-family: 'Great Vibes', cursive;
  color: white;
  margin-top: 10px;

  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 2s;
}

/* ===== NAV (NOW BELOW HERO) ===== */

  .site-header {
    background: #F5F1E8;
    border-bottom: 1px solid black;
    z-index: 9999;
    position: relative;
  }

/* NAV */

.header-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav li {
  position: relative;
}

.header-nav a {
  text-decoration: none;
  color: black;
  font-size: 17px;
  padding: 5px 10px;
  display: block;
}

/* DROPDOWN */

.header-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  background: #F5F1E8;
  min-width: 250px;

  border: 1px solid black;
}



.header-nav ul ul a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  padding: 12px 20px;
}

.header-nav ul ul li:hover {
  background: #e8e2d6;
}

/* ===== LOGO ===== */

.header-logo {
  margin-top: 10px;
}

.header-logo img {
  height: 200px;
  width: auto;
}

/* ===== CONTENT ===== */

#app {
  width: 60%;
  margin: 40px auto;
}

/* ===== ANIMATIONS ===== */

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
  .hero {
    height: 25vh;
  }

  .header-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  #app {
    width: 90%;
  }
}

/* ===== LAYOUT ===== */

.layout {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* MAIN CONTENT */

.main-content {
  flex: 2;
}

.sidebar {
  flex: 1;
}

/* SIDEBAR */

.sidebar {
  flex: 1;

  background: white;
  padding: 20px;

  border: 1px solid #ddd;
  border-radius: 6px;

  height: fit-content; /* 👈 prevents stretching */
}

.sidebar img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* CALENDAR */

.sidebar iframe {
  width: 100%;
  height: 400px;
  border: none;
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .sidebar iframe {
    height: 300px;
  }
}

.calendar-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}

.calendar-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.calendar-card iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

#app {
  padding-left: 0;
  margin-left: 0;
}

#app * {
  margin-left: 0;
  padding-left: 0;
}

.hero {
  position: relative;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 50px;

  margin: 30px 0; /* spacing below hero */
  flex-wrap: wrap;
}

.circle-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 10px;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;

  color: white;
  text-decoration: none;

  transition: all 0.3s ease;

  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.ordinances { background: #6D4C41; }
.permits    { background: #6D4C41; } 
.water      { background: #6D4C41; } 
.town       { background: #6D4C41; } 
.calendar   { background: #6D4C41; }
.contact    { background: #6D4C41; } 

.circle-btn:hover {
  transform: translateY(-5px) scale(1.08);
  filter: brightness(1.15);
}

.circle-btn {
  word-break: break-word;
}

.circle-btn {
  border: 2px solid rgba(255,255,255,0.4);
}

footer {
  background-color: #5a3e2b !important;
}

.site-footer {
  background-color: #12263a; /* deep blue */
  color: #e6f0f3;
  padding: 60px 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* columns */
.footer-col {
  flex: 1;
  min-width: 200px;
}

/* headings */
.footer-col h3 {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: #cfe3ea;
}

/* text */
.footer-col p {
  margin: 8px 0;
  font-size: 14px;
}

/* links */
.footer-col a {
  display: block;
  margin-top: 8px;
  color: #cfe3ea;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* logo */
.footer-logo img {
  max-width: 120px;
  margin-bottom: 10px;
}

.footer-town-name {
  letter-spacing: 4px;
  font-size: 12px;
}

/* right column alignment */
.footer-links {
  text-align: right;
}


/* CARD */
.news-card {
  width: 100%;
  padding: 20px;

  background: #F5F1E8;

  font-family: 'Libre Baskerville', serif;
  color: #2e5239;

  border: 2px solid #8b6f3d;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;   /* 🔥 centers horizontally */
  text-align: center;    /* 🔥 centers text */

  min-height: 220px;     /* keeps boxes even height */
}

/* hover */
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* image */
.news-image img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* title */
.news-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1f2d3d;
  font-family: 'Source Sans 3', sans-serif;
}

/* text */
.news-content p {
  font-size: 14px;
  color: #444;
  font-family: 'Source Sans 3', sans-serif;
}

.news-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

#app {
  display: grid;
  grid-template-columns: repeat(3, 1.5r);
  gap: 25px;
}

@media (max-width: 900px) {
  #app {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #app {
    grid-template-columns: 1fr;
  }
}

/* HEADER LAYOUT */
.site-header {
  display: flex;
  flex-direction: column;
}

/* SEARCH BAR */
.header-search {
  width: 100%;
  display: flex;
  justify-content: right;
  padding: 10px 0;
}

/* SEARCH FORM */
.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  padding: 10px 15px;
  border-radius: 20px;
  border: 1px solid #ccc;
  width: 250px;
}

.search-form button {
  background: #6D4C41;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
}

/* NAV BELOW */
.header-nav {
  width: 100%;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.search-form input {
  background: #F5F1E8;
  border: 1px solid #6D4C41;
}

.search-form button {
  background: #6D4C41;
}

.text-logo {
  font-family: 'Rye', serif;
  font-size: 32px;
  font-weight: 700;
  color: black;
  text-decoration: none;
  letter-spacing: 1px;
}

.text-logo img {
  width: 50px;   /* adjust this */
  height: auto;  /* keeps proportions */
  margin-left: 8px; /* space from text */
  vertical-align: middle; /* lines it up nicely with text */
}

.section-divider {
  height: 15px;
  width: 100%;
  background: #293321; 
  margin: 40px 0;
  border-radius: 3px;
}

.page-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.page-content {
  font-size: 16px;
  line-height: 1.6;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.nav-menu li {
  position: relative;
}

/* =========================
   HEADER RESET
========================= */
.site-header {
  background: #F5F1E8;
  border-bottom: 1px solid #ddd;
  font-family: 'Inter', sans-serif;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
  background: #2e5239;
  color: white;
  font-size: 13px;

  display: flex;
  justify-content: space-between;

  padding: 6px 20px;
}

/* =========================
   MAIN HEADER
========================= */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* =========================
   SCRIPT LOGO (YOUR VIBE)
========================= */
.script-logo {
  font-family: 'aRIAL';
  font-size: 84px;
  color: #2e5239;
}

.sub-logo {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: #8b6f3d;
}

/* =========================
   SEARCH
========================= */
.header-search input {
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  width: 220px;
}

.header-search button {
  background: #2e5239;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 20px;
  cursor: pointer;
}

/* =========================
   NAV
========================= */
.header-nav {
  border-top: 1px solid #ddd;
  border-bottom: 2px solid #8b6f3d;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 40px;

  list-style: none;
  margin: 0;
  padding: 15px 0;
}

.nav-menu a {
  text-decoration: none;
  color: #2e5239;
  font-weight: 500;
}

/* =========================
   DROPDOWN (SMOOTH)
========================= */
.nav-menu li {
  position: relative;
}



.nav-menu li ul li {
  padding: 10px 20px;
}

.nav-menu li ul li:hover {
  background: #f5f1e8;
}

/* ===== HEADER BASE ===== */
.site-header {
  background: #F5F1E8;
  font-family: 'Inter', sans-serif;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #2e5239;
  color: white;

  display: flex;
  justify-content: space-between;

  padding: 6px 30px;
  font-size: 13px;
}

/* ===== HEADER ROW ===== */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 40px;
}

/* ===== SCRIPT LOGO ===== */
.script-logo {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  color: #2e5239;
}

/* ===== SEARCH ===== */
.search-area {
  display: flex;
  align-items: center;
}

.search-area input {
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  width: 220px;
}

.search-area button {
  background: #2e5239;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 20px;
  margin-left: 8px;
  cursor: pointer;
}

/* ===== NAV BAR ===== */
.header-nav {
  border-top: 1px solid #ddd;
  border-bottom: 2px solid #8b6f3d;
}

/* CENTER NAV LIKE IMAGE */
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 40px;

  list-style: none;
  margin: 0;
  padding: 14px 0;
}

.nav-menu a {
  text-decoration: none;
  color: #2e5239;
  font-weight: 500;
}

/* ===== DROPDOWN ===== */
.nav-menu li {
  position: relative;
}



.nav-menu li ul li {
  padding: 10px 20px;
}

.nav-menu li ul li:hover {
  background: #f5f1e8;
}

/* ===== HEADER BASE ===== */
.site-header {
  background: #F5F1E8;
  font-family: 'Inter', sans-serif;
  border-bottom: 1px solid #ddd;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #2e5239;
  color: white;

  display: flex;
  justify-content: space-between;

  padding: 6px 40px;
  font-size: 13px;
}

/* ===== MAIN HEADER ===== */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 40px;
}

/* ===== SCRIPT LOGO ===== */
.logo {
  font-family: 'Great Vibes', cursive;
  font-size: 48px;
  color: #2e5239;
}

/* ===== SEARCH ===== */
.search input {
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  width: 220px;
}

.search button {
  background: #2e5239;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 20px;
  margin-left: 8px;
  cursor: pointer;
}

/* ===== NAV ===== */
.nav-bar {
  border-top: 1px solid #ddd;
  border-bottom: 2px solid #8b6f3d;
}

/* CENTERED NAV */
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 40px;

  list-style: none;
  margin: 0;
  padding: 14px 0;
  font-family: 'Cinzel', serif;
}

.nav-menu a {
  text-decoration: none;
  color: #2e5239;
  font-weight: 500;
  font-family: 'Cinzel', serif;
}

/* ===== DROPDOWN ===== */
.nav-menu li {
  position: relative;
}



.nav-menu li ul li {
  padding: 10px 20px;
}

.nav-menu li ul li:hover {
  background: #f5f1e8;
}

/* ===== BASE ===== */
body {
  margin: 0;
  background: #f5f1e8;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: linear-gradient(90deg, #1f3d2b, #2e5239);
  color: #f5f1e8;

  display: flex;
  justify-content: space-between;
  padding: 8px 40px;
  font-size: 14px;
}

/* ===== HEADER ===== */
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 20px 40px;
}

/* ===== LOGO CIRCLE ===== */
.logo-circle {
  width: 90px;
  height: 90px;
  border: 3px solid #2e5239;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  color: #2e5239;
}

/* ===== TITLE ===== */
.header-title {
  text-align: center;
  flex: 1;
}

.script-logo {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  color: #2e5239;
}

.sub-logo {
  font-family: 'Cinzel', serif;
  letter-spacing: 6px;
  font-size: 14px;
  color: #8b6f3d;
}

/* ===== SEARCH ===== */
.header-search input {
  padding: 10px;
  border: 1px solid #ccc;
  width: 220px;
}

.header-search button {
  background: #2e5239;
  color: white;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
}

/* ===== NAV ===== */
.nav-bar {
  border-top: 1px solid #ddd;
  border-bottom: 2px solid #8b6f3d;
  background: #f5f1e8;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 40px;

  list-style: none;
  margin: 0;
  padding: 15px 0;
}

.nav-menu a {
  text-decoration: none;
  color: #2e5239;
  font-weight: 600;
}

/* ===== DROPDOWN ===== */
.nav-menu li {
  position: relative;
}





.hero {
  position: relative;
  height: 600px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  color: white;
  text-align: center;
  max-width: 700px;
}

.hero-small {
  letter-spacing: 3px;
  font-size: 14px;
}


.hero-text {
  margin: 20px 0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 12px 20px;
  border: 1px solid white;
  text-decoration: none;
  color: white;
}

.btn.primary {
  background: #2e5239;
  border: none;
}

  .hero-script {
  font-family: 'Great Vibes', cursive;
  font-size: 80px;

  opacity: 0;
  transform: translateY(30px) scale(0.95);
  filter: blur(6px);

  transition: all 1.5s ease;
}

/* 👇 ACTIVE STATE */

.hero-svg {
  width: 100%;
  height: auto;
}

/* 👇 THE DRAWING EFFECT */
.draw-text {
  font-family: 'Great Vibes', cursive;
  font-size: 120px;

  fill: none;
  stroke: white;
  stroke-width: 2;

  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;

  animation: drawScript 3s ease forwards;
}

@keyframes drawScript {
  to {
    stroke-dashoffset: 0;
  }
}

.draw-text {
  fill: transparent;
  stroke: white;

  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;

  animation: drawScript 3s ease forwards, fillIn 1s ease forwards;
  animation-delay: 0s, 2.5s;
}

@keyframes fillIn {
  to {
    fill: white;
  }
}

/* =========================
   HERO SVG DRAW FIX
========================= */

.hero-svg {
  width: 100%;
  height: 200px;
}

/* isolate so other .draw-text rules don't break it */
.hero-script .draw-text {
  font-family: 'Great Vibes', cursive;
  font-size: 120px;

  fill: none;
  stroke: white;
  stroke-width: 2;

  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;

  animation: heroDraw 4s ease forwards;
}

/* force override */
.hero-script .draw-text {
  animation: heroDraw 4s ease forwards !important;
}

@keyframes heroDraw {
  to {
    stroke-dashoffset: 0;
  }
}
/* ===== HERO TEXT FORCE FIX ===== */

.hero-svg {
  width: 100%;
  height: 200px;
}

/* override EVERYTHING else */
.hero-script .draw-text {
  font-family: 'Great Vibes', cursive !important;
  font-size: 120px;

  fill: none !important;
  stroke: red !important; /* 🔥 TEMP DEBUG */

  stroke-width: 2;

  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;

  animation: heroDraw 4s linear forwards !important;
}

@keyframes heroDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* =========================
   HERO SCRIPT (WORKING)
========================= */

.hero-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(60px, 10vw, 120px);
  color: white;

  /* start hidden */
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
}

/* animate in */
.hero-script.animate {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);

  transition: all 1.5s ease;
}

.hero-svg {
  width: 100%;
  height: 200px;
}

/* ✍️ REAL HANDWRITING EFFECT */
.draw-path {
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;

  animation: drawReal 3s ease forwards;
}

@keyframes drawReal {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-svg {
  width: 100%;
  height: 200px;
}

#heroText {
  font-family: 'Great Vibes', cursive;
  font-size: 120px;

  fill: none;
  stroke: white;
  stroke-width: 2;

  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}

.hero-left {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;        /* keeps layout centered overall */
  padding-left: 80px;    /* 👈 CONTROL LEFT POSITION HERE */
}



/* ===== HERO ===== */

.hero {
  position: relative;
  height: 90vh;
  background: url('https://jamestownco.org/wp-content/uploads/2026/03/asdfghjkl.png') center/cover no-repeat;
}

/* DARK + GOLD OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(10, 25, 20, 0.75),
    rgba(10, 25, 20, 0.65)
  );
  display: flex;
  align-items: center;
  padding-left: 8%;
}

/* CONTENT */
.hero-content {
  max-width: 600px;
  color: #f5efe6;
}

/* FRAME (OLD WEST BORDER) */
.hero-frame {
  border: 2px solid rgba(201, 168, 97, 0.6);
  padding: 40px;
  position: relative;
}

/* CORNER DECOR */
.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid #c9a861;
}

.hero-frame::before {
  top: -10px;
  left: -10px;
  border-right: none;
  border-bottom: none;
}

.hero-frame::after {
  bottom: -10px;
  right: -10px;
  border-left: none;
  border-top: none;
}

/* SMALL TEXT */
.hero-small {
  letter-spacing: 3px;
  font-size: 12px;
  margin-bottom: 10px;
  color: #c9a861;
}

/* TITLE */
.hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: 72px;
  margin: 0;
  line-height: 1.1;
}

.hero-title {
  font-size: clamp(32px, 6vw, 80px);
}

/* DIVIDER WITH PICKAXE */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;  /* 🔥 forces center */

  width: 100%;
  margin: 20px 0;
}

.divider span {
  flex: 1;
  height: 1px;

  background: linear-gradient(to right, transparent, #c9a861);
}

.divider span:last-child {
  background: linear-gradient(to left, transparent, #c9a861);
}

.divider img {
  width: 30px;
  margin: 0 12px;

  display: block;           /* 🔥 removes inline weirdness */
  position: relative;
  top: 1px;                 /* 👈 micro-adjust if needed */
}
/* DESCRIPTION */
.hero-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #e6dcc9;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 22px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  border: 2px solid #c9a861;
  transition: all 0.3s ease;
}

/* PRIMARY = GOLD PLATE */
.btn.primary {
  background: linear-gradient(145deg, #c9a861, #a8893d);
  color: #1a1a1a;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* OUTLINE */
.btn.outline {
  color: #c9a861;
}

/* HOVER */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.script-logo {
  font-family: 'Playfair Display', serif !important;
}


#app {
  display: flex !important;
  gap: 20px;

  overflow-x: auto;

  padding: 20px 40px;

  /* 👇 THIS is the magic */
  width: fit-content;
  margin: 0 auto;
}



.read-more {
  display: inline-block;
  margin-top: 10px;

  color: #8b6f3d;
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.news-card {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
}

/* ===== FIXED HERO IMAGE ===== */
.page-hero {
  height: 300px;

  background: url('https://jamestownco.org/wp-content/uploads/2026/04/deer-scaled.png') center/cover no-repeat;

  background-attachment: fixed;
}

/* ===== OVERLAY EFFECT ===== */
.page-content-box {
  background: #F5F1E8;

  margin-top: -120px; /* 👈 pulls it up over image */
  padding: 40px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  border: 1px solid #ddd;
}

/* make layout not crush it */
.layout {
  position: relative;
  z-index: 2;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .page-hero {
    background-attachment: scroll;
  }

  .page-content-box {
    margin-top: 0;
  }
}

.news-content h3 {
  text-align: center;
  margin-bottom: 12px;
}

.news-card {
  border: 2px solid #8b6f3d;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.news-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.news-card:hover {
  transform: translateY(-6px);
  transition: 0.25s ease;
}

.news-content {
  text-align: left;              /* 🔥 stop centering paragraphs */
  line-height: 1.6;
}

/* paragraphs */
.news-content p {
  margin-bottom: 12px;
}

/* links */
.news-content a {
  color: #8b6f3d;
  text-decoration: underline;
}

/* headings inside posts */
.news-content h1,
.news-content h2,
.news-content h3 {
  margin-bottom: 10px;
}

/* lists */
.news-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.news-card {
  text-align: center;   /* keeps title centered */
}

.news-content {
  text-align: left;     /* body back to normal */
}

.news-card {
  text-align: center;   /* keeps title centered */
}

.news-content {
  text-align: left;     /* body back to normal */
}

/* 🔥 FORCE REMOVE BULLETS */
.nav-menu,
.nav-menu ul,
.nav-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-menu a {
  line-height: 1.8;
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  font-weight: bold;
  color: #8b6f3d;
  font-size: 14px;
}
.
.full-bar {
  width: 100vw;
  height: 20px;
  background: #2e5239;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.full-bar {
  display: block;
  width: 100vw;
  height: 40px;
  background: #2e5239;

  margin: 20px 0;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.page-content a {
  color: #8b6f3d;
}

/* HIDE BUTTON DESKTOP */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    margin: 10px 20px;
  }

  .nav-wrapper {
    display: none;
  }

  .nav-wrapper.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px;
  }

  .nav-menu li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }
}

.nav-menu li > a::after {
  content: " ▾";
  font-size: 12px;
}

/* ===== GLOBAL CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER LAYOUT ===== */
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* keep things from squishing */
.header-title {
  text-align: center;
  flex: 1;
}

/* logo + search stay sized */
.logo-circle,
.header-search {
  flex-shrink: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {

  /* ===== HEADER ===== */
  .header-main {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .header-search {
    justify-content: center;
    width: 100%;
  }

  /* ===== NAV ===== */
  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* ===== HERO ===== */
  .hero {
    height: auto;
    min-height: 60vh;
  }

  .hero-content {
    padding: 20px;
    text-align: center;
  }

  /* TEXT scales automatically if you're using clamp() */

  /* ===== BUTTONS STACK ===== */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* ===== CARDS ===== */
  #app {
    grid-template-columns: 1fr;  /* 🔥 single column */
  }

}

/* =========================
   🔥 HERO CUT-OFF FIX
========================= */

.hero {
  height: auto !important;
  min-height: 70vh;
  overflow: visible !important;
}

.hero-overlay {
  position: relative !important;
  padding: 40px 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .page-content-box {
    margin-top: 0 !important;
  }
}

.hero-frame {
  padding: 20px;
}

.hero-buttons {
  margin-top: 20px;
}

/* =========================
   🔥 MOBILE HEADER CENTER FIX
========================= */
@media (max-width: 768px) {

  .header-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }

  .logo-circle {
    margin: 0 auto;
    margin-top: 20px;
  }

  .header-title {
    width: 100%;
    text-align: center;
  }

  .script-logo {
    text-align: center;
  }

  .sub-logo {
    text-align: center;
  }

  .header-search {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .search-form {
    width: 100%;
    max-width: 300px;
    flex-direction: column;
    align-items: center;
  }

  .search-form input {
    width: 100%;
  }

  .search-form button {
    width: 100%;
    border-radius: 20px; /* looks better stacked */
  }

}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}
/* =========================
   🔥 LOGO + TITLE ROW (O Jamestown)
========================= */

.header-main {
  display: flex;
  align-items: center;     /* vertical alignment */
  justify-content: center; /* center whole group */
  gap: 20px;               /* space between circle + text */
  text-align: left;
}

/* circle */
.logo-circle {
  flex-shrink: 0;
}

/* text block */
.header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================
   🔥 HEADER FINAL (O Jamestown LEFT)
========================= */

/* DESKTOP */
.header-main {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 👈 LEFT ALIGN */
  gap: 20px;
  padding: 20px 40px;
}

/* circle */
.logo-circle {
  flex-shrink: 0;
}

/* text block */
.header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* tighten spacing */
.script-logo {
  margin: 0;
  line-height: 1;
}

.sub-logo {
  margin-top: 4px;
}


/* =========================
   📱 MOBILE (STACK + CENTER)
========================= */

@media (max-width: 768px) {

  .header-main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .header-title {
    align-items: center;
    text-align: center;
  }

}

/* =========================
   🔥 HERO TEXT MOBILE FIX
========================= */

/* make it scale properly */
.hero-title {
  font-size: clamp(36px, 12vw, 72px);
  line-height: 1.1;
  word-break: break-word;
}

/* force nice stacking on mobile */
@media (max-width: 768px) {

  .hero-title {
    font-size: clamp(32px, 10vw, 48px);
    text-align: center;
  }

}


/* =========================
   HERO TITLE (RESPONSIVE)
========================= */

.hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(36px, 10vw, 120px); /* 👈 magic line */
  line-height: 1.05;
  margin: 0;
  text-align: center;
}

/* =========================
   HERO TITLE
========================= */

/* DESKTOP */
.hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(60px, 6vw, 120px);
  line-height: 1.05;
  margin: 0;
  text-align: center;
}

/* MOBILE */
@media (max-width: 768px) {

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

}

/* =========================
   HERO TITLE
========================= */

/* DESKTOP */
.hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: 120px;
  line-height: 1.05;
  margin: 0;
  text-align: center;
}

/* MOBILE */
@media (max-width: 768px) {

  .hero-title {
    font-size: 45px !important; /* 👈 force it small */
  }

}

/* =========================
   🔥 SMALLER BUTTONS (MOBILE)
========================= */

@media (max-width: 768px) {

  .hero-buttons .btn {
    padding: 8px 14px !important;   /* 👈 smaller */
    font-size: 12px !important;     /* 👈 smaller text */
    max-width: 200px;               /* 👈 prevents stretching */
    width: auto;                    /* 👈 don't fill full width */
  }

}

/* =========================
   🔥 REMOVE HEADER PADDING (MOBILE)
========================= */

@media (max-width: 768px) {

  .header-main {
    padding: 0 !important;
  }

}

/* =========================
   🔥 FORCE GRID (FINAL FIX)
========================= */

#app {
  display: grid !important; /* 👈 overrides flex */
  gap: 20px;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  width: 90%;
  margin: 40px auto;
}

/* =========================
   🔥 HORIZONTAL SCROLL ROW
========================= */

#app {
  display: flex;
  gap: 20px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;

  padding: 20px;
}

/* each card */
.news-card {
  min-width: 280px;   /* 👈 controls how many fit */
  flex: 0 0 auto;

  scroll-snap-align: start;
}

/* =========================
   🔥 SCROLL CARDS
========================= */

#app {
  display: flex !important;
  gap: 20px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;

  padding: 20px;
}

/* each card */
.news-card {
  min-width: 280px;
  flex: 0 0 auto;

  scroll-snap-align: start;
}

/* hide scrollbar */
#app::-webkit-scrollbar {
  display: none;
}

#app {
  scrollbar-width: none;
}



/* =========================
   🔥 SCROLL CARDS
========================= */

#app {
  display: flex !important;
  gap: 20px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;

  padding: 20px;
}

/* each card */
.news-card {
  min-width: 280px;
  flex: 0 0 auto;

  scroll-snap-align: start;
}

/* hide scrollbar */
#app::-webkit-scrollbar {
  display: none;
}

#app {
  scrollbar-width: none;
}

/* arrow */
.scroll-arrow {
  text-align: right;
  padding: 0 20px;
  font-size: 24px;
  color: #8b6f3d;
  cursor: pointer;
}

/* container for arrows */
.scroll-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 900px;
  margin: 10px auto;
}

/* arrows */
.scroll-arrow {
  font-size: 24px;
  color: #8b6f3d;
  cursor: pointer;
  user-select: none;
}

.scroll-controls {
  position: relative;
}

.scroll-arrow.left {
  position: absolute;
  left: 0;
}

.scroll-arrow.right {
  position: absolute;
  right: 0;
}

/* =========================
   🔥 FINAL CARD LAYOUT FIX
   (OVERRIDES CHAOS ABOVE)
========================= */

/* 📱 MOBILE = SCROLL */
@media (max-width: 768px) {

  #app {
    display: flex !important;
    overflow-x: auto !important;
    gap: 20px;
    padding: 20px;

    width: 100% !important;
    margin: 0 auto !important;
  }

  .news-card {
    min-width: 260px;
    flex: 0 0 auto;
  }

}


/* 💻 DESKTOP = GRID */
@media (min-width: 769px) {

  #app {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;

    gap: 25px;
    width: 90% !important;
    margin: 40px auto !important;

    overflow: visible !important;
  }

  .news-card {
    min-width: unset !important;
  }

}

@media (max-width: 768px) {

  /* hide nav by default */
  .nav-wrapper {
    display: none;
    width: 100%;
  }

  .nav-wrapper.active {
    display: block;
  }

  /* stack menu */
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px;
  }

  /* each main item */
  .nav-menu > li {
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
  }

  /* 🔥 SUBMENUS */
  .nav-menu li ul {
    display: none;
    position: static;
    padding-left: 15px;
    margin-top: 8px;
  }

  /* when clicked */
  .nav-menu li.active > ul {
    display: block;
  }

  /* disable hover behavior on mobile */


}

@media (max-width: 768px) {


  

  /* hide submenus by default */
  .nav-menu li ul {
    display: none;
    position: static;
    padding-left: 15px;
  }

  /* show when clicked */
  .nav-menu li.active > ul {
    display: block;
  }

}

@media (max-width: 768px) {



  /* hide submenus */
  .nav-menu li ul {
    display: none;
    position: static;
    padding-left: 15px;
  }

  /* show when active */
  .nav-menu li.active > ul {
    display: block;
  }

}

.nav-bar {
  position: relative;
  z-index: 9999;
}

.site-header {
  position: relative;
  z-index: 9999;
}



/* 🔥 FINAL NAV FIX - NO HOVER EVER */

@media (max-width: 768px) {
  .nav-menu li ul {
    display: none;
    position: static;
  }

  .nav-menu li.open > ul {
    display: block;
  }
}

@media (min-width: 769px) {

  .nav-menu li ul {
    position: absolute;
    top: 100%;
    left: 0;

    background: white;
    min-width: 220px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.25s ease;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .nav-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

}

@media (max-width: 768px) {

@media (max-width: 768px) {
  .nav-menu li ul {
    display: none;
    position: static;
  }

  .nav-menu li.open > ul {
    display: block;
  }
}

  .nav-menu li.open > ul {
    display: block;
  }

}

/* 🔥 REMOVE DROPDOWN ARROWS */
.nav-menu li > a::after {
  content: none !important;
}

/* 🔥 MAKE IMAGES FIT CONTENT AREA */
.entry-content img,
.wp-block-image img,
.single img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 🔥 SCROLL ARROWS */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 50px;
  height: 50px;

  background: #c2a15a; /* your gold */
  color: white;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

  transition: all 0.2s ease;
  z-index: 10;
}

/* left + right positioning */
#scrollLeft {
  left: 10px;
}

#scrollRight {
  right: 10px;
}

/* hover effect */
.scroll-arrow:hover {
  background: #a8843f;
  transform: translateY(-50%) scale(1.1);
}

/* 🔥 CHEVRON ARROWS */
.scroll-arrow {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* create the arrow using borders */
.scroll-arrow::before {
  content: "";
  width: 14px;
  height: 14px;

  border-top: 3px solid #a05a2c;   /* your brown/orange color */
  border-right: 3px solid #a05a2c;

  transform: rotate(45deg);
}

/* left arrow */
#scrollLeft::before {
  transform: rotate(-135deg);
}

/* right arrow */
#scrollRight::before {
  transform: rotate(45deg);
}

/* 🔥 FINAL ARROW RESET (OVERRIDES EVERYTHING ABOVE) */
.scroll-arrow {
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: 40px !important;
  height: 40px !important;
}

/* 🔥 SIDE ARROWS */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  z-index: 10;
  cursor: pointer;
}

/* LEFT */
#scrollLeft {
  left: 10px;
}

/* RIGHT */
#scrollRight {
  right: 10px;
} 

#app {
  position: relative;
  z-index: 1;
}

#app {
  padding: 20px 60px; /* 👈 space for arrows */
} 