/*
Theme Name:   Sasico Child
Theme URI:    https://sasico.pikathemes.site/
Description:  Make your modifications to [Parent Theme] in this Sasico child theme.
Author:       PikaThemes
Author URI:   http://pikathemes.site/
Template:     sasico
Version:      1.1.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  sasico-child
*/

/* =Theme customization starts here
------------------------------------------------------- */
.toc-accordion {
    border: 1px solid #e0e0e0;
    margin: 0 0 10px 0;
    border-radius: 4px;
    overflow: hidden
}

.toc-header {
    background: #2c3e50;
    color: #fff;
    padding: 12px 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative
}

.toc-header::after {
    content: '\25BC';
    position: absolute;
    right: 15px;
    transition: transform 0.3s
}

.toc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f9f9f9
}

.toc-accordion.active .toc-header::after {
    transform: rotate(180deg)
}

.toc-accordion.active .toc-content {
    max-height: 1000px
}

.toc-content ul {
    list-style: none;
    padding: 0 0;
    margin: 0
}

.toc-content li {
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0
}

.toc-content li:last-child {
    border-bottom: none
}

.toc-content a {
    text-decoration: none;
    color: #3498db;
    display: block;
    transition: all 0.2s
}

.toc-content a:hover {
    color: #e74c3c;
    padding-left: 5px
}

.toc-content .submenu {
    padding-left: 20px
}

.span-reading-time.rt-reading-time {
    float: left;
}
.home .page-header.ph-default {
    max-height: 200px;
}
.sasi-breadcrumbs {
    margin: 50px 0;
}

.page-pagination li > span.page-numbers.dots {
    background-color: #fff;
    color: #000;
    border: none;
}
.pagination-wrapper-dpk {
    text-align: center;;
}
.pagination-wrapper-dpk .wc-pagination{
    display: inline-block;
}
#site-logo img {
    height: 70px;
}
.main-navigation > ul{
    border: none !important;
}
.sasi-main-header {
    border: 1px solid #dee2e6;
}

.sasi-mainbar-row .header-download-col {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none;
}

.sasi-mainbar-row > .header-download-col {
    align-items: center;
}

.header-download-btn,
.header_mobile .download_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #007bff;
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-download-btn {
    height: 38px;
    min-height: 0;
    padding: 0 16px;
    font-size: 15px;
    align-self: center;
}

.header-download-btn:hover,
.header-download-btn:focus,
.header_mobile .download_btn:hover,
.header_mobile .download_btn:focus {
    background: #0056b3;
    color: #fff !important;
    text-decoration: none;
    outline: 0;
}

.header_mobile .mobile_header_row {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    min-height: 44px;
}

.header_mobile .mobile_breadcrumb,
.header_mobile .mobile_download {
    flex: 0 0 112px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header_mobile .mobile_breadcrumb {
    justify-content: flex-start;
    max-width: 112px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header_mobile .mobile_download {
    justify-content: flex-end;
}

.header_mobile .mobile_logo {
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    z-index: 1;
}

.header_mobile .mobile_logo img {
    display: block;
    width: auto;
    height: 42px !important;
    max-height: 42px;
}

.header_mobile .download_btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
}

.reading-time-views {
    padding: 5px 2px;
    margin-top: 10px;
    border-bottom: 1px solid #efeeee;
    border-top: 1px solid #efeeee;
    font-size: 12px;
}
.pvc_stats{
    padding: 0 !important;
}
.reading-time-views .pvc_stats{
    margin: 0;
    display: inline-block;
    
}
body.blog, body.archive, body.search, body.single-post.wp-singular {
    background-image: url(./images/bg-pheader-blog.svg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: scroll;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -ms-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}
body.single-post.wp-singular .page-header.ph-default {
    max-height: initial;
}
body.single-post .sasi-main-header {
    border-bottom: 0;
}
.dpk-featured-img {
    margin-bottom:20px ;
}
.textwidget .sasi-social-icons__wrapper>a{margin-right: 10px;}
.textwidget .sasi-social-icons__wrapper>a:last-child{margin-right: 0;}

/*Newsletter*/
.es_subscription_form input[type="email"], .es_subscription_form input[type="text"] {
    width: 100% !important;
}

.post-inner .entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.grid-box .post-inner .btn-readmore {
    margin: 0px;
}

.post-box .btn-readmore .sasi-btn,
.grid-box .post-inner .btn-readmore .sasi-btn,
body.category-travel .btn-readmore .sasi-btn {
    --sasi-btn-color: #000;
    --sasi-btn-color-hover: #000;
    --sasi-btn-bg-color: #fff;
    --sasi-btn-border-color: #e8edf3;
    --sasi-btn-bg-color-hover: #fff;
    --sasi-btn-border-color-hover: #e8edf3;
    background-color: #fff !important;
    border-color: #e8edf3 !important;
    color: #000 !important;
}

.post-box .btn-readmore .sasi-btn .sasi-icon,
.grid-box .post-inner .btn-readmore .sasi-btn .sasi-icon,
body.category-travel .btn-readmore .sasi-btn .sasi-icon {
    --sasi-btn-icon-color: #fff;
    --sasi-btn-icon-color-hover: #fff;
    --sasi-btn-icon-bg-color: #0195F7;
    --sasi-btn-icon-border-color: #0195F7;
    --sasi-btn-icon-bg-color-hover: #0195F7;
    --sasi-btn-icon-border-color-hover: #0195F7;
    background-color: #0195F7 !important;
    border-color: #0195F7 !important;
    color: #fff !important;
}

.post-box .btn-readmore .sasi-btn .sasi-icon i,
.grid-box .post-inner .btn-readmore .sasi-btn .sasi-icon i,
body.category-travel .btn-readmore .sasi-btn .sasi-icon i {
    color: #fff !important;
}

.post-box .btn-readmore .sasi-btn:hover,
.post-box .btn-readmore .sasi-btn:focus,
.grid-box .post-inner .btn-readmore .sasi-btn:hover,
.grid-box .post-inner .btn-readmore .sasi-btn:focus,
body.category-travel .btn-readmore .sasi-btn:hover,
body.category-travel .btn-readmore .sasi-btn:focus {
    background-color: #fff !important;
    border-color: #e8edf3 !important;
    color: #000 !important;
}

.post-box .btn-readmore .sasi-btn:hover .sasi-icon,
.post-box .btn-readmore .sasi-btn:focus .sasi-icon,
.grid-box .post-inner .btn-readmore .sasi-btn:hover .sasi-icon,
.grid-box .post-inner .btn-readmore .sasi-btn:focus .sasi-icon,
body.category-travel .btn-readmore .sasi-btn:hover .sasi-icon,
body.category-travel .btn-readmore .sasi-btn:focus .sasi-icon {
    background-color: #0195F7 !important;
    border-color: #0195F7 !important;
    color: #fff !important;
}

.post-box .entry-title,
.post-box .entry-title a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-source-images {
    max-height: 30px;
}
.news-source-images img {
    max-height: inherit;
    object-fit: contain;
}

.post-box .meta-grid.date-only-meta,
.home .post-box .meta-grid.home-date-only,
body.category-travel .post-box .meta-grid,
body.category-travel .post-box .entry-meta {
    text-align: left;
}

.post-box .meta-grid.date-only-meta .posted-on,
.home .post-box .meta-grid.home-date-only .posted-on,
body.category-travel .post-box .meta-grid .posted-on,
body.category-travel .post-box .entry-meta .posted-on {
    display: inline-block;
}

.post-box .meta-grid.date-only-meta .posted-on::after,
.home .post-box .meta-grid.home-date-only .posted-on::after,
body.category-travel .post-box .meta-grid .posted-on::after,
body.category-travel .post-box .entry-meta .posted-on::after {
    display: none !important;
    content: none !important;
}

body.category-travel .post-box .meta-grid .byline,
body.category-travel .post-box .meta-grid .posted-in,
body.category-travel .post-box .meta-grid .comment-num,
body.category-travel .post-box .entry-meta .byline,
body.category-travel .post-box .entry-meta .posted-in,
body.category-travel .post-box .entry-meta .comment-num {
    display: none !important;
}

body.category-travel .entry-content {
    padding-top: 40px !important;
}

body.category-travel .site-main.grid {
    row-gap: 28px;
}

body.category-travel .site-main.grid .page-pagination {
    grid-column: 1 / -1;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    width: 100%;
    margin: 15px 0 0 !important;
    padding: 0;
    overflow: visible;
}

body.category-travel .site-main.grid .page-pagination li {
    float: none !important;
}

.single-post .entry-content {
    padding: 60px 0 130px;
}
@media only screen and (max-width: 1024px) {
    .header_mobile .mlogo_wrapper img {
        height: 60px;
    }
    .pagination-wrapper-dpk {
        padding: 0 20px;
    }
}

body.archive.category.category-travel .page-header::before {
    background: #fff;
    color: #000;
}
body.archive.category.category-travel .page-title {
    font-size: 0;
}
body.archive.category.category-travel .page-title span {
    font-size: 85px;   /* adjust as needed */
    color: #000;
}
body.archive.category.category-travel .page-title,
body.archive.category.category-travel .page-title * {
    color: #000 !important;
    text-shadow: none !important;
}

@media (min-width: 1440px) {
    body.archive.category.category-travel .page-header.ph-default {
        max-width: 100%;
    }
}


body.archive.category.category-travel #sasi-breadcrumbs .active {
    color: #000;
}
body.archive.category.category-travel .ph-inner {
    text-align: center;
}
body.archive.category.category-travel .page-title,
body.archive.category.category-travel .page-title span,
body.archive.category.category-travel .sasi-breadcrumbs,
body.archive.category.category-travel .sasi-breadcrumbs a {
    color: #000;
}

/* Keep the site header pinned while the page scrolls. */
body #site-header.site-header,
body #site-header.site-header.header-transparent,
body .elementor-location-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: #fff;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
}

body.admin-bar #site-header.site-header,
body.admin-bar #site-header.site-header.header-transparent,
body.admin-bar .elementor-location-header {
    top: 32px !important;
}

@media only screen and (max-width: 782px) {
    body.admin-bar #site-header.site-header,
    body.admin-bar #site-header.site-header.header-transparent,
    body.admin-bar .elementor-location-header {
        top: 46px !important;
    }
}

@media (max-width: 600px) {
    body.admin-bar #site-header.site-header,
    body.admin-bar #site-header.site-header.header-transparent,
    body.admin-bar .elementor-location-header {
        top: 0 !important;
    }
}

/* Keep the custom single-post hero title inside the image on small screens. */
@media (max-width: 768px) {
    body.single-post .custom-featured-hero {
        height: auto;
        min-height: 320px;
        margin: 96px 15px 0;
    }

    body.single-post .custom-featured-hero img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body.single-post .custom-hero-overlay {
        position: relative;
        z-index: 1;
        min-height: 320px;
        padding: 46px 0;
        box-sizing: border-box;
        align-items: center;
    }

    body.single-post .custom-hero-inner {
        padding: 20px 18px;
    }

    body.single-post .custom-hero-title {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.25;
        overflow-wrap: break-word;
    }
}



