/* ==============================================
   SJ – Contact Page
   Shortcode: [sj_contact_page]
   ============================================== */

.sj-contact{
  padding: 60px 16px 70px;
  background: radial-gradient(circle at top, #ffe7b0 0, #fff5d7 18%, #ffffff 52%, #ffffff 100%);
}

.sj-contact__head{
  max-width: 1180px;
  margin: 0 auto 18px;
  text-align: center;
}

.sj-contact__brand{
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7b6b4b;
  margin-bottom: 8px;
}

.sj-contact__title{
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: linear-gradient(70deg, #c27a21, #f0b941);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.sj-contact__subtitle{
  margin: 0;
  font-size: 13px;
  color: #7b6b4b;
}

.sj-contact__grid{
  max-width: 1180px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 18px;
}

.sj-contact-card{
  background: #fff;
  border-radius: 24px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.75);
}

.sj-contact-card__kicker{
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #aa9872;
  margin-bottom: 10px;
}

.sj-contact-line{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #faf7f0;
  border: 1px solid #f0e1c5;
  border-radius: 16px;
  margin-bottom: 10px;
}

.sj-contact-line__label{
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9c8465;
  flex: 0 0 auto;
}

.sj-contact-line__value{
  font-weight: 700;
  color: #24170d;
  text-decoration: none;
}
.sj-contact-line__value:hover{ text-decoration: underline; }

.sj-contact-qr-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.sj-contact-qr{
  background: #faf7f0;
  border: 1px solid #f0e1c5;
  border-radius: 18px;
  padding: 10px;
  text-align: center;
}

.sj-contact-qr img{
  width: 100%;
  height: 130px;
  object-fit: contain;
  display: block;
}

.sj-contact-qr__label{
  margin-top: 6px;
  font-size: 11px;
  color: #7b6b4b;
  font-weight: 700;
}

/* CF7 form styling */
.sj-contact-form .wpcf7 form{
  margin: 0;
}
.sj-contact-form .wpcf7 input[type="text"],
.sj-contact-form .wpcf7 input[type="email"],
.sj-contact-form .wpcf7 input[type="tel"],
.sj-contact-form .wpcf7 textarea,
.sj-contact-form .wpcf7 select{
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e3d5be;
  padding: 10px 12px;
  font-size: 13px;
  background: #fff;
  outline: none;
  margin-top: 6px;
}

.sj-contact-form .wpcf7 textarea{ min-height: 140px; resize: vertical; }

.sj-contact-form .wpcf7 input:focus,
.sj-contact-form .wpcf7 textarea:focus,
.sj-contact-form .wpcf7 select:focus{
  border-color: #f0b941;
  box-shadow: 0 0 0 1px rgba(240,185,65,.3);
}

.sj-contact-form .wpcf7 input[type="submit"]{
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(70deg, #ffa269, #f0b941);
  color: #2a1e10;
  box-shadow: 0 8px 22px rgba(227, 162, 76, 0.55);
}

.sj-contact-form .wpcf7 input[type="submit"]:hover{
  filter: brightness(1.03);
}

.sj-contact-form .wpcf7 .wpcf7-response-output{
  border-radius: 16px;
  border-color: #f0e1c5;
  margin: 12px 0 0;
}

/* Responsive */
@media (max-width: 900px){
  .sj-contact__grid{
    grid-template-columns: 1fr;
  }
  .sj-contact-qr-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 520px){
  .sj-contact-qr-grid{
    grid-template-columns: 1fr;
  }
}
/* CF7 layout helpers used in the form template */
.sj-cf7-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.sj-cf7-field label{
  display:block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #aa9872;
  margin-bottom: 2px;
}
.sj-cf7-field--full{ grid-column: 1 / -1; }
.sj-cf7-actions{ grid-column: 1 / -1; margin-top: 4px; }

@media (max-width: 900px){
  .sj-cf7-grid{ grid-template-columns: 1fr; }
}

/* ==============================================
   SJ – Archive Styling v1.0
   Applies to: [sj_tour_archive], [sj_transfer_archive],
               [sj_destination_archive]
   ============================================== */

/* Page background 
.sj-archive {
    padding: 60px 16px 64px;
    background: radial-gradient(circle at top, #ffe7b0 0, #fff5d7 18%, #ffffff 52%, #ffffff 100%);
}
*/
/* Inner "card" panel */
.sj-archive__head,
.sj-archive__results {
    max-width: 1180px;
    margin: 0 auto;
}

.sj-archive__head {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 26px 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

/* Title + subtitle */
.sj-archive__head-main {
    margin-bottom: 12px;
}

.sj-archive__title {
    margin: 0 0 4px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(70deg, #c27a21, #f0b941);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sj-archive__subtitle {
    margin: 0;
    color: #7b6b4b;
    font-size: 13px;
    text-align: center;
}

/* Filter bar – white pill similar to transfer search */
.sj-archive__filters {
    margin-top: 16px;
}

.sj-archive__filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: flex-end;
    background: #faf7f0;
    border-radius: 999px;
    padding: 10px 12px;
    border: 1px solid #f0e1c5;
}

.sj-archive__field {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.sj-archive__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #aa9872;
    margin-bottom: 2px;
}

.sj-archive__field input,
.sj-archive__field select {
    border-radius: 999px;
    border: 1px solid #e3d5be;
    padding: 6px 12px;
    font-size: 13px;
    background: #ffffff;
    min-height: 32px;
}

.sj-archive__field input:focus,
.sj-archive__field select:focus {
    outline: none;
    border-color: #f0b941;
    box-shadow: 0 0 0 1px rgba(240, 185, 65, 0.3);
}

.sj-archive__actions {
    margin-left: auto;
}

/* Modern search UX (typeahead, clear, swap) */
.sj-search-field{
    position: relative;
}
.sj-search-input{
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.sj-search-input:before{
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237a5323'><path d='M12 2c3.86 0 7 3.14 7 7 0 5.25-7 13-7 13S5 14.25 5 9c0-3.86 3.14-7 7-7zm0 9.5c1.38 0 2.5-1.12 2.5-2.5S13.38 6.5 12 6.5 9.5 7.62 9.5 9s1.12 2.5 2.5 2.5z'/></svg>") no-repeat center / contain;
    opacity: 0.7;
}
.sj-search-input input[type="text"]{
    padding-left: 38px;
}
.sj-search-input input{
    width: 100%;
    padding-right: 34px;
}
.sj-search-clear{
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(190, 140, 60, 0.5);
    background: #fffaf0;
    color: #7a5323;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    visibility: hidden;
}
.sj-search-clear:focus{
    outline: none;
    box-shadow: 0 0 0 2px rgba(240, 185, 65, 0.3);
}
.sj-search-swap{
    align-self: flex-end;
    border: 1px solid rgba(190, 140, 60, 0.5);
    background: #fffaf0;
    color: #7a5323;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 16px;
    letter-spacing: 0;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.sj-search-swap:hover{
    border-color: #f0b941;
}
.sj-search-suggest{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    background: #fffdf8;
    border: 1px solid rgba(190, 140, 60, 0.45);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.14);
    padding: 10px;
    z-index: 20;
    display: none;
    max-height: 260px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sj-search-suggest::-webkit-scrollbar{
    width: 0;
    height: 0;
}
.sj-search-suggest:after{
    content: "";
    position: sticky;
    bottom: 0;
    display: block;
    height: 28px;
    background: linear-gradient(to bottom, rgba(255,253,248,0), rgba(255,253,248,0.95));
    pointer-events: none;
}
.sj-search-suggest.is-open{
    display: block;
}
.sj-suggest-group{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 6px 8px;
}
.sj-suggest-title{
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #8c6232;
    margin-bottom: 4px;
    flex: 0 0 100%;
}
.sj-suggest-item{
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    text-align: left;
    border: 1px solid rgba(190, 140, 60, 0.45);
    background: #fffaf0;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    color: #5a3510;
    font-size: 13px;
    line-height: 1.1;
    white-space: normal;
}
.sj-suggest-item:hover,
.sj-suggest-item.is-active{
    background: #ffe9c7;
    border-color: #e9a52f;
}

.sj-suggest-group:nth-of-type(1) .sj-suggest-item{
    background: #fbe9c9;
    border-color: #e9c98b;
}
.sj-suggest-group:nth-of-type(2) .sj-suggest-item{
    background: #fffdf8;
    border-style: solid;
}
.sj-suggest-group:nth-of-type(3) .sj-suggest-item{
    background: #fffdf8;
    border-style: dashed;
    border-color: rgba(190, 140, 60, 0.45);
}

@media (max-width: 720px){
    .sj-search-swap{
        width: 100%;
    }
    .sj-search-suggest{
        position: static;
        margin-top: 8px;
    }
}

/* Match transfer bar styling for search controls */
.sj-transfer-bar-form .sj-search-clear{
    border-color: rgba(190, 140, 60, 0.5);
    background: #fffaf0;
    color: #7a5323;
}
.sj-transfer-bar-form .sj-search-swap{
    border-color: rgba(190, 140, 60, 0.5);
    background: #fffaf0;
    color: #7a5323;
    height: 40px;
}

/* Subtle scrollbar for dropdown */
.sj-search-suggest::-webkit-scrollbar{
    width: 10px;
}
.sj-search-suggest::-webkit-scrollbar-track{
    background: #fff6e8;
    border-radius: 999px;
}
.sj-search-suggest::-webkit-scrollbar-thumb{
    background: #e9c98b;
    border-radius: 999px;
}

/* Primary gold button */
.sj-archive__btn {
    border: none;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
}

.sj-archive__btn--primary {
    background: linear-gradient(70deg, #ffa269, #f0b941);
    color: #2a1e10;
    box-shadow: 0 8px 22px rgba(227, 162, 76, 0.55);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.sj-archive__btn--primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 12px 28px rgba(227, 162, 76, 0.7);
}

/* Results wrapper */
.sj-archive__results {
    margin-top: 10px;
}

/* Empty state */
.sj-archive__empty {
    max-width: 1180px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 22px;
    text-align: center;
    color: #7d7565;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* -----------------------------
   Tour cards – same language as homepage cards
   ----------------------------- */

.sj-tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.sj-tour-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sj-tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.sj-tour-card-thumb img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.sj-tour-card-body {
    padding: 10px 14px 12px;
}

/* mini top line – badge + location */
.sj-tour-card-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.sj-tour-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    background: #171216;
    color: #f3d7a4;
}

.sj-tour-location {
    font-size: 11px;
    color: #9c8465;
}

.sj-tour-title {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 600;
    color: #22160b;
}

.sj-tour-subtitle {
    margin: 0 0 8px;
    font-size: 12px;
    color: #7b6b4b;
}

.sj-tour-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    color: #84745a;
}

.sj-tour-meta-item {
    display: flex;
    flex-direction: column;
}

.sj-tour-meta-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 9px;
    color: #b3a48a;
    margin-bottom: 1px;
}

.sj-tour-meta-value {
    font-weight: 600;
}

/* -----------------------------
   Transfer list – slim tickets
   ----------------------------- */

.sj-transfer-list {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sj-transfer-card {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 14px;
    text-decoration: none;
    background: #ffffff;
    border-radius: 18px;
    padding: 10px 14px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.sj-transfer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.sj-transfer-card__main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sj-transfer-card__thumb img {
    width: 90px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
}

.sj-transfer-card__text {
    display: flex;
    flex-direction: column;
}

.sj-transfer-card__title {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 600;
    color: #24170d;
}

.sj-transfer-card__meta {
    margin: 0;
    font-size: 12px;
    color: #857459;
}

.sj-transfer-card__side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
}

.sj-transfer-card__price {
    font-size: 11px;
    color: #7d6c50;
}

.sj-transfer-card__price span {
    font-weight: 700;
    margin-left: 4px;
}

.sj-transfer-card__arrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #b48d4b;
}

/* -----------------------------
   Destination cards
   ----------------------------- */

.sj-destination-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.sj-destination-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sj-destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.sj-destination-card__thumb {
    position: relative;
}

.sj-destination-card__thumb img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.sj-destination-badge {
    position: absolute;
    right: 12px;
    bottom: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    background: #191116;
    color: #f7d8a5;
}

.sj-destination-card__body {
    padding: 10px 14px 14px;
}

.sj-destination-card__title {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 600;
    color: #22170c;
}

.sj-destination-card__subtitle {
    margin: 0 0 6px;
    font-size: 12px;
    color: #867457;
}

.sj-destination-card__excerpt {
    margin: 0;
    font-size: 12px;
    color: #776b5a;
}

/* Pagination */
.sj-archive__pagination {
    max-width: 1180px;
    margin: 22px auto 0;
}

.sj-archive__pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.sj-archive__pagination a,
.sj-archive__pagination span {
    display: inline-block;
    min-width: 32px;
    text-align: center;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid #e5d4b2;
    text-decoration: none;
    color: #4c3a24;
    background: #ffffff;
}

.sj-archive__pagination .current {
    background: linear-gradient(70deg, #ffa269, #f0b941);
    border-color: #d29a3c;
    color: #20140a;
    font-weight: 600;
}

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

@media (max-width: 900px) {
    .sj-archive__head {
        padding: 20px 16px 16px;
        border-radius: 20px;
    }

    .sj-archive__filters-row {
        flex-direction: column;
        align-items: stretch;
        border-radius: 18px;
    }

    .sj-archive__actions {
        margin-left: 0;
    }

    .sj-transfer-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .sj-transfer-card__side {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .sj-archive {
        padding-top: 40px;
    }

    .sj-archive__title {
        font-size: 20px;
    }

    .sj-tour-card-thumb img,
    .sj-destination-card__thumb img {
        height: 160px;
    }
}
/* ===== SJ Tour Archive – visibility upgrades ===== */

/* Slightly stronger card separation + better text contrast */
.sj-tour-card {
    border: 1px solid rgba(255, 205, 140, 0.35);
}

.sj-tour-title {
    color: #1f140a;
    letter-spacing: 0.01em;
}

.sj-tour-subtitle {
    color: #6f5e44;
}

/* Thumbnail: ensure it always looks good even if image is dark */
.sj-tour-card-thumb {
    position: relative;
}

.sj-tour-card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,0.20));
    pointer-events: none;
}

/* Featured badge = more premium */
.sj-tour-badge {
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
}

/* Price pill (new) */
.sj-tour-price-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff3d7;
    border: 1px solid rgba(240,185,65,0.45);
    color: #4a3116;
    font-size: 12px;
}

.sj-tour-price-pill strong {
    font-weight: 700;
}

/* Meta row: a little tighter and clearer */
.sj-tour-meta {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(227, 213, 190, 0.65);
}

/* ===============================
   SJ – Footer Contact (FINAL POLISH)
   =============================== */

.sj-footer-contact{
  position: relative;
  padding: 40px 5vw 28px; /* reduced top/bottom */
  color: #fff7e8;
  background:
    url("/wp-content/uploads/2025/12/38-scaled.jpg") center/cover no-repeat,
    radial-gradient(circle at top, rgba(255,200,120,0.26), transparent 56%),
    linear-gradient(135deg, #05030a 0%, #100916 50%, #05030a 100%);
  overflow: hidden;
  font-family: "Afacad", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* soft glow overlay */
.sj-footer-contact__overlay{
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 0 100%, rgba(255,215,140,0.32), transparent 62%),
    radial-gradient(circle at 100% 0, rgba(255,215,140,0.24), transparent 60%);
  pointer-events: none;
}

/* temple image (the low-res "vector") */
.sj-footer-contact__temple{
  position: absolute;
  top: 22px;                /* tighter */
  left: 50%;
  transform: translateX(-590px); /* aligns with inner left edge (1180/2 = 590) */
  width: 420px;
  max-width: 46vw;
  height: auto;
  opacity: 0.96;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
  pointer-events: none;
  user-select: none;
}

/* main layout */
.sj-footer-contact__inner{
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 70px;
  align-items: center; /* visually centers blocks like your mock */
  justify-content: space-between;
}

/* LEFT */
.sj-footer-contact__left{
  max-width: 560px;
  padding-top: 70px; /* creates breathing room under temple */
}

.sj-footer-contact__brand{
  font-size: 50px;           /* bigger to fit big footer */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #ffe6a8;
  text-shadow: 0 10px 26px rgba(0,0,0,.45);
}

.sj-footer-contact__tagline{
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 800;
  color: #f6d99e;
  opacity: .95;
}

.sj-footer-contact__lines{
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.sj-footer-contact__line{
  font-size: 18px;
  line-height: 1.35;
}

.sj-footer-contact__label{
  font-weight: 700;
  color: #ffd37b;
  margin-right: 10px;
}

.sj-footer-contact__value,
.sj-footer-contact__value a{
  color: #ffffff;
  text-decoration: none;
}

.sj-footer-contact__value a:hover{
  text-decoration: underline;
}

/* button */
.sj-footer-contact__btn-wrap{
  margin-top: 8px;
}

.sj-footer-contact__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffde9a, #f8c15a);
  color: #4a2500;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.sj-footer-contact__btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(0,0,0,.65);
}

/* RIGHT (vertical QR stack) */
.sj-footer-contact__right{
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-end; /* keeps stack toward the right */
  min-width: 420px;
}

/* Each QR row: ICON (left) + QR (center) + LABEL (right) */
.sj-footer-contact__qr{
  display: grid;
  grid-template-columns: 56px 138px auto;
  align-items: center;
  column-gap: 16px;
  width: 100%;
  justify-items: start;
}

/* icon circle (uses low-res icons as background images) */
.sj-footer-contact__qr-icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,222,176,.55);
  background: rgba(0,0,0,.28);
  box-shadow: 0 10px 22px rgba(0,0,0,.45);
  display: block;
  position: relative;
}

/* Put the provided low-res icons INSIDE the circle */
.sj-footer-contact__qr-icon::after{
  content: "";
  position: absolute;
  inset: 9px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
  opacity: .95;
}

.sj-footer-contact__qr-icon--whatsapp::after{ background-image: url("/wp-content/uploads/2025/12/Asset-2wa.png"); }
.sj-footer-contact__qr-icon--line::after    { background-image: url("/wp-content/uploads/2025/12/line.png"); }
.sj-footer-contact__qr-icon--facebook::after{ background-image: url("/wp-content/uploads/2025/12/Asset-1f.png"); }

/* QR square */
.sj-footer-contact__qr-image{
  width: 128px;
  height: 128px;
  padding: 8px;
  border-radius: 18px;
  background: radial-gradient(circle at 10% 0, #fff8e4, #f9d77f);
  box-shadow: 0 10px 26px rgba(0,0,0,.55);
}

.sj-footer-contact__qr-image img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* label to the RIGHT of the QR (not below) */
.sj-footer-contact__qr-label{
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #ffe6b5;
  padding-left: 4px;
  white-space: nowrap;
  text-shadow: 0 10px 22px rgba(0,0,0,.45);
}

/* bottom strip */
.sj-footer-contact__bottom{
  position: relative;
  max-width: 1180px;
  margin: 22px auto 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,234,180,.22);
  text-align: center; /* looks better with this wide footer */
}

.sj-footer-contact__copyright{
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255, 230, 170, .55);
}

/* ===== Responsive ===== */

@media (max-width: 1100px){
  .sj-footer-contact__temple{
    left: 24px;
    transform: none; /* stop the "1180 math" */
  }
  .sj-footer-contact__inner{
    gap: 44px;
  }
  .sj-footer-contact__right{
    min-width: 360px;
  }
}

@media (max-width: 960px){
  .sj-footer-contact{
    padding: 36px 24px 28px;
  }
  .sj-footer-contact__inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .sj-footer-contact__left{
    max-width: 680px;
    padding-top: 92px;
  }
  .sj-footer-contact__right{
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }
  .sj-footer-contact__qr{
    grid-template-columns: 56px 138px auto;
  }
}

@media (max-width: 640px){
  .sj-footer-contact__brand{
    font-size: 34px;
  }
  .sj-footer-contact__temple{
    width: 320px;
    top: 16px;
  }
  .sj-footer-contact__left{
    padding-top: 78px;
  }
  .sj-footer-contact__qr{
    grid-template-columns: 52px 124px auto;
    column-gap: 12px;
  }
  .sj-footer-contact__qr-image{
    width: 116px;
    height: 116px;
  }
}
/* === SJ – Travel Asia section ========================= */

.sj-travel-asia {
    padding: 80px 16px 70px;
    background: radial-gradient(circle at top, #fff4d6 0, #ffe3a8 28%, #f7d57f 55%, #f2b960 100%);
}

.sj-travel-asia-inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.sj-travel-asia-heading {
    margin-bottom: 32px;
}

.sj-travel-asia-title {
    font-family: "Afacad", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 28px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3a220b;
    margin: 0 0 6px;
}

.sj-travel-asia-subtitle {
    font-size: 14px;
    color: rgba(40, 24, 9, 0.8);
    max-width: 520px;
    margin: 0 auto;
}

/* Grid */
.sj-travel-asia-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
    margin-top: 24px;
}

.sj-travel-asia-card {
    text-align: left;
    color: #25160a;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sj-travel-asia-text h3.sj-travel-asia-country {
    font-family: "Afacad", system-ui, sans-serif;
    font-size: 20px;
    margin: 0 0 4px;
    color: #271309;
}

.sj-travel-asia-tagline {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 6px;
    color: rgba(39, 19, 9, 0.8);
}

.sj-travel-asia-summary {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* Images */
.sj-travel-asia-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.75);
}

/* Middle image: circular like the original */
.sj-travel-asia-image-wrap--round {
    aspect-ratio: 1 / 1;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.sj-travel-asia-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}

/* Footer button */
.sj-travel-asia-footer {
    margin-top: 36px;
}

.sj-travel-asia-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f9e0a9, #f7c05e);
    color: #3a240d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sj-travel-asia-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #ffeac4, #f7c55f);
}

.sj-travel-asia-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

/* Responsive */
@media (max-width: 960px) {
    .sj-travel-asia {
        padding: 60px 14px 56px;
    }

    .sj-travel-asia-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .sj-travel-asia-card {
        text-align: center;
        align-items: center;
    }

    .sj-travel-asia-text {
        max-width: 420px;
    }

    .sj-travel-asia-image-wrap {
        max-width: 320px;
    }
}
/* ===============================
   SAWASDEE – Stats strip
   =============================== */

.sj-stats {
  position: relative;
  z-index: 3;
  padding: 28px 20px 32px;
  background: radial-gradient(circle at top, rgba(255,210,140,0.09), rgba(5,3,8,1));
  border-top: 1px solid rgba(255, 220, 170, 0.15);
  border-bottom: 1px solid rgba(255, 220, 170, 0.12);
}

.sj-stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
}

.sj-stat-number {
  font-family: "Cormorant Garamond", "Cinzel", serif;
  font-size: 40px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 4px;
}

.sj-stat-label {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
}

/* subtle gold line behind stats, optional but pretty */
.sj-stats::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 60%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    rgba(255,215,160,0) 0%,
    rgba(255,215,160,0.9) 50%,
    rgba(255,215,160,0) 100%
  );
  opacity: 0.7;
}

/* responsive */
@media (max-width: 768px) {
  .sj-stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .sj-stat-number {
    font-size: 24px;
  }

  .sj-stat-label {
    font-size: 10px;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 480px) {
  .sj-stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }
}
/* === SJ – Transfer Search Bar (Homepage) ===================== */

.sj-transfer-bar-wrap {
    display: flex;
    justify-content: center;
    padding: 60px 16px 40px;
}

.sj-transfer-bar-inner {
    width: min(1100px, 100%);
    background: linear-gradient(135deg, #f6d47b 0%, #f1b44c 40%, #e9a52f 100%);
    border-radius: 32px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    padding: 26px 32px 24px;
    position: relative;
    color: #2b1a08;
}

/* little inner “frame” to mimic the original gold bar  */
.sj-transfer-bar-inner::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 26px;
    background: radial-gradient(circle at top, rgba(255,255,255,0.45), transparent 55%),
                rgba(255, 247, 226, 0.9);
    pointer-events: none;
    z-index: 0;
}

.sj-transfer-bar-head,
.sj-transfer-bar-form {
    position: relative;
    z-index: 1;
}

.sj-transfer-bar-title {
    font-family: "Afacad", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    font-size: 20px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: left;
    color: #5a3510;
    margin-bottom: 10px;
}

/* Form layout */
.sj-transfer-bar-form {
    display: grid;
    grid-template-columns: 2fr auto 2fr auto;
    gap: 14px 18px;
    align-items: end;
}

.sj-transfer-bar-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    color: #7a5323;
}

.sj-transfer-bar-field input[type="text"],
.sj-transfer-bar-field input[type="datetime-local"] {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(190, 140, 60, 0.5);
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #3b2a12;
    background: #fffaf0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) inset;
}

.sj-transfer-bar-field input::placeholder {
    color: rgba(120, 92, 52, 0.75);
}

/* Date/time appearance tweaks */
.sj-transfer-bar-field input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    opacity: 0.75;
}

/* Button */
.sj-transfer-bar-actions {
    display: flex;
    align-items: flex-end;
}

.sj-transfer-bar-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 34px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: #2c2218;
    color: #ffe9a9;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sj-transfer-bar-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
    background: #18110a;
}

.sj-transfer-bar-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* Route input a bit wider on desktop */
.sj-transfer-bar-field--route {
    min-width: 0;
}

/* === Responsive ============================= */

@media (max-width: 960px) {
    .sj-transfer-bar-inner {
        padding: 20px 18px 22px;
        border-radius: 24px;
    }

    .sj-transfer-bar-inner::before {
        inset: 7px;
        border-radius: 20px;
    }

    .sj-transfer-bar-form {
        grid-template-columns: 1fr;
        gap: 10px 0;
    }

    .sj-transfer-bar-actions {
        justify-content: flex-end;
        margin-top: 4px;
    }
}
/* ===== VIEW ALL TOURS SECTION (FULL FIXED) ===== */

.sj-home-view-all-tours {
    padding: 40px 0 120px;
    max-width: 1180px;
    margin: 0 auto;
}

.sj-home-view-all-header {
    text-align: center;
    margin-bottom: 40px;
}

.sj-home-view-all-title {
    font-family: "Afacad", system-ui, sans-serif;
    letter-spacing: 0.16em;
    font-size: 28px;
    font-weight: 700;
    color: #5a3b11;
    text-transform: uppercase;
}

.sj-home-view-all-subtitle {
    margin-top: 6px;
    font-size: 14px;
    color: #777;
}

/* 2-column grid with middle gap for the Thailand map */
.sj-home-view-all-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 20px;
}

/* ============================
   CARD LAYOUT + PREMIUM STYLE
   ============================ */

.sj-home-tour-card {
    position: relative;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: stretch;

    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    padding: 0;

    border: 1px solid rgba(255, 197, 120, 0.28);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.05),
        0 3px 8px rgba(0,0,0,0.03);

    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sj-home-tour-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(255, 215, 140, 0.12),
        rgba(255, 215, 160, 0.04) 40%,
        rgba(255, 215, 180, 0)
    );
    opacity: 0.4;
}

.sj-home-tour-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 26px rgba(0,0,0,0.07),
        0 4px 10px rgba(0,0,0,0.05);
}

/* Thumbnail */
.sj-home-tour-thumb {
    position: relative;
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center center;

    /* HARD placement */
    grid-column: 1;
    grid-row: 1;
}

/* soft vignette */
.sj-home-tour-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 55%,
        rgba(0,0,0,0.18)
    );
    pointer-events: none;
}

/* Content */
.sj-home-tour-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;

    /* HARD placement */
    grid-column: 2;
    grid-row: 1;
}

/* subtle inner gold line */
.sj-home-tour-content::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 205, 140, 0),
        rgba(255, 205, 140, 0.55),
        rgba(255, 205, 140, 0)
    );
    opacity: 0.4;
}

.sj-home-tour-text {
    flex: 1 1 auto;
    min-width: 0; /* prevents long titles from breaking layout */
}

.sj-home-tour-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #222;
}

.sj-home-tour-meta {
    font-size: 12px;
    color: #888;
    margin: 0 0 6px;
}

.sj-home-tour-meta-sep {
    margin: 0 4px;
}

.sj-home-tour-highlight {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* CTA */
.sj-home-tour-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    min-width: 130px;
    flex: 0 0 auto;
}

.sj-home-tour-price {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.sj-home-tour-price span {
    font-weight: 600;
    color: #c27a1a;
}

/* Button */
.sj-home-tour-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #f2c46b, #e29b37);
    color: #3b260d;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(144, 92, 23, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
}

.sj-home-tour-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 10px 22px rgba(144, 92, 23, 0.42);
}

/* =========================================
   EVEN CARDS (DESKTOP): flip image/content
   + flip inside content (CTA left, text right)
   Works for:
   A) direct cards
   B) wrapper > card
   ========================================= */

/* flip columns (text first, image second) */
.sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n),
.sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card {
    grid-template-columns: minmax(0, 1fr) 210px;
}

/* place thumb on right */
.sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-thumb,
.sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-thumb {
    grid-column: 2;
    grid-row: 1;
}

/* place content on left */
.sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-content,
.sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-content {
    grid-column: 1;
    grid-row: 1;
}

/* flip inside content: CTA goes LEFT, text goes RIGHT */
.sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-content,
.sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-content {
    flex-direction: row-reverse;
}

/* CTA is now on the left */
.sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-cta,
.sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-cta {
    align-items: flex-start;
    text-align: left;
}

/* Text is now on the right */
.sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-text,
.sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-text {
    text-align: right;
}

/* ===== Pagination pill ===== */

.sj-home-view-all-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.sj-home-page-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7ea;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.sj-home-page-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #b38a44;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.sj-home-page-dot.is-active {
    background: #f0c46c;
    color: #3a2408;
    font-weight: 600;
}

.sj-home-page-prev,
.sj-home-page-next {
    font-size: 13px;
}

.sj-home-page-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* "See all tours" button */

.sj-home-view-all-footer {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.sj-home-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border-radius: 999px;
    background: #f7d688;
    color: #4b300e;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(141, 94, 28, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.sj-home-view-all-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 16px 32px rgba(141, 94, 28, 0.4);
}

/* ========= Responsive adjustments ========= */

@media (max-width: 900px) {
    .sj-home-view-all-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .sj-home-tour-card {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    /* IMPORTANT: kill the outer flip at <=900 (both structures) */
    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n),
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-thumb,
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-thumb {
        grid-column: 1;
        grid-row: 1;
    }

    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-content,
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-content {
        grid-column: 2;
        grid-row: 1;
    }

    /* You can keep the inside-content flip on tablet if you like.
       If you want it NORMAL here, uncomment next block.
    */
    /*
    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-content,
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-content {
        flex-direction: row;
    }

    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-text,
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-text {
        text-align: left;
    }

    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-cta,
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-cta {
        align-items: flex-end;
        text-align: right;
    }
    */

    .sj-home-tour-content {
        padding: 10px 14px;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    /* Stack ALL cards */
    .sj-home-tour-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    /* HARD reset for EVEN cards too (this fixes your screenshot issue) */
    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n),
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    /* Thumb must be full-width on ALL cards */
    .sj-home-tour-thumb,
    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-thumb,
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-thumb {
        height: 190px;
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    /* Content must be full-width under the image */
    .sj-home-tour-content,
    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-content,
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-content {
        grid-column: 1 !important;
        grid-row: 2 !important;

        /* reset inside flip on mobile to avoid awkward layout */
        flex-direction: column !important;
        align-items: flex-start;
    }

    /* reset alignments for mobile readability */
    .sj-home-tour-text,
    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-text,
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-text {
        text-align: left !important;
    }

    .sj-home-tour-cta,
    .sj-home-view-all-grid > .sj-home-tour-card:nth-of-type(2n) .sj-home-tour-cta,
    .sj-home-view-all-grid > :nth-child(2n) .sj-home-tour-card .sj-home-tour-cta {
        align-items: flex-start !important;
        min-width: 0;
    }
}
.sj-dest-section {
  margin: 60px auto 40px;
}

.sj-section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.sj-dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.sj-dest-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}

.sj-dest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,.09);
}

.sj-dest-thumb img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.sj-dest-body {
  padding: 12px 14px 14px;
}

.sj-dest-title {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 18px;
  color: #111;
}

.sj-dest-tagline {
  margin: 0 0 6px;
  font-size: 13px;
  color: #f97316; /* or your brand orange */
}

.sj-dest-summary {
  margin: 0;
  font-size: 13px;
  color: #666;
}
/* SECTION WRAPPER – less headroom */
.sj-hero-gallery {
    display: flex;
    justify-content: center;
    padding: 70px 0 140px;  /* was 120 / 140 */
    position: relative;
    z-index: 5;
}

/* MAIN FRAME – 80vw, taller, premium border + glow */
.sj-hero-gallery-frame {
    position: relative;
    width: 80vw;
    max-width: 1600px;
    border-radius: 26px;
    overflow: hidden;
    background: #050608;
    box-shadow:
        0 26px 80px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,0.04);
}

/* thin outer golden edge */
.sj-hero-gallery-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,#f6e7b0,#f2b45a,#f6e7b0);
    -webkit-mask: 
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.55;
    pointer-events: none;
}

/* GOLD PODIUM – bigger & closer to card */
.sj-hero-gallery-frame::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -32px;              /* bring it up so it shows */
    width: 78%;
    height: 58px;
    background: radial-gradient(circle at 50% 40%, #ffe9a8 0, #f0c162 40%, #b8732a 100%);
    border-radius: 999px;
    box-shadow:
        0 14px 22px rgba(0,0,0,0.4),
        0 0 35px rgba(240,194,98,0.9);
    z-index: -1;
    opacity: 0.95;
}

/* IMAGE – taller & Ken Burns */
.sj-home-swiper img {
    display: block;
    width: 100%;
    height: 580px;              /* taller */
    object-fit: cover;
    transform-origin: center center;
    animation: sj-kenburns 18s ease-in-out infinite alternate;
}

/* soft vignette on top for drama */
.sj-home-swiper::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.07), transparent 55%),
        linear-gradient(to bottom, rgba(0,0,0,0.32), transparent 35%, rgba(0,0,0,0.25));
    pointer-events: none;
}

/* PAGINATION */
.sj-hero-swiper-pagination {
    position: absolute;
    left: 0; right: 0;
    bottom: 22px;
    text-align: center;
    z-index: 10;
}
.sj-hero-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: rgba(255,255,255,0.75);
    opacity: 1;
}
.sj-hero-swiper-pagination .swiper-pagination-bullet-active {
    background: #ffcf7d;
    box-shadow: 0 0 8px rgba(255,207,125,0.8);
}

/* NAV ARROWS */
.sj-hero-swiper-button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(6px);
}
.sj-hero-swiper-button::before {
    content: "";
    position: absolute;
    inset: 0;
    mask-size: 60% 60%;
    mask-position: center;
    mask-repeat: no-repeat;
    background: #fff;
}
.sj-hero-swiper-button-prev { left: 18px; }
.sj-hero-swiper-button-next { right: 18px; }

.sj-hero-swiper-button-prev::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='15 5 8 12 15 19' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sj-hero-swiper-button-next::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 5 16 12 9 19' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* KEN BURNS ANIMATION */
@keyframes sj-kenburns {
    0%   { transform: scale(1.02) translate3d(0, 0, 0); }
    100% { transform: scale(1.08) translate3d(0, -8px, 0); }
}

/* MOBILE */
@media (max-width: 768px) {
    .sj-hero-gallery {
        padding: 40px 0 90px;
    }

    .sj-hero-gallery-frame {
        width: 92vw;
        border-radius: 20px;
    }

    .sj-home-swiper img {
        height: 260px;
    }

    .sj-hero-gallery-frame::after {
        bottom: -28px;
        width: 82%;
        height: 42px;
    }
}
/* ===============================================
   SAWASDEE JOURNEY – Hero (Cinematic + Composition Fix)
   =============================================== */

body.home .site-header,
body.home header#masthead {
  display: none !important;
}

.sj-hero {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 65vh, 720px);
  color: #f7e7c7;
  background-color: #000;
  overflow: hidden;
}

/* === BACKGROUND ART (composition locked) === */
.sj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url("/wp-content/uploads/2025/12/header_bg.png");
  background-repeat: no-repeat;

  /* IMPORTANT: scale by width, not height */
  background-size: clamp(1400px, 110vw, 1900px) auto;

  /* Tuned for THIS artwork */
  background-position: 60% 50%;

  filter: brightness(0.9) contrast(1.25);
}

/* === Cinematic overlay (same tone as old) === */
.sj-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(circle at top left, rgba(255, 210, 140, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 180, 90, 0.16), transparent 55%),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.55) 55%,
      rgba(0, 0, 0, 0.85) 100%
    );
}

/* Layout container */
.sj-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;

  /* controlled rhythm instead of stretching */
  padding: clamp(80px, 12vh, 120px) 20px clamp(64px, 10vh, 96px);

  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vh, 64px);
}

/* Top brand/menu row */
.sj-hero-brand-row {
  display: flex;
  align-items: flex-start; /* key: allows stacked logo to sit naturally */
  justify-content: space-between;
  gap: 32px;

  /* same visual lift, but safer */
  transform: translateY(-30px);
}

/* NEW: logo stack container */
.sj-hero-logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Logo */
.sj-hero-logo-text {
  font-family: "Cormorant Garamond", "Cinzel", serif;
  font-size: 38px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f6d79d;
}

/* Subtext directly under logo */
.sj-hero-logo-subtext {
  font-family: "Cormorant Garamond", "Cinzel", serif;
  font-size: 35px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 215, 157, 0.9);

  /* tighten without breaking layout */
  margin-top: -6px;
}

/* Nav */
.sj-hero-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sj-hero-nav a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 231, 199, 0.85);
  text-decoration: none;
  padding-bottom: 4px;
  position: relative;
  transition: color 0.18s ease;
}

.sj-hero-nav a:hover {
  color: #ffe9b3;
}

.sj-hero-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #f4ce86, #ffdda7);
  transition: width 0.2s ease;
}

.sj-hero-nav a:hover::after {
  width: 100%;
}

/* Main hero content */
.sj-hero-body {
  max-width: 640px;
  margin-top: 40px;
  position: relative;
}

/* Gold divider */
.sj-hero-body::before {
  content: "";
  display: block;
  width: 220px;
  height: 2px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    rgba(255, 215, 160, 0) 0%,
    rgba(255, 215, 160, 0.9) 50%,
    rgba(255, 215, 160, 0) 100%
  );
}

.sj-hero-title {
  font-family: "Cormorant Garamond", "Cinzel", serif;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.15;
  margin: 0 0 18px;
  color: #ffe6b5;
}

/* Buttons */
.sj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.sj-btn-primary {
  background: linear-gradient(120deg, #f4c66b, #ffda94);
  color: #3a2302;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.sj-btn-primary:hover {
  background: linear-gradient(120deg, #ffd88a, #ffe8b0);
  transform: translateY(-1px);
}

.sj-btn-ghost {
  border-color: rgba(247, 231, 199, 0.5);
  color: rgba(247, 231, 199, 0.9);
  background: transparent;
}

.sj-btn-ghost:hover {
  background: rgba(255, 243, 214, 0.06);
}

/* Highlights off */
.sj-hero-highlights {
  display: none !important;
}

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

@media (max-width: 900px) {
  .sj-hero-brand-row {
    flex-direction: column;
    align-items: flex-start;
    transform: none;
  }

  .sj-hero-inner {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .sj-hero {
    min-height: 88vh;
  }

  .sj-hero::before {
    background-size: cover;
    background-position: 70% 65%;
    filter: brightness(0.85) contrast(1.05);
  }

  .sj-hero-inner {
    padding: 60px 16px 56px;
    gap: 32px;
  }

  .sj-hero-body {
    margin-top: 28px;
  }

  /* Your mobile reductions (fixed + integrated) */
  .sj-hero-logo-text {
    font-size: 22px;
    letter-spacing: 0.14em;
  }

  .sj-hero-logo-subtext {
    font-size: 18px;
    letter-spacing: 0.12em;
    margin-top: -4px;
  }

  .sj-hero-nav ul {
    gap: 18px;
    flex-wrap: wrap;
  }

  .sj-hero-nav a {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .sj-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
/* ========== TOUR GRID + CARDS ========== */

.sj-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.sj-tour-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}

.sj-tour-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
}

.sj-tour-card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.sj-tour-card-body {
  padding: 12px 14px;
}

.sj-tour-title {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 18px;
  color: #111;
}

.sj-tour-subtitle {
  margin: 0 6px 8px 0;
  color: #666;
  font-size: 13px;
}

.sj-tour-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #888;
}

.sj-tour-price {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #ff6b35;
}

/* ========== GLOBAL LAYOUT ========== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Slightly narrower body container where needed */
.sj-body.container {
  max-width: 1000px;
  margin: 30px auto;
}

/* ========== LEGACY SIMPLE HERO (OPTIONAL) ========== */

.sj-tour-single .sj-hero {
  position: relative;
  height: 52vh;
  min-height: 360px;
  overflow: hidden;
}

.sj-tour-single .sj-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02);
}

/* ========== NEW CLASSIC HERO ========== */

.sj-tour-single.sj-classic .sj-hero-wrap {
  position: relative;
  overflow: hidden;
  background: #000;
}

.sj-hero-bg {
  position: relative;
  height: 55vh;
  min-height: 360px;
}

.sj-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

/* gold ribbon overlay like client design */
.sj-hero-gold-ribbon {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.4), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(115deg, #ffcf6b 0%, #f7a63b 30%, #ffdf8e 60%, #f46934 100%);
  mix-blend-mode: soft-light;
  opacity: 0.8;
}

/* unified overlay (works for both hero versions) */
.sj-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.25),
    transparent 50%
  );
}

/* curved white bottom like section divider */
.sj-gold-divider-top {
  height: 36px;
  background:
    radial-gradient(120% 120% at 50% -20%, #fff 60%, transparent 61%),
    linear-gradient(to bottom, #fbeedb, #fff);
  border-bottom: 1px solid rgba(220, 180, 120, 0.55);
}

.sj-gold-divider-bottom {
  height: 40px;
  background:
    linear-gradient(to top, #fbeedb, #fff 45%, transparent 60%),
    radial-gradient(120% 120% at 50% 130%, #f2c35f 0, transparent 60%);
}

/* HERO CONTENT */

.sj-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 46px;
  color: #fff;
}

.sj-hero-title {
  font-size: 32px;
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}

.sj-hero-subtitle {
  margin: 0 0 12px;
  font-size: 15px;
  color: #fbeedb;
}

.sj-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.sj-hero-badges .badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
}

.sj-hero-badges .badge strong {
  color: #c16b06;
}

.sj-hero-cta {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8b14a, #f4732c);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* ========== BODY SECTIONS ========== */

.sj-tour-body {
  margin-top: 22px;
  margin-bottom: 40px;
}

.sj-section {
  margin: 24px 0;
}

.sj-section-card {
  background: linear-gradient(135deg, #ffffff, #fff8ef);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
  padding: 20px 22px 22px;
  border: 1px solid rgba(230, 185, 120, 0.4);
}

.sj-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.sj-section-header h2 {
  font-size: 20px;
  margin: 0;
  color: #aa5a08;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sj-section-accent {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8b14a, #f3d272, #ffffff00);
}

/* Typography */

.sj-subheading {
  font-size: 16px;
  margin: 0 0 6px;
  color: #333;
}

.sj-richtext p {
  margin-bottom: 10px;
}

.sj-two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 20px;
}

.sj-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* Generic columns + gallery (for other sections) */

.sj-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.sj-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

/* ========== ITINERARY (NEW STYLE) ========== */

.sj-itinerary {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sj-itinerary-day {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(210, 160, 95, 0.5);
}

.sj-itinerary-day:last-child {
  border-bottom: none;
}

.sj-itinerary-day-tag {
  align-self: flex-start;
  justify-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5c46a, #f38534);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.sj-itinerary-day-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* ========== LISTS ========== */

.sj-list {
  list-style: none;
  padding-left: 0;
  margin: 4px 0 0;
  font-size: 14px;
}

.sj-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.sj-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  color: #18a56b;
}

.sj-list-muted li::before {
  content: "✖";
  color: #c03c3c;
}

/* ========== ENQUIRY ========== */

.sj-enquire-intro {
  font-size: 14px;
  margin-bottom: 14px;
  color: #444;
}

.sj-enquire-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: inset 0 0 0 1px rgba(230, 185, 120, 0.3);
}

/* ========== TRANSFER TABLES ========== */

.sj-transfer-vehicle-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sj-transfer-vehicle-table th,
.sj-transfer-vehicle-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(220, 190, 140, 0.4);
}

.sj-transfer-vehicle-table th {
  text-align: left;
  font-weight: 600;
  color: #784400;
}

.sj-transfer-vehicle-table tr:last-child td {
  border-bottom: none;
}

.sj-transfer-pricing-note {
  font-size: 13px;
  margin-bottom: 10px;
  color: #555;
}

.sj-vehicle-table-wrap {
  overflow-x: auto;
}

.sj-vehicle-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sj-vehicle-table th,
.sj-vehicle-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(230, 185, 120, 0.4);
}

.sj-vehicle-table th {
  text-align: left;
  background: rgba(250, 232, 205, 0.7);
  color: #7d4a0a;
  font-weight: 600;
}

/* ========== TRANSFER SEARCH (NEW VERSION) ========== */

/* Container + form */

.sj-transfer-search {
  position: relative;
  margin-bottom: 2.5rem;
}

.sj-transfer-search__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(240, 185, 65, 0.28);
  border-radius: 22px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.sj-transfer-search__fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 12px 14px;
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid #f0e1c5;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  align-items: end;
}

.sj-transfer-search__field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8a6a3a;
}

.sj-transfer-search__field input[type="text"] {
  min-width: 0;
  width: 100%;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(190, 140, 60, 0.35);
  background: #fffdf7;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
  line-height: 1.2;
  padding: 12px 14px;
}
.sj-transfer-search__field{
  min-width: 0;
  width: 100%;
}

/* Vehicle chips */

.sj-transfer-search__vehicle-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid #f0e1c5;
}

.sj-transfer-search__chips-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 0.25rem;
  color: #8a6a3a;
}

.sj-transfer-search__vehicle-chips .sj-chip {
  border-radius: 999px;
  border: 1px solid rgba(190, 140, 60, 0.4);
  background: #fffaf0;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s;
  color: #6b4d1f;
}

.sj-transfer-search__vehicle-chips .sj-chip.is-active {
  background: #fbe9c9;
  border-color: #e9a52f;
  font-weight: 700;
  transform: translateY(-1px);
}

/* Actions */

.sj-transfer-search__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
  align-self: end;
}
.sj-transfer-search__actions .sj-archive__btn--primary{
  height: 48px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}
.sj-transfer-search__actions .sj-archive__btn--primary{
  background: #2c2218;
  color: #ffe9a9;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.sj-transfer-search__actions .sj-archive__btn--primary:hover{
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.sj-transfer-search__fields .sj-search-swap{
  align-self:end;
  height:48px;
  width:48px;
  border-radius:12px;
  border:1px solid rgba(190, 140, 60, 0.5);
  background:#fffdf7;
  color:#8a5b22;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 14px rgba(0,0,0,0.08);
}
.sj-transfer-search__fields .sj-search-swap:focus{
  outline:2px solid #e9a52f;
  outline-offset:2px;
}

.sj-transfer-search__hint {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Results wrapper */

.sj-transfer-search__results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

/* Optional vertical list layout for horizontal cards */

.sj-transfer-search__results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 960px) {
  .sj-transfer-search__fields {
    grid-template-columns: 1fr;
  }
  .sj-transfer-search__fields .sj-search-swap{
    width:100%;
  }
  .sj-transfer-search__actions{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .sj-transfer-search__actions .sj-archive__btn--primary{
    width:100%;
    justify-content:center;
  }
}

/* ========== TRANSFER CARDS (HORIZONTAL STYLE) ========== */

.sj-transfer-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  text-decoration: none;
  color: #333;
}

.sj-transfer-card--horizontal {
  flex-direction: row;
}

.sj-transfer-card__media {
  flex: 0 0 260px;
  max-width: 260px;
  position: relative;
  overflow: hidden;
}

.sj-transfer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sj-transfer-card__media--placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #7f1d1d;
}

/* Body */

.sj-transfer-card__body {
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
}

.sj-transfer-card__title {
  margin: 0;
  font-size: 1.1rem;
}

.sj-transfer-card__title a {
  text-decoration: none;
}

.sj-transfer-card__route {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.sj-transfer-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.sj-transfer-card__badge {
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #f3f4f6;
}

.sj-transfer-card__badge--price {
  background: #fef3c7;
  font-weight: 600;
}

.sj-transfer-card__excerpt {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.sj-transfer-card__vehicles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.sj-transfer-card__vehicle-pill {
  font-size: 0.78rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
}

.sj-transfer-card__link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Loader + blur during fetch */

.sj-transfer-search__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  gap: 0.25rem;
  pointer-events: none;
}

.sj-transfer-search__loader.is-visible {
  display: flex;
}

.sj-loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f97316;
  animation: sj-loader-bounce 0.8s infinite alternate;
}

.sj-loader-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.sj-loader-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes sj-loader-bounce {
  from {
    transform: translateY(0);
    opacity: 0.5;
  }
  to {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.sj-transfer-search__results.is-blurred {
  filter: blur(2px);
  pointer-events: none;
}

.sj-transfer-search__empty {
  font-size: 0.9rem;
  color: #6b7280;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
  .sj-hero-content {
    padding: 0 18px 32px;
  }

  .sj-hero-title {
    font-size: 24px;
  }

  .sj-hero-badges {
    flex-direction: column;
  }

  .sj-two-cols {
    grid-template-columns: 1fr;
  }

  .sj-itinerary-day {
    grid-template-columns: 1fr;
  }

  .sj-itinerary-day-tag {
    margin-bottom: 4px;
  }

  .sj-transfer-card--horizontal {
    flex-direction: column;
  }

  .sj-transfer-card__media {
    flex-basis: auto;
    max-width: 100%;
  }

  .sj-transfer-search__fields {
    flex-direction: column;
  }

  .sj-transfer-search__field input[type="text"] {
    width: 100%;
    max-width: 100%;
  }

  .sj-transfer-search__actions {
    width: 100%;
  }

  .sj-transfer-search__actions .sj-archive__btn--primary {
    width: 100%;
    justify-content: center;
  }

  .sj-transfer-search__vehicle-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sj-transfer-search__vehicle-chips::-webkit-scrollbar {
    display: none;
  }

  .sj-transfer-search__vehicle-chips .sj-chip,
  .sj-transfer-search__chips-label {
    flex: 0 0 auto;
  }
}
.sj-gallery-section .sj-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.sj-gallery-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* PDF block */

.sj-pdf-intro {
  font-size: 14px;
  margin-bottom: 10px;
  color: #444;
}

.sj-pdf-button {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8b14a, #f4732c);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.sj-pdf-preview {
  margin-top: 6px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(230, 185, 120, 0.4);
}

.sj-pdf-preview iframe {
  width: 100%;
  height: 420px;
  border: none;
}

@media (max-width: 768px) {
  .sj-pdf-preview iframe {
    height: 260px;
  }
}
/* ==============================================
   SJ – Transfer Page Polish (match Tours archive)
   ============================================== */

.sj-archive--transfer .sj-transfer-search__actions .button.button-primary{
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(70deg, #ffa269, #f0b941);
  color: #2a1e10;
  box-shadow: 0 8px 22px rgba(227, 162, 76, 0.55);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.sj-archive--transfer .sj-transfer-search__actions .button.button-primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 12px 28px rgba(227, 162, 76, 0.7);
}

/* tighten the chips to feel premium */
.sj-transfer-search__vehicle-chips{
  margin-top: 12px;
}
.sj-chip{
  background: #fff;
  border: 1px solid #e3d5be;
}
.sj-chip.is-active{
  background: #171216;
  border-color: #171216;
  color: #f3d7a4;
  font-weight: 700;
}

/* Make transfer cards feel like your tour cards */
.sj-transfer-card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.sj-transfer-card:hover{
  box-shadow: 0 22px 55px rgba(0,0,0,0.18);
}

.sj-transfer-card__title a{
  color: #24170d;
  text-decoration: none;
}
.sj-transfer-card__title a:hover{
  text-decoration: underline;
}

.sj-transfer-card__badge{
  border: 1px solid #e5d4b2;
  background: #fff;
  color: #4c3a24;
}
.sj-transfer-card__badge--price{
  background: linear-gradient(70deg, #ffa269, #f0b941);
  border-color: #d29a3c;
  color: #20140a;
  font-weight: 700;
}

.sj-transfer-card__vehicle-pill{
  background: #171216;
  color: #f3d7a4;
}

/* pagination already matches your archive pagination styles */

/* SJ blog sections */
.sj-blog-section{margin:32px 0;padding:20px;border:1px solid #eee;border-radius:16px;background:#fff}
.sj-blog-title{margin:0 0 12px;font-size:22px;letter-spacing:.02em}

/* Tour itinerary + pricing */
.sj-itinerary-accordion{display:grid;gap:14px}
.sj-itinerary-day{display:block;border:1px solid #eee;border-radius:14px;padding:14px;background:#fff;box-shadow:0 10px 20px rgba(0,0,0,.04)}
.sj-itinerary-day__title{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:18px}
.sj-itinerary-day__label{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:12px;font-weight:800;background:#111;color:#fff;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.sj-itinerary-day__heading{margin:0;font-weight:800;font-size:18px;line-height:1.2}
.sj-itinerary-day__body{color:#2d2d2d;font-size:15px;line-height:1.6}
.sj-itinerary-day__body p{margin:0 0 10px}
.sj-itinerary-day.is-single{padding:18px 20px;border-style:dashed;box-shadow:none}
.sj-itinerary-day.is-single .sj-itinerary-day__title{margin-bottom:6px}

.sj-pricing-table-wrap{overflow:auto}
.sj-pricing-table{width:100%;border-collapse:collapse;margin-top:8px}
.sj-pricing-table th,
.sj-pricing-table td{border:1px solid #eee;padding:10px 12px;text-align:left}
.sj-pricing-table th{background:#111;color:#fff;font-weight:800}
.sj-pricing-table .sj-price-note{color:#555;font-size:13px}

/* Tour gallery main + thumbs */
.sj-gallery-section .sj-gallery-main{
  position:relative;
  aspect-ratio:16/9;
  width:100%;
  max-height:520px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #eee;
  margin-bottom:10px;
  background:#0f0f0f;
}
.sj-gallery-section .sj-gallery-main img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.sj-gallery-section .sj-gallery-thumbs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:flex-start;
}
.sj-gallery-section .sj-gallery-thumb{
  border:1px solid #eee;
  border-radius:12px;
  overflow:hidden;
  padding:0;
  cursor:pointer;
  background:#fff;
  flex:0 0 auto;
  transition:transform .15s ease, box-shadow .15s ease;
}
.sj-gallery-section .sj-gallery-thumb.is-active{
  outline:2px solid #111;
  outline-offset:2px;
  box-shadow:0 6px 14px rgba(0,0,0,.12);
}
.sj-gallery-section .sj-gallery-thumb img{
  display:block;
  width:96px;
  height:72px;
  object-fit:cover;
}
@media (max-width:640px){
  .sj-gallery-section .sj-gallery-thumb img{
    width:80px;
    height:60px;
  }
}
