/* =========================================================
   TOUR PAGE
========================================================= */

.tour-page {
    padding: 62px 0 80px;
    background: var(--aw-bg);
}

.tour-container {
    width: min(
        var(--aw-container),
        calc(100% - 40px)
    );

    margin: 0 auto;
}


/* =========================================================
   INNER PAGE HEADER
========================================================= */

body:has(.tour-page) .site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(23, 32, 24, 0.07);
    box-shadow: 0 3px 18px rgba(23, 32, 24, 0.05);
}

body:has(.tour-page) .site-header .site-nav a {
    color: var(--aw-dark);
}

body:has(.tour-page) .site-header .site-nav a:hover {
    color: var(--aw-orange);
}

body:has(.tour-page) .site-header .site-nav a::after {
    background: var(--aw-orange);
}


/* =========================================================
   HERO
========================================================= */

.tour-hero {
    position: relative;

    min-height: 390px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        url('../../images/home/hero.webp');

    background-size: cover;
    background-position: center;
}

.tour-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 18, 12, 0.90) 0%,
            rgba(10, 18, 12, 0.68) 42%,
            rgba(10, 18, 12, 0.18) 100%
        );
}

.tour-hero-inner {
    position: relative;
    z-index: 1;

    width: min(
        var(--aw-container),
        calc(100% - 40px)
    );

    margin: 0 auto;

    padding: 72px 0 58px;
}

.tour-hero-content {
    max-width: 760px;
}

.tour-hero-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--aw-orange);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tour-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -0.045em;
}

.tour-hero p {
    max-width: 650px;

    margin: 18px 0 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   HERO FEATURES
========================================================= */

.tour-hero-features {
    display: flex;
    flex-wrap: wrap;

    gap: 28px;

    margin-top: 32px;
}

.tour-hero-feature {
    display: flex;
    align-items: center;

    gap: 10px;
}

.tour-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    border: 1px solid rgba(255, 101, 0, 0.55);
    border-radius: 10px;

    color: var(--aw-orange);

    font-size: 18px;
}

.tour-hero-feature strong {
    display: block;

    color: #ffffff;

    font-size: 12px;
    line-height: 1.4;
}

.tour-hero-feature small {
    display: block;

    margin-top: 2px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 10.5px;
    line-height: 1.4;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
    width: 100%;

    padding: 18px 0 0;

    background: var(--aw-bg);
}

.breadcrumb-inner {
    width: min(
        var(--aw-container),
        calc(100% - 40px)
    );

    margin: 0 auto;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    font-size: 12px;
    line-height: 1.5;
}

.breadcrumb a {
    color: var(--aw-muted);

    font-weight: 500;

    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--aw-orange);
}

.breadcrumb-separator {
    color: #adb7ae;
}

.breadcrumb-current {
    color: var(--aw-dark);

    font-weight: 600;
}


/* =========================================================
   PAGE INTRO
========================================================= */

.tour-page-header {
    max-width: 760px;

    margin: 0 auto 30px;

    text-align: center;
}

.tour-page-header .tour-eyebrow {
    margin-bottom: 8px;

    color: var(--aw-orange);
}

.tour-page-header h2 {
    margin: 0;

    color: var(--aw-dark);

    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -0.035em;
}

.tour-title-line {
    width: 42px;
    height: 3px;

    margin: 12px auto 0;

    border-radius: 10px;

    background: var(--aw-orange);
}

.tour-page-header p {
    margin: 13px auto 0;

    color: var(--aw-muted);

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   TOUR TYPE FILTER
========================================================= */

.tour-type-filter {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 28px;
}

.tour-filter-item {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    min-height: 42px;

    padding: 0 17px;

    border: 1px solid var(--aw-border);
    border-radius: 999px;

    background: #ffffff;

    color: var(--aw-text);

    font-size: 12px;
    font-weight: 600;

    box-shadow: 0 3px 12px rgba(23, 32, 24, 0.035);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.tour-filter-item:hover {
    transform: translateY(-2px);

    border-color: rgba(255, 101, 0, 0.30);

    color: var(--aw-orange);

    box-shadow:
        0 8px 18px rgba(23, 32, 24, 0.07);
}

.tour-filter-item.active {
    color: #ffffff;

    background: var(--aw-orange);

    border-color: var(--aw-orange);

    box-shadow:
        0 8px 18px rgba(255, 101, 0, 0.18);
}

.tour-filter-icon {
    font-size: 15px;
    line-height: 1;
}


/* =========================================================
   TOUR GRID
========================================================= */

.tour-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   TOUR CARD
========================================================= */

.tour-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--aw-border);
    border-radius: 15px;

    box-shadow:
        0 5px 22px rgba(23, 32, 24, 0.055);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.tour-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 101, 0, 0.20);

    box-shadow:
        0 16px 35px rgba(23, 32, 24, 0.11);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.tour-card-image {
    position: relative;

    overflow: hidden;

    background: #edf1ed;
}

.tour-card-image > a {
    display: block;
}

.tour-card-image img {
    display: block;

    width: 100%;

    aspect-ratio: 3 / 2;

    object-fit: cover;

    transition:
        transform 0.55s ease;
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.045);
}

.tour-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio: 3 / 2;

    color: var(--aw-muted);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   BADGE
========================================================= */

.tour-badge {
    position: absolute;

    top: 11px;
    left: 11px;

    padding: 5px 9px;

    border-radius: 7px;

    background: #19b94b;

    color: #ffffff;

    font-size: 9px;
    line-height: 1;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}


/* =========================================================
   FAVORITE
========================================================= */

.tour-favorite {
    position: absolute;

    top: 10px;
    right: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    color: var(--aw-dark);

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.tour-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 16px;
}

.tour-location {
    display: flex;
    align-items: center;

    gap: 4px;

    margin-bottom: 7px;

    color: var(--aw-muted);

    font-size: 10.5px;
    line-height: 1.5;

    white-space: nowrap;

    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-location span {
    color: var(--aw-orange);

    font-size: 13px;
}

.tour-card-content h2 {
    margin: 0;

    min-height: 44px;

    color: var(--aw-dark);

    font-size: 15px;
    line-height: 1.45;

    font-weight: 750;

    letter-spacing: -0.018em;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

.tour-card-content h2 a {
    color: inherit;
}

.tour-card-content h2 a:hover {
    color: var(--aw-orange);
}


/* =========================================================
   DURATION
========================================================= */

.tour-duration-row {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 11px;

    color: var(--aw-text);

    font-size: 10.5px;
    line-height: 1.5;
}

.tour-duration-row span {
    display: inline-flex;
    align-items: center;

    gap: 4px;
}

.tour-duration-row span:first-child {
    color: var(--aw-orange);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.tour-description {
    margin: 10px 0 0;

    color: var(--aw-muted);

    font-size: 11px;
    line-height: 1.6;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}


/* =========================================================
   PRICE
========================================================= */

.tour-price {
    display: flex;
    align-items: baseline;

    flex-wrap: wrap;

    gap: 4px;

    margin-top: auto;
    padding-top: 13px;

    border-top: 1px solid var(--aw-border);
}

.tour-price span {
    width: 100%;

    color: var(--aw-muted);

    font-size: 9.5px;
    line-height: 1.4;
}

.tour-price strong {
    color: var(--aw-orange);

    font-size: 17px;
    line-height: 1.35;

    font-weight: 800;
}

.tour-price small {
    color: var(--aw-muted);

    font-size: 9px;
}


/* =========================================================
   DETAIL BUTTON
========================================================= */

.tour-detail-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 40px;

    margin-top: 13px;
    padding: 0 13px;

    border-radius: 9px;

    background: var(--aw-orange);

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.tour-detail-button:hover {
    transform: translateY(-2px);

    background: #ff7418;

    box-shadow:
        0 7px 18px rgba(255, 101, 0, 0.20);
}

.tour-detail-button b {
    font-size: 16px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.tour-detail-button:hover b {
    transform: translateX(3px);
}


/* =========================================================
   PAGINATION
========================================================= */

.tour-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 40px;
}

.tour-pagination a,
.tour-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 10px;

    border: 1px solid var(--aw-border);
    border-radius: 9px;

    background: #ffffff;

    color: var(--aw-text);

    font-size: 11px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.tour-pagination a:hover {
    transform: translateY(-2px);

    background: var(--aw-orange);

    border-color: var(--aw-orange);

    color: #ffffff;
}

.tour-pagination .active {
    background: var(--aw-orange);

    border-color: var(--aw-orange);

    color: #ffffff;
}


/* =========================================================
   EMPTY
========================================================= */

.tour-empty {
    padding: 65px 25px;

    text-align: center;

    background: #ffffff;

    border: 1px solid var(--aw-border);
    border-radius: 18px;
}

.tour-empty-icon {
    margin-bottom: 12px;

    color: var(--aw-orange);

    font-size: 30px;
}

.tour-empty h2 {
    margin: 0;

    color: var(--aw-dark);

    font-size: 22px;
}

.tour-empty p {
    max-width: 500px;

    margin: 9px auto 0;

    color: var(--aw-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   TOUR ASSISTANCE
========================================================= */

.tour-assistance {
    padding: 0 0 80px;

    background: var(--aw-bg);
}

.tour-assistance-inner {
    position: relative;

    width: min(
        var(--aw-container),
        calc(100% - 40px)
    );

    min-height: 118px;

    margin: 0 auto;

    padding: 24px 30px;

    display: flex;
    align-items: center;

    gap: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f3faf2 0%,
            #ffffff 58%,
            #fff8f3 100%
        );

    border: 1px solid #e2ebe1;

    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(23, 32, 24, 0.045);
}

.tour-assistance-inner::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -100px;

    border-radius: 50%;

    background:
        rgba(1, 255, 0, 0.07);

    pointer-events: none;
}


/* ICON */

.tour-assistance-icon {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #ffffff;

    border: 1px solid rgba(1, 255, 0, 0.35);

    box-shadow:
        0 5px 18px rgba(23, 32, 24, 0.06);
}

.tour-assistance-icon span {
    color: #19a947;

    font-size: 23px;
}


/* CONTENT */

.tour-assistance-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;

    flex: 1;

    min-width: 0;
}

.tour-assistance-eyebrow {
    margin-bottom: 4px;

    color: #19a947;

    font-size: 9px;
    line-height: 1.4;

    font-weight: 800;

    letter-spacing: 0.12em;
}

.tour-assistance-content strong {
    color: var(--aw-dark);

    font-size: 16px;
    line-height: 1.4;

    font-weight: 750;
}

.tour-assistance-content p {
    margin: 3px 0 0;

    color: var(--aw-muted);

    font-size: 11px;
    line-height: 1.55;
}


/* BUTTON */

.tour-assistance-button {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    min-width: 158px;
    min-height: 43px;

    padding: 0 19px;

    border-radius: 999px;

    background: #19b94b;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;

    box-shadow:
        0 8px 20px rgba(25, 185, 75, 0.16);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.tour-assistance-button:hover {
    transform: translateY(-2px);

    background: #14a943;

    box-shadow:
        0 12px 26px rgba(25, 185, 75, 0.23);
}

.tour-assistance-button b {
    font-size: 16px;
    line-height: 1;

    transition:
        transform 0.22s ease;
}

.tour-assistance-button:hover b {
    transform: translateX(3px);
}

@media (max-width: 850px) {

    .tour-assistance {
        padding-bottom: 55px;
    }

    .tour-assistance-inner {
        width: calc(100% - 32px);

        align-items: flex-start;

        flex-wrap: wrap;

        padding: 20px;

        gap: 13px;
    }

    .tour-assistance-icon {
        width: 46px;
        height: 46px;
    }

    .tour-assistance-content {
        padding-top: 2px;
    }

    .tour-assistance-content strong {
        font-size: 14px;
    }

    .tour-assistance-content p {
        font-size: 10.5px;
    }

    .tour-assistance-button {
        width: calc(100% - 59px);

        margin-left: 59px;

        min-height: 42px;
    }

}

/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .tour-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .tour-hero {
        min-height: 350px;
    }

    .tour-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .tour-hero {
        min-height: 480px;

        background-position:
            62% center;
    }

    .tour-hero-inner {
        width: calc(100% - 32px);

        padding: 90px 0 45px;
    }

    .tour-hero h1 {
        font-size: 34px;
    }

    .tour-hero p {
        font-size: 13px;
        line-height: 1.7;
    }

    .tour-hero-features {
        display: grid;

        grid-template-columns:
            1fr;

        gap: 13px;

        margin-top: 25px;
    }

    .tour-hero-feature {
        max-width: 300px;
    }

    .tour-page {
        padding: 42px 0 60px;
    }

    .tour-container {
        width: calc(100% - 32px);
    }

    .breadcrumb {
        padding-top: 14px;
    }

    .breadcrumb-inner {
        width: calc(100% - 32px);

        font-size: 11px;

        gap: 6px;
    }

    .tour-page-header {
        margin-bottom: 25px;
    }

    .tour-page-header h2 {
        font-size: 29px;
    }

    .tour-page-header p {
        font-size: 13px;
    }

    .tour-type-filter {
        justify-content: flex-start;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;

        margin-right: -16px;
        padding-right: 16px;

        scrollbar-width: none;
    }

    .tour-type-filter::-webkit-scrollbar {
        display: none;
    }

    .tour-filter-item {
        flex-shrink: 0;

        min-height: 39px;

        padding: 0 14px;

        font-size: 11px;
    }

    .tour-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .tour-card-content {
        padding: 17px;
    }

    .tour-card-content h2 {
        font-size: 17px;
    }

    .tour-description {
        font-size: 12px;
    }

    .tour-price strong {
        font-size: 18px;
    }

    .tour-assistance {
        padding-bottom: 55px;
    }

    .tour-assistance-inner {
        width: calc(100% - 32px);

        align-items: flex-start;

        flex-wrap: wrap;

        padding: 20px;

        gap: 13px;
    }

    .tour-assistance-content {
        min-width: 0;
    }

    .tour-assistance-button {
        width: 100%;
        margin-left: 63px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .tour-hero {
        min-height: 500px;
    }

    .tour-hero-inner {
        padding-top: 85px;
    }

    .tour-hero h1 {
        font-size: 31px;
    }

    .tour-hero-features {
        margin-top: 22px;
    }

    .tour-feature-icon {
        width: 33px;
        height: 33px;
    }

    .tour-pagination {
        gap: 5px;
    }

    .tour-pagination a,
    .tour-pagination span {
        min-width: 34px;
        height: 34px;
    }

}

/* =========================================================
   TOUR HERO - DESKTOP POSITION
========================================================= */

@media (min-width: 851px) {

    .tour-hero-content {
        transform: translateY(32px);
    }

}