/* Ebbw Campervan Hire (cwm.wales) - Production Brand Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Palette Tokens */
  --color-night-blue:    #102A43;
  --color-slate-blue:    #294C6B;
  --color-warm-stone:    #F4F0E8;
  --color-paper:         #FCFBF7;
  --color-welsh-moss:    #536B4F;
  --color-sunset-orange: #E87524;
  --color-sunset-hover:  #D06316;
  --color-ink:           #17212B;
  --color-muted-text:    #5D6873;
  --color-border:        #D9E0E5;
  --color-white:         #FFFFFF;
  
  /* Typography Tokens */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-ink);
  background-color: var(--color-paper);
  -webkit-font-smoothing: antialiased;
}

body.ebbw-drawer-open {
  overflow: hidden !important;
}

/* Suppress Prototype & Olivero Artifacts */
.node__meta, 
.by-anonymous, 
.site-footer__power, 
.feed-icon, 
.rss-link,
[data-drupal-selector="site-branding"] .site-name,
#block-storyengine-theme-branding img,
.block-system-branding-block img,
.contextual,
.field--name-uid,
.field--name-created,
.search-block-form,
#block-olivero-search,
.site-header__search {
  display: none !important;
}

/* Container Utility */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Headings */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  color: var(--color-night-blue);
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  color: var(--color-slate-blue);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: var(--color-sunset-orange);
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-sunset-orange);
  outline-offset: 2px;
}

/* Buttons */
.ebbw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 2px solid transparent;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.ebbw-btn--primary {
  background-color: var(--color-sunset-orange);
  color: var(--color-white) !important;
}

.ebbw-btn--primary:hover {
  background-color: var(--color-sunset-hover);
  transform: translateY(-2px);
}

.ebbw-btn--secondary {
  background-color: var(--color-slate-blue);
  color: var(--color-white) !important;
}

.ebbw-btn--secondary:hover {
  background-color: var(--color-night-blue);
  transform: translateY(-2px);
}

.ebbw-btn--outline {
  background-color: transparent;
  border-color: var(--color-sunset-orange);
  color: var(--color-sunset-orange) !important;
}

.ebbw-btn--outline:hover {
  background-color: var(--color-sunset-orange);
  color: var(--color-white) !important;
}

.ebbw-btn--compact {
  min-height: 40px;
  padding: 0.4rem 1.15rem;
  font-size: 0.9rem;
}

.ebbw-btn--full {
  width: 100%;
  text-align: center;
}



/* SITE HEADER */
.ebbw-header {
  background-color: var(--color-night-blue);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.15);
}

.ebbw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.ebbw-wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.ebbw-wordmark__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.ebbw-wordmark__sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-sunset-orange);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* DESKTOP NAVIGATION */
.ebbw-desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ebbw-desktop-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.ebbw-desktop-menu li {
  margin: 0;
}

.ebbw-desktop-menu a {
  color: #D9E0E5;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.ebbw-desktop-menu a:hover {
  color: var(--color-white);
}

.ebbw-desktop-menu li.nav-item--has-children {
  position: relative;
}

.ebbw-desktop-menu li.nav-item--has-children .desktop-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-night-blue);
  border: 1px solid var(--color-slate-blue);
  border-radius: 0.5rem;
  flex-direction: column;
  padding: 0.75rem 0;
  min-width: 210px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  display: none;
  list-style: none;
  z-index: 100;
}

.ebbw-desktop-menu li.nav-item--has-children:hover .desktop-submenu {
  display: flex;
}

.ebbw-desktop-menu li.nav-item--has-children .desktop-submenu a {
  padding: 0.6rem 1.25rem;
  display: block;
  font-size: 0.9rem;
  width: 100%;
}

/* MOBILE TOGGLE BUTTON (<768px) */
.ebbw-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  border-radius: 0.375rem;
}

.ebbw-mobile-toggle__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.ebbw-mobile-toggle__icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-white);
  border-radius: 2px;
}

/* MOBILE OVERLAY & DRAWER */
.ebbw-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 42, 67, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ebbw-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.ebbw-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 380px);
  background-color: var(--color-paper);
  z-index: 1050;
  box-shadow: -4px 0 24px rgba(16, 42, 67, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.ebbw-drawer.is-open {
  transform: translateX(0);
}

.ebbw-drawer__header {
  height: 64px;
  padding: 0 1.25rem;
  background-color: var(--color-night-blue);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ebbw-drawer__close {
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0.375rem;
}

.ebbw-drawer__content {
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.ebbw-drawer-menu {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}

.ebbw-drawer-menu li {
  margin: 0;
  border-bottom: 1px solid var(--color-border);
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-night-blue);
  text-decoration: none !important;
  flex-grow: 1;
}

.drawer-nav-link:hover {
  color: var(--color-sunset-orange);
}

/* SUBMENU ACCORDION (MOBILE DRAWER) */
.nav-item-parent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-submenu-toggle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-slate-blue);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 0.375rem;
}

.nav-submenu-toggle__icon {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-submenu-toggle[aria-expanded="true"] .nav-submenu-toggle__icon {
  transform: rotate(180deg);
}

.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 1.25rem;
  background: transparent;
}

.nav-submenu:not([hidden]) {
  display: block;
  position: static;
  pointer-events: auto;
  z-index: auto;
}

.nav-submenu li {
  border-bottom: none;
}

.drawer-sub-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-slate-blue);
  text-decoration: none !important;
}

.drawer-sub-link:hover {
  color: var(--color-sunset-orange);
}

.ebbw-drawer__cta {
  margin-top: auto;
  padding-top: 1rem;
}

/* RESPONSIVE HEADERS (<768px) */
@media (max-width: 767.98px) {
  .ebbw-header__inner {
    height: 64px !important;
  }

  .ebbw-desktop-nav {
    display: none !important;
  }

  .ebbw-mobile-toggle {
    display: flex !important;
  }
}

/* IMAGE GRAPHIC CARDS & MEDIA STYLES */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

.media-card-img {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.1);
  background-color: var(--color-night-blue);
}

.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.media-card-img:hover img {
  transform: scale(1.03);
}

.media-card-img__caption {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  background: linear-gradient(to top, rgba(16, 42, 67, 0.95) 0%, rgba(16, 42, 67, 0.4) 70%, transparent 100%);
  color: var(--color-white);
  padding: 1.25rem 1.25rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

/* SECTION RHYTHM BANDS */
.section-paper {
  background-color: var(--color-paper);
  padding: 5rem 1.5rem;
}

.section-stone {
  background-color: var(--color-warm-stone);
  padding: 5rem 1.5rem;
}

.section-night {
  background-color: var(--color-night-blue);
  color: var(--color-white);
  padding: 5rem 1.5rem;
}

.section-night h1, 
.section-night h2, 
.section-night h3 {
  color: var(--color-white);
}

.section-night p {
  color: #D9E0E5;
}

/* HERO BANNER SECTION */
.ebbw-hero-banner {
  position: relative;
  background: linear-gradient(135deg, #102A43 0%, #17212B 40%, #294C6B 100%);
  color: var(--color-white);
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
  text-align: center;
}

.ebbw-hero-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal-x, 50%) var(--focal-y, 85%);
  opacity: 0.45;
}

.ebbw-hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 42, 67, 0.4) 0%, rgba(16, 42, 67, 0.85) 100%);
}

.ebbw-hero-banner__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.ebbw-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-sunset-orange);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ebbw-hero-banner__title {
  color: var(--color-white);
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.ebbw-hero-banner__sub {
  font-size: 1.25rem;
  color: #D9E0E5;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.ebbw-hero-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.ebbw-fact-bar {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #F4F0E8;
  flex-wrap: wrap;
  justify-content: center;
}

.ebbw-fact-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* CARDS & GRIDS */
.ebbw-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.ebbw-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ebbw-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ebbw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.08);
}

/* DESTINATION CARDS WITH REAL IMAGES */
.dest-card-wrapper {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: var(--color-night-blue);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--color-white);
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dest-card-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.2);
}

.dest-card-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.4s ease;
}

.dest-card-wrapper:hover img {
  transform: scale(1.05);
}

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 42, 67, 0.9) 0%, rgba(16, 42, 67, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.dest-card-content {
  position: relative;
  z-index: 2;
}

/* FEATURE STRIP */
.ebbw-feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.ebbw-feature-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  border-radius: 0.75rem;
  text-align: center;
  border-top: 4px solid var(--color-welsh-moss);
}

.ebbw-feature-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: #EBF3EA;
  color: var(--color-welsh-moss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.ebbw-feature-item__title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-night-blue);
  margin-bottom: 0.5rem;
}

.ebbw-feature-item__desc {
  font-size: 0.9rem;
  color: var(--color-muted-text);
  margin: 0;
}

/* ACCORDION (FAQ) */
.ebbw-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.ebbw-accordion__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.ebbw-accordion__summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-night-blue);
  cursor: pointer;
  outline: none;
  background-color: var(--color-white);
  transition: background-color 0.2s ease;
}

.ebbw-accordion__summary:hover {
  background-color: #F8FAFC;
}

.ebbw-accordion__body {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-ink);
  line-height: 1.7;
}

/* CONTACT FORM */
.ebbw-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .ebbw-contact-grid {
    grid-template-columns: 1fr;
  }
}

.ebbw-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.05);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-night-blue);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  background-color: #FAFAFA;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-slate-blue);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(41, 76, 107, 0.15);
}

/* FOOTER */
.ebbw-footer {
  background-color: var(--color-night-blue);
  color: #D9E0E5;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--color-sunset-orange);
}

.ebbw-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.ebbw-wordmark--footer .ebbw-wordmark__title {
  color: var(--color-white);
  font-size: 1.25rem;
}

.ebbw-footer__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #9FB3C8;
  margin-top: 1rem;
}

.ebbw-footer__title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ebbw-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ebbw-footer__links li {
  margin-bottom: 0.65rem;
}

.ebbw-footer__links a {
  color: #9FB3C8;
  font-size: 0.95rem;
}

.ebbw-footer__links a:hover {
  color: var(--color-sunset-orange);
}

.ebbw-footer__contact-info {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #9FB3C8;
}

.ebbw-footer__contact-info a {
  color: var(--color-white);
}

.ebbw-footer__cta-box {
  margin-top: 1.25rem;
}

.ebbw-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #829AB1;
}

@media (max-width: 576px) {
  .ebbw-hero-banner {
    padding: 4rem 1rem 3rem;
  }
  
  .ebbw-hero-banner__title {
    font-size: 2rem;
  }

  .ebbw-fact-bar {
    border-radius: 0.75rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .section-paper, .section-stone, .section-night {
    padding: 3rem 1rem;
  }
}



/* ==========================================================================
   TRXM MASTER CTA BUTTON SPECIFICATION (BUTTON 43 ADAPTED)
   ========================================================================== */
.btn,
.ebbw-btn,
.text-content a.ebbw-btn,
.text-content a.btn,
.node__content a.ebbw-btn,
.node__content a.btn,
body a.ebbw-btn,
body a.btn,
body button.ebbw-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0.85rem 1.85rem !important;
  border-radius: 0.5rem !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  border: none !important;
  outline: none;
  cursor: pointer !important;
  user-select: none !important;
  touch-action: manipulation !important;
  box-sizing: border-box !important;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1),
              box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1),
              background-image 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
}

/* Pseudo-Element Isolation (Obliterates Base Theme Link-Underline & Accent Line Bugs) */
.btn::before,
.btn::after,
.ebbw-btn::before,
.ebbw-btn::after,
.text-content a.ebbw-btn::before,
.text-content a.ebbw-btn::after,
body a.ebbw-btn::before,
body a.ebbw-btn::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* 1. Primary Sunset Orange CTA Token (Button 43 Gradient Sheen & Crisp Neutral Shadow) */
.btn-primary,
.ebbw-btn--primary,
.ebbw-btn--accent,
.text-content a.ebbw-btn--primary,
.text-content a.ebbw-btn--accent,
.node__content a.ebbw-btn--primary,
.node__content a.ebbw-btn--accent,
body a.ebbw-btn--primary,
body a.ebbw-btn--accent {
  background-image: linear-gradient(-180deg, #FA8C38 0%, #C4580C 100%) !important;
  background-color: #C4580C !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18) !important;
}

.btn-primary:hover,
.ebbw-btn--primary:hover,
.ebbw-btn--accent:hover,
.text-content a.ebbw-btn--primary:hover,
.text-content a.ebbw-btn--accent:hover,
.node__content a.ebbw-btn--primary:hover,
.node__content a.ebbw-btn--accent:hover,
body a.ebbw-btn--primary:hover,
body a.ebbw-btn--accent:hover {
  background-image: linear-gradient(-180deg, #D4600C 0%, #9C3D00 100%) !important;
  background-color: #9C3D00 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
}

/* 2. Secondary Slate Blue CTA Token (Button 43 Gradient Sheen & Crisp Neutral Shadow) */
.btn-secondary,
.ebbw-btn--secondary,
.ebbw-btn--outline,
.text-content a.ebbw-btn--secondary,
.text-content a.ebbw-btn--outline,
.node__content a.ebbw-btn--secondary,
.node__content a.ebbw-btn--outline,
body a.ebbw-btn--secondary,
body a.ebbw-btn--outline {
  background-image: linear-gradient(-180deg, #3A6288 0%, #1A344E 100%) !important;
  background-color: #1A344E !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18) !important;
}

.btn-secondary:hover,
.ebbw-btn--secondary:hover,
.ebbw-btn--outline:hover,
.text-content a.ebbw-btn--secondary:hover,
.text-content a.ebbw-btn--outline:hover,
.node__content a.ebbw-btn--secondary:hover,
.node__content a.ebbw-btn--outline:hover,
body a.ebbw-btn--secondary:hover,
body a.ebbw-btn--outline:hover {
  background-image: linear-gradient(-180deg, #284A6B 0%, #102235 100%) !important;
  background-color: #102235 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
}

.ebbw-btn--compact {
  min-height: 40px !important;
  padding: 0.45rem 1.25rem !important;
  font-size: 0.9rem !important;
}

.ebbw-btn--full {
  width: 100% !important;
  text-align: center !important;
}

/* Accessible Focus States & Reduced Motion */
.btn:focus-visible,
.ebbw-btn:focus-visible,
body a.ebbw-btn:focus-visible {
  outline: 3px solid #102A43 !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .ebbw-btn,
  body a.ebbw-btn {
    transition: none !important;
  }
  .btn:hover,
  .ebbw-btn:hover,
  body a.ebbw-btn:hover {
    transform: none !important;
  }
}


/* ==========================================================================
   GLOBAL TYPOGRAPHY & WORD-BREAKING RESET (Obliterates Mid-Word Breaks)
   ========================================================================== */
html,
body,
p,
h1, h2, h3, h4, h5, h6,
a,
span,
li,
div,
section,
article,
blockquote,
figcaption,
.text-content,
.ebbw-card,
.dest-card-content {
  hyphens: manual !important;
  -webkit-hyphens: manual !important;
  -ms-hyphens: manual !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* ==========================================================================
   CONTACT PAGE & HERO CONTAINER STYLES (Resilient against WYSIWYG filtering)
   ========================================================================== */
.contact-page-wrapper .section-hero {
  background-color: var(--color-night-blue, #102A43) !important;
  background: var(--color-night-blue, #102A43) !important;
  color: #ffffff !important;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.contact-page-wrapper .section-hero h1 {
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.contact-page-wrapper .section-hero p {
  color: #D9E0E5 !important;
  font-size: 1.15rem;
  margin: 0 auto;
  max-width: 700px;
}

.contact-page-wrapper .section-paper {
  background-color: #FAF9F6;
  padding: 3.5rem 1.5rem;
}

.contact-page-wrapper .contact-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 2.5rem;
  text-align: center;
}

