/* =========================================================
   MOROCCO PREMIUM TOUR CARDS
   WP TRAVEL ENGINE
   FINAL CLEAN VERSION
   ========================================================= */

/* =========================================================
   REMOVE WP TRAVEL ENGINE TOOLBAR
   ========================================================= */

#wp-travel-trip-wrapper .wp-travel-toolbar {
    display: none !important;
}
/* =========================================================
   1. ARCHIVE GRID
   ========================================================= */

#wp-travel-trip-wrapper .category-main-wrap.category-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    column-gap: 30px !important;
    row-gap: 30px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   2. CARD
   ========================================================= */

#wp-travel-trip-wrapper
.category-main-wrap.category-grid
.category-trips-single {

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   3. CARD INNER
   ========================================================= */

#wp-travel-trip-wrapper
.category-trips-single-inner-wrap {

    position: relative !important;

    width: 100% !important;
    max-width: none !important;

    height: 380px !important;
    min-height: 380px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border-radius: 14px !important;

    background: #111 !important;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.12);

    transition:
        transform .30s ease,
        box-shadow .30s ease;

    box-sizing: border-box !important;
}


#wp-travel-trip-wrapper
.category-trips-single-inner-wrap:hover {

    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(0,0,0,0.18);
}


/* =========================================================
   4. IMAGE FULL BACKGROUND
   ========================================================= */

#wp-travel-trip-wrapper
.category-trips-single
.category-trip-fig {

    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    z-index: 1 !important;
}


#wp-travel-trip-wrapper
.category-trip-fig a {

    display: block !important;

    width: 100% !important;
    height: 100% !important;
}


#wp-travel-trip-wrapper
.category-trip-fig img {

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    transition:
        transform .55s ease;
}


#wp-travel-trip-wrapper
.category-trips-single-inner-wrap:hover
.category-trip-fig img {

    transform: scale(1.045);
}


/* =========================================================
   5. IMAGE OVERLAY
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-content-wrap {

    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 10 !important;

    box-sizing: border-box !important;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.35) 0%,
            rgba(0,0,0,0.00) 28%,
            rgba(0,0,0,0.02) 42%,
            rgba(0,0,0,0.55) 72%,
            rgba(0,0,0,0.88) 100%
        ) !important;
}


/* =========================================================
   6. REMOVE WP TRAVEL ENGINE EXTRA ELEMENTS
   ========================================================= */

#wp-travel-trip-wrapper
.wpte-details-toggler-button {

    display: none !important;
}


#wp-travel-trip-wrapper
.category-trip-pax,

#wp-travel-trip-wrapper
.mptc-pax {

    display: none !important;
}


/* =========================================================
   7. DETAIL WRAPPER
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-detail-wrap {

    display: contents !important;
}


/* =========================================================
   8. HIDE PRICE / EXTRA INFORMATION
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-prc-wrap {

    display: none !important;
}


#wp-travel-trip-wrapper
.wpte-trip-price-wrapper {

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   9. TITLE CONTAINER — CENTER
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-prc-title-wrap {

    position: absolute !important;

    top: 50% !important;
    left: 22px !important;
    right: 22px !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform:
        translateY(-50%) !important;

    display: block !important;

    text-align: center !important;

    z-index: 40 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   10. TITLE
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-title {

    position: static !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    text-align: center !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 25px !important;

    line-height: 1.25 !important;

    font-weight: 700 !important;

    box-sizing: border-box !important;
}


#wp-travel-trip-wrapper
.category-trip-title a {

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    text-align: center !important;

    text-decoration: none !important;

    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;

    text-shadow:
        0 2px 8px rgba(0,0,0,0.65),
        0 2px 4px rgba(0,0,0,0.80);

    transition:
        opacity .25s ease;
}


#wp-travel-trip-wrapper
.category-trip-title a:hover {

    color: #ffffff !important;

    opacity: .90;
}


/* =========================================================
   11. RATING — TOP LEFT
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-content-wrap::before {

    content: "★★★★★";

    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 50;

    display: flex;

    align-items: center;
    justify-content: center;

    height: 32px;

    padding: 0 11px;

    box-sizing: border-box;

    border-radius: 5px;

    background:
        rgba(0,0,0,0.28);

    border:
        1px solid rgba(255,255,255,0.35);

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    line-height: 1;

    letter-spacing: 2px;

    white-space: nowrap;

    backdrop-filter: blur(6px);

    -webkit-backdrop-filter: blur(6px);

    pointer-events: none;
}


/* =========================================================
   12. PRIVATE TOUR — TOP RIGHT
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-content-wrap::after {

    content: "PRIVATE TOUR";

    position: absolute;

    top: 20px;
    right: 20px;

    z-index: 50;

    display: flex;

    align-items: center;
    justify-content: center;

    height: 32px;

    padding: 0 12px;

    box-sizing: border-box;

    border-radius: 5px;

    background:
        rgba(255,255,255,0.94);

    color: #222222;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: 1px;

    white-space: nowrap;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.15);

    pointer-events: none;
}


/* =========================================================
   13. ORIGINAL BUDGET CONTAINER
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-budget {

    position: static !important;

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   14. DURATION — BOTTOM LEFT
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-budget
.wpte-trip-duration {

    position: absolute !important;

    left: 22px !important;
    bottom: 20px !important;

    z-index: 45 !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    text-align: left !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 11px !important;

    line-height: 1.2 !important;

    font-weight: 500 !important;

    text-transform: uppercase !important;

    letter-spacing: 1px !important;

    white-space: nowrap !important;
}


/* Duration value */

#wp-travel-trip-wrapper
.wpte-trip-duration-value {

    display: block !important;

    margin-top: 4px !important;

    color: #ffffff !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 14px !important;

    line-height: 1.2 !important;

    font-weight: 700 !important;

    text-transform: none !important;

    letter-spacing: 0 !important;

    text-shadow:
        0 1px 5px rgba(0,0,0,0.50);
}


/* =========================================================
   15. VIEW DETAILS — BOTTOM RIGHT
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-budget
.wpte-button-group {

    position: absolute !important;

    right: 22px !important;
    bottom: 20px !important;

    z-index: 60 !important;

    display: block !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Button */

#wp-travel-trip-wrapper
.category-trip-budget
.wpte-button {

    position: relative !important;

    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    width: 145px !important;
    height: 42px !important;

    margin: 0 !important;

    padding:
        0 12px 0 16px !important;

    box-sizing: border-box !important;

    border:
        1px solid rgba(255,255,255,0.70) !important;

    border-radius: 5px !important;

    background:
        rgba(255,255,255,0.12) !important;

    color: #ffffff !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 12px !important;

    line-height: 1 !important;

    font-weight: 700 !important;

    text-decoration: none !important;

    box-shadow: none !important;

    backdrop-filter: blur(7px);

    -webkit-backdrop-filter: blur(7px);

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


/* Arrow */

#wp-travel-trip-wrapper
.category-trip-budget
.wpte-button::after {

    content: "→";

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    margin-left: 10px;

    color: #ffffff;

    font-size: 20px;

    line-height: 1;
}


/* Button hover */

#wp-travel-trip-wrapper
.category-trip-budget
.wpte-button:hover {

    background:
        rgba(255,255,255,0.25) !important;

    border-color:
        #ffffff !important;

    color:
        #ffffff !important;

    transform:
        translateY(-2px);
}


/* =========================================================
   16. HIDE POSITION META
   ========================================================= */

#wp-travel-trip-wrapper
.category-trip-title meta {

    display: none !important;
}


/* =========================================================
   17. TABLET
   ========================================================= */

@media (max-width: 1024px) {

    #wp-travel-trip-wrapper
    .category-main-wrap.category-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        column-gap: 22px !important;
        row-gap: 22px !important;
    }


    #wp-travel-trip-wrapper
    .category-trips-single-inner-wrap {

        height: 370px !important;
        min-height: 370px !important;
    }


    #wp-travel-trip-wrapper
    .category-trip-title {

        font-size: 21px !important;
    }


    #wp-travel-trip-wrapper
    .category-trip-budget
    .wpte-trip-duration {

        left: 20px !important;
        bottom: 16px !important;
    }


    #wp-travel-trip-wrapper
    .category-trip-budget
    .wpte-button-group {

        right: 20px !important;
        bottom: 16px !important;
    }
}


/* =========================================================
   18. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    #wp-travel-trip-wrapper
    .category-main-wrap.category-grid {

        grid-template-columns:
            1fr !important;

        gap: 20px !important;
    }


    #wp-travel-trip-wrapper
    .category-trips-single-inner-wrap {

        width: 100% !important;

        height: 360px !important;
        min-height: 360px !important;

        border-radius: 12px !important;
    }


    /* Rating */

    #wp-travel-trip-wrapper
    .category-trip-content-wrap::before {

        top: 15px;
        left: 15px;

        height: 30px;

        padding: 0 9px;

        font-size: 12px;
    }


    /* Badge */

    #wp-travel-trip-wrapper
    .category-trip-content-wrap::after {

        top: 15px;
        right: 15px;

        height: 30px;

        padding: 0 10px;

        font-size: 9px;
    }


    /* Center title */

    #wp-travel-trip-wrapper
    .category-trip-prc-title-wrap {

        left: 16px !important;
        right: 16px !important;
    }


    #wp-travel-trip-wrapper
    .category-trip-title {

        font-size: 20px !important;

        line-height: 1.25 !important;
    }


    /* Duration */

    #wp-travel-trip-wrapper
    .category-trip-budget
    .wpte-trip-duration {

        left: 16px !important;
        bottom: 14px !important;
    }


    #wp-travel-trip-wrapper
    .wpte-trip-duration-value {

        font-size: 12px !important;
    }


    /* Button */

    #wp-travel-trip-wrapper
    .category-trip-budget
    .wpte-button-group {

        right: 16px !important;
        bottom: 14px !important;
    }


    #wp-travel-trip-wrapper
    .category-trip-budget
    .wpte-button {

        width: 132px !important;
        height: 40px !important;

        font-size: 11px !important;
    }
}


/* =========================================================
   19. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    #wp-travel-trip-wrapper
    .category-trips-single-inner-wrap {

        height: 340px !important;
        min-height: 340px !important;
    }


    #wp-travel-trip-wrapper
    .category-trip-title {

        font-size: 18px !important;
    }


    #wp-travel-trip-wrapper
    .category-trip-budget
    .wpte-button {

        width: 120px !important;

        padding-left: 12px !important;
        padding-right: 9px !important;
    }


    #wp-travel-trip-wrapper
    .wpte-trip-duration-value {

        font-size: 11px !important;
    }
}
/* =========================================================
   PREMIUM ARCHIVE HEADER
   WP TRAVEL ENGINE
   ========================================================= */

#wp-travel-trip-wrapper .page-header {
    position: relative !important;

    width: 100% !important;
    max-width: 1050px !important;

    margin: 0 auto 45px !important;
    padding: 20px 20px 0 !important;

    text-align: center !important;

    box-sizing: border-box !important;
}


/* =========================================================
   TITLE
   ========================================================= */

#wp-travel-trip-wrapper .page-header .page-title {

    position: relative !important;

    display: inline-block !important;

    margin: 0 !important;
    padding: 0 0 18px !important;

    color: #222222 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 42px !important;

    line-height: 1.15 !important;

    font-weight: 700 !important;

    letter-spacing: -0.6px !important;

    text-align: center !important;
}


/* =========================================================
   GOLD LINE UNDER TITLE
   ========================================================= */

#wp-travel-trip-wrapper .page-header .page-title::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 65px;
    height: 3px;

    transform: translateX(-50%);

    background: #b8863b !important;

    border-radius: 10px;
}


/* Small decorative line */

#wp-travel-trip-wrapper .page-header .page-title::before {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 1px;

    width: 110px;
    height: 1px;

    transform: translateX(-50%);

    background: rgba(184,134,59,0.25) !important;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

#wp-travel-trip-wrapper
.page-header
.taxonomy-description {

    width: 100% !important;
    max-width: 850px !important;

    margin: 22px auto 0 !important;
    padding: 0 !important;

    color: #666666 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 16px !important;

    line-height: 1.75 !important;

    font-weight: 400 !important;

    text-align: center !important;
}


/* Remove paragraph default margins */

#wp-travel-trip-wrapper
.page-header
.taxonomy-description p {

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   SUBTLE PREMIUM DECORATION
   ========================================================= */

#wp-travel-trip-wrapper .page-header::before {

    content: "";

    display: block;

    width: 8px;
    height: 8px;

    margin: 0 auto 14px;

    border-radius: 50%;

    background: #b8863b !important;

    opacity: .85;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    #wp-travel-trip-wrapper .page-header {

        max-width: 900px !important;

        margin-bottom: 38px !important;
    }

    #wp-travel-trip-wrapper
    .page-header
    .page-title {

        font-size: 36px !important;
    }

    #wp-travel-trip-wrapper
    .page-header
    .taxonomy-description {

        max-width: 760px !important;

        font-size: 15px !important;

        line-height: 1.7 !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    #wp-travel-trip-wrapper .page-header {

        margin-bottom: 30px !important;

        padding:
            10px 16px 0 !important;
    }


    #wp-travel-trip-wrapper
    .page-header
    .page-title {

        font-size: 30px !important;

        line-height: 1.2 !important;

        letter-spacing: -0.3px !important;

        padding-bottom: 15px !important;
    }


    #wp-travel-trip-wrapper
    .page-header
    .taxonomy-description {

        margin-top: 18px !important;

        font-size: 14px !important;

        line-height: 1.65 !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    #wp-travel-trip-wrapper
    .page-header
    .page-title {

        font-size: 27px !important;
    }

    #wp-travel-trip-wrapper
    .page-header
    .taxonomy-description {

        font-size: 13.5px !important;
    }
}