/* =====================================================
   The Wellbeing Table — Custom Stylesheet
   Stack: Tailwind CDN + PrimeIcons + Google Fonts
   ===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}
body.page-ready {
  opacity: 1;
}

/* === Typography helpers === */
.font-serif {
  font-family: "Playfair Display", serif;
}

.section-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6e6e6c;
}
.section-label-light {
  color: rgba(255, 255, 255, 0.4);
}

.editorial-line {
  width: 36px;
  height: 2px;
  margin: 0.85rem 0 1.25rem;
}

/* === Header === */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
#site-header.scrolled {
  background-color: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Nav underline hover */
nav a {
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
nav a:hover::after {
  width: 100%;
}

/* === Desktop dropdown === */
.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* suppress underline animation inside dropdown and on the trigger chevron link */
.nav-dropdown a::after,
.nav-dropdown-wrap > a::after {
  display: none;
}
.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-dropdown-chevron {
  transition: transform 0.2s ease;
}
.nav-dropdown-wrap:hover .nav-dropdown-chevron {
  transform: rotate(180deg);
}

/* === Mobile submenu === */
.mobile-submenu {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: 0.5rem;
  margin-bottom: 0.25rem;
}

/* === Search overlay === */
#search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 0 6%;
  animation: search-fade-in 0.25s ease;
}
#search-overlay.open {
  display: flex;
}
@keyframes search-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#search-input {
  width: 100%;
  max-width: 680px;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  padding: 0.75rem 0;
  outline: none;
  caret-color: #fff;
}
#search-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
#search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 1l12 12M13 1L1 13' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  opacity: 1;
}
#search-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s;
  cursor: pointer;
}
#search-close:hover {
  color: #fff;
}

/* === Mobile menu === */
#mobile-menu {
  display: none;
  background: #0a0a0a;
}
#mobile-menu.open {
  display: block;
}

/* Mobile nav link entrance — keyframes instead of transitions (works after display:none) */
#mobile-menu a {
  opacity: 0;
}
#mobile-menu.open a {
  animation: mobile-link-in 0.3s ease forwards;
}
#mobile-menu.open a:nth-child(1) {
  animation-delay: 0.04s;
}
#mobile-menu.open a:nth-child(2) {
  animation-delay: 0.08s;
}
#mobile-menu.open a:nth-child(3) {
  animation-delay: 0.12s;
}
#mobile-menu.open a:nth-child(4) {
  animation-delay: 0.16s;
}
#mobile-menu.open a:nth-child(5) {
  animation-delay: 0.2s;
}
#mobile-menu.open a:nth-child(6) {
  animation-delay: 0.24s;
}
#mobile-menu.open a:nth-child(7) {
  animation-delay: 0.28s;
}
#mobile-menu.open a:nth-child(8) {
  animation-delay: 0.32s;
}

#menu-toggle {
  cursor: pointer;
}

@keyframes mobile-link-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Hero === */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.22) 55%,
    rgba(10, 10, 10, 0.7) 100%
  );
}

/* Darker overlay on mobile */
@media (max-width: 639px) {
  .hero-overlay {
    background: linear-gradient(
      160deg,
      rgba(10, 10, 10, 0.94) 0%,
      rgba(10, 10, 10, 0.78) 50%,
      rgba(10, 10, 10, 0.9) 100%
    );
  }
}

/* Viki portrait in hero right column */
.hero-viki {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  user-select: none;
  animation: hero-float 7s ease-in-out infinite;
}
@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

/* Hero portrait slider */
.hero-viki-slider {
  position: relative;
  animation: hero-float 7s ease-in-out infinite;
}
.hero-viki-slider .hero-viki {
  animation: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
}
.hero-viki-slider .hero-viki.active {
  opacity: 1;
  position: relative;
}
.hero-viki-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}
.hero-viki-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.hero-viki-dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.5);
}

/* Hero text entrance animations */
.hero-enter {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-enter 0.8s ease forwards;
}
.hero-enter:nth-child(1) {
  animation-delay: 0.3s;
}
.hero-enter:nth-child(2) {
  animation-delay: 0.5s;
}
.hero-enter:nth-child(3) {
  animation-delay: 0.65s;
}
.hero-enter:nth-child(4) {
  animation-delay: 0.8s;
}
.hero-enter:nth-child(5) {
  animation-delay: 0.95s;
}
@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optimize hero for short viewports */
@media (max-height: 700px) {
  #hero {
    min-height: 100vh;
  }
  .hero-viki {
    max-height: 75vh;
  }
}
@media (max-height: 640px) {
  #hero .py-40 {
    padding-top: 6rem !important;
    padding-bottom: 2rem !important;
  }
  #hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    margin-bottom: 0.75rem !important;
  }
  #hero .mb-10 {
    margin-bottom: 1.5rem !important;
  }
  #hero .mb-14 {
    margin-bottom: 1.5rem !important;
  }
  #hero .pt-10 {
    padding-top: 1.25rem !important;
  }
}

/* === Breaking-news media ticker === */
.ticker-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.ticker-item:hover {
  color: #fff;
}
.ticker-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.5rem;
}
.ticker-live {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #44ef80;
  margin-right: 0.4rem;
  animation: live-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: 2px solid;
  transition: background 0.24s, color 0.24s, border-color 0.24s;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn-white {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
}
.btn-white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-white-outline:hover {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}
.btn-dark {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}
.btn-dark:hover {
  background: transparent;
  color: #0a0a0a;
}
.btn-outline-dark {
  background: transparent;
  color: #0a0a0a;
  border-color: #0a0a0a;
}
.btn-outline-dark:hover {
  background: #0a0a0a;
  color: #fff;
}

/* === Service cards (hairline grid) === */
.service-card {
  display: none;
  background: #f7f7f5;
  padding: 2.25rem;
  transition: background 0.22s, transform 0.22s;
}
.service-card.visible {
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  background: #fff;
}
.service-icon {
  font-size: 1.9rem;
  color: #0a0a0a;
  margin-bottom: 1.25rem;
  display: block;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
  transform: translateX(10px);
}

/* === Programme / Recipe card images === */
.card-img-wrap {
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.recipe-img {
  height: 260px !important;
}
.card-img-wrap:hover img {
  transform: scale(1.04);
}

/* === Testimonials === */
.testimonial-card {
  border-top: 2px solid #0a0a0a;
  padding-top: 1.5rem;
}
.quote-mark {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  line-height: 1;
  color: #a8a8a5;
  margin-bottom: 0.75rem;
  display: block;
}

/* === Trusted by logo ticker === */
.logo-ticker-wrap {
  position: relative;
  overflow: hidden;
  overflow-x: clip; /* truly removes overflowing content from scroll area; hidden fallback above */
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.logo-ticker-wrap::before,
.logo-ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.logo-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.logo-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}
.logo-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-width: 100%;
  width: max-content;
  animation: logo-ticker-scroll 35s linear infinite;
}
.logo-ticker-track:hover {
  animation-play-state: paused;
}
@keyframes logo-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--logo-ticker-end, -50%));
  }
}
.logo-ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 1.25rem;
  flex-shrink: 0;
}
.trusted-logo {
  height: 38px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: opacity(0.75);
  transition: filter 0.3s ease;
}
.logo-ticker-item:hover .trusted-logo {
  filter: grayscale(0) opacity(1);
}
@media (max-width: 768px) {
  .logo-ticker-item {
    padding: 0 0.85rem;
  }
  .trusted-logo {
    height: 32px;
    max-width: 90px;
  }
}

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid #e5e5e3;
}
.faq-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.2rem 0;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a18;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  width: 24px;
  height: 24px;
  border: 1.5px solid #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  color: #0a0a0a;
  transition: transform 0.3s;
  user-select: none;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq-body.open {
  max-height: 400px;
}
.faq-body-inner {
  padding-bottom: 1.4rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #6e6e6c;
}

/* === Form (underline style) === */
.form-group label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e6e6c;
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #e5e5e3;
  padding: 0.5rem 0 0.6rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: #1a1a18;
  outline: none;
  transition: border-color 0.2s;
}
.form-control:focus {
  border-bottom-color: #0a0a0a;
}
.form-control::placeholder {
  color: #6a6a6a;
}
textarea.form-control {
  resize: none;
  min-height: 100px;
}
select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236e6e6c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

/* === Footer links === */
.footer-link {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #fff;
}

/* === Responsive === */
@media (max-width: 1023px) {
  .lg-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 639px) {
  .lg-grid-3 {
    grid-template-columns: 1fr !important;
  }
  .sm-grid-2 {
    grid-template-columns: 1fr !important;
  }
}

/* === Mobile layout improvements === */
@media (max-width: 767px) {
  .btn {
    padding: 12px 22px;
    font-size: 0.68rem;
  }
  .service-card {
    padding: 1.5rem;
  }
  .faq-btn {
    font-size: 0.83rem;
  }
}

/* === Scroll reveal === */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === Testimonial / programme slider === */
.slider-outer {
  overflow: hidden;
  position: relative;
}
.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slider-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5e5e3;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.slider-dot.active {
  background: #0a0a0a;
  transform: scale(1.35);
}
.slider-nav-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid #e5e5e3;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1a1a18;
  font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.slider-nav-btn:hover {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

/* === Filter pills (recipes / blog) === */
.filter-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1.5px solid #e5e5e3;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #6e6e6c;
}
.filter-pill:hover,
.filter-pill.active {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

/* === Card show/hide (filter) === */
.recipe-card {
  display: none;
}
.recipe-card.visible {
  display: block;
}
.blog-card {
  display: none;
}
.blog-card.visible {
  display: block;
}

/* === Why-choose card hover border === */
.why-card {
  transition: background 0.25s, box-shadow 0.25s;
}
.why-card:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* === WPForms — match underline form design === */
.wpforms-form {
  font-family: "Inter", sans-serif;
}

/* Field spacing */
.wpforms-form .wpforms-field {
  padding: 0 0 1.75rem 0 !important;
  margin: 0 !important;
}

/* Labels */
.wpforms-form .wpforms-field-label,
.wpforms-form .wpforms-field-label-inline,
.wpforms-form legend.wpforms-field-label {
  display: block;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #6e6e6c !important;
  margin-bottom: 0.5rem !important;
  padding: 0 !important;
  float: none !important;
}

/* Hide sub-labels */
.wpforms-form .wpforms-field-sublabel {
  display: none !important;
}

/* All text inputs, email, tel, url, number, textarea, select */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form input[type="number"],
.wpforms-form input[type="date"],
.wpforms-form input[type="password"],
.wpforms-form select,
.wpforms-form textarea {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid #e5e5e3 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0.5rem 0 0.6rem !important;
  font-family: "Inter", sans-serif !important;
  font-size: 0.9rem !important;
  color: #1a1a18 !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  height: auto !important;
  line-height: 1.5 !important;
}
.wpforms-form input[type="text"]:focus,
.wpforms-form input[type="email"]:focus,
.wpforms-form input[type="tel"]:focus,
.wpforms-form input[type="url"]:focus,
.wpforms-form input[type="number"]:focus,
.wpforms-form input[type="date"]:focus,
.wpforms-form input[type="password"]:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  border-bottom-color: #0a0a0a !important;
  box-shadow: none !important;
  outline: none !important;
}
.wpforms-form input::placeholder,
.wpforms-form textarea::placeholder {
  color: #6a6a6a !important;
}
.wpforms-form textarea {
  resize: none !important;
  min-height: 100px !important;
}

/* Select arrow */
.wpforms-form select {
  appearance: none !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236e6e6c'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 2px center !important;
}

/* Two-column name row */
.wpforms-form .wpforms-field-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.75rem !important;
  margin: 0 !important;
}
.wpforms-form .wpforms-field-row-block {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}
@media (max-width: 479px) {
  .wpforms-form .wpforms-field-row {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

/* Submit button */
.wpforms-form .wpforms-submit-container {
  padding: 0 !important;
  text-align: left !important;
}
.wpforms-form button.wpforms-submit,
.wpforms-form input[type="submit"] {
  display: block !important;
  width: 100% !important;
  font-family: "Inter", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 14px 32px !important;
  border: 2px solid #0a0a0a !important;
  border-radius: 0 !important;
  background: #0a0a0a !important;
  color: #fff !important;
  cursor: pointer !important;
  line-height: 1 !important;
  transition: background 0.24s, color 0.24s, border-color 0.24s !important;
  box-shadow: none !important;
  height: auto !important;
}
.wpforms-form button.wpforms-submit:hover,
.wpforms-form input[type="submit"]:hover {
  background: transparent !important;
  color: #0a0a0a !important;
}

/* Validation errors */
.wpforms-form .wpforms-error-container,
.wpforms-form label.wpforms-error {
  font-size: 0.72rem !important;
  color: #c0392b !important;
  margin-top: 0.35rem !important;
  letter-spacing: 0.02em !important;
  font-weight: 400 !important;
}
.wpforms-form .wpforms-field.wpforms-has-error input,
.wpforms-form .wpforms-field.wpforms-has-error select,
.wpforms-form .wpforms-field.wpforms-has-error textarea {
  border-bottom-color: #c0392b !important;
}

/* Confirmation / success message */
.wpforms-confirmation-container-full,
.wpforms-confirmation-container {
  font-family: "Inter", sans-serif !important;
  font-size: 0.9rem !important;
  color: #1a1a18 !important;
  padding: 1.5rem 0 !important;
  border: none !important;
  background: transparent !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container select.wpforms-field-medium {
  max-width: 100% !important;
}

.wpforms-field-container ul li {
  align-items: center !important;
  gap: 0.5rem !important;
}
.wpforms-field-container ul li .wpforms-field-label-inline {
  margin-bottom: 0 !important;
}

/* Remove WPForms default wrappers/margins */
.wpforms-form .wpforms-field-container {
  margin: 0 !important;
}
.wpforms-form fieldset {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* === Forms on dark backgrounds === */
.bg-wt-black .form-group label,
.bg-wt-dark .form-group label {
  color: rgba(255, 255, 255, 0.55) !important;
}
.bg-wt-black .form-control,
.bg-wt-dark .form-control {
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}
.bg-wt-black .form-control:focus,
.bg-wt-dark .form-control:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6) !important;
}
.bg-wt-black .form-control::placeholder,
.bg-wt-dark .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.bg-wt-black select.form-control,
.bg-wt-dark select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E") !important;
}

/* WPForms / CF7 shortcode forms inside dark sections */
.bg-wt-black .wpforms-form .wpforms-field-label,
.bg-wt-dark .wpforms-form .wpforms-field-label,
.bg-wt-black .wpcf7-form label,
.bg-wt-dark .wpcf7-form label {
  color: rgba(255, 255, 255, 0.55) !important;
}
.bg-wt-black .wpforms-form input[type="text"],
.bg-wt-black .wpforms-form input[type="email"],
.bg-wt-black .wpforms-form input[type="tel"],
.bg-wt-black .wpforms-form input[type="url"],
.bg-wt-black .wpforms-form input[type="number"],
.bg-wt-black .wpforms-form input[type="date"],
.bg-wt-black .wpforms-form input[type="password"],
.bg-wt-black .wpforms-form select,
.bg-wt-black .wpforms-form textarea,
.bg-wt-dark .wpforms-form input[type="text"],
.bg-wt-dark .wpforms-form input[type="email"],
.bg-wt-dark .wpforms-form input[type="tel"],
.bg-wt-dark .wpforms-form input[type="url"],
.bg-wt-dark .wpforms-form input[type="number"],
.bg-wt-dark .wpforms-form input[type="date"],
.bg-wt-dark .wpforms-form input[type="password"],
.bg-wt-dark .wpforms-form select,
.bg-wt-dark .wpforms-form textarea,
.bg-wt-black .wpcf7-form input[type="text"],
.bg-wt-black .wpcf7-form input[type="email"],
.bg-wt-black .wpcf7-form input[type="tel"],
.bg-wt-black .wpcf7-form textarea,
.bg-wt-black .wpcf7-form select,
.bg-wt-dark .wpcf7-form input[type="text"],
.bg-wt-dark .wpcf7-form input[type="email"],
.bg-wt-dark .wpcf7-form input[type="tel"],
.bg-wt-dark .wpcf7-form textarea,
.bg-wt-dark .wpcf7-form select {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}
.bg-wt-black .wpforms-form input::placeholder,
.bg-wt-black .wpforms-form textarea::placeholder,
.bg-wt-dark .wpforms-form input::placeholder,
.bg-wt-dark .wpforms-form textarea::placeholder,
.bg-wt-black .wpcf7-form input::placeholder,
.bg-wt-black .wpcf7-form textarea::placeholder,
.bg-wt-dark .wpcf7-form input::placeholder,
.bg-wt-dark .wpcf7-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Submit buttons on dark backgrounds — white bg, black text */
.bg-wt-black .wpforms-form input[type="submit"],
.bg-wt-dark .wpforms-form input[type="submit"],
.bg-wt-black .wpcf7-form input[type="submit"],
.bg-wt-dark .wpcf7-form input[type="submit"],
.bg-wt-black .wpcf7-form button[type="submit"],
.bg-wt-dark .wpcf7-form button[type="submit"],
.bg-wt-black form button[type="submit"],
.bg-wt-dark form button[type="submit"] {
  background: #fff !important;
  color: #0a0a0a !important;
  border-color: #fff !important;
}
.bg-wt-black .wpforms-form input[type="submit"]:hover,
.bg-wt-dark .wpforms-form input[type="submit"]:hover,
.bg-wt-black .wpcf7-form input[type="submit"]:hover,
.bg-wt-dark .wpcf7-form input[type="submit"]:hover,
.bg-wt-black .wpcf7-form button[type="submit"]:hover,
.bg-wt-dark .wpcf7-form button[type="submit"]:hover,
.bg-wt-black form button[type="submit"]:hover,
.bg-wt-dark form button[type="submit"]:hover {
  background: transparent !important;
  color: #fff !important;
}

/* === Pagination === */
.navigation.pagination {
  margin-top: 4rem;
}
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid #e5e5e3;
  color: #6e6e6c;
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  line-height: 1;
}
.navigation.pagination .page-numbers:hover {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}
.navigation.pagination .page-numbers.current {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}
.navigation.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: #b0b0ae;
  cursor: default;
  pointer-events: none;
}
.navigation.pagination .prev.page-numbers,
.navigation.pagination .next.page-numbers {
  min-width: auto;
  padding: 0 16px;
  gap: 6px;
  letter-spacing: 0.14em;
}

/* ── Rich text content (the_content output) ─────────────────── */
.wt-content p {
  margin-bottom: 1.25em;
}
.wt-content p:last-child {
  margin-bottom: 0;
}
.wt-content ul,
.wt-content ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}
.wt-content ul {
  list-style: disc;
}
.wt-content ol {
  list-style: decimal;
}
.wt-content li {
  margin-bottom: 0.4em;
}
.wt-content strong {
  color: #1a1a18;
  font-weight: 600;
}
.wt-content em {
  font-style: italic;
}
.wt-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wt-content h2,
.wt-content h3,
.wt-content h4,
.wt-content .wp-block-heading {
  font-family: "Playfair Display", Georgia, serif;
  color: #1a1a18;
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}
.wt-content h2,
.wt-content .wp-block-heading:is(h2) {
  font-size: 1.8rem;
}
.wt-content h3,
.wt-content .wp-block-heading:is(h3) {
  font-size: 1.6rem;
}
.wt-content h4,
.wt-content .wp-block-heading:is(h4) {
  font-size: 1.4rem;
}
.wt-content .wp-block-paragraph {
  margin-bottom: 1.25em;
  color: #6e6e6c;
  font-size: 0.875rem;
  line-height: 1.75;
}
.wt-content .wp-block-paragraph:last-child {
  margin-bottom: 0;
}
.wt-content .wp-block-list {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
  color: #6e6e6c;
  font-size: 0.875rem;
  line-height: 1.75;
}
.wt-content .wp-block-list li {
  margin-bottom: 0.4em;
}
.wt-content .wp-block-heading:first-child {
  margin-top: 0;
}

/* === Newsletter form (dark section) === */
.newsletter-form-wrap input[type="email"],
.newsletter-form-wrap input[type="text"] {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.newsletter-form-wrap input[type="email"]::placeholder,
.newsletter-form-wrap input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.newsletter-form-wrap input[type="email"]:focus,
.newsletter-form-wrap input[type="text"]:focus {
  border-color: rgba(255, 255, 255, 0.55);
}
.newsletter-form-wrap input[type="submit"],
.newsletter-form-wrap button[type="submit"] {
  background: #fff;
  color: #0a0a0a;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.newsletter-form-wrap input[type="submit"]:hover,
.newsletter-form-wrap button[type="submit"]:hover {
  background: #e5e5e3;
}
