/* public/TourCategoryPage.css */
/* Gold Standard Tour Category Landing Pages - Kiruna Tours */

:root {
  --kt-blue: #1e2a63;
  --kt-blue-dark: #14204f;
  --kt-gold: #d8a23a;
  --kt-text: #1f2933;
  --kt-muted: #5f6b7a;
  --kt-border: #e4e8ef;
  --kt-bg: #f6f8fb;
  --kt-card: #ffffff;
  --kt-shadow: 0 12px 35px rgba(16, 24, 40, 0.08);
  --kt-shadow-soft: 0 6px 20px rgba(16, 24, 40, 0.06);
}

/* ---------- Page Base ---------- */

.tour-category-page {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 3rem 1.25rem !important;
  color: var(--kt-text);
}

.tour-category-page a {
  color: var(--kt-blue);
  text-decoration: none;
}

.tour-category-page a:hover {
  text-decoration: underline;
}

/* ---------- Breadcrumb ---------- */

.tour-category-page > nav:first-child {
  max-width: 1180px;
  margin: 0 auto 1.25rem !important;
  font-size: 0.92rem !important;
  color: var(--kt-muted);
}

.tour-category-page > nav:first-child a {
  font-weight: 600;
}

/* ---------- Hero ---------- */

.tour-category-page > header {
  max-width: 1180px;
  margin: 0 auto 2.8rem !important;
  padding: 3.2rem 2rem !important;
  background:
    linear-gradient(135deg, rgba(30, 42, 99, 0.94), rgba(20, 32, 79, 0.88)),
    url("/header.webp");
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  color: #ffffff;
  box-shadow: var(--kt-shadow);
  position: relative;
  overflow: hidden;
}

.tour-category-page > header::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(216, 162, 58, 0.22), transparent 68%);
  pointer-events: none;
}

.tour-category-page > header p:first-child {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.14em !important;
}

.tour-category-page > header h1 {
  color: #ffffff !important;
  max-width: 850px;
  font-size: clamp(2.35rem, 5vw, 4.6rem) !important;
  letter-spacing: -0.045em;
}

.tour-category-page > header p:last-child {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 880px !important;
  font-size: 1.16rem !important;
}

/* ---------- Generic Sections ---------- */

.tour-category-page section {
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tour-category-page section h2 {
  color: var(--kt-blue) !important;
  font-size: clamp(1.55rem, 2.2vw, 2rem) !important;
  letter-spacing: -0.02em;
}

.tour-category-page section p {
  color: #344054 !important;
}

/* ---------- Hero Intro / Info Boxes ---------- */

.tour-category-page section[style*="background:#fff"],
.tour-category-page section[style*="background:#f8f9fb"] {
  border-radius: 18px !important;
  box-shadow: var(--kt-shadow-soft);
}

/* ---------- Best For Block ---------- */

.tour-category-page section:nth-of-type(2) {
  background: var(--kt-bg) !important;
  border-left: 5px solid var(--kt-gold) !important;
}

.tour-category-page section:nth-of-type(2) div[style*="display:grid"] > div {
  border-radius: 14px !important;
  border: 1px solid var(--kt-border) !important;
  box-shadow: 0 3px 12px rgba(16, 24, 40, 0.04);
}

/* ---------- Comparison Cards ---------- */

.tour-category-page article {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tour-category-page article:hover {
  transform: translateY(-3px);
  box-shadow: var(--kt-shadow) !important;
  border-color: rgba(30, 42, 99, 0.22) !important;
}

/* ---------- Tour Grid ---------- */

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)) !important;
  gap: 1.6rem !important;
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article {
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid var(--kt-border) !important;
  box-shadow: var(--kt-shadow-soft) !important;
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article img {
  transition: transform 0.35s ease;
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article:hover img {
  transform: scale(1.035);
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article h2 {
  font-size: 1.22rem !important;
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article a[style*="background:#1e2a63"] {
  background: var(--kt-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(30, 42, 99, 0.18);
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article a[style*="background:#1e2a63"]:hover {
  background: var(--kt-blue-dark) !important;
  text-decoration: none;
}

/* ---------- Related Category Cards ---------- */

.tour-category-page a[href^="/tours/"][style*="display:block"] {
  border-radius: 16px !important;
  border: 1px solid var(--kt-border) !important;
  box-shadow: var(--kt-shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tour-category-page a[href^="/tours/"][style*="display:block"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--kt-shadow);
  text-decoration: none;
}

/* ---------- FAQ ---------- */

.tour-category-page details {
  border-radius: 14px !important;
  border: 1px solid var(--kt-border) !important;
  box-shadow: 0 3px 12px rgba(16, 24, 40, 0.04);
}

.tour-category-page summary {
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.tour-category-page summary::-webkit-details-marker {
  display: none;
}

.tour-category-page summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--kt-blue);
  font-size: 1.3rem;
  line-height: 1;
}

.tour-category-page details[open] summary::after {
  content: "−";
}

/* ---------- Footer polish for prerender pages ---------- */

.tour-category-page + footer {
  margin-top: 4rem !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .tour-category-page {
    padding: 2rem 1rem !important;
  }

  .tour-category-page > header {
    padding: 2.4rem 1.4rem !important;
    border-radius: 18px;
  }

  .tour-category-page section div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .tour-category-page {
    padding: 1.5rem 0.85rem !important;
  }

  .tour-category-page > header {
    padding: 2rem 1rem !important;
  }

  .tour-category-page > header h1 {
    font-size: 2.15rem !important;
  }

  .tour-category-page > header p:last-child {
    font-size: 1rem !important;
  }

  .tour-category-page section {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
}

/* Match normal /tours/ card sizing */
.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 2rem !important;
  justify-content: center !important;
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article {
  max-width: 360px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article img {
  height: 200px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article h2 {
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
}

.tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article p {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}

@media (max-width: 480px) {
  .tour-category-page section div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] article img {
    height: 180px !important;
  }
}

/* Final tour category cards - match /tours/ card style */
.tc-tour-card {
  max-width: 360px !important;
  width: 100% !important;
  margin: 0 auto !important;
  background: #fff !important;
  border: 1px solid #eaeaea !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.tc-tour-image-link {
  display: block !important;
  height: 200px !important;
  overflow: hidden !important;
}

.tc-tour-image {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.tc-tour-body {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  gap: 0.75rem !important;
}

.tc-tour-title {
  margin: 0 !important;
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
  color: #003366 !important;
}

.tc-tour-title a {
  color: #003366 !important;
  text-decoration: none !important;
}

.tc-tour-title a:hover {
  text-decoration: underline !important;
}

.tc-tour-desc {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  color: #333 !important;
}

.tc-tour-meta {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  color: #555 !important;
  font-size: 0.95rem !important;
  flex-wrap: wrap !important;
  margin-top: 0.25rem !important;
}

.tc-tour-pickup {
  color: #666 !important;
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
}

.tc-tour-actions {
  margin-top: auto !important;
  padding-top: 1rem !important;
}

.tc-tour-button {
  display: block !important;
  width: 100% !important;
  padding: 0.75rem !important;
  border-radius: 6px !important;
  background-color: #FF5A5F !important;
  color: #fff !important;
  text-align: center !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.tc-tour-button:hover {
  background-color: #E04A50 !important;
  text-decoration: none !important;
}

@media (max-width: 480px) {
  .tc-tour-image-link,
  .tc-tour-image {
    height: 180px !important;
  }
}

/* FINAL MATCH TO /tours/ LAYOUT */

.tour-category-page .tour-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 2rem !important;
  align-items: stretch !important;
}

.tour-category-page .tour-widget {
  max-width: 360px !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #e9edf3 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

.tour-category-page .tour-image-wrapper {
  display: block !important;
  height: 220px !important;
  overflow: hidden !important;
}

.tour-category-page .tour-image {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.tour-category-page .tour-content {
  padding: 1.4rem !important;
}

.tour-category-page .tour-content h3 {
  margin: 0 0 1rem !important;
  font-size: 2rem !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.tour-category-page .tour-content h3 a {
  color: #1e2a63 !important;
  text-decoration: none !important;
}

.tour-category-page .tour-desc {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: #333 !important;
  margin-bottom: 1.2rem !important;
}

.tour-category-page .tour-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  align-items: center !important;
  color: #666 !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.8rem !important;
}

.tour-category-page .tour-pickup {
  display: flex !important;
  gap: 0.5rem !important;
  align-items: flex-start !important;
  color: #666 !important;
  font-size: 0.95rem !important;
  margin-bottom: 1.4rem !important;
}

.tour-category-page .tour-buttons {
  margin-top: auto !important;
}

.tour-category-page .book-now-button {
  display: block !important;
  width: 100% !important;
  background: #e16464 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 0.95rem 1rem !important;
  text-align: center !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
}

.tour-category-page .book-now-button:hover {
  background: #d65353 !important;
}

@media (max-width: 768px) {
  .tour-category-page .tour-grid {
    grid-template-columns: 1fr !important;
  }

  .tour-category-page .tour-widget {
    max-width: 100% !important;
  }
}

/* GOLD STANDARD PAGE WIDTH */

.tour-category-page {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 2rem 2rem 5rem !important;
}

.tour-category-page .tour-grid {
  margin-top: 2rem !important;
}

.tour-category-page .tour-widget {
  max-width: unset !important;
}

.tour-category-page h1 {
  font-size: clamp(3rem, 6vw, 5.5rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
}

.tour-category-page .intro-text {
  max-width: 1100px !important;
  font-size: 1.15rem !important;
  line-height: 1.8 !important;
}

.tour-category-page section {
  margin-bottom: 4rem !important;
}

.tour-category-page .best-for-grid {
  gap: 1rem !important;
}

.tour-category-page .best-for-item {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

@media (max-width: 768px) {
  .tour-category-page {
    padding: 1.25rem 1rem 4rem !important;
  }

  .tour-category-page h1 {
    font-size: 2.8rem !important;
  }
}

/* BEST FOR ROW FIX */

.tour-category-page .best-for-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  align-items: stretch !important;
}

.tour-category-page .best-for-item {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-height: 100% !important;
  padding: 1.1rem 1rem !important;
}

@media (max-width: 1200px) {
  .tour-category-page .best-for-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .tour-category-page .best-for-grid {
    grid-template-columns: 1fr !important;
  }
}

/* GOLD STANDARD FINAL UX / CRO IMPROVEMENTS */

.tour-category-page > header {
  margin-bottom: 1.5rem !important;
}

.tour-category-page section {
  margin-bottom: 2.6rem !important;
}

.tc-trust-strip {
  max-width: 1180px !important;
  margin: 0 auto 2rem !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.tc-trust-strip div {
  background: #fff !important;
  border: 1px solid #e4e8ef !important;
  border-radius: 14px !important;
  padding: 1rem !important;
  font-weight: 700 !important;
  color: #1e2a63 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.04) !important;
}

.tour-category-page .tour-widget {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.tour-category-page .tour-content {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.tour-category-page .tour-desc {
  min-height: 7rem !important;
}

.tour-category-page .tour-buttons {
  margin-top: auto !important;
}

.tc-urgency-box,
.tc-info-box {
  max-width: 1180px !important;
  margin: 2.5rem auto !important;
  padding: 1.7rem !important;
  background: #fff !important;
  border: 1px solid #e4e8ef !important;
  border-left: 5px solid #d8a23a !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 20px rgba(16,24,40,.06) !important;
}

.tc-urgency-box {
  display: flex !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  align-items: center !important;
}

.tc-urgency-box h2,
.tc-info-box h2 {
  margin-top: 0 !important;
  color: #1e2a63 !important;
}

.tc-urgency-box p,
.tc-info-box p {
  margin-bottom: 0 !important;
  line-height: 1.75 !important;
}

.tc-urgency-link {
  white-space: nowrap !important;
  font-weight: 800 !important;
  color: #1e2a63 !important;
}

.tour-category-page details {
  background: #fff !important;
}

@media (max-width: 900px) {
  .tc-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tc-urgency-box {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 520px) {
  .tc-trust-strip {
    grid-template-columns: 1fr !important;
  }

  .tour-category-page .tour-desc {
    min-height: auto !important;
  }
}

/* STATIC CATEGORY FOOTER */

.tc-site-footer {
  margin-top: 4rem !important;
  background: #101b3f !important;
  color: #fff !important;
  padding: 3rem 2rem 1.5rem !important;
}

.tc-footer-inner {
  max-width: 1180px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
  gap: 2.5rem !important;
}

.tc-footer-inner h2,
.tc-footer-inner h3 {
  color: #fff !important;
  margin: 0 0 1rem !important;
}

.tc-footer-inner p {
  color: rgba(255,255,255,.75) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.tc-footer-inner nav {
  display: flex !important;
  flex-direction: column !important;
  gap: .65rem !important;
}

.tc-footer-inner a {
  color: rgba(255,255,255,.78) !important;
  text-decoration: none !important;
}

.tc-footer-inner a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.tc-footer-bottom {
  max-width: 1180px !important;
  margin: 2rem auto 0 !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.65) !important;
  font-size: .95rem !important;
}

@media (max-width: 900px) {
  .tc-footer-inner {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 560px) {
  .tc-footer-inner {
    grid-template-columns: 1fr !important;
  }
}

/* REAL FOOTER CLONE FOR STATIC CATEGORY PAGES */

.footer {
  background: #252d67 !important;
  color: #ffffff !important;
  padding: 3.5rem 2rem !important;
  margin-top: 4rem !important;
}

.footer-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr !important;
  gap: 3rem !important;
  align-items: start !important;
}

.footer-contact-card {
  background: #ffffff !important;
  color: #1e2a63 !important;
  padding: 2rem !important;
  border-radius: 8px !important;
  line-height: 1.8 !important;
  font-size: 1rem !important;
}

.footer-contact-card p {
  margin: 0 0 .7rem !important;
  color: #1e2a63 !important;
}

.footer-column {
  display: flex !important;
  flex-direction: column !important;
  gap: .65rem !important;
}

.footer-column h3 {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  margin: 0 0 .7rem !important;
}

.footer-column a {
  color: rgba(255,255,255,.86) !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
}

.footer-column a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

@media (max-width: 1100px) {
  .footer-container {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr !important;
  }
}

/* OVERRIDE BROKEN STATIC FOOTER PATCH - MATCH REAL FOOTER.CSS */

.tc-site-footer,
.tc-footer-inner,
.tc-footer-bottom {
  all: unset !important;
}

.footer {
  background-color: #1e2a63 !important;
  color: white !important;
  padding: 2rem 1rem !important;
  font-size: 0.95rem !important;
  margin-top: 4rem !important;
}

.footer-columns {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  gap: 2rem !important;
}

.footer-col {
  flex: 1 !important;
  min-width: 200px !important;
}

.footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-col ul li {
  margin-bottom: 0.5rem !important;
}

.footer-col a {
  color: #cfe3ff !important;
  text-decoration: none !important;
}

.footer-col a:hover {
  text-decoration: underline !important;
}

.footer-heading {
  font-size: 1.17em !important;
  font-weight: 700 !important;
  margin: 0 0 0.75rem !important;
  color: #fff !important;
  border-bottom: 1px solid #fff !important;
  padding-bottom: 0.3rem !important;
}

.contact-info p {
  margin-bottom: 0.5rem !important;
  color: #fff !important;
  line-height: 1.7 !important;
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column !important;
  }
}

/* FORCE WHITE TEXT ON TOUR BUTTONS */

.book-now-button,
.book-now-button:visited,
.book-now-button:hover,
.book-now-button:active,
.book-now-button:focus,
.tc-tour-card .book-now-button,
.tc-tour-card .book-now-button:visited,
.tc-tour-card .book-now-button:hover {
  color: #ffffff !important;
}

/* FORCE BUTTON TEXT WHITE */

a.book-now-button,
a.book-now-button:link,
a.book-now-button:visited,
a.book-now-button:hover,
a.book-now-button:focus,
a.book-now-button:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.tour-widget .book-now-button,
.tc-tour-card .book-now-button {
  color: #ffffff !important;
}

.tour-widget .book-now-button *,
.tc-tour-card .book-now-button * {
  color: #ffffff !important;
}

/* HERO TITLE FIX */

.tc-hero-title {
  font-size: clamp(3rem, 5vw, 5.5rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
  max-width: 1200px !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
}

@media (max-width: 1200px) {
  .tc-hero-title {
    white-space: normal !important;
    text-wrap: balance !important;
    font-size: clamp(2.6rem, 6vw, 4.5rem) !important;
  }
}

@media (max-width: 768px) {
  .tc-hero-title {
    font-size: clamp(2.1rem, 9vw, 3.2rem) !important;
    line-height: 1.08 !important;
  }
}

/* DEFINITIVE HERO TITLE FIX */

.tour-category-page > header .tc-hero-title {
  font-size: clamp(3rem, 4.4vw, 4.8rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  color: #ffffff !important;
}

@media (max-width: 1180px) {
  .tour-category-page > header .tc-hero-title {
    white-space: normal !important;
    text-wrap: balance !important;
    font-size: clamp(2.6rem, 6vw, 4rem) !important;
  }
}

@media (max-width: 768px) {
  .tour-category-page > header .tc-hero-title {
    font-size: clamp(2.1rem, 9vw, 3.1rem) !important;
    line-height: 1.08 !important;
  }
}

/* FIX HERO TITLE AFTER OVER-SCALING */

.tour-category-page > header {
  min-height: 0 !important;
  padding: 3.2rem 3rem !important;
}

.tour-category-page > header .tc-hero-title {
  max-width: 980px !important;
  white-space: normal !important;
  text-wrap: balance !important;
  text-align: left !important;
  font-size: clamp(3rem, 4.2vw, 4.35rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  margin: 0.7rem 0 1.4rem !important;
}

.tour-category-page > header p:last-child {
  max-width: 920px !important;
  font-size: 1.12rem !important;
  line-height: 1.7 !important;
}

@media (max-width: 900px) {
  .tour-category-page > header {
    padding: 2.4rem 1.5rem !important;
  }

  .tour-category-page > header .tc-hero-title {
    font-size: clamp(2.3rem, 8vw, 3.4rem) !important;
  }
}

/* EXPERIENCE GUIDE SECTION */

.tc-experience-guide {
  max-width: 1180px !important;
  margin: 2.2rem auto !important;
}

.tc-section-card {
  background: #ffffff !important;
  border: 1px solid #e4e8ef !important;
  border-left: 5px solid #d8a23a !important;
  border-radius: 18px !important;
  padding: 1.8rem !important;
  box-shadow: 0 6px 20px rgba(16,24,40,.06) !important;
}

.tc-section-card h2 {
  margin-top: 0 !important;
  color: #1e2a63 !important;
}

.tc-guide-intro {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  color: #374151 !important;
  margin-bottom: 1.5rem !important;
}

.tc-guide-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
}

.tc-guide-item {
  background: #f8f9fb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
}

.tc-guide-item h3 {
  margin: 0 0 0.75rem !important;
  color: #1e2a63 !important;
  font-size: 1.05rem !important;
}

.tc-guide-item p {
  margin: 0 !important;
  color: #4b5563 !important;
  line-height: 1.7 !important;
}

@media (max-width: 900px) {
  .tc-guide-grid {
    grid-template-columns: 1fr !important;
  }
}

/* FIX TOUR CARDS AFTER EXPERIENCE GUIDE PATCH */

.tour-category-page .tour-grid {
  max-width: 1180px !important;
  margin: 2rem auto 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  align-items: stretch !important;
}

.tour-category-page .tour-widget {
  max-width: 360px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.tour-category-page .tour-content h3 {
  font-size: 1.55rem !important;
  line-height: 1.25 !important;
}

.tour-category-page .tour-desc {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  min-height: 7rem !important;
}

@media (max-width: 1100px) {
  .tour-category-page .tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .tour-category-page .tour-grid {
    grid-template-columns: 1fr !important;
  }

  .tour-category-page .tour-widget {
    max-width: 100% !important;
  }

  .tour-category-page .tour-desc {
    min-height: auto !important;
  }
}

/* FIX FOOTER CONTACT CARD TEXT COLORS */

.footer-contact-card,
.footer-contact-card p,
.footer-contact-card a,
.footer-contact-card span,
.footer-contact-card div {
  color: #1e2a63 !important;
}

.footer-contact-card a:hover {
  color: #243b80 !important;
}

.footer-contact-card svg {
  color: #1e2a63 !important;
}

/* FORCE FOOTER CONTACT CARD DARK TEXT */

.footer .contact-info,
.footer .contact-info p,
.footer .contact-info a,
.footer .contact-info span,
.footer .contact-info div {
  color: #1e2a63 !important;
  -webkit-text-fill-color: #1e2a63 !important;
}

.footer .contact-info {
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 2rem !important;
}

/* FOOTER CONTACT CARD WIDTH FIX */

.footer .contact-info {
  flex: 1.35 !important;
  min-width: 280px !important;
  max-width: 360px !important;
}

.footer .contact-info p {
  white-space: normal !important;
}

.footer .contact-info p:first-child {
  white-space: nowrap !important;
}

/* FOOTER 5-COLUMN FINAL FIX */

.footer-columns {
  display: grid !important;
  grid-template-columns: 360px 1fr 1fr 1fr 1.25fr !important;
  gap: 2rem !important;
  align-items: start !important;
  max-width: 1400px !important;
}

.footer .contact-info {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 360px !important;
  box-sizing: border-box !important;
}

.footer .contact-info p:first-child {
  white-space: nowrap !important;
}

@media (max-width: 1100px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 640px) {
  .footer-columns {
    grid-template-columns: 1fr !important;
  }
}
