/* Landing page desktop/base styles. */

body.is-landing {
    padding-top: 0;
}

body.is-landing .hero-landing {
    position: relative;
    overflow: hidden;
}

body.is-landing .landing-hero-copy {
    letter-spacing: -0.015em;
}

body.is-landing .hero-explorebar {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    padding: 0;
    pointer-events: auto;
}

body.is-landing .hero-explorebar .container {
        pointer-events: auto;
    }

body.is-landing #explorebarShell.explorebar {
    display: flex;
    align-items: stretch;
    gap: 0;
}

body.is-landing #explorebarShell.explorebar > :nth-child(1),
    body.is-landing #explorebarShell.explorebar > :nth-child(2),
    body.is-landing #explorebarShell.explorebar > :nth-child(3) {
        flex: 1 1 0;
        min-width: 0;
        margin-right: 0.5rem;
    }

body.is-landing #explorebarShell.explorebar > :nth-child(1) .nav-link,
        body.is-landing #explorebarShell.explorebar > :nth-child(1) .dropdown-toggle,
        body.is-landing #explorebarShell.explorebar > :nth-child(2) .nav-link,
        body.is-landing #explorebarShell.explorebar > :nth-child(2) .dropdown-toggle,
        body.is-landing #explorebarShell.explorebar > :nth-child(3) .nav-link,
        body.is-landing #explorebarShell.explorebar > :nth-child(3) .dropdown-toggle {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

body.is-landing #explorebarShell.explorebar #exploreFiltersBtn {
        margin-right: 0.3rem;
    }

body.is-landing #explorebarShell.explorebar [data-start-exploring] {
        margin-left: auto;
    }

body.is-landing .hero-landing .hero-content {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--nav-h));
}

body.is-landing .hero-feature-card {
    background: rgba(255, 255, 255, 1);
    border: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    border-radius: var(--fn-border-radius);
}

body.is-landing .hero-landing .hero-features {
    margin-top: auto;
    padding-bottom: 1.5rem; 
}

body.is-landing .hero-feature-card .card-body {
        padding: 1.25rem;
    }

body.is-landing .hero-feature-card .feature-emoji {
        font-size: 2rem;
        line-height: 1;
    }

.hero-landing {
    min-height: 90vh;
    
    
    background-image: url("/images/landing/corvin castle.png");
    background-size: cover;
    background-position: center center;
}

.hero-landing h1 {
        color: #fff;
    }

body.is-landing {
    padding-top: 0;
    background: #ffffff;
}

body.is-landing .landing {
        padding: 2rem 1.5rem 2.5rem;
    }

body.is-landing .landing-container {
        width: 100%;
        max-width: 1150px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

body.is-landing .landing-top {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
        align-items: stretch;
    }

body.is-landing .landing-main-column {
        grid-column: 1 / span 3;
        display: grid;
        grid-template-rows: auto 1fr;
        gap: 1rem;
        min-width: 0;
        height: 100%;
        min-height: 0;
    }

body.is-landing .landing-feature-stack {
        grid-column: 4;
        display: grid;
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        min-width: 0;
    }

body.is-landing .landing-explorebar-row {
        width: 100%;
        min-width: 0;
        margin: 0;
        z-index: 30;
    }

body.is-landing .landing-explorebar-row #explorebarShell,
        body.is-landing .landing-explorebar-row .explorebar {
            width: 100%;
            
            min-width: 0;
            margin: 0;
        }

body.is-landing .landing-explorebar-row .nav-fixed-width {
            width: auto;
            min-width: 0;
            flex: 1 1 0;
        }

body.is-landing .landing-explorebar-row .nav-link,
        body.is-landing .landing-explorebar-row .dropdown-toggle {
            min-width: 0;
        }

body.is-landing .landing-hero {
        position: relative;
        height: 100%;
        min-height: 0;
        border-radius: 1.5rem;
        overflow: hidden;
        background: #2a221b;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    }

body.is-landing .landing-hero-content {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: 100%;
        min-height: 0;
        padding: 3rem 2rem 1.75rem;
        color: #fff;
    }

body.is-landing .landing-hero-title {
        max-width: 30ch;
        margin: 0 0 1rem;
        
        font-size: 3.50rem;
        line-height: 0.94;
        font-weight: 900;
        letter-spacing: -0.045em;
        color: #fff;
        -webkit-text-stroke: 2px rgba(0, 0, 0, 0.72);
        paint-order: stroke fill;
        text-shadow: 0 0 2px rgba(0,0,0,.75), 0 0 6px rgba(0,0,0,.5), 0 0 12px rgba(0,0,0,.25);
        
    }

body.is-landing .landing-hero-copy {
        max-width: 60rem;
        margin: 0;
        font-size: clamp(1rem, 1.3vw, 1.2rem);
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.97);
        -webkit-text-stroke: 1px rgba(0, 0, 0, 0.55);
        paint-order: stroke fill;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 3px 8px rgba(0, 0, 0, 0.65), 0 6px 16px rgba(0, 0, 0, 0.35);
    }

body.is-landing .hero-landing .hero-subtitle {
        font-size: 2em;
    }

body.is-landing .landing-hero-image,
    body.is-landing .landing-hero-overlay {
        position: absolute;
        inset: 0;
    }

body.is-landing .landing-hero-image {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

body.is-landing .landing-tile,
    body.is-landing .landing-sidebox,
    body.is-landing .landing-feature-card{
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 1.25rem;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }

body.is-landing .landing-featured {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }

body.is-landing .landing-featured-title {
        margin-top: 50px;
        font-size: 1.5rem;
        font-weight: 900;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #2c231c;
    }

body.is-landing .landing-featured-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
        align-items: stretch;
    }

body.is-landing .landing-tile,
    body.is-landing .landing-sidebox {
        display: flex;
        flex-direction: column;
        min-height: 260px;
        height: 100%;
    }

body.is-landing .landing-tile {
        overflow: hidden;
    }

body.is-landing .landing-tile-media {
        height: 135px;
        
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

body.is-landing .landing-tile-body {
        flex: 1 1 auto;
        padding: 1rem 1rem 1.05rem;
    }

body.is-landing .landing-tile-body p {
            margin: 0;
            font-size: 0.96rem;
            line-height: 1.55;
            color: #4d4338;
        }

body.is-landing .landing-sidebox-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 1.25rem;
    }

body.is-landing .landing-sidebox-inner h3 {
            margin: 0 0 0.65rem;
            font-size: 1.3rem;
            line-height: 1.05;
            font-weight: 800;
            color: #1e1711;
        }

body.is-landing .landing-sidebox-inner p {
            margin: 0;
            font-size: 0.96rem;
            line-height: 1.55;
            color: #4d4338;
        }

.landing-disclaimer {
    text-align: center;
    padding: 0 0 1rem;
    border-top: 0;
    font-size: 0.58rem;
    line-height: 1.6;
    color: #7b746d;
    box-sizing: border-box;
    margin-top: 25px;
}

.landing-disclaimer strong {
        color: #5f574f;
        font-weight: 700;
    }

body.is-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.is-landing .landing {
        flex: 1 0 auto;
    }

body.is-landing .landing-header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1rem;
    }

body.is-landing .landing-logo {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

body.is-landing .landing-logo-img {
        display: block;
        height: 64px;
        width: auto;
    }

body.is-landing .landing-header-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

body.is-landing .landing-menu-btn {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: rgba(255, 255, 255, 0.9);
        color: #1f1913;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }

body.is-landing .landing-menu-btn:hover,
        body.is-landing .landing-menu-btn:focus {
            background: #fff;
            color: #111;
            border-color: rgba(0, 0, 0, 0.18);
        }

body.is-landing .landing-header-actions .dropdown-menu {
        background-color: #fff;
        color: #111;
        border-color: rgba(0,0,0,.15);
    }

body.is-landing .landing-header-actions .dropdown-item {
        color: #111;
    }

body.is-landing .landing-header-actions .dropdown-item:hover,
        body.is-landing .landing-header-actions .dropdown-item:focus {
            background-color: rgba(0,0,0,.06);
            color: #111;
        }

body.is-landing .landing-feature-stack {
        grid-column: 4;
        display: grid;
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        min-width: 0;
        height: 100%;
        align-self: stretch;
    }

body.is-landing .landing-feature-card {
        padding: 1.15rem 1.2rem;
        
    }

body.is-landing .landing-feature-top {
        display: grid;
        grid-template-columns: 65px minmax(0, 1fr);
        align-items: center;
        column-gap: 1rem;
        margin-bottom: 0.45rem;
    }

body.is-landing .landing-feature-icon-slot {
        width: 60px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

body.is-landing .landing-feature-icon-img {
        display: block;
        width: auto;
        height: 60px;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: saturate(0.9) contrast(1.02);
    }

body.is-landing .landing-feature-title {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 800;
        line-height: 1.08;
        color: #1f1913;
    }

body.is-landing .landing-feature-copy {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.45;
        color: #7a7670;
    }

.landing-hero {
    position: relative;
}

body.is-landing .landing-hero-info-link {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.48rem 0.75rem 0.48rem 0.8rem;
	border: 1px solid #e1e1e1;
	border-radius: 999px;
	background: #1594cc;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 0.55rem 1rem rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(15, 23, 42, 0.08);
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.is-landing .landing-hero-info-link:hover,
body.is-landing .landing-hero-info-link:focus {
	border-color: #fff;
	background: var(--xplore-cta-blue-hover);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 0.7rem 1.25rem rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

body.is-landing .landing-hero-info-glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 999px;
	background: transparent;
	color: #fff !important;
	box-shadow: none;
}

body.is-landing .landing-hero-info-glyph i,
body.is-landing .landing-hero-info-glyph::before,
body.is-landing .landing-hero-info-glyph i::before {
	color: #fff !important;
}

body.is-landing .landing-why h3 {
    margin: 0 0 0.55rem;
    font-size: 1.2rem;
    line-height: 1.1;
    font-weight: 800;
    color: #1f1913;
}

body.is-landing .landing-why-lead {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 600;
    color: #2f2a25;
}

body.is-landing .landing-why p {
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6f6a64;
}

body.is-landing .landing-why-link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    color: #1f1913;
}

body.is-landing .landing-why-link:hover {
        text-decoration: underline;
    }

body.is-landing .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
}

body.is-landing .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.landing-tile-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.landing-tile-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-tile-media {
    overflow: hidden;
}

.landing-tile-title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    line-height: 1.25;
}

.landing-tile-location {
    min-height: calc(1.35em * 2);
}

.landing-tile-link .landing-tile-body {
    display: block !important;
    padding: 1.35rem 1.35rem 1.15rem !important;
    height: auto !important;
    min-height: 0 !important;
}

.landing-tile-link .landing-tile-title {
    margin: 0 0 0.45rem !important;
}

.landing-tile-link .landing-tile-location {
    margin: 0 0 0.9rem !important;
    font-size: 0.84rem;
    line-height: 1.35;
    opacity: 0.72;
}

.landing-tile-blurb {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-tile-link .landing-tile-blurb {
    margin: 0 !important;
    line-height: 1.5;
}

.landing-tile-link .landing-tile-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    margin-top: 0.75rem !important;
    margin-left: 0 !important;
    padding-top: 0 !important;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.92;
    vertical-align: top;
}

.landing-tile-link .landing-tile-cta-glyph {
    font-size: 0.82rem;
}

.landing-tile-location {
    margin: -0.15rem 0 0.75rem;
    font-size: 0.84rem;
    line-height: 1.35;
    opacity: 0.72;
}

.landing-tile-body {
    display: grid;
    grid-template-rows: 128px 1fr auto;
    gap: 18px;
    flex: 1;
}

.landing-tile-heading {
    height: 128px;
    overflow: hidden;
}

.landing-tile-title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.landing-tile-location {
    margin-top: 10px;
    line-height: 1.25;
}

.landing-tile-description {
    min-height: 0;
}

.landing-tile-description p {
        display: -webkit-box;
        margin: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
    }

.landing-tile-footer {
    display: flex;
    align-items: flex-end;
}

.landing-mobile-intro,
.landing-hero-info-text--mobile {
    display: none;
}
