/* ============================================================
   Destination index — HERO (bản boutique, tinh)
   File: diem-den-index-hero.css
   WP: Additional CSS, sau site.css.
   Prefix .di-
   Một dòng chữ + một khung ảnh. Không chip, không dải số, không nút kép.
   Ảnh: dán media thật vào .di-frame img. Slot chỉ để preview.
   ============================================================ */

.di-hero {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    height: auto;
    overflow: hidden;
    padding-bottom: 40px;
}

.di-hero-bg {
    display: block;
    width: 100vw;
    height: auto;
}

.di-hero-inner {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    padding: 72px clamp(24px, 5vw, 72px);
}

.di-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.di-hero-inner,
.di-rule {
    position: relative;
    z-index: 1;
}

body .entry-content > .di-hero,
body #inner-wrap .di-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0 !important;
}

.di-hero *,
.di-hero *::before,
.di-hero *::after {
    box-sizing: border-box;
}

.di-hero-inner {
    position: absolute !important;
    inset: 0;
    z-index: 2;
    display: grid;
    align-items: start;
    padding: 100px clamp(24px, 5vw, 72px) 72px;
}

.di-hero h1 {
    margin: 0;
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    font-weight: 500;
    font-size: clamp(36px, 4.2vw, 50px) !important;
    line-height: 1.3;
    letter-spacing: .035em;
    color: #243028;
}

.di-hero h1 em {
    font-style: italic;
    font-weight: 500;
    color: #4f7f7c;
}

.di-dek {
    max-width: 50ch;
    margin: 20px 0 0 18px;
    font-size: 16px;
    line-height: 1.75;
    color: #6d675f;
    padding-top: 20px !important;
}

.dest-hub {
    font-family: Inter, system-ui, sans-serif;
    color: #3d3a36;
    max-width: none;
    box-sizing: border-box;
    margin-bottom: 0;
}

.dest-hub *,
.dest-hub *::before,
.dest-hub *::after {
    box-sizing: border-box;
}

.dest-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

.dest-right {
    min-width: 0;
}

.dest-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 16px;
}

.dest-side,
.dest-select,
.dest-search {
    border: 1px solid #e6d7c8;
    background: #fff;
}

.dest-select,
.dest-search {
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.dest-select select,
.dest-search input {
    border: 0;
    width: 100%;
    background: transparent;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    outline: none;
    color: #3d3a36;
}

.dest-search {
    background: #f7efe8;
}

.dest-side {
    padding: 18px 16px 12px;
}

.dest-side h4 {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: .12em;
    color: #8a7b6c;
    font-weight: 500;
}

.dest-side a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    text-decoration: none;
    color: #3d3a36;
    font-size: 13px;
    letter-spacing: .06em;
}

.dest-side a:hover {
    color: #b08968;
}

.dest-num-list {
    width: 18px;
    color: #b08968;
}

.dest-diamond {
    width: 14px;
    height: 14px;
    background: #e8d5c4;
    transform: rotate(45deg);
    flex: 0 0 14px;
}

.dest-stamp {
    margin-top: 18px;
    width: 210px;
    border: 1px dashed #cbb7a4;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #7d6a58;
    margin-left: auto;
    margin-right: auto;
}

.dest-stamp small {
    letter-spacing: .12em;
    font-size: 10px;
    padding-bottom: 10px
}

.dest-stamp a {
    text-decoration: none;
}

.dest-stamp a strong {
    margin-top: 8px;
    border: 1px solid #cbb7a4;
    padding: 8px 18px;
    font-size: 14px;
    letter-spacing: .08em;
}

.dest-map {
    position: relative;
    min-height: 720px;
    width: 100%;
    background: #fbf8f4 url("/wp-content/uploads/2026/09/8c9624cd617dfd30f7e8704f8beb7a29.png") center / contain no-repeat;
    padding-bottom: 10px;
}

.dest-pin {
    position: absolute;
    width: 28px;
    height: 28px;
    text-align: center;
    text-decoration: none;
    color: #5c4a3a;
    z-index: 2;
}

.dest-pin .pin {
    width: 28px;
    height: 28px;
    border-radius: 50% 50% 50% 0;
    background: #e4cbb8;
    transform: rotate(-45deg);
    box-shadow: 0 6px 14px rgba(80, 60, 40, .16);
    display: grid;
    place-items: center;
}

.dest-pin .pin span {
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 600;
}

.dest-pin .dest-name {
    position: absolute;
    left: 50%;
    top: 34px;
    transform: translateX(-50%);
    white-space: nowrap;
    width: max-content;
    font-size: 11px;
    letter-spacing: .06em;
    color: #8a7b6c;
    font-weight: 500;
}

.dest-badge {
    position: absolute;
    right: -14px;
    left: auto;
    top: 42%;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e4cbb8;
    color: #5c4a3a;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dest-pin .card {
    position: absolute;
    left: 36px;
    top: -20px;
    width: 168px;
    padding: 8px;
    background: #fff;
    border: 1px solid #f0e6da;
    box-shadow: 0 12px 28px rgba(40, 28, 12, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
    z-index: 5;
}

.dest-pin:hover,
.dest-pin:focus-within,
.dest-pin.is-on {
    z-index: 6;
}

.dest-pin:hover .card,
.dest-pin:focus-within .card,
.dest-pin.is-on .card {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dest-pin .card img,
.dest-pin img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    display: block;
    border: 0;
    box-shadow: none;
}

.dest-pin .card .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.dest-pin .card b,
.dest-pin b {
    display: block;
    margin: 0;
    font-size: 12px;
    letter-spacing: .04em;
    font-weight: 600;
    color: #3d3a36;
    text-align: left;
}

.dest-pin .go {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e4cbb8;
    color: #5c4a3a;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    font-size: 14px;
}

/*
    Destination grid
 */
.pop-dest {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.pop-dest h2 {
    margin: 0 0 10px;
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: clamp(28px, 3.4vw, 40px);
    color: var(--ink);
}

.pop-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 28px;
}

.pop-card {
    display: block;
    text-decoration: none;
    border: 1px solid #eee6dc;
    padding: 14px;
    background: #fff;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.pop-card figure {
    position: relative;
    margin: 0;
    overflow: hidden
}

.pop-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .5s ease, filter .5s ease;
}

.pop-card figcaption {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    min-width: 58%;
    background: #c9b59a;
    color: #fff;
    letter-spacing: .16em;
    font-size: 13px;
    padding: 10px 16px;
    text-align: center;
    transition: background .35s ease, transform .35s ease;
}

.pop-card figcaption::after {
    content: "♦";
    display: block;
    margin-top: 8px;
    color: #c9b59a;
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    font-size: 10px;
    transition: color .35s ease;
}

.pop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(80, 60, 40, .12);
    border-color: #e0d2c3;
}

.pop-card:hover img {
    transform: scale(1.07);
    filter: brightness(.92);
}

.pop-card:hover figcaption {
    background: #3f3a34;
    transform: translateX(-50%) translateY(-4px);
}

.pop-card:hover figcaption::after {
    color: #3f3a34;
}

.pop-dest {
    margin-bottom: 0 !important;
    padding-bottom: 40px !important;
}

.entry-content,
.content-area,
#inner-wrap {
    padding-bottom: 0;
    margin-bottom: 0;
}

.site-footer,
footer.site-footer {
    margin-top: 0;
}

@media (max-width: 900px) {
    .dest-layout,
    .dest-top {
        grid-template-columns: 1fr;
    }

    .dest-map {
        min-height: auto;
        background: #fbf8f4 url("/wp-content/uploads/2026/09/8c9624cd617dfd30f7e8704f8beb7a29.png") center top / contain no-repeat;
        display: block;
        min-height: 640px;
    }

    .dest-pin {
        position: absolute;
        width: 28px;
        height: 28px;
    }

    .dest-pin .card {
        left: 34px;
        width: 140px;
    }

    .pop-grid {
        grid-template-columns:1fr
    }

    .di-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        width: min(1080px, calc(100% - 40px));
        padding: 56px 0 48px;
        align-items: start;
    }
}