/* Manual Tour Reviews 1.4.0 */
.mtr-container,
.mtr-container *,
.mtr-container *::before,
.mtr-container *::after {
    box-sizing: border-box;
}
.mtr-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 20px 0;
}
.mtr-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    max-width: 100%;
    overflow-x: auto;
    border-bottom: 2px solid #ddd;
    -webkit-overflow-scrolling: touch;
}
.mtr-tabs li.mtr-tab-item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    position: relative;
    margin: 0 20px 0 0;
    padding: 8px 5px;
    cursor: pointer;
    color: #555;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .2s ease-in-out, border-color .2s ease-in-out;
}
.mtr-tabs li.mtr-tab-item.active,
.mtr-tabs li.mtr-tab-item:hover {
    color: #000;
    border-bottom-color: #000;
}
.mtr-tab-item:focus-visible {
    outline: 2px solid #0073aa;
    outline-offset: -2px;
}
.mtr-tab-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 6px;
}
.mtr-tab-label {
    font-size: 15px;
    color: inherit;
}
.mtr-tab-content { display: none; min-width: 0; }
.mtr-tab-content.active { display: block; }
.mtr-slider {
    min-width: 0;
    max-width: 100%;
    padding: 0 26px;
}
.mtr-slider .mtr-slide { padding: 0 8px; }
.mtr-slider .slick-slide { outline: none; }
/* Slick owns the track width, transform and list height. Keep its clipping. */
.mtr-slider .slick-list { overflow: hidden; }
.mtr-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 12px;
    margin: 5px 0;
    background-color: #fff;
    border: 1px solid #ececec;
    border-radius: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.mtr-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.mtr-card-author {
    display: flex;
    align-items: center;
    min-width: 0;
}
.mtr-author-photo,
.mtr-author-photo-placeholder {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 12px;
}
.mtr-author-photo-placeholder { background-color: #f2f2f2; }
.mtr-card-author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
}
.mtr-author-name {
    font-size: 15px;
    font-weight: bold;
    color: #222;
    margin-bottom: 2px;
}
.mtr-review-date { font-size: 12px; color: #666; }
.mtr-platform-badge,
.mtr-platform-badge-summary {
    flex-shrink: 0;
    object-fit: contain;
}
.mtr-platform-badge { width: 20px; height: 20px; }
.mtr-platform-badge-summary { width: 24px; height: 24px; }
.mtr-text-wrapper { min-width: 0; flex: 1; }
.mtr-review-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    overflow-wrap: anywhere;
    margin: 0;
    line-height: 21.75px;
    font-size: 15px;
    color: #333;
}
.mtr-review-content.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.mtr-container .mtr-read-more {
    display: inline-block;
    padding: 0;
    margin: 5px 0 0;
    height: auto;
    min-height: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    color: #0073aa;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}
.mtr-read-more:hover { text-decoration: underline; }
.mtr-no-reviews { text-align: center; color: #666; font-style: italic; margin: 20px 0; }
.mtr-summary-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid #ececec;
    border-radius: 15px;
    background-color: #fff;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.mtr-summary-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
    font-weight: bold;
}
.mtr-summary-label { font-weight: bold; font-size: 15px; color: #222; }
.mtr-summary-average { font-size: 15px; color: #333; }
.mtr-summary-sep { color: #888; }
.mtr-summary-count { font-size: 15px; color: #555; overflow-wrap: anywhere; }
.mtr-summary-right { max-width: 100%; }
.mtr-summary-right .mtr-write-review-btn {
    display: inline-block;
    padding: 6px 16px;
    background-color: #f09220;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color .2s ease;
}
.mtr-summary-right .mtr-write-review-btn:hover { background-color: #005f8d; }
.mtr-card-rating,
.mtr-summary-stars {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
    margin-bottom: 3px;
    white-space: nowrap;
}
.mtr-container .mtr-star {
    display: inline-block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    max-width: none;
    margin: 0;
    vertical-align: middle;
}
@media (max-width: 768px) {
    .mtr-card-header { flex-direction: column; align-items: flex-start; }
    .mtr-card-author { margin-bottom: 6px; }
    .mtr-card-header .mtr-platform-badge { align-self: flex-end; }
    .mtr-card-author-info { align-items: flex-start; }
}
@media (max-width: 600px) {
    .mtr-tabs { margin-bottom: 10px; }
    .mtr-tabs li.mtr-tab-item { margin-right: 16px; padding: 8px 12px; font-size: 14px; }
    .mtr-summary-row { flex-direction: column; align-items: stretch; padding: 12px; }
    .mtr-summary-label { font-size: 16px; }
    .mtr-summary-average,
    .mtr-summary-sep,
    .mtr-summary-count { font-size: 14px; }
    .mtr-summary-right { width: 100%; }
    .mtr-summary-right .mtr-write-review-btn { display: block; width: 100%; text-align: center; padding: 10px 8px; }
    .mtr-card-header { padding-right: 28px; margin-bottom: 10px; }
    .mtr-card-author-info { margin-top: 4px; }
    .mtr-card-header .mtr-platform-badge { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; }
    .mtr-card-rating { margin-bottom: 10px; }
    .mtr-text-wrapper { margin-bottom: 12px; }
    .mtr-review-date { font-size: 13px; }
    .mtr-author-photo,
    .mtr-author-photo-placeholder { flex-basis: 44px; width: 44px; height: 44px; }
}
