/* Homepage composition based on the owner's supplied reference.
   Shared navigation/footer retain the same identity across detail pages. */
:root {
    --ink: #101d3c;
    --muted: #596b89;
    --teal: #0086a4;
    --teal-dark: #006780;
    --line: #e7edf5;
    --paper: #fff;
    --mint: #edf7fc;
    --shadow: 0 5px 18px #243e6510;
    --container: 1280px;
}
.site-header { height: 78px; background: #fffffff5; border-color: #edf1f6; }
.brand strong, .brand-light { font-weight: 700; }
.brand small, .footer-main .brand small { font-size: 13px; font-weight: 500; letter-spacing: 0; }
.header-inner { gap: 24px; }
.primary-nav, .primary-nav>ul { gap: 28px; }
.button { border-radius: 24px; background: linear-gradient(110deg, #007c9a, #0096b0); }
.button:hover { background: #006c86; }
.button-light, .button-white { background: #fff; color: var(--teal-dark); }
.button-light:hover, .button-white:hover { background: #edf8fc; }
.header-trip { min-height: 44px; border-radius: 18px; }
.guide-home h1, .guide-home h2 { font-family: var(--font-body); font-weight: 700; }
.guide-home h2, .guide-home .section-heading h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.6px; }
.guide-home .section { padding-block: 20px; }
.guide-home .section-heading { gap: 20px; margin-bottom: 18px; }
.guide-home .section-heading p:not(.eyebrow) { font-size: 16px; margin-top: 3px; line-height: 1.5; }
.guide-home .section-heading>.text-link { flex-shrink: 0; font-size: 14px; }
.guide-home .hero { min-height: 515px; display: block; }
.guide-home .hero-image { object-position: center 57%; }
.guide-home .hero-shade {
    background: linear-gradient(0deg, #fff 0%, #ffffff00 13%), linear-gradient(90deg, #002f49a8, #002c4510 80%);
}
.guide-home .hero-content { padding: 36px 0 42px; }
.guide-home .hero-kicker { font-size: 17px; letter-spacing: 1.5px; margin: 0 0 2px; color: #fff; }
.guide-home .hero h1 { font-size: clamp(56px, 5.3vw, 76px); line-height: 1.12; max-width: 780px; letter-spacing: -.8px; text-wrap: initial; text-shadow: 0 2px 15px #002a4033; }
.guide-home .hero h1 span { display: block; font-size: .65em; margin-top: 2px; }
.guide-home .hero-description { color: #fff; font-size: 19px; line-height: 1.5; max-width: 680px; margin-top: 10px; text-shadow: 0 1px 8px #002a40; }
.guide-home .hero-search { width: min(800px, 100%); margin: 25px auto 20px; border-radius: 40px; padding: 5px 6px 5px 18px; gap: 12px; }
.guide-home .hero-search input { height: 44px; }
.guide-home .hero-search .button { min-width: 142px; min-height: 44px; border-radius: 28px; padding: 8px 20px; }
.guide-home .quick-actions { width: min(960px, 100%); margin: 0 auto; gap: 20px; background: none; border: 0; box-shadow: none; }
.guide-home .quick-action { padding: 22px 18px; gap: 12px; background: #fffffff7; border: 1px solid #fff; border-radius: 17px; box-shadow: 0 8px 24px #00314926; color: var(--ink); }
.guide-home .quick-action:hover { background: #edfaff; transform: translateY(-2px); }
.guide-home .quick-action+.quick-action:before { display: none; }
.guide-home .quick-action strong { font-size: 18px; }
.guide-home .quick-action small { font-size: 13px; }
.guide-home .action-icon { background: none; width: 38px; height: 38px; }
.guide-home .action-icon .icon { width: 30px; height: 30px; }
.guide-home .mint { color: #f4a200; }
.guide-home .sand { color: #008fb9; }
.guide-home .lavender { color: #fa593d; }
.guide-home .personalization { border: 0; padding-top: 8px; }
.guide-home .personalization-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-home .personalization-grid fieldset { position: relative; padding: 42px 14px 14px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.guide-home .personalization-grid legend { position: absolute; top: 12px; left: 16px; right: 12px; margin: 0; font-size: 16px; font-weight: 700; }
.guide-home .chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.guide-home .chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; white-space: normal; min-height: 86px; padding: 9px 3px; border: 1px solid transparent; background: #f0f6fd; border-radius: 12px; color: var(--ink); font-size: 13px; line-height: 1.35; }
.guide-home .chip .icon { width: 28px; height: 28px; color: #0069c9; }
.guide-home [data-group="company"]:nth-child(1) { background: #fcf3fb; }
.guide-home [data-group="company"]:nth-child(1) .icon { color: #e44ca2; }
.guide-home [data-group="company"]:nth-child(2) .icon { color: #00a58d; }
.guide-home [data-group="company"]:nth-child(4), .guide-home [data-value="check-in"] { background: #f6f1ff; }
.guide-home [data-group="company"]:nth-child(4) .icon, .guide-home [data-value="check-in"] .icon { color: #9c4de9; }
.guide-home [data-value="an-uong"] .icon { color: #f18a00; }
.guide-home .chip:hover { border-color: #88c2dc; }
.guide-home .chip[aria-pressed="true"] { border-color: var(--teal); background: #def3fb; box-shadow: inset 0 0 0 1px var(--teal); color: #005d76; }
.guide-home .place-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.guide-home .place-card { border-radius: 12px; box-shadow: var(--shadow); }
.guide-home .place-card__image { aspect-ratio: 1.55; }
.guide-home .image-tag { top: 10px; left: 10px; font-size: 12px; padding: 4px 10px; border: 1px solid white; border-radius: 20px; background: #0087a7d9; color: #fff; }
.guide-home .place-card__body { padding: 12px 13px; gap: 5px; }
.guide-home .place-card h3 { order: -1; font-size: 18px; line-height: 1.4; letter-spacing: -.25px; }
.guide-home .place-card__body .eyebrow { margin: 0; font-size: 14px; line-height: 1.5; }
.guide-home .card-description { display: none; }
.guide-home .card-bottom { border: 0; padding: 2px 0 0; margin: auto 0 0; }
.guide-home .card-bottom>span { font-size: 13px; }
.guide-home .card-bottom>.icon, .guide-home .card-bottom>.arrow-glyph { display: none; }
.home-utilities { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; margin-block: 12px; align-items: start; }
.guide-home .nearby-section, .today-panel { min-width: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.guide-home .nearby-section { padding: 16px; margin: 0; background: linear-gradient(#f1f9ff, #fff); }
.map-heading>p, #today-date { font-size: 16px; }
.map-categories { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.map-filter { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 22px; min-height: 38px; padding: 6px 12px; font-size: 13px; }
.map-filter .icon { width: 16px; height: 16px; color: var(--teal); }
.map-filter[aria-pressed="true"] { color: white; background: var(--teal); border-color: var(--teal); }
.map-filter[aria-pressed="true"] .icon { color: white; }
.map-view { position: relative; background: #d7eff7; height: 235px; border-radius: 10px; overflow: hidden; }
#nearby-map { width: 100%; height: 100%; background: #d7eff7; z-index: 0; font-family: var(--font-body); }
.map-status { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(340px, 75%); padding: 14px; border-radius: 12px; background: #fffffff0; text-align: center; font-size: 14px; pointer-events: none; z-index: 1; }
.map-external { position: absolute; z-index: 2; bottom: 28px; left: 10px; display: flex; align-items: center; gap: 8px; background: white; color: #006b85; padding: 5px 12px; border-radius: 20px; font-size: 13px; box-shadow: var(--shadow); }
.map-external .icon { width: 16px; }
.map-controls { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.guide-home .area-form { margin: 0; flex: 1; max-width: 360px; min-width: 0; }
.guide-home .area-form select { width: 100%; min-height: 42px; padding: 8px 10px; font-size: 16px; border-color: var(--line); }
.map-controls .button { min-height: 42px; padding: 8px 14px; font-size: 14px; }
#nearby-message { font-size: 14px; line-height: 1.5; margin-top: 10px; }
.guide-home .nearby-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.guide-home .nearby-item { border: 0; padding: 8px 0 0; gap: 9px; align-items: start; min-width: 0; }
.guide-home .nearby-item img { width: 58px; height: 58px; border-radius: 7px; }
.guide-home .nearby-item strong { font-size: 15px; }
.guide-home .nearby-item small { font-size: 13px; margin-top: 2px; }
.guide-home .nearby-item>.icon, .guide-home .nearby-item>.arrow-glyph { display: none; }
.today-panel { padding: 18px; }
.home-weather { display: flex; align-items: center; gap: 12px; margin-top: 18px; min-height: 86px; flex-wrap: wrap; }
.weather-symbol .icon { width: 48px; height: 48px; color: #f6ab00; }
.weather-symbol { display: none; }
.home-weather[data-condition="clear"] .weather-symbol { display: block; }
#weather-temperature { font-size: 39px; line-height: 1.2; letter-spacing: -1px; }
#weather-description { font-size: 14px; }
.home-weather dl { margin: 0 0 0 auto; padding-left: 16px; border-left: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.home-weather dl>div { display: flex; gap: 6px; }
.home-weather dd { margin: 0; }
.weather-credit { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 8px 0 18px; color: var(--muted); font-size: 12px; }
.weather-credit a { text-decoration: underline; text-underline-offset: 3px; }
.weather-credit .text-link { padding: 0; font-size: 14px; }
.day-suggestions { padding: 12px 10px 4px; border-radius: 12px; background: #f0f6fe; }
.day-suggestions h3 { font-size: 16px; line-height: 1.4; }
.day-note { font-size: 13px; margin-top: 4px; }
.day-suggestions>a { display: flex; gap: 12px; padding: 12px 6px; margin-top: 4px; border-radius: 8px; background: #ffffffc7; }
.day-suggestions>a:hover { background: #fff; }
.day-icon { display: flex; flex-direction: column; align-items: center; flex: 0 0 38px; color: var(--teal); }
.day-suggestions>a:first-of-type .day-icon { color: #e99800; }
.day-suggestions strong { display: block; font-size: 15px; line-height: 1.4; }
.day-suggestions small { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.today-cta { display: flex; width: fit-content; margin: 14px auto 0; padding: 7px 15px; min-height: 38px; font-size: 14px; border-color: #a9d8ed; }
.guide-home .trip-grid { gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-home .trip-card { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 14px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.guide-home .trip-card__image { aspect-ratio: auto; min-height: 165px; border-radius: 8px; }
.guide-home .trip-card .image-tag, .guide-home .trip-number { display: none; }
.guide-home .trip-card__body { min-width: 0; padding: 6px 7px 6px 0; flex-wrap: wrap; gap: 8px; align-content: space-between; }
.guide-home .trip-card__body>div { flex: 1 0 100%; }
.guide-home .trip-card h3 { font-size: 18px; line-height: 1.4; }
.guide-home .trip-card p { font-size: 14px; }
.guide-home .trip-card .circle-link { width: auto; height: 34px; gap: 6px; border-radius: 20px; background: var(--teal); color: #fff; padding: 5px 12px; border: 0; font-size: 13px; display: inline-flex; }
.guide-home .trip-card .circle-link:before { content: "Xem lịch trình"; }
.guide-home .article-grid { gap: 16px; }
.guide-home .article-card { display: grid; grid-template-columns: 31% minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 5px 12px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.guide-home .article-card__image { grid-row: 1 / 3; height: 100%; min-height: 110px; aspect-ratio: auto; border-radius: 6px; }
.guide-home .article-card .eyebrow { margin: 2px 0 0; font-size: 10px; letter-spacing: 0; gap: 4px; }
.guide-home .article-card .eyebrow span { font-size: 12px; }
.guide-home .article-card h3 { font-size: 16px; line-height: 1.4; }
.guide-home .article-card .text-link { display: none; }
.guide-home .preview-note { font-size: 12px; margin-top: 5px; }
.site-footer { margin-top: 22px; background: #00233c; color: white; border: 0; }
.footer-main { gap: 40px; padding-block: 30px; grid-template-columns: 1.5fr 1fr 1fr; }
.footer-main .brand-mark { color: #fff; }
.footer-main .brand small, .footer-brand>p, .footer-main>div:not(:first-child)>a, .footer-main li>a { color: #d7e5f0; }
.footer-main h2 { font-size: 16px; margin-bottom: 10px; color: #fff; }
.footer-main>div:not(:first-child)>a { font-size: 14px; margin-block: 5px; }
.footer-brand>p { font-size: 14px; max-width: 340px; }
.footer-main a:hover { color: #7fe2f3; }
.footer-bottom { color: #d5e3ee; border-color: #ffffff1c; font-size: 13px; padding-block: 16px; }
.footer-bottom .icon { color: #8be1ef; }
@media (max-width: 1150px) {
    .primary-nav, .primary-nav>ul { gap: 18px; }
    .guide-home .personalization-grid { gap: 12px; }
    .guide-home .personalization-grid fieldset { padding-inline: 10px; }
    .guide-home .personalization-grid legend { font-size: 14px; left: 12px; }
    .guide-home .chips { gap: 5px; }
    .guide-home .chip { font-size: 12px; }
    .guide-home .place-grid { gap: 12px; }
    .guide-home .place-card h3 { font-size: 17px; }
    .home-utilities { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
    .guide-home .trip-grid { gap: 12px; }
    .guide-home .trip-card { gap: 10px; }
}
@media (max-width: 900px) {
    .site-header { height: 72px; }
    .guide-home .hero { min-height: 0; }
    .guide-home .hero-content { padding-block: 32px 40px; }
    .guide-home .quick-actions { gap: 12px; }
    .guide-home .quick-action { padding: 18px 10px; gap: 8px; }
    .guide-home .quick-action strong { font-size: 16px; }
    .guide-home .quick-action small { font-size: 12px; }
    .guide-home .personalization-grid { grid-template-columns: 1fr 1fr; }
    .guide-home .personalization-grid fieldset:last-child { grid-column: 1/-1; }
    .guide-home .personalization-grid legend { font-size: 16px; }
    .guide-home .chip { font-size: 14px; }
    .guide-home .place-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .home-utilities { grid-template-columns: 1fr; }
    .today-panel { padding: 20px; }
    .home-weather dl { margin-left: 20px; }
    .day-suggestions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .day-suggestions h3, .day-note { grid-column: 1/-1; }
    .day-suggestions>a { flex-direction: column; margin: 0; }
    .day-icon { flex: initial; flex-direction: row; gap: 8px; }
    .guide-home .trip-grid { grid-template-columns: 1fr; }
    .guide-home .trip-card { grid-template-columns: 150px minmax(0, 1fr); }
    .guide-home .trip-card__image { min-height: 150px; }
    .guide-home .trip-card__body { align-content: center; gap: 12px; }
    .guide-home .article-grid { grid-template-columns: 1fr; }
    .guide-home .article-card { grid-template-columns: 140px minmax(0, 1fr); align-items: center; }
    .guide-home .article-card h3 { font-size: 19px; align-self: start; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .site-header { height: 68px; }
    .brand strong { font-size: 17px; }
    .brand small { font-size: 11px; }
    .guide-home .hero-content { padding-block: 28px 35px; }
    .guide-home .hero h1 { font-size: clamp(45px, 12vw, 68px); }
    .guide-home .hero h1 span { font-size: .57em; line-height: 1.25; }
    .guide-home .hero-kicker { font-size: 14px; margin-bottom: 6px; }
    .guide-home .hero-description { font-size: 16px; margin-top: 12px; }
    .guide-home .hero-image { object-position: 59% center; }
    .guide-home .hero-search { margin-top: 24px; gap: 8px; padding-left: 13px; }
    .guide-home .hero-search input { font-size: 16px; }
    .guide-home .hero-search .button { min-width: 44px; width: 44px; font-size: 0; padding: 10px; }
    .guide-home .quick-actions { gap: 8px; }
    .guide-home .quick-action { flex-direction: column; text-align: center; align-items: center; padding: 14px 6px; border-radius: 12px; gap: 8px; }
    .guide-home .quick-action strong { font-size: 14px; line-height: 1.4; }
    .guide-home .quick-action small { display: none; }
    .guide-home .action-icon .icon { width: 26px; height: 26px; }
    .guide-home .section { padding-block: 18px; }
    .guide-home h2, .guide-home .section-heading h2 { font-size: 25px; }
    .guide-home .section-heading { gap: 8px; margin-bottom: 14px; }
    .guide-home .personalization-grid { grid-template-columns: 1fr; gap: 12px; }
    .guide-home .personalization-grid fieldset:last-child { grid-column: auto; }
    .guide-home .chip { font-size: 13px; }
    .guide-home .place-grid { grid-template-columns: 1fr; gap: 18px; }
    .guide-home .place-card__image { aspect-ratio: 1.8; }
    .guide-home .place-card__body { padding: 14px 16px; }
    .guide-home .place-card h3 { font-size: 21px; }
    .guide-home .card-bottom>span { font-size: 14px; }
    .guide-home .image-tag { font-size: 13px; }
    .guide-home .nearby-section, .today-panel { padding: 14px; }
    .map-controls { flex-wrap: wrap; }
    .map-controls .area-form { flex-basis: 100%; max-width: none; }
    .guide-home .nearby-results { grid-template-columns: 1fr; }
    .guide-home .nearby-item strong { font-size: 16px; }
    .day-suggestions { display: block; }
    .day-suggestions>a { flex-direction: row; margin-top: 6px; }
    .day-icon { flex-direction: column; flex-basis: 38px; gap: 0; }
    .home-weather { gap: 10px; }
    .home-weather dl { margin-left: 0; }
    .guide-home .trip-card { grid-template-columns: 34% minmax(0, 1fr); gap: 12px; }
    .guide-home .trip-card h3 { font-size: 18px; }
    .guide-home .article-card { grid-template-columns: 30% minmax(0, 1fr); }
    .guide-home .article-card h3 { font-size: 17px; }
    .footer-main { gap: 24px 18px; }
    .footer-main .brand strong { font-size: 19px; }
}
