:root {
    --th-primary: #00ADEF;
    --th-primary-hover: #0088BB;
    --th-secondary: #2A4A6B;
    --th-secondary-hover: #003355;
    --th-icon-accent: #051AC0;
    --th-bg: #ffffff;
    --th-bg-soft: #f4fbfd;
    --th-text: #123;
    --th-muted: #667085;
    --th-border: #e5edf2;
    --th-shadow-soft: 0 10px 28px rgba(18, 51, 68, 0.08);
    --th-shadow-tiny: 0 4px 14px rgba(18, 51, 68, 0.06);
    --th-radius: 14px;
    --th-radius-sm: 9px;
}

.th-hotel-page {
    color: var(--th-text);
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
}

.th-hotel-page--compact {
    box-sizing: border-box;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 18px 20px 54px;
    overflow-x: clip;
}

.th-hotel-page--compact *,
.th-hotel-page--compact *::before,
.th-hotel-page--compact *::after {
    box-sizing: border-box;
}

.th-hotel-page--compact a {
    color: var(--th-secondary);
}

.th-hotel-page--compact a:hover {
    color: var(--th-primary-hover);
}

.th-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin: 4px 0 8px;
    color: var(--th-muted);
    font-size: 13px;
}

.th-breadcrumb a {
    color: var(--th-primary-hover);
    text-decoration: none;
}

.th-profile-header {
    min-width: 0;
    margin-bottom: 14px;
}

.th-profile-header h1 {
    margin: 0 0 8px;
    color: var(--th-secondary-hover);
    font-size: clamp(2.1rem, 3.4vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.th-starline {
    min-height: 22px;
    margin-bottom: 2px;
}

.th-stars {
    color: #f6a500;
    font-size: 17px;
    letter-spacing: 1px;
}

.th-chip-row,
.th-title-chips,
.th-amenity-grid,
.th-review-thumbs,
.th-guest-photo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.th-tag-chip,
.th-hotel-page--compact .th-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border: 1px solid var(--th-border);
    border-radius: 999px;
    background: #fff;
    color: var(--th-secondary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
}

.th-tag-chip:hover,
.th-hotel-page--compact .th-tags a:hover {
    border-color: rgba(0, 173, 239, 0.46);
    background: var(--th-bg-soft);
    color: var(--th-secondary-hover);
}

.th-na {
    color: #9aa6b2;
    font-size: 0.88em;
    font-style: italic;
    font-weight: 500;
}

.th-profile-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(285px, 0.72fr);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 14px;
}

.th-profile-gallery {
    display: grid;
    grid-template-columns: minmax(0, 2.08fr) minmax(180px, 0.82fr);
    gap: 8px;
    min-height: 355px;
}

.th-gallery-main,
.th-gallery-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: var(--th-bg-soft);
    text-decoration: none;
}

.th-gallery-main img,
.th-gallery-thumb img,
.th-guest-photo-strip img,
.th-review-thumbs img,
.th-related-media img,
.th-hotel-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-gallery-main img {
    aspect-ratio: 16 / 9.2;
}

.th-gallery-side {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.th-gallery-thumb img {
    aspect-ratio: 16 / 9;
}

.th-gallery-more {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(42, 74, 107, 0.92);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.th-user-photo-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(18, 51, 68, 0.78);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.th-user-photo-badge-small {
    max-width: calc(100% - 70px);
    font-size: 11px;
}

.th-gallery-user-note {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--th-muted);
    font-size: 11px;
}

.th-image-placeholder,
.th-room-placeholder,
.th-related-media span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border: 1px dashed #c8d7e2;
    border-radius: 10px;
    background: linear-gradient(135deg, #f4fbfd 0%, #fff 100%);
}

.th-rating-panel,
.th-section-card,
.th-form-card,
.th-related-card,
.th-hotel-card {
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    background: #fff;
    box-shadow: var(--th-shadow-tiny);
}

.th-rating-panel {
    padding: 18px;
    box-shadow: var(--th-shadow-soft);
}

.th-rating-block-primary {
    padding-bottom: 2px;
}

.th-rating-block-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    align-items: baseline;
}

.th-rating-label {
    display: block;
    margin-bottom: 2px;
    color: var(--th-secondary);
    font-size: 13px;
    font-weight: 800;
}

.th-rating-number {
    margin: 0;
    color: var(--th-primary);
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
}

.th-rating-number-small {
    font-size: 22px;
    text-align: right;
}

.th-rating-number small,
.th-review-total small {
    color: var(--th-secondary-hover);
    font-size: 0.42em;
    font-weight: 800;
}

.th-rating-caption {
    color: var(--th-muted);
    font-size: 12px;
}

.th-rating-block-editorial .th-rating-caption {
    grid-column: 1 / -1;
}

.th-rating-review-cta {
    margin-top: 10px;
}

.th-rating-divider {
    height: 1px;
    margin: 14px 0;
    background: linear-gradient(90deg, transparent, var(--th-border), transparent);
}

.th-featured-quote {
    margin: 14px 0;
    padding: 12px 13px;
    border: 1px solid var(--th-border);
    border-radius: 11px;
    background: #fff;
    color: var(--th-secondary);
    font-size: 13px;
    font-style: italic;
}

.th-featured-quote p {
    margin: 0;
}

.th-price-from {
    margin: 8px 0;
    color: var(--th-secondary-hover);
    font-weight: 800;
}

.th-panel-actions {
    display: grid;
    gap: 9px;
}

.th-hotel-page--compact .th-button,
.th-hotel-page--compact .th-form button,
.th-hotel-page--compact .th-hero-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.th-hotel-page--compact .th-button-primary,
.th-hotel-page--compact .th-form button[type="submit"] {
    border-color: var(--th-primary);
    background: var(--th-primary);
    color: #fff;
}

.th-hotel-page--compact .th-button-primary:hover,
.th-hotel-page--compact .th-form button[type="submit"]:hover {
    border-color: var(--th-primary-hover);
    background: var(--th-primary-hover);
    color: #fff;
}

.th-hotel-page--compact .th-button-secondary {
    border-color: var(--th-secondary);
    background: #fff;
    color: var(--th-secondary);
}

.th-hotel-page--compact .th-button-disabled {
    border-color: #d6e0e7;
    background: #eef4f7;
    color: #84929e;
    cursor: not-allowed;
}

.th-secondary-link {
    display: inline-flex;
    justify-content: center;
    color: var(--th-primary-hover);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.th-secondary-link-disabled {
    color: var(--th-muted);
}

.th-quick-facts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 14px 0 8px;
    overflow: hidden;
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    background: linear-gradient(180deg, #f4fbfd 0%, #eef8fc 100%);
}

.th-fact-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 2px 8px;
    align-items: center;
    min-height: 58px;
    padding: 9px 12px;
    border-right: 1px solid #d7e7ef;
}

.th-fact-item:last-child {
    border-right: 0;
}

.th-fact-icon {
    grid-row: span 2;
    width: 24px;
    height: 24px;
    border: 2px solid var(--th-icon-accent);
    border-radius: 8px;
    opacity: 0.88;
}

.th-fact-label {
    color: var(--th-secondary);
    font-size: 12px;
    font-weight: 800;
}

.th-fact-item strong {
    color: var(--th-text);
    font-size: 13px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.th-section-card {
    margin-top: 12px;
    padding: 16px 18px;
}

.th-section-card h2 {
    margin: 0 0 12px;
    color: var(--th-secondary-hover);
    font-size: 20px;
    line-height: 1.2;
}

.th-section-card h3 {
    margin: 0 0 4px;
    color: var(--th-secondary);
    font-size: 15px;
}

.th-amenity-grid {
    gap: 9px 16px;
}

.th-amenity-chip {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 30px;
    color: var(--th-secondary);
    font-size: 13px;
    font-weight: 700;
}

.th-amenity-chip > span:not(.th-na) {
    width: 17px;
    height: 17px;
    border: 2px solid var(--th-icon-accent);
    border-radius: 6px;
}

.th-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.72fr);
    gap: 16px;
    align-items: start;
}

.th-editorial-card {
    min-height: 100%;
}

.th-editorial-block p,
.th-editorial-mini p {
    margin: 0;
    color: #304455;
}

.th-editorial-mini {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid var(--th-border);
}

.th-mini-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(0, 173, 239, 0.12);
    border: 2px solid var(--th-primary);
}

.th-side-stack {
    display: grid;
    gap: 12px;
}

.th-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.th-video-card {
    min-width: 0;
}

.th-video-card h3 {
    margin: 0 0 8px;
    color: var(--th-secondary-hover);
    font-size: 16px;
    line-height: 1.3;
}

.th-video-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--th-border);
    border-radius: 10px;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.th-video-frame iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.th-score-panel {
    margin-top: 12px;
}

.th-score-note {
    margin: 0 0 8px;
    color: var(--th-muted);
    font-size: 11.5px;
    line-height: 1.35;
}

.th-score-row {
    display: grid;
    grid-template-columns: minmax(104px, 0.85fr) minmax(92px, 1fr) 44px;
    gap: 10px;
    align-items: center;
    margin-top: 7px;
    font-size: 13px;
}

.th-score-label {
    color: var(--th-secondary);
    font-weight: 700;
}

.th-score-track {
    display: block;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfeaf1;
}

.th-score-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--th-primary);
}

.th-score-row strong {
    text-align: right;
    color: var(--th-secondary-hover);
}

.th-map-placeholder {
    min-height: 128px;
    padding: 13px;
    border-radius: 11px;
    background:
        linear-gradient(135deg, rgba(0, 173, 239, 0.10), rgba(42, 74, 107, 0.03)),
        repeating-linear-gradient(45deg, rgba(42, 74, 107, 0.06) 0 1px, transparent 1px 18px);
}

.th-map-placeholder p {
    margin: 0 0 5px;
    color: var(--th-secondary);
    font-size: 13px;
}

.th-map-pin {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
    border: 7px solid var(--th-icon-accent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.th-map-link-disabled {
    color: var(--th-muted);
    font-size: 13px;
}

.th-key-points ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.th-key-points li {
    position: relative;
    margin-top: 8px;
    padding-left: 23px;
    color: #304455;
    font-size: 13px;
}

.th-key-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--th-icon-accent);
}

.th-room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(270px, 0.92fr);
    gap: 14px;
    align-items: stretch;
}

.th-section-heading {
    display: flex;
    gap: 12px;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.th-section-heading h2 {
    margin-bottom: 0;
}

.th-room-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 86px;
    padding: 8px;
    border: 1px solid var(--th-border);
    border-radius: 10px;
}

.th-room-placeholder {
    min-height: 66px;
    border-radius: 8px;
}

.th-room-card strong {
    display: block;
    color: var(--th-secondary);
    font-size: 13px;
}

.th-room-card span {
    font-size: 12px;
}

.th-room-data {
    display: grid;
    grid-template-columns: minmax(108px, 0.72fr) minmax(0, 1fr);
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--th-border);
    border-radius: 10px;
}

.th-room-data dt,
.th-room-data dd {
    margin: 0;
    padding: 8px 10px;
    border-bottom: 1px solid var(--th-border);
    font-size: 13px;
}

.th-room-data dt {
    color: var(--th-secondary);
    font-weight: 800;
    background: var(--th-bg-soft);
}

.th-room-data dd {
    color: #304455;
}

.th-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.th-review-card {
    padding: 14px;
    border: 1px solid var(--th-border);
    border-radius: 12px;
    background: #fff;
}

.th-review-card header {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.th-review-card h3 {
    margin: 0 0 4px;
    font-size: 14px;
}

.th-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 9px;
    margin: 0;
    color: var(--th-muted);
    font-size: 11px;
}

.th-review-total {
    align-self: flex-start;
    min-width: 56px;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--th-primary);
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.th-review-total .th-na {
    color: rgba(255, 255, 255, 0.82);
}

.th-review-text p {
    margin: 10px 0;
    color: #304455;
    font-size: 13px;
}

.th-review-thumbs a {
    display: block;
    overflow: hidden;
    width: 58px;
    height: 46px;
    border-radius: 7px;
    background: var(--th-bg-soft);
}

.th-user-content-disclaimer {
    margin: 9px 0 0;
    color: var(--th-muted);
    font-size: 11px;
}

.th-form-info {
    border: 1px solid var(--th-border);
    border-radius: 8px;
    background: var(--th-bg-soft);
    color: var(--th-muted);
    padding: 10px 12px;
    font-size: 14px;
}

.th-my-content {
    display: grid;
    gap: 18px;
}

.th-my-content-section {
    border: 1px solid var(--th-border);
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}

.th-my-content-card {
    border: 1px solid var(--th-border);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
    margin: 12px 0;
}

.th-change-request-box {
    border-top: 1px solid var(--th-border);
    margin-top: 12px;
    padding-top: 10px;
}

.th-change-request-box summary {
    color: var(--th-secondary);
    cursor: pointer;
    font-weight: 700;
}

.th-my-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.th-my-image-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.th-inline-change-form {
    display: grid;
    gap: 8px;
}

.th-my-content-table {
    width: 100%;
    border-collapse: collapse;
}

.th-my-content-table th,
.th-my-content-table td {
    border-bottom: 1px solid var(--th-border);
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.th-empty-state {
    margin: 0;
}

.th-guest-photo-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
}

.th-guest-photo {
    flex: 0 0 150px;
    margin: 0;
}

.th-guest-photo-strip a,
.th-guest-photo a {
    display: block;
    flex: 0 0 132px;
    height: 74px;
    overflow: hidden;
    border-radius: 9px;
    background: var(--th-bg-soft);
}

.th-guest-photo figcaption {
    margin-top: 5px;
    color: var(--th-muted);
    font-size: 11px;
    line-height: 1.25;
}

.th-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.th-form-card {
    overflow: hidden;
}

.th-form-disclosure {
    margin: 0;
}

.th-form-disclosure > summary {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 12px 16px;
    color: var(--th-secondary);
    list-style: none;
    cursor: pointer;
}

.th-form-disclosure > summary::-webkit-details-marker {
    display: none;
}

.th-form-disclosure > summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--th-secondary);
    border-bottom: 2px solid var(--th-secondary);
    transform: rotate(45deg);
}

.th-form-disclosure[open] > summary::after {
    transform: rotate(225deg);
}

.th-form-disclosure > summary span {
    display: block;
    font-weight: 900;
}

.th-form-disclosure > summary small {
    display: block;
    margin-top: 2px;
    color: var(--th-muted);
    font-size: 12px;
    font-weight: 500;
}

.th-form-disclosure-panel {
    padding: 0 16px 16px;
}

.th-form {
    border: 1px solid var(--th-border);
    border-radius: 11px;
    padding: 14px;
    background: #fff;
}

.th-form label {
    color: var(--th-secondary);
    font-size: 13px;
    font-weight: 800;
}

.th-form label .th-label-note {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 400;
}

.th-form input[type="text"],
.th-form input[type="email"],
.th-form input[type="number"],
.th-form input[type="file"],
.th-form select,
.th-form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    border: 1px solid var(--th-border);
    border-radius: 8px;
    padding: 8px 10px;
    background: #fff;
    color: var(--th-text);
    font-size: 14px;
}

.th-form textarea {
    min-height: 112px;
}

.th-update-fieldset {
    margin: 14px 0;
    padding: 13px;
    border: 1px solid var(--th-border);
    border-radius: 10px;
}

.th-update-fieldset legend {
    padding: 0 6px;
    color: var(--th-secondary);
    font-weight: 900;
}

.th-update-field-row {
    display: grid;
    gap: 7px;
    margin-top: 10px;
}

.th-form button[disabled] {
    cursor: progress;
    opacity: 0.72;
}

.th-form-loading-message {
    padding: 9px 11px;
    border: 1px solid #b9d7bf;
    border-radius: 8px;
    background: #edf8ef;
    color: #204b29;
    font-size: 13px;
    font-weight: 700;
}

.th-inline-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 18px;
}

.th-fact-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
}

.th-fact-icon .th-inline-icon,
.th-mini-icon .th-inline-icon,
.th-amenity-chip .th-inline-icon {
    filter: none;
}

.th-hotel-page--compact .th-button-secondary:hover {
    border-color: var(--th-secondary-hover);
    background: var(--th-secondary);
    color: #fff;
}

.th-hotel-page--compact .th-button-green {
    border-color: #16A34A;
    background: #16A34A;
    color: #fff;
}

.th-hotel-page--compact .th-button-green:hover {
    border-color: #15803D;
    background: #15803D;
    color: #fff;
}

.th-first-review-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;
}

.th-first-review-cta p {
    margin: 0;
    color: #166534;
    font-size: 14px;
    font-weight: 800;
}

.th-score-choice-group {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}

.th-score-choice-group legend {
    margin-bottom: 6px;
    color: var(--th-secondary);
    font-size: 13px;
    font-weight: 900;
}

.th-score-choice-row {
    display: grid;
    grid-template-columns: repeat(10, minmax(28px, 1fr));
    gap: 5px;
}

.th-score-choice {
    display: block;
    font-weight: 800;
}

.th-score-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.th-score-choice span {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--th-border);
    border-radius: 7px;
    background: #fff;
    color: var(--th-secondary);
    font-size: 12px;
    cursor: pointer;
}

.th-score-choice input:checked + span {
    border-color: var(--th-primary);
    background: var(--th-primary);
    color: #fff;
}

.th-form input[type="checkbox"] {
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 0 7px 0 0;
    vertical-align: -3px;
}

.th-form p > label:has(input[type="checkbox"]),
.th-update-field-row > label {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.35;
}

.th-form p > label:has(input[type="checkbox"]) input[type="checkbox"],
.th-update-field-row > label input[type="checkbox"] {
    margin-top: 2px;
    flex: 0 0 16px;
}

.th-image-upload-fieldset {
    margin: 14px 0 8px;
    padding: 13px;
    border: 1px solid var(--th-border);
    border-radius: 10px;
}

.th-image-upload-fieldset legend {
    padding: 0 6px;
    color: var(--th-secondary);
    font-weight: 900;
}

.th-image-upload-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.8fr);
    gap: 10px;
    margin-top: 10px;
}

.th-image-upload-row label span {
    display: block;
    margin-bottom: 4px;
}

.th-photo-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

.th-photo-filter-chip {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    border: 1px solid var(--th-border);
    border-radius: 999px;
    padding: 4px 9px;
    background: #fff;
    color: var(--th-secondary);
    font-size: 12px;
    font-weight: 800;
}

.th-honeypot {
    position: absolute;
    left: -9999px;
}

.th-notice {
    margin: 12px 0;
    padding: 12px 14px;
    border: 1px solid var(--th-border);
    border-radius: 10px;
    font-size: 14px;
}

.th-notice p {
    margin: 0;
}

.th-notice-success {
    border-color: #b9d7bf;
    background: #edf8ef;
}

.th-notice-warning {
    border-color: #e5d19a;
    background: #fff7e5;
}

.th-notice-error {
    border-color: #e5b1b1;
    background: #fdeeee;
}

.th-related-card-grid,
.th-hotel-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.th-related-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
}

.th-related-media,
.th-hotel-card-media {
    display: block;
    min-height: 92px;
    overflow: hidden;
    border-radius: 9px;
    background: var(--th-bg-soft);
}

.th-related-card h3,
.th-hotel-card h2 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.22;
}

.th-related-card h3 a,
.th-hotel-card h2 a {
    color: var(--th-secondary-hover);
    text-decoration: none;
}

.th-related-card p,
.th-hotel-card p {
    margin: 4px 0;
    color: var(--th-muted);
    font-size: 12px;
}

.th-text-link {
    display: inline-flex;
    margin-top: 3px;
    color: var(--th-primary-hover);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.th-hotel-card {
    overflow: hidden;
}

.th-hotel-card-body {
    padding: 14px;
}

.th-hotel-card-media img {
    aspect-ratio: 16 / 10;
}

.th-card-score {
    color: var(--th-secondary);
    font-weight: 800;
}

.th-sticky-mobile-cta {
    display: none;
}

.th-lightbox-open {
    overflow: hidden;
}

.th-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px 78px;
    background: rgba(8, 24, 38, 0.88);
}

.th-lightbox.is-open {
    display: flex;
}

.th-lightbox-figure {
    display: grid;
    gap: 10px;
    width: min(100%, 1040px);
    margin: 0;
}

.th-lightbox-figure img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    background: #071622;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.th-lightbox-figure figcaption {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    color: #fff;
    font-size: 13px;
}

.th-lightbox-type {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 11px;
    font-weight: 800;
}

.th-lightbox-type-user {
    background: rgba(22, 163, 74, 0.92);
}

.th-lightbox-caption {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.th-lightbox-counter {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.th-lightbox-close,
.th-lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.th-lightbox-close:hover,
.th-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

.th-lightbox-close {
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 30px;
    line-height: 1;
}

.th-lightbox-nav {
    top: 50%;
    width: 44px;
    height: 58px;
    border-radius: 12px;
    font-size: 42px;
    line-height: 1;
    transform: translateY(-50%);
}

.th-lightbox-prev {
    left: 20px;
}

.th-lightbox-next {
    right: 20px;
}

@media (max-width: 1040px) {
    .th-profile-hero-grid,
    .th-main-grid {
        grid-template-columns: 1fr;
    }

    .th-rating-panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-items: start;
    }

    .th-featured-quote,
    .th-panel-actions,
    .th-price-from {
        grid-column: 1 / -1;
    }

    .th-quick-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .th-fact-item:nth-child(3n) {
        border-right: 0;
    }

    .th-room-grid,
    .th-review-grid,
    .th-related-card-grid,
    .th-hotel-card-grid,
    .th-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .th-hotel-page--compact {
        width: 100%;
        max-width: 100vw;
        padding: 12px 14px 82px;
        overflow-x: hidden;
    }

    .th-profile,
    .th-profile-header,
    .th-profile-header h1,
    .th-profile-hero-grid,
    .th-profile-gallery,
    .th-section-card,
    .th-quick-facts {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .th-profile-header h1 {
        font-size: 1.5rem;
        line-height: 1.12;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .th-title-chips {
        flex-wrap: wrap;
        gap: 6px;
        overflow-x: hidden;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .th-title-chips .th-tag-chip {
        min-height: 25px;
        padding: 4px 7px;
        font-size: 11.5px;
    }

    .th-chip-row,
    .th-amenity-grid {
        overflow-x: hidden;
    }

    .th-title-chips::-webkit-scrollbar {
        display: none;
    }

    .th-profile-gallery {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .th-gallery-side {
        display: flex;
        overflow-x: auto;
    }

    .th-gallery-thumb {
        flex: 0 0 calc(50% - 4px);
    }

    .th-rating-panel,
    .th-form-grid,
    .th-image-upload-row,
    .th-room-grid,
    .th-review-grid,
    .th-related-card-grid,
    .th-hotel-card-grid,
    .th-video-grid {
        grid-template-columns: 1fr;
    }

    .th-quick-facts {
        grid-template-columns: 1fr;
    }

    .th-lightbox {
        padding: 58px 12px 22px;
    }

    .th-lightbox-figure img {
        max-height: 70vh;
    }

    .th-lightbox-figure figcaption {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .th-lightbox-close {
        top: 10px;
        right: 12px;
    }

    .th-lightbox-nav {
        top: auto;
        bottom: 18px;
        width: 42px;
        height: 42px;
        font-size: 34px;
        transform: none;
    }

    .th-lightbox-prev {
        left: 12px;
    }

    .th-lightbox-next {
        right: 12px;
    }

    .th-fact-item,
    .th-fact-item:nth-child(3n) {
        border-right: 0;
        border-bottom: 1px solid #d7e7ef;
    }

    .th-fact-item:last-child {
        border-bottom: 0;
    }

    .th-section-heading {
        display: block;
    }

    .th-score-choice-row {
        grid-template-columns: repeat(5, minmax(28px, 1fr));
    }

    .th-first-review-cta {
        display: block;
    }

    .th-first-review-cta .th-button {
        width: 100%;
        margin-top: 10px;
    }

    .th-related-card {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .th-sticky-mobile-cta {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 50;
        display: block;
    }

    .th-sticky-mobile-cta .th-button {
        width: 100%;
        box-shadow: 0 10px 24px rgba(0, 136, 187, 0.25);
    }
}

@media (max-width: 460px) {
    .th-related-card {
        grid-template-columns: 1fr;
    }
}

.th-smart-search {
    position: relative;
    max-width: 640px;
}

.th-smart-search-label {
    display: block;
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--th-text, #123);
}

.th-smart-search-control {
    position: relative;
}

.th-smart-search-input {
    width: 100%;
    min-height: 42px;
    padding: 10px 42px 10px 14px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 8px;
    background: #fff;
    color: var(--th-text, #123);
    font-size: 15px;
}

.th-smart-search-icon {
    position: absolute;
    top: 50%;
    right: 13px;
    color: var(--th-secondary, #2A4A6B);
    transform: translateY(-50%);
}

.th-smart-search-hint,
.th-smart-search-loading {
    margin: 8px 0 0;
    color: var(--th-muted, #667085);
    font-size: 13px;
}

.th-smart-search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 80;
    max-height: 430px;
    overflow: auto;
    padding: 8px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(18, 51, 68, 0.16);
}

.th-smart-search-result {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--th-text, #123);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.th-smart-search-result:hover,
.th-smart-search-result:focus {
    background: var(--th-bg-soft, #f4fbfd);
    outline: none;
}

.th-smart-search-thumb {
    width: 58px;
    height: 46px;
    overflow: hidden;
    border-radius: 7px;
    background: var(--th-bg-soft, #f4fbfd);
}

.th-smart-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-smart-search-copy {
    min-width: 0;
}

.th-smart-search-copy strong,
.th-smart-search-copy small,
.th-smart-search-tags {
    display: block;
}

.th-smart-search-copy strong {
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.th-smart-search-copy small,
.th-smart-search-tags {
    color: var(--th-muted, #667085);
    font-size: 12px;
}

.th-smart-search-score {
    align-self: start;
    padding: 3px 7px;
    border-radius: 7px;
    background: var(--th-primary, #00ADEF);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.th-smart-search-no-results {
    margin-top: 10px;
    padding: 12px;
    border: 1px dashed var(--th-border, #e5edf2);
    border-radius: 8px;
    background: var(--th-bg-soft, #f4fbfd);
}

.th-smart-search-no-results p {
    margin: 0 0 8px;
    font-weight: 700;
}

.th-smart-search-selected {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    align-items: center;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 8px;
    background: var(--th-bg-soft, #f4fbfd);
}

.th-smart-search-selected-label,
.th-smart-search-selected span {
    color: var(--th-muted, #667085);
    font-size: 12px;
}

.th-smart-search-selected strong {
    display: block;
    grid-column: 1;
}

.th-smart-search-reset {
    grid-row: 1 / span 3;
    grid-column: 2;
    padding: 6px 10px;
    border: 1px solid var(--th-secondary, #2A4A6B);
    border-radius: 7px;
    background: #fff;
    color: var(--th-secondary, #2A4A6B);
    font-size: 12px;
    cursor: pointer;
}

.th-hotel-suggestion-panel {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 10px;
    background: #fff;
}

.th-hotel-suggestion-panel h4 {
    margin: 0 0 4px;
    font-size: 16px;
}

.th-hotel-suggestion-panel input,
.th-hotel-suggestion-panel select,
.th-hotel-suggestion-panel textarea {
    width: 100%;
}

.th-legal-page {
    max-width: 920px;
    margin: 0 auto;
    color: var(--th-text, #123);
    font-size: 16px;
    line-height: 1.65;
}

.th-legal-page h2 {
    margin: 1.8em 0 0.55em;
    color: var(--th-secondary-hover, #003355);
    font-size: 1.35rem;
    line-height: 1.25;
}

.th-legal-page p,
.th-legal-page ul {
    margin: 0 0 1em;
}

.th-contact-form,
.th-page .th-contact-form {
    max-width: 760px;
    margin: 24px 0;
    padding: 18px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--th-shadow-tiny, 0 4px 14px rgba(18, 51, 68, 0.06));
}

.th-contact-form input,
.th-contact-form select,
.th-contact-form textarea,
.th-captcha-field input {
    width: 100%;
}

.th-captcha-field input {
    max-width: 180px;
}

.th-public-index {
    box-sizing: border-box;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 58px;
    color: var(--th-text, #123);
}

.th-public-index *,
.th-public-index *::before,
.th-public-index *::after {
    box-sizing: border-box;
}

.th-public-index-head {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 12px;
    background: var(--th-bg-soft, #f4fbfd);
}

.th-public-index-head h1 {
    margin: 0 0 6px;
    color: var(--th-secondary-hover, #003355);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.th-public-index-head p {
    max-width: 720px;
    margin: 0 0 14px;
    color: var(--th-muted, #667085);
}

.th-public-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.th-public-card,
.th-public-review-card {
    overflow: hidden;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--th-shadow-tiny, 0 4px 14px rgba(18, 51, 68, 0.06));
}

.th-public-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--th-bg-soft, #f4fbfd);
    color: var(--th-muted, #667085);
    text-decoration: none;
}

.th-public-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-public-card-media span:not(.th-public-score) {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 12px;
    text-align: center;
}

.th-public-card-body {
    padding: 13px;
}

.th-public-card-body h2,
.th-public-review-card h2 {
    margin: 0 0 5px;
    color: var(--th-secondary-hover, #003355);
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.th-public-card-body h2 a,
.th-public-review-card h2 a {
    color: inherit;
    text-decoration: none;
}

.th-public-card-body p,
.th-public-review-card p {
    margin: 0 0 8px;
    font-size: 0.92rem;
}

.th-public-score {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 7px;
    background: var(--th-primary, #00ADEF);
    color: #fff;
    font-size: 0.82rem;
    line-height: 1;
}

.th-public-muted {
    color: var(--th-muted, #667085);
    font-size: 0.82rem;
}

.th-public-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.th-public-chip-row a,
.th-public-chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 999px;
    background: #fff;
    color: var(--th-secondary, #2A4A6B);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.th-public-chip-row-small {
    margin: 8px 0 10px;
}

.th-public-chip-row-standalone {
    margin: 0 0 18px;
}

.th-public-text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
    color: var(--th-primary-hover, #0088BB);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.th-public-text-link::after {
    content: "→";
    margin-left: 5px;
}

.th-public-review-list {
    display: grid;
    gap: 12px;
}

.th-public-review-card {
    padding: 14px;
}

.th-public-review-card header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
}

.th-public-review-card header a {
    color: var(--th-primary-hover, #0088BB);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.th-public-review-card header strong {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--th-primary, #00ADEF);
    color: #fff;
}

.th-public-review-card header small {
    font-size: 0.72em;
}

.th-public-empty {
    margin: 0;
    padding: 16px;
    border: 1px dashed var(--th-border, #e5edf2);
    border-radius: 10px;
    background: var(--th-bg-soft, #f4fbfd);
    color: var(--th-muted, #667085);
}

.th-public-pagination {
    margin-top: 18px;
}

.th-public-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.th-public-pagination a,
.th-public-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 8px;
    background: #fff;
    color: var(--th-secondary, #2A4A6B);
    text-decoration: none;
}

.th-public-pagination .current {
    border-color: var(--th-primary, #00ADEF);
    background: var(--th-primary, #00ADEF);
    color: #fff;
}

.th-public-page-regions {
    background: #fff;
}

.th-region-archive {
    width: min(100% - 36px, 1180px);
    margin: 0 auto;
    padding: 28px 0 58px;
}

.th-region-archive *,
.th-region-archive *::before,
.th-region-archive *::after {
    box-sizing: border-box;
}

.th-region-archive-hero {
    min-height: clamp(300px, 36vw, 430px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 16px;
    background-position: center;
    background-size: cover;
    box-shadow: var(--th-shadow-tiny, 0 4px 14px rgba(18, 51, 68, 0.06));
}

.th-region-archive-hero-inner {
    width: min(100%, 880px);
    padding: clamp(28px, 5vw, 54px);
    color: #fff;
}

.th-region-archive-hero .th-hotel-eyebrow {
    color: #87ddff;
}

.th-region-archive-hero h1 {
    max-width: 820px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.th-region-archive-hero p:not(.th-hotel-eyebrow) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.4vw, 1.17rem);
    line-height: 1.6;
}

.th-region-archive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.th-region-archive-actions a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.th-region-archive-actions a:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.th-region-archive-section {
    margin-bottom: 34px;
}

.th-region-archive-copy {
    padding: 24px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 14px;
    background: #fff;
    color: #314657;
    line-height: 1.72;
}

.th-region-archive-copy p {
    margin: 0 0 14px;
}

.th-region-archive-copy p:last-child {
    margin-bottom: 0;
}

.th-region-archive-section-head {
    margin-bottom: 16px;
}

.th-region-archive-section-head h2 {
    margin: 0;
    color: var(--th-secondary-hover, #003355);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.16;
    letter-spacing: 0;
}

.th-region-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.th-region-location-card {
    display: grid;
    grid-template-columns: minmax(118px, 34%) minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--th-shadow-tiny, 0 4px 14px rgba(18, 51, 68, 0.06));
}

.th-region-location-media {
    display: block;
    min-height: 156px;
    overflow: hidden;
    background: var(--th-bg-soft, #f4fbfd);
}

.th-region-location-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-region-location-card > div {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    padding: 16px;
}

.th-region-location-card h3 {
    margin: 0;
    color: var(--th-secondary-hover, #003355);
    font-size: 1.06rem;
    line-height: 1.2;
}

.th-region-location-card h3 a {
    color: inherit;
    text-decoration: none;
}

.th-region-location-card h3 a:hover {
    color: var(--th-primary-hover, #0088BB);
}

.th-region-location-card p {
    margin: 0;
    color: #4d5d6b;
    font-size: 0.91rem;
    line-height: 1.48;
}

.th-region-empty-state {
    padding: 22px;
}

.th-region-empty-state p {
    margin: 0;
    color: var(--th-muted, #667085);
}

.th-regions-hub {
    width: min(100%, 1280px);
    margin: 0 auto;
    color: var(--th-text, #123);
}

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

.th-regions-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(390px, 44vw, 560px);
    margin: 0 auto 42px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.th-regions-hero-inner {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(44px, 7vw, 86px) 22px;
    color: #fff;
}

.th-regions-eyebrow {
    margin: 0 0 9px;
    color: var(--th-primary, #00ADEF);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.th-regions-hero .th-regions-eyebrow {
    color: #87ddff;
}

.th-regions-hero h1 {
    max-width: 850px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.35rem, 5.4vw, 4.55rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.th-regions-hero p:not(.th-regions-eyebrow) {
    max-width: 790px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.02rem, 1.6vw, 1.28rem);
    line-height: 1.65;
}

.th-regions-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 980px;
    margin-top: 34px;
}

.th-regions-trust-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.th-regions-icon {
    width: 22px;
    height: 22px;
}

.th-regions-trust-item .th-regions-icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.th-regions-trust-item span {
    display: grid;
    gap: 2px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.89rem;
    line-height: 1.35;
}

.th-regions-trust-item strong {
    color: #fff;
    font-size: 0.98rem;
}

.th-regions-section {
    width: min(100% - 36px, 1180px);
    margin: 0 auto 46px;
}

.th-regions-section-head {
    display: grid;
    gap: 4px;
    margin-bottom: 20px;
}

.th-regions-section-head h2 {
    margin: 0;
    color: var(--th-secondary-hover, #003355);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.th-regions-card-grid {
    display: grid;
    gap: 20px;
}

.th-regions-card-grid-large {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.th-regions-card-grid-small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.th-region-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--th-shadow-tiny, 0 4px 14px rgba(18, 51, 68, 0.06));
}

.th-region-card-large {
    flex-direction: column;
}

.th-region-card-small {
    min-height: 205px;
}

.th-region-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--th-bg-soft, #f4fbfd);
}

.th-region-card-large .th-region-card-media {
    aspect-ratio: 16 / 9;
}

.th-region-card-small .th-region-card-media {
    flex: 0 0 38%;
}

.th-region-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.th-region-card:hover .th-region-card-media img {
    transform: scale(1.035);
}

.th-region-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 18px;
}

.th-region-card-body h3 {
    margin: 0;
    color: var(--th-secondary-hover, #003355);
    font-size: 1.18rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.th-region-card-large .th-region-card-body h3 {
    font-size: 1.28rem;
}

.th-region-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.th-region-card-body h3 a:hover {
    color: var(--th-primary-hover, #0088BB);
}

.th-region-card-body p {
    margin: 0;
    color: #4d5d6b;
    font-size: 0.95rem;
    line-height: 1.55;
}

.th-region-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.th-region-badge-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(0, 173, 239, 0.22);
    border-radius: 999px;
    background: #ecf8fd;
    color: var(--th-secondary-hover, #003355);
    font-size: 0.76rem;
    font-weight: 800;
}

.th-region-card-link,
.th-regions-info-card a {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    align-self: flex-start;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--th-primary, #00ADEF);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none;
}

.th-region-card-link:hover,
.th-regions-info-card a:hover {
    background: var(--th-primary-hover, #0088BB);
    color: #fff;
}

.th-regions-info-section {
    padding: 28px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 14px;
    background: var(--th-bg-soft, #f4fbfd);
}

.th-regions-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.th-regions-info-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 12px;
    background: #fff;
}

.th-regions-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #e7f7fd;
    color: var(--th-primary-hover, #0088BB);
}

.th-regions-info-card h3 {
    margin: 0;
    color: var(--th-secondary-hover, #003355);
    font-size: 1.12rem;
    line-height: 1.2;
}

.th-regions-info-card p {
    margin: 0;
    color: #4d5d6b;
    line-height: 1.62;
}

.th-regions-info-card a {
    margin-top: auto;
}

.th-regions-confidence {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    width: min(100% - 36px, 1180px);
    margin: 0 auto 58px;
    overflow: hidden;
    border: 1px solid var(--th-border, #e5edf2);
    border-radius: 14px;
    background: var(--th-border, #e5edf2);
}

.th-regions-confidence div {
    display: grid;
    gap: 5px;
    padding: 20px;
    background: #fff;
}

.th-regions-confidence strong {
    color: var(--th-secondary-hover, #003355);
    font-size: 0.98rem;
}

.th-regions-confidence span {
    color: var(--th-muted, #667085);
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 700px) {
    .th-smart-search-results {
        position: static;
        margin-top: 8px;
    }

    .th-smart-search-result {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .th-smart-search-score {
        grid-column: 2;
        justify-self: start;
    }

    .th-smart-search-selected {
        grid-template-columns: 1fr;
    }

    .th-smart-search-reset {
        grid-row: auto;
        grid-column: 1;
        justify-self: start;
    }

    .th-public-index {
        width: min(100% - 20px, 1180px);
        padding-top: 18px;
    }

    .th-public-index-head {
        padding: 14px;
    }

    .th-public-review-card header {
        display: grid;
    }

    .th-public-review-card header strong {
        justify-self: start;
    }
}

@media (max-width: 1020px) {
    .th-region-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-regions-card-grid-large,
    .th-regions-card-grid-small,
    .th-regions-info-grid,
    .th-regions-confidence {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-regions-trust-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .th-region-archive {
        width: min(100% - 24px, 1180px);
        padding-top: 18px;
    }

    .th-region-archive-hero {
        min-height: 340px;
        border-radius: 13px;
    }

    .th-region-archive-hero-inner {
        padding: 28px 18px;
    }

    .th-region-location-grid {
        grid-template-columns: 1fr;
    }

    .th-region-location-card {
        grid-template-columns: 1fr;
    }

    .th-region-location-media {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }

    .th-region-archive-copy {
        padding: 18px;
    }

    .th-regions-hero {
        min-height: 430px;
        margin-bottom: 30px;
    }

    .th-regions-hero-inner {
        padding: 46px 18px;
    }

    .th-regions-card-grid-large,
    .th-regions-card-grid-small,
    .th-regions-info-grid,
    .th-regions-confidence {
        grid-template-columns: 1fr;
    }

    .th-region-card-small {
        flex-direction: column;
    }

    .th-region-card-small .th-region-card-media {
        flex-basis: auto;
        aspect-ratio: 16 / 9;
    }

    .th-regions-section {
        width: min(100% - 24px, 1180px);
        margin-bottom: 34px;
    }

    .th-regions-info-section {
        padding: 18px;
    }

    .th-regions-confidence {
        width: min(100% - 24px, 1180px);
        margin-bottom: 38px;
    }
}
