/*
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.1790999999
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 32px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .ja-container {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .ja-container {
    padding: 0 16px;
  }
}

/* Site Header */
.ja-header {
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.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, #c83232);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.ja-logo span {
  color: var(--ja-dark, #1e293b);
}

.ja-nav-wrap {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 20px;
}

.ja-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ja-nav li {
  position: relative;
  margin: 0;
  padding: 0;
}

.ja-nav a {
  color: #334155;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  transition: color 0.2s ease;
}

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

/* Dropdown Arrow for parent menu items */
.ja-nav .menu-item-has-children > a::after {
  content: '▾';
  font-size: 11px;
  margin-left: 4px;
  display: inline-block;
  vertical-align: middle;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ja-nav .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
  color: var(--ja-red, #c83232);
}

/* Submenu dropdown panel */
.ja-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 210px;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  padding: 8px 0;
  margin: 8px 0 0 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.ja-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ja-nav .sub-menu li {
  width: 100%;
}

.ja-nav .sub-menu a {
  padding: 10px 18px;
  display: block;
  font-size: 13px;
  color: #334155;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
  border: none;
}

.ja-nav .sub-menu a:hover {
  background: #f8fafc;
  color: var(--ja-red, #c83232);
}

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

.ja-header-search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.ja-header-search-btn:hover {
  color: var(--ja-red, #c83232);
  background: #f1f5f9;
}

.ja-mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #334155;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.ja-mobile-toggle-btn:hover,
.ja-mobile-toggle-btn.is-active {
  color: var(--ja-red, #c83232);
  background: #f1f5f9;
}

.ja-dropdown-toggle {
  display: none !important;
}

@media (max-width: 991px) {
  .ja-mobile-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ja-nav-wrap {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 16px 24px 20px 24px;
    margin: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .ja-nav-wrap.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .ja-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .ja-nav li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

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

  .ja-nav .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .ja-nav .menu-item-has-children > a {
    flex-grow: 1;
    width: auto;
  }

  .ja-nav .menu-item-has-children > a::after {
    display: none !important;
  }

  .ja-dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    border-radius: 4px;
    flex-shrink: 0;
  }

  .ja-dropdown-toggle:hover,
  .ja-dropdown-toggle.is-open {
    color: var(--ja-red, #c83232);
    background: #f8fafc;
  }

  .ja-dropdown-toggle.is-open {
    transform: rotate(180deg);
  }

  .ja-nav a {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    justify-content: space-between;
  }

  /* Submenu is CLOSED by default on mobile */
  .ja-nav .sub-menu {
    display: none !important;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 4px 0 12px 16px;
    margin: 0;
    background: transparent;
    width: 100%;
    border-top: 1px dashed #f1f5f9;
  }

  /* Submenu expands when parent item has .is-open class */
  .ja-nav .menu-item-has-children.is-open > .sub-menu {
    display: block !important;
  }

  .ja-nav .sub-menu a {
    padding: 8px 0;
    font-size: 14px;
    color: #64748b;
  }
}

/* Fullscreen Search Overlay (Matches Image 2) */
.ja-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ja-search-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.ja-search-close-btn {
  position: absolute;
  top: 28px;
  right: 40px;
  background: transparent;
  border: none;
  font-size: 38px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color 0.2s, transform 0.2s;
}

.ja-search-close-btn:hover {
  color: #0f172a;
  transform: scale(1.1);
}

.ja-search-overlay-content {
  width: 100%;
  max-width: 680px;
  padding: 0 24px;
  text-align: center;
}

.ja-search-prompt {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.ja-search-input-wrap {
  position: relative;
  width: 100%;
}

.ja-search-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #0f172a;
  font-size: 24px;
  font-weight: 500;
  color: #0f172a;
  text-align: center;
  padding: 12px 0;
  outline: none;
  box-shadow: none;
  font-family: inherit;
  border-radius: 0;
}

.ja-search-field:focus {
  border-bottom-color: var(--ja-red, #c83232);
}

/* -------------------------------------------------------------------------- */
/* Split Hero Section (Page Width Contained)                                   */
/* Both Left Content and Right Slider fit within 1440px container width        */
/* -------------------------------------------------------------------------- */
.ja-hero-split-wrapper {
  position: relative;
  margin-top: 24px;
  margin-bottom: 40px;
}

.ja-hero-split-inner {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 40px;
  align-items: center;
  padding: 0;
}

.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;
}

/* Auto-adjusting Stat Box Grid (supports 2, 3, or 4 items) */
.ja-hero-stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--ja-border);
  border-bottom: 1px solid var(--ja-border);
  margin-bottom: 20px;
}

.ja-stat-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 calc(25% - 12px);
}

/* Explicit Backend Layout Overrides */
@media (min-width: 601px) {
  .ja-hero-stats-grid.cols-2 .ja-stat-item { flex: 0 0 calc(50% - 6px); }
  .ja-hero-stats-grid.cols-3 .ja-stat-item { flex: 0 0 calc(33.333% - 8px); }
  .ja-hero-stats-grid.cols-4 .ja-stat-item { flex: 0 0 calc(25% - 9px); }
}

.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: normal;
  word-break: break-word;
}

/* 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-radius: var(--ja-radius);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  background: #1a1a1a;
}

.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);
}

/* -------------------------------------------------------------------------- */
/* Responsive Media Queries for Hero Split Wrapper                             */
/* -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .ja-hero-split-inner {
    grid-template-columns: minmax(300px, 420px) 1fr;
    gap: 28px;
  }

  .ja-hero-right-slider {
    height: 460px;
  }
}

@media (max-width: 992px) {
  .ja-hero-split-wrapper {
    margin-top: 20px;
    margin-bottom: 32px;
  }

  .ja-hero-split-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .ja-exp-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .ja-hero-right-slider {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .ja-hero-split-wrapper {
    margin-top: 16px;
    margin-bottom: 24px;
  }

  .ja-exp-category-tag {
    font-size: 10.5px;
    margin-bottom: 8px;
  }

  .ja-exp-title {
    font-size: 25px;
    line-height: 1.28;
    margin-bottom: 10px;
  }

  .ja-exp-excerpt {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .ja-hero-stats-grid {
    gap: 10px;
    padding: 12px 0;
    margin-bottom: 18px;
  }

  .ja-hero-price-line {
    font-size: 13px;
  }

  .ja-hero-price-line .price {
    font-size: 24px;
  }

  .ja-hero-right-slider {
    height: 320px;
    border-radius: 14px;
  }

  .ja-slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

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

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

@media (max-width: 600px) {
  .ja-exp-title {
    font-size: 23px;
  }

  .ja-hero-stats-grid {
    gap: 10px 14px;
  }

  .ja-stat-item {
    flex: 1 1 calc(50% - 14px);
  }



  .ja-hero-right-slider {
    height: 260px;
    border-radius: 12px;
  }

  .ja-slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

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

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

  .ja-slider-dots {
    bottom: 12px;
    gap: 6px;
  }

  .ja-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 400px) {
  .ja-exp-category-tag {
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .ja-exp-title {
    font-size: 20px;
  }

  .ja-exp-excerpt {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .ja-stat-label {
    font-size: 9px;
  }

  .ja-stat-value {
    font-size: 12px;
  }

  .ja-hero-price-line .price {
    font-size: 22px;
  }

  .ja-hero-right-slider {
    height: 220px;
  }
}

/* -------------------------------------------------------------------------- */
/* 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-top: 0;
  margin-bottom: 10px;
}

.ja-section--bokun .ja-section-title,
.ja-bokun-wrap .ja-section-title,
.ja-section--bokun h2.ja-section-title {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
}

/* 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: #ffffff;
  padding: 44px 0 36px 0;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.ja-footer-nav-wrap {
  margin-bottom: 24px;
}

.ja-footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
}

.ja-footer-nav a {
  color: var(--ja-red, #c83232);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}

.ja-footer-nav a:hover {
  opacity: 0.8;
  color: var(--ja-red, #c83232);
}

.ja-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ja-footer-social-link {
  width: 34px;
  height: 34px;
  background: var(--ja-red, #c83232);
  color: #ffffff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
}

.ja-footer-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: #ffffff;
}

.ja-footer-copyright {
  font-size: 12px;
  color: #718096;
  text-align: center;
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* 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;
}

/* Sub-cards Grid inside Policy Rows */
.ja-policy-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 8px;
}

.ja-policy-sub-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ja-policy-sub-step {
  font-size: 11px;
  font-weight: 800;
  color: #c83232;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ja-policy-sub-title {
  font-size: 14px;
  font-weight: 700;
  color: #183b56;
  line-height: 1.35;
}

.ja-policy-sub-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .ja-policy-sub-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ja-policy-sub-card {
    padding: 12px 14px;
  }
}

/* --- 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-body,
.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-item.active .ja-faq-title[type="button"],
.ja-faq-list .ja-faq-item.active .ja-faq-title[type="button"] {
  border-radius: 8px 8px 0 0;
  background: #eff6ff;
  color: #1d4ed8;
}

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

.ja-faq-item.active .ja-faq-icon,
.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: 26px;
  font-weight: 800;
  color: var(--ja-dark);
  margin-top: 36px;
  margin-bottom: 14px;
}

.gutenberg-content h2:first-child,
.gutenberg-content > h2:first-of-type {
  margin-top: 0;
}

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

/* 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;
}

/* Typography & Indentation for Gutenberg / Experience Main Content Lists */
.ja-exp-main-col ul,
.ja-exp-gutenberg-content ul,
.gutenberg-content ul,
.ja-exp-main-content ul,
.entry-content ul,
ul.wp-block-list,
.gutenberg-content .wp-block-list {
  padding-left: 28px !important;
  margin-left: 12px !important;
  margin-top: 12px !important;
  margin-bottom: 24px !important;
  list-style-type: disc !important;
}

.gutenberg-content .wp-block-list li,
.wp-block-list li {
  margin-bottom: 8px !important;
  padding-left: 4px !important;
}

.ja-exp-main-col ol,
.ja-exp-gutenberg-content ol,
.gutenberg-content ol,
.ja-exp-main-content ol,
.entry-content ol,
ol.wp-block-list {
  padding-left: 28px !important;
  margin-left: 12px !important;
  margin-top: 12px !important;
  margin-bottom: 24px !important;
  list-style-type: decimal !important;
}

.ja-exp-main-col ul ul,
.ja-exp-gutenberg-content ul ul,
.gutenberg-content ul ul,
.entry-content ul ul,
.ja-exp-main-col ol ol,
.ja-exp-gutenberg-content ol ol,
.gutenberg-content ol ol,
.entry-content ol ol,
.ja-exp-main-col ul ol,
.ja-exp-gutenberg-content ul ol,
.gutenberg-content ul ol,
.entry-content ul ol,
.ja-exp-main-col ol ul,
.ja-exp-gutenberg-content ol ul,
.gutenberg-content ol ul,
.entry-content ol ul {
  margin-top: 6px;
  margin-bottom: 6px;
  padding-left: 20px;
}

.ja-exp-main-col li,
.ja-exp-gutenberg-content li,
.gutenberg-content li,
.entry-content li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: #334155;
}

.ja-exp-main-col p,
.ja-exp-gutenberg-content p,
.gutenberg-content p,
.entry-content p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #334155;
}

/* -------------------------------------------------------------------------- */
/*  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;
}

/* Remove nested ja-container padding inside ja-exp-main-col and ja-exp-gutenberg-content */
.ja-exp-main-col .ja-container,
.ja-exp-gutenberg-content .ja-container,
.ja-exp-main-col .ja-core-block-container,
.ja-exp-gutenberg-content .ja-core-block-container,
.ja-exp-main-col .ja-container.ja-core-block-container,
.ja-exp-gutenberg-content .ja-container.ja-core-block-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.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;
}

/* ────────────────────────────────────────────────────────────────────────── */
/* GUTENBERG PAGE BLOCKS CSS                                                 */
/* ────────────────────────────────────────────────────────────────────────── */

/* Block 1: Page Hero Banner (Full Width Background Image, Container Content) */
.ja-page-hero,
.wp-block-japanawaits-page-hero-banner,
section.ja-page-hero {
  position: relative;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 520px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  margin-top: 0;
  margin-bottom: 50px;
  box-sizing: border-box;
}

.ja-page-hero-inner,
.ja-page-hero .ja-container {
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  width: 100% !important;
  box-sizing: border-box;
}



.ja-page-hero-content {
  max-width: 920px;
  width: 100%;
  color: #ffffff;
}

.ja-page-hero-title,
.ja-page-hero .ja-page-hero-title,
.gutenberg-content h1.ja-page-hero-title,
.entry-content h1.ja-page-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.ja-page-hero-subtitle,
.ja-page-hero .ja-page-hero-subtitle,
.gutenberg-content p.ja-page-hero-subtitle,
.entry-content p.ja-page-hero-subtitle,
.ja-exp-main-col p.ja-page-hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 28px;
}

.ja-page-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ja-hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ja-hero-btn--primary {
  background: var(--ja-red, #c83232);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(200, 50, 50, 0.35);
}

.ja-hero-btn--primary:hover {
  background: #a82525;
  transform: translateY(-2px);
  color: #ffffff;
}

.ja-hero-btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.ja-hero-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Block 2: Why Japan Awaits Features */
.ja-why-us-section {
  padding: 30px 0 50px 0;
}

.ja-why-us-title {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  color: var(--ja-dark, #183b56);
  margin-bottom: 40px;
}

.ja-why-us-grid {
  display: grid;
  grid-template-columns: repeat(var(--ja-cols, 4), 1fr);
  gap: 24px;
}

.ja-why-us-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.ja-why-us-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

.ja-why-us-icon-wrap {
  width: 54px;
  height: 54px;
  background: #fef2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.ja-why-us-icon {
  font-size: 24px;
}

.ja-why-us-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ja-dark, #183b56);
  margin-bottom: 8px;
}

.ja-why-us-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}

/* Block 3: Interactive 9-Region Japan Map */
.ja-region-block-section {
  padding: 50px 0;
  background: #f8fafc;
  border-radius: 20px;
  margin: 40px 0;
}

.ja-region-block-header {
  text-align: center;
  margin-bottom: 36px;
}

.ja-region-map-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.ja-map-canvas-container {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.ja-japan-svg-map {
  width: 100%;
  height: auto;
  display: block;
}

.ja-region-shape {
  stroke: #ffffff;
  stroke-width: 1.8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Region Color Gradient matching Reference Image */
.ja-region-shape--hokkaido { fill: #f2faf6; }
.ja-region-shape--tohoku   { fill: #e4f6ee; }
.ja-region-shape--kanto    { fill: #d3ebd9; }
.ja-region-shape--chubu    { fill: #c2e3ce; }
.ja-region-shape--kansai   { fill: #a5d2be; }
.ja-region-shape--chugoku  { fill: #7db39a; }
.ja-region-shape--shikoku  { fill: #4e8774; }
.ja-region-shape--kyushu   { fill: #396e5d; }
.ja-region-shape--okinawa  { fill: #2c5446; }

.ja-map-region-group:hover .ja-region-shape,
.ja-map-region-group.active .ja-region-shape {
  fill: #e15b49 !important;
  filter: drop-shadow(0 6px 15px rgba(225, 91, 73, 0.45));
}

.ja-map-region-title {
  font-size: 15px;
  font-weight: 900;
  fill: #0f172a;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.ja-map-region-title:hover,
.ja-map-region-title.active {
  fill: #e15b49;
  font-size: 16px;
}

.ja-city-label {
  font-size: 12px;
  font-weight: 600;
  fill: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.ja-city-label--pin {
  font-size: 14px;
  font-weight: 900;
  fill: #0f172a;
}

.ja-city-label:hover {
  fill: #e15b49;
}

.ja-map-canvas-hint {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 14px;
  font-style: italic;
}

.ja-map-detail-card {
  position: relative;
  min-height: 440px;
}

.ja-region-panel {
  display: none;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border: 1px solid #e2e8f0;
  animation: jaFadeIn 0.35s ease forwards;
}

.ja-region-panel.active {
  display: block;
}

@keyframes jaFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ja-region-panel-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.ja-region-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ja-region-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ja-red, #c83232);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.ja-region-panel-body {
  padding: 24px;
}

.ja-region-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: var(--ja-red, #c83232);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.ja-region-panel-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ja-dark, #183b56);
  margin-bottom: 6px;
}

.ja-region-panel-sub {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}

.ja-region-panel-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
}

.ja-region-panel-btn {
  display: inline-block;
  background: var(--ja-dark, #183b56);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ja-region-panel-btn:hover {
  background: var(--ja-red, #c83232);
  color: #ffffff;
}

/* Block 4: Featured Experiences Grid */
.ja-featured-exp-section {
  padding: 50px 0;
}

.ja-featured-exp-header {
  text-align: center;
  margin-bottom: 36px;
}

.ja-featured-exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.ja-exp-card-item {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ja-exp-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.ja-exp-card-media {
  position: relative;
  height: 180px;
  overflow: hidden;
}

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

.ja-exp-card-item:hover .ja-exp-card-media img {
  transform: scale(1.05);
}

.ja-exp-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ja-red, #c83232);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}

.ja-exp-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ja-exp-card-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}

.ja-exp-card-title a {
  color: var(--ja-dark, #183b56);
  text-decoration: none;
}

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

.ja-exp-card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}

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

.ja-exp-card-price .lbl {
  font-size: 11px;
  color: #94a3b8;
  display: block;
}

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

.ja-exp-card-arrow-btn {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ja-dark, #183b56);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
}

.ja-exp-card-arrow-btn:hover {
  background: var(--ja-red, #c83232);
  color: #ffffff;
}

.ja-featured-exp-footer {
  text-align: center;
}

.ja-view-all-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--ja-red, #c83232);
  color: var(--ja-red, #c83232);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ja-view-all-btn:hover {
  background: var(--ja-red, #c83232);
  color: #ffffff;
}

/* Block 5: Dual Services Cards */
.ja-dual-services-section {
  padding: 60px 0;
  background: #ffffff;
}

.ja-dual-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

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

.ja-service-box {
  border-radius: 24px;
  padding: 36px 32px 32px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ja-service-box--left {
  background: #f9f6f0;
}

.ja-service-box--right {
  background: #f0f4f8;
}

.ja-service-box-accent {
  position: absolute;
  top: 0;
  left: 32px;
  width: 44px;
  height: 4px;
  background: var(--ja-red, #c83232);
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.ja-service-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--ja-red, #c83232);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  margin-top: 6px;
}

.ja-service-box-title {
  font-size: 26px;
  font-weight: 800;
  color: #183b56;
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.ja-service-box-sub {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 28px;
  line-height: 1.55;
}

.ja-service-box-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.ja-service-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ja-service-item-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-color: rgba(200, 50, 50, 0.2);
}

.ja-service-item-step {
  font-size: 11.5px;
  font-weight: 700;
  color: #a0aec0;
  flex-shrink: 0;
  width: 18px;
}

.ja-service-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.ja-service-item-icon--left {
  background: #fef2f2;
  color: #c83232;
}

.ja-service-item-icon--right {
  background: #e0f2fe;
  color: #0284c7;
}

.ja-service-item-icon svg {
  width: 20px;
  height: 20px;
}

.ja-service-item-content {
  flex-grow: 1;
  min-width: 0;
}

.ja-service-item-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--ja-red, #c83232);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.ja-service-item-content h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #183b56;
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.ja-service-item-jptitle {
  font-size: 11px;
  color: #64748b;
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
}

.ja-service-item-content p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.ja-service-item-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.ja-service-item-row:hover .ja-service-item-arrow {
  background: #183b56;
  border-color: #183b56;
  color: #ffffff;
  transform: translateX(2px);
}

/* Block 6: Stories & Travel Ideas */
.ja-stories-section {
  padding: 50px 0 70px 0;
}

.ja-stories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.ja-stories-header-left {
  text-align: left;
}

.ja-stories-header-left .ja-section-tag {
  display: block;
  margin-bottom: 4px;
}

.ja-stories-view-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--ja-red, #c83232);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ja-stories-view-btn:hover {
  color: #b02828;
}

.ja-stories-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.ja-story-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  min-height: 200px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ja-story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.ja-story-card--hero {
  min-height: 420px;
  height: 100%;
}

.ja-story-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.ja-story-card:hover .ja-story-bg-img {
  transform: scale(1.06);
}

.ja-story-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 55%, rgba(15, 23, 42, 0.05) 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.ja-story-card:hover .ja-story-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.48) 60%, rgba(15, 23, 42, 0.1) 100%);
}

.ja-story-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ja-story-cat {
  background: var(--ja-red, #c83232);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
}

.ja-story-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.ja-story-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ja-story-title a:hover {
  color: #fca5a5;
}

.ja-stories-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ja-story-card--sm {
  min-height: 198px;
}

.ja-story-card--sm .ja-story-title {
  font-size: 14px;
  line-height: 1.35;
}

/* RESPONSIVE LAYOUT BREAKPOINTS */
@media (max-width: 992px) {
  .ja-why-us-grid,
  .ja-featured-exp-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .ja-region-map-wrapper,
  .ja-dual-services-grid,
  .ja-stories-masonry {
    grid-template-columns: 1fr;
  }

  .ja-page-hero-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .ja-why-us-grid,
  .ja-featured-exp-grid,
  .ja-stories-subgrid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* ────────────────────────────────────────────────────────────────────────── */
/* SINGLE POST & BLOG ARCHIVE STYLES                                         */
/* ────────────────────────────────────────────────────────────────────────── */

/* Single Post Hero */
.ja-main-post-single {
  background-color: #f8fafc;
  padding-bottom: 80px;
}

.ja-post-hero {
  background: #ffffff;
  padding: 40px 0 32px 0;
  border-bottom: 1px solid #e2e8f0;
}

.ja-post-breadcrumb {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ja-post-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.ja-post-breadcrumb .current {
  color: #1e293b;
  font-weight: 500;
}

.ja-post-cat-badge {
  display: inline-block;
  background-color: #fef2f2;
  color: var(--ja-red, #c83232);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ja-post-cat-badge:hover {
  background-color: #fee2e2;
}

.ja-post-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ja-dark, #183b56);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.ja-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 16px;
}

.ja-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ja-author-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.ja-author-info {
  display: flex;
  flex-direction: column;
}

.ja-author-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.ja-post-date {
  font-size: 13px;
  color: #64748b;
}

.ja-post-stats {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ja-read-time,
.ja-view-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.ja-view-count svg {
  color: #64748b;
}

/* 1440px Single Post Grid Layout */
.ja-post-layout-wrap {
  padding-top: 40px;
}

.ja-post-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.ja-post-main-col {
  min-width: 0;
}

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

/* Sidebar Widgets */
.ja-sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.ja-widget-cta {
  background: linear-gradient(135deg, #183b56 0%, #0f172a 100%);
  color: #ffffff;
  border: none;
}

.ja-widget-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.ja-widget-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  margin-bottom: 10px;
}

.ja-widget-cta .ja-widget-title {
  color: #ffffff;
}

.ja-widget-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.ja-widget-btn {
  display: block;
  text-align: center;
  background: var(--ja-red, #c83232);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ja-widget-btn:hover {
  background: #b02828;
}

/* Contact Form 7 Sidebar Styling */
.ja-widget-form .wpcf7 form p {
  margin-bottom: 12px;
}

.ja-widget-form .wpcf7 label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
  display: block;
}

.ja-widget-form .wpcf7 input[type="text"],
.ja-widget-form .wpcf7 input[type="email"],
.ja-widget-form .wpcf7 input[type="tel"],
.ja-widget-form .wpcf7 textarea,
.ja-widget-form .wpcf7 select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #f8fafc;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ja-widget-form .wpcf7 input[type="text"]:focus,
.ja-widget-form .wpcf7 input[type="email"]:focus,
.ja-widget-form .wpcf7 input[type="tel"]:focus,
.ja-widget-form .wpcf7 textarea:focus,
.ja-widget-form .wpcf7 select:focus {
  outline: none;
  border-color: #ef4444;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.ja-widget-form .wpcf7 input[type="submit"] {
  width: 100%;
  background: var(--ja-red, #c83232);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ja-widget-form .wpcf7 input[type="submit"]:hover {
  background: #b02828;
}

.ja-widget-heading {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.ja-widget-exp-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ja-widget-exp-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: center;
  transition: transform 0.2s ease;
}

.ja-widget-exp-item:hover {
  transform: translateX(4px);
}

.ja-widget-exp-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.ja-widget-exp-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ja-widget-exp-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ja-widget-exp-item:hover .ja-widget-exp-title {
  color: var(--ja-red, #c83232);
}

.ja-widget-exp-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--ja-red, #c83232);
}

.ja-widget-cats-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ja-widget-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.ja-widget-cat-item:hover {
  background: #f1f5f9;
  color: var(--ja-red, #c83232);
}

.ja-widget-cat-count {
  font-size: 11px;
  background: #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .ja-post-grid-layout {
    grid-template-columns: 1fr;
  }

  .ja-post-sidebar-col {
    position: static;
  }
}

/* Featured Image */
.ja-post-featured-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
  margin-bottom: 24px;
}

.ja-featured-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.ja-post-img-caption {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin-top: -14px;
  margin-bottom: 24px;
  font-style: italic;
}

/* Post Layout & Content */
.ja-post-article {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
}

.ja-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
}

.ja-post-content p {
  margin-bottom: 24px;
}

.ja-post-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ja-dark, #183b56);
  margin: 40px 0 18px 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.ja-post-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 14px 0;
  line-height: 1.35;
}

.ja-post-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 12px 0;
}

.ja-post-content blockquote {
  margin: 32px 0;
  padding: 24px 30px;
  background: #f8fafc;
  border-left: 4px solid var(--ja-red, #c83232);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: #1e293b;
}

.ja-post-content ul,
.ja-post-content ol {
  margin: 0 0 24px 24px;
}

.ja-post-content li {
  margin-bottom: 8px;
}

.ja-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

.ja-post-content figure {
  margin: 28px 0;
}

.ja-post-content figcaption {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin-top: 8px;
}

.ja-post-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 32px;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.ja-tags-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.ja-tag-item {
  display: inline-block;
  font-size: 13px;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ja-tag-item:hover {
  background: var(--ja-red, #c83232);
  color: #ffffff;
}

/* Author Box */
.ja-author-box {
  display: flex;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  margin-top: 40px;
  align-items: flex-start;
}

.ja-author-box-avatar {
  border-radius: 50%;
  flex-shrink: 0;
}

.ja-author-box-name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.ja-author-box-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 12px;
}

.ja-author-box-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ja-red, #c83232);
  text-decoration: none;
}

.ja-author-box-link:hover {
  text-decoration: underline;
}

/* Post Navigation */
.ja-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.ja-post-nav.ja-post-nav--has-one {
  grid-template-columns: minmax(0, 1fr);
}

.ja-post-nav-item {
  min-width: 0;
  width: 100%;
}

.ja-post-nav-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.ja-post-nav-item a:hover {
  border-color: var(--ja-red, #c83232);
  box-shadow: 0 4px 14px rgba(200, 50, 50, 0.08);
}

.ja-post-nav-next {
  text-align: right;
}

.ja-post-nav.ja-post-nav--has-one .ja-post-nav-next {
  text-align: left;
}

.nav-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.nav-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Related Posts Section */
.ja-related-posts-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #e2e8f0;
}

.ja-related-posts-header {
  text-align: center;
  margin-bottom: 40px;
}

.ja-related-eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--ja-red, #c83232);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ja-related-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--ja-dark, #183b56);
}

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

/* Archive & Grid */
.ja-archive-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 60px 0 40px 0;
  text-align: center;
}

.ja-archive-eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--ja-red, #c83232);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ja-archive-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--ja-dark, #183b56);
  margin-bottom: 12px;
}

.ja-archive-desc {
  font-size: 16px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.ja-archive-content {
  padding: 60px 0;
}

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

.ja-story-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.ja-story-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.ja-story-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}

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

.ja-story-card:hover .ja-story-card-img-wrap img {
  transform: scale(1.05);
}

.ja-story-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ja-red, #c83232);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

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

.ja-story-card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

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

.ja-story-card-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ja-story-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.ja-story-card-readmore {
  font-weight: 700;
  color: var(--ja-red, #c83232);
}

/* Pagination */
.ja-pagination-wrap {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.ja-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ja-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ja-pagination .page-numbers.current,
.ja-pagination .page-numbers:hover {
  background: var(--ja-red, #c83232);
  color: #ffffff;
  border-color: var(--ja-red, #c83232);
}

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

  .ja-post-title {
    font-size: 30px;
  }

  .ja-post-article {
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  .ja-post-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .ja-post-nav-next {
    text-align: left;
  }
}

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

  .ja-author-box {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .ja-post-article {
    padding: 24px 16px;
  }

  .ja-post-title {
    font-size: 24px;
    line-height: 1.3;
  }
}

/* ============================================================
   ARCHIVE & EXPERIENCES PAGINATION STYLES
   ============================================================ */
.ja-pagination-wrap {
  margin-top: 50px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ja-pagination-wrap .screen-reader-text {
  display: none !important;
}

.ja-pagination-wrap .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ja-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ja-pagination-wrap a.page-numbers:hover {
  background: var(--ja-red, #c83232);
  color: #ffffff;
  border-color: var(--ja-red, #c83232);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 50, 50, 0.25);
}

.ja-pagination-wrap .page-numbers.current {
  background: var(--ja-red, #c83232);
  color: #ffffff;
  border-color: var(--ja-red, #c83232);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(200, 50, 50, 0.2);
}

.ja-pagination-wrap .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  color: #94a3b8;
  padding: 0 6px;
  min-width: auto;
}

@media (max-width: 576px) {
  .ja-pagination-wrap .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ============================================================
   BLOCK: WHAT CAN BE CUSTOMIZED (CUSTOMIZATION OPTIONS)
   ============================================================ */
.ja-customization-options-section {
  background: var(--ja-bg-soft, #f8fafc);
}

.ja-customization-header {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.ja-customization-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.ja-customization-image-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 48px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ja-customization-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.ja-customization-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.ja-customization-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ja-customization-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.07);
}

.ja-customization-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--ja-red, #c83232);
  line-height: 1;
  flex-shrink: 0;
}

.ja-customization-cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ja-red, #c83232);
  margin-bottom: 4px;
}

.ja-customization-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.ja-customization-content p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

@media (max-width: 768px) {
  .ja-customization-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ja-customization-item {
    padding: 20px 22px;
  }
}

/* ============================================================
   BLOCK: PROCESS STEPS ("How Custom Tour Requests Work")
   ============================================================ */
.ja-process-steps-section {
  background: #ffffff;
}

.ja-process-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.ja-process-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.ja-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.ja-process-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.ja-process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  background: #ffffff;
}

.ja-process-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ja-process-badge {
  background: var(--ja-red, #c83232);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.ja-process-num {
  font-size: 24px;
  font-weight: 800;
  color: #cbd5e1;
}

.ja-process-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.35;
}

.ja-process-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

@media (max-width: 1024px) {
  .ja-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

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

/* ============================================================
   BLOCK: STANDALONE SECTION HEADER (Eyebrow + Title + Subtitle)
   ============================================================ */
.ja-standalone-section-header-wrap {
  width: 100%;
  box-sizing: border-box;
}

.ja-standalone-section-header-wrap .ja-container {
  width: 100%;
  max-width: 1440px;
  box-sizing: border-box;
}

.ja-standalone-section-header {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Icon layout modes */
.ja-standalone-section-header.ja-header-has-icon {
  display: flex;
  box-sizing: border-box;
}

.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-top {
  flex-direction: column;
  gap: 12px;
}

.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-top[style*="text-align: center"],
.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-top[style*="text-align:center"] {
  align-items: center;
}

.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-top[style*="text-align: left"],
.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-top[style*="text-align:left"] {
  align-items: flex-start;
}

.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-top[style*="text-align: right"],
.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-top[style*="text-align:right"] {
  align-items: flex-end;
}

.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-left {
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-left[style*="text-align: center"],
.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-left[style*="text-align:center"] {
  justify-content: center;
}

.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-left[style*="text-align: left"],
.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-left[style*="text-align:left"] {
  justify-content: flex-start;
}

.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-left[style*="text-align: right"],
.ja-standalone-section-header.ja-header-has-icon.ja-icon-pos-left[style*="text-align:right"] {
  justify-content: flex-end;
}

.ja-standalone-section-header .ja-header-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.ja-standalone-section-header.ja-icon-pos-left .ja-header-icon-wrap {
  margin-top: 4px;
}

.ja-standalone-section-header .ja-header-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.ja-standalone-section-header .ja-section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ja-red, #c83232);
  margin-bottom: 8px;
}

.ja-standalone-section-header .ja-section-heading {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: #1e293b;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
}

.ja-standalone-section-header .ja-section-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

@media (max-width: 768px) {
  .ja-standalone-section-header .ja-section-heading {
    font-size: 28px;
  }
  .ja-standalone-section-header .ja-section-subtitle {
    font-size: 14.5px;
  }
}

/* ==========================================================================
   Numbered Feature Grid Block Styles (Unified 2-in-1 Layouts)
   ========================================================================== */
.ja-numbered-grid-section {
  width: 100%;
}

/* Option 1: Connected Grid Container with Internal Dividers (Screenshot 1) */
.ja-bordered-grid-box {
  display: grid;
  grid-template-columns: repeat(var(--ja-cols, 2), 1fr);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.ja-bordered-grid-cell {
  padding: 32px 36px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

.ja-bordered-grid-cell:hover {
  background-color: #f8fafc;
}

@media (min-width: 768px) {
  .ja-bordered-grid-box[style*="--ja-cols: 1"] .ja-bordered-grid-cell,
  .ja-bordered-grid-box[style*="--ja-cols: 2"] .ja-bordered-grid-cell:nth-child(2n),
  .ja-bordered-grid-box[style*="--ja-cols: 3"] .ja-bordered-grid-cell:nth-child(3n),
  .ja-bordered-grid-box[style*="--ja-cols: 4"] .ja-bordered-grid-cell:nth-child(4n),
  .ja-bordered-grid-box[style*="--ja-cols: 5"] .ja-bordered-grid-cell:nth-child(5n),
  .ja-bordered-grid-box[style*="--ja-cols: 6"] .ja-bordered-grid-cell:nth-child(6n) {
    border-right: none;
  }

  .ja-bordered-grid-box[style*="--ja-cols: 1"] .ja-bordered-grid-cell:last-child,
  .ja-bordered-grid-box[style*="--ja-cols: 2"] .ja-bordered-grid-cell:nth-last-child(-n+2),
  .ja-bordered-grid-box[style*="--ja-cols: 3"] .ja-bordered-grid-cell:nth-last-child(-n+3),
  .ja-bordered-grid-box[style*="--ja-cols: 4"] .ja-bordered-grid-cell:nth-last-child(-n+4),
  .ja-bordered-grid-box[style*="--ja-cols: 5"] .ja-bordered-grid-cell:nth-last-child(-n+5),
  .ja-bordered-grid-box[style*="--ja-cols: 6"] .ja-bordered-grid-cell:nth-last-child(-n+6) {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .ja-bordered-grid-box {
    grid-template-columns: 1fr !important;
  }
  .ja-bordered-grid-cell {
    border-right: none !important;
    padding: 24px 20px;
  }
  .ja-bordered-grid-cell:last-child {
    border-bottom: none !important;
  }
}

/* Option 2: Standalone Cards Grid (Screenshot 2) */
.ja-separate-cards-grid {
  display: grid;
  grid-template-columns: repeat(var(--ja-cols, 3), 1fr);
  gap: 24px;
}

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

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

.ja-separate-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Shared Header & Typography */
.ja-numbered-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ja-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.ja-numbered-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ja-numbered-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px 0;
  color: #183b56;
}

.ja-numbered-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.ja-numbered-desc a {
  color: var(--ja-red, #c83232);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  word-break: break-word;
}

.ja-numbered-desc a:hover {
  color: #991b1b;
  text-decoration: underline;
}

/* Frequently Asked Questions Accordion Block */
.ja-container--narrow {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.ja-faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ja-faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ja-faq-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ja-faq-card.is-open {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ja-faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  min-height: 60px;
  box-sizing: border-box;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: background-color 0.2s ease;
}

.ja-faq-question-btn:hover {
  background-color: #f8fafc;
}

.ja-faq-question-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #1e293b;
  margin: 0 !important;
  padding: 0;
  padding-right: 16px;
  flex: 1;
  display: flex;
  align-items: center;
  align-self: center;
}

.ja-faq-toggle-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ja-faq-card.is-open .ja-faq-toggle-badge {
  background: #e2e8f0;
}

.ja-faq-badge-symbol {
  font-size: 18px;
  font-weight: 600;
  color: #475569;
  line-height: 1;
}

.ja-faq-answer-wrap {
  overflow: hidden;
  transition: all 0.25s ease-in-out;
}

.ja-faq-answer-inner {
  padding: 0 24px 22px 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
}

.ja-faq-answer-inner p {
  margin: 0 0 12px 0;
}

.ja-faq-answer-inner p:last-child {
  margin-bottom: 0;
}

/* Blog Archive Page & Performance Optimization */
.ja-main-archive {
  background-color: #f8fafc;
  padding-bottom: 60px;
}

.ja-archive-header {
  background: #ffffff;
  padding: 50px 0 35px 0;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
  margin-bottom: 40px;
}

.ja-archive-eyebrow {
  color: var(--ja-red, #c83232);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ja-archive-title {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 10px 0;
}

.ja-archive-desc {
  font-size: 15px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.ja-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.ja-story-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.ja-story-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

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

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

.ja-story-card:hover .ja-story-card-img-wrap img,
.ja-story-card:hover .ja-story-card-img {
  transform: scale(1.03);
}

.ja-story-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

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

.ja-story-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.ja-story-card-excerpt {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.ja-story-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.ja-story-card-readmore {
  color: var(--ja-red, #c83232);
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Block 15: Split Image & Feature List                                      */
/* -------------------------------------------------------------------------- */
.ja-split-media-grid {
  display: flex;
  align-items: center;
  gap: 48px;
}

.ja-split-media-grid.is-img-right {
  flex-direction: row-reverse;
}

.ja-split-media-col--img {
  flex: 0 0 48%;
  max-width: 48%;
}

.ja-split-media-col--content {
  flex: 1;
}

.ja-split-media-img-frame {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ja-split-media-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.ja-split-media-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ja-split-media-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.ja-split-media-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 24px 0;
}

.ja-split-media-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ja-split-media-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #334155;
}

.ja-split-media-check-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #d97706;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

@media (max-width: 991px) {
  .ja-split-media-grid {
    flex-direction: column !important;
    gap: 32px;
  }
  .ja-split-media-col--img {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Block 16: Horizontal Process Steps Flow                                    */
/* -------------------------------------------------------------------------- */
.ja-process-timeline-grid {
  display: grid;
  grid-template-columns: repeat(var(--ja-cols, 4), 1fr);
  gap: 36px 24px;
  position: relative;
  margin-top: 20px;
}

.ja-process-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.ja-process-step-header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ja-process-step-header::before,
.ja-process-step-header::after {
  display: none !important;
}

.ja-process-step-badge {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #c83232;
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px #ffffff, 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ja-process-step-item:hover .ja-process-step-badge {
  transform: scale(1.08);
  box-shadow: 0 0 0 6px #ffffff, 0 6px 16px rgba(200, 50, 50, 0.25);
}

.ja-process-step-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 10px 0;
  padding: 0 8px;
}

.ja-process-step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  padding: 0 4px;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 991px) {
  .ja-process-timeline-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 36px 24px;
  }
}

@media (max-width: 639px) {
  .ja-process-timeline-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  .ja-process-step-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .ja-process-step-header {
    width: auto;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .ja-process-step-header::before,
  .ja-process-step-header::after {
    display: none !important;
  }

  .ja-process-step-title {
    padding: 0;
    margin-top: 4px;
  }

  .ja-process-step-desc {
    padding: 0;
  }
}

/* ============================================================
   BLOCK 17: MEDIA CARDS GRID
   ============================================================ */
.ja-media-cards-section {
  width: 100%;
  box-sizing: border-box;
}

.ja-media-cards-grid {
  display: grid;
  grid-template-columns: repeat(var(--ja-cols, 4), 1fr);
  gap: 20px;
  width: 100%;
}

.ja-media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ja-media-card.is-clickable {
  cursor: pointer;
}

.ja-media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.ja-media-card-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  z-index: 2;
  position: relative;
}

.ja-media-card-text {
  flex: 1;
  min-width: 0;
}

.ja-media-card-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff !important;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ja-media-card-subtitle {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ja-media-card-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ja-media-card:hover .ja-media-card-arrow {
  background: rgba(255, 255, 255, 0.95);
  border-color: #ffffff;
  color: #0f172a;
  transform: translateX(2px);
}

@media (max-width: 1024px) {
  .ja-media-cards-grid {
    grid-template-columns: repeat(min(var(--ja-cols, 4), 2), 1fr);
    gap: 16px;
  }
}

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

/* ────────────────────────────────────────────────────────────────────────── */
/* NATIVE GUTENBERG BLOCK STYLES & RESPONSIVE CONTAINER PROTECTIONS           */
/* ────────────────────────────────────────────────────────────────────────── */

/* 1. Global Box-Sizing & Max-Width Protection for All Media & Embeds */
img, figure, iframe, video, object, embed, canvas, svg,
.wp-block-image, .wp-block-image img, .wp-block-embed, .wp-block-cover,
.wp-block-gallery, .wp-block-table, .wp-block-columns, .wp-block-column {
  max-width: 100%;
  box-sizing: border-box;
}

/* 2. Columns Block Layout & Flexbox Overflow Protection */
.wp-block-columns,
.gutenberg-content .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  box-sizing: border-box;
}

.wp-block-column,
.gutenberg-content .wp-block-column {
  flex: 1 1 0%;
  min-width: 0; /* Prevents flex items from overflowing parent container */
  max-width: 100%;
  box-sizing: border-box;
}

/* On mobile screens, stack columns cleanly */
@media (max-width: 768px) {
  .wp-block-columns,
  .gutenberg-content .wp-block-columns {
    flex-direction: column;
    gap: 16px;
  }
  .wp-block-column,
  .gutenberg-content .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }
}

/* 3. Native WordPress Default Blocks (Image, Gallery, Media-Text, Cover, Video, Buttons, Quote, Table) */
.wp-block-image,
figure.wp-block-image,
.gutenberg-content .wp-block-image,
.gutenberg-content figure.wp-block-image,
.gutenberg-content figure {
  margin-top: 24px;
  margin-bottom: 32px;
  width: 100% !important;
  max-width: 1376px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}

@media (max-width: 1440px) {
  .wp-block-image,
  figure.wp-block-image,
  .gutenberg-content .wp-block-image,
  .gutenberg-content figure.wp-block-image,
  .gutenberg-content figure {
    max-width: calc(100% - 64px) !important;
  }
}

@media (max-width: 1024px) {
  .wp-block-image,
  figure.wp-block-image,
  .gutenberg-content .wp-block-image,
  .gutenberg-content figure.wp-block-image,
  .gutenberg-content figure {
    max-width: calc(100% - 48px) !important;
  }
}

@media (max-width: 768px) {
  .wp-block-image,
  figure.wp-block-image,
  .gutenberg-content .wp-block-image,
  .gutenberg-content figure.wp-block-image,
  .gutenberg-content figure {
    max-width: calc(100% - 32px) !important;
  }
}

.wp-block-column .wp-block-image,
.wp-block-column figure.wp-block-image,
.wp-block-column figure {
  max-width: 100% !important;
  width: 100% !important;
}

.wp-block-image img,
figure.wp-block-image img,
.gutenberg-content .wp-block-image img,
.gutenberg-content figure img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--ja-radius, 8px);
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* Image Alignments */
.wp-block-image.aligncenter,
figure.wp-block-image.aligncenter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-image.aligncenter img,
figure.wp-block-image.aligncenter img {
  margin-left: auto;
  margin-right: auto;
}

.wp-block-image.alignleft,
figure.wp-block-image.alignleft {
  float: left;
  margin-right: 28px;
  margin-bottom: 20px;
  max-width: 50%;
}

.wp-block-image.alignright,
figure.wp-block-image.alignright {
  float: right;
  margin-left: 28px;
  margin-bottom: 20px;
  max-width: 50%;
}

/* Image Captions */
.wp-block-image figcaption,
.wp-element-caption,
figure.wp-block-image figcaption {
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  margin-top: 10px;
  text-align: center;
  font-style: normal;
  font-weight: 500;
}

/* Gallery Block */
.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
}

.wp-block-gallery .wp-block-image {
  margin: 0;
  flex: 1 1 calc(33.333% - 16px);
  min-width: 240px;
}

.wp-block-gallery .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Media & Text Block */
.wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wp-block-media-text__media img,
.wp-block-media-text__media video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .wp-block-media-text {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Cover Block */
.wp-block-cover,
.wp-block-cover-image {
  position: relative;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 32px;
  width: 100%;
  box-sizing: border-box;
}

.wp-block-cover .wp-block-cover__inner-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 32px;
  box-sizing: border-box;
}

/* Video & Embed Blocks */
.wp-block-video,
.wp-block-embed,
.wp-block-embed__wrapper {
  margin-top: 24px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.wp-block-embed iframe,
.wp-block-video video {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

/* Buttons Block */
.wp-block-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 28px;
}

.wp-block-button__link {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff !important;
  background-color: var(--ja-red, #c83232);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wp-block-button__link:hover {
  background-color: var(--ja-red-hover, #ab2828);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  border: 2px solid var(--ja-red, #c83232);
  color: var(--ja-red, #c83232) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--ja-red, #c83232) !important;
  color: #ffffff !important;
}

/* Quote & Pullquote Blocks */
.wp-block-quote,
blockquote {
  border-left: 4px solid var(--ja-red, #c83232);
  padding: 16px 24px;
  margin: 24px 0 32px 0;
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
}

.wp-block-quote p {
  font-size: 16px;
  font-style: italic;
  color: #334155;
  margin-bottom: 8px;
}

.wp-block-quote cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: #64748b;
}

/* Table Block */
.wp-block-table {
  width: 100%;
  margin-top: 24px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.wp-block-table th {
  background-color: #f8fafc;
  font-weight: 700;
  color: #1e293b;
}

/* 4. Alignwide & Alignfull Rules (Ensures 1440px Max Width Limits) */
.alignwide,
.gutenberg-content .alignwide {
  max-width: 1440px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.alignfull,
.gutenberg-content .alignfull {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 5. Comprehensive Gutenberg & Page Container Layout Engine (1440px Strict) */
.ja-main-page,
.ja-main-destination,
.ja-main-destinations-archive,
.ja-page-article,
.gutenberg-content,
.ja-destination-content,
.ja-destinations-page-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* All standard Gutenberg top-level children constrained to 1440px container */
.gutenberg-content > .wp-block-columns,
.gutenberg-content > .wp-block-group:not(.alignfull),
.gutenberg-content > .wp-block-cover:not(.alignfull),
.gutenberg-content > .wp-block-table,
.gutenberg-content > .wp-block-quote,
.gutenberg-content > p,
.gutenberg-content > h1,
.gutenberg-content > h2,
.gutenberg-content > h3,
.gutenberg-content > h4,
.gutenberg-content > h5,
.gutenberg-content > h6,
.gutenberg-content > ul,
.gutenberg-content > ol,
.gutenberg-content > blockquote,
.gutenberg-content > hr,
.ja-destination-content > .wp-block-columns,
.ja-destination-content > .wp-block-group:not(.alignfull),
.ja-destination-content > p,
.ja-destination-content > h1,
.ja-destination-content > h2,
.ja-destination-content > h3,
.ja-destination-content > ul,
.ja-destination-content > ol,
.ja-destinations-page-content > .wp-block-columns,
.ja-destinations-page-content > p,
.ja-destinations-page-content > h1,
.ja-destinations-page-content > h2,
.ja-destinations-page-content > h3 {
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .gutenberg-content > .wp-block-columns,
  .gutenberg-content > p,
  .gutenberg-content > h1,
  .gutenberg-content > h2,
  .gutenberg-content > h3,
  .gutenberg-content > ul,
  .gutenberg-content > ol,
  .ja-destination-content > .wp-block-columns,
  .ja-destination-content > p,
  .ja-destination-content > h1,
  .ja-destination-content > h2,
  .ja-destination-content > h3 {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .gutenberg-content > .wp-block-columns,
  .gutenberg-content > p,
  .gutenberg-content > h1,
  .gutenberg-content > h2,
  .gutenberg-content > h3,
  .gutenberg-content > ul,
  .gutenberg-content > ol,
  .ja-destination-content > .wp-block-columns,
  .ja-destination-content > p,
  .ja-destination-content > h1,
  .ja-destination-content > h2,
  .ja-destination-content > h3 {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Custom block section wrappers inside top-level take 100% width for full-bleed backgrounds */
.gutenberg-content > section,
.gutenberg-content > [class*="-block-section"],
.gutenberg-content > .ja-standalone-section-header-wrap,
.ja-destination-content > section,
.ja-destination-content > [class*="-block-section"],
.ja-destination-content > .ja-standalone-section-header-wrap {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* When custom section blocks (section header, image slider) are nested INSIDE a column */
.wp-block-column .ja-standalone-section-header-wrap,
.wp-block-column .ja-image-slider-section,
.wp-block-column [class*="-block-section"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

.wp-block-column .ja-standalone-section-header-wrap .ja-container,
.wp-block-column .ja-image-slider-section .ja-container,
.wp-block-column [class*="-block-section"] .ja-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Page Hero Banner Full Width Screen Breakout Rule */
.ja-page-hero,
.gutenberg-content > .ja-page-hero,
.ja-destination-content > .ja-page-hero,
.wp-block-japanawaits-page-hero-banner {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

.ja-page-hero .ja-container,
.ja-page-hero .ja-page-hero-inner {
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Core Block Container Wrapper (Wrapped automatically via render_block filter) */
.ja-core-block-container {
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Reset padding for core block containers nested inside columns, groups, or other containers */
.wp-block-column .ja-core-block-container,
.wp-block-group .ja-core-block-container,
.ja-container .ja-core-block-container,
.ja-core-block-container .ja-core-block-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (max-width: 1024px) {
  .ja-core-block-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 768px) {
  .ja-core-block-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.ja-core-block-container .wp-block-image,
.ja-core-block-container figure.wp-block-image,
.ja-core-block-container figure {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.ja-core-block-container img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--ja-radius, 8px);
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* -------------------------------------------------------------------------- */
/* Action Cards Grid Block (japanawaits/page-action-cards)                    */
/* -------------------------------------------------------------------------- */
.ja-action-cards-section {
  width: 100%;
  box-sizing: border-box;
}

.ja-action-cards-grid {
  display: grid;
  gap: 32px;
}

@media (max-width: 1024px) {
  .ja-action-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 640px) {
  .ja-action-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

.ja-action-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.ja-action-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .ja-action-card-img-wrap {
    height: 200px;
    border-radius: 18px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .ja-action-card-img-wrap {
    height: 180px;
    border-radius: 16px;
    padding: 16px;
  }
}

.ja-action-card:hover .ja-action-card-img-wrap {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.ja-action-card-img-wrap img,
.ja-action-card-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ja-action-card-body {
  padding: 20px 4px 0 4px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 640px) {
  .ja-action-card-body {
    padding-top: 14px;
  }
}

.ja-action-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.ja-action-card-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1.4;
}

.ja-action-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.ja-action-card-btn-wrap {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 480px) {
  .ja-action-card-btn-wrap {
    width: 100%;
  }
}

.ja-action-card-btn,
a.ja-action-card-btn,
div.ja-action-card-btn,
.ja-action-card-btn-wrap a,
.ja-action-card-btn-wrap div.ja-action-card-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 22px !important;
  background-color: #be3a2b;
  color: #ffffff !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 14px;
  line-height: 1.2 !important;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
}

@media (max-width: 480px) {
  .ja-action-card-btn,
  a.ja-action-card-btn,
  div.ja-action-card-btn {
    width: 100% !important;
    text-align: center !important;
  }
}

.ja-action-card-btn *,
.ja-action-card-btn [contenteditable],
.ja-action-card-btn div,
.ja-action-card-btn p,
.ja-action-card-btn span {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.ja-action-card-btn:hover,
a.ja-action-card-btn:hover,
div.ja-action-card-btn:hover {
  background-color: #a62f22 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
}

/* -------------------------------------------------------------------------- */
/* Career Single Page & Metadata Styling (3 Columns Layout)                   */
/* -------------------------------------------------------------------------- */
.page-child .entry-content,
.cs-content {
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Native WP Gutenberg Columns Block */
.wp-block-columns {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wp-block-columns .wp-block-column {
  flex: 1 1 0% !important;
  min-width: 180px !important;
  box-sizing: border-box !important;
}

.cs-content .x-section {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cs-content .x-container,
.ja-career-meta-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  width: 100% !important;
  margin-top: 24px !important;
  margin-bottom: 32px !important;
  box-sizing: border-box !important;
}

.cs-content .x-column.x-1-3,
.cs-content .x-column.x-sm.x-1-3,
.ja-career-meta-item {
  flex: 1 1 calc(33.333% - 14px) !important;
  min-width: 220px !important;
  background-color: #fff7ed !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  border: 1px solid #fed7aa !important;
  box-sizing: border-box !important;
  margin-bottom: 0 !important;
}

.cs-content .x-column.x-1-4,
.cs-content .x-column.x-sm.x-1-4 {
  flex: 1 1 calc(25% - 15px) !important;
  min-width: 180px !important;
  background-color: #fff7ed !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  border: 1px solid #fed7aa !important;
  box-sizing: border-box !important;
  margin-bottom: 0 !important;
}

.cs-content .x-column.x-1-1,
.cs-content .x-column.x-sm.x-1-1 {
  flex: 1 1 100% !important;
  width: 100% !important;
}

.cs-content .x-text p {
  margin: 0 !important;
}

.cs-content .x-column .x-text:first-child p,
.cs-content .x-column .x-text:first-child p span,
.ja-career-meta-item .ja-meta-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #9a3412 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 4px !important;
  display: block !important;
}

.cs-content .x-column .x-text:nth-child(2) p,
.cs-content .x-column .x-text:nth-child(2) p strong,
.cs-content .x-column .x-text:nth-child(2) p span,
.ja-career-meta-item .ja-meta-value {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  display: block !important;
}

.cs-content h1,
.cs-content h1 strong,
.cs-content h1 p {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-top: 12px !important;
  margin-bottom: 16px !important;
  line-height: 1.3 !important;
}

.cs-content h2,
.cs-content h2 strong,
.cs-content h2 p {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-top: 36px !important;
  margin-bottom: 14px !important;
}

.cs-content h3,
.cs-content h3 strong {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-top: 24px !important;
  margin-bottom: 10px !important;
}

.cs-content ul,
.cs-content ol {
  margin: 12px 0 24px 24px !important;
  padding: 0 !important;
}

.cs-content li {
  margin-bottom: 8px !important;
  line-height: 1.6 !important;
  color: #334155 !important;
}

.cs-content hr.x-line,
.cs-content hr {
  border: none !important;
  border-top: 1px solid #e2e8f0 !important;
  margin: 32px 0 !important;
}

.cs-content a.x-anchor,
.cs-content a.x-btn,
.wp-block-button__link,
.wp-block-button a,
a.wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 32px !important;
  background-color: #be3a2b !important;
  color: #ffffff !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  margin-top: 24px !important;
  margin-bottom: 40px !important;
  box-shadow: none !important;
  transition: opacity 0.2s ease, transform 0.15s ease !important;
  opacity: 1 !important;
}

.cs-content a.x-anchor:hover,
.cs-content a.x-btn:hover,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:active,
.wp-block-button a:hover,
.wp-block-button a:focus,
.wp-block-button a:active,
a.wp-block-button__link:hover,
a.wp-block-button__link:focus,
a.wp-block-button__link:active {
  background-color: #be3a2b !important;
  color: #ffffff !important;
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .cs-content .x-container,
  .ja-career-meta-grid {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .cs-content .x-column.x-1-3,
  .cs-content .x-column.x-sm.x-1-3,
  .cs-content .x-column.x-1-4,
  .cs-content .x-column.x-sm.x-1-4,
  .ja-career-meta-item {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Included & Excluded List (Icon List Columns) Block                         */
/* -------------------------------------------------------------------------- */
.ja-inc-exc-section {
  width: 100%;
  box-sizing: border-box;
}

.ja-inc-exc-grid,
.ja-inclusions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ja-col-gap, 36px);
  width: 100%;
  box-sizing: border-box;
}

.ja-inc-exc-col,
.ja-inclusions-col {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ja-inc-exc-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 18px 0;
  line-height: 1.3;
}

.ja-inc-exc-col-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1em;
  line-height: 1;
}

.ja-inc-exc-col-title {
  font-weight: 700;
}

ul.ja-inc-exc-list,
.cs-content ul.ja-inc-exc-list,
.entry-content ul.ja-inc-exc-list,
.page-child .entry-content ul.ja-inc-exc-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

li.ja-inc-exc-item,
.cs-content li.ja-inc-exc-item,
.entry-content li.ja-inc-exc-item,
.page-child .entry-content li.ja-inc-exc-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  list-style: none !important;
  list-style-type: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  margin-bottom: 12px !important;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

li.ja-inc-exc-item::before,
.cs-content li.ja-inc-exc-item::before,
.entry-content li.ja-inc-exc-item::before,
.page-child .entry-content li.ja-inc-exc-item::before {
  content: none !important;
  display: none !important;
}

.ja-inc-exc-bullet {
  display: inline-block;
  font-size: 1.2em;
  line-height: 1.2;
  user-select: none;
  flex-shrink: 0;
}

.ja-inc-exc-item-text {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .ja-inc-exc-grid,
  .ja-inclusions-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* ==========================================================================
   BOKUN MULTI-TAB BOOKING WIDGET
   ========================================================================== */
.ja-bokun-multi-section {
  width: 100%;
  box-sizing: border-box;
}

.ja-bokun-multi-container {
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.ja-bokun-desc {
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Stack of Tab Cards */
.ja-bokun-tabs-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

.ja-bokun-tab-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 14px 20px !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  user-select: none !important;
}

.ja-bokun-tab-card:hover {
  border-color: #94a3b8 !important;
  background-color: #f8fafc !important;
}

/* Active Tab Card State */
.ja-bokun-tab-card.active {
  border: 2px solid #be3a2b !important;
  background-color: #fffbfb !important;
  box-shadow: 0 4px 12px rgba(190, 58, 43, 0.12) !important;
}

.ja-bokun-tab-card-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.ja-bokun-tab-badge {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

.ja-bokun-tab-card.active .ja-bokun-tab-badge {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

.ja-bokun-tab-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
}

.ja-bokun-tab-card-right {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 12px !important;
}

/* Icons toggle */
.ja-bokun-tab-icon {
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1 !important;
}

.ja-bokun-tab-icon.ja-icon-check {
  display: none !important;
  color: #be3a2b !important;
  font-size: 18px !important;
}

.ja-bokun-tab-icon.ja-icon-arrow {
  display: inline-block !important;
  color: #94a3b8 !important;
}

.ja-bokun-tab-card.active .ja-icon-check {
  display: inline-block !important;
}

.ja-bokun-tab-card.active .ja-icon-arrow {
  display: none !important;
}

/* Status Box Below Cards */
.ja-bokun-selected-info {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  margin-bottom: 24px !important;
}

.ja-bokun-selected-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ja-bokun-selected-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

/* Embed Panels Wrap */
.ja-bokun-panels-wrap {
  position: relative;
  width: 100%;
  min-height: 250px;
}

.ja-bokun-panel {
  width: 100%;
  transition: opacity 0.25s ease-in-out;
}

.ja-bokun-panel.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  position: relative !important;
  pointer-events: auto !important;
}

.ja-bokun-panel:not(.active) {
  opacity: 0 !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  top: 0;
  left: 0;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .ja-bokun-tab-card {
    padding: 12px 14px;
  }
  .ja-bokun-tab-card-left {
    gap: 10px;
  }
  .ja-bokun-tab-badge {
    font-size: 10px;
    padding: 4px 8px;
  }
  .ja-bokun-tab-title {
    font-size: 14px;
  }
}
/* ==========================================================================
   SCHEDULE / ITINERARY TIMELINE BLOCK
   ========================================================================== */
.ja-schedule-timeline-section {
  width: 100%;
  box-sizing: border-box;
}

.ja-schedule-timeline {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 16px;
}
/* ────────────────────────────────────────────────────────────────────────── */
/* EXPERIENCE SINGLE PAGE LAYOUT WRAPPER RESPONSIVE GRID                     */
/* ────────────────────────────────────────────────────────────────────────── */
.ja-exp-layout-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

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

.ja-exp-sidebar-col {
  min-width: 0;
  width: 100%;
}

/* Laptop / Medium Desktop Breakpoint (1025px - 1280px) */
@media (max-width: 1280px) {
  .ja-exp-layout-wrapper {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
  }
}

/* Tablet Breakpoint (769px - 1024px) */
@media (max-width: 1024px) {
  .ja-exp-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ja-exp-sidebar-col {
    margin-top: 10px;
  }
}

/* Mobile Breakpoint (<= 768px) */
@media (max-width: 768px) {
  .ja-exp-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ────────────────────────────────────────────────────────────────────────── */
/* TOUR SCHEDULE / ITINERARY TIMELINE BLOCK RESPONSIVE STYLES                 */
/* ────────────────────────────────────────────────────────────────────────── */
.ja-schedule-timeline-section {
  width: 100%;
  box-sizing: border-box;
}

.ja-schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.ja-schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid #f1f5f9;
  width: 100%;
  box-sizing: border-box;
}

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

.ja-schedule-time {
  width: 110px;
  flex-shrink: 0;
  color: #c83232;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  padding-top: 2px;
}

.ja-schedule-content {
  flex: 1;
  min-width: 0;
}

.ja-schedule-title {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.ja-schedule-desc {
  margin: 0;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  word-break: break-word;
}

.ja-schedule-desc p {
  margin: 0 0 8px 0;
}

.ja-schedule-desc p:last-child {
  margin-bottom: 0;
}

.ja-schedule-desc a {
  color: #c83232;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s ease;
}

.ja-schedule-desc a:hover {
  color: #991b1b;
}

/* Responsive Breakpoints for Schedule Timeline */
@media (max-width: 1024px) {
  .ja-schedule-item {
    gap: 20px;
    padding: 16px 0;
  }
  .ja-schedule-time {
    width: 95px;
    font-size: 14.5px;
  }
}

@media (max-width: 640px) {
  .ja-schedule-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0;
  }
  .ja-schedule-time {
    width: 100%;
    font-size: 14px;
    color: #c83232;
    font-weight: 800;
    margin-bottom: 2px;
  }
  .ja-schedule-title {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .ja-schedule-desc {
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .ja-schedule-item {
    padding: 12px 0;
  }
}

/* ────────────────────────────────────────────────────────────────────────── */
/* POLICY & DETAILS TABLE BLOCK (BẢNG THÔNG TIN & CHÍNH SÁCH)                 */
/* ────────────────────────────────────────────────────────────────────────── */
.ja-details-table-section {
  width: 100%;
  box-sizing: border-box;
}

.ja-details-table-card {
  width: 100%;
  box-sizing: border-box;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.ja-details-table-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ja-details-table-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
  width: 100%;
}

.ja-details-table-row:first-child {
  padding-top: 0;
}

.ja-details-table-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.ja-details-table-label {
  font-weight: 700;
  color: #0f2942;
  line-height: 1.45;
  box-sizing: border-box;
  word-break: break-word;
}

.ja-details-table-content {
  flex: 1;
  min-width: 0;
  color: #475569;
  line-height: 1.65;
  word-break: break-word;
}

.ja-details-table-content strong,
.ja-details-table-content b {
  color: #0f2942;
  font-weight: 700;
}

.ja-details-table-content p {
  margin: 0 0 10px 0;
}

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

.ja-details-table-content ul,
.ja-details-table-content ol {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.ja-details-table-content ul {
  list-style: disc;
}

.ja-details-table-content ol {
  list-style: decimal;
}

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

.ja-details-table-content li:last-child {
  margin-bottom: 0;
}

.ja-details-table-content a {
  color: #c83232;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s ease;
}

.ja-details-table-content a:hover {
  color: #991b1b;
}

/* Tablet & Mobile Breakpoints for Policy & Details Table */
@media (max-width: 768px) {
  .ja-details-table-card {
    padding: 22px 18px;
    border-radius: 12px;
  }

  .ja-details-table-row {
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
  }

  .ja-details-table-label {
    width: 100% !important;
    flex: none !important;
  }

  .ja-details-table-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ja-details-table-card {
    padding: 18px 14px;
  }

  .ja-details-table-row {
    padding: 14px 0;
  }
}












