:root {
    --btw-ink: #1f1f1f;
    --btw-muted: #626262;
    --btw-line: #d8d8d8;
    --btw-soft: #f7f7f7;
    --btw-green: #465b2d;
    --btw-green-dark: #31421f;
    --btw-accent: #b86b16;
    --btw-star: #f2b203;
}

.container--tours-directory *,
.directory-extra * {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
}

.container--tours-directory a,
.directory-extra a {
    color: inherit;
}

.container--main.container--tours-directory,
.container--directory {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    margin: 0 auto;
    color: var(--btw-ink);
    font-family: "Noto Sans", Arial, sans-serif;
}

.container--tours-directory .row {
    display: flex;
    flex-wrap: wrap;
}

.container--tours-directory .col {
    min-width: 0;
}

.container--tours-directory .col-12 {
    width: 100%;
}

.container--tours-directory > .row {
    align-items: flex-start;
    gap: 0;
}

.filters {
    display: none;
}

.list--tours {
    flex: 1 1 100%;
    width: 100%;
}

.row-header--withintro {
    display: block;
    padding: 8px 0 18px;
    border-bottom: 1px solid var(--btw-line);
}

.list--title {
    margin: 0 0 12px;
    color: #111;
    font-family: "Gentium Basic", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0;
}

.intro {
    max-width: none;
    width: 100%;
    color: #3f3f3f;
    font-size: 1rem;
    line-height: 1.65;
}

.intro p {
    margin: 0;
}

#toggleLink {
    color: var(--btw-green);
    font-weight: 700;
}

.filters__close {
    display: none;
}

.filters__all {
    border: 1px solid var(--btw-line);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.filters__all form::before {
    content: "Filters";
    display: block;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--btw-line);
    font-size: 1.25rem;
    font-weight: 800;
}

.filters__block {
    padding: 18px 0;
    border-bottom: 1px solid var(--btw-line);
}

.filters__block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.filters__block h3,
.filters__block summary {
    margin: 0 0 12px;
    color: #111;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
}

.filters__block details {
    margin: 0;
}

.filters__block summary {
    list-style: none;
    position: relative;
    padding-right: 24px;
}

.filters__block summary::-webkit-details-marker {
    display: none;
}

.filters__block summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--btw-muted);
    font-size: 1.2rem;
    line-height: 1;
}

.filters__block details[open] summary::after {
    content: "-";
}

.filters__block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.filters__block__check {
    margin: 10px 0;
}

.filters__block__check label {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    color: #343434;
    font-size: .95rem;
    line-height: 1.35;
    cursor: pointer;
}

.filters__block__check input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 2px solid #767676;
    border-radius: 3px;
    background: #fff;
}

.filters__block__check input[type="checkbox"]:checked {
    background: var(--btw-green);
    border-color: var(--btw-green);
    box-shadow: inset 0 0 0 3px #fff;
}

.filters__block__check label:hover {
    color: var(--btw-green);
}

.filter {
    display: block;
    margin-top: 14px;
}

.filter > .btn-filter {
    display: none !important;
}

#filters-section {
    display: none;
    margin-top: 14px;
}

#filters-section.active {
    display: block;
}

.selected-filters.hide {
    display: none;
}

.tour-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0 14px;
}

.package-count {
    display: block;
    color: #111;
    font-size: 1.35rem;
    font-weight: 800;
}

.tour-list-toolbar__note {
    margin: 4px 0 0;
    color: var(--btw-muted);
    font-size: .95rem;
}

.tour-list-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--btw-muted);
    font-size: .95rem;
    white-space: nowrap;
}

.tour-list-toolbar__sort strong {
    color: #111;
}

.tour-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.tour-category-chips a,
.tour-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--btw-line);
    border-radius: 999px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.tour-category-chips a:hover,
.tour-filter-chip:hover {
    border-color: #111;
}

.tour-filter-chip {
    border-color: #111;
    background: #111;
    color: #fff;
}

.tour-results-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tour-result-card {
    width: 100%;
}

.tour-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 100%;
    padding: 12px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    color: #1f1f1f;
    transition: box-shadow .18s ease, border-color .18s ease;
}

.tour-card:hover {
    border-color: #b9b9b9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.tour-card__media {
    position: relative;
    min-height: 190px;
}

.tour-card__image-link {
    display: block;
    overflow: hidden;
    height: 100%;
    border-radius: 8px;
    background: var(--btw-soft);
    position: relative;
}

.tour-card__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.tour-card__photo-count {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}

.tour-card__body {
    display: flex;
    min-height: 0;
    flex-direction: column;
    min-width: 0;
    padding: 12px 0 0;
}

.tour-card__badge-row,
.tour-card__meta,
.tour-card__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tour-card__badge {
    padding: 3px 7px;
    border-radius: 4px;
    background: #f2b203;
    color: #1f1f1f;
    font-size: .75rem;
    font-weight: 800;
}

.tour-card__muted {
    color: var(--btw-muted);
    font-size: .88rem;
}

.tour-card__title {
    margin: 9px 0 7px;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: 0;
    font-family: "Noto Sans", Arial, sans-serif;
    font-weight: 800;
}

.tour-card__title a {
    text-decoration: none;
}

.tour-card__title a:hover {
    text-decoration: underline;
}

.tour-card__summary,
.tour-card__route {
    margin: 0 0 10px;
    color: #4a4a4a;
    font-size: .86rem;
    line-height: 1.45;
    text-align: left;
}

.tour-card__summary span,
.tour-card__route span {
    margin-left: 4px;
}

.tour-card__meta {
    margin: 0 0 8px;
    color: #2f2f2f;
    font-size: .88rem;
}

.tour-card__meta span {
    position: relative;
    padding-left: 0;
}

.tour-card__meta span::before {
    content: none;
}

.tour-card__meta span:not(:last-child)::after {
    content: "•";
    margin-left: 8px;
    color: #6d6d6d;
}

.tour-card__rating {
    margin-top: auto;
    color: #222;
    font-size: .88rem;
}

.tour-card__stars {
    color: var(--btw-star);
    letter-spacing: 1px;
}

.tour-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 3px;
    padding-left: 0;
    padding-top: 12px;
    text-align: left;
}

.tour-card__save {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.tour-card__from,
.tour-card__person {
    color: var(--btw-muted);
    font-size: .86rem;
}

.tour-card__price strong {
    color: #111;
    font-size: 1.32rem;
    line-height: 1.1;
}

.tour-card__price-note {
    max-width: 150px;
    color: var(--btw-muted);
    font-size: .78rem;
    line-height: 1.25;
}

.tour-card__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    margin-top: 10px;
    border-radius: 999px;
    background: #1f1f1f;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: .94rem;
}

.tour-card__cta:hover {
    background: #000;
}

.list__paginator {
    margin: 28px 0 40px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pagination__numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn--white,
.pagination__nmbr {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--btw-line);
    border-radius: 4px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.pagination__nmbr.active,
.btn--white:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.btn--prev.inactive {
    color: #9a9a9a;
}

.pagination__summary {
    color: var(--btw-muted);
    font-size: .95rem;
}

.directory-extra {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    color: var(--btw-ink);
    font-family: "Noto Sans", Arial, sans-serif;
}

.relatedlinks1 {
    display: grid;
    gap: 18px;
    padding: 18px 0 40px;
}

.container1 {
    padding: 24px 0;
    border-top: 1px solid var(--btw-line);
}

.relatedlinks__top {
    margin: 0 0 14px;
    color: #111;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: 0;
    text-align: left;
}

.rendered-content {
    color: #303030;
    font-size: 1rem;
    line-height: 1.7;
}

.rendered-content p {
    margin: 0 0 14px;
    max-width: none;
    text-align: left;
}

.rendered-content h1,
.rendered-content h2,
.rendered-content h3,
.rendered-content h4,
.rendered-content h5,
.rendered-content h6 {
    margin: 20px 0 10px;
    color: #111;
    line-height: 1.25;
    letter-spacing: 0;
}

.rendered-content ul,
.rendered-content ol {
    margin: 0 0 16px 22px;
    padding: 0;
}

.rendered-content li {
    margin: 6px 0;
}

.rendered-content blockquote {
    margin: 18px 0;
    padding: 12px 18px;
    border-left: 4px solid var(--btw-green);
    background: var(--btw-soft);
    color: #444;
}

#h2img {
    display: block;
    width: 100%;
    max-height: 420px;
    margin: 18px 0;
    border-radius: 8px;
    object-fit: cover;
}

.directory-extra .table-container {
    width: 100%;
    margin: 18px 0;
    overflow-x: auto;
}

.directory-extra .table-title {
    margin: 0 0 10px;
    color: #111;
    text-align: left;
}

.directory-extra .data-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: #fff;
}

.directory-extra .data-table th,
.directory-extra .data-table td {
    padding: 12px 14px;
    border: 1px solid var(--btw-line);
    text-align: left;
    vertical-align: top;
}

.directory-extra .data-table th {
    background: #111;
    color: #fff;
}

.directory-extra .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 0;
}

.directory-extra .buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.directory-extra .buttons .whatsapp {
    background: #1f9d55;
}

.directory-extra .buttons .email {
    background: var(--btw-green);
}

.directory-extra hr {
    border: 0;
    border-top: 1px solid var(--btw-line);
    margin: 24px 0 0;
}

.single-line-ellipsis {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .container--tours-directory > .row {
        display: block;
    }

    .tour-results-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tour-card {
        min-height: 0;
    }

    .tour-card__price {
        grid-column: auto;
    }

    .tour-card__save {
        display: block;
    }

    .tour-card__media,
    .tour-card__body,
    .tour-card__image {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .container--main.container--tours-directory,
    .container--directory,
    .directory-extra {
        width: min(100% - 24px, 1180px);
    }

    .tour-list-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .tour-results-list {
        grid-template-columns: 1fr;
    }

    .tour-card {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .tour-card__image {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .tour-card__media,
    .tour-card__body {
        min-height: 0;
    }

    .tour-card__price {
        grid-column: auto;
    }

    .tour-card__cta {
        width: 100%;
    }

    .pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .directory-extra .buttons {
        flex-direction: column;
    }
}
