/* =========================================================
   TREKKING ZEN - TREK CARDS
   ========================================================= */


/* ---------------------------------------------------------
   TREK LIST / GRID
   --------------------------------------------------------- */

.tz-trek-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}

.tz-trek-category-container {
    max-width: 1300px;
    margin: auto;
	margin-top: 100px;
}

.tz-trek-category-title {
    margin-bottom: 20px;
}
/* ---------------------------------------------------------
   TREK CARD
   --------------------------------------------------------- */

.tz-trek-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e8ece8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
	position: relative;
    z-index: 0;
}

.tz-trek-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}


/* ---------------------------------------------------------
   TREK IMAGE
   --------------------------------------------------------- */

.tz-trek-card-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.tz-trek-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.tz-trek-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tz-trek-card:hover .tz-trek-card-image img {
    transform: scale(1.05);
}


/* ---------------------------------------------------------
   DURATION BADGE
   --------------------------------------------------------- */

.tz-trek-duration {
    position: absolute;
    left: 16px;
    top: 175px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    background: var(--ast-code-block-background);
    color: var(--ast-global-color-1);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 2px 2px 4px rgb(0 0 0 / 12%);
    z-index: 1;
}

.tz-trek-duration svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}


/* ---------------------------------------------------------
   CARD CONTENT
   --------------------------------------------------------- */

.tz-trek-card-content {
    padding: 30px 20px 18px;
}


/* ---------------------------------------------------------
   TREK TITLE
   --------------------------------------------------------- */

.tz-trek-title {
    margin: 0 0 18px;
    padding: 0;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;

    color: #17251b;
}

.tz-trek-title a {
    color: inherit;
    text-decoration: none;
}

.tz-trek-title a:hover {
    color: var(--ast-global-color-0);
}


/* ---------------------------------------------------------
   TREK INFORMATION
   --------------------------------------------------------- */

.tz-trek-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;

    padding-bottom: 18px;
    border-bottom: 1px solid #e8ece8;
}


/* ---------------------------------------------------------
   META INFORMATION
   --------------------------------------------------------- */

.tz-trek-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;

    min-width: 0;
    flex: 1;
}

.tz-trek-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;

    min-width: 0;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.tz-trek-meta-item svg {
    width: 16px;
    height: 16px;

    flex-shrink: 0;

    color: var(--ast-global-color-0);
}

.tz-trek-meta-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   PRICE
   --------------------------------------------------------- */

.tz-trek-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    padding-left: 20px;
    border-left: 2px solid var(--ast-global-color-0);
}

.tz-trek-price strong {
    color: #17251b;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.2;
    white-space: nowrap;
}

.tz-trek-price span {
    margin-top: 3px;
    font-size: 15px;
    font-weight: 500;
}


/* ---------------------------------------------------------
   CARD ACTIONS
   --------------------------------------------------------- */

.tz-trek-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    padding-top: 17px;
}


/* ---------------------------------------------------------
   PHONE BUTTON
   --------------------------------------------------------- */

.tz-trek-call, .tz-trek-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border: 1px solid var(--ast-global-color-0);
    color: var(--ast-global-color-0);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.tz-trek-call:hover {
    background: var(--ast-global-color-1);
    color: #000000;
    border: 1px solid var(--ast-global-color-1);
}

.tz-trek-call svg {
    width: 28px;
    height: 28px;
}
.tz-trek-whatsapp svg{
	width: 24px;
    height: 24px;
}
.tz-trek-whatsapp:hover {
    background: var(--ast-global-color-1);
    color: #000000;
    border: 1px solid var(--ast-global-color-1);
}


/* ---------------------------------------------------------
   MORE DETAILS BUTTON
   --------------------------------------------------------- */

.tz-trek-details {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;

    flex: 1;

    padding: 10px 18px;

    background: var(--ast-global-color-0);
    color: #000000 !important;

    border-radius: 8px;

    font-size: 15px;
    line-height: 1.2;

    text-align: center;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.tz-trek-details:hover {
   background: var(--ast-global-color-1);
    color: #000000;
}


/* ---------------------------------------------------------
   NO TREKS MESSAGE
   --------------------------------------------------------- */

.tz-no-treks {
    margin: 0;
    padding: 20px;

    color: #68716b;

    text-align: center;
}

ul.page-numbers {
    display: flex;
    gap: 16px;
    list-style: none;
    justify-content: center;
    margin-top: 60px;
}
ul.page-numbers li {
    border: 1px solid var(--ast-global-color-0);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    .tz-trek-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .tz-trek-card-image {
        height: 230px;
    }

    .tz-trek-title {
        font-size: 19px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .tz-trek-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tz-trek-card-image {
        height: 235px;
    }


    .tz-trek-title {
        font-size: 19px;
    }

    .tz-trek-meta-item {
        font-size: 13px;
    }

    .tz-trek-price strong {
        font-size: 17px;
    }
}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .tz-trek-card-image {
        height: 220px;
    }

    .tz-trek-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .tz-trek-info {
        gap: 12px;
    }

    .tz-trek-price {
        padding-left: 12px;
    }

    .tz-trek-actions {
        gap: 9px;
    }

    .tz-trek-call {
        width: 42px;
        height: 42px;
    }

    .tz-trek-details {
        min-height: 42px;
    }
}


/* =========================================================
   TREK FEATURED SLIDER
   ========================================================= */

.tz-trek-slider {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
	padding: 20px;
}


/* Slider Track */

.tz-trek-slider .tz-trek-slider-track {
    display: flex;
    gap: 28px;

    width: 100%;

    overflow: hidden;

    scroll-behavior: smooth;
}


/* Individual Slider Card */

.tz-trek-slider .tz-trek-card {
    flex: 0 0 calc((100% - 84px) / 4);
    min-width: 0;
}


/* Slider Arrows */

.tz-trek-slider-prev,
.tz-trek-slider-next {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 1px solid #e4e8e3;
    border-radius: 50%;
    background: #ffffff;
    color: var(--ast-global-color-0);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}


.tz-trek-slider-prev {
    left: 0px;
}

.tz-trek-slider-next {
    right: 0px;
}


.tz-trek-slider-prev:hover,
.tz-trek-slider-next:hover {
    background: var(--ast-global-color-0);
    color: #ffffff;

    transform: translateY(-50%) scale(1.05);
}


.tz-trek-slider-prev svg,
.tz-trek-slider-next svg {
    width: 20px;
    height: 20px;
}


/* Tablet */

@media (max-width: 1024px) {

    .tz-trek-slider .tz-trek-slider-track {
        gap: 22px;
    }

    .tz-trek-slider .tz-trek-card {
        flex: 0 0 calc((100% - 22px) / 2);
    }

}


/* Mobile */

@media (max-width: 767px) {

    .tz-trek-slider .tz-trek-slider-track {
        gap: 20px;
    }

    .tz-trek-slider .tz-trek-card {
        flex: 0 0 100%;
    }

    .tz-trek-slider-prev {
        left: 6px;
    }

    .tz-trek-slider-next {
        right: 6px;
    }

}


/* Small Mobile */

@media (max-width: 480px) {

    .tz-trek-slider-prev,
    .tz-trek-slider-next {
        width: 38px;
        height: 38px;
    }

    .tz-trek-slider-prev svg,
    .tz-trek-slider-next svg {
        width: 17px;
        height: 17px;
    }

}


/* =========================================================
   ALL TREKS PAGE
   ========================================================= */

.tz-all-treks-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0;
}


/* Header */

.tz-all-treks-header {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}


.tz-all-treks-tag {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--ast-global-color-1);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.tz-all-treks-title {
    margin: 0 0 15px;

    color: #17251b;

    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}


.tz-all-treks-description {
    margin: 0;

    color: #68716b;

    font-size: 16px;
    line-height: 1.7;
}


/* Mobile */

@media (max-width: 767px) {

    .tz-all-treks-container {
        width: min(100% - 30px, 600px);
        padding: 50px 0;
    }

    .tz-all-treks-header {
        margin-bottom: 30px;
    }

    .tz-all-treks-title {
        font-size: 30px;
    }

    .tz-all-treks-description {
        font-size: 15px;
    }
	.tz-trek-category-container {
    margin-top: 0 !important;
}

}


