/* ============================================================
   Destination hub — dùng chung mọi trang .dh-
   ============================================================ */

.dh-page {
    background: var(--cream);
}

.dh-page .wrap {
    width: min(1290px, calc(100% - 40px));
}

/* ----- Hero ----- */
.dh-hero {
    position: relative;
    isolation: isolate;
    min-height: min(620px, 88vh);
    overflow: hidden;
    background-color: #c9d6c8;
}

.dh-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.dh-hero-media .photo-slot,
.dh-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    object-position: center 40%;
}

.dh-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 249, 243, .88) 0%, rgba(255, 249, 243, .62) 28%, rgba(255, 249, 243, .12) 52%, transparent 68%),
    linear-gradient(180deg, rgba(255, 249, 243, .18) 0%, transparent 28%, transparent 70%, rgba(255, 249, 243, .35) 100%);
}

.dh-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    min-height: min(620px, 88vh);
    padding: 56px 0 64px;
    align-items: center;
}

.dh-pin {
    position: absolute;
    top: 50px;
    left: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--coral);
}

.dh-pin svg {
    flex-shrink: 0;
}

.dh-hero h1 {
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: clamp(44px, 6vw, 68px);
    letter-spacing: -0.03em;
    line-height: .95;
    color: var(--ink);
    margin: 0 0 0 50px !important;
}

.dh-hero h1 span {
    font-weight: 500;
    opacity: .55;
}

.dh-hero-dek {
    max-width: 38ch;
    color: #4a524a;
    font-size: 15.5px;
    line-height: 1.7;
    margin: 30px 0 0 70px !important;
}

.dh-sign {
    font-family: "Licorice", "Satisfy", cursive;
    font-size: 35px;
    color: #6a6258;
    margin: 35px 0 0 70px !important;
}

.dh-hero-note {
    justify-self: end;
    align-self: start;
    margin-top: 8vh;
    max-width: 16ch;
    transform: rotate(8deg);
    font-family: "Licorice", "Satisfy", cursive;
    font-size: 28px;
    line-height: 1.2;
    color: #3f3a32;
    text-shadow: 0 1px 0 rgba(255, 249, 243, .55);
}

.dh-hero-note small {
    display: block;
    margin-top: 6px;
    font-size: 22px;
    color: var(--teal);
}

/* ----- 3 cửa ----- */
.dh-doors {
    padding: 40px 0 20px;
}

.dh-doors-head {
    text-align: center;
    margin: 0 0 28px;
}

.dh-doors-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.dh-doors-kicker {
    margin: 0;
    font-family: "Licorice", "Satisfy", cursive;
    font-size: 26px;
    color: #7a7268;
}

.dh-doors-head h2 {
    margin: 2px 0 8px;
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: clamp(26px, 3.2vw, 36px);
    color: var(--ink);
}

.dh-doors-head p {
    margin: 0;
    color: var(--gray);
    font-size: 14.5px;
}

.dh-scrib-right {
    position: absolute;
    right: 0;
    top: -8px;
    font-family: "Licorice", cursive;
    color: var(--coral);
    font-size: 22px;
    transform: rotate(8deg);
    text-align: right;
    line-height: 1.15;
}

.dh-doors-head-wrap {
    position: relative;
}

.dh-door-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.dh-door {
    align-self: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(62, 48, 32, .05);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dh-door:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(62, 48, 32, .08);
}

.dh-door .frame {
    height: 150px;
    max-height: 150px;
    overflow: hidden;
    line-height: 0;
}

.dh-door .frame .photo-slot,
.dh-door .frame img {
    width: 100%;
    object-fit: cover;
    height: 150px !important;
    max-height: 150px !important;
}

.dh-door .body {
    display: grid;
    grid-template-columns: 44px 1fr 18px;
    gap: 12px;
    align-items: start;
    padding: 16px 16px 18px;
    flex: 1 1 auto;
}

.dh-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ink);
}

.dh-ico.pink {
    background: #f8ddd4;
    color: var(--coral-dark);
}

.dh-ico.mint {
    background: var(--soft-teal);
    color: var(--teal-dark);
}

.dh-ico.sand {
    background: #efe6d6;
    color: #6a5a48;
}

.dh-door h3 {
    margin: 0 0 4px;
    font-size: 17px;
    color: var(--ink);
    font-weight: 600;
}

.dh-door p {
    margin: 0;
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.45;
}

.dh-door .go {
    color: var(--coral);
    font-size: 16px;
    padding-top: 10px;
}

/* ----- Story ----- */
.dh-story {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--cream);
}

.dh-story .wrap {
    width: min(1200px, calc(100% - 40px));
    max-width: 1200px;
    margin-inline: auto;
}

.dh-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 36px;
    align-items: center;
}

.dh-kicker {
    margin: 0 0 6px;
    font-family: "Licorice", "Satisfy", cursive;
    font-size: 30px;
    color: #8a6a5a;
    transform: rotate(-2deg);
    letter-spacing: 0.08em;
    display: inline-block;
    width: fit-content;
    position: relative;
    z-index: 0;
}

.dh-kicker::after {
    content: "";
    position: absolute;
    left: -2%;
    bottom: 0.3em;
    z-index: -1;
    width: 104%;
    height: 0.48em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 200 16'%3E%3Cpath d='M8 5 C40 3 70 8 120 4 C150 2 175 6 194 5 L193 12 C170 13 140 9 110 12 C70 15 40 10 7 13 Z' fill='%23E97B68' fill-opacity='.32'/%3E%3Cpath d='M18 4 C50 2 90 7 140 3 C160 2 180 5 188 6 L186 11 C160 12 130 8 95 11 C60 14 35 8 16 11 Z' fill='%23E97B68' fill-opacity='.5'/%3E%3Cpath d='M52 5 C74 3 98 7 122 4 L121 11 C96 13 72 8 50 10 Z' fill='%23D46554' fill-opacity='.55'/%3E%3Cpath d='M148 4 C166 3 178 5 186 5 L185 10 C172 11 158 8 147 9 Z' fill='%23E97B68' fill-opacity='.28'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

.dh-story h2,
body.dh-page .entry-content .dh-story h2 {
    margin: -10px 0 12px !important;
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.dh-story .lede {
    max-width: 42ch;
    color: #556055;
    margin: 0 0 22px;
    font-size: 16px;
}

.dh-polaroids {
    position: relative;
    min-height: 380px;
}

.dh-polaroid {
    position: absolute;
    background: #fff;
    padding: 10px 10px 25px;
    box-shadow: 0 16px 40px rgba(40, 28, 12, .14);
    border: 1px solid #f0e6da;
}

.dh-polaroid .photo-slot,
.dh-polaroid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.dh-polaroid.one {
    width: 72%;
    left: 0;
    top: 10px;
    transform: rotate(-3deg);
    z-index: 2;
}

.dh-polaroid.two {
    width: 42%;
    right: 0;
    top: 28px;
    transform: rotate(7deg);
    z-index: 1;
    padding: 8px 8px 25px;
}

.dh-polaroid.two .photo-slot,
.dh-polaroid.two img {
    height: 200px;
}

.dh-tape {
    position: absolute;
    width: 72px;
    height: 22px;
    background: rgba(244, 214, 170, .55);
    transform: rotate(-12deg);
    top: -8px;
    left: 28%;
}

.dh-tape.b {
    left: auto;
    right: 18%;
    top: -6px;
    transform: rotate(14deg);
    background: rgba(220, 235, 231, .7);
}

.dh-sticky {
    position: absolute;
    right: 20%;
    bottom: 30px;
    z-index: 3;
    width: 132px;
    min-height: 110px;
    background: #f7f1de;
    box-shadow: 0 8px 18px rgba(40, 28, 12, .1);
    padding: 14px 12px 16px;
    transform: rotate(8deg);
    font-family: "Licorice", cursive;
    font-size: 22px;
    line-height: 1.15;
    color: #3f3a32;
}

/* ----- Pair ----- */

.dh-pair {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--cream);
    padding-bottom: 20px;
}

.dh-pair .wrap {
    width: min(1600px, calc(100% - 40px));
    max-width: 1600px;
    margin-inline: auto;
}

.dh-pair-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5px;
    padding-top: 20px;
    align-items: stretch;
}

.dh-pair:has(.dh-stay-one) .dh-pair-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

.dh-pair:has(.dh-stay-multi) .dh-pair-grid {
    grid-template-columns: minmax(0, 40%) minmax(0, 60%) !important;
}

.dh-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(62, 48, 32, .04);
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dh-card-split,
.dh-plan .dh-card-split,
.dh-card-split.stay-multi,
.dh-card-split.stay-one {
    display: grid !important;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%) !important;
    gap: 16px;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
}

.dh-card-photo,
.dh-plan .dh-card-photo,
.dh-stay-multi .dh-card-photo,
.dh-stay-one .dh-card-photo {
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
    min-height: 0;
    height: auto;
    align-self: stretch;
    position: relative;
}

.dh-plan .dh-card-photo,
.dh-stay-multi .dh-card-photo {
    /*aspect-ratio: 3 / 4;*/
    /*min-height: 240px;*/
}

.dh-card-photo img,
.dh-plan .dh-card-photo img,
.dh-stay-multi .dh-card-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    object-fit: cover;
    display: block;
}

.dh-card-copy,
.dh-plan .dh-card-copy,
.dh-stay-multi .dh-card-copy,
.dh-stay-one .dh-card-copy {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 4px 8px 4px 16px;
    background: #fff;
    position: relative;
    z-index: 1;
    height: max-content;
}

.dh-stay-multi .dh-card-copy {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

.dh-stay-multi .btn,
.dh-stay-multi .btn-ghost,
.dh-stay-multi .dh-card .btn {
    margin-top: 8px !important;
}

.dh-card .btn,
.dh-plan .btn,
.dh-stay-multi .btn,
.dh-stay-one .btn {
    margin-top: 8px !important;
}

.dh-plan .dh-meta {
    margin-bottom: 8px;
}

.dh-stay-multi .dh-card-split {
    align-items: stretch;
}

.dh-stay-multi .dh-card-photo {
    height: auto;
    align-self: stretch;
}

.dh-plan .btn {
    margin-top: 4px !important;
}

.dh-stay-multi .dh-thumb-cap {
    margin: 0 0 6px;
}

.dh-card-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dh-stay-multi .dh-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 8px;
}

.dh-stay-one .dh-thumbs {
    display: none;
}

.dh-badge {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 15px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #f3eee4;
    color: #6a5a48;
}

.dh-badge.plan {
    background: #efe6d6;
}

.dh-badge.stay {
    background: var(--soft-teal);
    color: var(--teal-dark);
}

.dh-card h3 {
    margin: 0 0 8px;
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    color: var(--ink);
}

.dh-card .dh-badge + h3,
.dh-card-copy h3 {
    margin-top: 0 !important;
}

.dh-card .sum {
    margin: 0 0 14px;
    color: #5c635c;
    font-size: 14.5px;
}

.dh-meta {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    color: #5c635c;
    font-size: 13.5px;
}

.dh-meta li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 6px;
}

.dh-meta svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gray);
}

.dh-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 10px;
}

.dh-thumbs .photo-slot,
.dh-thumbs img {
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
    width: 100%;
}

.dh-thumb-cap {
    margin: 0 0 14px;
    font-size: 12.5px;
    color: var(--gray);
}

.dh-card .btn {
    align-self: flex-start;
    margin-top: 8px;
}

.btn-ghost {
    background: transparent;
    color: var(--coral);
    border: 1px solid #f0c8be;
    padding: 9px 16px;
}

.btn-ghost:hover {
    background: var(--blush);
}

.dh-post-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.dh-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    background: #fff;
    border: 1px solid #efe6da;
    border-radius: 18px;
    padding: 10px 10px 12px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(62, 48, 32, .04);
}

.dh-post .thumb {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 12px;
    background: #efe8dc;
}

.dh-post .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dh-post .tag {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f8e4dc;
    color: #c46a58;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
}

.dh-post[data-kind="plan"] .tag {
    background: #efe6d6;
    color: #6a5a48;
}

.dh-post[data-kind="stay"] .tag {
    background: #e4f0ee;
    color: #3f6f6c;
}

.dh-post h3 {
    margin: 0 0 14px;
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    color: #2c4548;
}

.dh-post .meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #8a847c;
}

.dh-more {
    padding: 36px 0 20px;
}

.dh-more-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dh-more-head h2 {
    margin: 0 0 4px;
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink);
}

.dh-more-head p {
    margin: 0;
    color: var(--gray);
    font-size: 14.5px;
}

.dh-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dh-filters button {
    border: 1px solid var(--line);
    background: #fff;
    color: #4a524a;
    border-radius: 999px;
    padding: 7px 14px;
    font: 600 13px "Be Vietnam Pro", Inter, sans-serif;
    cursor: pointer;
}

.dh-filters button.is-on {
    background: var(--coral);
    border-color: var(--coral);
    color: #fff;
}

.dh-post.is-off {
    display: none;
}

.dh-aside-hand {
    font-family: "Licorice", cursive;
    font-size: 26px;
    color: #6a6258;
    transform: rotate(6deg);
    padding: 28px 8px 0;
    line-height: 1.15;
}

/*
Next section
 */
.dh-next {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    /*background: var(--cream);*/
    overflow: hidden;
    position: relative;
    padding: 40px 0 0;
}

.dh-next .wrap {
    width: min(1200px, calc(100% - 40px));
    max-width: 1200px;
    margin-inline: auto;
}

.dh-next-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.dh-next-head 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);
}

.dh-next-head h2,
body.dh-page .entry-content .dh-next-head h2 {
    margin: -5px 0 10px !important;
    padding: 0 !important;
    line-height: 1.05;
}

.dh-next-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 20px;
}

.dh-next-card {
    position: relative;
    display: block;
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.dh-next-card img,
.dh-next-card .photo-slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-next-card .shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 24, 20, .18) 0%, rgba(20, 24, 20, .05) 38%, rgba(12, 16, 14, .72) 100%);
}

.dh-next-card .body {
    position: absolute;
    left: 18px;
    right: 18px;
    /*bottom: 18px;*/
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    top: calc(100% - 150px);
    bottom: auto !important;
}

.dh-next-card strong {
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    font-weight: 500;
    font-size: 28px;
    letter-spacing: .04em;
    display: block;
}

.dh-next-card .line {
    grid-column: 1;
    margin-top: 6px;
    max-width: 30ch;
    font-size: 14px;
    min-height: 2.8em;
    line-height: 1.4;
}

.dh-next-card .go {
    grid-column: 2;
    grid-row: 3;
    font-size: 18px;
    background: #efe6d6;
    color: #6a5a48;
    border-radius: 50%;
    place-items: center;
    justify-self: end;
    display: grid;
    line-height: 1;
    width: 36px;
    height: 36px;
}

.dh-next-all {
    margin: 28px 0 0;
    text-align: center;
}

.dh-next-all .btn {
    display: inline-flex;
}

@media (max-width: 980px) {
    .dh-hero-inner,
    .dh-door-grid,
    .dh-story-grid,
    .dh-post-grid,
    .dh-next-inner,
    .dh-more-head {
        grid-template-columns: 1fr;
    }

    .dh-hero-note {
        justify-self: start;
        margin: 12px 0 0;
    }

    .dh-polaroids {
        min-height: 280px;
    }

    .dh-polaroid.one {
        width: 78%;
    }

    .dh-scrib-right {
        position: static;
        display: block;
        text-align: center;
        transform: none;
        margin-top: 8px;
    }

    .dh-next-inner {
        justify-items: start;
        gap: 12px;
    }

    .dh-next-hand {
        justify-self: start;
    }

    .dh-post-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dh-next-grid {
        grid-template-columns: 1fr;
    }

    .dh-next-card {
        min-height: 320px;
    }

    .dh-next-scribble {
        display: none;
    }
}

@media (max-width: 720px) {
    .dh-pair-grid,
    .dh-card-split,
    .dh-card-split.stay-multi,
    .dh-plan .dh-card-split {
        grid-template-columns: 1fr !important;
    }

    .dh-card-copy {
        padding: 12px 0 0;
    }

    .dh-next-grid {
        grid-template-columns: 1fr;
    }

    .dh-next-card {
        min-height: 320px;
    }

    .dh-next-scribble {
        display: none;
    }
}