@import url('../../common/css/landingPage.css');

:root {
    --cream: #fbf6ef;
    --paper: #fffaf4;
    --ink: #181716;
    --muted: #675b52;
    --wine: #6d263d;
    --wine-dark: #6d263d;
    --rose: #f4e1df;
    --line: #e6d8cd;
    --gold: #c98938;
    --shadow: 0 26px 70px rgba(62, 36, 26, .16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.68;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.esg-lp2-shell {
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
}

/* Topbar */
.esg-lp2-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.esg-lp2-topbar-inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.esg-lp2-brand {
    display: inline-flex;
    align-items: center;
}

.esg-lp2-topbar .esg-lp2-brand {
    margin-top: 70px;
}

.esg-lp2-logo {
    height: 42px;
    width: auto;
}

.esg-lp2-footer .esg-lp2-logo {
    height: 40px;
}

.esg-lp2-heart {
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
    background: var(--wine);
    border-radius: 4px 0 4px 4px;
    position: relative;
    flex: 0 0 auto;
}

.esg-lp2-heart::before,
.esg-lp2-heart::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--wine);
    border-radius: 50%;
}

.esg-lp2-heart::before {
    left: -9px;
    top: 0;
}

.esg-lp2-heart::after {
    left: 0;
    top: -9px;
}

.esg-lp2-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 750;
    color: #4f443d;
}

.esg-lp2-nav-link {
    transition: color 0.2s;
}

.esg-lp2-nav-link:hover {
    color: var(--wine);
}

.esg-lp2-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--wine);
    border-radius: 4px;
    background: var(--wine);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 12px 28px rgba(148, 27, 63, .2);
    transition: opacity 0.2s;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.esg-lp2-btn:hover {
    opacity: 0.9;
    color: #fff;
}

.esg-lp2-btn-light {
    background: var(--paper);
    color: var(--wine);
    border-color: var(--paper);
    box-shadow: none;
}

.esg-lp2-btn-light:hover {
    background: #fff;
    color: var(--wine);
}

/* Photo Hero */
.esg-lp2-photo-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(90deg, #e9dfd4 0 47%, #d7d4cf 47% 100%);
    border-bottom: 1px solid var(--line);
}

.esg-lp2-photo-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 47%;
    background:
        linear-gradient(90deg, rgba(233, 223, 212, 0) 0%, rgba(35, 17, 20, .18) 100%),
        var(--hero-bg, none) 95% center / cover no-repeat;
}

.esg-lp2-photo-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 620px;
    display: grid;
    align-items: center;
    padding: 104px 0 76px;
}

.esg-lp2-photo-title-wrap {
    max-width: 720px;
}

.esg-lp2-photo-title-card {
    display: inline-block;
    max-width: 690px;
    padding: 28px 30px 30px;
    background: var(--wine-dark);
    color: #fff7e8;
    box-shadow: 26px 26px 0 rgba(125, 23, 54, .18);
}

.esg-lp2-photo-title-card h1,
.esg-lp2-photo-title-card > p:first-child {
    margin: 0;
    color: #fff7e8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 62px;
    line-height: .92;
    font-weight: 700;
    letter-spacing: 0;
}

.esg-lp2-photo-title-card p {
    max-width: 560px;
    margin: 18px 0 0;
    color: #fff0dc;
    font-size: 22px;
    line-height: 1.25;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
}

.esg-lp2-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.esg-lp2-hero-actions .esg-lp2-btn {
    min-width: 180px;
}

/* Article Layout */
.esg-lp2-article-layout {
    padding: 74px 0;
}

.esg-lp2-article-head {
    display: block;
    margin-bottom: 40px;
}

.esg-lp2-article {
    margin: 0 auto;
}

.esg-lp2-article h1 {
    margin: 0 0 24px;
    color: #171413;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: 0;
}

.esg-lp2-article h2 {
    margin: 54px 0 18px;
    color: #171413;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 40px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0;
}

.esg-lp2-article h3 {
    margin: 36px 0 12px;
    color: #171413;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.16;
    font-weight: 500;
    letter-spacing: 0;
}

.esg-lp2-article p {
    margin: 0 0 24px;
    color: #2d2622;
    font-size: 19px;
    line-height: 1.68;
}

.esg-lp2-article a {
    color: var(--wine);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.esg-lp2-article a:hover {
    color: #5a1627;
}

.esg-lp2-article strong,
.esg-lp2-article b {
    color: #171413;
    font-weight: 700;
}

.esg-lp2-article ul,
.esg-lp2-article ol {
    margin: 16px 0 24px;
    padding-left: 24px;
}

.esg-lp2-article ul li {
    list-style: disc;
    font-size: 19px;
    line-height: 1.68;
    color: #2d2622;
    margin-bottom: 8px;
}

.esg-lp2-article ol li {
    list-style: decimal;
    font-size: 19px;
    line-height: 1.68;
    color: #2d2622;
    margin-bottom: 8px;
}

.esg-lp2-article img {
    margin-right: 16px;
    float: left;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.esg-lp2-article blockquote {
    margin: 46px 0;
    padding: 28px 0 28px 34px;
    border-left: 6px solid var(--wine);
    color: var(--wine);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
}

.esg-lp2-article blockquote p {
    color: var(--wine);
    font-family: Georgia, "Times New Roman", serif;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

/* Landing Page Common Overrides */
.landingPage .pageWidth,
.landingPage .topCityList .pageWidth,
.landingPage .relatedPosts .pageWidth {
    width: min(1180px, calc(100% - 44px));
    max-width: 1180px;
    padding: 0;
    margin: 0 auto;
}

/* Landing Page Detail - Sign Up Button */
.landingPageDetail .btn_wrap {
    text-align: center;
    margin: 48px 0 24px;
}

.landingPageDetail .signUpNow {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
    border: 1px solid var(--wine);
    border-radius: 4px;
    background: var(--wine);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 12px 28px rgba(148, 27, 63, .2);
    transition: opacity 0.2s;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.landingPageDetail .signUpNow:hover {
    opacity: 0.9;
    color: #fff;
}

/* Bottom CTA */
.esg-lp2-bottom-cta {
    padding: 64px 20px;
    background: var(--wine);
    color: #fff;
    text-align: center;
}

.esg-lp2-bottom-cta h2 {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: 0;
    color: #fff;
}

/* Footer */
.esg-lp2-footer {
    padding: 34px 0 26px;
    background: #f7f1e9;
    border-top: 1px solid var(--line);
    color: #403730;
}

.esg-lp2-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.ppsaColor {
    color: #305CEF;
}

.esg-lp2-footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
}

.esg-lp2-footer-nav a {
    transition: color 0.2s;
}

.esg-lp2-footer-nav a:hover {
    color: var(--wine);
}

.ppsaColor {
    color: #305CEF;
}

.esg-lp2-footer-nav a.ppsaColor:hover {
    color: #305CEF;
}

.esg-lp2-copyright {
    width: 100%;
    margin: 18px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* Back to Top */
.esg-lp2-back-top {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    z-index: 999;
    cursor: pointer;
}

.esg-lp2-top-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ink);
    border-radius: 50%;
    transition: background 0.2s;
}

.esg-lp2-top-box::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom: 8px solid #fff;
    margin-top: -4px;
}

.esg-lp2-top-box:hover {
    background: var(--wine);
}

/* Responsive - Tablet */
@media (max-width: 980px) {
    .esg-lp2-shell {
        width: min(100% - 32px, 720px);
    }

    .esg-lp2-nav .esg-lp2-nav-link {
        display: none;
    }

    .esg-lp2-photo-hero {
        min-height: 680px;
        background: #e9dfd4;
    }

    .esg-lp2-photo-hero::before {
        inset: 0 0 auto 0;
        height: 52%;
        background:
            linear-gradient(180deg, rgba(90, 20, 35, .28) 0%, rgba(233, 223, 212, .12) 100%),
            var(--hero-bg, none) 86% center / cover no-repeat;
    }

    .esg-lp2-photo-hero-inner {
        min-height: 680px;
        align-items: end;
        padding: 92px 0 48px;
    }

    .esg-lp2-photo-title-card {
        display: block;
        max-width: 100%;
        padding: 24px;
    }

    .esg-lp2-photo-title-card h1,
    .esg-lp2-photo-title-card > p:first-child {
        font-size: 48px;
    }

    .esg-lp2-article p,
    .esg-lp2-article ul li,
    .esg-lp2-article ol li {
        font-size: 18px;
    }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    .esg-lp2-topbar-inner {
        height: 64px;
    }

    .esg-lp2-topbar .esg-lp2-brand {
        margin-top: 0;
    }

    .esg-lp2-brand .esg-lp2-logo {
        height: 28px;
    }

    .esg-lp2-nav .esg-lp2-btn {
        display: none;
    }

    .esg-lp2-photo-hero {
        min-height: 650px;
    }

    .esg-lp2-photo-hero-inner {
        min-height: 650px;
        padding: 84px 0 38px;
    }

    .esg-lp2-photo-title-card h1,
    .esg-lp2-photo-title-card>p:first-child {
        font-size: 38px;
    }

    .esg-lp2-photo-title-card p {
        font-size: 18px;
    }

    .esg-lp2-hero-actions {
        display: grid;
    }

    .esg-lp2-hero-actions .esg-lp2-btn {
        width: 100%;
    }

    .esg-lp2-article-layout {
        padding: 50px 0;
    }

    .esg-lp2-article p,
    .esg-lp2-article ul li,
    .esg-lp2-article ol li {
        font-size: 17px;
    }

    .esg-lp2-article h2 {
        margin-top: 42px;
        font-size: 34px;
        line-height: 1.08;
    }

    .esg-lp2-article blockquote {
        padding-left: 22px;
    }

    .esg-lp2-bottom-cta {
        padding: 46px 18px;
    }

    .esg-lp2-bottom-cta h2 {
        font-size: 30px;
        line-height: 1.12;
    }

    .esg-lp2-article img {
        max-width: 100%;
        float: none !important;
        padding-right: 0;
        height: auto;
    }

    .esg-lp2-footer-inner {
        justify-content: center;
        text-align: center;
    }
}