/* TubHotels Jacuzzi Data Insight box */

.thji-box {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 24px 28px;
    /* font-family: 'Roboto', -apple-system, sans-serif; */
    color: #222;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    box-sizing: border-box;
    max-width: 720px;
    margin: 0 auto 24px;
}
.thji-box * { box-sizing: border-box; }

.thji-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.thji-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.thji-brand-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0d7377;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.thji-brand-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #0d7377;
}
.thji-verified {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #999;
}

.thji-title {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #222;
}
.thji-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px;
}
.thji-intro strong {
    color: #222;
    font-weight: 500;
}

.thji-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.thji-stats.thji-cols-1 { grid-template-columns: minmax(0, 1fr); }
.thji-stats.thji-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.thji-stats.thji-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.thji-stats.thji-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.thji-stat {
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    min-width: 0;
}
.thji-stat.thji-bedroom  { background: #fff8e8; }
.thji-stat.thji-bathroom { background: #e6f1fb; }
.thji-stat.thji-balcony  { background: #e1f5ee; }
.thji-stat.thji-other    { background: #f0f0f0; }
.thji-stat-num {
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 6px;
}
.thji-stat.thji-bedroom  .thji-stat-num { color: #633806; }
.thji-stat.thji-bathroom .thji-stat-num { color: #042C53; }
.thji-stat.thji-balcony  .thji-stat-num { color: #04342C; }
.thji-stat.thji-other    .thji-stat-num { color: #333; }
.thji-stat-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 6px;
    line-height: 1.35;
}
.thji-stat-pct {
    font-size: 12px;
    font-weight: 500;
}
.thji-stat.thji-bedroom  .thji-stat-label,
.thji-stat.thji-bedroom  .thji-stat-pct { color: #854F0B; }
.thji-stat.thji-bathroom .thji-stat-label,
.thji-stat.thji-bathroom .thji-stat-pct { color: #0C447C; }
.thji-stat.thji-balcony  .thji-stat-label,
.thji-stat.thji-balcony  .thji-stat-pct { color: #0F6E56; }
.thji-stat.thji-other    .thji-stat-label,
.thji-stat.thji-other    .thji-stat-pct { color: #555; }

.thji-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}
.thji-bar-bedroom  { background: #EF9F27; }
.thji-bar-bathroom { background: #378ADD; }
.thji-bar-balcony  { background: #1D9E75; }
.thji-bar-other    { background: #a0a0a0; }

.thji-section {
    margin-bottom: 20px;
}
.thji-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.thji-section-title-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
}

.thji-champions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.thji-champions.thji-cols-1 { grid-template-columns: minmax(0, 1fr); }
.thji-champions.thji-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.thji-champions.thji-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.thji-champ {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    padding: 10px 12px;
    transition: border-color 0.15s;
    min-width: 0;
}
.thji-champ:hover { border-color: rgba(0,0,0,0.3); }
.thji-champ.thji-bedroom  { border-top: 2px solid #EF9F27; }
.thji-champ.thji-bathroom { border-top: 2px solid #378ADD; }
.thji-champ.thji-balcony  { border-top: 2px solid #1D9E75; }
.thji-champ-cat {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    line-height: 1.35;
}
.thji-champ.thji-bedroom  .thji-champ-cat { color: #854F0B; }
.thji-champ.thji-bathroom .thji-champ-cat { color: #0C447C; }
.thji-champ.thji-balcony  .thji-champ-cat { color: #0F6E56; }
.thji-champ-name {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    line-height: 1.3;
    margin-bottom: 5px;
}
.thji-champ-name a {
    color: inherit;
    text-decoration: none;
}
.thji-champ-name a:hover {
    text-decoration: underline;
}
.thji-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
}
.thji-rating svg { flex-shrink: 0; }
.thji-rating-text {
    font-size: 11px;
    font-weight: 500;
    color: #f1a502;
    margin-left: 3px;
    white-space: nowrap;
}

.thji-prices {
    background: #f9f9f7;
    border-radius: 8px;
    padding: 14px;
}
.thji-prices-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.thji-prices-grid.thji-cols-1 { grid-template-columns: minmax(0, 1fr); }
.thji-prices-grid.thji-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.thji-prices-grid.thji-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.thji-price-item {
    padding-left: 0;
    min-width: 0;
}
.thji-price-item + .thji-price-item {
    border-left: 0.5px solid rgba(0,0,0,0.15);
    padding-left: 12px;
}
.thji-price-cat {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
    line-height: 1.35;
}
.thji-price-item.thji-bedroom  .thji-price-cat { color: #854F0B; }
.thji-price-item.thji-bathroom .thji-price-cat { color: #0C447C; }
.thji-price-item.thji-balcony  .thji-price-cat { color: #0F6E56; }
.thji-price-val {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
}
.thji-price-val .range {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.thji-insight {
    background: #f9f9f7;
    border-radius: 8px;
    padding: 14px 16px;
    border-left: 2px solid #0d7377;
}
.thji-insight-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0d7377;
    margin-bottom: 6px;
}
.thji-insight-text {
    font-size: 14px;
    line-height: 1.6;
    color: #222;
    margin: 0 !important;
}
.thji-insight-text strong { font-weight: 500; }

/* Tablet */
@media (max-width: 700px) {
    .thji-box { padding: 20px 18px; }
    .thji-title { font-size: 17px; }
    .thji-intro { font-size: 13.5px; }
    .thji-stat-num { font-size: 24px; }
    .thji-champ { padding: 10px; }
    .thji-champ-name { font-size: 12.5px; }
    .thji-rating svg { width: 9px; height: 9px; }
    .thji-rating-text { font-size: 10.5px; }
    .thji-price-val { font-size: 15px; }
    .thji-price-val .range { font-size: 11px; }
}

/* Mobile */
@media (max-width: 520px) {
    .thji-box { padding: 18px 16px; }
    .thji-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .thji-stats { gap: 6px; }
    .thji-stats.thji-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .thji-stat { padding: 12px 6px; }
    .thji-stat-num { font-size: 22px; }
    .thji-stat-label { font-size: 9px; letter-spacing: 0.2px; }
    .thji-stat-pct { font-size: 11px; }
    .thji-champions,
    .thji-champions.thji-cols-1,
    .thji-champions.thji-cols-2,
    .thji-champions.thji-cols-3 {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .thji-champ {
        border: 0.5px solid rgba(0,0,0,0.15);
        border-radius: 8px;
        border-left-width: 3px;
    }
    .thji-champ.thji-bedroom  { border-top: 0.5px solid rgba(0,0,0,0.15); border-left: 3px solid #EF9F27; }
    .thji-champ.thji-bathroom { border-top: 0.5px solid rgba(0,0,0,0.15); border-left: 3px solid #378ADD; }
    .thji-champ.thji-balcony  { border-top: 0.5px solid rgba(0,0,0,0.15); border-left: 3px solid #1D9E75; }
    .thji-prices-grid,
    .thji-prices-grid.thji-cols-1,
    .thji-prices-grid.thji-cols-3 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .thji-prices-grid.thji-cols-2 .thji-price-item + .thji-price-item{
        border-left: 0.5px solid rgba(0, 0, 0, 0.15);
        padding-left: 12px;
        padding-top: 0;
        border-top: none;
    }
    .thji-price-item + .thji-price-item {
        border-left: 0;
        border-top: 0.5px solid rgba(0,0,0,0.15);
        padding-left: 0;
        padding-top: 10px;
    }
    .thji-insight { padding: 12px 14px; }
    .thji-insight-text { font-size: 13.5px; }
}
