/* Links page compact hero - reduced height for faster content access */
.links-hero-compact {
  height: 35vh !important;
  min-height: 300px !important;
}

.links-hero-compact.overlay:before {
  height: 35vh !important;
  min-height: 300px !important;
}

.links-hero-compact .site-hero-inner {
  height: 35vh !important;
  min-height: 300px !important;
}

@media (max-width: 768px) {
  .links-hero-compact {
    height: 30vh !important;
    min-height: 280px !important;
  }
  
  .links-hero-compact.overlay:before {
    height: 30vh !important;
    min-height: 280px !important;
  }
  
  .links-hero-compact .site-hero-inner {
    height: 30vh !important;
    min-height: 280px !important;
  }
}

@media (max-width: 576px) {
  .links-hero-compact {
    height: 28vh !important;
    min-height: 260px !important;
  }
  
  .links-hero-compact.overlay:before {
    height: 28vh !important;
    min-height: 260px !important;
  }
  
  .links-hero-compact .site-hero-inner {
    height: 28vh !important;
    min-height: 260px !important;
  }
}

/* Minimal hero banner for blog articles */
.blog-hero-compact {
  height: 150px !important;
  min-height: 150px !important;
}

.blog-hero-compact .site-hero-inner {
  height: 150px !important;
  min-height: 150px !important;
}

.blog-hero-compact.overlay:before {
  height: 150px !important;
  min-height: 150px !important;
}

/* Mobile-specific fixes for blog articles */
@media (max-width: 768px) {
  /* Even smaller on mobile */
  .blog-hero-compact {
    height: 220px !important;
    min-height: 220px !important;
  }
  
  .blog-hero-compact .site-hero-inner {
    height: 220px !important;
    min-height: 220px !important;
  }
  
  .blog-hero-compact.overlay:before {
    height: 220px !important;
    min-height: 220px !important;
  }
  
  /* Optimize article main title size on mobile */
  .article-main-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
  }
  
  /* Minimal spacing since hero is now just a banner */
  .page-inside .section.bg-light-2.post {
    padding-top: 1em;
  }
}

/* Trail images within hiking cards - make them larger on mobile */
@media (max-width: 768px) {
  .trail-image {
    margin-bottom: 20px !important;
  }
  
  .trail-image img {
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    border-radius: 8px !important;
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  .blog-hero-compact {
    height: 180px !important;
    min-height: 180px !important;
  }
  
  .blog-hero-compact .site-hero-inner {
    height: 180px !important;
    min-height: 180px !important;
  }
  
  .blog-hero-compact.overlay:before {
    height: 180px !important;
    min-height: 180px !important;
  }
  
  .article-main-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  
  .page-inside .section.bg-light-2.post {
    padding-top: 0.5em;
  }
}

/* Choose Your Adventure Section - Enhanced Design */
.choose-adventure-section {
  padding: 60px 0 80px 0; /* Reduced top padding from 80px to 60px */
  background: linear-gradient(135deg, #fafafa 0%, #f5f8f8 100%);
}

/* Brand Colors */
.text-brand {
  color: #65c0ba !important;
}

.btn-brand {
  background: linear-gradient(135deg, #65c0ba 0%, #529a94 100%);
  border: 2px solid #65c0ba;
  color: white;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
  padding: 12px 24px;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-brand:hover::before {
  left: 100%;
}

.btn-brand:hover {
  background: linear-gradient(135deg, #529a94 0%, #4a8a85 100%);
  border-color: #529a94;
  color: white;
  box-shadow: 0 4px 15px rgba(101, 192, 186, 0.3);
}

.btn-brand-outline {
  background: transparent;
  border: 2px solid #65c0ba;
  color: #65c0ba;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
  padding: 12px 24px;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-brand-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(101, 192, 186, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-brand-outline:hover::before {
  left: 100%;
}

.btn-brand-outline:hover {
  background: linear-gradient(135deg, #65c0ba 0%, #529a94 100%);
  border-color: #65c0ba;
  color: white;
  box-shadow: 0 4px 15px rgba(101, 192, 186, 0.3);
  transform: translateY(-2px);
}

/* Adventure Cards */
.adventure-choice-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #e8e8e8;
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.adventure-choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  border-color: #65c0ba;
}

.adventure-choice-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #65c0ba, #529a94, #65c0ba);
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.adventure-choice-card:hover::after {
  opacity: 1;
}

/* Adventure Image Header */
.adventure-image-header {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.adventure-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
}


.adventure-badge {
  background: rgba(101, 192, 186, 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Adventure Content */
.adventure-content {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.adventure-title {
  color: #2c3e50;
  font-family: "Abril Fatface", times, serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.adventure-description {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
  flex-grow: 1;
}

.adventure-features {
  margin-bottom: 1.5rem;
}

.adventure-features li {
  color: #495057;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.adventure-choice-card:hover .adventure-features li {
  color: #333;
}

.adventure-features .fa-check-circle {
  color: #65c0ba;
  font-size: 1.1rem;
  margin-right: 10px;
}

.adventure-cta {
  margin-top: auto;
}

.adventure-cta .btn {
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.adventure-cta .btn i {
  transition: transform 0.3s ease;
}

.adventure-cta .btn:hover i {
  transform: translateX(2px);
}

/* Card Specific Styling */
.guided-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fdfc 100%);
}

.self-guided-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

/* Responsive adjustments for Choose Your Adventure */
@media (max-width: 991px) {
  .adventure-choice-card {
    margin-bottom: 2rem;
  }
  
  .adventure-image-header {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .choose-adventure-section {
    padding: 40px 0 60px 0; /* Reduced top padding from 60px to 40px on mobile */
  }
  
  .adventure-image-header {
    height: 180px;
  }
  
  .adventure-title {
    font-size: 1.5rem;
  }
  
  .adventure-content {
    padding: 1.5rem !important;
    min-height: 260px;
  }
  
  .adventure-cta .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

@media (max-width: 576px) {
  .choose-adventure-section {
    padding: 25px 0 40px 0; /* Reduced top padding from 40px to 25px on small mobile */
  }
  
  .adventure-image-header {
    height: 160px;
  }
  
  .adventure-title {
    font-size: 1.3rem;
  }
  
  .adventure-content {
    min-height: 240px;
  }
  
  .adventure-overlay {
    padding: 15px;
  }
  
  .adventure-badge {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* Hero Section Enhancements */
/* Enhanced overlay gradient for better text readability */
.site-hero.overlay:before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
}

/* Hero CTA Button Spacing */
.site-hero .btn {
  margin: 0 10px 10px 10px;
}

@media (max-width: 767px) {
  .site-hero .btn {
    margin: 10px 0;
  }
}

/* Tighter line spacing for hero tagline */
.hero-tagline {
  line-height: 1.26 !important; /* Reduced from 1.4 by ~10% */
}
/* Adventure Card Image Overlay */
.adventure-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 15px;
  border-radius: 12px 12px 0 0;
}

.adventure-badge {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Image overlay buttons */
.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-img-overlay-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-overlay:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transform: scale(1.05);
}
/* Why Go Self-Guided Section Styles */
.why-go-self-guided {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.why-go-self-guided h3 {
  font-family: 'Abril Fatface', cursive;
  color: #3d4c5a;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.why-go-self-guided .feature-item {
  margin-bottom: 30px;
}

.why-go-self-guided .feature-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #3d4c5a;
  margin-bottom: 10px;
}

.why-go-self-guided .feature-item p {
  color: #5a6875;
}

.pack-includes {
  padding: 60px 0;
}

.pack-includes h3 {
  font-family: 'Abril Fatface', cursive;
  color: #3d4c5a;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.pack-includes .include-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.pack-includes .include-item .icon {
  font-size: 1.5rem;
  color: #2c6b2f;
  margin-right: 15px;
  margin-top: 5px;
}

.pack-includes .include-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}
/* Definition Box Style */
.definition-box {
  background-color: #e9f5e9; /* A light, inviting green */
  border-left: 5px solid #2c6b2f;
  padding: 25px;
  margin: 30px 0;
  border-radius: 5px;
}

.definition-box h4 {
  font-family: 'Abril Fatface', cursive;
  color: #3d4c5a;
  margin-top: 0;
  margin-bottom: 10px;
}
/* SVG Icon Styles */
.feature-item .icon-svg,
.include-item .icon-svg {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.include-item .icon-svg {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  margin-bottom: 0;
  flex-shrink: 0; /* Prevent icon from shrinking */
}
/* New Self-Guided Page Funnel Styles */
.sg-hero-cta {
  margin-top: 20px;
}

.sg-section {
  padding: 50px 0;
  border-bottom: 1px solid #f0f0f0;
}

.sg-section:last-of-type {
  border-bottom: none;
}

.sg-section h2 {
  font-family: 'Abril Fatface', cursive;
  color: #3d4c5a;
  text-align: center;
  margin-bottom: 15px;
  font-size: 2.2rem;
}

.sg-section .lead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #5a6875;
}

.sg-what-is ul {
  list-style: none;
  padding-left: 0;
  max-width: 500px;
  margin: 20px auto 0 auto;
}

.sg-what-is ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.sg-what-is ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2c6b2f;
  font-weight: bold;
  font-size: 1.2rem;
}


.sg-benefits .benefit-card {
  text-align: center;
}

.sg-benefits .benefit-card h4 {
  font-weight: bold;
  margin-bottom: 5px;
}

.sg-benefits .benefit-card p {
  color: #5a6875;
}

.sg-includes .include-item {
  text-align: center;
}

.sg-includes .include-item img {
  height: 40px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.sg-cta-final {
  text-align: center;
}
/* Section background tint for visual separation */

/* Final CTA button styling for consistency */
.sg-cta-final .btn-primary {
  background-color: #28a745;
  border-color: #28a745;
}

.sg-cta-final .btn-primary:hover {
  background-color: #218838;
  border-color: #1e7e34;
}
/* SVG Icon sizing within benefit cards */
.sg-benefits .benefit-card .icon-svg {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  opacity: 0.8;
}
.trail-section {
  margin-bottom: 4rem;
}