/* =========================================================
   VENUE SECTION
========================================================= */
.venue-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f8ff 52%, #eef5ff 100%);
    border-top: none;
    margin-top: -1px;
}

/* พื้นหลังตกแต่ง */
.venue-bg-shape {
    position: absolute;
    border-radius: 999px;
    filter: blur(65px);
    pointer-events: none;
    z-index: 0;
}

.venue-bg-shape--1 {
    width: 240px;
    height: 240px;
    top: 80px;
    left: -70px;
    background: rgba(31, 99, 255, 0.10);
}

.venue-bg-shape--2 {
    width: 220px;
    height: 220px;
    right: -60px;
    bottom: 40px;
    background: rgba(255, 90, 122, 0.08);
}

.venue-section .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   HEADER
========================================================= */
.venue-header {
    max-width: 780px;
    margin: 0 auto 54px;
}

.venue-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(31, 99, 255, 0.08);
    color: #1f63ff;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: inset 0 0 0 1px rgba(31, 99, 255, 0.08);
}

.venue-title {
    margin: 16px 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.venue-subtitle {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #64748b;
}

/* =========================================================
   MAP SIDE
========================================================= */
.venue-map-shell {
    position: relative;
    height: 100%;
    padding-bottom: 26px;
}

.venue-map-card {
    position: relative;
    height: 100%;
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.10),
        0 12px 30px rgba(31, 99, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.78);
}



.venue-map-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.75),
        rgba(31, 99, 255, 0.16),
        rgba(255, 92, 122, 0.10)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.venue-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
}

/* การ์ดเล็กบน map */
.venue-map-overlay {
    position: absolute;
    left: 30px;
    bottom: 40px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 4;
    max-width: calc(100% - 44px);
}

.venue-map-overlay__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1f63ff, #4f8cff);
    font-size: 1rem;
    flex-shrink: 0;
}

.venue-map-overlay__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.venue-map-overlay__text strong {
    font-size: 0.94rem;
    font-weight: 700;
}

.venue-map-overlay__text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
}

/* การ์ดลอยนอก map */
.venue-floating-card {
    position: absolute;
    right: 40px;
    bottom: -20px;
    transform: translateY(35%);
    width: min(340px, calc(100% - 40px));
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(14px);
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.12),
        0 8px 16px rgba(31, 99, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.92);
    z-index: 5;
}

.venue-floating-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff5a7a, #ff7c6d);
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 12px 22px rgba(255, 90, 122, 0.24);
}

.venue-floating-card__content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.35;
}

.venue-floating-card__content strong {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 700;
}

.venue-floating-card__content span {
    font-size: 0.84rem;
    color: #64748b;
}

/* =========================================================
   INFO CARD
========================================================= */
.venue-info-card {
    position: relative;
    height: 100%;
    padding: 34px 30px 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(12px);
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.08),
        0 10px 24px rgba(31, 99, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.88);
    overflow: hidden;
}

.venue-info-card__glow {
    position: absolute;
    top: -70px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(31, 99, 255, 0.16), transparent 70%);
    pointer-events: none;
}

.venue-mini-label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 90, 122, 0.10);
    color: #e84368;
    font-size: 0.84rem;
    font-weight: 700;
}

.venue-place {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.3;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.venue-address {
    position: relative;
    z-index: 2;
    margin: 0 0 24px;
    color: #64748b;
    line-height: 1.8;
    font-size: 0.98rem;
}

/* grid รายละเอียด */
.venue-meta-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.venue-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.95), rgba(255,255,255,0.90));
    border: 1px solid #e7eef8;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.venue-meta-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 24px rgba(15, 23, 42, 0.06);
}

.venue-meta-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1f63ff, #4e8cff);
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.venue-meta-item__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.35;
}

.venue-meta-item__body span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.venue-meta-item__body strong {
    font-size: 0.92rem;
    color: #0f172a;
    font-weight: 700;
}

/* กล่อง why this venue matters */
.venue-highlight-box {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 14px;
    padding: 18px;
    margin-bottom: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(31, 99, 255, 0.08), rgba(255, 90, 122, 0.08));
    border: 1px solid rgba(31, 99, 255, 0.10);
}

.venue-highlight-box__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #1f63ff;
    flex-shrink: 0;
    box-shadow: 0 10px 18px rgba(31, 99, 255, 0.10);
    font-size: 1rem;
}

.venue-highlight-box__body h4 {
    margin: 1px 0 7px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.venue-highlight-box__body p {
    margin: 0;
    color: #526174;
    line-height: 1.75;
    font-size: 0.94rem;
}

/* ปุ่ม */
.venue-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.venue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.venue-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #1f63ff, #0048f0);
    box-shadow: 0 16px 26px rgba(31, 99, 255, 0.24);
}

.venue-btn--primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 32px rgba(31, 99, 255, 0.32);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1199.98px) {
    .venue-map-card,
    .venue-map-card iframe {
        min-height: 500px;
    }
}

@media (max-width: 991.98px) {
    .venue-section {
        padding: 90px 0;
    }

    .venue-map-shell {
        padding-bottom: 0;
    }

    .venue-map-card,
    .venue-map-card iframe {
        min-height: 420px;
    }

    .venue-floating-card {
        position: relative;
        right: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        margin-top: 16px;
    }

    .venue-info-card {
        padding: 28px 22px 24px;
    }
}

@media (max-width: 767.98px) {
    .venue-header {
        margin-bottom: 40px;
    }

    .venue-subtitle {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .venue-map-card,
    .venue-map-card iframe {
        min-height: 340px;
        border-radius: 22px;
    }

    .venue-map-overlay {
        left: 14px;
        right: 14px;
        bottom: 14px;
        max-width: none;
        padding: 12px 13px;
        gap: 10px;
        border-radius: 16px;
    }

    .venue-map-overlay__icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .venue-highlight-box {
        flex-direction: column;
        gap: 12px;
    }

    .venue-highlight-box__icon {
        width: 44px;
        height: 44px;
    }

    .venue-actions {
        flex-direction: column;
    }

    .venue-btn {
        width: 100%;
    }
}


/* 🔥 FIX: บังคับให้ 2 ฝั่งสูงเท่ากันจริง */
.venue-row-eq {
    display: flex;
    flex-wrap: wrap;
}

.venue-col-eq {
    display: flex;
    flex-direction: column;
}

/* ให้กล่องข้างในยืดเต็ม */
.venue-col-eq > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* map shell ไม่ต้องมี padding หลอก */
.venue-map-shell {
    height: 100%;
    padding-bottom: 0; /* 🔥 ตัวปัญหา */
    display: flex;
    flex-direction: column;
}

/* map card ยืดเต็ม */
.venue-map-card {
    flex: 1;
    display: flex;
}

.venue-map-card iframe {
    flex: 1;
}

/* ฝั่งขวา */
.venue-info-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.venue-map-card {
    padding: 12px; /* 🔥 เพิ่มตรงนี้ */
}
.venue-map-card iframe {
    border-radius: 20px;
}

.venue-map-card::before {
    display: none;
}

.venue-floating-card {
    position: absolute;
}



.venue-floating-close:hover {
    background: rgba(0,0,0,0.65);
    transform: scale(1.1);
}

.venue-floating-close {
    position: absolute;
    top: 8px;
    right: 8px;

    width: 28px;
    height: 28px;
    border-radius: 50%;

    border: none;
    background: rgba(0,0,0,0.4);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px; /* 🔥 คุมขนาด */
    line-height: 1;  /* 🔥 สำคัญมาก */

    padding: 0;      /* 🔥 กัน offset แปลกๆ */
}