.travel-hub-section {
    scroll-margin-top: 60px;
}

.travel-hub-section h2 {
    margin-bottom: 1rem;
}

#hub-nav-sentinel {
    height: 0;
}

#hub-nav-placeholder {
    height: 0;
}

.hub-sticky-nav {
    background: #fff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 0.2rem 0;
    margin-bottom: 2.5rem;
}

/* Full-width fixed bar when stuck */
.hub-sticky-nav.is-stuck {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    border-top: none;
    border-bottom: 1px solid #ebebeb;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.04);
    padding: 0;
    margin-bottom: 0;
}


.hub-sticky-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 1.5rem; */
}

.hub-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    white-space: normal;
    overflow: visible;
}

.hub-nav-list li {
    flex-shrink: 0;
}

.hub-nav-link {
    display: block;
    padding: 0.85rem 1rem;
    color: #aaa;
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s, font-weight 0.1s;
}

.hub-nav-link:hover {
    color: #1f1f1f;
    text-decoration: unset;
}

.hub-nav-link.is-active {
    color: var(--color-dark);
    /* font-weight: 700; */
}

.travel-hub-overview-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.travel-hub-primary-image {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.hub-publish-date {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #767676;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    line-height: 1.1;
}

.hub-itinerary-table {
    border: 1px solid var(--primary-border-color);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.hub-itinerary-table-head,
.hub-itinerary-item summary {
    display: grid;
    grid-template-columns: 14px 110px minmax(0, 1fr) 220px;
    gap: 1rem;
}

.hub-itinerary-table-head {
    font-size: 0.82rem;
    text-transform: uppercase;
    color: var(--color-muted);
    letter-spacing: 0.03em;
    background: var(--color-lighter);
    border-bottom: 1px solid var(--primary-border-color);
    padding: 0.65rem 0.9rem;
}

.hub-itinerary-item:hover{
     background: #fafafa;
}

.hub-itinerary-item {
    border-bottom: 1px solid var(--primary-border-color);
}

.hub-itinerary-item:last-child {
    border-bottom: 0;
}

.hub-itinerary-item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 0.9rem;
    align-items: center;
    user-select: none;
    transition: background-color 0.2s ease;
}

.hub-itinerary-item summary::-webkit-details-marker {
    display: none;
}

.hub-itinerary-item[open] summary {
    background: #fff;
    border-bottom: 0px solid #ececec;
}

.hub-day {
    font-weight: 700;
    font-size: 0.88rem;
}

.hub-summary {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    line-height: 1.4;
}

.hub-location {
    font-weight: 700;
    font-size: 0.95rem;
}

.hub-summary-text {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hub-notes {
    color: var(--color-muted);
    line-height: 1.45;
    font-size: 0.88rem;
}

.hub-note-icons {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
}

.hub-note-stack {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
}

.hub-note-text-lines {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hub-note-text-line {
    display: block;
    color: var(--color-muted);
    line-height: 1.35;
    font-size: 0.82rem;
}


.hub-note-icon-item,
.hub-note-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-muted);
}

.hub-note-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    color: var(--color-muted);
}

.hub-note-inline-text {
    font-size: 0.82rem;
    line-height: 1.2;
    color: var(--color-muted);
}

.hub-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hub-itinerary-item .hub-chevron {
    transform: rotate(-90deg);
}

.hub-itinerary-item[open] .hub-chevron {
    transform: rotate(0deg);
}

.hub-itinerary-item summary:hover .hub-chevron {
    color: #1f1f1f;
}

.hub-itinerary-expanded {
    padding: 0.9rem;
    background: #fafafa;
}

.hub-mini-gallery {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.hub-mini-gallery a {
    display: block;
    border-radius: 6px;
    overflow: hidden;
}

.hub-mini-gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.hub-spoke-link a {
    text-decoration: underline;
}

.spoke-preview-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    border: 1px dashed var(--color-muted-light);
    background-color: #fff;
    border-radius: 6px;
    padding: 0.6rem;
    margin-top: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

.spoke-preview-card:hover {
  background-color: var(--color-light);
  border: 1px solid var(--color-grey);
}

.spoke-preview-thumb-wrap {
    width: 84px;
    height: 84px;
}

.spoke-preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.spoke-preview-thumb-placeholder {
    background: #f3f3f3;
    border: 1px solid #ebebeb;
}

.spoke-preview-content h4 {
    margin: 0 0 0.25rem;
    font-size: 0.98rem;
    line-height: 1.25;
}

.spoke-preview-content p {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
    color: var(--color-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spoke-preview-content span {
    font-size: 0.82rem;
    text-decoration: underline;
}

@media (max-width: 575px) {
    .hub-publish-date {
        font-size: 0.74rem;
        letter-spacing: 0.07em;
    }
}

.hub-highlights {
    display: grid;
    gap: 1rem;
}

.entry-main-content-hub p{
    margin-bottom: 0;
        color: var(--color-darker);
}

.hub-highlight-item {
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 1rem;
    font-size: 0.95rem;
}

.hub-extra-card{
    font-size: 0.95rem;
}

.hub-highlight-item h3 {
    margin: 0 0 0.4rem;
}

.hub-tabs {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.hub-tab-button {
    border: 1px solid var(--mutted-border-color);
    background: #fff;
    color: var(--color-darker);;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.hub-tab-button:hover{
 background: var(--mutted-border-color);
 cursor: pointer;
}

.hub-tab-button.is-active {
    background: var(--color-darker);
    color: #fff;
    border: 1px solid var(--color-darker);
}

.hub-tab-panel {
    display: none;
}

.hub-tab-panel.is-active {
    display: block;
}

.hub-packing-header {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hub-packing-intro {
    max-width: 760px;
    color: var(--color-muted);
}

.hub-packing-weight-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1rem;
}

.hub-packing-weight-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    /* border: 1px solid #ebebeb; */
    /* border-radius: 999px; */
    padding-right: 0.6rem;
    font-size: 0.95rem;
    color: var(--color-muted);
    background: #fff;
    white-space: nowrap;
}

.hub-packing-weight-chip strong {
    color: var(--color-darker);
    font-weight: 600;
}

.hub-packing-weight-summary.is-destination-rows {
    display: grid;
    gap: 0.45rem;
}

.hub-packing-weight-summary.is-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.hub-packing-weight-card {
    background: #fafafa;
    border: 1px solid #fafafa;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    display: grid;
    gap: 0.2rem;
}

.hub-packing-weight-card-title {
    color: var(--color-muted);;
    font-size: 0.9rem;
    line-height: 1.2;
}

.hub-packing-weight-card-value {
    color: var(--color-darker);
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hub-packing-weight-card-limit {
    color: var(--color-muted);;
    font-size: 0.8rem;
    line-height: 1.2;
}

.hub-packing-weight-card-extranote {
    color: var(--color-muted);
    font-size: 0.8rem;
    line-height: 1.2;
}
/* 
.hub-packing-weight-card.is-over-limit {
    border-color: var(--message-note-important-text);
} */

.hub-packing-weight-card.is-over-limit .hub-packing-weight-card-value {
    color: var(--message-note-important-text);
}

.hub-packing-weight-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-muted);
}

.hub-packing-weight-destination {
    min-width: 72px;
    font-weight: 600;
    color: var(--color-darker);
}

.hub-packing-weight-entry {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.hub-packing-weight-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    color: var(--color-darker);
}

.hub-packing-weight-icon svg {
    width: 100%;
    height: 100%;
}

.hub-packing-weight-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.hub-packing-tabs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hub-packing-tabs {
    margin-bottom: 0;
    flex-wrap: wrap;
}

.hub-packing-progress-wrap {
    margin-top: 1.5rem;
}

.hub-packing-dots-legend {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    margin-left: auto;
    flex-wrap: wrap;
}

.hub-packing-dots-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1;
}

.hub-packing-progress-meta {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    flex-wrap: nowrap;
}

.hub-packing-progress-meta [data-packing-progress-count] {
    white-space: nowrap;
}

.hub-packing-progress-label {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    white-space: nowrap;
}

.hub-packing-progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #fafafa;
    overflow: hidden;
}

.hub-packing-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #bebebe 0%, #bebebe 100%);
    transition: width 0.25s ease;
}

.hub-packing-section + .hub-packing-section {
    margin-top: 1rem;
}

.hub-packing-section {
    overflow: hidden;
}

.hub-packing-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin: 0;
    padding: 0.8rem 0.5rem 0.8rem 0rem;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.hub-packing-section-header::-webkit-details-marker {
    display: none;
}

.hub-packing-section-heading {
    display: block;
}

.hub-packing-section-header h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.92rem;
    color: var(--color-muted);
    letter-spacing: 0.06em;
    font-family: var(--font-primary);
    font-weight: normal;
}

.hub-packing-section-header p {
    margin: 0.15rem 0 0;
    color: var(--color-muted);
}

.hub-packing-section-chevron {
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1;
    color: #8f8f8f;
    user-select: none;
}

.hub-packing-section-chevron::before {
    content: '+';
}

.hub-packing-section[open] .hub-packing-section-chevron::before {
    content: '-';
}

.hub-packing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 0 0 0.9rem 0;
}

.hub-packing-card {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 0.8rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.hub-packing-card:hover {
    border-color: #dbdbdb;
    background-color: #fafafa;
}

.hub-packing-card.is-optional {
    background: #fdfcf9;
}

.hub-packing-card.is-consumable::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.45rem;
    bottom: 0.45rem;
    width: 4px;
    border-radius: 999px;
    background: #c7c7c7;
}

.hub-packing-card.is-checked {
    background: #ebebeb;
    border-color: #dbdbdb;
    opacity: 0.6;
}

.hub-packing-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hub-packing-checkmark {
    width: 20px;
    height: 20px;
    margin-top: 0.1rem;
    border-radius: 4px;
    border: 1px solid #dbdbdb;
    background: #fff;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hub-packing-card.is-checked .hub-packing-checkmark {
    background: #a2a2a2;
    border-color: #a2a2a2;
}

.hub-packing-card.is-checked .hub-packing-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(40deg);
}

.hub-packing-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    height: 100%;
}

.hub-packing-card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.3rem;
}

.hub-packing-card-title {
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.hub-packing-card-description {
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.hub-packing-card-extra-notes {
    color: #6f6f6f;
    font-size: 0.8rem;
    line-height: 1.35;
}

.hub-packing-card-weight {
    margin-top: auto;
    align-self: flex-end;
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: right;
    max-width: 100%;
    white-space: normal;
}

.hub-packing-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.hub-packing-card-where {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.hub-packing-card-where-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    /* box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); */
}

.hub-packing-card-where-dot.is-backpack {
    background: #98c1ea;
}

.hub-packing-card-where-dot.is-bag {
    background: #78a183;
}

.hub-packing-card-where-dot.is-worn {
    background: #eeaccd;
}

.hub-packing-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0.16rem 0.45rem;
    background: var(--message-note-important-bg);
    color: var(--message-note-important-text);
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 600;
}

.hub-packing-tag.is-optional {
    background: #f3f1ea;
    color: #6e6658;
}

.hub-packing-tag.is-limit {
    background: #fff8e8;
    border-color: #f0dfb2;
    color: #8a6c2a;
}

.hub-packing-tag.is-carried-by-other {
        background: #fff;
    border-color: #777777;
    color: #777777;
    border: dashed;
    opacity: 0.8;
}

/* Stable color mapping: the same label always gets the same color */
.hub-packing-tag.tag-both {
    background: #f1f1f1;
    border-color: #f1f1f1;
    color: #777777;
}

.hub-packing-tag.tag-nepal {
    background: #e9f6ef;
    border-color: #e9f6ef;
    color: #1f6a48;
}

.hub-packing-tag.tag-bhutan {
    background: #ebf3fc;
    border-color: #ebf3fc;
    color: #2a5689;
}

.hub-packing-tag.tag-gluten-free {
    background: #fbeeea;
    border-color: #fbeeea;
    color: #8a3b2a;
}

.hub-packing-tag.tag-consumable,
.hub-packing-tag.tag-consumables {
    display: none;
}
/* 
.hub-packing-tag.tag-poon-hill {
    background: #ebf3fc;
    border-color: #bfd7f1;
    color: #2a5689;
}

.hub-packing-tag.tag-hotels {
    background: #f3f4f6;
    border-color: #d9dde2;
    color: #4d5967;
}

.hub-packing-tag.tag-essential {
    background: #fcecef;
    border-color: #efc1cb;
    color: #8e243a;
}

.hub-packing-tag.tag-optional {
    background: #f8f5ed;
    border-color: #e4dac7;
    color: #6f6148;
}

.hub-packing-tag.tag-nepali,
.hub-packing-tag.tag-dzongkha {
    background: #f0ecfb;
    border-color: #d4c9ee;
    color: #5c438c;
} */

.hub-resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.hub-resource-list.cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 991px) {
    .hub-packing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hub-packing-header {
        flex-direction: column;
        align-items: stretch;
    }

    .hub-packing-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hub-resource-list.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-resource-list.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-resource-list li {
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 0.8rem;
}

.hub-extra-card {
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 0.8rem;
}

.hub-extra-card h3 {
    margin: 0 0 0.35rem;
}

.hub-resource-list p {
    margin: 0.35rem 0;
}

.hub-gear-carousel {
    display: grid;
    gap: 0.75rem;
}

.hub-gear-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hub-gear-header h2 {
    margin-bottom: 0;
}

.hub-gear-nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.hub-gear-control {
    padding: 0;
}

.hub-gear-track {
    --hub-gear-gap: 0.75rem;
    overflow-x: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--hub-gear-gap) * 2)) / 3);
    gap: var(--hub-gear-gap);
    scroll-snap-type: x mandatory;
    padding-bottom: 0.3rem;
}

.hub-gear-card {
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 0.75rem;
    scroll-snap-align: start;
}

.hub-gear-card img {
    width: 100%;
    height: 165px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 0.6rem;
}

.hub-gear-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.hub-gear-card p {
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
}

.hub-gear-card a {
    text-decoration: underline;
}

.hub-packlight-wrap iframe {
    width: 100%;
    min-height: 430px;
    border: 1px solid #ebebeb;
    border-radius: 6px;
}

.hub-gear-track{
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.hub-gear-track::-webkit-scrollbar {
    display: none;
}

@media (max-width: 991px) {
    .travel-hub-overview-grid {
        grid-template-columns: 1fr;
    }
    .hub-itinerary-table-head,
    .hub-itinerary-item summary {
        grid-template-columns: 14px 90px minmax(0, 1fr);
    }

    .hub-itinerary-table-head span:nth-child(3),
    .hub-itinerary-item .hub-notes {
        display: none;
    }

    .hub-gear-header {
        flex-wrap: wrap;
    }

    .hub-gear-track {
        grid-auto-columns: calc((100% - var(--hub-gear-gap)) / 2);
        justify-content: start;
    }

    .hub-resource-list.cols-2,
    .hub-resource-list.cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hub-sticky-nav.is-stuck .hub-nav-list {
        justify-content: center;
    }

}

@media (max-width: 767px) {
    #hub-sticky-nav{
        display: none;
    }

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

    .hub-resource-list.cols-1,
    .hub-resource-list.cols-2,
    .hub-resource-list.cols-3 {
        grid-template-columns: 1fr;
    }

    .hub-gear-track {
        grid-auto-columns: 100%;
        justify-content: start;
    }

    .hub-note-stack{
        display: none;
    }

    .hub-itinerary-table-head{
        display: none;
    }
}

.entry-main-content-hub p a{
    text-decoration: underline;
}

.entry-main-content-hub p a:hover{
        text-decoration: underline;
    text-decoration-thickness: 2px;
}

.hub-note-icon-item a{
    text-decoration: underline;
}

.hub-note-icon-item a:hover{
        text-decoration: underline;
    /* text-decoration-thickness: 2px; */
}