/* ==========================================================
   TOURPLUG DESTINATIONS DIRECTORY
========================================================== */

.tpdi-page {
    --tpdi-orange: #e77722;
    --tpdi-orange-dark: #bd5712;
    --tpdi-ink: #17130f;
    --tpdi-muted: #716a63;
    --tpdi-soft: #f7f3ee;
    --tpdi-border: #e8e0d8;

    width: 100%;
    min-width: 0;
    overflow-x: clip;
    color: var(--tpdi-ink);
    background: #fff;
}

.tpdi-page *,
.tpdi-page *::before,
.tpdi-page *::after {
    box-sizing: border-box;
}

.tpdi-page img {
    display: block;
    max-width: 100%;
}


/* Hero */

.tpdi-hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(231,119,34,.25),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #17130f 0%,
            #282019 58%,
            #3a281b 100%
        );
    color: #fff;
}

.tpdi-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .12;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255,255,255,.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.08) 1px,
            transparent 1px
        );
    background-size: 54px 54px;
}

.tpdi-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(340px, .88fr);
    gap: 4rem;
    align-items: center;
}

.tpdi-eyebrow,
.tpdi-section-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--tpdi-orange);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.tpdi-hero h1 {
    max-width: 760px;
    margin: 1rem 0 1.2rem;
    color: #fff;
    font-size:
        clamp(
            3.1rem,
            7vw,
            6.2rem
        );
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.055em;
}

.tpdi-hero h1 span {
    color: #f1a35f;
}

.tpdi-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.77);
    font-size: 1.06rem;
    line-height: 1.8;
}

.tpdi-hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.tpdi-hero-stats div {
    display: flex;
    flex-direction: column;
}

.tpdi-hero-stats strong {
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
}

.tpdi-hero-stats span {
    margin-top: .35rem;
    color: rgba(255,255,255,.62);
    font-size: .8rem;
}


/* Search */

.tpdi-search-card {
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 1.35rem;
    background: rgba(255,255,255,.98);
    box-shadow:
        0 26px 70px
        rgba(0,0,0,.27);
    color: var(--tpdi-ink);
}

.tpdi-search-heading {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.tpdi-search-heading > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff0e3;
    color: var(--tpdi-orange);
}

.tpdi-search-heading div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.tpdi-search-heading small {
    color: var(--tpdi-muted);
}

.tpdi-field {
    margin-top: .9rem;
}

.tpdi-field label {
    display: block;
    margin-bottom: .35rem;
    color: #514b45;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tpdi-input-wrap {
    position: relative;
}

.tpdi-input-wrap i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: .95rem;
    transform: translateY(-50%);
    color: #9c948c;
    pointer-events: none;
}

.tpdi-input-wrap input,
.tpdi-input-wrap select {
    width: 100%;
    min-height: 50px;
    padding:
        .7rem
        1rem
        .7rem
        2.65rem;
    border: 1px solid var(--tpdi-border);
    border-radius: .72rem;
    outline: none;
    background: #fff;
    color: var(--tpdi-ink);
}

.tpdi-input-wrap input:focus,
.tpdi-input-wrap select:focus {
    border-color: var(--tpdi-orange);
    box-shadow:
        0 0 0 3px
        rgba(231,119,34,.12);
}

.tpdi-search-actions {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: 1.15rem;
}

.tpdi-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .72rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--tpdi-orange);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform .2s ease,
        background .2s ease;
}

.tpdi-primary-button:hover {
    transform: translateY(-1px);
    background: var(--tpdi-orange-dark);
    color: #fff;
}

.tpdi-clear {
    color: var(--tpdi-muted);
    font-size: .84rem;
    font-weight: 700;
}


/* Shared */

.tpdi-section {
    padding: 5.2rem 0;
}

.tpdi-section-head,
.tpdi-results-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2.1rem;
}

.tpdi-section-head h2,
.tpdi-results-head h2,
.tpdi-cta-card h2 {
    margin: .5rem 0 0;
    color: var(--tpdi-ink);
    font-size:
        clamp(
            2rem,
            4vw,
            3.15rem
        );
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.tpdi-section-head p {
    max-width: 640px;
    margin: .75rem 0 0;
    color: var(--tpdi-muted);
    line-height: 1.7;
}


/* Featured */

.tpdi-featured {
    background: var(--tpdi-soft);
}

.tpdi-featured-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 1.2rem;
}

.tpdi-featured-count-1 {
    grid-template-columns:
        minmax(0, 1fr);
}

.tpdi-featured-card {
    overflow: hidden;
    border: 1px solid var(--tpdi-border);
    border-radius: 1.3rem;
    background: #fff;
}

.tpdi-featured-image {
    position: relative;
    display: block;
    min-height: 355px;
    overflow: hidden;
    background: #ddd4cb;
}

.tpdi-featured-image img,
.tpdi-card-image img,
.tpdi-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpdi-featured-image img {
    position: absolute;
    inset: 0;
    transition: transform .3s ease;
}

.tpdi-featured-card:hover
.tpdi-featured-image img {
    transform: scale(1.035);
}

.tpdi-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #ece5de,
            #d7ccc1
        );
    color: #9b897a;
    font-size: 3rem;
}

.tpdi-featured-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(15,11,8,.84),
            transparent 65%
        );
}

.tpdi-featured-badge,
.tpdi-card-featured {
    position: absolute;
    z-index: 3;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    padding: .42rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--tpdi-orange-dark);
    font-size: .7rem;
    font-weight: 800;
}

.tpdi-featured-overlay {
    position: absolute;
    z-index: 2;
    right: 1.3rem;
    bottom: 1.3rem;
    left: 1.3rem;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.tpdi-featured-overlay small {
    color: rgba(255,255,255,.74);
}

.tpdi-featured-overlay strong {
    margin-top: .25rem;
    font-size: 2rem;
    line-height: 1.05;
}

.tpdi-featured-overlay span {
    margin-top: .35rem;
    color: rgba(255,255,255,.8);
    font-size: .82rem;
}

.tpdi-featured-body {
    padding: 1.15rem 1.3rem 1.3rem;
}

.tpdi-featured-body p {
    margin: 0 0 .8rem;
    color: var(--tpdi-muted);
    line-height: 1.65;
}

.tpdi-featured-body a {
    color: var(--tpdi-orange-dark);
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
}


/* Directory */

.tpdi-directory {
    background: #fff;
}

.tpdi-results-count {
    padding: .5rem .8rem;
    border: 1px solid var(--tpdi-border);
    border-radius: 999px;
    color: var(--tpdi-muted);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

.tpdi-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 1.2rem;
}

.tpdi-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tpdi-border);
    border-radius: 1.18rem;
    background: #fff;
    box-shadow:
        0 10px 30px
        rgba(30,20,12,.055);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.tpdi-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px
        rgba(30,20,12,.1);
}

.tpdi-card-image {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: #e9e1d9;
}

.tpdi-card-image img {
    transition: transform .3s ease;
}

.tpdi-card:hover
.tpdi-card-image img {
    transform: scale(1.04);
}

.tpdi-card-body {
    padding: 1.15rem;
}

.tpdi-location {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--tpdi-orange-dark);
    font-size: .75rem;
    font-weight: 750;
}

.tpdi-card-body h3 {
    margin: .5rem 0 .65rem;
    font-size: 1.48rem;
    font-weight: 800;
}

.tpdi-card-body h3 a {
    color: var(--tpdi-ink);
    text-decoration: none;
}

.tpdi-card-body > p {
    min-height: 76px;
    margin: 0;
    color: var(--tpdi-muted);
    font-size: .9rem;
    line-height: 1.65;
}

.tpdi-card-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid var(--tpdi-border);
    color: var(--tpdi-muted);
    font-size: .73rem;
}

.tpdi-card-footer span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.tpdi-card-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    border-radius: 50%;
    background: #fff0e3;
    color: var(--tpdi-orange-dark);
    text-decoration: none;
}

.tpdi-pagination {
    margin-top: 2.2rem;
}


/* Empty */

.tpdi-empty {
    max-width: 620px;
    margin: 2rem auto 0;
    padding: 3.2rem 2rem;
    border: 1px solid var(--tpdi-border);
    border-radius: 1.25rem;
    background: var(--tpdi-soft);
    text-align: center;
}

.tpdi-empty > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fff0e3;
    color: var(--tpdi-orange);
    font-size: 1.3rem;
}

.tpdi-empty h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.tpdi-empty p {
    margin: .7rem 0 1.3rem;
    color: var(--tpdi-muted);
}


/* CTA */

.tpdi-cta {
    padding: 0 0 5.2rem;
}

.tpdi-cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(
            135deg,
            #1b1612,
            #34261d
        );
    color: #fff;
}

.tpdi-cta-card h2 {
    max-width: 720px;
    color: #fff;
}

.tpdi-cta-card p {
    max-width: 680px;
    margin: .75rem 0 0;
    color: rgba(255,255,255,.7);
}


/* Responsive */

@media (max-width: 1199.98px) {

    .tpdi-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


@media (max-width: 991.98px) {

    .tpdi-hero-inner {
        grid-template-columns: 1fr;
    }

    .tpdi-search-card {
        max-width: 680px;
    }

}


@media (max-width: 767.98px) {

    .tpdi-hero {
        padding: 4rem 0;
    }

    .tpdi-hero h1 {
        font-size:
            clamp(
                2.8rem,
                14vw,
                4.4rem
            );
    }

    .tpdi-section {
        padding: 4rem 0;
    }

    .tpdi-featured-grid,
    .tpdi-grid {
        grid-template-columns: 1fr;
    }

    .tpdi-section-head,
    .tpdi-results-head,
    .tpdi-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .tpdi-card-image {
        height: 260px;
    }

}


@media (max-width: 479.98px) {

    .tpdi-search-card {
        padding: 1.1rem;
    }

    .tpdi-search-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tpdi-primary-button {
        width: 100%;
    }

}
