:root {
    /*
     * LostInManila official Compass Point palette.
     * Central public-brand color system.
     */
    --brand-forest: #1F5C42;
    --brand-moss: #4A6B3A;
    --brand-orange: #F28C28;
    --brand-sand: #F6F2E8;
    --brand-charcoal: var(--brand-charcoal);
    --brand-white: #FFFFFF;

    /*
     * Supporting tones derived from the official palette.
     */
    --brand-forest-dark: #174632;
    --brand-forest-soft: #E8F0EB;
    --brand-moss-soft: #EDF1E8;
    --brand-orange-dark: #C96812;
    --brand-orange-soft: #FFF1E3;
    --brand-border: #D9E1DC;
    --brand-muted: #66736B;

    /*
     * Existing variable names remain available so current layouts and
     * functionality continue working without template changes.
     */
    --green: var(--brand-forest);
    --green-dark: var(--brand-forest-dark);
    --cream: var(--brand-sand);
    --ink: var(--brand-charcoal);
    --muted: var(--brand-muted);
}

body {
    color: var(--ink);
    background: #fff;
}

.site-navbar {
    background: rgba(19, 52, 36, 0.97);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.45rem;
}

.navbar-brand span {
    color: #8bd3a9;
}

.hero-section {
    color: #fff;
    background:
        linear-gradient(
            rgba(12, 48, 31, 0.74),
            rgba(12, 48, 31, 0.82)
        ),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80")
        center / cover no-repeat;
}

.min-vh-60 {
    min-height: 60vh;
}

.hero-label,
.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-label {
    color: #b9efcc;
}

.hero-search {
    max-width: 760px;
}

.hero-search .input-group {
    background: #fff;
    border-radius: 1rem;
    padding: 0.35rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}

.hero-search .form-control:focus {
    box-shadow: none;
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-stats span {
    color: rgba(255,255,255,0.85);
}

.hero-stats strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.section-kicker {
    color: var(--green);
}

.category-card {
    display: block;
    height: 100%;
    padding: 1.4rem;
    color: var(--ink);
    background: var(--cream);
    border-radius: 1rem;
    transition: 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    background: #edf5ef;
}

.category-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #fff;
    color: var(--green);
    font-size: 1.35rem;
}

.destination-section {
    background: var(--cream);
}

.destination-card {
    display: flex;
    justify-content: space-between;
    align-items: end;
    min-height: 150px;
    padding: 1.5rem;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    background:
        linear-gradient(
            135deg,
            rgba(20, 92, 56, 0.96),
            rgba(44, 130, 82, 0.84)
        );
}

.destination-card h4 {
    margin-bottom: 0.2rem;
}

.destination-card p {
    margin: 0;
    opacity: 0.8;
}

.place-card {
    overflow: hidden;
    border-radius: 1rem;
    transition: 0.2s ease;
}

.place-card:hover {
    transform: translateY(-4px);
}

.place-card-image,
.place-card-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.place-card-placeholder {
    display: grid;
    place-items: center;
    background: #e8ece9;
    color: #8a918d;
    font-size: 2rem;
}

.rating-star {
    color: #d79500;
    font-weight: 600;
}

.page-header,
.place-detail-header {
    background: var(--cream);
}

.filter-panel,
.content-card,
.contact-card {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e7e9e7;
    border-radius: 1rem;
}

.contact-card {
    top: 90px;
}

.photo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 0.5rem;
    overflow: hidden;
    border-radius: 1rem;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-grid img:first-child {
    grid-row: 1 / 3;
}

#place-map {
    height: 430px;
    border-radius: 0.8rem;
}

.type-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.type-tags span {
    padding: 0.45rem 0.75rem;
    background: var(--cream);
    border-radius: 999px;
    font-size: 0.85rem;
}

.empty-state {
    padding: 5rem 1rem;
    text-align: center;
    color: var(--muted);
}

.empty-state i {
    display: block;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.site-footer {
    color: #d7dfda;
    background: #153525;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .hero-section .display-3 {
        font-size: 2.6rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .photo-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 150px;
    }

    .photo-grid img:first-child {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }
}

/* HOMEPAGE_FEATURED_CONTENT_CSS_START */

.homepage-featured-section {
    background:
        linear-gradient(
            180deg,
            var(--brand-sand),
            #ffffff
        );
}

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

.homepage-featured-card {
    border-radius: 1.1rem;
    color: #ffffff;
    min-height: 330px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.homepage-featured-card.primary {
    grid-column: span 2;
}

.homepage-featured-image {
    height: 100%;
    min-height: 330px;
    position: relative;
}

.homepage-featured-image > img,
.homepage-featured-placeholder {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: transform 0.3s ease;
    width: 100%;
}

.homepage-featured-placeholder {
    align-items: center;
    background:
        linear-gradient(
            135deg,
            #1f7048,
            #163d29
        );
    display: flex;
    font-size: 3rem;
    justify-content: center;
}

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

.homepage-featured-overlay {
    background:
        linear-gradient(
            to top,
            rgba(8, 26, 17, 0.94),
            rgba(8, 26, 17, 0.1) 70%
        );
    inset: 0;
    position: absolute;
}

.homepage-featured-content {
    bottom: 0;
    left: 0;
    padding: 1.45rem;
    position: absolute;
    right: 0;
    z-index: 2;
}

.homepage-featured-badge {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    color: var(--green-dark);
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
    padding: 0.4rem 0.65rem;
    text-transform: uppercase;
}

.homepage-featured-content h3 {
    color: #ffffff;
    font-size: 1.45rem;
    margin: 0;
}

.homepage-featured-card.primary
.homepage-featured-content h3 {
    font-size: 2rem;
}

.homepage-featured-content p {
    color: rgba(255, 255, 255, 0.84);
    display: -webkit-box;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.55rem 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.homepage-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.homepage-featured-meta span {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.72rem;
    padding: 0.35rem 0.55rem;
}

@media (max-width: 991px) {
    .homepage-featured-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .homepage-featured-card.primary {
        grid-column: span 2;
    }
}

@media (max-width: 650px) {
    .homepage-featured-grid {
        grid-template-columns: 1fr;
    }

    .homepage-featured-card.primary {
        grid-column: auto;
    }

    .homepage-featured-card,
    .homepage-featured-image {
        min-height: 310px;
    }

    .homepage-featured-card.primary
    .homepage-featured-content h3 {
        font-size: 1.5rem;
    }
}

/* HOMEPAGE_FEATURED_CONTENT_CSS_END */

/* CONTACT_MESSAGES_PUBLIC_CSS_START */

.site-contact-footer-link {
    margin-top: 1rem;
    text-align: center;
}

.site-contact-footer-link a {
    color: #ffffff;
    font-weight: 700;
}

.contact-page {
    background:
        linear-gradient(
            180deg,
            var(--brand-sand),
            #ffffff
        );
    min-height: 70vh;
}

.contact-page-layout {
    align-items: start;
    display: grid;
    gap: 3rem;
    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(380px, 1fr);
}

.contact-page-intro h1 {
    font-size: clamp(
        2.3rem,
        5vw,
        4.3rem
    );
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0.5rem 0 1rem;
}

.contact-page-intro > p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 620px;
}

.contact-page-guidance {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-page-guidance article {
    background: #ffffff;
    border: 1px solid #e5e9e6;
    border-radius: 1rem;
    padding: 1.1rem 1.2rem;
}

.contact-page-guidance strong {
    display: block;
    margin-bottom: 0.3rem;
}

.contact-page-guidance p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.contact-form-panel {
    background: #ffffff;
    border: 1px solid #e3e7e4;
    border-radius: 1.25rem;
    box-shadow:
        0 1.2rem 3rem
        rgba(24, 55, 38, 0.08);
    padding: 1.5rem;
}

.contact-form-panel form {
    display: grid;
    gap: 1rem;
}

.contact-form-panel label {
    display: grid;
    gap: 0.4rem;
}

.contact-form-panel label > span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
    background: #ffffff;
    border: 1px solid #dce3de;
    border-radius: 0.75rem;
    box-sizing: border-box;
    font: inherit;
    padding: 0.85rem;
    width: 100%;
}

.contact-form-panel textarea {
    resize: vertical;
}

.contact-form-panel button {
    background: var(--green);
    border: 0;
    border-radius: 0.8rem;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    padding: 0.95rem 1.2rem;
}

.contact-form-panel button:hover {
    background: var(--green-dark);
}

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

.contact-alert {
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
}

.contact-alert.success {
    background: #e7f3eb;
    color: var(--brand-forest);
}

.contact-alert.error {
    background: #fae9e7;
    color: #a23e34;
}

.contact-context-card {
    background: #edf6f0;
    border-radius: 0.9rem;
    display: grid;
    margin-bottom: 1rem;
    padding: 1rem;
}

.contact-context-card span,
.contact-context-card small {
    color: var(--muted);
    font-size: 0.78rem;
}

.contact-context-card strong {
    margin: 0.2rem 0;
}

.contact-honeypot {
    height: 0;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

@media (max-width: 850px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-panel {
        padding: 1.1rem;
    }
}

/* CONTACT_MESSAGES_PUBLIC_CSS_END */

/* PUBLIC_REPORTS_CSS_START */

.report-page {
    background:
        linear-gradient(
            180deg,
            var(--brand-sand),
            #ffffff
        );
    min-height: 70vh;
}

.report-page-layout {
    align-items: start;
    display: grid;
    gap: 3rem;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(380px, 1fr);
}

.report-page-intro h1 {
    font-size: clamp(
        2.3rem,
        5vw,
        4.2rem
    );
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0.5rem 0 1rem;
}

.report-page-intro > p {
    color: var(--muted);
    line-height: 1.7;
}

.report-target-card {
    background: #ffffff;
    border: 1px solid #e3e8e4;
    border-radius: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 120px 1fr;
    margin-top: 2rem;
    overflow: hidden;
    padding: 1rem;
}

.report-target-card img,
.report-target-placeholder {
    border-radius: 0.8rem;
    height: 110px;
    object-fit: cover;
    width: 120px;
}

.report-target-placeholder {
    align-items: center;
    background: #e8f1eb;
    color: var(--green);
    display: flex;
    font-size: 2rem;
    justify-content: center;
}

.report-target-card span {
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.report-target-card h2 {
    font-size: 1.2rem;
    margin: 0.3rem 0;
}

.report-target-card p {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
}

.report-target-card a {
    color: var(--green);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.55rem;
}

.report-guidance {
    background: #fff8e8;
    border-radius: 1rem;
    margin-top: 1rem;
    padding: 1rem;
}

.report-guidance p {
    color: #75684e;
    font-size: 0.85rem;
    margin: 0.3rem 0 0;
}

.report-form-panel {
    background: #ffffff;
    border: 1px solid #e3e8e4;
    border-radius: 1.2rem;
    box-shadow:
        0 1rem 3rem
        rgba(24, 55, 38, 0.08);
    padding: 1.5rem;
}

.report-form-panel form {
    display: grid;
    gap: 1rem;
}

.report-form-panel label {
    display: grid;
    gap: 0.4rem;
}

.report-form-panel label > span {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.report-form-panel input,
.report-form-panel select,
.report-form-panel textarea {
    border: 1px solid #dce3de;
    border-radius: 0.75rem;
    box-sizing: border-box;
    font: inherit;
    padding: 0.85rem;
    width: 100%;
}

.report-form-panel textarea {
    resize: vertical;
}

.report-form-panel button {
    background: var(--green);
    border: 0;
    border-radius: 0.8rem;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    padding: 0.95rem;
}

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

.report-alert {
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
}

.report-alert.success {
    background: #e7f3eb;
    color: var(--brand-forest);
}

.report-alert.error {
    background: #fae9e7;
    color: #a23e34;
}

.report-honeypot {
    height: 0;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.directory-place-report {
    border-top: 1px solid #e3e7e4;
    padding-top: 1.2rem;
    text-align: right;
}

.directory-place-report a {
    color: #8a4d42;
    font-size: 0.85rem;
}

@media (max-width: 850px) {
    .report-page-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .report-form-grid {
        grid-template-columns: 1fr;
    }

    .report-target-card {
        grid-template-columns: 1fr;
    }

    .report-target-card img,
    .report-target-placeholder {
        height: 190px;
        width: 100%;
    }
}

/* PUBLIC_REPORTS_CSS_END */

/* PUBLIC_TRACKED_LINKS_CSS_START */

.public-tracked-links {
    display: grid;
    gap: 0.55rem;
    margin: 0.8rem 0;
}

.public-tracked-link {
    align-items: center;
    background: #f1f6f2;
    border: 1px solid #dbe8df;
    border-radius: 0.7rem;
    color: var(--green-dark);
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0.85rem;
    text-decoration: none;
}

.public-tracked-link:hover {
    background: #e8f2eb;
}

.public-tracked-link span {
    font-weight: 800;
}

.public-tracked-link small {
    color: var(--muted);
    font-size: 0.68rem;
}

/* PUBLIC_TRACKED_LINKS_CSS_END */

/* GROUPED_PUBLIC_NAVIGATION_START */

.site-navbar .navbar-nav {
    align-items: center;
    gap: 0.15rem;
}

.site-navbar .nav-link {
    border-radius: 0.45rem;
    font-size: 0.92rem;
    font-weight: 650;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.site-navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.navigation-routes-menu {
    min-width: 285px;
    padding: 0.6rem;
}

.navigation-routes-menu .dropdown-item {
    align-items: center;
    border-radius: 0.45rem;
    display: flex;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
}

.navigation-featured-link {
    align-items: flex-start !important;
    display: grid !important;
    gap: 0.1rem !important;
}

.navigation-featured-link strong {
    color: var(--brand-forest);
}

.navigation-featured-link small {
    color: #758078;
    font-size: 0.72rem;
}

.navigation-coming-soon {
    color: #7d8781;
    cursor: default;
    justify-content: space-between;
    white-space: normal;
}

.navigation-coming-soon > span {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.navigation-coming-soon small {
    background: #edf1ee;
    border-radius: 999px;
    color: #78827c;
    font-size: 0.61rem;
    font-weight: 800;
    padding: 0.22rem 0.42rem;
    text-transform: uppercase;
}

.navigation-mega-menu {
    border: 0;
    border-radius: 0.8rem;
    box-shadow:
        0 18px 50px
        rgba(15, 42, 27, 0.18);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 0.8rem;
    width: min(860px, calc(100vw - 2rem));
}

.navigation-destinations-menu {
    width: min(620px, calc(100vw - 2rem));
}

.navigation-mega-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    padding: 0.3rem;
}

.navigation-category-grid {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.navigation-mega-section {
    background: #f7f9f7;
    border-radius: 0.65rem;
    padding: 0.8rem;
}

.navigation-mega-section h6 {
    color: #195d3b;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    margin: 0 0 0.55rem;
    text-transform: uppercase;
}

.navigation-mega-section p {
    color: #758078;
    font-size: 0.68rem;
    line-height: 1.35;
    margin: -0.25rem 0 0.55rem;
}

.navigation-mega-section > a {
    align-items: center;
    border-radius: 0.35rem;
    color: #2c3831;
    display: flex;
    font-size: 0.8rem;
    justify-content: space-between;
    padding: 0.36rem 0.42rem;
    text-decoration: none;
}

.navigation-mega-section > a:hover {
    background: #e8f1eb;
    color: var(--brand-forest);
}

.navigation-mega-section > a small {
    color: #879189;
    font-size: 0.67rem;
}

.navigation-mega-section .navigation-more-link {
    color: #26754d;
    font-size: 0.71rem;
    font-weight: 800;
    margin-top: 0.25rem;
}

.navigation-view-all {
    align-items: center;
    color: #1f7048;
    display: flex;
    font-weight: 800;
    justify-content: space-between;
}

.site-footer .col-lg-3 > a {
    display: block;
    margin-bottom: 0.4rem;
}

.place-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.place-category-links a,
.place-category-links span {
    background: #edf4ef;
    border-radius: 999px;
    color: #31704e;
    display: inline-flex;
    font-size: 0.69rem;
    font-weight: 750;
    padding: 0.3rem 0.58rem;
    text-decoration: none;
}

.place-category-links a.primary,
.place-category-links span.primary {
    background: var(--brand-forest);
    color: #ffffff;
}

.place-category-links a:hover {
    background: #dcebe1;
}

.place-category-links a.primary:hover {
    background: #17623d;
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-nav {
        align-items: stretch;
        gap: 0.15rem;
        padding: 0.75rem 0;
    }

    .site-navbar .nav-link {
        padding: 0.65rem 0.75rem;
    }

    .navigation-mega-menu,
    .navigation-destinations-menu,
    .navigation-routes-menu {
        border-radius: 0.55rem;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        width: 100%;
    }

    .navigation-category-grid,
    .navigation-mega-grid {
        grid-template-columns: 1fr;
    }
}

/* GROUPED_PUBLIC_NAVIGATION_END */

/* PUBLIC_ACCOUNT_MENU_CSS_START */

.site-account-menu {
    align-items: center;
    display: flex;
    margin-left: 0.55rem;
}

.site-account-trigger {
    align-items: center;
    background:
        rgba(255, 255, 255, 0.1);
    border:
        1px solid
        rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    width: 38px;
}

.site-account-trigger:hover,
.site-account-trigger[aria-expanded="true"] {
    background:
        rgba(255, 255, 255, 0.18);
}

.site-account-trigger > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.site-account-initial,
.site-account-guest-icon {
    align-items: center;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 900;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.site-account-guest-icon i {
    font-size: 1.05rem;
}

.site-account-trigger-label {
    display: none;
}

.site-account-dropdown {
    border: 0;
    border-radius: 0.8rem;
    box-shadow:
        0 18px 55px
        rgba(10, 35, 23, 0.2);
    margin-top: 0.7rem !important;
    padding: 0.75rem;
    width: 300px;
}

.site-account-intro {
    padding: 0.35rem 0.35rem 0.7rem;
}

.site-account-intro strong {
    color: var(--brand-forest);
    display: block;
    font-size: 0.96rem;
}

.site-account-intro p {
    color: #738078;
    font-size: 0.73rem;
    line-height: 1.45;
    margin: 0.25rem 0 0;
}

.site-google-account-button {
    align-items: center;
    border: 1px solid #d4ddd7;
    border-radius: 0.55rem;
    color: #27352d;
    display: flex;
    font-size: 0.82rem;
    font-weight: 850;
    gap: 0.65rem;
    justify-content: center;
    padding: 0.7rem;
    text-decoration: none;
}

.site-google-account-button:hover {
    background: #f7f9f7;
    border-color: #afbeb4;
    color: var(--brand-forest);
}

.site-google-g {
    color: #4285f4;
    font-size: 1rem;
    font-weight: 900;
}

.site-account-divider {
    align-items: center;
    color: #98a29c;
    display: flex;
    font-size: 0.62rem;
    gap: 0.5rem;
    margin: 0.7rem 0;
    text-transform: uppercase;
}

.site-account-divider::before,
.site-account-divider::after {
    background: #e1e7e3;
    content: "";
    flex: 1;
    height: 1px;
}

.site-account-secondary-actions {
    display: grid;
    gap: 0.35rem;
}

.site-account-secondary-actions a {
    border-radius: 0.45rem;
    color: #425148;
    font-size: 0.77rem;
    font-weight: 750;
    padding: 0.55rem 0.6rem;
    text-decoration: none;
}

.site-account-secondary-actions a:hover {
    background: #edf4ef;
    color: #1d6542;
}

.site-account-user {
    align-items: center;
    border-bottom: 1px solid #e3e8e5;
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.55rem;
    padding:
        0.25rem
        0.25rem
        0.7rem;
}

.site-account-user > img,
.site-account-user > span {
    align-items: center;
    background: #1b6843;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    object-fit: cover;
    width: 38px;
}

.site-account-user > div {
    display: grid;
}

.site-account-user strong {
    color: #27352d;
    font-size: 0.82rem;
}

.site-account-user small {
    color: #7a867f;
    font-size: 0.68rem;
}

.site-account-links {
    display: grid;
    gap: 0.15rem;
}

.site-account-links a,
.site-account-logout button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0.45rem;
    color: #435148;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 750;
    gap: 0.65rem;
    padding: 0.58rem 0.6rem;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.site-account-links a:hover,
.site-account-logout button:hover {
    background: #edf4ef;
    color: #1c6541;
}

.site-account-links i,
.site-account-logout i {
    font-size: 0.86rem;
    width: 16px;
}

.site-account-logout {
    border-top: 1px solid #e3e8e5;
    margin: 0.5rem 0 0;
    padding-top: 0.5rem;
}

@media (max-width: 991.98px) {
    .site-account-menu {
        align-items: stretch;
        display: block;
        margin:
            0.35rem
            0
            0;
    }

    .site-account-trigger {
        border-radius: 0.55rem;
        gap: 0.55rem;
        height: auto;
        justify-content: flex-start;
        padding: 0.55rem 0.7rem;
        width: 100%;
    }

    .site-account-trigger > img,
    .site-account-initial,
    .site-account-guest-icon {
        border-radius: 50%;
        height: 30px;
        width: 30px;
    }

    .site-account-trigger-label {
        display: inline;
        font-size: 0.82rem;
        font-weight: 800;
    }

    .site-account-dropdown {
        box-shadow: none;
        margin-top: 0.35rem !important;
        width: 100%;
    }
}

/* PUBLIC_ACCOUNT_MENU_CSS_END */


/* LUZON_HOMEPAGE_PHASE1_START */

.home-trip-planning {
    background: var(--brand-forest);
    color: #ffffff;
    padding: 2.5rem 0;
}

.home-trip-planning-grid {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);
}

.home-trip-planning .section-kicker {
    color: #a7d8b8;
}

.home-trip-planning h2 {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 0.3rem 0 0.7rem;
}

.home-trip-planning p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}

.home-trip-actions {
    display: grid;
    gap: 0.75rem;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}

.home-trip-actions > a,
.home-smart-planner-preview {
    align-items: center;
    background: #ffffff;
    border-radius: 0.9rem;
    color: #1d3427;
    display: flex;
    gap: 0.8rem;
    min-height: 88px;
    padding: 1rem;
    text-decoration: none;
    transition:
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.home-trip-actions > a:hover {
    box-shadow:
        0 14px 35px
        rgba(0, 0, 0, 0.22);

    color: var(--brand-forest-dark);
    transform: translateY(-2px);
}

.home-trip-actions > a > i,
.home-smart-planner-preview > i {
    align-items: center;
    background: #edf5ef;
    border-radius: 50%;
    color: var(--brand-forest);
    display: flex;
    flex: 0 0 auto;
    font-size: 1.15rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.home-trip-actions span {
    display: grid;
    gap: 0.15rem;
}

.home-trip-actions strong {
    font-size: 0.9rem;
}

.home-trip-actions small {
    color: #728078;
    font-size: 0.7rem;
    line-height: 1.4;
}

.home-smart-planner-preview {
    background: rgba(255, 255, 255, 0.1);
    border:
        1px dashed
        rgba(255, 255, 255, 0.35);

    color: #ffffff;
    grid-column: 1 / -1;
}

.home-smart-planner-preview > i {
    background: rgba(255, 255, 255, 0.15);
    color: #c8f0d5;
}

.home-smart-planner-preview small {
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 991px) {
    .home-trip-planning-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .home-trip-actions {
        grid-template-columns: 1fr;
    }

    .home-smart-planner-preview {
        grid-column: auto;
    }
}

/* LUZON_HOMEPAGE_PHASE1_END */


/* PLAN_THIS_PLACE_SITE_START */

.place-plan-panel {
    background:
        linear-gradient(
            145deg,
            var(--brand-forest),
            var(--brand-forest)
        );
    border-radius: 0.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    padding: 1rem;
}

.place-plan-kicker {
    color: #bfe1ca;
    display: block;
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.075em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.place-plan-panel h2 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.place-plan-panel p {
    color: rgba(255, 255, 255, 0.77);
    font-size: 0.75rem;
    line-height: 1.55;
    margin: 0.55rem 0 0.8rem;
}

.place-plan-panel > small {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 0.62rem;
    line-height: 1.4;
    margin-top: 0.55rem;
}

.place-plan-primary {
    align-items: center;
    background: #ffffff;
    border-radius: 0.55rem;
    color: #145737;
    display: flex;
    font-size: 0.78rem;
    font-weight: 850;
    gap: 0.45rem;
    justify-content: center;
    min-height: 43px;
    padding: 0.65rem 0.8rem;
    text-decoration: none;
    width: 100%;
}

.place-plan-primary:hover {
    background: #edf7f0;
    color: #0f472c;
}

.place-card .card-body {
    display: flex;
    flex-direction: column;
}

.place-card-actions {
    align-items: center;
    border-top: 1px solid #e6ebe7;
    display: flex;
    gap: 0.45rem;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
}

.place-card-actions a {
    align-items: center;
    border-radius: 0.45rem;
    display: inline-flex;
    font-size: 0.69rem;
    font-weight: 800;
    gap: 0.3rem;
    justify-content: center;
    min-height: 34px;
    padding: 0.45rem 0.55rem;
    text-decoration: none;
}

.place-card-view-action {
    color: #58665e;
}

.place-card-view-action:hover {
    background: #f1f4f2;
    color: #294234;
}

.place-card-plan-action {
    background: #eaf4ed;
    color: var(--brand-forest);
}

.place-card-plan-action:hover {
    background: #dceee2;
    color: #0f4e30;
}

.lim-sponsored-links {
    background: #fbfaf6;
    border: 1px solid #e5e0d2;
    border-radius: 0.75rem;
    margin-top: 1rem;
    padding: 0.85rem;
}

.lim-sponsored-heading {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.lim-sponsored-heading > div {
    display: grid;
    gap: 0.12rem;
}

.lim-sponsored-heading span {
    color: #81765f;
    font-size: 0.59rem;
    font-weight: 850;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.lim-sponsored-heading strong {
    color: #3d382e;
    font-size: 0.8rem;
}

.lim-sponsored-heading > small {
    background: #eee8d9;
    border-radius: 999px;
    color: #73674e;
    flex: 0 0 auto;
    font-size: 0.54rem;
    font-weight: 850;
    padding: 0.25rem 0.42rem;
    text-transform: uppercase;
}

.lim-sponsored-grid {
    display: grid;
    gap: 0.45rem;
}

.lim-sponsored-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e8e3d7;
    border-radius: 0.55rem;
    color: #3d453f;
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
    padding: 0.65rem;
    text-decoration: none;
}

.lim-sponsored-link:hover {
    border-color: #cfc4aa;
    color: #1d5f3d;
}

.lim-sponsored-link > span {
    display: grid;
    gap: 0.12rem;
}

.lim-sponsored-link strong {
    font-size: 0.72rem;
}

.lim-sponsored-link small {
    color: #847c6d;
    font-size: 0.58rem;
}

.lim-sponsored-link > i {
    color: #8d846e;
    flex: 0 0 auto;
}

.lim-sponsored-links > p {
    color: #8a8375;
    font-size: 0.55rem;
    line-height: 1.45;
    margin: 0.65rem 0 0;
}

@media (max-width: 575px) {
    .place-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .place-card-actions a {
        width: 100%;
    }
}

/* PLAN_THIS_PLACE_SITE_END */


/* SAVED_PLACES_UI_START */

.place-personal-actions {
    display: grid;
    gap: 0.5rem;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    margin-top: 0.55rem;
}

.place-personal-actions button,
.place-personal-actions a {
    align-items: center;
    border-radius: 0.5rem;
    display: inline-flex;
    font-size: 0.69rem;
    font-weight: 800;
    gap: 0.35rem;
    justify-content: center;
    min-height: 38px;
    padding: 0.5rem 0.6rem;
    text-decoration: none;
}

.place-save-action {
    background: rgba(255, 255, 255, 0.12);
    border:
        1px solid
        rgba(255, 255, 255, 0.32);
    color: #ffffff;
    cursor: pointer;
}

.place-save-action:hover,
.place-save-action.is-saved {
    background: #ffffff;
    color: #145737;
}

.place-add-route-action {
    background: #dceee2;
    border: 1px solid #c4e0cd;
    color: #125434;
}

.place-add-route-action:hover {
    background: #cce5d5;
    color: #0d442a;
}

.place-card-actions {
    flex-wrap: wrap;
}

.place-card-save-action {
    background: #ffffff;
    border: 1px solid #d8dfda;
    color: #5b6860;
    cursor: pointer;
}

.place-card-save-action:hover,
.place-card-save-action.is-saved {
    background: #f1f7f3;
    border-color: #a9cdb6;
    color: var(--brand-forest);
}

.place-card-add-route-action {
    background: #f0f4f1;
    color: #315541;
}

.place-card-add-route-action:hover {
    background: #e1ece5;
    color: #174f31;
}

.saved-places-page {
    padding-bottom: 5rem;
    padding-top: 2.5rem;
}

.saved-places-heading {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.saved-places-heading h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    margin: 0;
}

.saved-places-heading p {
    color: #69736d;
    margin: 0.45rem 0 0;
}

.saved-place-count {
    background: #eaf4ed;
    border-radius: 999px;
    color: var(--brand-forest);
    font-size: 0.72rem;
    font-weight: 850;
    padding: 0.45rem 0.7rem;
}

.saved-places-empty {
    background: #f5f7f5;
    border: 1px dashed #c9d4cc;
    border-radius: 1rem;
    padding: 3rem 1.5rem;
    text-align: center;
}

.saved-places-empty h2 {
    font-size: 1.4rem;
    font-weight: 800;
}

.saved-places-empty p {
    color: #6f7972;
    margin: 0.5rem auto 1.2rem;
    max-width: 520px;
}

.saved-places-empty a {
    background: var(--brand-forest);
    border-radius: 0.55rem;
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    padding: 0.65rem 1rem;
    text-decoration: none;
}

.add-place-route-page {
    padding-bottom: 5rem;
    padding-top: 2.5rem;
}

.add-place-route-intro {
    background:
        linear-gradient(
            145deg,
            var(--brand-forest),
            #1f7047
        );
    border-radius: 1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    padding: 1.4rem;
}

.add-place-route-intro span {
    color: #b9dec5;
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.add-place-route-intro h1 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    margin: 0.3rem 0 0.45rem;
}

.add-place-route-intro p {
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
}

.draft-route-list {
    display: grid;
    gap: 0.75rem;
}

.draft-route-option {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dfe5e1;
    border-radius: 0.8rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
}

.draft-route-option > div {
    display: grid;
    gap: 0.18rem;
}

.draft-route-option strong {
    color: #25362c;
    font-size: 0.9rem;
}

.draft-route-option small {
    color: #748078;
    font-size: 0.67rem;
}

.draft-route-option button {
    background: var(--brand-forest);
    border: 0;
    border-radius: 0.5rem;
    color: #ffffff;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 0.7rem;
    font-weight: 850;
    min-height: 38px;
    padding: 0.55rem 0.75rem;
}

.add-route-empty {
    background: #f5f7f5;
    border: 1px dashed #cbd5ce;
    border-radius: 0.9rem;
    padding: 1.5rem;
}

.add-route-empty a {
    color: var(--brand-forest);
    font-weight: 800;
}

.saved-place-toast {
    background: #173d2a;
    border-radius: 0.55rem;
    bottom: 1rem;
    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.24);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 750;
    left: 50%;
    max-width: calc(100vw - 2rem);
    padding: 0.7rem 0.9rem;
    position: fixed;
    transform: translateX(-50%);
    z-index: 9999;
}

@media (max-width: 575px) {
    .place-personal-actions {
        grid-template-columns: 1fr;
    }

    .saved-places-heading,
    .draft-route-option {
        align-items: stretch;
        flex-direction: column;
    }

    .draft-route-option button {
        width: 100%;
    }
}

/* SAVED_PLACES_UI_END */

/* ==================================================================
   LOSTINMANILA COMPASS POINT BRAND — PHASE 1
   Shared public components only.
   ================================================================== */

html {
    accent-color: var(--brand-orange);
}

body {
    color: var(--brand-charcoal);
    background-color: var(--brand-white);
}

a {
    color: var(--brand-forest);
}

a:hover,
a:focus-visible {
    color: var(--brand-orange-dark);
}

::selection {
    color: var(--brand-white);
    background: var(--brand-forest);
}

/*
 * Shared Bootstrap button treatment.
 * Warning, danger and informational status buttons are intentionally
 * excluded so their meanings remain recognizable.
 */
.btn-primary {
    --bs-btn-color: var(--brand-white);
    --bs-btn-bg: var(--brand-forest);
    --bs-btn-border-color: var(--brand-forest);
    --bs-btn-hover-color: var(--brand-white);
    --bs-btn-hover-bg: var(--brand-forest-dark);
    --bs-btn-hover-border-color: var(--brand-forest-dark);
    --bs-btn-focus-shadow-rgb: 31, 92, 66;
    --bs-btn-active-color: var(--brand-white);
    --bs-btn-active-bg: var(--brand-forest-dark);
    --bs-btn-active-border-color: var(--brand-forest-dark);
}

.btn-success {
    --bs-btn-color: var(--brand-white);
    --bs-btn-bg: var(--brand-moss);
    --bs-btn-border-color: var(--brand-moss);
    --bs-btn-hover-color: var(--brand-white);
    --bs-btn-hover-bg: #3D592F;
    --bs-btn-hover-border-color: #3D592F;
    --bs-btn-focus-shadow-rgb: 74, 107, 58;
    --bs-btn-active-color: var(--brand-white);
    --bs-btn-active-bg: #3D592F;
    --bs-btn-active-border-color: #3D592F;
}

/*
 * Orange is intentionally reserved for major discovery actions rather
 * than every button on the website.
 */
.hero-search .btn,
.search-button,
.search-submit,
.main-cta,
.primary-cta,
.cta-button {
    color: var(--brand-white);
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
}

.hero-search .btn:hover,
.hero-search .btn:focus-visible,
.search-button:hover,
.search-button:focus-visible,
.search-submit:hover,
.search-submit:focus-visible,
.main-cta:hover,
.main-cta:focus-visible,
.primary-cta:hover,
.primary-cta:focus-visible,
.cta-button:hover,
.cta-button:focus-visible {
    color: var(--brand-white);
    background-color: var(--brand-orange-dark);
    border-color: var(--brand-orange-dark);
}

.section-kicker,
.hero-label {
    color: var(--brand-orange);
}

.page-header,
.place-detail-header,
.destination-section,
.empty-state {
    background-color: var(--brand-sand);
}

.category-card {
    color: var(--brand-charcoal);
    background-color: var(--brand-sand);
    border: 1px solid transparent;
}

.category-card:hover {
    background-color: var(--brand-orange-soft);
    border-color: rgba(242, 140, 40, 0.28);
}

.category-icon {
    color: var(--brand-forest);
    background-color: var(--brand-white);
}

.destination-card {
    background:
        linear-gradient(
            135deg,
            rgba(31, 92, 66, 0.98),
            rgba(74, 107, 58, 0.9)
        );
}

.filter-panel,
.content-card,
.contact-card,
.place-card,
.card {
    border-color: var(--brand-border);
}

.form-control,
.form-select,
textarea,
input[type="text"],
input[type="search"],
input[type="email"],
input[type="url"],
input[type="tel"] {
    color: var(--brand-charcoal);
    border-color: var(--brand-border);
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 0.2rem rgba(242, 140, 40, 0.18);
}

.badge.bg-success,
.status-badge-success,
.tag,
.place-tag {
    color: var(--brand-white);
    background-color: var(--brand-moss) !important;
}

.nav-pills .nav-link.active,
.nav-tabs .nav-link.active,
.filter-chip.active,
.filter-chip[aria-pressed="true"],
.selected-filter {
    color: var(--brand-white);
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
}

.site-footer {
    color: rgba(255, 255, 255, 0.82);
    background-color: var(--brand-forest);
}

.site-footer h5,
.site-footer h6,
.site-footer strong {
    color: var(--brand-white);
}

.site-footer a {
    color: var(--brand-white);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #FFD4A8;
}

.site-contact-footer-link {
    border-color: rgba(255, 255, 255, 0.14);
}

/*
 * Accessible keyboard focus shared across public components.
 */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid rgba(242, 140, 40, 0.55);
    outline-offset: 2px;
}

/* LOST_IN_MANILA_HOMEPAGE_2_START */

.lim-home-hero {
    align-items: center;
    background:
        linear-gradient(
            110deg,
            rgba(7, 39, 26, 0.90) 0%,
            rgba(7, 39, 26, 0.68) 46%,
            rgba(7, 39, 26, 0.30) 100%
        ),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2000&q=86")
        center 48% / cover no-repeat;
    color: #ffffff;
    display: flex;
    min-height: min(820px, calc(100vh - 70px));
    overflow: hidden;
    position: relative;
}

.lim-home-hero-overlay {
    background:
        radial-gradient(
            circle at 72% 38%,
            rgba(242, 140, 40, 0.13),
            transparent 34%
        );
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.lim-home-hero-inner {
    position: relative;
    z-index: 2;
}

.lim-home-hero-copy {
    max-width: 820px;
    padding: 6.5rem 0 7.5rem;
}

.lim-home-eyebrow {
    color: var(--brand-orange, #f28c28);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.lim-home-hero .lim-home-eyebrow {
    color: #ffc57f;
}

.lim-home-hero h1 {
    font-size: clamp(3.2rem, 7vw, 6.6rem);
    font-weight: 850;
    letter-spacing: -0.065em;
    line-height: 0.92;
    margin: 0;
    max-width: 900px;
}

.lim-home-hero h1 span {
    color: #ffd09a;
    display: block;
}

.lim-home-hero-copy > p {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.65;
    margin: 1.6rem 0 2rem;
    max-width: 620px;
}

.lim-home-search {
    align-items: center;
    background: #ffffff;
    border-radius: 1.1rem;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
    display: grid;
    gap: 0.65rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    max-width: 780px;
    padding: 0.46rem;
}

.lim-home-search > i {
    color: #496255;
    font-size: 1.15rem;
    margin-left: 0.85rem;
}

.lim-home-search input {
    border: 0;
    color: #173325;
    font-size: 1rem;
    min-width: 0;
    outline: 0;
    padding: 0.9rem 0.4rem;
}

.lim-home-search button,
.lim-home-button-primary {
    background: var(--brand-orange, #f28c28);
    border: 0;
    color: #ffffff;
}

.lim-home-search button {
    border-radius: 0.8rem;
    font-weight: 750;
    padding: 1rem 1.25rem;
    white-space: nowrap;
}

.lim-home-search button:hover,
.lim-home-button-primary:hover {
    background: #d97717;
    color: #ffffff;
}

.lim-home-quick-discovery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.lim-home-quick-discovery a {
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.90);
    display: inline-flex;
    font-size: 0.82rem;
    gap: 0.42rem;
    padding: 0.55rem 0.78rem;
    text-decoration: none;
    transition: 0.18s ease;
}

.lim-home-quick-discovery a:hover {
    background: rgba(255, 255, 255, 0.19);
    color: #ffffff;
    transform: translateY(-2px);
}

.lim-home-scroll-cue {
    align-items: center;
    bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    font-size: 0.76rem;
    gap: 0.55rem;
    left: 50%;
    letter-spacing: 0.1em;
    position: absolute;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
    z-index: 2;
}

.lim-home-section {
    padding: clamp(4.8rem, 8vw, 7.5rem) 0;
}

.lim-home-section-heading {
    align-items: flex-end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.lim-home-section-heading-centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
    text-align: center;
}

.lim-home-section-heading h2,
.lim-home-routes h2,
.lim-home-community h2,
.lim-home-closing h2 {
    color: #183226;
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    font-weight: 820;
    letter-spacing: -0.05em;
    line-height: 1.02;
    margin: 0;
}

.lim-home-section-heading p {
    color: #65746b;
    line-height: 1.7;
    margin: 0.8rem 0 0;
    max-width: 660px;
}

.lim-home-section-heading-centered p {
    margin-left: auto;
    margin-right: auto;
}

.lim-home-text-link {
    align-items: center;
    color: var(--brand-forest, #1f5c42);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 750;
    gap: 0.5rem;
    text-decoration: none;
}

.lim-home-text-link:hover {
    color: var(--brand-orange, #f28c28);
}

.lim-home-moods {
    background: #fbf8f1;
}

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

.lim-home-mood-card {
    background: #ffffff;
    border: 1px solid rgba(25, 57, 41, 0.08);
    border-radius: 1.3rem;
    color: #1a3327;
    display: grid;
    gap: 1.1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 190px;
    overflow: hidden;
    padding: 1.6rem;
    position: relative;
    text-decoration: none;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.lim-home-mood-card::after {
    background: var(--mood-glow, #edf5ef);
    border-radius: 50%;
    content: "";
    height: 150px;
    position: absolute;
    right: -70px;
    top: -80px;
    width: 150px;
}

.lim-home-mood-card > i {
    align-items: center;
    background: var(--mood-glow, #edf5ef);
    border-radius: 50%;
    color: var(--mood-color, #1f5c42);
    display: flex;
    font-size: 1.35rem;
    height: 54px;
    justify-content: center;
    position: relative;
    width: 54px;
    z-index: 1;
}

.lim-home-mood-card h3 {
    font-size: 1.16rem;
    font-weight: 800;
    margin: 0.2rem 0 0.45rem;
}

.lim-home-mood-card p {
    color: #6b786f;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.lim-home-card-arrow {
    color: #799084;
    position: relative;
    z-index: 1;
}

.lim-home-mood-card:hover {
    box-shadow: 0 20px 44px rgba(25, 57, 41, 0.11);
    color: #1a3327;
    transform: translateY(-5px);
}

.lim-home-mood-quiet {
    --mood-color: #397b6b;
    --mood-glow: #dff1eb;
}

.lim-home-mood-food {
    --mood-color: #a96022;
    --mood-glow: #faead8;
}

.lim-home-mood-adventure {
    --mood-color: #4b702c;
    --mood-glow: #e4efd9;
}

.lim-home-mood-date {
    --mood-color: #ad5668;
    --mood-glow: #f8e2e7;
}

.lim-home-mood-family {
    --mood-color: #466fa2;
    --mood-glow: #e2ebf6;
}

.lim-home-mood-unexpected {
    --mood-color: #75589b;
    --mood-glow: #ede6f6;
}

.lim-home-curated {
    background: #ffffff;
}

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

.lim-home-curated-card {
    border-radius: 1.35rem;
    color: #ffffff;
    min-height: 340px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.lim-home-curated-lead {
    grid-column: span 2;
}

.lim-home-curated-media {
    height: 100%;
    min-height: 340px;
    position: relative;
}

.lim-home-curated-media > img,
.lim-home-curated-placeholder {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: transform 0.35s ease;
    width: 100%;
}

.lim-home-curated-card:hover .lim-home-curated-media > img {
    transform: scale(1.045);
}

.lim-home-curated-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #1f7048, #163d29);
    display: flex;
    font-size: 3rem;
    justify-content: center;
}

.lim-home-curated-shade {
    background:
        linear-gradient(
            180deg,
            rgba(7, 39, 26, 0.04) 10%,
            rgba(7, 39, 26, 0.89) 100%
        );
    inset: 0;
    position: absolute;
}

.lim-home-curated-content {
    bottom: 0;
    left: 0;
    padding: 1.7rem;
    position: absolute;
    right: 0;
}

.lim-home-curated-badge,
.lim-home-place-category {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.90);
    border-radius: 999px;
    color: #183226;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.42rem 0.65rem;
    text-transform: uppercase;
}

.lim-home-curated-content h3 {
    color: #ffffff;
    font-size: clamp(1.45rem, 2.5vw, 2.25rem);
    font-weight: 820;
    letter-spacing: -0.035em;
    margin: 0.8rem 0 0.5rem;
}

.lim-home-curated-content p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    margin: 0 0 0.8rem;
    max-width: 650px;
}

.lim-home-curated-meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.85rem;
    opacity: 0.84;
}

.lim-home-worth {
    background: #f5f0e5;
}

.lim-home-worth-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lim-home-place-card {
    background: #ffffff;
    border-radius: 1.2rem;
    box-shadow: 0 10px 35px rgba(28, 49, 37, 0.07);
    overflow: hidden;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.lim-home-place-card:hover {
    box-shadow: 0 22px 46px rgba(28, 49, 37, 0.13);
    transform: translateY(-5px);
}

.lim-home-place-image {
    display: block;
    height: 230px;
    overflow: hidden;
    position: relative;
}

.lim-home-place-image img,
.lim-home-place-placeholder {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.lim-home-place-card:hover .lim-home-place-image img {
    transform: scale(1.045);
}

.lim-home-place-placeholder {
    align-items: center;
    background: #dfe9e2;
    color: #71857a;
    display: flex;
    font-size: 2rem;
    justify-content: center;
}

.lim-home-place-category {
    bottom: 0.8rem;
    left: 0.8rem;
    position: absolute;
}

.lim-home-place-body {
    padding: 1.25rem;
}

.lim-home-place-location {
    color: #79857e;
    font-size: 0.76rem;
    margin-bottom: 0.55rem;
}

.lim-home-place-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.lim-home-place-body h3 a {
    color: #193326;
    text-decoration: none;
}

.lim-home-place-body > p {
    color: #6a776f;
    font-size: 0.86rem;
    line-height: 1.55;
    margin: 0.8rem 0;
}

.lim-home-place-link {
    align-items: center;
    color: var(--brand-forest, #1f5c42);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 750;
    gap: 0.4rem;
    text-decoration: none;
}

.lim-home-routes {
    background: #ffffff;
}

.lim-home-routes-shell {
    background:
        linear-gradient(130deg, #143b28, #205b3e);
    border-radius: 1.8rem;
    color: #ffffff;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem);
    position: relative;
}

.lim-home-routes h2,
.lim-home-community h2 {
    color: #ffffff;
}

.lim-home-routes-copy > p,
.lim-home-community-copy > p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.75;
    margin: 1.2rem 0 1.8rem;
    max-width: 650px;
}

.lim-home-routes-actions,
.lim-home-closing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.lim-home-button {
    align-items: center;
    border-radius: 0.85rem;
    display: inline-flex;
    font-weight: 750;
    gap: 0.55rem;
    justify-content: center;
    padding: 0.92rem 1.15rem;
    text-decoration: none;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.lim-home-button:hover {
    transform: translateY(-2px);
}

.lim-home-button-secondary {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.lim-home-button-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.lim-home-route-visual {
    min-height: 360px;
    position: relative;
}

.lim-home-route-line {
    border: 3px dashed rgba(255, 255, 255, 0.28);
    border-bottom: 0;
    border-left: 0;
    border-radius: 50%;
    height: 280px;
    position: absolute;
    right: 8%;
    top: 12%;
    transform: rotate(14deg);
    width: 80%;
}

.lim-home-route-line span {
    background: #ffc57f;
    border: 5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.25);
    height: 20px;
    position: absolute;
    width: 20px;
}

.lim-home-route-line span:nth-child(1) {
    left: 7%;
    top: 65%;
}

.lim-home-route-line span:nth-child(2) {
    left: 35%;
    top: 17%;
}

.lim-home-route-line span:nth-child(3) {
    right: 25%;
    top: 8%;
}

.lim-home-route-line span:nth-child(4) {
    bottom: 18%;
    right: 5%;
}

.lim-home-route-note {
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 0.85rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: #173325;
    display: flex;
    font-size: 0.82rem;
    font-weight: 750;
    gap: 0.55rem;
    padding: 0.8rem 0.95rem;
    position: absolute;
}

.lim-home-route-note i {
    color: var(--brand-orange, #f28c28);
}

.lim-home-route-note-one {
    left: 0;
    top: 58%;
}

.lim-home-route-note-two {
    left: 30%;
    top: 10%;
}

.lim-home-route-note-three {
    bottom: 12%;
    right: 0;
}

.lim-home-community {
    background: #102f21;
    color: #ffffff;
}

.lim-home-community-grid {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.lim-home-community-cards {
    display: grid;
    gap: 0.85rem;
}

.lim-home-community-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1rem;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: auto minmax(0, 0.8fr) minmax(0, 1.2fr);
    padding: 1rem;
}

.lim-home-community-card > i {
    align-items: center;
    background: rgba(255, 197, 127, 0.13);
    border-radius: 50%;
    color: #ffc57f;
    display: flex;
    font-size: 1.15rem;
    height: 45px;
    justify-content: center;
    width: 45px;
}

.lim-home-community-card strong {
    font-size: 0.92rem;
}

.lim-home-community-card span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    line-height: 1.5;
}

.lim-home-text-link-light {
    color: #ffc57f;
}

.lim-home-text-link-light:hover {
    color: #ffffff;
}

.lim-home-closing {
    background: #fbf8f1;
    padding: clamp(5.5rem, 9vw, 8.5rem) 0;
}

.lim-home-closing-inner {
    margin: auto;
    max-width: 850px;
    text-align: center;
}

.lim-home-closing-inner > p {
    color: #65746b;
    font-size: 1.05rem;
    margin: 1rem 0 1.7rem;
}

.lim-home-closing-actions {
    justify-content: center;
}

.lim-home-button-outline {
    border: 1px solid rgba(24, 50, 38, 0.24);
    color: #183226;
}

.lim-home-button-outline:hover {
    background: #183226;
    color: #ffffff;
}

@media (max-width: 1100px) {
    .lim-home-worth-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lim-home-routes-shell {
        grid-template-columns: 1fr;
    }

    .lim-home-route-visual {
        min-height: 300px;
    }
}

@media (max-width: 900px) {
    .lim-home-mood-grid,
    .lim-home-curated-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lim-home-curated-lead {
        grid-column: span 2;
    }

    .lim-home-community-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .lim-home-hero {
        min-height: auto;
    }

    .lim-home-hero-copy {
        padding: 5.2rem 0 6.5rem;
    }

    .lim-home-hero h1 {
        font-size: clamp(3rem, 15vw, 4.8rem);
    }

    .lim-home-search {
        align-items: stretch;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .lim-home-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .lim-home-quick-discovery {
        gap: 0.4rem;
    }

    .lim-home-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .lim-home-mood-grid,
    .lim-home-curated-grid,
    .lim-home-worth-grid {
        grid-template-columns: 1fr;
    }

    .lim-home-curated-lead {
        grid-column: auto;
    }

    .lim-home-curated-card,
    .lim-home-curated-media {
        min-height: 390px;
    }

    .lim-home-community-card {
        align-items: flex-start;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .lim-home-community-card span {
        grid-column: 2;
    }

    .lim-home-route-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .lim-home-section {
        padding: 4.2rem 0;
    }

    .lim-home-mood-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .lim-home-card-arrow {
        display: none;
    }

    .lim-home-place-image {
        height: 250px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lim-home-mood-card,
    .lim-home-curated-media > img,
    .lim-home-place-card,
    .lim-home-place-image img,
    .lim-home-button,
    .lim-home-quick-discovery a {
        transition: none;
    }
}

/* LOST_IN_MANILA_HOMEPAGE_2_END */

/* LOST_IN_MANILA_DISCOVERY_HOMEPAGE_PHASE1_START */

.lim-discovery-hero {
    align-items: center;
    background:
        linear-gradient(
            110deg,
            rgba(7, 39, 26, 0.91) 0%,
            rgba(7, 39, 26, 0.65) 48%,
            rgba(7, 39, 26, 0.28) 100%
        ),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2000&q=86")
        center / cover no-repeat;
    color: #fff;
    display: flex;
    min-height: min(780px, calc(100vh - 68px));
    position: relative;
}

.lim-discovery-hero-inner {
    padding-bottom: 7rem;
    padding-top: 7rem;
    position: relative;
    z-index: 2;
}

.lim-discovery-eyebrow {
    color: #f28c28;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.17em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.lim-discovery-hero .lim-discovery-eyebrow {
    color: #ffc57f;
}

.lim-discovery-hero h1 {
    font-size: clamp(3.4rem, 7vw, 6.7rem);
    font-weight: 900;
    letter-spacing: -0.068em;
    line-height: 0.91;
    margin: 0;
    max-width: 900px;
}

.lim-discovery-hero h1 span {
    color: #ffd09a;
    display: block;
}

.lim-discovery-hero-inner > p {
    color: rgba(255,255,255,.82);
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 1.6rem 0 2rem;
    max-width: 650px;
}

.lim-discovery-search {
    align-items: center;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 55px rgba(0,0,0,.26);
    display: grid;
    gap: .6rem;
    grid-template-columns: auto minmax(0,1fr) auto;
    max-width: 780px;
    padding: .45rem;
}

.lim-discovery-search > i {
    color: #496255;
    margin-left: .85rem;
}

.lim-discovery-search input {
    border: 0;
    color: #173325;
    min-width: 0;
    outline: 0;
    padding: .95rem .35rem;
}

.lim-discovery-search button,
.lim-discovery-button.primary {
    background: #f28c28;
    border: 0;
    color: #fff;
}

.lim-discovery-search button {
    border-radius: .75rem;
    font-weight: 800;
    padding: 1rem 1.25rem;
}

.lim-discovery-quick {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.lim-discovery-quick a {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    font-size: .8rem;
    padding: .5rem .72rem;
    text-decoration: none;
}

.lim-discovery-section {
    padding: clamp(4.8rem, 8vw, 7.3rem) 0;
}

.lim-discovery-heading {
    align-items: flex-end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.lim-discovery-heading.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 780px;
    text-align: center;
}

.lim-discovery-heading h2,
.lim-discovery-closing h2 {
    color: #173325;
    font-size: clamp(2.25rem, 4.5vw, 4.1rem);
    font-weight: 880;
    letter-spacing: -0.055em;
    line-height: 1;
    margin: 0;
}

.lim-discovery-heading p {
    color: #67766e;
    line-height: 1.7;
    margin: .9rem 0 0;
    max-width: 690px;
}

.lim-discovery-link {
    color: #1f5c42;
    flex: 0 0 auto;
    font-weight: 800;
    text-decoration: none;
}

.lim-escape-section {
    background: #f8f5ed;
}

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

.lim-escape-card {
    border-radius: 1.35rem;
    color: #fff;
    display: block;
    min-height: 430px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.lim-escape-card > img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: transform .35s ease;
    width: 100%;
}

.lim-escape-card:hover > img {
    transform: scale(1.05);
}

.lim-escape-shade {
    background:
        linear-gradient(
            180deg,
            rgba(6,29,19,.05) 15%,
            rgba(6,29,19,.90) 100%
        );
    inset: 0;
    position: absolute;
}

.lim-escape-topline {
    left: 1rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.lim-escape-topline span {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.90);
    border-radius: 999px;
    color: #173325;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 800;
    gap: .4rem;
    padding: .48rem .7rem;
}

.lim-escape-content {
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    position: absolute;
    right: 0;
}

.lim-escape-content h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 850;
    letter-spacing: -.035em;
    margin: 0;
}

.lim-escape-content p {
    color: rgba(255,255,255,.78);
    line-height: 1.55;
    margin: .55rem 0 .85rem;
}

.lim-escape-location {
    font-size: .8rem;
    font-weight: 750;
}

.lim-escape-location span {
    display: block;
    font-weight: 400;
    opacity: .72;
}

.lim-explorer-now {
    background: #fff;
}

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

.lim-explorer-post {
    border: 1px solid rgba(23,51,37,.10);
    border-radius: 1.1rem;
    overflow: hidden;
}

.lim-explorer-post-author {
    align-items: center;
    display: flex;
    gap: .7rem;
    padding: .9rem;
}

.lim-explorer-post-author img,
.lim-explorer-post-author > span {
    border-radius: 50%;
    height: 42px;
    object-fit: cover;
    width: 42px;
}

.lim-explorer-post-author > span {
    align-items: center;
    background: #e5eee8;
    display: flex;
    justify-content: center;
}

.lim-explorer-post-author strong,
.lim-explorer-post-author small {
    display: block;
}

.lim-explorer-post-author small {
    color: #7a867f;
    font-size: .72rem;
}

.lim-explorer-post-photo {
    display: block;
    height: 360px;
}

.lim-explorer-post-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lim-explorer-post-body {
    padding: 1rem;
}

.lim-explorer-post-body h3 {
    font-weight: 850;
    margin: 0 0 .35rem;
}

.lim-explorer-post-body p {
    color: #66746c;
    margin: .7rem 0 0;
}

.lim-live-discovery {
    background: #f3eee3;
}

.lim-discovery-mosaic {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0,1fr));
}

.lim-feed-card {
    background: #fff;
    border-radius: 1rem;
    color: #173325;
    overflow: hidden;
    text-decoration: none;
}

.lim-feed-card.wide {
    grid-column: span 2;
}

.lim-feed-image {
    height: 245px;
    overflow: hidden;
    position: relative;
}

.lim-feed-card.wide .lim-feed-image {
    height: 330px;
}

.lim-feed-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    width: 100%;
}

.lim-feed-card:hover img {
    transform: scale(1.045);
}

.lim-feed-category {
    backdrop-filter: blur(9px);
    background: rgba(255,255,255,.91);
    border-radius: 999px;
    bottom: .8rem;
    color: #173325;
    font-size: .64rem;
    font-weight: 850;
    left: .8rem;
    letter-spacing: .06em;
    max-width: calc(100% - 1.6rem);
    overflow: hidden;
    padding: .4rem .6rem;
    position: absolute;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.lim-feed-body {
    padding: 1rem;
}

.lim-feed-location {
    color: #7b8780;
    font-size: .72rem;
}

.lim-feed-body h3 {
    font-size: 1.08rem;
    font-weight: 850;
    margin: .45rem 0 0;
}

.lim-feed-body p {
    color: #66746c;
    line-height: 1.55;
    margin: .65rem 0 0;
}

.lim-photo-rail-section {
    background: #fff;
    overflow: hidden;
}

.lim-photo-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 max(1rem, calc((100vw - 1140px) / 2)) 1rem;
    scrollbar-width: thin;
}

.lim-photo-rail-card {
    border-radius: 1rem;
    color: #fff;
    flex: 0 0 300px;
    height: 390px;
    overflow: hidden;
    position: relative;
}

.lim-photo-rail-card img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lim-photo-rail-card::after {
    background: linear-gradient(
        transparent 45%,
        rgba(5,27,17,.88)
    );
    content: "";
    inset: 0;
    position: absolute;
}

.lim-photo-rail-card > div {
    bottom: 0;
    left: 0;
    padding: 1.1rem;
    position: absolute;
    right: 0;
    z-index: 2;
}

.lim-photo-rail-card strong,
.lim-photo-rail-card span {
    display: block;
}

.lim-photo-rail-card span {
    font-size: .75rem;
    opacity: .72;
}

.lim-route-stories {
    background: #123624;
    color: #fff;
}

.lim-route-stories .lim-discovery-heading h2 {
    color: #fff;
}

.lim-route-stories .lim-discovery-heading p {
    color: rgba(255,255,255,.68);
}

.lim-discovery-link.light {
    color: #ffc57f;
}

.lim-route-story-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0,1fr));
}

.lim-route-story-card {
    border-radius: 1.2rem;
    color: #fff;
    min-height: 390px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.lim-route-story-card > img,
.lim-route-story-placeholder {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.lim-route-story-placeholder {
    align-items: center;
    background: #265c40;
    display: flex;
    font-size: 3rem;
    justify-content: center;
}

.lim-route-story-shade {
    background: linear-gradient(
        transparent 25%,
        rgba(5,25,16,.94)
    );
    inset: 0;
    position: absolute;
}

.lim-route-story-body {
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    position: absolute;
    right: 0;
}

.lim-route-story-body > span {
    color: #ffc57f;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.lim-route-story-body h3 {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 850;
    margin: .55rem 0;
}

.lim-route-story-body p {
    color: rgba(255,255,255,.74);
    line-height: 1.55;
}

.lim-route-story-body small {
    opacity: .68;
}

.lim-discovery-closing {
    background: #f8f5ed;
    padding: clamp(5.5rem, 9vw, 8rem) 0;
}

.lim-discovery-closing-inner {
    margin: auto;
    max-width: 880px;
    text-align: center;
}

.lim-discovery-closing-inner > p {
    color: #68766e;
    line-height: 1.7;
    margin: 1rem auto 1.8rem;
    max-width: 680px;
}

.lim-discovery-button {
    border-radius: .8rem;
    display: inline-block;
    font-weight: 800;
    margin: .25rem;
    padding: .9rem 1.2rem;
    text-decoration: none;
}

.lim-discovery-button.secondary {
    border: 1px solid rgba(23,51,37,.24);
    color: #173325;
}

@media (max-width: 1000px) {
    .lim-escape-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

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

@media (max-width: 767px) {
    .lim-discovery-hero-inner {
        padding-bottom: 5.5rem;
        padding-top: 5.5rem;
    }

    .lim-discovery-search {
        grid-template-columns: auto minmax(0,1fr);
    }

    .lim-discovery-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .lim-discovery-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .lim-escape-grid,
    .lim-explorer-now-grid,
    .lim-discovery-mosaic,
    .lim-route-story-grid {
        grid-template-columns: 1fr;
    }

    .lim-feed-card.wide {
        grid-column: auto;
    }

    .lim-escape-card {
        min-height: 410px;
    }

    .lim-photo-rail-card {
        flex-basis: 78vw;
    }
}

/* LOST_IN_MANILA_DISCOVERY_HOMEPAGE_PHASE1_END */
