/* Yunnan theme tour additions for the static demo. */
.yunnan-theme-section {
    padding: 46px 0 52px;
    background: #f6fbf8;
}

.yunnan-theme-section .section-kicker {
    margin: 0 0 8px;
    color: #5f8d3e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.yunnan-theme-section h2 {
    margin: 0 0 18px;
    color: #10251b;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
}

.yunnan-theme-intro {
    max-width: 980px;
    margin: 0 auto 28px;
    text-align: center;
}

.yunnan-theme-intro p {
    margin: 0 auto 12px;
    color: #3e4b44;
    font-size: 16px;
    line-height: 1.75;
}

.yt-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 30px;
}

.yt-proof-item {
    min-height: 118px;
    padding: 20px 16px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(95, 141, 62, 0.18);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(16, 37, 27, 0.08);
}

.yt-proof-item .glyphicon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    color: #5f8d3e;
    font-size: 22px;
    border: 2px solid rgba(95, 141, 62, 0.26);
    border-radius: 50%;
}

.yt-proof-value {
    margin: 0;
    color: #f47a1f;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
}

.yt-proof-label {
    margin: 6px 0 0;
    color: #4a564f;
    font-size: 14px;
    line-height: 1.35;
}

.yt-theme-carousel {
    position: relative;
}

.yt-theme-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.yt-theme-card {
    display: flex;
    min-height: 164px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px;
    color: #1d3025;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.yt-theme-card:hover,
.yt-theme-card:focus {
    color: #1d3025;
    text-decoration: none;
    border-color: rgba(164, 0, 0, 0.28);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    transform: translateY(-4px);
}

.yt-theme-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 18px;
    background: #a40000;
    border-radius: 50%;
}

.yt-theme-title {
    margin: 0;
    color: #14261d;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.28;
}

.yt-theme-cn {
    margin: 6px 0 0;
    color: #6a766f;
    font-size: 13px;
    line-height: 1.35;
}

.yt-theme-meta {
    margin: 13px 0 0;
    color: #5f8d3e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.yt-theme-dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.yt-theme-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    background: #c6d2cb;
    border: 0;
    border-radius: 50%;
}

.yt-theme-dot.is-active {
    width: 22px;
    background: #a40000;
    border-radius: 999px;
}

.yt-theme-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.yt-theme-quick-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    color: #1d3025;
    font-size: 14px;
    font-weight: 800;
    background: #fff;
    border: 1px solid rgba(95, 141, 62, 0.2);
    border-radius: 999px;
}

.yt-theme-quick-links a:hover,
.yt-theme-quick-links a:focus {
    color: #fff;
    text-decoration: none;
    background: #5f8d3e;
}

.tct-tour-gallery {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.tct-gallery-thumbs {
    display: flex;
    max-height: 430px;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 4px;
}

.tct-gallery-thumb {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

.tct-gallery-thumb.is-active {
    border-color: #a40000;
}

.tct-gallery-thumb img {
    display: block;
    width: 100%;
    height: 70px;
    object-fit: cover;
}

.tct-gallery-main {
    display: flex;
    min-height: 430px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 8px;
}

.tct-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

@media only screen and (max-width: 991.98px) {
    .yt-proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yt-theme-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767.98px) {
    .yunnan-theme-section {
        padding: 34px 0 38px;
    }

    .yunnan-theme-section h2 {
        font-size: 24px;
    }

    .yunnan-theme-intro {
        text-align: left;
    }

    .yt-proof-strip {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .yt-proof-strip::-webkit-scrollbar {
        display: none;
    }

    .yt-proof-item {
        flex: 0 0 76%;
        scroll-snap-align: center;
    }

    .yt-theme-track {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .yt-theme-track::-webkit-scrollbar {
        display: none;
    }

    .yt-theme-card {
        flex: 0 0 78%;
        min-height: 176px;
        scroll-snap-align: center;
    }

    .yt-theme-dots {
        display: flex;
    }

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

    .tct-gallery-thumbs {
        order: 2;
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 4px;
        scroll-snap-type: x mandatory;
    }

    .tct-gallery-thumb {
        flex: 0 0 92px;
        scroll-snap-align: center;
    }

    .tct-gallery-main {
        min-height: 280px;
    }

    .tct-gallery-main img {
        min-height: 280px;
    }

    .yt-theme-quick-links {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 575.98px) {
    .yt-proof-item,
    .yt-theme-card {
        flex-basis: 84%;
    }
}
