/*
Theme Name: Japan Awaits Custom Theme
Theme URI: https://japanawaits.com
Author: Japan Awaits Team
Author URI: https://japanawaits.com
Description: Custom high-performance theme for Japan Awaits experiences with multiple Single Experience Post Layout options.
Version: 1.1.0
Text Domain: japanawaits
*/

:root {
  --ja-red: #c83232;
  --ja-red-hover: #ab2828;
  --ja-dark: #1a1a1a;
  --ja-gray: #4a5568;
  --ja-light-gray: #f7fafc;
  --ja-border: #e2e8f0;
  --ja-green: #2e7d32;
  --ja-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --ja-radius: 8px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--ja-dark);
  background-color: #ffffff;
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

a {
  color: var(--ja-red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ja-red-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Containers */
.ja-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Site Header */
.ja-header {
  border-bottom: 1px solid var(--ja-border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ja-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.ja-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--ja-red);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ja-logo span {
  color: var(--ja-dark);
}

.ja-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}

.ja-nav a {
  color: var(--ja-dark);
  font-weight: 500;
  font-size: 14px;
}

.ja-nav a:hover {
  color: var(--ja-red);
}

.ja-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ja-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--ja-dark);
}

/* -------------------------------------------------------------------------- */
/* Split Hero Section (Matches Reference Screenshot)                           */
/* Left content aligns with Logo (1440px), Right Slider extends to right edge.  */
/* -------------------------------------------------------------------------- */
.ja-hero-split-wrapper {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  margin-top: 24px;
  margin-bottom: 40px;
}

.ja-hero-split-inner {
  display: grid;
  grid-template-columns: minmax(340px, 540px) 1fr;
  gap: 40px;
  align-items: center;
  padding-left: max(20px, calc((100vw - 1440px) / 2 + 20px));
  padding-right: 0;
}

@media (max-width: 992px) {
  .ja-hero-split-inner {
    grid-template-columns: 1fr;
    padding-right: 20px;
  }
}

.ja-hero-left-content {
  padding-right: 10px;
}

.ja-exp-category-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--ja-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.ja-exp-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ja-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.ja-exp-excerpt {
  font-size: 14px;
  color: var(--ja-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* 4-Stat Box Grid */
.ja-hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--ja-border);
  border-bottom: 1px solid var(--ja-border);
  margin-bottom: 20px;
}

@media (max-width: 550px) {
  .ja-hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ja-stat-item {
  display: flex;
  flex-direction: column;
}

.ja-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.ja-stat-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--ja-dark);
  white-space: nowrap;
}

/* Price Line */
.ja-hero-price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  color: var(--ja-gray);
}

.ja-hero-price-line .price {
  font-size: 26px;
  font-weight: 800;
  color: var(--ja-red);
}

/* Right Slider Container */
.ja-hero-right-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-top-left-radius: var(--ja-radius);
  border-bottom-left-radius: var(--ja-radius);
  box-shadow: -4px 4px 25px rgba(0, 0, 0, 0.08);
  background: #1a1a1a;
}

@media (max-width: 992px) {
  .ja-hero-right-slider {
    height: 360px;
    border-radius: var(--ja-radius);
  }
}

.ja-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.ja-slide-img.active {
  opacity: 1;
  visibility: visible;
}

.ja-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ja-dark);
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
}

.ja-slider-arrow:hover {
  background: #fff;
  color: var(--ja-red);
  transform: translateY(-50%) scale(1.05);
}

.ja-slider-arrow.prev {
  left: 16px;
}

.ja-slider-arrow.next {
  right: 16px;
}

.ja-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 12;
}

.ja-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ja-dot.active, .ja-dot:hover {
  background: #ffffff;
  transform: scale(1.25);
}

/* -------------------------------------------------------------------------- */
/* Contact Inquiry Widget (Card & Form Styling matching UI mockup)            */
/* -------------------------------------------------------------------------- */
.ja-contact-widget,
.ja-widget-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ja-contact-header {
  margin-bottom: 20px;
}

.ja-contact-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ja-red, #c53628);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.ja-contact-title,
.ja-widget-title {
  font-size: 22px;
  font-weight: 700;
  color: #102a43;
  margin: 0 0 8px 0;
  padding: 0;
  border: none;
}

.ja-contact-desc {
  font-size: 13px;
  color: #4a5568;
  line-height: 1.5;
  margin: 0;
}

/* Compact Form Field Layout */
.ja-enquiry-form,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ja-form-group,
.wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}

.ja-form-group label,
.wpcf7 label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #102a43;
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: normal;
}

.ja-form-input,
.ja-form-select,
.ja-form-textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7-form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #1f2937;
  background-color: #ffffff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}

.ja-form-input::placeholder,
.ja-form-textarea::placeholder,
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.ja-form-input:focus,
.ja-form-select:focus,
.ja-form-textarea:focus,
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--ja-red, #c53628);
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 54, 40, 0.12);
}

/* Custom Styled Dropdowns */
.ja-form-select,
.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 36px;
  height: 42px;
  cursor: pointer;
}

.ja-form-select option:disabled {
  color: #9ca3af;
}

.ja-form-textarea,
.wpcf7 textarea {
  height: 130px;
  resize: vertical;
}

/* Submit Button */
.ja-btn-submit-enquiry,
.wpcf7-submit,
.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 12px 20px;
  background: var(--ja-red, #c53628) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  transition: background-color 0.2s ease, transform 0.1s ease !important;
  margin-top: 4px;
  box-shadow: 0 2px 4px rgba(197, 54, 40, 0.15);
}

.ja-btn-submit-enquiry:hover,
.wpcf7-submit:hover,
.wpcf7 input[type="submit"]:hover {
  background: var(--ja-red-hover, #a9291d) !important;
}

.wpcf7-spinner {
  display: block;
  margin: 8px auto 0 auto;
}

.wpcf7-response-output {
  margin: 12px 0 0 0 !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  border: 1px solid #86efac !important;
  background: #f0fdf4 !important;
  color: #166534 !important;
}

.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng {
  border-color: #fca5a5 !important;
  background: #fdf2f2 !important;
  color: #991b1b !important;
}

.wpcf7-not-valid-tip {
  font-size: 11px;
  color: #dc2626;
  margin-top: 3px;
  display: block;
}

/* 2 Column Main Grid Below */
.ja-exp-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .ja-exp-grid {
    grid-template-columns: 1fr;
  }
}

/* Section Styling */
.ja-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--ja-border);
}

.ja-section:last-child {
  border-bottom: none;
}

.ja-section-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ja-red);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ja-section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ja-dark);
  margin-bottom: 16px;
}

/* Highlights Grid */
.ja-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .ja-highlights-grid {
    grid-template-columns: 1fr;
  }
}

.ja-highlight-card {
  background: #fff;
  padding: 16px;
  display: flex;
  gap: 12px;
}

.ja-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200, 50, 50, 0.1);
  color: var(--ja-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.ja-highlight-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ja-highlight-content p {
  font-size: 13px;
  color: var(--ja-gray);
}

/* Highlights Grid with 01 02 03 Numbers */
.ja-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 600px) {
  .ja-highlights-grid {
    grid-template-columns: 1fr;
  }
}

.ja-highlight-card {
  background: #ffffff;
  padding: 12px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ja-hl-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fef2f2;
  color: #c83232;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ja-highlight-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ja-dark);
  margin-bottom: 4px;
}

.ja-highlight-content p {
  font-size: 13px;
  color: var(--ja-gray);
  line-height: 1.5;
}

/* Dept Schedule & Sights Route */
.ja-dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.ja-dept-box {
  background: #fff;
  border: 1px solid var(--ja-border);
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
}

.ja-dept-box label {
  font-size: 10px;
  font-weight: 700;
  color: #a0aec0;
  text-transform: uppercase;
  display: block;
}

.ja-dept-box strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--ja-dark);
}

.ja-route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 30px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ja-gray);
}

/* Good to Know Cards Grid */
.ja-good-to-know-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .ja-good-to-know-grid {
    grid-template-columns: 1fr;
  }
}

.ja-gtk-card {
  background: var(--ja-light-gray);
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius);
  padding: 18px;
}

.ja-gtk-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ja-dark);
  margin-bottom: 6px;
}

.ja-gtk-card p {
  font-size: 13px;
  color: var(--ja-gray);
  line-height: 1.5;
}

/* Booking & Cancellation Table */
.ja-booking-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13px;
  background: var(--ja-light-gray);
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius);
  overflow: hidden;
}

.ja-booking-table tr {
  border-bottom: 1px solid var(--ja-border);
}

.ja-booking-table tr:last-child {
  border-bottom: none;
}

.ja-booking-table td {
  padding: 12px 18px;
  color: var(--ja-gray);
}

.ja-booking-table td:first-child {
  font-weight: 700;
  color: var(--ja-dark);
  width: 40%;
}

/* Map Box */
.ja-map-box {
  background: var(--ja-light-gray);
  border-radius: var(--ja-radius);
  overflow: hidden;
  border: 1px solid var(--ja-border);
  height: 300px;
}

.ja-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Included / Excluded Grid */
.ja-inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .ja-inclusions-grid {
    grid-template-columns: 1fr;
  }
}

.ja-inc-box {
  background: var(--ja-light-gray);
  padding: 20px;
  border-radius: var(--ja-radius);
  border: 1px solid var(--ja-border);
}

.ja-inc-box h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ja-inc-list {
  list-style: none;
}

.ja-inc-list li {
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ja-inc-list.included li::before {
  content: "✓";
  color: var(--ja-green);
  font-weight: bold;
}

.ja-inc-list.excluded li::before {
  content: "✕";
  color: #e53e3e;
  font-weight: bold;
}

/* Before Your Cruise Grid */
.ja-before-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .ja-before-grid {
    grid-template-columns: 1fr;
  }
}

.ja-before-card {
  background: #fff;
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius);
  padding: 16px;
}

.ja-before-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ja-dark);
}

.ja-before-card p {
  font-size: 13px;
  color: var(--ja-gray);
}

/* FAQ Accordion */
.ja-faq-item {
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.ja-faq-item.active {
  border-color: #cbd5e1;
}

.ja-faq-title {
  padding: 16px 20px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--ja-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.ja-faq-title:hover {
  background: var(--ja-light-gray);
  color: var(--ja-red);
}

.ja-faq-title::after {
  content: "+";
  font-size: 20px;
  color: var(--ja-red);
  font-weight: bold;
  line-height: 1;
}

.ja-faq-list .ja-faq-title::after {
  content: none !important;
  display: none !important;
}

.ja-faq-item.active .ja-faq-title::after {
  content: "−";
}

.ja-faq-content {
  padding: 0 20px 16px 20px;
  font-size: 14px;
  color: var(--ja-gray);
  line-height: 1.6;
  display: none;
}

.ja-faq-item.active .ja-faq-content {
  display: block !important;
}

/* Tripadvisor Reviews Widget Section */
.ja-sakura-reviews {
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ja-sakura-reviews__card {
  background: #fff;
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.ja-sakura-reviews__header {
  margin-bottom: 14px;
}

.ja-sakura-reviews__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ja-red);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ja-sakura-reviews__header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ja-dark);
}

.ja-sakura-reviews__widget {
  min-height: 120px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.ja-sakura-reviews__widget iframe,
.ja-sakura-reviews__widget .TA_selfserveprop,
.ja-sakura-reviews__widget div,
.ja-sakura-reviews__widget img {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Sidebar Widgets */
.ja-sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Bokun Live Booking Widget Card */
.ja-sakura-booking__card {
  background: #fff;
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius);
  padding: 20px;
  box-shadow: var(--ja-shadow);
}

.ja-sakura-booking__header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ja-border);
}

.ja-sakura-booking__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ja-red);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ja-sakura-booking__header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ja-dark);
  margin-bottom: 6px;
}

.ja-sakura-booking__header p {
  font-size: 13px;
  color: var(--ja-gray);
  line-height: 1.5;
}

.ja-sakura-booking__widget {
  min-height: 180px;
}

.ja-widget-card {
  background: #fff;
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius);
  padding: 24px;
  box-shadow: var(--ja-shadow);
}

.ja-widget-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ja-border);
}

/* Contact Form Input Styles */
.ja-form-group {
  margin-bottom: 12px;
}

.ja-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ja-gray);
}

.ja-form-input, .ja-form-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--ja-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
}

.ja-form-textarea {
  height: 80px;
  resize: vertical;
}

.ja-btn-submit-enquiry {
  width: 100%;
  padding: 12px;
  background: var(--ja-red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

.ja-btn-submit-enquiry:hover {
  background: var(--ja-red-hover);
}

/* Related Experiences Grid */
.ja-related-section {
  padding: 50px 0;
  background: var(--ja-light-gray);
  border-top: 1px solid var(--ja-border);
}

.ja-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .ja-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ja-related-grid {
    grid-template-columns: 1fr;
  }
}

.ja-card {
  background: #fff;
  border-radius: var(--ja-radius);
  overflow: hidden;
  border: 1px solid var(--ja-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.ja-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.ja-card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.ja-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ja-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ja-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.ja-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ja-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ja-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ja-card-excerpt {
  font-size: 12px;
  color: var(--ja-gray);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ja-card-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ja-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.ja-card-price {
  font-weight: 800;
  color: var(--ja-red);
  font-size: 14px;
}

/* Footer */
.ja-footer {
  background: var(--ja-dark);
  color: #a0aec0;
  padding: 40px 0 20px 0;
  font-size: 13px;
}

.ja-footer a {
  color: #cbd5e0;
}

.ja-footer a:hover {
  color: #fff;
}

.ja-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2d3748;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

/* -------------------------------------------------------------------------- */
/* Style 2: Fullwidth Hero Banner Layout                                      */
/* -------------------------------------------------------------------------- */
.ja-style-2 .ja-exp-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center center;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.ja-style-2 .ja-exp-hero-overlay {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(
    180deg, 
    rgba(15, 23, 42, 0.35) 0%, 
    rgba(15, 23, 42, 0.65) 45%, 
    rgba(15, 23, 42, 0.92) 100%
  );
  padding: 80px 0 48px 0;
  color: #ffffff;
  box-sizing: border-box;
}

.ja-style-2 .ja-exp-hero-overlay .ja-container {
  width: 100%;
  text-align: left;
}

.ja-style-2 .ja-exp-category-tag,
.ja-style-2 .ja-exp-hero h1,
.ja-style-2 .ja-exp-hero p,
.ja-style-2 .ja-hero-stats-banner {
  margin-left: 0;
  text-align: left;
}

.ja-style-2 .ja-hero-stats-banner {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 20px;
  font-size: 13px;
  color: #f8fafc;
}

.ja-style-2 .ja-hero-stats-banner span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* -------------------------------------------------------------------------- */
/* Style 3: Modern Split Gallery Layout                                       */
/* -------------------------------------------------------------------------- */
.ja-style-3-header {
  padding: 24px 0 16px 0;
}

.ja-style-3 .ja-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  height: 440px;
  margin-bottom: 36px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--ja-shadow);
}

.ja-style-3 .ja-gallery-item {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #1e293b;
}

.ja-style-3 .ja-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ja-style-3 .ja-gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .ja-style-3 .ja-gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .ja-style-3 .ja-gallery-item {
    height: 240px;
  }
}

/* Custom Multi-Column Builder Grid Classes */
.ja-builder-column-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 30px;
}

.ja-builder-col-slot {
  box-sizing: border-box;
  min-width: 0;
}

/* Equal Columns */
.ja-col-preset-1 > .ja-builder-col-slot { flex: 0 0 100%; max-width: 100%; }
.ja-col-preset-2 > .ja-builder-col-slot { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
.ja-col-preset-3 > .ja-builder-col-slot { flex: 0 0 calc(33.333% - 16px); max-width: calc(33.333% - 16px); }
.ja-col-preset-4 > .ja-builder-col-slot { flex: 0 0 calc(25% - 18px); max-width: calc(25% - 18px); }
.ja-col-preset-5 > .ja-builder-col-slot { flex: 0 0 calc(20% - 19.2px); max-width: calc(20% - 19.2px); }
.ja-col-preset-6 > .ja-builder-col-slot { flex: 0 0 calc(16.666% - 20px); max-width: calc(16.666% - 20px); }

/* Asymmetric Proportion Split Ratios */
.ja-col-preset-5-5 > .ja-builder-col-slot:nth-child(1),
.ja-col-preset-5-5 > .ja-builder-col-slot:nth-child(2) { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }

.ja-col-preset-6-4 > .ja-builder-col-slot:nth-child(1) { flex: 0 0 calc(60% - 14.4px); max-width: calc(60% - 14.4px); }
.ja-col-preset-6-4 > .ja-builder-col-slot:nth-child(2) { flex: 0 0 calc(40% - 9.6px); max-width: calc(40% - 9.6px); }

.ja-col-preset-4-6 > .ja-builder-col-slot:nth-child(1) { flex: 0 0 calc(40% - 9.6px); max-width: calc(40% - 9.6px); }
.ja-col-preset-4-6 > .ja-builder-col-slot:nth-child(2) { flex: 0 0 calc(60% - 14.4px); max-width: calc(60% - 14.4px); }

.ja-col-preset-7-3 > .ja-builder-col-slot:nth-child(1) { flex: 0 0 calc(70% - 16.8px); max-width: calc(70% - 16.8px); }
.ja-col-preset-7-3 > .ja-builder-col-slot:nth-child(2) { flex: 0 0 calc(30% - 7.2px); max-width: calc(30% - 7.2px); }

.ja-col-preset-3-7 > .ja-builder-col-slot:nth-child(1) { flex: 0 0 calc(30% - 7.2px); max-width: calc(30% - 7.2px); }
.ja-col-preset-3-7 > .ja-builder-col-slot:nth-child(2) { flex: 0 0 calc(70% - 16.8px); max-width: calc(70% - 16.8px); }

.ja-col-preset-2-8 > .ja-builder-col-slot:nth-child(1) { flex: 0 0 calc(20% - 19.2px); max-width: calc(20% - 19.2px); }
.ja-col-preset-2-8 > .ja-builder-col-slot:nth-child(2) { flex: 0 0 calc(80% - 4.8px); max-width: calc(80% - 4.8px); }

.ja-col-preset-8-2 > .ja-builder-col-slot:nth-child(1) { flex: 0 0 calc(80% - 4.8px); max-width: calc(80% - 4.8px); }
.ja-col-preset-8-2 > .ja-builder-col-slot:nth-child(2) { flex: 0 0 calc(20% - 19.2px); max-width: calc(20% - 19.2px); }

/* Responsive Fallback for Mobile */
@media (max-width: 768px) {
  .ja-builder-column-grid { gap: 16px; }
  .ja-builder-col-slot {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}


/* ============================================================
   CUSTOM BUILDER BLOCK FRONTEND STYLES
   (Used by japanawaits_render_single_content_block)
   ============================================================ */

/* --- Inclusions (Builder version with ja-inclusions-col) --- */
.ja-inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.ja-inclusions-col {
  border-radius: 12px;
  padding: 24px;
}

.ja-inclusions-col--inc {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.ja-inclusions-col--exc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ja-inclusions-heading {
  font-size: 16px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ja-inclusions-heading--ex {
  color: #991b1b;
}

.ja-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ja-list li {
  font-size: 14px;
  line-height: 1.55;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ja-list--check li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.ja-list--cross li::before {
  content: "✕";
  color: #dc2626;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Schedule Block --- */
.ja-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ja-schedule-slot {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.ja-schedule-date {
  font-size: 14px;
  font-weight: 700;
  color: #0369a1;
}

.ja-schedule-time {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

.ja-schedule-note {
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  margin-left: auto;
}

/* --- Info Cards Grid (Builder cards block - 2 Columns) --- */
.ja-info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .ja-info-cards-grid {
    grid-template-columns: 1fr;
  }
}

.ja-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ja-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.ja-info-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.4;
}

.ja-info-card-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* --- Custom Timeline Stepper Card (Exact match to live design) --- */
.ja-route-card {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  margin-bottom: 28px;
}

.ja-route-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 54px;
}

@media (max-width: 768px) {
  .ja-route-card {
    padding: 20px 18px;
  }
  .ja-route-header {
    flex-direction: column;
    margin-bottom: 30px;
    gap: 10px;
  }
}

.ja-route-tag {
  color: #c83232;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ja-route-title {
  color: #183b56;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.ja-route-header-right {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  max-width: 340px;
  text-align: right;
}

@media (max-width: 768px) {
  .ja-route-header-right {
    text-align: left;
    max-width: 100%;
  }
}

.ja-route-stepper-wrap {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

.ja-route-stepper-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  width: 100%;
}

@media (max-width: 768px) {
  .ja-route-stepper-row {
    flex-direction: column;
    gap: 28px;
  }
}

/* Connecting Horizontal Line */
.ja-route-line {
  position: absolute;
  top: 5px; /* Aligned to dot center */
  left: 20px;
  right: 20px;
  height: 1px;
  background: #cbd5e1;
  z-index: 1;
}

@media (max-width: 768px) {
  .ja-route-line {
    top: 10px;
    bottom: 10px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }
}

.ja-route-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .ja-route-node {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
  }
}

/* Badge Pills above dot */
.ja-badge-pill {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 9.5px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.2px;
  background: #c83232;
  box-shadow: 0 2px 4px rgba(200, 50, 50, 0.25);
}

@media (max-width: 768px) {
  .ja-badge-pill {
    position: static;
    transform: none;
  }
}

/* Dots */
.ja-route-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.ja-dot-navy {
  background: #0f172a;
  box-shadow: 0 0 0 4px #f8fafc;
}

.ja-dot-red {
  background: #c83232;
  box-shadow: 0 0 0 4px #f8fafc;
}

.ja-route-node-label {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  word-break: break-word;
}

.ja-route-node-sub {
  font-size: 10.5px;
  color: #94a3b8;
  font-style: italic;
  margin-top: 2px;
}

/* Option 2: Capsule Pills Flow Style */
.ja-route-timeline-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
}

.ja-route-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
  align-items: center;
}

.ja-route-stop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 6px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.ja-route-stop-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #c83232;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ja-route-stop-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.ja-route-connector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ja-route-arrow {
  color: #94a3b8;
  font-size: 13px;
}

/* --- Booking & Policy Table Block (Exact match to screenshot) --- */
.ja-policy-card {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 8px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  margin-bottom: 28px;
}

.ja-policy-row {
  display: flex;
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
  gap: 32px;
  align-items: flex-start;
}

.ja-policy-row:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .ja-policy-card {
    padding: 8px 18px;
  }
  .ja-policy-row {
    flex-direction: column;
    gap: 8px;
    padding: 18px 0;
  }
}

.ja-policy-label {
  width: 220px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 800;
  color: #183b56;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .ja-policy-label {
    width: 100%;
  }
}

.ja-policy-content {
  flex: 1;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
}

.ja-policy-content p {
  margin: 0 0 8px;
}

.ja-policy-content p:last-child {
  margin-bottom: 0;
}

.ja-policy-content strong {
  color: #183b56;
  font-weight: 700;
}

.ja-policy-content ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.ja-policy-content li {
  margin-bottom: 6px;
  line-height: 1.55;
}

/* --- Bokun Widget Wrap --- */
.ja-bokun-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}

/* --- TripAdvisor Widget Wrap --- */
.ja-tripadvisor-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}

/* --- CF7 Contact Form Section & Card --- */
.ja-cf7-card {
  background: #ffffff;
  border: 1px solid var(--ja-border, #e2e8f0);
  border-radius: var(--ja-radius, 12px);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.ja-cf7-section {
  background: transparent;
  border: none;
  padding: 0;
}

/* --- Custom HTML block --- */
.ja-custom-html {
  overflow: auto;
}

/* --- FAQ Builder block (button-based accordion) --- */
.ja-faq-list .ja-faq-item .ja-faq-title[type="button"] {
  width: 100%;
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--ja-border);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ja-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  transition: background 0.2s ease;
}

.ja-faq-list .ja-faq-item .ja-faq-title[type="button"]:hover {
  background: #eff6ff;
}

.ja-faq-list .ja-faq-item .ja-faq-icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--ja-red);
  transition: transform 0.2s ease;
}

.ja-faq-list .ja-faq-item .ja-faq-body {
  display: none;
  background: #fff;
  border: 1px solid var(--ja-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ja-gray);
  line-height: 1.6;
}

.ja-faq-list .ja-faq-item.active .ja-faq-title[type="button"] {
  border-radius: 8px 8px 0 0;
  background: #eff6ff;
  color: #1d4ed8;
}

.ja-faq-list .ja-faq-item.active .ja-faq-body {
  display: block;
}

.ja-faq-list .ja-faq-item.active .ja-faq-icon {
  transform: rotate(45deg);
}

/* --- Section wrappers from builder --- */
.ja-section--bokun,
.ja-section--cf7,
.ja-section--tripadvisor {
  margin-bottom: 24px;
}

/* ============================================================
   GUTENBERG CONTENT WRAPPER
   Frontend styles for the_content() output from Gutenberg blocks
   ============================================================ */

/* Content wrapper */
.gutenberg-content {
  width: 100%;
}

/* Spacing between blocks */
.gutenberg-content > * + * {
  margin-top: 0;
}

/* Core paragraph & heading styles inside Gutenberg content */
.gutenberg-content p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 16px;
}

.gutenberg-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ja-dark);
  margin-bottom: 16px;
  margin-top: 0;
}

.gutenberg-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ja-dark);
  margin-bottom: 12px;
  margin-top: 0;
}

/* Gutenberg Core Columns block spacing */
.gutenberg-content .wp-block-columns {
  gap: 24px;
  margin-bottom: 32px;
}

.gutenberg-content .wp-block-column {
  min-width: 0;
}

/* Gutenberg Core Image block */
.gutenberg-content .wp-block-image img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* Ensure our custom blocks respect full width inside columns */
.gutenberg-content .wp-block-column .ja-section {
  margin-bottom: 20px;
}

/* Gutenberg core separator */
.gutenberg-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--ja-border);
  margin: 24px 0;
}

/* Japan Awaits custom block spacing */
.gutenberg-content .ja-section {
  margin-bottom: 28px;
}

/* -------------------------------------------------------------------------- */
/*  Japan Awaits — 2-Column Main Content & Sidebar Layout                     */
/* -------------------------------------------------------------------------- */
.ja-exp-layout-wrapper {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  width: 100%;
}

.ja-exp-main-col {
  flex: 1 1 0%;
  min-width: 0;
}

.ja-exp-sidebar-col {
  width: 380px;
  max-width: 100%;
  flex-shrink: 0;
}

.ja-exp-sidebar-col .ja-sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ja-exp-sidebar-col .ja-section {
  margin-bottom: 0 !important;
}

@media (max-width: 992px) {
  .ja-exp-layout-wrapper {
    flex-direction: column;
    gap: 32px;
  }
  
  .ja-exp-sidebar-col {
    width: 100%;
  }

  .ja-exp-sidebar-col .ja-sidebar-sticky {
    position: static;
  }
}

/* -------------------------------------------------------------------------- */
/*  Experiences Showcase / Query Block Styles (Grid, Slider, List)             */
/* -------------------------------------------------------------------------- */

/* Grid Format */
.ja-exp-showcase--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Compact List Format */
.ja-exp-showcase--list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Slider Format (Horizontal scroll with snap) */
.ja-exp-showcase--slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.ja-exp-showcase--slider .ja-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

/* Showcase Experience Card styling */
.ja-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.ja-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

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

.ja-card:hover .ja-card-img {
  transform: scale(1.04);
}

.ja-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(200, 50, 50, 0.9);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}

.ja-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ja-card-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

.ja-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 12px;
}

.ja-card-title a {
  color: inherit;
  text-decoration: none;
}

.ja-card-title a:hover {
  color: var(--ja-red, #c83232);
}

.ja-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.ja-card-price-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
}

.ja-card-price-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--ja-red, #c83232);
}

/* Compact List Card Variant */
.ja-card--list {
  flex-direction: row;
  align-items: center;
}

.ja-card--list .ja-card-img-wrap {
  width: 130px;
  height: 100px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.ja-card--list .ja-card-body {
  padding: 12px 16px;
}

.ja-card--list .ja-card-title {
  font-size: 14px;
  margin-bottom: 6px;
}

