.pg {
    --pg-green: #7fc945;
    --pg-green-2: #5ea82a;
    --pg-ink: #163328;
    --pg-muted: #5b6b63;
    --pg-line: rgba(22, 51, 40, .08);
    background:
        radial-gradient(1200px 420px at 100% -10%, rgba(127, 201, 69, .12), transparent 60%),
        radial-gradient(900px 380px at -10% 20%, rgba(47, 128, 237, .08), transparent 55%),
        #f4f7f2;
    min-height: 70vh;
    padding-bottom: 4rem;
}

.pg-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, #123326 0%, #1c4a36 42%, #2a6a28 100%);
    padding: 2.2rem 0 3.4rem;
}

.pg-hero__glow {
    position: absolute;
    inset: auto -8% -40% 30%;
    height: 280px;
    background: radial-gradient(circle, rgba(142, 213, 87, .45), transparent 70%);
    pointer-events: none;
}

.pg-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.pg-hero__orb--a {
    width: 220px;
    height: 220px;
    top: -70px;
    left: 8%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(127,201,69,.08) 60%, transparent);
}
.pg-hero__orb--b {
    width: 160px;
    height: 160px;
    bottom: -40px;
    right: 12%;
    background: radial-gradient(circle at 40% 40%, rgba(86,204,242,.22), transparent 70%);
}

.pg-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.35), transparent 80%);
    pointer-events: none;
}

.pg-hero__cover {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.pg-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pg-hero.has-cover {
    min-height: 320px;
}
.pg-hero.has-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(10, 28, 22, .55) 0%, rgba(12, 32, 26, .72) 55%, rgba(12, 32, 26, .88) 100%);
}
.pg-hero.has-cover .pg-hero__orb,
.pg-hero.has-cover .pg-hero__grid { opacity: .35; }

.pg-hero__inner { position: relative; z-index: 1; }

.pg-crumbs {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .82rem;
    color: rgba(255,255,255,.72);
    margin-bottom: 1.4rem;
}
.pg-crumbs a { color: #fff; text-decoration: none; font-weight: 700; }
.pg-crumbs a:hover { color: #d6f5b8; }

.pg-hero__stage {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.4rem 1.7rem;
    align-items: center;
}

.pg-icon {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    position: relative;
    color: #163328;
    background: linear-gradient(160deg, #f4ffe8, #c8ef8a);
    box-shadow:
        0 18px 40px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.7);
}
.pg-icon svg { width: 42px; height: 42px; }
.pg-icon__ring {
    position: absolute;
    inset: -10px;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.22);
    animation: pg-pulse 3.6s ease-in-out infinite;
}
@keyframes pg-pulse {
    0%, 100% { opacity: .35; transform: scale(1); }
    50% { opacity: .7; transform: scale(1.04); }
}

.pg-kicker {
    margin: 0 0 .35rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #c8ef8a;
    text-transform: uppercase;
}
.pg-hero__copy h1 {
    margin: 0;
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.02em;
}
.pg-lead {
    margin: .7rem 0 0;
    max-width: 46rem;
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgba(255,255,255,.86);
}
.pg-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.1rem;
    margin-top: 1.05rem;
    font-size: .8rem;
    color: rgba(255,255,255,.72);
}
.pg-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.pg-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.4rem;
    margin-top: -1.6rem;
    position: relative;
    z-index: 2;
}

.pg-paper {
    position: relative;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 24px;
    padding: 1.7rem 1.8rem 2.1rem;
    box-shadow: 0 18px 50px rgba(22, 51, 40, .08);
    overflow: hidden;
}
.pg-paper__accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #7fc945, #56ccf2);
}
.pg-cover {
    margin: 0 0 1.35rem;
    border-radius: 18px;
    overflow: hidden;
    background: #eef3ea;
}
.pg-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

.pg-prose {
    color: #24342d;
    font-size: 1.02rem;
    line-height: 2;
}
.pg-prose > *:first-child { margin-top: 0; }
.pg-prose h2, .pg-prose h3 {
    color: var(--pg-ink);
    margin: 1.6rem 0 .55rem;
    line-height: 1.5;
}
.pg-prose h2 { font-size: 1.28rem; }
.pg-prose h3 { font-size: 1.1rem; }
.pg-prose p { margin: 0 0 1rem; }
.pg-prose a { color: #2f6f14; font-weight: 700; }
.pg-prose ul, .pg-prose ol { padding-right: 1.2rem; margin: 0 0 1rem; }
.pg-prose li { margin: .25rem 0; }
.pg-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: .6rem 0 1rem;
}
.pg-prose blockquote {
    margin: 1.1rem 0;
    padding: .9rem 1rem;
    border-right: 3px solid #7fc945;
    background: #f6fbf1;
    border-radius: 0 14px 14px 0;
    color: #35503f;
}

.pg-side { display: grid; gap: 1rem; align-content: start; }

.pg-side-card {
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 20px;
    padding: 1.05rem 1.1rem 1.15rem;
    box-shadow: 0 10px 28px rgba(22, 51, 40, .05);
}
.pg-side-card h2 {
    margin: 0 0 .75rem;
    font-size: .92rem;
    color: var(--pg-ink);
}
.pg-side-card--cta {
    background: linear-gradient(160deg, #173528, #2a6a28);
    color: #fff;
    border: 0;
}
.pg-side-card--cta strong { display: block; font-size: 1rem; margin-bottom: .35rem; }
.pg-side-card--cta p { margin: 0 0 .9rem; font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,.82); }
.pg-side-card--cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: 12px;
    background: #7fc945;
    color: #163328;
    font-weight: 800;
    text-decoration: none;
}
.pg-side-card--cta a:hover { background: #8ed557; }

.pg-more { display: grid; gap: .35rem; }
.pg-more a {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .45rem;
    border-radius: 12px;
    color: #24342d;
    text-decoration: none;
    font-weight: 700;
    font-size: .86rem;
}
.pg-more a:hover { background: #f3f8ee; color: #2f6f14; }
.pg-more .ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #eef8ea;
    color: #4f9a22;
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .pg-layout { grid-template-columns: 1fr; margin-top: -1.1rem; }
    .pg-hero__stage { grid-template-columns: 1fr; }
    .pg-icon { width: 76px; height: 76px; border-radius: 22px; }
}
