html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  nav .nav-list {
    display: none !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hero-heading {
  font-size: 2.75rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1rem;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

main a {
  text-decoration: none;
  color: #5B2748;
  font-weight: 600;
  transition: color 0.2s ease-in-out;
}

main a:hover {
  color: #AF809F;
}

.service-link {
  color: #5B2748;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.service-link:hover {
  color: #AF809F;
}

.service-heading-link {
  color: #5B2748;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.service-heading-link:hover {
  color: #AF809F;
  text-decoration: underline;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-list li a {
  text-decoration: none;
  color: #5B2748;
  font-weight: 600;
  transition: color 0.2s ease-in-out;
}

.nav-list li a:hover {
  color: #AF809F; /* Or update this to another hover colour */
}

.section-content h2,
.section-heading,
.service-block h3,
.case-study h3,
.bio-card h3 {
  color: #5B2748;
}

.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeSlideshow 36s infinite ease-in-out;
  z-index: 0;
}

.hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.hero-slideshow img:nth-child(2) { animation-delay: 6s; }
.hero-slideshow img:nth-child(3) { animation-delay: 12s; }
.hero-slideshow img:nth-child(4) { animation-delay: 18s; }
.hero-slideshow img:nth-child(5) { animation-delay: 24s; }
.hero-slideshow img:nth-child(6) { animation-delay: 30s; }

@keyframes fadeSlideshow {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  17%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4); /* optional for readability */
  border-radius: 12px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* Internal pages hero image header */

.internal-hero {
  position: relative;
  margin: 6rem auto 0 auto;
  max-width: 800px;
  padding: 0 1.5rem;
  border-radius: 4px;
}

.internal-hero-bg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.internal-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
}

.internal-hero-heading {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.internal-hero-subhead {
  font-size: 1.2rem;
  font-style: italic;
  margin: 0;
}

.decorated-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #5B2748;
  margin: 2rem 0;
  text-align: center;
  gap: 1rem;
}

.decorated-heading::before,
.decorated-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #5B2748;
  max-width: 100px;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-image {
  max-width: 800px;
  margin: 6rem auto 0 auto;  /* was 2rem — bumped to clear nav */
  padding: 0 1.5rem;
}

.page-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px; /* Optional: soft corners */
}

main {
  background-color: #fff;
  padding: 1.5rem 1.5rem 4rem 1.5rem;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #333;
}

.content p {
  margin-bottom: 2rem;
}

.section-content h2,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #5B2748;
  margin: 2rem 0;
  position: relative;
  text-align: center;
  gap: 1rem;
}

.section-content h2::before,
.section-content h2::after,
.section-heading::before,
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #5B2748;
  max-width: 100px;
}

.list-plain {
  margin: 1rem 0 1.5rem 1.25rem;
  padding-left: 1.25rem;
  font-size: inherit;
  line-height: 1.7;
}

.list-plain li {
  margin-bottom: 0.45rem;
}

.list-plain li:last-child {
  margin-bottom: 0;
}

/* Section: What we do */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: left;
}

.section-divider {
  display: block;
  margin: 0 auto 2rem auto;
  height: 60px;
  width: auto;
}

.section-content h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-block {
  margin-bottom: 3rem;
}

.service-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111;
}

.service-block p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #333;
}

/* Section: Case Studies */
.case-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.case-studies {
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.case-studies-container {
  position: relative;
  display: flex;
  align-items: center;
}

.case-studies-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2rem;
  padding: 1rem;
  width: 100%;
}

.case-card {
  display: flex;
  flex: 0 0 80vw;
  max-width: 800px;
  background: #f6f6f6;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-left {
  flex: 1;
  padding-right: 1rem;
  display: block;
  text-align: left;
}

.card-left h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card-right {
  flex: 2;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
}

.scroll-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  color: #444;
  z-index: 10;
}

.scroll-arrow:hover {
  color: #000;
}

.left {
  margin-right: -2rem;
}

.right {
  margin-left: -2rem;
}

@media (max-width: 768px) {
  .case-card {
    flex-direction: column;
  }

.card-left, .card-right {
    flex: unset;
    padding: 0;
    text-align: center;
  }
}

.case-icon {
  display: block;
  margin: 0 auto 1rem auto;
  height: 48px;
  width: auto;
  max-height: 48px; /* Prevent SVGs from blowing out */
}


@media (max-width: 768px) {
  .bios-track {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 2rem; /* Add spacing between stacked cards */
  }

  .bio-card {
    width: 100%;
    max-width: none;
    padding: 1.5rem;
    box-sizing: border-box;
    align-items: flex-start;
    text-align: left;
  }

  .bio-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
  }
}

  .scroll-arrow {
    display: none;
  }
}

.bio-section {
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.scroll-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  color: #444;
  z-index: 10;
}

.scroll-arrow:hover {
  color: #000;
}

.scroll-arrow.left {
  margin-right: -2rem;
}

.scroll-arrow.right {
  margin-left: -2rem;
}

.bios-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2rem;
  justify-content: center;
  align-items: flex-start; /* ← Ensures cards grow vertically */
}

.bios-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2rem;
  padding: 1rem;
  width: 100%;
}

.bio-card {
  flex: 0 0 90vw;
  max-width: 640px;
  background: #f6f6f6;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: auto;              /* Allow full height based on content */
  min-height: 100%;          /* Ensures it expands vertically as needed */
  box-sizing: border-box;
}

.bio-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 1rem auto;
  display: block;
}

.bio-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #111;
  text-align: center;
  width: 100%;  
}

.bio-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.contact-email {
  font-weight: 600;
  color: #5B2748;
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

.site-footer {
  background-color: #AF809F;
  color: #ffffff;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.acknowledgment {
  font-style: italic;
  margin-top: 1rem;
}

.design-credit {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.teaser-block {
  background-color: #F6F6F6;
  border-left: 6px solid #5B2748;
  padding: 2rem;
  margin: 4rem auto;
  max-width: 800px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.teaser-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #AF809F;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.teaser-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #5B2748;
  margin-top: 0;
  margin-bottom: 1rem;
}

.teaser-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
}

.teaser-link {
  text-decoration: none;
  color: #5B2748;
  font-weight: 600;
  transition: text-decoration 0.2s ease-in-out, color 0.2s ease-in-out;
}

.teaser-link:hover {
  text-decoration: underline;
  color: #AF809F; /* Optional: adds a hover colour like other links */
}

/* Newsletter CTA signup */

.newsletter-cta {
  background-color: #f8f6f9;
  border-left: 4px solid #B3659E;
  padding: 16px 20px;
  margin: 40px 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.7;
  width: 100%;
  box-sizing: border-box;
}

.newsletter-cta .newsletter-button {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  font-size: 0.95rem;
  background-color: #5B2748;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 0.8rem;
}

.newsletter-cta .newsletter-button:hover {
  background-color: #3f1b34;
}

.newsletter-button-wrapper {
  text-align: center;
  margin-top: 1rem;
}

.newsletter-button {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  font-size: 0.95rem;
  background-color: #5B2748;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
  }

  .hero {
    height: auto;
    padding: 4rem 1rem 6rem 1rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  main {
    padding: 2rem 1rem;
  }

  .section-content,
  .footer-content {
    padding: 0 1rem;
  }

  .section-content h2,
  .section-heading {
    font-size: 1.5rem;
  }

  .service-block h3 {
    font-size: 1.1rem;
  }

  .case-study-wrapper,
  .bios-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }

  .case-study,
  .bio-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .bio-card {
    margin-bottom: 2rem;
  }

  .bio-image {
    width: 80px;
    height: 80px;
  }

  .site-footer {
    padding: 2rem 1rem;
    font-size: 0.9rem;
  }
}

/* === Blog Hero Section === */

.section-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.blog-hero {
  padding: 80px 0 40px;
  background: none;
}

.blog-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: #5B2748;
  margin-bottom: 10px;
  font-weight: 100;
  text-align: center;
}

.blog-strapline {
  font-size: 1.25rem;
  color: #444;
  margin: 0 auto;
  max-width: 600px;
}

/* === Blog Index Grid === */
.blog-index {
  padding: 60px 20px;
  background-color: #ffffff;
}

.section-content-wide.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Import Cormorant Garamond for headings */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&display=swap');


/* === Blog Card === */
.blog-card {
  background-color: #f6f6f6;
  padding: 20px;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-card h3 {
  font-size: 1.4rem;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #5B2748;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  text-decoration: underline;
}

.blog-card p {
  font-size: 1rem;
  color: #333;
}

.blog-card-date {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
  margin: 0 0 0.5rem 0;
}

/* === Thumbnail Images === */
.blog-thumb {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.blog-thumbnail {
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
}

.blog-image {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  margin-top: 60px;
}

.blog-image img {
  max-width: 100%;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px; /* adds rounded edge */
}

/* Base styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

/* Blog container */
.blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Blog header */
.blog-header {
  text-align: center;
  margin-bottom: 2rem;
}

.blog-icon {
  display: block;
  margin: 1rem auto;
  max-width: 48px;
}

.blog-label {
  font-family: 'Inter', sans-serif;
  font-size: 1rem; /* slightly larger than before */
  font-variant: small-caps;
  font-weight: 400; /* lighter weight */
  letter-spacing: 0.5px;
  color: #5B2748;
  margin-bottom: 0.75rem;
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; /* align with title/standfirst/date */
}

.blog-label a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.blog-label a:hover {
  text-decoration: underline;
}

.blog-image-wrapper {
  display: block;
  text-align: center;
}

.image-credit {
  font-size: 0.75rem;
  font-style: italic;
  color: #888;
  text-align: left;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.blog-post .blog-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #5B2748;
  text-align: left;
  max-width: 720px;
  margin: 2rem auto 1rem auto;
  padding: 0 1rem;
}

.blog-standfirst {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #333;
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.blog-date {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #666;
  text-align: left;
  max-width: 720px;
  margin: 1rem auto 0 auto;
  padding: 0 1rem;
}

/* Blog image */
.blog-image {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.blog-image img {
  max-width: 100%;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
}

/* Blog content */
.blog-content {
  padding-top: 4rem;
  font-size: 1rem;
  color: #333;
}

.blog-body {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #333;
  margin: 0 auto;
  padding: 0 1rem 3rem 1rem;
  max-width: 720px;
}

.blog-body p {
  margin-bottom: 1.5rem;
}

.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem; /* Adjust as needed */
  line-height: 1.4;
  margin: 2rem auto;
  padding: 0 1rem;
  max-width: 600px;
  text-align: center;
  font-style: italic;
  color: #5B2748;
}

.author-bio {
  background-color: #f6f6f6;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  margin: 4rem auto 0 auto;
  max-width: 720px;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.blog-subhead {
  font-size: 1.375rem;
  font-weight: 500;
  color: #5B2748;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Inter', sans-serif;
}

.blog-subsubhead {
  font-size: 1.125rem;
  font-weight: 500;
  color: #5B2748;
  margin: 1.5rem 0 1rem 0;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Inter', sans-serif;
}
.blog-cta {
  margin-top: 3rem;
  font-size: 1.05rem;
  font-style: italic;
  text-align: left;
  color: #333;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.blog-cta strong {
  font-style: normal;
  font-weight: 600;
  color: #5B2748;
}

.blog-cta a {
  color: #5B2748;
  font-weight: 600;
  text-decoration: none;
}

.blog-cta a:hover {
  text-decoration: underline;
}

.footer-credits-link {
  font-size: 0.85rem;
  color: #ddd;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-credits-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* === MOBILE NAVIGATION === */

/* Toggle button (Menu/Close) - only visible on mobile */
.mobile-menu-button {
  display: none; /* Default hidden on desktop */
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  color: #32043b; /* Match site link colour */
  cursor: pointer;
  z-index: 1002;
}

/* Menu sheet that slides down */
.mobile-menu-sheet {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: white;
  z-index: 1000;
  padding: 5rem 1rem 2rem; /* Top padding allows for logo + close button */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* Slide-down animation when menu is open */
.mobile-menu-sheet.open {
  transform: translateY(0);
}

/* Link styles inside mobile menu */
.mobile-menu-sheet a {
  color: #32043b;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu-sheet details summary {
  list-style: none;
  font-size: 1.2rem;
  font-weight: 500;
  color: #32043b;
  text-decoration: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  appearance: none;
  border: none;
  background: none;
}

.mobile-submenu {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
  margin-top: 0.5rem;
  gap: 0.5rem;
}

/* === RESPONSIVE TRIGGER === */
@media (max-width: 768px) {
  /* Hide desktop nav list */
  .nav-list {
    display: none;
  }

  /* Show the mobile menu toggle button */
  .mobile-menu-button {
    display: block;
  }

  /* Logo stays left-aligned, slightly padded */
  .logo {
    display: flex;
    align-items: center;
    margin-left: 1rem;
  }

  /* Adjust navbar layout */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
    z-index: 1001;
  }
}

@media (max-width: 768px) {
  .internal-hero-content {
    background: none;
    padding: 1rem;
  }
}

/* Newsletter styles scoped to #newsletter */

#newsletter {
  font-family: var(--font-serif);
  color: #333;
  line-height: 1.8;
  font-size: 16px;
  background-color: #ffffff;
}

#newsletter img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#newsletter h1, 
#newsletter h2, 
#newsletter h3 {
  font-family: var(--font-display);
  font-weight: bold;
  color: #5B2748;
}

#newsletter h1 {
  font-size: 28px;
  line-height: 1.4;
}

#newsletter h2 {
  font-size: 20px;
  line-height: 1.4;
  border-top: 2px solid #E0E0E0;
  padding-top: 16px;
  margin-top: 32px;
  margin-bottom: 12px;
}

#newsletter h3 {
  font-size: 13px;
  color: #888888;
  text-align: center;
  margin: 0 0 16px 0;
  font-weight: normal;
  line-height: 1.6;
}

#newsletter p {
  margin-bottom: 18px;
}

#newsletter em {
  font-style: italic;
}

#newsletter a {
  color: #5B2748;
  text-decoration: underline;
}

#newsletter ul {
  background-color: #f8f6f9;
  border-left: 4px solid #B3659E;
  padding: 16px 20px;
  margin: 32px 0;
  font-size: 15px;
  line-height: 1.7;
  list-style-type: disc;
}

#newsletter ul li {
  margin-left: 20px;
  margin-bottom: 6px;
}

#newsletter .standfirst {
  font-size: 17px;
  font-style: italic;
  text-align: center;
  margin: 0 0 24px 0;
  line-height: 1.7;
}

#newsletter .toc {
  background-color: #f8f6f9;
  border-left: 4px solid #B3659E;
  padding: 16px 20px;
  margin: 32px 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.7;
}

#newsletter .toc-title {
  font-weight: bold;
  color: #5B2748;
  margin: 0 0 8px 0;
}

#newsletter .toc ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
  color: #333;
  border: none; /* Ensure no border here */
}

#newsletter .toc p {
  margin: 0 0 8px 0;
  font-weight: bold;
  color: #5B2748;
}

#newsletter figcaption {
  text-align: center;
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

#newsletter .newsletter-image {
  text-align: center;
  margin: 24px 0;
}

#newsletter .newsletter-image img {
  width: 75%;
  max-width: 500px;
  height: auto;
  display: inline-block;
}

.newsletter-cta {
  background-color: #f8f6f9;
  border-left: 4px solid #B3659E;
  padding: 16px 20px;
  margin: 40px 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.7;
}

.newsletter-cta a {
  color: #5B2748;
  text-decoration: underline;
}