/* Travelophila homepage banner */
.tph-hero,
.tph-hero * {
    box-sizing: border-box;
}

.tph-hero {
    --tph-navy: #07324a;
    --tph-orange: #ff6b1a;
    --tph-white: #ffffff;
    position: relative;
    width: 100%;
    height: clamp(580px, 74vh, 780px);
    min-height: 580px;
    overflow: hidden;
    isolation: isolate;
    background: var(--tph-navy);
    color: var(--tph-white);
    font-family: inherit;
}

.tph-hero__viewport,
.tph-hero__slide,
.tph-hero__picture,
.tph-hero__image,
.tph-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tph-hero__slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .65s ease, visibility .65s ease;
}

.tph-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tph-hero__picture {
    display: block;
}

.tph-hero__image {
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.035);
    transition: transform 7s ease;
}

.tph-hero__slide.is-active .tph-hero__image {
    transform: scale(1);
}

.tph-hero__shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 28, 43, .88) 0%, rgba(4, 28, 43, .65) 39%, rgba(4, 28, 43, .12) 72%, rgba(4, 28, 43, .08) 100%),
        linear-gradient(0deg, rgba(4, 28, 43, .45) 0%, transparent 38%);
}

.tph-hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: min(1180px, calc(100% - 128px));
    height: 100%;
    margin: 0 auto;
}

.tph-hero__content {
    width: min(650px, 62%);
    padding: 40px 0 72px;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity .55s ease .18s, transform .55s ease .18s;
}

.tph-hero__slide.is-active .tph-hero__content {
    transform: translateY(0);
    opacity: 1;
}

.tph-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #ffd1b7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    line-height: 1.3;
    text-transform: uppercase;
}

.tph-hero__eyebrow::before {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    border-radius: 99px;
    background: var(--tph-orange);
}

.tph-hero__title {
    max-width: 640px;
    margin: 0 0 20px;
    color: var(--tph-white);
    font-family: inherit;
    font-size: clamp(42px, 5.2vw, 74px);
    font-weight: 800;
    letter-spacing: -2.2px;
    line-height: 1.03;
    text-wrap: balance;
    text-shadow: 0 3px 24px rgba(0, 0, 0, .22);
}

.tph-hero__text {
    max-width: 600px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.65;
}

.tph-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 54px;
    padding: 14px 24px;
    border: 2px solid var(--tph-orange);
    border-radius: 8px;
    background: var(--tph-orange);
    box-shadow: 0 12px 30px rgba(255, 107, 26, .25);
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.tph-hero__button:hover,
.tph-hero__button:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--tph-navy) !important;
    transform: translateY(-2px);
}

.tph-hero__button span {
    font-size: 21px;
    line-height: 1;
}

.tph-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(4, 28, 43, .35);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.tph-hero__arrow:hover,
.tph-hero__arrow:focus-visible {
    border-color: var(--tph-orange);
    background: var(--tph-orange);
    transform: translateY(-50%) scale(1.06);
}

.tph-hero__arrow--previous {
    left: 26px;
}

.tph-hero__arrow--next {
    right: 26px;
}

.tph-hero__arrow svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.tph-hero__footer {
    position: absolute;
    right: max(64px, calc((100% - 1180px) / 2));
    bottom: 34px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 20px;
}

.tph-hero__dots {
    display: flex;
    align-items: center;
    gap: 9px;
}

.tph-hero__dot {
    width: 9px;
    height: 9px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .58);
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease;
}

.tph-hero__dot.is-active {
    width: 30px;
    background: var(--tph-orange);
}

.tph-hero__counter {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tph-hero__counter strong {
    color: #fff;
    font-size: 17px;
}

.tph-hero button:focus-visible,
.tph-hero a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .tph-hero {
        height: min(760px, calc(100svh - 70px));
        min-height: 610px;
        max-height: 760px;
    }

    .tph-hero__image {
        object-position: center top;
    }

    .tph-hero__shade {
        background:
            linear-gradient(0deg, rgba(4, 28, 43, .96) 0%, rgba(4, 28, 43, .79) 34%, rgba(4, 28, 43, .18) 66%, rgba(4, 28, 43, .06) 100%);
    }

    .tph-hero__container {
        align-items: flex-end;
        width: calc(100% - 40px);
    }

    .tph-hero__content {
        width: 100%;
        padding: 0 0 102px;
    }

    .tph-hero__eyebrow {
        margin-bottom: 11px;
        font-size: 11px;
        letter-spacing: 1.35px;
    }

    .tph-hero__eyebrow::before {
        width: 27px;
    }

    .tph-hero__title {
        margin-bottom: 13px;
        font-size: clamp(34px, 10vw, 48px);
        letter-spacing: -1.2px;
        line-height: 1.05;
    }

    .tph-hero__text {
        display: -webkit-box;
        margin-bottom: 21px;
        overflow: hidden;
        font-size: 15px;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .tph-hero__button {
        min-height: 49px;
        padding: 12px 20px;
        font-size: 15px;
    }

    .tph-hero__arrow {
        top: auto;
        bottom: 25px;
        width: 42px;
        height: 42px;
        transform: none;
    }

    .tph-hero__arrow:hover,
    .tph-hero__arrow:focus-visible {
        transform: scale(1.05);
    }

    .tph-hero__arrow--previous {
        left: 20px;
    }

    .tph-hero__arrow--next {
        right: 20px;
    }

    .tph-hero__footer {
        right: 78px;
        bottom: 34px;
        left: 78px;
        justify-content: center;
    }

    .tph-hero__counter {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tph-hero__slide,
    .tph-hero__image,
    .tph-hero__content,
    .tph-hero__button,
    .tph-hero__arrow,
    .tph-hero__dot {
        transition: none !important;
    }
}







/* =====================================================
   Travelophila Homepage – Popular Destinations
===================================================== */

.tph-explore,
.tph-explore * {
    box-sizing: border-box;
}

.tph-explore {
    position: relative;
    overflow: hidden;
    padding: clamp(68px, 8vw, 110px) 0;
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(255, 107, 26, .09),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 88%,
            rgba(7, 50, 74, .08),
            transparent 30%
        ),
        #f8fafb;
    font-family: inherit;
}

.tph-explore__container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.tph-explore__header {
    max-width: 760px;
    margin: 0 auto clamp(38px, 5vw, 58px);
    text-align: center;
}

.tph-explore__eyebrow {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 8px 15px;
    border-radius: 999px;
    background: #e6f1f6;
    color: #075c87;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    line-height: 1.2;
    text-transform: uppercase;
}

.tph-explore__header h2 {
    margin: 0 0 16px;
    color: #07324a;
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.08;
}

.tph-explore__header p {
    max-width: 680px;
    margin: 0 auto;
    color: #607381;
    font-size: 17px;
    line-height: 1.7;
}

.tph-explore__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.tph-destination-card {
    position: relative;
    display: block;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(7, 50, 74, .1);
    border-radius: 22px;
    background: #07324a;
    box-shadow: 0 16px 38px rgba(7, 50, 74, .12);
    color: #07324a !important;
    isolation: isolate;
    text-decoration: none !important;
    transform: translateY(0);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.tph-destination-card > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform .65s ease;
}

.tph-destination-card__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            rgba(4, 28, 43, .03) 18%,
            rgba(4, 28, 43, .2) 54%,
            rgba(4, 28, 43, .82) 100%
        );
}

.tph-destination-card__content {
    position: absolute;
    right: 17px;
    bottom: 17px;
    left: 17px;
    display: block;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 30px rgba(4, 28, 43, .18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tph-destination-card__category {
    display: block;
    margin-bottom: 8px;
    color: #e45b0e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.3;
    text-transform: uppercase;
}

.tph-destination-card__title {
    display: block;
    margin: 0 0 15px;
    color: #07324a;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.35px;
    line-height: 1.22;
}

.tph-destination-card__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    color: #405564;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.tph-destination-card__arrow {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 50%;
    background: #07324a;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    transition:
        background-color .3s ease,
        transform .3s ease;
}

.tph-destination-card:hover,
.tph-destination-card:focus-visible {
    color: #07324a !important;
    box-shadow: 0 24px 52px rgba(7, 50, 74, .2);
    transform: translateY(-8px);
}

.tph-destination-card:hover > img,
.tph-destination-card:focus-visible > img {
    transform: scale(1.07);
}

.tph-destination-card:hover .tph-destination-card__arrow,
.tph-destination-card:focus-visible .tph-destination-card__arrow {
    background: #ff6b1a;
    transform: rotate(45deg);
}

.tph-destination-card:focus-visible {
    outline: 4px solid rgba(255, 107, 26, .45);
    outline-offset: 4px;
}

/* Tablet */
@media (max-width: 1024px) {
    .tph-explore__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tph-destination-card {
        min-height: 440px;
    }
}

/* Mobile */
@media (max-width: 620px) {
    .tph-explore {
        padding: 58px 0;
    }

    .tph-explore__container {
        width: min(100% - 28px, 1240px);
    }

    .tph-explore__header {
        margin-bottom: 32px;
    }

    .tph-explore__header h2 {
        font-size: 35px;
        letter-spacing: -.8px;
    }

    .tph-explore__header p {
        font-size: 15px;
    }

    .tph-explore__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tph-destination-card {
        min-height: 390px;
        border-radius: 18px;
    }

    .tph-destination-card__content {
        right: 14px;
        bottom: 14px;
        left: 14px;
        padding: 18px;
    }

    .tph-destination-card__title {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tph-destination-card,
    .tph-destination-card > img,
    .tph-destination-card__arrow {
        transition: none !important;
    }
}



/* =====================================================
   Travelophila Homepage – Local Story Section
===================================================== */

.tph-local-story,
.tph-local-story * {
    box-sizing: border-box;
}

.tph-local-story {
    position: relative;
    overflow: hidden;
    padding: clamp(68px, 8vw, 112px) 0;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f3f7f9 100%
        );
    font-family: inherit;
}

.tph-local-story__container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.tph-local-story__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    overflow: hidden;
    border-radius: 30px;
    background: #07324a;
    box-shadow: 0 30px 70px rgba(7, 50, 74, .18);
}

.tph-local-story__content {
    position: relative;
    z-index: 2;
    padding: clamp(48px, 6vw, 82px);
    color: #ffffff;
}

.tph-local-story__content::before {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(48px, 6vw, 82px);
    width: 92px;
    height: 6px;
    border-radius: 0 0 6px 6px;
    background: #ff6b1a;
}

.tph-local-story__eyebrow {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #ffd2b9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

.tph-local-story__content h2 {
    max-width: 610px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(37px, 4.2vw, 58px);
    font-weight: 800;
    letter-spacing: -1.7px;
    line-height: 1.06;
}

.tph-local-story__content p {
    max-width: 640px;
    margin: 0 0 20px;
    color: #cbdce5;
    font-size: 15px;
    line-height: 1.8;
}

.tph-local-story__content .tph-local-story__lead {
    color: #ffffff;
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.65;
}

.tph-local-story__features {
    display: grid;
    gap: 11px;
    margin: 34px 0;
}

.tph-local-story__feature {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
    transition:
        border-color .25s ease,
        background-color .25s ease,
        transform .25s ease;
}

.tph-local-story__feature:hover {
    border-color: rgba(255, 107, 26, .55);
    background: rgba(255, 255, 255, .1);
    transform: translateX(5px);
}

.tph-local-story__feature-number {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 10px;
    background: #ff6b1a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.tph-local-story__feature strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
}

.tph-local-story__feature small {
    display: block;
    color: #b9ced9;
    font-size: 12px;
    line-height: 1.55;
}

.tph-local-story__button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 21px;
    align-items: center;
    gap: 13px;
    border: 2px solid #ff6b1a;
    border-radius: 9px;
    background: #ff6b1a;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.tph-local-story__button span {
    font-size: 21px;
    line-height: 1;
}

.tph-local-story__button:hover,
.tph-local-story__button:focus-visible {
    border-color: #ffffff;
    background: #ffffff;
    color: #07324a !important;
    transform: translateY(-3px);
}

.tph-local-story__visual {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    isolation: isolate;
}

.tph-local-story__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(7, 50, 74, .32) 0%,
            transparent 30%
        ),
        linear-gradient(
            0deg,
            rgba(4, 28, 43, .6) 0%,
            transparent 45%
        );
    pointer-events: none;
}

.tph-local-story__main-image,
.tph-local-story__main-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.tph-local-story__main-image img {
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .8s ease;
}

.tph-local-story__panel:hover
.tph-local-story__main-image img {
    transform: scale(1.035);
}

.tph-local-story__image-label {
    position: absolute;
    top: 30px;
    right: 28px;
    z-index: 3;
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 12px;
    background: rgba(7, 50, 74, .78);
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tph-local-story__image-label span,
.tph-local-story__image-label strong {
    display: block;
}

.tph-local-story__image-label span {
    margin-bottom: 2px;
    color: #ffd2b9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.tph-local-story__image-label strong {
    color: #ffffff;
    font-size: 14px;
}

.tph-local-story__small-image {
    position: absolute;
    right: 28px;
    bottom: 155px;
    z-index: 3;
    width: min(285px, 55%);
    margin: 0;
    overflow: hidden;
    border: 6px solid #ffffff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(4, 28, 43, .3);
}

.tph-local-story__small-image img {
    display: block;
    width: 100%;
    height: 165px;
    margin: 0;
    object-fit: cover;
}

.tph-local-story__small-image figcaption {
    padding: 10px 12px;
    background: #ffffff;
    color: #07324a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

.tph-local-story__promise {
    position: absolute;
    right: 28px;
    bottom: 27px;
    left: 28px;
    z-index: 3;
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 15px;
    background: rgba(4, 28, 43, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tph-local-story__promise-mark {
    color: #ff6b1a;
    font-family: Georgia, serif;
    font-size: 56px;
    line-height: .7;
}

.tph-local-story__promise p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

/* Tablet */
@media (max-width: 960px) {
    .tph-local-story__panel {
        grid-template-columns: 1fr;
    }

    .tph-local-story__visual {
        min-height: 620px;
    }
}

/* Mobile */
@media (max-width: 620px) {
    .tph-local-story {
        padding: 58px 0;
    }

    .tph-local-story__container {
        width: min(100% - 28px, 1240px);
    }

    .tph-local-story__panel {
        border-radius: 21px;
    }

    .tph-local-story__content {
        padding: 48px 23px 42px;
    }

    .tph-local-story__content::before {
        left: 23px;
    }

    .tph-local-story__content h2 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .tph-local-story__content p {
        font-size: 14px;
    }

    .tph-local-story__content
    .tph-local-story__lead {
        font-size: 17px;
    }

    .tph-local-story__feature {
        grid-template-columns: 41px minmax(0, 1fr);
        padding: 14px;
    }

    .tph-local-story__button {
        justify-content: center;
        width: 100%;
    }

    .tph-local-story__visual {
        min-height: 560px;
    }

    .tph-local-story__image-label {
        top: 18px;
        right: 18px;
    }

    .tph-local-story__small-image {
        right: 18px;
        bottom: 147px;
        width: 58%;
    }

    .tph-local-story__small-image img {
        height: 130px;
    }

    .tph-local-story__promise {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tph-local-story__feature,
    .tph-local-story__button,
    .tph-local-story__main-image img {
        transition: none !important;
    }
}




/*
 * Travelophila Local Story section
 * Tablet and mobile correction only.
 *
 * Add this complete block at the VERY END of:
 * /wp-content/themes/gowilds/assets/css/travelophila-home-banner.css
 *
 * Desktop above 960px remains unchanged.
 */

/* Tablet: 621px to 960px */
@media (min-width: 621px) and (max-width: 960px) {
    .tph-local-story__visual {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        min-height: 0;
        padding: 22px;
        overflow: hidden;
        background: #07324a;
    }

    .tph-local-story__visual::after {
        display: none;
    }

    .tph-local-story__main-image {
        position: relative;
        inset: auto;
        grid-column: 1 / -1;
        width: 100%;
        height: clamp(430px, 62vw, 540px);
        margin: 0;
        overflow: hidden;
        border-radius: 18px;
    }

    .tph-local-story__main-image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 28%;
    }

    .tph-local-story__image-label {
        position: static;
        grid-column: 1;
        width: 100%;
        padding: 18px;
    }

    .tph-local-story__small-image {
        position: static;
        grid-column: 2;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .tph-local-story__small-image img {
        width: 100%;
        height: 145px;
        object-fit: cover;
    }

    .tph-local-story__promise {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
    }
}

/* Mobile: up to 620px */
@media (max-width: 620px) {
    .tph-local-story__visual {
        display: flex;
        flex-direction: column;
        gap: 14px;
        min-height: 0;
        padding: 14px;
        overflow: hidden;
        background: #07324a;
    }

    .tph-local-story__visual::after {
        display: none;
    }

    .tph-local-story__main-image {
        position: relative;
        inset: auto;
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        margin: 0;
        overflow: hidden;
        border-radius: 15px;
    }

    .tph-local-story__main-image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 25%;
    }

    .tph-local-story__image-label {
        position: static;
        order: 2;
        width: 100%;
        padding: 16px;
        border-radius: 12px;
    }

    .tph-local-story__small-image {
        position: static;
        order: 3;
        width: 100%;
        max-width: none;
        margin: 0;
        border-width: 5px;
        border-radius: 15px;
    }

    .tph-local-story__small-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .tph-local-story__promise {
        position: static;
        order: 4;
        width: 100%;
        margin: 0;
        padding: 15px 16px;
        border-radius: 13px;
    }

    .tph-local-story__promise-mark {
        font-size: 48px;
    }
}


/* =====================================================
   Travelophila Home Page - Section 4 Package Introduction
   Add at the end of travelophila-home-banner.css
===================================================== */

.tph-package-intro,
.tph-package-intro * {
    box-sizing: border-box;
}

.tph-package-intro {
    width: min(1240px, calc(100% - 48px));
    margin: clamp(45px, 7vw, 85px) auto 34px;
    font-family: inherit;
}

.tph-package-intro__card {
    position: relative;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) minmax(220px, 285px);
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    overflow: hidden;
    padding: clamp(32px, 5vw, 58px);
    border: 1px solid #dce8ee;
    border-radius: 26px;
    background:
        radial-gradient(circle at 96% 5%, rgba(255, 107, 26, .14), transparent 27%),
        linear-gradient(135deg, #ffffff 0%, #f3f8fa 100%);
    box-shadow: 0 22px 55px rgba(7, 50, 74, .11);
}

.tph-package-intro__card::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 7px;
    background: #ff6b1a;
    content: "";
}

.tph-package-intro__card::after {
    position: absolute;
    right: -68px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border: 28px solid rgba(7, 50, 74, .045);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.tph-package-intro__symbol {
    position: relative;
    z-index: 1;
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    border-radius: 25px;
    background: #07324a;
    box-shadow: 0 15px 30px rgba(7, 50, 74, .2);
    transform: rotate(-4deg);
}

.tph-package-intro__symbol svg {
    width: 57px;
    height: 57px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(4deg);
}

.tph-package-intro__symbol svg circle {
    stroke: #ff9a61;
}

.tph-package-intro__copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.tph-package-intro__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #e45b0e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-transform: uppercase;
}

.tph-package-intro__copy h2 {
    margin: 0 0 12px;
    color: #07324a;
    font-size: clamp(32px, 4vw, 51px);
    font-weight: 850;
    letter-spacing: -1.4px;
    line-height: 1.06;
}

.tph-package-intro__copy p {
    max-width: 700px;
    margin: 0;
    color: #5a6e7b;
    font-size: 15px;
    line-height: 1.7;
}

.tph-package-intro__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.tph-package-intro__tags li {
    margin: 0;
    padding: 7px 11px;
    border: 1px solid #d7e5eb;
    border-radius: 999px;
    background: #ffffff;
    color: #294b5d;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}

.tph-package-intro__action {
    position: relative;
    z-index: 1;
    padding-left: clamp(20px, 3vw, 38px);
    border-left: 1px solid #d5e2e8;
}

.tph-package-intro__action > span {
    display: block;
    margin-bottom: 13px;
    color: #607683;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.tph-package-intro__action a {
    display: inline-flex;
    width: 100%;
    min-height: 55px;
    padding: 14px 18px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 2px solid #ff6b1a;
    border-radius: 11px;
    background: #ff6b1a;
    color: #ffffff !important;
    box-shadow: 0 12px 25px rgba(228, 91, 14, .2);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.3;
    text-decoration: none !important;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.tph-package-intro__action a svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tph-package-intro__action a:hover,
.tph-package-intro__action a:focus-visible {
    background: #07324a;
    border-color: #07324a;
    box-shadow: 0 15px 30px rgba(7, 50, 74, .22);
    transform: translateY(-3px);
}

.tph-package-intro__action a:focus-visible {
    outline: 4px solid rgba(255, 107, 26, .3);
    outline-offset: 4px;
}

/* Tablet */
@media (max-width: 960px) {
    .tph-package-intro__card {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .tph-package-intro__symbol {
        width: 86px;
        height: 86px;
        border-radius: 21px;
    }

    .tph-package-intro__symbol svg {
        width: 48px;
        height: 48px;
    }

    .tph-package-intro__action {
        grid-column: 2;
        padding: 0;
        border-left: 0;
    }

    .tph-package-intro__action > span {
        display: none;
    }

    .tph-package-intro__action a {
        width: min(100%, 255px);
    }
}

/* Mobile */
@media (max-width: 620px) {
    .tph-package-intro {
        width: min(100% - 28px, 1240px);
        margin-top: 45px;
    }

    .tph-package-intro__card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 22px 24px;
        border-radius: 20px;
        text-align: left;
    }

    .tph-package-intro__card::before {
        right: 0;
        bottom: auto;
        width: auto;
        height: 6px;
    }

    .tph-package-intro__symbol {
        width: 67px;
        height: 67px;
        border-radius: 17px;
    }

    .tph-package-intro__symbol svg {
        width: 39px;
        height: 39px;
    }

    .tph-package-intro__copy h2 {
        font-size: 34px;
        letter-spacing: -.8px;
    }

    .tph-package-intro__copy p {
        font-size: 14px;
    }

    .tph-package-intro__tags {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tph-package-intro__tags li {
        border-radius: 9px;
    }

    .tph-package-intro__action {
        grid-column: auto;
    }

    .tph-package-intro__action a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tph-package-intro__action a {
        transition: none;
    }
}




/* =====================================================
   Travelophila Home Page - Section 5 Destination Route
   Add at the end of travelophila-home-banner.css
===================================================== */

.tph-destination-route,
.tph-destination-route * {
    box-sizing: border-box;
}

.tph-destination-route {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 8vw, 112px) 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 107, 26, .16), transparent 23%),
        radial-gradient(circle at 92% 92%, rgba(30, 115, 154, .2), transparent 28%),
        #062f47;
    color: #ffffff;
    font-family: inherit;
}

.tph-destination-route::before,
.tph-destination-route::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.tph-destination-route::before {
    top: -170px;
    right: -100px;
    width: 430px;
    height: 430px;
}

.tph-destination-route::after {
    bottom: -210px;
    left: -130px;
    width: 510px;
    height: 510px;
}

.tph-destination-route__container {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.tph-destination-route__header {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(310px, .65fr);
    gap: clamp(30px, 6vw, 85px);
    align-items: end;
    margin-bottom: clamp(38px, 5vw, 58px);
}

.tph-destination-route__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #ff9d67;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.7px;
    line-height: 1.4;
    text-transform: uppercase;
}

.tph-destination-route__heading h2 {
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 5.2vw, 65px);
    font-weight: 850;
    letter-spacing: -2px;
    line-height: 1.02;
}

.tph-destination-route__header > p {
    margin: 0;
    padding: 0 0 5px 25px;
    border-left: 3px solid #ff6b1a;
    color: #c5d8e2;
    font-size: 15px;
    line-height: 1.75;
}

.tph-destination-route__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tph-route-place {
    position: relative;
    display: flex;
    min-height: 305px;
    padding: 28px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .075);
    color: #ffffff !important;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}

.tph-route-place::after {
    position: absolute;
    right: -42px;
    bottom: -50px;
    width: 135px;
    height: 135px;
    border: 17px solid rgba(255, 255, 255, .045);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.tph-route-place--featured {
    border-color: #ff8c4b;
    background: #ff6b1a;
    box-shadow: 0 18px 38px rgba(1, 24, 37, .25);
}

.tph-route-place__number {
    position: absolute;
    top: 20px;
    right: 23px;
    color: rgba(255, 255, 255, .25);
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
}

.tph-route-place__type {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: auto;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    color: #ffd5bd;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1.3;
    text-transform: uppercase;
}

.tph-route-place--featured .tph-route-place__type {
    color: #ffffff;
}

.tph-route-place h3 {
    position: relative;
    z-index: 1;
    margin: 34px 0 9px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -.6px;
    line-height: 1.15;
}

.tph-route-place p {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    color: #c6d8e1;
    font-size: 13px;
    line-height: 1.65;
}

.tph-route-place--featured p {
    color: #ffffff;
}

.tph-route-place__link {
    position: relative;
    z-index: 1;
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
}

.tph-route-place__link > span {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    font-size: 18px;
    transition: background-color .3s ease, transform .3s ease;
}

.tph-route-place:hover,
.tph-route-place:focus-visible {
    border-color: rgba(255, 145, 82, .8);
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 20px 45px rgba(1, 24, 37, .25);
    transform: translateY(-7px);
}

.tph-route-place--featured:hover,
.tph-route-place--featured:focus-visible {
    background: #e85b0c;
}

.tph-route-place:hover .tph-route-place__link > span,
.tph-route-place:focus-visible .tph-route-place__link > span {
    background: #ff6b1a;
    transform: translateX(3px);
}

.tph-route-place--featured:hover .tph-route-place__link > span,
.tph-route-place--featured:focus-visible .tph-route-place__link > span {
    background: #07324a;
}

.tph-route-place:focus-visible {
    outline: 4px solid rgba(255, 107, 26, .42);
    outline-offset: 4px;
}

.tph-destination-route__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 25px;
    align-items: center;
    margin-top: 24px;
    padding: 23px 25px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(2, 28, 43, .48);
}

.tph-destination-route__footer strong,
.tph-destination-route__footer span {
    display: block;
}

.tph-destination-route__footer strong {
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 15px;
}

.tph-destination-route__footer > div > span {
    color: #afc6d2;
    font-size: 12px;
    line-height: 1.5;
}

.tph-destination-route__button {
    display: inline-flex;
    min-height: 51px;
    padding: 13px 19px;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 2px solid #ff6b1a;
    border-radius: 10px;
    background: #ff6b1a;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
    text-decoration: none !important;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.tph-destination-route__button > span {
    font-size: 19px;
}

.tph-destination-route__button:hover,
.tph-destination-route__button:focus-visible {
    border-color: #ffffff;
    background: #ffffff;
    color: #07324a !important;
    transform: translateY(-3px);
}

.tph-destination-route__button:focus-visible {
    outline: 4px solid rgba(255, 107, 26, .4);
    outline-offset: 4px;
}

/* Tablet */
@media (max-width: 960px) {
    .tph-destination-route__header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tph-destination-route__header > p {
        max-width: 720px;
    }

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

/* Mobile */
@media (max-width: 620px) {
    .tph-destination-route {
        padding: 60px 0;
    }

    .tph-destination-route__container {
        width: min(100% - 28px, 1240px);
    }

    .tph-destination-route__heading h2 {
        font-size: 39px;
        letter-spacing: -1.1px;
    }

    .tph-destination-route__header > p {
        padding-left: 17px;
        font-size: 14px;
    }

    .tph-destination-route__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tph-route-place {
        min-height: 275px;
        padding: 23px;
        border-radius: 16px;
    }

    .tph-route-place h3 {
        font-size: 25px;
    }

    .tph-destination-route__footer {
        grid-template-columns: 1fr;
        padding: 21px;
    }

    .tph-destination-route__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tph-route-place,
    .tph-route-place__link > span,
    .tph-destination-route__button {
        transition: none;
    }
}