/* ============================================================
   HSJ BLOCKS — Experience & Review sections
   Loaded only by the relevant blade templates
   ============================================================ */

/* ── Shared section header ─────────────────────────────────── */
.ace-section-header {
    text-align: center;
    padding: 52px 0 36px;
}

.ace-section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

.ace-section-underline {
    width: 52px;
    height: 3px;
    background: #d97706;
    border-radius: 2px;
    margin: 0 auto 16px;
}

.ace-section-desc {
    font-size: 15px;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Section wrappers ──────────────────────────────────────── */
.ace-video-section,
.ace-reviews-section {
    background: #ffffff;
    padding-bottom: 64px;
}

.ace-slider-wrap {
    padding: 0 52px;
    position: relative;
}

/* ── Video card ────────────────────────────────────────────── */
.ace-vid-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15,23,42,0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}

.ace-vid-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 36px rgba(15,23,42,0.13);
}

.ace-vid-thumb {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e5e7eb;
}

.ace-vid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ace-vid-card:hover .ace-vid-thumb img { transform: scale(1.06); }

.ace-vid-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

.ace-vid-card:hover .ace-vid-overlay { background: rgba(0,0,0,0.2); }

.ace-vid-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.93);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    backdrop-filter: blur(4px);
}

.ace-vid-play svg { fill: #111827; margin-left: 3px; }

.ace-vid-card:hover .ace-vid-play {
    transform: translate(-50%,-50%) scale(1.12);
    box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

.ace-vid-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

.ace-vid-info {
    padding: 14px 14px 16px;
    text-align: center;
    background: #fff;
}

.ace-vid-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.ace-vid-trip {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

/* ── Watch More — circle + text, centered via Swiper flex-stretch ── */

/* Slide: narrow width so circle sits close to the last card */
.ace-watch-more-slide {
    width: 140px !important;
}

/* Inner div fills full slide height, flexbox centers content */
.ace-wm-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Button: no positioning tricks needed */
.ace-watch-more-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111827;
    background: none;
    border: none;
    padding: 0;
}

.ace-watch-more-btn:hover { color: #111827; }

/* Circle */
.ace-watch-more-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(17,24,39,0.22);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    flex-shrink: 0;
}

.ace-watch-more-icon svg { margin-left: 3px; }

.ace-watch-more-btn:hover .ace-watch-more-icon {
    background: #d97706;
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(217,119,6,0.30);
}

/* Text below */
.ace-watch-more-label {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* ── Swiper nav (shared) ───────────────────────────────────── */
.ace-nav-btn {
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.09) !important;
    color: #374151 !important;
    transition: all 0.22s ease !important;
}

.ace-nav-btn::after { display: none !important; }

.ace-nav-btn:hover {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #fff !important;
}

.ace-nav-btn:hover i { color: #fff !important; }

/* ── TripAdvisor badge ─────────────────────────────────────── */
.ace-ta-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
}

.ace-ta-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.ace-ta-dots { display: flex; gap: 5px; align-items: center; }

.ace-ta-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #34E0A1;
    display: inline-block;
}

.ace-ta-dot--half {
    background: linear-gradient(90deg, #34E0A1 50%, #d1d5db 50%);
}

.ace-ta-link {
    font-size: 13px;
    color: #059669;
    text-decoration: underline;
    font-weight: 500;
}

/* ── Review card ───────────────────────────────────────────── */
.ace-reviews-section .swiper-slide { height: auto !important; }

.ace-review-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ace-review-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
    transform: translateY(-3px);
}

.ace-review-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ace-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.ace-review-avatar img { width: 100%; height: 100%; object-fit: cover; }

.ace-review-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #374151;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ace-review-author { flex: 1; min-width: 0; }

.ace-review-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ace-review-location { font-size: 11.5px; color: #9ca3af; margin-top: 1px; }

.ace-review-stars { font-size: 13px; line-height: 1; }
.ace-review-stars i,
.ace-review-stars .fa-star { color: #f59e0b !important; }

.ace-review-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
}

.ace-review-body {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.ace-read-more { color: #d97706; font-weight: 500; text-decoration: none; }
.ace-read-more:hover { text-decoration: underline; }

/* Reviews slider wrap — side padding creates space for nav buttons */
.ace-reviews-slider-wrap {
    padding: 0 52px;
    position: relative;
}

/* Allow nav buttons to be visible outside swiper's overflow */
.ace-reviews-swiper {
    overflow: visible !important;
}

/* Review nav — left/right sides, vertically centered */
.ace-rev-btn-next,
.ace-rev-btn-prev {
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
}

.ace-rev-btn-next { right: -16px !important; left: auto !important; }
.ace-rev-btn-prev { left: -16px !important; right: auto !important; }

@media (max-width: 768px) {
    .ace-reviews-slider-wrap { padding: 0 36px; }
}

/* ── Empty state ───────────────────────────────────────────── */
.ace-empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #9ca3af;
}

.ace-empty-state i { font-size: 2.5rem; margin-bottom: 10px; display: block; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ace-slider-wrap { padding: 0 36px; }
    .ace-section-title { font-size: 24px; }
    .ace-section-header { padding: 36px 0 28px; }
}

@media (max-width: 480px) {
    .ace-slider-wrap { padding: 0 28px; }
}
