﻿.page-header {
    position: relative;
    height: 55vh;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/ramble_20260925_090842_ffa433.webp');
    background-size: cover;
    background-position: center 40%;
    animation: pageHeaderZoom 10s ease-out forwards;
}
@keyframes pageHeaderZoom {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1);
    }
}
.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 8, 6, 0.55) 0%,
            rgba(10, 8, 6, 0.65) 50%,
            rgba(10, 8, 6, 0.92) 100%);
}
.page-header-content {
    position: relative;
    z-index: 2;
    padding: 3.5rem 1.5rem;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-header-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e5b97c;
    margin: 0 auto 0.75rem auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}
.page-header-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-style: italic;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 auto 0.85rem auto;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.85);
}
.page-header-sub {
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(0.95rem, 2.4vw, 1.1rem);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.filter-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: var(--navbar-height, 70px);
    z-index: 90;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.filter-bar-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
    flex-wrap: nowrap;
}
.filter-mobile-strip {
    display: contents;
}
.filter-mobile-btn {
    display: none;
}
.filter-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    white-space: nowrap;
    margin-right: 0.25rem;
}
.filter-select {
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-ivory);
    color: var(--color-charcoal);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A756D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.25rem;
    min-width: 160px;
}
.filter-select:focus {
    border-color: var(--color-accent);
}
.filter-search {
    flex: 1;
    min-width: 200px;
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-ivory);
    color: var(--color-charcoal);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.25s ease;
}
.filter-search:focus {
    border-color: var(--color-accent);
}
.filter-reset {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.25s ease;
    white-space: nowrap;
}
.filter-reset:hover {
    color: var(--color-accent);
}
.filter-count {
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--color-muted);
    white-space: nowrap;
}
.tours-page-section {
    background: #fbf7f2;
    padding: 3.5rem 0 5.5rem;
}
.tours-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 0;
}
.tour-card-v2 {
    position: relative;
    background: #fffdfa;
    border: 1px solid #ebdcd0;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(35, 24, 18, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.tour-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(35, 24, 18, 0.09);
    border-color: #a85836;
}
.tc-img {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    display: block;
    background: #e8ded4;
    text-decoration: none;
}
.tc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.tour-card-v2:hover .tc-img img {
    transform: scale(1.06);
}
.tc-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(20, 16, 13, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 0.6rem;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    z-index: 2;
}
.tc-body {
    padding: 1.25rem 1.25rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: transparent;
}
.tc-region {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a85836;
    margin-bottom: 0.35rem;
    display: block;
}
.tc-title {
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-style: italic;
    font-weight: 500;
    color: #1e1713;
    line-height: 1.25;
    margin: 0 0 0.65rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}
.tc-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.tour-card-v2:hover .tc-title a {
    color: #a85836;
}
.tc-desc {
    font-size: 0.86rem;
    color: #665b52;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tc-specs {
    display: flex;
    gap: 1.25rem;
    padding: 0.75rem 0;
    border-top: 1px solid #ebdcd0;
    font-size: 0.78rem;
    color: #7a6e65;
    margin-top: auto;
}
.tc-spec i {
    color: #8c7e72;
    margin-right: 0.35rem;
}
.tc-foot {
    margin-top: auto;
    padding: 0.95rem 1.25rem 1.25rem;
    border-top: 1px solid #ebdcd0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: transparent;
}
.tc-price-block {
    display: none !important;
}
.tc-actions {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    width: 100%;
}
.tc-btn-details,
.tour-card-v2 .btn-outline {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #241c18;
    text-decoration: none;
    background: #fffdfa;
    border: 1px solid #241c18;
    border-radius: 2px;
    padding: 0.58rem 0.85rem;
    transition: all 0.25s ease;
}
.tc-btn-details i,
.tour-card-v2 .btn-outline i {
    color: #a85836;
    font-size: 0.65rem;
    transition: transform 0.2s ease, color 0.2s ease;
}
.tc-btn-details:hover,
.tour-card-v2 .btn-outline:hover {
    background: #241c18;
    color: #fffdfa;
}
.tc-btn-details:hover i,
.tour-card-v2 .btn-outline:hover i {
    color: #ffffff;
    transform: translateX(3px);
}
.tc-btn-request,
.tour-card-v2 .btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    background: #a85836;
    border: 1px solid #a85836;
    border-radius: 2px;
    padding: 0.58rem 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tc-btn-request:hover,
.tour-card-v2 .btn-primary:hover {
    background: #8e472a;
    border-color: #8e472a;
}
.tours-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 2rem;
    color: var(--color-muted);
}
.tours-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.25rem;
    color: var(--color-border);
}
.tours-empty h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--color-slate);
}
@media (max-width: 1100px) {
    .tours-page-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 900px) {
    .filter-bar {
        top: var(--navbar-height, 58px);
    }
    .filter-bar-inner {
        flex-direction: column;
        padding: 0.65rem 1.25rem;
        gap: 0;
    }
    .filter-mobile-strip {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        width: 100%;
    }
    .filter-mobile-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        background: var(--color-sand);
        border: 1px solid var(--color-border);
        padding: 0 1rem;
        font-family: var(--font-sans);
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--color-charcoal);
        height: 38px;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }
    .filter-mobile-btn.active {
        background: var(--color-charcoal);
        color: var(--color-white);
        border-color: var(--color-charcoal);
    }
    .filter-search {
        flex: 1;
        min-width: 0;
        width: 100%;
        padding: 0.55rem 0.85rem;
        font-size: 0.84rem;
        height: 38px;
    }
    .filter-options {
        display: none;
        flex-direction: column;
        gap: 0.65rem;
        width: 100%;
        padding-top: 0.75rem;
        margin-top: 0.65rem;
        border-top: 1px solid var(--color-border);
    }
    .filter-options.open {
        display: flex;
    }
    .filter-label {
        display: none;
    }
    .filter-select {
        min-width: 0;
        width: 100%;
        padding: 0.65rem 0.85rem;
        font-size: 16px !important;
    }
    .filter-reset {
        text-align: left;
        padding: 0.4rem 0;
    }
    .filter-count {
        display: none;
    }
}
@media (max-width: 680px) {
    .container {
        padding: 0 0.85rem;
    }
    .tours-page-section {
        padding: 1.5rem 0 3.5rem;
    }
    .tours-page-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
    .tour-card-v2 {
        border-radius: 3px;
        box-shadow: 0 3px 12px rgba(35, 24, 18, 0.04);
    }
    .tc-img {
        aspect-ratio: 4 / 3;
        height: auto;
    }
    .tc-badge {
        top: 0.45rem;
        left: 0.45rem;
        font-size: 0.54rem;
        padding: 0.2rem 0.45rem;
        letter-spacing: 0.08em;
    }
    .tc-body {
        padding: 0.75rem 0.65rem 0.75rem;
    }
    .tc-region {
        font-size: 0.54rem;
        letter-spacing: 0.16em;
        margin-bottom: 0.2rem;
    }
    .tc-title {
        font-size: clamp(0.88rem, 3.2vw, 1rem);
        line-height: 1.22;
        min-height: 2.44em;
        margin-bottom: 0.45rem;
    }
    .tc-desc {
        display: none !important;
    }
    .tc-specs {
        display: none !important;
    }
    .tc-foot {
        padding: 0.55rem 0.65rem 0.75rem;
        border-top: 1px solid #ebdcd0;
        margin: 0;
    }
    .tc-actions {
        width: 100%;
        margin: 0;
    }
    .tc-btn-request,
    .tour-card-v2 .btn-primary {
        display: none !important;
    }
    .tc-btn-details,
    .tour-card-v2 .btn-outline {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.52rem 0.4rem;
        font-size: 0.62rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        background: #fffdfa;
        color: #241c18;
        border: 1px solid #241c18;
        border-radius: 2px;
        box-sizing: border-box;
        text-align: center;
        transition: all 0.2s ease;
    }
    .tc-btn-details i,
    .tour-card-v2 .btn-outline i {
        color: #a85836;
        font-size: 0.55rem;
    }
    .tc-btn-details:active,
    .tour-card-v2 .btn-outline:active {
        background: #241c18;
        color: #f7f3ec;
    }
    .page-header {
        height: 50vh;
        min-height: 380px;
        align-items: center;
        justify-content: center;
    }
    .page-header-content {
        padding: 2.5rem 1.25rem;
        text-align: center;
    }
    .page-header-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.18em;
        margin-bottom: 0.6rem;
    }
    .page-header-title {
        font-size: clamp(2.2rem, 8.5vw, 2.9rem);
        margin-bottom: 0.75rem;
    }
    .page-header-sub {
        font-size: 0.92rem;
        line-height: 1.55;
        max-width: 340px;
    }
}
@media screen and (max-width: 1024px), (pointer: coarse) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
    select,
    textarea,
    .filter-select {
        font-size: 16px !important;
    }
}
@supports (-webkit-touch-callout: none) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
    select,
    textarea,
    .filter-select {
        font-size: 16px !important;
    }
}