/*
Theme Name: Traveler
Theme URI: https://travelerwp.com/
Author: Shinetheme
Author URI: https://travelerwp.com/
Requires at least: 5.6
Tested up to: 5.8.3
Requires PHP: 7.4
Description:Build a travel website is easy with Traveler theme
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
Text Domain: traveler
Version: 3.2.5
*/
/* Images */
:root {
    --main-color: #5191FA;
    --grey-color: #5E6D77;
    --light-grey-color: #EAEEF3;
    --orange-color: #FA5636;
    --link-color: #1A2B48;
}

.sticky {
}

.bypostauthor {
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figure.wp-caption.alignleft,
img.alignleft {
    margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
    margin: 5px 10px 5px 0;
}

figure.wp-caption.alignright,
img.alignright {
    margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
    margin: 5px 0 5px 10px;
}

img.aligncenter {
    margin: 5px auto;
}

img.alignnone {
    margin: 5px 0;
}
.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
    color: #220e10;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    margin: 0 0 24px;
}

div.wp-caption.alignright img[class*="wp-image-"] {
    float: right;
}

div.wp-caption.alignright .wp-caption-text {
    padding-left: 10px;
}

img.wp-smiley,
.rsswidget img {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

.wp-caption.alignleft + ul,
.wp-caption.alignleft + ol {
    list-style-position: inside;
}

@media (max-width: 767px) {
    #tpcwl_wrapper {
        height: auto !important;

    }

    #tpcwl_wrapper > iframe {
        top: 0px !important;
        position: relative !important;
    }
}

/* Tour Package Styles */
.hotel-package-item {
    display: block;
    width: 100%;
}

.hotel-package-controls,
.activity-package-controls,
.car-package-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    margin-bottom: 0;
    overflow: visible;
    box-sizing: border-box;
    padding: 5px 0;
}

.hotel-package-controls .checkbox-item,
.activity-package-controls .checkbox-item,
.car-package-controls .checkbox-item {
    flex: 1 1 auto;
    overflow: hidden;
    margin-right: 15px;
    min-width: 0;
}

.hotel-package-controls .checkbox-item label,
.activity-package-controls .checkbox-item label,
.car-package-controls .checkbox-item label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    margin: 0;
}

.hotel-package-controls .select-wrapper,
.activity-package-controls .select-wrapper,
.car-package-controls .select-wrapper {
    flex: 0 0 auto;
}

/* 调整caculator-item布局 */
.caculator-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px;
}

.caculator-item input {
    width: 40px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.caculator-item i {
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.package-info-full-row {
    display: block;
    width: 100%;
    margin-top: 15px;
    clear: both;
}

.package-info-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.package-image {
    width: 35%;
    flex-shrink: 0;
}

.package-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

.package-content {
    width: 65%;
    flex-shrink: 0;
}

.package-description {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

.package-button .btn {
    background-color: var(--main-color, #3B71FE);
    border-color: var(--main-color, #3B71FE);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
    font-size: 14px;
}

/* 手机端响应式样式 */
@media (max-width: 768px) {
    .package-info-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .package-image {
        width: 100%;
        order: 1;
    }
    
    .package-content {
        width: 100%;
        order: 2;
    }
}