/* ===== Design Tokens ===== */
:root {
  --font-body: 'Lato', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-heading: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --color-text: #222;
  --color-heading: #111;
  --color-bg-accent: #fffdf5;
  --color-gold: #c9a23f;
  --color-gold-light: rgba(201, 162, 63, 0.55);
  --color-gold-strong: rgba(201, 162, 63, 0.95);

  --radius-md: 6px;
  --radius-lg: 10px;

  --space-xxs: 10px;
  --space-xs: 15px;
  --space-sm: 20px;
  --space-md: 40px;

  --fz-base: 18px;
  --lh-base: 1.75;

  --bg-left: url(https://timehtoursghana.com/wp-content/uploads/2025/10/adinkra_side_left.webp) ;
  --bg-right: url(https://timehtoursghana.com/wp-content/uploads/2025/10/adinkra_side_right.webp) ;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fz-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  font-weight: 400;

  padding: var(--space-md);
  background-color: var(--color-bg-accent);

  /* Left art, Right art, Top border, Bottom border */
  background-image:
    var(--bg-left),
    var(--bg-right),
    linear-gradient(to right, var(--color-gold-strong), var(--color-gold-light)),
    linear-gradient(to right, var(--color-gold-strong), var(--color-gold-light));

  background-repeat: repeat-y, repeat-y, no-repeat, no-repeat;

  /* Anchor to page edges, not the padded content box */
  background-origin: border-box;
  background-clip: border-box;

  /* Positions: left edge and right edge; then top and bottom borders */
  background-position:
    left -40px top 0,
    right -40px top 0,
    left top,
    left bottom;

  background-size:
    120px auto,
    120px auto,
    100% 4px,
    100% 4px;

  animation: fadeInPattern 1.2s ease-in-out, shimmerScroll 35s linear infinite;
}

/* Gold vertical borders */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--color-gold-strong), var(--color-gold-light));
  z-index: 10;
  animation: fadeInBorder 1s ease-in-out;
}

body::before {
  left: 0;
}

body::after {
  right: 0;
}

/* ===== Headings ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin: 0 0 0.6em 0;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

/* ===== Navigation ===== */
.main-navigation {
  display: flex;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.4px;
}

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navigation li {
  display: inline-block;
  margin: 0 16px;
}

.main-navigation a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

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

.primary-btn:hover,
.primary-btn:focus,
.wpte-button:hover,
.wpte-button:focus {
  filter: brightness(1.05) saturate(1.05);
  transform: translateY(-1px);
}

/* ===== Images ===== */
.attachment-travel-booking-destination {
  width: 270px;
  height: 270px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ===== Media Queries ===== */
@media (max-width: 1024px) {
  body {
    padding: var(--space-sm);
    background-position:
      left -30px top 0,
      right -30px top 0,
      left top,
      left bottom;
    background-size:
      100px auto,
      100px auto,
      100% 4px,
      100% 4px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: var(--space-xs);
    background-position:
      left -25px top 0,
      right -25px top 0,
      left top,
      left bottom;
    background-size:
      80px auto,
      80px auto,
      100% 4px,
      100% 4px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: var(--space-xxs);
    background-position:
      left -20px top 0,
      right -20px top 0,
      left top,
      left bottom;
    background-size:
      60px auto,
      60px auto,
      100% 4px,
      100% 4px;
  }
}

@media (max-width: 360px) {
  body {
    padding: var(--space-xxs);
    background-position:
      left -15px top 0,
      right -15px top 0,
      left top,
      left bottom;
    background-size:
      50px auto,
      50px auto,
      100% 4px,
      100% 4px;
  }
}

/* ===== Animations ===== */
@keyframes fadeInPattern {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInBorder {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

@keyframes shimmerScroll {
  0% {
    background-position:
      left -40px top 0,
      right -40px top 0,
      left top,
      left bottom;
  }

  50% {
    background-position:
      left -40px top -40px,
      right -40px top -40px,
      left top,
      left bottom;
  }

  100% {
    background-position:
      left -40px top 0,
      right -40px top 0,
      left top,
      left bottom;
  }
}

.footer-t .container {
  display: flex;
  justify-content: space-between;
  margin: none;

  .col-3 .footer-col-holder {
    gap: 32px;
    flex-wrap: inherit;
  }
}

/* Wrapper spacing */
.footer-reviews-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

/* Title styling */
.footer-reviews-title {
  text-align: center;
  font-size: 1.9em;
  font-weight: 700;
  margin: 0 0 20px;
  color: #ffffff;
}

.site-footer .ti-widget[data-layout-id="34"] {
  width: 100% !important;
}

/* Force Trustindex widget text to become visible on dark footer */
.site-footer .ti-widget[data-layout-id="34"] .ti-header,
.site-footer .ti-widget[data-layout-id="34"] .ti-header * {
  color: #f9fafb !important;
}

/* Subtitle "Based on 34 reviews" */
.site-footer .ti-widget[data-layout-id="34"] .ti-rating-subtitle,
.site-footer .ti-widget[data-layout-id="34"] .ti-rating-subtitle * {
  color: #d1d5db !important;
}

/* Stars */
.site-footer .ti-widget[data-layout-id="34"] .ti-stars svg,
.site-footer .ti-widget[data-layout-id="34"] .ti-stars span {
  fill: #fbbf24 !important;
  color: #fbbf24 !important;
}

/* Trustindex label */
.site-footer .ti-widget[data-layout-id="34"] .ti-trustindex-logo,
.site-footer .ti-widget[data-layout-id="34"] .ti-trustindex-logo * {
  color: #f9fafb !important;
}


/* ============================================================
   GLOBAL BUTTON SYSTEM — ALL BUTTONS MATCH #c6a36f
   ============================================================ */
button,
input[type="button"],
input[type="submit"],
.primary-btn,
.wpte-button,
.wp-block-button__link,
.main-navigation a.button,
.elementor-button,
a.elementor-button-link,
a.wp-block-button__link {
  border-color: #c6a36f !important;
  border-radius: 6px;
}

/* Hover State */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.primary-btn:hover,
.wpte-button:hover,
.wp-block-button__link:hover,
.main-navigation a.button:hover,
.elementor-button:hover,
a.elementor-button-link:hover,
a.wp-block-button__link:hover {
  background-color: #b38f5f !important;
  border-color: #b38f5f !important;
  color: #ffffff !important;
  filter: brightness(1.05);
}


.customize-tour-btn-wrap {
  display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.customize-tour-btn-wrap .customize-tour-btn {
  display: inline-block;
  background-color: #c6a36f;
  border: 1px solid #c6a36f;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.customize-tour-btn-wrap .customize-tour-btn:hover,
.customize-tour-btn-wrap .customize-tour-btn:focus {
  background-color: #b38f5f;
  border-color: #b38f5f;
  color: #ffffff !important;
  text-decoration: none !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.customize-tour-btn-wrap .customize-tour-btn:visited,
.customize-tour-btn-wrap .customize-tour-btn:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

.wpte-gallery-wrapper__multi-banners .banner-layout-full .wpte-trip-feat-img img {
	object-fit: none !important;
}

section#featured-trip-section.featured-trip.toolkit-trip .container .grid .col .text-holder .trip-info h2.title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 48px;
  line-height: 24px;
}

section#featured-trip-section.featured-trip.toolkit-trip .container .grid .col .text-holder .trip-info div.category-trip-desc p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 102px;
  line-height: 34px;
}

section#featured-trip-section.featured-trip.toolkit-trip .container .grid .col .text-holder .trip-info div.meta-info {
  display: flex;
  flex-direction: column;
  .place {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

section#popular-section.popular-package.toolkit-trip .container .grid .col .text-holder .trip-info h2.title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 48px;
  line-height: 24px;
}

section#popular-section.popular-package.toolkit-trip .container .grid .col .text-holder .trip-info div.category-trip-desc p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 102px;
  line-height: 34px;
}

section#popular-section.popular-package.toolkit-trip .container .grid .col .text-holder .trip-info div.meta-info {
  display: flex;
  flex-direction: column;
  .place {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}