/* ======================================================
   PREMIUM INNER PAGE SYSTEM
   ====================================================== */

.pd-inner-hero {
    padding: 82px 0 72px;

    background:
        linear-gradient(
            135deg,
            var(--green-deep),
            var(--green)
        );
}

.pd-inner-hero-tax {
    background:
        linear-gradient(
            125deg,
            #082b14 0%,
            #123d20 55%,
            #195227 100%
        );
}

.pd-inner-hero h1 {
    max-width: 880px;

    margin-bottom: 0;

    color: #fff;

    font-size:
        clamp(2.6rem, 5vw, 4.7rem);
}

.pd-inner-hero-intro {
    max-width: 680px;

    margin:
        22px 0 0;

    color:
        rgba(255,255,255,.76);

    font-size: 1.05rem;

    line-height: 1.7;
}

.pd-inner-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}


/* TAX PAGE */

.pd-tax-page {
    padding:
        78px 0 105px;

    background:
        #fff;
}

.pd-tax-page-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        310px;

    align-items: start;

    gap: 65px;
}

.pd-tax-content {
    min-width: 0;

    color:
        var(--text);
}

.pd-tax-content > *:first-child {
    margin-top: 0;
}

.pd-tax-content p,
.pd-tax-content li {
    line-height: 1.82;
}

.pd-tax-content p {
    margin-bottom: 22px;
}

.pd-tax-content h2 {
    margin:
        48px 0 18px;

    font-size:
        clamp(1.8rem, 3vw, 2.6rem);
}

.pd-tax-content h3 {
    margin:
        36px 0 14px;

    font-size: 1.35rem;
}

.pd-tax-content ul,
.pd-tax-content ol {
    padding-left: 22px;
}

.pd-tax-content li {
    margin-bottom: 9px;
}

.pd-tax-content img {
    margin:
        30px 0;

    border-radius: 2px;
}

.pd-tax-content table {
    width: 100%;

    border-collapse: collapse;

    margin:
        30px 0;
}

.pd-tax-content th,
.pd-tax-content td {
    padding: 13px;

    border:
        1px solid var(--line);

    text-align: left;
}

.pd-tax-content th {
    background:
        var(--green-soft);

    color:
        var(--ink);
}


/* SIDEBAR */

.pd-tax-sidebar,
.pd-standard-side {
    position: sticky;

    top: 105px;

    display: grid;

    gap: 18px;
}

.pd-side-card {
    padding: 24px;

    background:
        #fff;

    border:
        1px solid var(--line);
}

.pd-side-card-primary {
    background:
        var(--green-pale);

    border-top:
        4px solid var(--gold);
}

.pd-side-label {
    display: block;

    margin-bottom: 15px;

    color:
        var(--green);

    font-size: .68rem;
    font-weight: 800;

    letter-spacing: .11em;

    text-transform: uppercase;
}

.pd-side-card h3 {
    margin-bottom: 10px;

    color:
        var(--ink);

    font-size: 1.23rem;

    line-height: 1.25;
}

.pd-side-card p {
    margin-bottom: 19px;

    color:
        var(--muted);

    font-size: .86rem;
}

.pd-side-button {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding:
        0 15px;

    background:
        var(--green);

    color: #fff;

    font-size: .82rem;
    font-weight: 750;
}

.pd-side-button:hover {
    background:
        var(--green-dark);

    color: #fff;
}


/* SIDE NAV */

.pd-side-nav {
    display: flex;

    flex-direction: column;
}

.pd-side-nav a {
    display: flex;

    align-items: center;

    min-height: 43px;

    padding:
        10px 0;

    border-bottom:
        1px solid var(--line);

    color:
        var(--ink);

    font-size: .84rem;
    font-weight: 600;
}

.pd-side-nav a:last-child {
    border-bottom: 0;
}

.pd-side-nav a:hover {
    color:
        var(--green);
}


/* REFUND LINKS */

.pd-refund-link {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 14px;

    padding:
        14px 0;

    border-top:
        1px solid var(--line);

    color:
        var(--ink);
}

.pd-refund-link:first-of-type {
    border-top: 0;
}

.pd-refund-link strong,
.pd-refund-link span {
    display: block;
}

.pd-refund-link strong {
    color:
        var(--ink);

    font-size: .84rem;
}

.pd-refund-link span {
    margin-top: 2px;

    color:
        var(--muted);

    font-size: .72rem;
}

.pd-refund-link b {
    color:
        var(--green);
}


/* BOTTOM CTA */

.pd-tax-bottom-cta {
    padding:
        62px 0;

    background:
        var(--green);
}

.pd-tax-bottom-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.pd-tax-bottom-inner h2 {
    margin-bottom: 0;

    color: #fff;
}


/* GENERIC PAGE */

.pd-standard-page {
    padding:
        78px 0 105px;
}

.pd-standard-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        290px;

    align-items: start;

    gap: 70px;
}

.pd-standard-content {
    min-width: 0;
}

.pd-standard-content > *:first-child {
    margin-top: 0;
}

.pd-standard-content p,
.pd-standard-content li {
    line-height: 1.82;
}

.pd-standard-content h2 {
    margin-top: 45px;
}

.pd-standard-content h3 {
    margin-top: 35px;
}

.pd-standard-content img {
    margin:
        25px 0;

    max-width: 100%;
}


/* WORDPRESS BLOCK CLEANUP */

.pd-tax-content .alignwide,
.pd-standard-content .alignwide {
    max-width: 100%;
}

.pd-tax-content .alignfull,
.pd-standard-content .alignfull {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.pd-tax-content .wp-block-button__link,
.pd-standard-content .wp-block-button__link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 45px;

    padding:
        10px 18px;

    background:
        var(--green);

    border-radius: 0;

    color: #fff;

    font-size: .85rem;
    font-weight: 700;
}


/* FAQ CONTENT */

.pd-faq-content h2,
.pd-faq-content h3 {
    padding-bottom: 12px;

    border-bottom:
        1px solid var(--line);
}


/* TABLET */

@media (max-width: 900px) {

    .pd-tax-page-grid,
    .pd-standard-layout {
        grid-template-columns:
            1fr;
    }

    .pd-tax-sidebar,
    .pd-standard-side {
        position: static;

        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .pd-inner-hero {
        padding:
            60px 0 55px;
    }

    .pd-inner-hero h1 {
        font-size: 2.65rem;
    }

    .pd-inner-hero-actions {
        flex-direction:
            column;
    }

    .pd-tax-page,
    .pd-standard-page {
        padding:
            55px 0 75px;
    }

    .pd-tax-sidebar,
    .pd-standard-side {
        grid-template-columns:
            1fr;
    }

    .pd-tax-bottom-inner {
        align-items:
            flex-start;

        flex-direction:
            column;
    }
}
