.pb-builder-simple-section,
.pb-builder-listing-section {
    position: relative;
    padding: 45px 0;
}

.pb-builder-listing-section {
    overflow: hidden;
}

.pb-builder-background-white {
    background: #ffffff;
}

.pb-builder-background-soft {
    background:
        radial-gradient(circle at top left, rgba(40, 125, 250, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 179, 71, 0.12), transparent 34%),
        #f8fafc;
}

.pb-builder-background-transparent {
    background: transparent;
}

.pb-builder-section-heading {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
}

.pb-builder-section-description {
    max-width: 760px;
    margin: 14px auto 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.pb-builder-grid {
    align-items: stretch;
    row-gap: 30px;
}

.pb-builder-grid-column {
    display: flex;
    flex: 0 0 calc(100% / var(--pb-columns, 3));
    max-width: calc(100% / var(--pb-columns, 3));
    padding-right: 15px;
    padding-left: 15px;
}

.pb-builder-grid-column > * {
    width: 100%;
}

.pb-builder-heading {
    margin: 0;
    color: #0f172a;
    font-weight: 900;
    line-height: 1.25;
}

.pb-builder-rich-text {
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
}

.pb-builder-rich-text-card {
    padding: 36px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.pb-builder-rich-text h1,
.pb-builder-rich-text h2,
.pb-builder-rich-text h3,
.pb-builder-rich-text h4,
.pb-builder-rich-text h5,
.pb-builder-rich-text h6 {
    color: #0f172a;
    font-weight: 900;
    line-height: 1.3;
}

.pb-builder-rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.pb-builder-rich-text ul,
.pb-builder-rich-text ol {
    padding-left: 24px;
}

.pb-builder-image {
    margin: 0;
}

.pb-builder-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
}

.pb-builder-image.pb-image-small img {
    width: min(100%, 420px);
}

.pb-builder-image.pb-image-medium img {
    width: min(100%, 680px);
}

.pb-builder-image.pb-image-large img {
    width: min(100%, 960px);
}

.pb-builder-image.pb-image-full img {
    width: 100%;
}

.pb-builder-image figcaption {
    margin-top: 12px;
    color: #64748b;
    font-size: 14px;
}

.pb-builder-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    transition: 0.25s ease;
}

.pb-builder-button:hover {
    transform: translateY(-2px);
}

.pb-button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #287dfa, #1359c8);
    box-shadow: 0 14px 28px rgba(40, 125, 250, 0.25);
}

.pb-button-primary:hover {
    color: #ffffff;
}

.pb-button-outline {
    color: #287dfa;
    border-color: #287dfa;
    background: #ffffff;
}

.pb-button-dark {
    color: #ffffff;
    background: #0f172a;
}

.pb-builder-divider {
    border: 0;
    border-top-width: 1px;
    border-top-color: rgba(148, 163, 184, 0.45);
}

.tg-guide-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: 0.28s ease;
}

.tg-guide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.13);
}

.tg-guide-img {
    position: relative;
    height: 285px;
    overflow: hidden;
    background: #f8fafc;
}

.tg-guide-img > a,
.tg-blog-img > a,
.pb-tour-card-image > a,
.pb-builder-gallery-link {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.tg-guide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.25s ease;
}

.tg-guide-card:hover .tg-guide-img img {
    opacity: 0.94;
}

.tg-guide-card .tg-guide-exp-badge {
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: 14px !important;
    left: 14px !important;
    z-index: 3;
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 7px 11px !important;
    border-radius: 999px !important;
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    max-height: 32px !important;
    align-self: flex-start !important;
    white-space: nowrap !important;
    backdrop-filter: blur(8px);
}

.tg-guide-body {
    padding: 21px;
}

.tg-guide-main .card-title {
    margin-bottom: 8px;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.3;
}

.tg-guide-main .card-title a {
    color: #0f172a;
}

.tg-guide-main .card-title a:hover {
    color: #287dfa;
}

.tg-guide-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.tg-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 15px;
}

.tg-rating-text {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.tg-guide-main .card-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 14px;
}

.tg-guide-main .card-meta i {
    color: #287dfa;
    font-size: 17px;
}

.tg-guide-notes {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}

.tg-blog-card,
.pb-builder-listing-tours .trending-card {
    height: 100%;
    margin-bottom: 0 !important;
}

.tg-blog-img,
.pb-tour-card-image {
    position: relative;
    width: 100%;
    height: 285px;
    overflow: hidden;
    border-radius: 16px;
    background: #f8fafc;
}

.tg-blog-img img,
.pb-tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tg-blog-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    min-width: 62px;
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
    border-radius: 14px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
    line-height: 1.05;
    backdrop-filter: blur(8px);
}

.tg-blog-date-badge strong {
    font-size: 20px;
}

.tg-blog-date-badge span,
.tg-blog-date-badge small {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.tg-blog-excerpt,
.tg-trip-short-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}

.tg-read-more {
    font-weight: 800;
}

@media (max-width: 991px) {
    .pb-builder-grid-column {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    .pb-builder-simple-section,
    .pb-builder-listing-section {
        padding: 32px 0;
    }

    .pb-builder-grid-column {
        flex-basis: 100%;
        max-width: 100%;
    }

    .pb-builder-rich-text-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .tg-guide-img,
    .tg-blog-img,
    .pb-tour-card-image {
        height: 300px;
    }
}

.pb-builder-gallery-title {
    margin-bottom: 30px;
}

.pb-builder-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--pb-gallery-columns, 3), minmax(0, 1fr));
    gap: 22px;
}

.pb-builder-gallery-item {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    background: #f8fafc;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.pb-builder-gallery-link {
    display: block;
    overflow: hidden;
}

.pb-builder-gallery-item img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.25s ease;
}

.pb-builder-gallery-item:hover img {
    opacity: 0.94;
}

.pb-builder-gallery-item figcaption {
    padding: 13px 16px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .pb-builder-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .pb-builder-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pb-builder-gallery-item img {
        height: 240px;
    }
}

.pb-builder-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}

.pb-builder-pagination a,
.pb-builder-pagination-gap {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    color: #334155;
    background: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: 0.2s ease;
}

.pb-builder-pagination a:hover,
.pb-builder-pagination a.is-active {
    color: #ffffff;
    border-color: #287dfa;
    background: #287dfa;
    box-shadow: 0 10px 24px rgba(40, 125, 250, 0.22);
}

.pb-builder-pagination-gap {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}


/* ==========================================================
   Page Builder V5 Blocks
   ========================================================== */
.pb-builder-html-section,
.pb-builder-faq-section,
.pb-builder-divider-section {
    position: relative;
}

.pb-builder-html-frame {
    display: block;
    width: 100%;
    min-height: 120px;
    border: 0;
    border-radius: 18px;
    background: transparent;
}

.pb-builder-background-white .pb-builder-html-frame {
    background: #ffffff;
}

.pb-builder-background-soft .pb-builder-html-frame {
    background: #f8fafc;
}

.pb-builder-breadcrumb {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.pb-builder-breadcrumb .breadcrumb-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.pb-builder-breadcrumb .breadcrumb-content,
.pb-builder-breadcrumb .breadcrumb-list {
    width: 100%;
}

.pb-builder-breadcrumb .breadcrumb-list .list-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: inherit;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-builder-breadcrumb .breadcrumb-list .list-items li,
.pb-builder-breadcrumb .breadcrumb-list .list-items a {
    color: #ffffff;
}

.pb-builder-breadcrumb .breadcrumb-list .list-items li + li::before {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.75);
    content: '/';
}

.pb-builder-breadcrumb .bread-svg-box {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 3;
    width: 100%;
    line-height: 0;
}

.pb-builder-breadcrumb .bread-svg {
    display: block;
    width: 100%;
    height: 48px;
    fill: #ffffff;
}

.pb-builder-faq-list {
    display: grid;
    max-width: 920px;
    gap: 14px;
    margin: 36px auto 0;
}

.pb-builder-faq-item {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.pb-builder-faq-item summary {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.55;
    cursor: pointer;
    list-style: none;
}

.pb-builder-faq-item summary::-webkit-details-marker {
    display: none;
}

.pb-builder-faq-item summary i {
    flex: 0 0 auto;
    color: #287dfa;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.pb-builder-faq-item[open] summary i {
    transform: rotate(45deg);
}

.pb-builder-faq-answer {
    padding: 0 22px 22px;
    color: #64748b;
    line-height: 1.85;
}

@media (max-width: 991px) {
    .pb-builder-breadcrumb .breadcrumb-list {
        margin-top: 18px;
    }

    .pb-builder-breadcrumb .breadcrumb-list .list-items {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .pb-builder-breadcrumb .bread-svg {
        height: 28px;
    }

    .pb-builder-faq-item summary {
        min-height: 56px;
        padding: 16px 18px;
    }

    .pb-builder-faq-answer {
        padding: 0 18px 18px;
    }
}


/* =========================================================
   Tour Category And Destination Cards
   ========================================================= */
.pb-builder-listing-trip_categories,
.pb-builder-listing-destinations {
    overflow: hidden;
}

.pb-taxonomy-card {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pb-taxonomy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.14);
}

.pb-taxonomy-card-image {
    position: relative;
    display: block;
    width: 100%;
    height: var(--pb-taxonomy-image-height, 250px);
    flex: 0 0 var(--pb-taxonomy-image-height, 250px);
    overflow: hidden;
    background: #e2e8f0;
}

.pb-taxonomy-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.pb-taxonomy-card:hover .pb-taxonomy-card-image img {
    transform: scale(1.035);
}

.pb-taxonomy-card-body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 22px;
}

.pb-taxonomy-card-title {
    margin: 0;
    color: #0f172a;
    font-weight: 900;
    line-height: 1.35;
}

.pb-taxonomy-card-title a {
    color: inherit;
}

.pb-taxonomy-card-title a:hover {
    color: #287dfa;
}

.pb-taxonomy-card-description {
    margin: 12px 0 0;
    color: #64748b;
    line-height: 1.75;
}

.pb-taxonomy-card-action {
    margin-top: auto;
    padding-top: 18px;
}

.pb-taxonomy-card-action .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #287dfa;
    font-weight: 800;
}

.pb-taxonomy-card-action .btn-text:hover {
    color: #1359c8;
}

@media (max-width: 767.98px) {
    .pb-taxonomy-card-image {
        height: min(var(--pb-taxonomy-image-height, 250px), 260px);
        flex-basis: min(var(--pb-taxonomy-image-height, 250px), 260px);
    }

    .pb-taxonomy-card-body {
        padding: 19px;
    }
}
