:root {
    --hp-blue: #2563eb;
    --hp-green: #16a34a;
    --hp-orange: #ea580c;
    --hp-teal: #0f766e;
    --hp-ink: #182230;
    --hp-muted: #667085;
    --hp-line: #e3e9ec;
    --hp-bg: #f6f8f8;
}

.hp-page {
    color: var(--hp-ink);
    background: var(--hp-bg);
}

.hp-main {
    min-height: 760px;
    padding-top: 79px;
}

.hp-page .portal-button, .hp-page .portal-input, .hp-page .portal-select, .hp-page .portal-textarea, .hp-page .portal-field label {
    font-size: 14px;
}

.hp-page .portal-textarea {
    line-height: 23px;
}

.hp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 18px 0px;
    color: rgb(100, 116, 139);
    font-size: 13px;
}

.hp-breadcrumb i {
    color: rgb(185, 196, 202);
    font-size: 11px;
}

.hp-breadcrumb a:hover {
    color: var(--hp-teal);
}

.hp-hero {
    color: rgb(255, 255, 255);
    background: linear-gradient(118deg, rgb(16, 76, 99), rgb(18, 111, 117) 60%, rgb(20, 132, 123));
}

.hp-hero .content-container {
    padding-top: 44px;
    padding-bottom: 44px;
}

.hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgb(198, 244, 237);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.hp-hero h1 {
    margin: 9px 0px;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: -0.7px;
}

.hp-hero p {
    max-width: 760px;
    margin: 0px;
    color: rgb(219, 246, 242);
    font-size: 15px;
    line-height: 25px;
}

.hp-content {
    padding: 42px 0px 70px;
}

.hp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.hp-section-head h2 {
    margin: 0px 0px 5px;
    font-size: 24px;
    font-weight: 700;
}

.hp-section-head p {
    margin: 0px;
    color: var(--hp-muted);
    font-size: 14px;
    line-height: 22px;
}

.hp-layout {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) 320px;
    align-items: start;
    gap: 26px;
}

.hp-layout-wide {
    display: grid;
    grid-template-columns: 245px minmax(0px, 1fr);
    align-items: start;
    gap: 26px;
}

.hp-sticky {
    position: sticky;
    top: 98px;
}

.hp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    color: rgb(29, 78, 216);
    background: rgb(233, 240, 255);
    font-size: 12px;
    font-weight: 700;
}

.hp-pill.green {
    color: rgb(22, 101, 52);
    background: rgb(220, 252, 231);
}

.hp-pill.orange {
    color: rgb(154, 52, 18);
    background: rgb(255, 237, 213);
}

.hp-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.hp-search {
    position: relative;
    flex: 1 1 0%;
}

.hp-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: rgb(132, 145, 155);
    transform: translateY(-50%);
}

.hp-search input {
    width: 100%;
    height: 44px;
    padding: 0px 14px 0px 41px;
    border: 1px solid var(--hp-line);
    border-radius: 10px;
    outline: 0px;
    background: rgb(255, 255, 255);
    font-size: 14px;
}

.hp-toolbar select {
    min-width: 165px;
    height: 44px;
    line-height: 44px;
    padding: 0px 12px;
    border: 1px solid var(--hp-line);
    border-radius: 10px;
    color: rgb(71, 84, 103);
    background: rgb(255, 255, 255);
    font-size: 14px;
}

.hp-toolbar .portal-select-wrap {
    width: auto;
    min-width: 165px;
    flex: 0 0 auto;
}

.hp-toolbar .portal-select-trigger {
    height: 44px;
    min-width: 165px;
    border-radius: 10px;
    font-size: 14px;
}

.hp-tabs {
    display: flex;
    border-bottom: 1px solid var(--hp-line);
    background: rgb(255, 255, 255);
}

.hp-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0px 18px;
    border: 0px;
    color: rgb(102, 112, 133);
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.hp-tab.active {
    color: var(--hp-teal);
}

.hp-tab.active::after {
    position: absolute;
    right: 15px;
    bottom: -1px;
    left: 15px;
    height: 3px;
    border-radius: 3px 3px 0px 0px;
    content: "";
    background: var(--hp-teal);
}

.hp-pane {
    display: none;
}

.hp-pane.active {
    display: block;
}

.hp-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 27px;
}

.hp-pagination button,
.hp-pagination a {
    display: inline-grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 11px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    color: rgb(71, 84, 103);
    background: rgb(255, 255, 255);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.hp-pagination button.active,
.hp-pagination a.active {
    border-color: var(--hp-teal);
    color: rgb(255, 255, 255);
    background: var(--hp-teal);
}

.hp-activity h2 a {
    color: inherit;
    text-decoration: none;
}

.hp-toolbar-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}

.hp-hub-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    color: rgb(255, 255, 255);
    background: rgb(22, 61, 72);
}

.hp-hub-hero > img {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.47;
}

.hp-hub-hero::after {
    position: absolute;
    inset: 0px;
    content: "";
    background: linear-gradient(90deg, rgba(6, 31, 38, 0.9), rgba(6, 31, 38, 0.25));
}

.hp-hub-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding-top: 80px;
    padding-bottom: 60px;
}

.hp-hub-hero-copy h1 {
    margin: 12px 0px;
    font-size: 39px;
    font-weight: 900;
}

.hp-hub-hero-copy p {
    color: rgb(220, 246, 242);
    font-size: 16px;
    line-height: 26px;
}

.hp-hub-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0px 24px;
}

.hp-hub-facts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.hp-hub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hp-hub-actions .portal-button-outline {
    border-color: rgba(255, 255, 255, 0.38);
    color: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.08);
}

.hp-about {
    padding: 27px;
}

.hp-about h2 {
    margin: 0px 0px 13px;
    font-size: 23px;
    font-weight: 900;
}

.hp-about h3 {
    margin: 25px 0px 10px;
    font-size: 18px;
    font-weight: 850;
}

.hp-about p, .hp-about li {
    color: rgb(69, 83, 95);
    font-size: 15px;
    line-height: 27px;
}

.hp-amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hp-amenity {
    display: flex;
    gap: 11px;
    padding: 14px;
    border: 1px solid var(--hp-line);
    border-radius: 10px;
}

.hp-amenity i {
    color: var(--hp-teal);
    font-size: 22px;
}

.hp-amenity strong {
    display: block;
    font-size: 14px;
}

.hp-amenity span {
    color: rgb(102, 112, 133);
    font-size: 13px;
    line-height: 20px;
}

.hp-info-card {
    padding: 20px;
}

.hp-info-card h2 {
    margin: 0px 0px 13px;
    font-size: 19px;
    font-weight: 900;
}

.hp-info-list {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.hp-info-list li {
    display: flex;
    gap: 10px;
    padding: 11px 0px;
    border-top: 1px solid rgb(237, 241, 242);
    color: rgb(71, 84, 103);
    font-size: 14px;
    line-height: 22px;
}

.hp-info-list i {
    color: var(--hp-teal);
}

.hp-map {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    border-radius: 12px;
}

.hp-map iframe {
    display: block;
    width: 100%;
    height: 235px;
    border: 0;
    border-radius: 12px;
    background: #e5e7eb;
}

.hp-map-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgb(15, 118, 110);
    font-size: 14px;
    font-weight: 600;
}

.hp-map-open:hover {
    color: rgb(13, 148, 136);
    text-decoration: underline;
}

.hp-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
}

.hp-gallery img {
    width: 100%;
    height: 190px;
    border-radius: 12px;
    object-fit: cover;
}

.hp-filter-card {
    padding: 18px;
}

.hp-filter-card h2 {
    margin: 0px 0px 14px;
    font-size: 17px;
    font-weight: 850;
}

.hp-filter-group {
    padding: 15px 0px;
    border-top: 1px solid rgb(237, 241, 242);
}

.hp-filter-group strong {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
}

.hp-filter-option {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 9px 0px;
    color: rgb(71, 84, 103);
    font-size: 14px;
}

.hp-filter-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--hp-teal);
}

.hp-view-toggle {
    display: flex;
    gap: 5px;
}

.hp-view-toggle button {
    width: 43px;
    height: 43px;
    border: 1px solid var(--hp-line);
    border-radius: 9px;
    color: rgb(102, 112, 133);
    background: rgb(255, 255, 255);
}

.hp-view-toggle button.active {
    border-color: rgb(128, 207, 199);
    color: var(--hp-teal);
    background: rgb(234, 248, 245);
}

.hp-activity-list {
    display: grid;
    gap: 13px;
}

.hp-activity {
    display: grid;
    grid-template-columns: 72px minmax(0px, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 17px;
}

.hp-date {
    padding: 10px 5px;
    border-radius: 10px;
    color: var(--hp-blue);
    background: rgb(234, 240, 255);
    text-align: center;
}

.hp-date.green {
    color: var(--hp-green);
    background: rgb(231, 248, 235);
}

.hp-date.orange {
    color: var(--hp-orange);
    background: rgb(255, 240, 231);
}

.hp-date strong {
    display: block;
    font-size: 24px;
}

.hp-date span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.hp-activity h2, .hp-activity h3 {
    margin: 6px 0px;
    font-size: 17px;
    font-weight: 850;
    line-height: 24px;
}

.hp-activity h2 a:hover, .hp-activity h3 a:hover {
    color: var(--hp-teal);
}

.hp-activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    color: rgb(102, 112, 133);
    font-size: 13px;
}

.hp-activity-meta span {
    display: inline-flex;
    gap: 6px;
}

.hp-activity-side {
    min-width: 135px;
    text-align: right;
}

.hp-activity-side strong {
    display: block;
    margin-bottom: 8px;
    color: rgb(22, 101, 52);
    font-size: 12px;
}

.hp-calendar {
    overflow: hidden;
    padding: 18px;
}

.hp-calendar-head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.hp-calendar-head span {
    padding: 9px;
    color: rgb(102, 112, 133);
    font-size: 12px;
    font-weight: 700;
}

.hp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid var(--hp-line);
    border-left: 1px solid var(--hp-line);
}

.hp-calendar-day {
    min-height: 105px;
    padding: 7px;
    border-right: 1px solid var(--hp-line);
    border-bottom: 1px solid var(--hp-line);
    background: rgb(255, 255, 255);
}

.hp-calendar-day.muted {
    color: rgb(182, 192, 199);
    background: rgb(250, 251, 251);
}

.hp-calendar-day > span {
    font-size: 12px;
    font-weight: 750;
}

.hp-calendar-event {
    display: block;
    overflow: hidden;
    margin-top: 6px;
    padding: 5px 6px;
    border-radius: 5px;
    color: rgb(29, 78, 216);
    background: rgb(232, 239, 255);
    font-size: 10px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-calendar-event.green {
    color: rgb(22, 101, 52);
    background: rgb(220, 252, 231);
}

.hp-calendar-event.orange {
    color: rgb(154, 52, 18);
    background: rgb(255, 237, 213);
}

.hp-activity-hero {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    color: rgb(255, 255, 255);
    background: rgb(25, 57, 64);
}

.hp-activity-hero > img {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.36;
}

.hp-activity-hero::after {
    position: absolute;
    inset: 0px;
    content: "";
    background: linear-gradient(90deg, rgba(7, 34, 39, 0.9), rgba(7, 34, 39, 0.2));
}

.hp-activity-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding-top: 78px;
    padding-bottom: 55px;
}

.hp-activity-hero-copy h1 {
    margin: 12px 0px;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
}

.hp-activity-hero-copy p {
    max-width: 750px;
    color: rgb(223, 246, 242);
    font-size: 15px;
    line-height: 25px;
}

.hp-article {
    padding: 27px;
}

.hp-article h2 {
    margin: 0px 0px 13px;
    font-size: 23px;
    font-weight: 900;
}

.hp-article h3 {
    margin: 25px 0px 10px;
    font-size: 18px;
    font-weight: 850;
}

.hp-article p, .hp-article li {
    color: rgb(69, 83, 95);
    font-size: 15px;
    line-height: 27px;
}

.hp-speaker {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 0px;
    border-top: 1px solid rgb(237, 241, 242);
}

.hp-speaker img {
    width: 60px;
    height: 60px;
    border-radius: 13px;
    object-fit: cover;
}

.hp-speaker strong {
    display: block;
    font-size: 15px;
}

.hp-speaker span {
    color: rgb(102, 112, 133);
    font-size: 13px;
}

.hp-speaker-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 13px;
    background: rgb(233, 240, 255);
    color: rgb(29, 78, 216);
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.hp-register {
    padding: 21px;
}

.hp-register h2 {
    margin: 0px 0px 5px;
    font-size: 20px;
    font-weight: 900;
}

.hp-register > p {
    color: rgb(102, 112, 133);
    font-size: 14px;
    line-height: 22px;
}

.hp-capacity-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: rgb(102, 112, 133);
    font-size: 12px;
}

.hp-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 5px;
    background: rgb(231, 236, 238);
}

.hp-progress span {
    display: block;
    height: 100%;
    background: var(--hp-teal);
}

.hp-result-list {
    display: grid;
    gap: 8px;
}

.hp-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--hp-line);
    border-radius: 9px;
    color: rgb(71, 84, 103);
    font-size: 14px;
}

.hp-result i {
    color: var(--hp-teal);
    font-size: 21px;
}

.hp-booking-tabs {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--hp-line);
    background: rgb(255, 255, 255);
}

.hp-space-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hp-space-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.hp-space-card img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    flex-shrink: 0;
}

.hp-space-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 165px;
    flex-shrink: 0;
    color: rgb(102, 112, 133);
    background: linear-gradient(145deg, #eef6f8, #f7fafb);
    font-size: 2rem;
}

.hp-space-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px;
}

.hp-space-body h2, .hp-space-body h3 {
    margin: 12px 0px 6px;
    font-size: 17px;
    font-weight: 700;
}

.hp-space-body p {
    min-height: 44px;
    margin: 0px 0px 12px;
    color: rgb(93, 106, 117);
    font-size: 14px;
    line-height: 22px;
}

.hp-space-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 13px;
    color: rgb(102, 112, 133);
    font-size: 12px;
}

.hp-space-body > .portal-button {
    margin-top: auto;
}

.hp-booking-layout {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) 350px;
    align-items: start;
    gap: 24px;
}

.hp-week-grid {
    display: grid;
    grid-template-columns: 95px repeat(5, 1fr);
    overflow: auto;
    border-top: 1px solid var(--hp-line);
    border-left: 1px solid var(--hp-line);
}

.hp-week-cell {
    min-width: 95px;
    min-height: 56px;
    padding: 20px 8px;
    background: rgb(255, 255, 255);
    font-size: 12px;
    text-align: center;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
}

.hp-week-cell.head {
    min-height: 48px;
    color: rgb(71, 84, 103);
    background: rgb(248, 250, 251);
    font-weight: 700;
}

.hp-week-cell.time {
    color: rgb(102, 112, 133);
    background: rgb(250, 251, 251);
    font-weight: 750;
}

.hp-week-cell.available {
    color: rgb(22, 101, 52);
    background: rgb(238, 251, 241);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-week-cell.booked {
    color: rgb(153, 27, 27);
    background: rgb(255, 240, 240);
}

.hp-week-cell.pending {
    color: rgb(146, 64, 14);
    background: rgb(255, 248, 223);
}

/* Ô đã qua giờ nhưng KHÔNG có booking thật — màu trung tính, khác hẳn .booked (đỏ) để không gây hiểu
   nhầm là đã có người đặt (bug đã sửa 2026-08-26: ResolveCell trước đây gộp chung 2 trạng thái này). */
.hp-week-cell.past {
    color: rgb(107, 114, 128);
    background: rgb(243, 244, 246);
}

.hp-week-cell.selected {
    box-shadow: inset 0 0 0 2px var(--hp-teal);
}

.hp-booking-form {
    padding: 20px;
}

.hp-booking-form h2 {
    margin: 0px 0px 5px;
    font-size: 20px;
    font-weight: 700;
}

.hp-booking-form > p {
    color: rgb(102, 112, 133);
    font-size: 14px;
}

.hp-counter {
    display: block;
    margin-top: 5px;
    color: rgb(152, 162, 179);
    font-size: 12px;
    text-align: right;
}

.hp-booking-list {
    display: grid;
    gap: 12px;
}

.hp-booking-item {
    display: grid;
    grid-template-columns: 72px minmax(0px, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px;
}

.hp-booking-item h3 {
    margin: 0px 0px 5px;
    font-size: 16px;
    font-weight: 700;
}

.hp-booking-item p {
    margin: 0px;
    color: rgb(102, 112, 133);
    font-size: 13px;
    line-height: 21px;
}

@media (max-width: 1199.98px) {
    .hp-space-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .hp-main {
        padding-top: 72px;
    }

    .hp-layout, .hp-layout-wide, .hp-booking-layout {
        grid-template-columns: 1fr;
    }

    .hp-sticky {
        position: static;
    }

    .hp-filter-card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0px 20px;
    }

    .hp-filter-card h2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .hp-hero h1, .hp-hub-hero-copy h1, .hp-activity-hero-copy h1 {
        font-size: 30px;
    }

    .hp-content {
        padding: 32px 0px 52px;
    }

    .hp-section-head, .hp-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .hp-toolbar select {
        width: 100%;
    }

    .hp-toolbar .portal-select-wrap {
        width: 100%;
        min-width: 0;
    }

    .hp-filter-card, .hp-space-grid, .hp-amenity-grid {
        grid-template-columns: 1fr;
    }

    .hp-filter-card h2 {
        grid-column: auto;
    }

    .hp-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .hp-gallery img:first-child {
        grid-column: 1 / -1;
    }

    .hp-activity {
        grid-template-columns: 58px minmax(0px, 1fr);
    }

    .hp-activity-side {
        grid-column: 1 / -1;
        text-align: left;
    }

    .hp-calendar-day {
        min-height: 72px;
        padding: 4px;
    }

    .hp-calendar-event {
        font-size: 0px;
        height: 7px;
        padding: 0px;
    }

    .hp-article {
        padding: 20px;
    }

    .hp-booking-item {
        grid-template-columns: 58px minmax(0px, 1fr);
    }

    .hp-booking-item > :last-child {
        grid-column: 1 / -1;
    }
}
