/* =======================================================
   Live And Let Live — Landing Page (ptype_landing)
   Loaded only on is_singular('ptype_landing').
   ======================================================= */

.landing-page {
    font-size: var(--base-fontsize, 18px);
    line-height: var(--base-lineheight, 1.35em);
}

.landing-page {
    padding-top:0;
}

.landing-page .container {
    max-width: var(--max-width, 1280px);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

/* -------- Minimal chrome --------
   The theme's global `header { ... }` rule (style.css:980) makes every <header>
   absolutely positioned, flex, rounded, and overlaid on the viewport. The global
   `footer { ... }` rule (style.css:1532) paints every <footer> dark teal with flex
   children. We override both here so the minimal chrome renders as a simple
   centered logo bar + simple centered copyright strip. */

.landing-minimal .landing-minimal-header {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0;
    padding: 1.5rem 0;
    border-radius: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.landing-minimal .landing-minimal-header a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.landing-minimal .landing-minimal-header img {
    display: block;
    max-width: 200px;
    height: auto;
}

.landing-minimal-footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #fff;
    background: #005d5f;
    border-top: none;
    margin-top: 4rem;
}
.landing-minimal-footer .container {
    display: block;
    text-align: center;
}
.landing-minimal-footer span,
.landing-minimal-footer a {
    color: #fff;
}
.landing-minimal-footer .sep {
    margin: 0 0.6rem;
    color: rgba(255, 255, 255, 0.4);
}
.landing-minimal-footer a {
    text-decoration: underline;
}
.landing-minimal-footer a:hover {
    color: var(--rust, #c24e2b);
    text-decoration: none;
}

/* -------- Hero --------
   Matches the theme's #banner pattern (style.css:1068+). A real <img> inside
   a .bg-image wrapper is painted with the same warm-teal radial gradient the
   rest of the site uses (.bg-image.videoBg::before, style.css:892), applied via
   a ::before pseudo-element with mix-blend-mode: multiply. Rounded bottom
   corners and padding mirror #banner so landing heroes feel continuous with
   the rest of the site's page heroes. */

.landing-hero {
    position: relative;
    padding: 10.58rem 0 5.51rem;
    text-align: center;
    color: #333;
    border-radius: 0 0 5.55rem 5.55rem;
    overflow: hidden;
}
.landing-hero.has-bg {
    color: #fff;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.landing-hero .landing-hero__bg.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
.landing-hero .landing-hero__bg.bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.landing-hero .landing-hero__bg.bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(110.46% 99.69% at 94.1% 101.37%, #FFDFA7 0%, #005D5F 93.27%),
        linear-gradient(0deg, #005D5F 0%, #005D5F 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}
.landing-hero__inner {
    position: relative;
    z-index: 99;
    max-width: 800px;
}
.landing-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.85;
}
.landing-hero__headline {
    font-size: clamp(2.5rem, 6vw, 4.33rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 1rem;
}
.landing-hero__subheadline {
    font-size: clamp(1.2rem, 2.5vw, 1.888rem);
    font-weight: 400;
    margin: 0 0 1.5rem;
}
.landing-hero__meta {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 2rem;
}
.landing-hero__description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.landing-hero__cta .btn { min-width: 220px; }

/* -------- Intro + Eligibility -------- */
.landing-intro {
    padding: 5rem 0 2rem;
    text-align: center;
}
.landing-intro__body {
    font-size: 1.22rem;
    max-width: 780px;
    margin: 0 auto 2rem;
}
.landing-eligibility {
    list-style: none;
    padding: 0;
    margin: 0 auto 2.5rem;
    max-width: 500px;
    text-align: left;
    display: inline-block;
}
.landing-eligibility li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 1.1rem;
}
.landing-eligibility li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--rust, #c24e2b);
    font-weight: 800;
}

/* -------- Benefits -------- */
.landing-benefits {
    padding: 5rem 0;
    text-align: center;
    background: #fafaf8;
}
.landing-benefits__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--rust, #c24e2b);
    margin: 0 0 2rem;
}
.landing-benefits__list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    text-align: left;
}
.landing-benefits__list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e7e7e3;
    font-size: 1.15rem;
    line-height: 1.5;
}
.landing-benefits__list li:last-child { border-bottom: none; }

/* -------- Inline + final CTA spacing -------- */
.landing-inline-cta { margin: 2.5rem 0 0; text-align: center; }
.landing-final-cta  { padding: 5rem 0 6rem; text-align: center; background: #fff; }
.landing-final-cta .btn { min-width: 260px; }

/* -------- Partners -------- */
.landing-partners {
    padding: 5rem 0;
    text-align: center;
    background: #fff;
}
.landing-partners__heading {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #666;
    margin: 0 0 2.5rem;
}
.landing-partners__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
.landing-partners__item { margin: 0; }
.landing-partners__item img {
    max-height: 80px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.7);
    transition: filter 0.3s ease;
}
.landing-partners__item a:hover img,
.landing-partners__item img:hover {
    filter: none;
}

/* -------- Gallery -------- */
.landing-gallery {
    padding: 5rem 0;
    text-align: center;
    background: #fafaf8;
}
.landing-gallery__heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--rust, #c24e2b);
    margin: 0 0 2.5rem;
}
.landing-gallery__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.landing-gallery__item { margin: 0; }
.landing-gallery__item a {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 1 / 1;
}
.landing-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.landing-gallery__item a:hover img { transform: scale(1.04); }

/* -------- Editor content fallback -------- */
.landing-editor-content {
    padding: 3rem 0;
}

/* -------- Responsive -------- */
@media (max-width: 1199px) {
    /* Match #banner's shallower bottom radius at the tablet/mobile nav breakpoint
       (responsive.css:153). */
    .landing-hero { border-radius: 0 0 2rem 2rem; }
}
@media (max-width: 991px) {
    .landing-gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .landing-hero { padding: 7rem 0 4rem; }
    .landing-hero.has-bg { min-height: 60vh; }
    .landing-intro, .landing-benefits, .landing-partners, .landing-gallery { padding: 3.5rem 0; }
    .landing-final-cta { padding: 4rem 0 5rem; }
}
@media (max-width: 575px) {
    .landing-gallery__grid { grid-template-columns: 1fr; }
    .landing-partners__grid { gap: 2rem; }
    .landing-partners__item img { max-height: 60px; max-width: 160px; }
    .landing-hero__cta .btn,
    .landing-inline-cta .btn,
    .landing-final-cta .btn { width: 100%; min-width: 0; }
    .landing-minimal-footer .sep { display: block; margin: 0.4rem 0; }
}
