/* ========================================
   OpenStreetMap + Explore Page Styles
   ======================================== */

/* Map Section */
.map-section {
    padding: var(--spacing-md) 0;
    background: var(--white);
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.map-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.map-description {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

/* Map Container */
.map-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.openstreet-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.6rem 0.875rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    display: flex;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.temple-marker { background: linear-gradient(135deg, #d4af37, #f4e4c1); }
.cafe-marker   { background: linear-gradient(135deg, #2196F3, #64B5F6); }
.hotel-marker  { background: linear-gradient(135deg, #4CAF50, #81C784); }

.legend-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
}

/* Leaflet Popup */
.custom-info-window { max-width: 260px; }

.leaflet-popup-content-wrapper {
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-lg);
}

.leaflet-popup-content {
    margin: 0;
    width: 260px !important;
}

.leaflet-popup-tip { background: white; }

.custom-popup .leaflet-popup-content-wrapper { border-radius: 12px; }
.custom-popup .leaflet-popup-close-button { color: var(--primary); font-size: 22px; padding: 6px; }
.custom-popup .leaflet-popup-close-button:hover { color: var(--gold); }

.info-window-content { padding: 0.875rem; }

.info-window-image {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.info-window-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.info-window-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.35rem;
    color: var(--gold);
    font-size: 0.82rem;
}

.info-window-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 0.6rem;
}

.info-window-navigate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--primary);
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.info-window-navigate:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 5px 14px rgba(212, 175, 55, 0.5);
    transform: translateY(-1px);
}

/* ========================================
   Filter Tabs
   ======================================== */
.filter-tab {
    padding: 0.5rem 1.1rem;
    background: transparent;
    color: var(--dark-gray);
    font-size: 0.88rem;
    font-weight: 500;
    border: 1.5px solid var(--light-gray);
    border-radius: 20px;
    transition: var(--transition-normal);
    cursor: pointer;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: var(--gold-light);
    color: var(--gold-dark);
    background: var(--gold-light);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

/* ========================================
   Explore Place Cards — สไตล์เหมือนหน้าหลัก
   ======================================== */

/* Section หมวดหมู่ */
.explore-category-section {
    padding: var(--spacing-md) 0;
}

.explore-category-section:nth-child(even) {
    background: var(--off-white);
}

.explore-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.explore-category-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.explore-category-icon {
    font-size: 1.5rem;
}

.explore-category-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.explore-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-dark);
    transition: var(--transition-normal);
    text-decoration: none;
}

.explore-view-all:hover {
    gap: 0.7rem;
    color: var(--gold);
}

/* Horizontal Scroll Carousel */
.explore-carousel-wrapper {
    position: relative;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
}

.explore-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.explore-carousel:active {
    cursor: grabbing;
}

.explore-carousel::-webkit-scrollbar {
    display: none;
}

/* Carousel Nav Buttons */
.explore-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
    border: none;
    opacity: 0;
    pointer-events: none;
}

.explore-carousel-wrapper:hover .explore-nav {
    opacity: 1;
    pointer-events: auto;
}

.explore-nav:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.explore-nav.prev { left: -22px; }
.explore-nav.next { right: -22px; }

.explore-nav svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Place Card — เหมือนหน้าหลักทุกอย่าง
   ======================================== */
.explore-place-card {
    flex: 0 0 300px;
    min-width: 300px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 1px solid transparent;
}

.explore-place-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--gold-light);
}

/* รูปภาพ */
.explore-place-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.explore-place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.explore-place-card:hover .explore-place-image img {
    transform: scale(1.08);
}

.explore-place-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.35));
}

/* Badge ยอดนิยม / แนะนำ */
.explore-place-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.3rem 0.75rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    z-index: 2;
}

/* Rating บนรูป */
.explore-place-rating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    z-index: 2;
}

.explore-place-rating-badge svg {
    color: var(--gold);
    width: 14px;
    height: 14px;
}

/* Favorite button */
.explore-place-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    color: var(--medium-gray);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 3;
}

.explore-place-fav:hover {
    background: var(--white);
    color: #e53935;
    transform: scale(1.1);
}

.explore-place-fav.active {
    background: #fff0f0;
    color: #e53935;
}

.explore-place-fav.active svg {
    fill: #e53935;
    stroke: #e53935;
}

/* Gallery button */
.explore-gallery-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 2;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.explore-gallery-btn:hover {
    background: rgba(212, 175, 55, 0.85);
    color: var(--primary);
}

.explore-gallery-btn svg {
    width: 12px;
    height: 12px;
}

/* Content */
.explore-place-content {
    padding: 1.1rem 1.25rem 1.25rem;
}

.explore-place-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.explore-place-category {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 700;
}

.explore-place-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.explore-place-stars svg {
    color: var(--gold);
    width: 14px;
    height: 14px;
}

.explore-place-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.explore-place-desc {
    font-size: 0.88rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.explore-place-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--light-gray);
    margin-bottom: 0.75rem;
}

.explore-place-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--medium-gray);
}

.explore-place-location svg {
    color: var(--gold);
    width: 13px;
    height: 13px;
}

.explore-place-distance {
    font-size: 0.82rem;
    color: var(--medium-gray);
}

.explore-place-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition-normal);
    text-decoration: none;
}

.explore-place-link:hover {
    gap: 0.7rem;
    color: var(--gold);
}

.explore-place-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-normal);
}

/* ========================================
   Gallery Modal
   ======================================== */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.gallery-modal.open { display: flex; }

.gallery-modal-inner {
    background: var(--white);
    border-radius: 16px;
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--light-gray);
}

.gallery-modal-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.gallery-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: var(--light-gray);
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition-fast);
}

.gallery-modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.gallery-main-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    overflow-x: auto;
    background: var(--off-white);
}

.gallery-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.65;
    transition: var(--transition-fast);
    flex-shrink: 0;
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--gold);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .map-container { height: 280px; border-radius: 12px; }
    .map-legend { flex-direction: column; gap: 0.4rem; bottom: 10px; left: 10px; }
    .gallery-main-image { height: 240px; }
    .gallery-modal-inner { max-height: 95vh; }
    .explore-place-card { flex: 0 0 260px; min-width: 260px; }
    .explore-place-image { height: 180px; }
    .explore-nav { display: none; }
}

/* ========================================
   EPC Card — ตรงกับภาพที่ต้องการ
   ======================================== */

/* Card */
.epc-card {
    flex: 0 0 280px;
    min-width: 280px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 1px solid var(--light-gray);
}

.epc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    border-color: var(--gold-light);
}

/* รูปภาพ */
.epc-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
}

.epc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.epc-card:hover .epc-image img {
    transform: scale(1.06);
}

/* Badge ยอดนิยม */
.epc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    z-index: 2;
}

/* Rating badge บนรูป — มุมขวาบน */
.epc-rating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.65rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.epc-rating-badge svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Favorite button */
.epc-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    color: var(--medium-gray);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 3;
    /* ซ่อนไว้ แสดงเมื่อ hover */
    opacity: 0;
}

.epc-card:hover .epc-fav {
    opacity: 1;
}

.epc-fav:hover {
    background: var(--white);
    color: #e53935;
    transform: scale(1.1);
}

.epc-fav.active {
    opacity: 1;
    background: #fff0f0;
    color: #e53935;
}

.epc-fav.active svg {
    fill: #e53935;
    stroke: #e53935;
}

/* Body */
.epc-body {
    padding: 1rem 1.1rem 1.1rem;
}

/* Category pill — สีทอง */
.epc-category {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Title */
.epc-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

/* Description */
.epc-desc {
    font-size: 0.85rem;
    color: var(--medium-gray);
    line-height: 1.55;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.epc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.65rem;
    border-top: 1px solid var(--light-gray);
    margin-bottom: 0.65rem;
}

.epc-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--medium-gray);
}

.epc-location svg {
    color: var(--gold);
    flex-shrink: 0;
}

.epc-reviews {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

/* Link */
.epc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-normal);
}

.epc-link:hover {
    gap: 0.6rem;
    color: var(--gold);
}

.epc-link svg {
    transition: var(--transition-normal);
}

/* ========================================
   Dot Indicators
   ======================================== */
.epc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.75rem;
    padding-bottom: 0.25rem;
}

.epc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    padding: 0;
}

.epc-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

.epc-dot:hover {
    background: var(--gold-light);
}

/* Responsive */
@media (max-width: 768px) {
    .epc-card { flex: 0 0 240px; min-width: 240px; }
    .epc-image { height: 170px; }
    .epc-title { font-size: 1rem; }
}

/* ========================================
   Explore Cards — 2 รูปแบบ
   ======================================== */

/* ---- Shared ---- */
.ec-rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 2;
}

.ec-rating-badge svg { color: var(--gold); flex-shrink: 0; }

.ec-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.22rem 0.65rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212,175,55,0.4);
    z-index: 2;
}

.ec-category {
    display: inline-block;
    padding: 0.18rem 0.6rem;
    background: rgba(212,175,55,0.1);
    color: var(--gold-dark);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 10px;
    margin-bottom: 0.4rem;
    border: 1px solid rgba(212,175,55,0.18);
}

.ec-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.ec-desc {
    font-size: 0.82rem;
    color: var(--medium-gray);
    line-height: 1.5;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ec-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.55rem;
    border-top: 1px solid var(--light-gray);
    margin-bottom: 0.55rem;
}

.ec-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.76rem;
    color: var(--medium-gray);
}

.ec-location svg { color: var(--gold); flex-shrink: 0; }
.ec-reviews { font-size: 0.76rem; color: var(--medium-gray); }

.ec-price {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.ec-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition-normal);
}

.ec-link:hover { gap: 0.55rem; color: var(--gold); }

/* ---- Portrait Card (แนะนำ) ---- */
.ec-card-portrait {
    flex: 0 0 220px;
    min-width: 220px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.06);
}

.ec-card-portrait:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    border-color: var(--gold-light);
}

.ec-img-portrait {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.ec-img-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ec-card-portrait:hover .ec-img-portrait img { transform: scale(1.07); }
.ec-card-portrait .ec-body { padding: 0.875rem 1rem 1rem; }
.ec-card-portrait .ec-title { font-size: 1.05rem; }

/* ---- Landscape Card (คาเฟ่, วัฒนธรรม, โรงแรม, ธรรมชาติ) ---- */
.ec-card-landscape {
    flex: 0 0 300px;
    min-width: 300px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.06);
}

.ec-card-landscape:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    border-color: var(--gold-light);
}

.ec-img-landscape {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.ec-img-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ec-card-landscape:hover .ec-img-landscape img { transform: scale(1.07); }
.ec-card-landscape .ec-body { padding: 1rem 1.1rem 1.1rem; }
.ec-card-landscape .ec-title { font-size: 1.15rem; }

/* Responsive */
@media (max-width: 768px) {
    .ec-card-portrait { flex: 0 0 180px; min-width: 180px; }
    .ec-img-portrait { height: 180px; }
    .ec-card-landscape { flex: 0 0 250px; min-width: 250px; }
    .ec-img-landscape { height: 180px; }
}
