/* ==========================================================================
   Venue & Travel and Explore Chiang Mai (2026-11-04): the pages of
   documents/Content/Venue & Travel.docx and Explore Chiang Mai.docx, file text
   only, in the look of the other section pages (white gold-lined ground, plum
   headings, orange line icons in cream tiles, night plum for the one dark panel
   per page). Loaded after page.css by pages/venue/* and pages/explore-chiang-mai/*;
   its own file, so it stays clear of page.css edits elsewhere.
   ========================================================================== */

/* ------------------------------------------------------------- shared --- */

.page-body p a:not(.btn) { color: var(--primary-ink); font-weight: 700; text-underline-offset: 3px; }

.vt-lead { font-size: 1.28rem; font-weight: 500; line-height: 1.65; color: var(--ink); }

.vt-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #FFF1E2;
    color: var(--ember);
    box-shadow: inset 0 0 0 1px rgba(217, 154, 62, .35);
}

.vt-icon svg { width: 26px; height: 26px; }

.vt-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 26px;
    background: var(--cream);
    box-shadow: 0 40px 70px -50px rgba(73, 33, 101, .7);
}

.vt-photo img { width: 100%; height: 100%; object-fit: cover; }

.vt-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* a white card with the artwork's sunrise along its top edge (as .fact in page.css) */
.vt-address,
.vt-route,
.vt-tile,
.vt-place {
    position: relative;
    overflow: hidden;
    border: 1px solid #F3E0C6;
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 0 20px 40px -30px rgba(140, 60, 10, .5);
}

.vt-address::before,
.vt-route::before,
.vt-tile::before,
.vt-place::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFB45A, var(--secondary), var(--primary));
}

/* ---------------------------------------------- Conference Venue --- */

.vt-venue {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "text photo" "address photo";
    grid-template-rows: auto 1fr;
    gap: 32px 56px;
}

.vt-venue-text { grid-area: text; display: grid; gap: 18px; align-content: start; padding-top: 6px; }
.vt-venue-text p { font-size: 1.1rem; line-height: 1.75; color: #4A3758; }
.vt-venue-text .vt-lead { font-size: 1.3rem; color: var(--ink); }

/* the convention centre and the hotel side by side, each named under its photo (2026-11-12) */
.vt-venue-photos { grid-area: photo; align-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vt-photo-labelled { margin: 0; }
.vt-photo-labelled .vt-photo { aspect-ratio: 4 / 3; }
.vt-photo-labelled figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; line-height: 1.3; color: var(--primary-deep); }
.vt-photo-labelled figcaption::before { content: ""; flex: none; width: 18px; height: 2px; border-radius: 2px; background: var(--secondary); }

.vt-address {
    grid-area: address;
    align-self: start;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px 18px;
    padding: 28px;
}

.vt-address h2 { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vt-address address { margin-top: 6px; font-size: 1.22rem; font-style: normal; font-weight: 700; line-height: 1.5; color: var(--ink); }
.vt-address .btn { grid-column: 1 / -1; justify-self: start; }

/* -------------------------------------------------- Accommodation --- */

.vt-intro { display: grid; gap: 14px; max-width: 860px; padding: 30px 34px; border: 1px solid var(--rule); border-radius: 24px; background: var(--paper); box-shadow: 0 20px 44px -36px rgba(73, 33, 101, .5); }
.vt-intro p { font-size: 1.1rem; line-height: 1.75; color: #4A3758; }
.vt-intro .vt-lead { font-size: 1.3rem; color: var(--ink); }

/* a column per hotel: its photo card over its rate card (2026-11-12) */
.vt-hotels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; margin-top: 48px; }
.vt-hotel-col { display: grid; gap: 24px; }

.vt-hotel { position: relative; }
.vt-hotel .vt-photo { aspect-ratio: 3 / 2; }

/* the hotel's name and links in a frosted card over the foot of the photo */
.vt-hotel-card {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 22px 24px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: 0 24px 50px -30px rgba(42, 20, 56, .7);
}

.vt-hotel-card h2 { margin-bottom: 14px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; color: var(--primary-deep); }

.vt-rate-card .table-scroll { box-shadow: 0 30px 60px -48px rgba(73, 33, 101, .6); }

.vt-rate-table { width: 100%; border-collapse: collapse; font-size: 1rem; }

.vt-rate-table caption {
    padding: 20px 22px;
    border-bottom: 1px solid var(--rule);
    background: linear-gradient(160deg, #FFF8EE, #FEF1DD);
    font-size: 1.22rem;
    font-weight: 800;
    text-align: left;
    color: var(--primary-deep);
}

.vt-stars { display: inline-flex; gap: 2px; margin-left: 8px; vertical-align: 1px; color: var(--gold); }
.vt-stars svg { width: 15px; height: 15px; }

.vt-rate-table th,
.vt-rate-table td { padding: 14px 22px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }

.vt-rate-table tbody tr:last-child > * { border-bottom: 0; }

.vt-rate-table thead th {
    background: #FAF6FC;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.vt-rate-table thead th:last-child,
.vt-rate-table td { text-align: right; }

.vt-rate-table tbody th { font-weight: 600; color: var(--ink); }

.vt-rate-table td {
    font: 700 1.22rem/1.2 var(--font-display);
    letter-spacing: .01em;
    color: var(--primary-deep);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.vt-rates-note { display: flex; align-items: center; gap: 18px; margin-top: 26px; font-weight: 600; color: var(--muted); }

.vt-rates-note::before,
.vt-rates-note::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(217, 154, 62, 0), var(--gold-line)); }

.vt-rates-note::after { background: linear-gradient(90deg, var(--gold-line), rgba(217, 154, 62, 0)); }

.vt-book {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px 28px;
    margin-top: 64px;
    padding: 32px 36px;
    border: 1px solid #F6D3A8;
    border-radius: 28px;
    background: radial-gradient(120% 160% at 100% 0%, #FFF6EA 0%, #FDE3C2 70%, #FBD3A6 100%);
}

.vt-book-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: var(--paper);
    color: var(--ember);
    box-shadow: 0 12px 24px -16px rgba(140, 60, 10, .6);
}

.vt-book-icon svg { width: 32px; height: 32px; }
.vt-book h2 { font-size: 1.6rem; font-weight: 800; color: var(--primary-deep); }
.vt-book p { margin-top: 8px; font-size: 1.08rem; line-height: 1.7; color: #4A3758; }

.vt-extend { max-width: 860px; margin-top: 48px; }
.vt-extend h2 { margin-bottom: 10px; font-size: 1.5rem; font-weight: 800; color: var(--primary-deep); }
.vt-extend p { font-size: 1.1rem; line-height: 1.75; color: #4A3758; }

/* ------------------------------------- Visa and Entry Information --- */

/* as Registration Guidelines (registration.css): contents card | reading column */
.vt-guide { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }

.vt-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    flex: 1 1 260px;
    max-width: 290px;
    padding: 14px;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--paper);
}

.vt-toc ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

.vt-toc a {
    display: block;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: .97rem;
    font-weight: 600;
    line-height: 1.35;
    color: #3A2648;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.vt-toc a:hover,
.vt-toc a:focus-visible { background: var(--lavender); color: var(--primary-deep); }

.vt-main { flex: 999 1 560px; min-width: 0; }

/* every part on a white card, lined up with the Contact card (the client's edits of 2026-11-12) */
.vt-main { display: grid; gap: 20px; }
.vt-part {
    padding: 30px 32px;
    border: 1px solid var(--rule);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 0 20px 44px -36px rgba(73, 33, 101, .5);
    scroll-margin-top: 100px;
}

.vt-part h2 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-deep);
}

.vt-part h2 .vt-icon { width: 46px; height: 46px; border-radius: 14px; }
.vt-part h2 .vt-icon svg { width: 22px; height: 22px; }
.vt-part p { font-size: 1.08rem; line-height: 1.75; color: #3A2648; }
.vt-part p + p { margin-top: 12px; }
.vt-part .vt-lead { font-size: 1.2rem; color: var(--ink); }

/* the two letters, side by side */
.vt-letters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.vt-letters .vt-part { padding: 26px; }

.vt-letters .vt-part h2 { font-size: 1.3rem; }

.vt-main > .vt-contact {
    border: 0;
    background: linear-gradient(160deg, #FBF7FD, #FFF8EF);
    box-shadow: inset 0 0 0 1px var(--rule);
}

/* ------------------------------------------------- Transportation --- */

.vt-arrive { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 56px; align-items: stretch; }
.vt-arrive-text { display: grid; gap: 16px; align-content: center; padding: 34px 36px; border: 1px solid var(--rule); border-radius: 26px; background: var(--paper); box-shadow: 0 20px 44px -36px rgba(73, 33, 101, .5); }
.vt-arrive h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; color: var(--primary-deep); }
.vt-arrive p { font-size: 1.1rem; line-height: 1.75; color: #4A3758; }
.vt-arrive .vt-lead { font-size: 1.25rem; color: var(--ink); }
.vt-arrive .vt-actions { margin-top: 8px; }

.vt-map {
    min-height: 400px;
    overflow: hidden;
    border: 1px solid var(--rule);
    border-radius: 26px;
    background: var(--cream);
    box-shadow: 0 40px 70px -50px rgba(73, 33, 101, .7);
}

.vt-map iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }

.vt-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 64px; }

.vt-route { display: grid; gap: 12px; align-content: start; padding: 30px; }
.vt-route .vt-icon { margin-bottom: 6px; }
.vt-route h2 { font-size: 1.35rem; font-weight: 800; line-height: 1.25; color: var(--primary-deep); }
.vt-route p { font-size: 1.04rem; line-height: 1.7; color: #4A3758; }

/* ------------------------------------------ Practical Information --- */

.vt-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.vt-tile { display: grid; gap: 12px; align-content: start; padding: 30px; }
.vt-tile.vt-wide { grid-column: span 2; }
.vt-tile .vt-icon { margin-bottom: 6px; }
.vt-tile h2 { font-size: 1.35rem; font-weight: 800; line-height: 1.25; color: var(--primary-deep); }
.vt-tile p { font-size: 1.04rem; line-height: 1.7; color: #4A3758; }
.vt-tile b { font-weight: 800; color: var(--primary-deep); }

/* Emergency Contacts: night plum across the foot, the numbers in gold */
.vt-tile.vt-emergency {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: center;
    gap: 22px 40px;
    padding: 34px 36px;
    border: 0;
    background:
        linear-gradient(180deg, rgba(34, 16, 58, .96) 40%, rgba(34, 16, 58, .78) 100%),
        url("../images/pattern-wave.webp") right bottom / 900px auto no-repeat,
        var(--night);
    color: var(--on-dark);
}

.vt-emergency-head { display: flex; align-items: center; gap: 16px; }
.vt-emergency .vt-icon { margin: 0; background: rgba(255, 255, 255, .08); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(241, 207, 146, .4); }
.vt-emergency h2 { font-size: 1.6rem; color: #fff; }

.vt-emergency ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }

.vt-emergency li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    /* lines from the top: the taller card no longer spreads its label and number apart (2026-11-12) */
    align-content: flex-start;
    gap: 6px 12px;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(241, 207, 146, .25);
    line-height: 1.5;
}

.vt-emergency li > span:first-child { flex-basis: 100%; font-weight: 700; color: #fff; }
.vt-emergency li a { font: 700 2.5rem/1 var(--font-display); letter-spacing: .03em; color: var(--gold); text-decoration: none; }
.vt-emergency li a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* -------------------------------------------- Explore Chiang Mai --- */

.vt-opening {
    max-width: 880px;
    margin-inline: auto;
    font-size: clamp(1.25rem, 2.1vw, 1.55rem);
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    color: var(--primary-deep);
}

.vt-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }

.vt-place { display: grid; gap: 12px; align-content: start; padding: 30px; }
.vt-place .vt-icon { margin-bottom: 6px; }
.vt-place h2 { font-size: 1.32rem; font-weight: 800; line-height: 1.25; color: var(--primary-deep); }
.vt-place p { font-size: 1.02rem; line-height: 1.7; color: #4A3758; }

/* the client's video before the November Highlight (2026-11-13): YouTube's player, 16:9,
   rounded like the panel under it */
.vt-video { margin-top: 56px; }
.vt-video iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 32px;
    background: #2C1248;
    box-shadow: 0 30px 60px -40px rgba(44, 18, 72, .6);
}
/* the credit under it (2026-11-15), small and quiet */
.vt-video-credit {
    margin-top: 10px;
    text-align: right;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--muted);
}
.vt-video + .vt-festival { margin-top: 40px; }

/* the November Highlight (above the places since 2026-11-10): the artwork's lanterns hang into a night panel, the pattern wave at its foot */
.vt-festival {
    position: relative;
    overflow: hidden;
    margin-top: 56px;
    padding: 60px 360px 64px 56px;
    border-radius: 32px;
    background:
        url("../images/lanterns.webp") right 72px top -70px / 220px auto no-repeat,
        linear-gradient(180deg, #2C1248 35%, rgba(44, 18, 72, .78) 100%),
        url("../images/pattern-wave.webp") left bottom / 1100px auto no-repeat,
        #2C1248;
    color: rgba(255, 255, 255, .88);
}

.vt-festival-text { display: grid; gap: 16px; max-width: 680px; }
.vt-festival h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; color: #fff; }
.vt-festival h2 + p { margin-top: 6px; }
.vt-festival p { font-size: 1.14rem; line-height: 1.75; }

.vt-festival-note {
    margin-top: 8px;
    padding: 16px 20px;
    border-left: 3px solid var(--gold);
    border-radius: 0 14px 14px 0;
    background: rgba(255, 255, 255, .07);
    font-size: 1.02rem !important;
    color: rgba(255, 255, 255, .82);
}

.vt-note {
    display: flex;
    gap: 14px;
    max-width: 880px;
    margin: 40px auto 8px;
    padding: 18px 22px;
    border-radius: 16px;
    background: #FFF4E6;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
}

.vt-note svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--secondary-ink); }

/* --------------------------------------------------------- responsive --- */

@media (max-width: 1080px) {
    .vt-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vt-festival { padding-right: 260px; background-size: 160px auto, auto, 1100px auto; background-position: right 40px top -60px, 0 0, left bottom; }
}

@media (max-width: 960px) {
    .vt-venue { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "photo" "address"; grid-template-rows: none; }
    .vt-arrive { grid-template-columns: minmax(0, 1fr); }
    .vt-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vt-tile.vt-wide { grid-column: 1 / -1; }
    .vt-tile.vt-emergency { grid-template-columns: minmax(0, 1fr); }
    .vt-toc { position: static; max-width: none; }
}

@media (max-width: 820px) {
    .vt-hotels, .vt-letters, .vt-routes { grid-template-columns: minmax(0, 1fr); }
    .vt-book { grid-template-columns: auto minmax(0, 1fr); }
    .vt-book .btn { grid-column: 1 / -1; justify-self: start; }

    /* the photo keeps its picture; the hotel's card sits under it, overlapping its foot */
    .vt-hotel-card { position: relative; left: auto; right: auto; bottom: auto; margin: -48px 16px 0; }
}

@media (max-width: 640px) {
    .vt-lead, .vt-venue-text .vt-lead, .vt-intro .vt-lead { font-size: 1.15rem; }
    .vt-venue-text p, .vt-intro p, .vt-extend p, .vt-arrive p, .vt-part p { font-size: 1.03rem; }
    .vt-address { padding: 22px; }
    .vt-address .btn, .vt-book .btn { width: 100%; justify-self: stretch; }
    .vt-hotel-card { padding: 22px; }
    .vt-hotel-card h2 { font-size: 1.6rem; }
    .vt-hotel-card .btn { flex: 1 1 100%; }
    .vt-rate-table th, .vt-rate-table td, .vt-rate-table caption { padding-inline: 16px; }
    .vt-book { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
    .vt-book-icon { width: 56px; height: 56px; }
    .vt-part h2 { font-size: 1.4rem; }
    .vt-part, .vt-main > .vt-contact, .vt-intro, .vt-arrive-text { padding: 24px 22px; }
    .vt-map, .vt-map iframe { min-height: 300px; }
    .vt-route, .vt-tile, .vt-place { padding: 24px 22px; }
    .vt-bento, .vt-places, .vt-venue-photos { grid-template-columns: minmax(0, 1fr); }
    .vt-tile.vt-emergency { padding: 26px 22px; }
    .vt-emergency ul { grid-template-columns: minmax(0, 1fr); }
    .vt-festival { margin-top: 56px; padding: 150px 24px 36px; background-size: 110px auto, auto, 900px auto; background-position: right 24px top -70px, 0 0, left bottom; }
    .vt-video { margin-top: 40px; }
    .vt-video iframe { border-radius: 20px; }
    .vt-video + .vt-festival { margin-top: 28px; }
}

/* ------------------------------------------------------------ print --- */

@media print {
    .vt-toc, .vt-map, .vt-actions, .vt-video { display: none !important; }
    .vt-festival, .vt-tile.vt-emergency { color: #000; background: none; border: 1px solid #ccc; }
    .vt-festival h2, .vt-emergency h2, .vt-emergency li > span:first-child { color: #000; }
}
