/**
 * Native WordPress Post layout for PB editorial/site posts.
 * This stylesheet is enqueued only for singular native WordPress posts.
 */

.pb-buyers-site-post-page {
    background: #fbf6ef;
}

.pb-buyers-site-post-page .pb-public-nav {
    z-index: 120;
}

.pb-site-post-shell,
.pb-site-post-shell * {
    box-sizing: border-box;
}

.pb-site-post-shell {
    --pb-site-post-bg: #08121b;
    --pb-site-post-bg-soft: #121018;
    --pb-site-post-text: #fff8ef;
    --pb-site-post-muted: rgba(255, 248, 239, 0.74);
    --pb-site-post-faint: rgba(255, 248, 239, 0.54);
    --pb-site-post-accent: #d98592;
    --pb-site-post-accent-soft: rgba(217, 133, 146, 0.22);
    --pb-site-post-card: #fffaf4;
    --pb-site-post-card-text: #2d2a2a;
    --pb-site-post-serif: Georgia, "Times New Roman", serif;
    --pb-site-post-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--pb-site-post-card);
    color: var(--pb-site-post-card-text);
    font-family: var(--pb-site-post-sans);
    min-height: 100vh;
    overflow: hidden;
}

.pb-site-post-article {
    background: var(--pb-site-post-card);
}

.pb-site-post-hero {
    background:
        radial-gradient(circle at 78% 28%, rgba(217, 133, 146, 0.18), transparent 34%),
        linear-gradient(110deg, rgba(4, 14, 22, 0.98), rgba(8, 14, 24, 0.94) 42%, rgba(10, 13, 20, 0.84) 62%, rgba(10, 13, 20, 0.36)),
        var(--pb-site-post-bg);
    color: var(--pb-site-post-text);
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    min-height: clamp(620px, calc(100vh - 86px), 820px);
    overflow: hidden;
    position: relative;
}

.pb-site-post-hero::before {
    background-image: var(--pb-site-post-hero-image);
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0;
    opacity: 0.16;
    position: absolute;
    transform: scale(1.04);
    z-index: 0;
}

.pb-site-post-hero-copy,
.pb-site-post-hero-media {
    position: relative;
    z-index: 2;
}

.pb-site-post-hero-copy {
    align-content: center;
    display: grid;
    max-width: 720px;
    padding: clamp(44px, 6vw, 92px) clamp(28px, 6vw, 84px) clamp(90px, 9vw, 132px);
}

.pb-site-post-back,
.pb-site-post-back:visited {
    color: var(--pb-site-post-accent);
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: clamp(42px, 7vw, 94px);
    text-decoration: none;
    width: fit-content;
}

.pb-site-post-back:hover,
.pb-site-post-back:focus-visible {
    color: #fff2f4;
    outline: none;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.pb-site-post-ornament {
    background: linear-gradient(90deg, var(--pb-site-post-accent), rgba(255, 255, 255, 0));
    display: block;
    height: 2px;
    margin-bottom: clamp(18px, 3vw, 28px);
    width: min(92px, 24vw);
}

.pb-site-post-title {
    color: var(--pb-site-post-text);
    font-family: var(--pb-site-post-serif);
    font-size: clamp(46px, 6vw, 84px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.96;
    margin: 0;
    max-width: 11ch;
    text-wrap: balance;
}

.pb-site-post-deck {
    color: var(--pb-site-post-accent);
    font-family: var(--pb-site-post-serif);
    font-size: clamp(18px, 2vw, 25px);
    font-style: italic;
    line-height: 1.42;
    margin: clamp(28px, 3.6vw, 44px) 0 0;
    max-width: 520px;
}

.pb-site-post-intro {
    color: var(--pb-site-post-muted);
    font-size: clamp(14px, 1.22vw, 16px);
    line-height: 1.9;
    margin-top: clamp(28px, 3.8vw, 48px);
    max-width: 560px;
}

.pb-site-post-intro p {
    margin: 0 0 1.45em;
}

.pb-site-post-intro p:last-child {
    margin-bottom: 0;
}

.pb-site-post-scroll,
.pb-site-post-scroll:visited {
    align-items: center;
    background: rgba(24, 20, 27, 0.28);
    border: 1px solid rgba(255, 248, 239, 0.48);
    border-radius: 50%;
    bottom: clamp(26px, 4vw, 42px);
    color: #fff8ef;
    display: inline-flex;
    height: 54px;
    justify-content: center;
    left: 50%;
    position: absolute;
    text-decoration: none;
    transform: translateX(-50%);
    width: 54px;
    z-index: 5;
}

.pb-site-post-scroll:hover,
.pb-site-post-scroll:focus-visible {
    background: var(--pb-site-post-accent);
    border-color: var(--pb-site-post-accent);
    color: #fff;
    outline: none;
}

.pb-site-post-scroll span {
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
}

.pb-site-post-hero-media {
    align-self: stretch;
    display: block;
    margin: 0;
    min-height: 100%;
    overflow: hidden;
}

.pb-site-post-hero-media::after {
    background:
        linear-gradient(90deg, rgba(8, 14, 24, 0.82), rgba(8, 14, 24, 0.18) 28%, rgba(8, 14, 24, 0) 54%),
        linear-gradient(0deg, rgba(8, 14, 24, 0.26), rgba(8, 14, 24, 0));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.pb-site-post-hero-image {
    display: block;
    height: 100%;
    min-height: clamp(620px, calc(100vh - 86px), 820px);
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.pb-site-post-image-fallback {
    background:
        radial-gradient(circle at 55% 25%, rgba(217, 133, 146, 0.32), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    display: block;
    height: 100%;
    min-height: clamp(620px, calc(100vh - 86px), 820px);
    width: 100%;
}

.pb-site-post-wave {
    background: var(--pb-site-post-card);
    border-top: 1px solid rgba(217, 133, 146, 0.76);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    bottom: -58px;
    display: block;
    height: 118px;
    left: -8vw;
    position: absolute;
    right: -8vw;
    transform: rotate(-0.2deg);
    z-index: 4;
}

.pb-site-post-content-wrap {
    background: var(--pb-site-post-card);
    color: var(--pb-site-post-card-text);
    padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 46px) clamp(68px, 8vw, 112px);
    position: relative;
    z-index: 6;
}

.pb-site-post-content {
    font-family: var(--pb-site-post-sans);
    font-size: clamp(17px, 1.24vw, 20px);
    line-height: 1.85;
    margin: 0 auto;
    max-width: 880px;
}

.pb-site-post-content > :first-child {
    margin-top: 0;
}

.pb-site-post-content > :last-child {
    margin-bottom: 0;
}

.pb-site-post-content p,
.pb-site-post-content li {
    color: rgba(45, 42, 42, 0.88);
}

.pb-site-post-content p {
    margin: 0 0 1.45em;
}

.pb-site-post-content h2,
.pb-site-post-content h3,
.pb-site-post-content h4 {
    color: #191619;
    font-family: var(--pb-site-post-serif);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 2em 0 0.65em;
}

.pb-site-post-content h2 {
    font-size: clamp(34px, 3.8vw, 54px);
}

.pb-site-post-content h3 {
    font-size: clamp(27px, 2.6vw, 38px);
}

.pb-site-post-content a {
    color: #a94a5b;
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.pb-site-post-content blockquote {
    border-left: 3px solid var(--pb-site-post-accent);
    color: #4d3d42;
    font-family: var(--pb-site-post-serif);
    font-size: 1.2em;
    font-style: italic;
    line-height: 1.55;
    margin: 2.2em 0;
    padding: 0.25em 0 0.25em 1.35em;
}

.pb-site-post-content img,
.pb-site-post-content video,
.pb-site-post-content iframe {
    border-radius: 24px;
    box-shadow: 0 22px 54px rgba(34, 21, 29, 0.16);
    height: auto;
    max-width: 100%;
}

.pb-site-post-content .alignwide,
.pb-site-post-content .alignfull {
    margin-left: max(-7vw, -120px);
    margin-right: max(-7vw, -120px);
    max-width: none;
}

.pb-site-post-shell--ivory {
    --pb-site-post-bg: #f6eee8;
    --pb-site-post-text: #343033;
    --pb-site-post-muted: rgba(52, 48, 51, 0.72);
    --pb-site-post-faint: rgba(52, 48, 51, 0.48);
    --pb-site-post-accent: #cf7b88;
    --pb-site-post-card: #fffaf6;
    --pb-site-post-card-text: #343033;
}

.pb-site-post-shell--ivory .pb-site-post-hero {
    background:
        linear-gradient(90deg, rgba(255, 250, 246, 0.98), rgba(255, 250, 246, 0.94) 42%, rgba(255, 250, 246, 0.62) 68%, rgba(255, 250, 246, 0.18)),
        #f6eee8;
}

.pb-site-post-shell--ivory .pb-site-post-hero::before {
    opacity: 0.12;
}

.pb-site-post-shell--ivory .pb-site-post-hero-media::after {
    background: linear-gradient(90deg, rgba(255, 250, 246, 0.95), rgba(255, 250, 246, 0.46) 34%, rgba(255, 250, 246, 0.03) 68%);
}

.pb-site-post-shell--ivory .pb-site-post-scroll,
.pb-site-post-shell--ivory .pb-site-post-scroll:visited {
    background: rgba(207, 123, 136, 0.76);
    border-color: rgba(255, 255, 255, 0.86);
    color: #fff;
}

.pb-site-post-shell--velvet {
    --pb-site-post-bg: #160b17;
    --pb-site-post-bg-soft: #251020;
    --pb-site-post-text: #fff4f2;
    --pb-site-post-muted: rgba(255, 244, 242, 0.76);
    --pb-site-post-accent: #e08b9a;
    --pb-site-post-card: #fff8f2;
}

.pb-site-post-shell--velvet .pb-site-post-hero {
    background:
        radial-gradient(circle at 76% 32%, rgba(154, 50, 84, 0.34), transparent 36%),
        linear-gradient(110deg, rgba(22, 11, 23, 0.98), rgba(28, 12, 25, 0.94) 48%, rgba(38, 13, 31, 0.74) 70%, rgba(38, 13, 31, 0.42)),
        #160b17;
}

.pb-site-post-shell--noir {
    --pb-site-post-bg: #070d10;
    --pb-site-post-text: #f8f8f3;
    --pb-site-post-muted: rgba(248, 248, 243, 0.72);
    --pb-site-post-accent: #d98994;
    --pb-site-post-card: #faf7f1;
}

.pb-site-post-shell--noir .pb-site-post-hero-media .pb-site-post-hero-image {
    filter: grayscale(1) contrast(1.08);
}

.pb-site-post-shell--noir .pb-site-post-hero {
    background:
        linear-gradient(110deg, rgba(5, 10, 13, 0.98), rgba(7, 13, 16, 0.94) 48%, rgba(7, 13, 16, 0.58)),
        #070d10;
}

.pb-site-post-shell--no-image .pb-site-post-hero {
    grid-template-columns: minmax(0, 1fr);
}

.pb-site-post-shell--no-image .pb-site-post-hero-copy {
    justify-self: center;
    max-width: 860px;
    text-align: center;
}

.pb-site-post-shell--no-image .pb-site-post-title,
.pb-site-post-shell--no-image .pb-site-post-deck,
.pb-site-post-shell--no-image .pb-site-post-intro {
    margin-left: auto;
    margin-right: auto;
}

.pb-site-post-shell--no-image .pb-site-post-ornament {
    margin-left: auto;
    margin-right: auto;
}

.pb-site-post-shell--no-image .pb-site-post-hero-media {
    display: none;
}

@media (max-width: 1020px) {
    .pb-site-post-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .pb-site-post-hero-copy {
        max-width: none;
        min-height: 560px;
        padding-bottom: 104px;
    }

    .pb-site-post-title {
        max-width: 12ch;
    }

    .pb-site-post-hero-media {
        height: min(62vh, 560px);
        min-height: 360px;
        order: -1;
    }

    .pb-site-post-hero-image,
    .pb-site-post-image-fallback {
        min-height: 360px;
    }

    .pb-site-post-hero-media::after {
        background: linear-gradient(0deg, rgba(8, 14, 24, 0.84), rgba(8, 14, 24, 0.1) 48%, rgba(8, 14, 24, 0));
    }

    .pb-site-post-shell--ivory .pb-site-post-hero-media::after {
        background: linear-gradient(0deg, rgba(255, 250, 246, 0.95), rgba(255, 250, 246, 0.22) 58%, rgba(255, 250, 246, 0));
    }

    .pb-site-post-scroll {
        left: clamp(54px, 12vw, 92px);
    }
}

@media (max-width: 700px) {
    .pb-site-post-back,
    .pb-site-post-back:visited {
        margin-bottom: 34px;
    }

    .pb-site-post-hero-copy {
        min-height: 0;
        padding: 34px 22px 92px;
    }

    .pb-site-post-title {
        font-size: clamp(42px, 14vw, 60px);
    }

    .pb-site-post-deck {
        font-size: 18px;
    }

    .pb-site-post-intro {
        font-size: 14px;
        line-height: 1.78;
    }

    .pb-site-post-scroll,
    .pb-site-post-scroll:visited {
        bottom: 24px;
        height: 46px;
        width: 46px;
    }

    .pb-site-post-wave {
        bottom: -52px;
        height: 96px;
    }

    .pb-site-post-content-wrap {
        padding: 44px 18px 72px;
    }

    .pb-site-post-content {
        font-size: 16px;
        line-height: 1.78;
    }

    .pb-site-post-content .alignwide,
    .pb-site-post-content .alignfull {
        margin-left: 0;
        margin-right: 0;
    }
}


/* Phase 4 article SEO additions: visible article dates/author and related internal guide links. */
.pb-site-post-meta {
    align-items: center;
    color: rgba(255, 248, 239, 0.72);
    display: flex;
    flex-wrap: wrap;
    font-family: var(--pb-site-post-sans);
    font-size: 0.82rem;
    gap: 0.45rem 0.85rem;
    letter-spacing: 0.08em;
    margin: 0.8rem 0 0;
    text-transform: uppercase;
}

.pb-site-post-meta span:not(:last-child)::after {
    color: rgba(244, 211, 141, 0.6);
    content: "•";
    margin-left: 0.85rem;
}

.pb-site-post-related-guides {
    background: linear-gradient(135deg, rgba(8, 18, 27, 0.96), rgba(34, 18, 31, 0.94));
    border: 1px solid rgba(217, 133, 146, 0.34);
    border-radius: 28px;
    box-shadow: 0 22px 70px rgba(10, 8, 16, 0.22);
    color: #fff8ef;
    margin-top: clamp(2.4rem, 6vw, 4rem);
    padding: clamp(1.35rem, 4vw, 2.4rem);
}

.pb-site-post-related-guides h2 {
    color: #fff8ef;
    font-family: var(--pb-site-post-serif);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 400;
    line-height: 1.08;
    margin: 0 0 0.75rem;
}

.pb-site-post-related-guides p {
    color: rgba(255, 248, 239, 0.76);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 1.2rem;
}

.pb-site-post-related-guides ul {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.pb-site-post-related-guides a {
    align-items: center;
    background: rgba(255, 248, 239, 0.08);
    border: 1px solid rgba(244, 211, 141, 0.34);
    border-radius: 999px;
    color: #f4d38d;
    display: flex;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: 0.08em;
    min-height: 54px;
    padding: 0.85rem 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.pb-site-post-related-guides a::after {
    content: "›";
    font-size: 1.45rem;
    line-height: 1;
}

.pb-site-post-related-guides a:focus,
.pb-site-post-related-guides a:hover {
    background: rgba(244, 211, 141, 0.14);
    color: #fff8ef;
}

@media (max-width: 720px) {
    .pb-site-post-meta {
        font-size: 0.76rem;
        justify-content: center;
        text-align: center;
    }

    .pb-site-post-meta span::after {
        display: none;
    }

    .pb-site-post-related-guides ul {
        grid-template-columns: 1fr;
    }

    .pb-site-post-related-guides a {
        justify-content: center;
        text-align: center;
    }

    .pb-site-post-related-guides a::after {
        margin-left: 0.75rem;
    }
}
