/*
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.2
*/
/* 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;
    }
}

/* Modern Blog Page Layout & Small Card Grid */
.st-blog-page-wrapper {
    padding-top: 15px !important;
    margin-top: 0 !important;
    background: #fdfdfd;
}

.st-blog-header-compact {
    display: none !important;
}

.st-blog .blog-wrapper,
.blog-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    margin: 20px 0 40px !important;
    width: 100% !important;
}

@media (max-width: 1199px) {
    .st-blog .blog-wrapper,
    .blog-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 680px) {
    .st-blog .blog-wrapper,
    .blog-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.st-blog .article.post.st-blog-card,
.st-blog .article.post,
.article.post.st-blog-card {
    margin: 0 !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    box-sizing: border-box !important;
}

.st-blog .article.post.st-blog-card:hover,
.st-blog .article.post:hover,
.article.post.st-blog-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09) !important;
    border-color: #cbd5e1 !important;
}

.st-blog-card .header,
.st-blog .article.post .header {
    position: relative !important;
    width: 100% !important;
    height: 195px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    border-radius: 14px 14px 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.st-blog-card .st-blog-thumb-link,
.st-blog .article.post .header a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.st-blog-card .st-blog-card-img,
.st-blog-card .header img,
.st-blog .article.post .header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.35s ease !important;
    margin: 0 !important;
}

.st-blog-card:hover .st-blog-card-img,
.st-blog-card:hover .header img,
.st-blog .article.post:hover .header img {
    transform: scale(1.05) !important;
}

.st-blog-card .st-blog-thumb-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    color: #94a3b8 !important;
    font-size: 36px !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    text-decoration: none !important;
}

.st-blog-card .post-inner,
.st-blog .article.post .post-inner {
    padding: 18px 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
}

.st-blog-card .post-title,
.st-blog .article.post .post-title {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.st-blog-card .post-title a,
.st-blog .article.post .post-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.st-blog-card .post-title a:hover,
.st-blog .article.post .post-title a:hover {
    color: #0284c7 !important;
}

.st-blog-card-meta,
.st-blog .article.post .st-blog-card-meta {
    font-size: 12.5px !important;
    color: #16a34a !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.st-blog-card-meta .meta-date {
    color: #16a34a !important;
    font-weight: 500 !important;
}

.st-blog-card-meta .meta-sep {
    color: #94a3b8 !important;
}

.st-blog-card-meta .meta-author {
    color: #16a34a !important;
    font-weight: 600 !important;
}

.st-blog-card-meta .meta-price {
    color: #0284c7 !important;
    font-weight: 700 !important;
}

.st-blog-card .post-desciption,
.st-blog .article.post .post-desciption {
    font-size: 13.5px !important;
    color: #475569 !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
    flex: 1 1 auto !important;
}

.st-blog-card .post-desciption p,
.st-blog .article.post .post-desciption p {
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.st-blog-card .btn-readmore,
.st-blog .article.post .btn-readmore,
.article.post.st-blog-card .btn-readmore {
    display: inline-block !important;
    align-self: flex-start !important;
    margin-top: auto !important;
    padding: 8px 20px !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: capitalize !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
    letter-spacing: 0.2px !important;
}

.st-blog-card .btn-readmore:hover,
.st-blog .article.post .btn-readmore:hover,
.article.post.st-blog-card .btn-readmore:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Collapse empty 500px banner on search/blog pages */
.search-result-page .banner:not([style*="background-image: url(http"]):not([style*="background-image: url(https"]) {
    height: auto !important;
    min-height: 0 !important;
    padding: 20px 0 !important;
}