/* ======================================================
   PETERDENG.LAN — INDIVIDUAL TAX RETURN
   Page-specific premium redesign
   ====================================================== */

body.page-id-56 {
    --itx-green-950: #062d19;
    --itx-green-900: #0b3d22;
    --itx-green-800: #14572f;
    --itx-green-700: #1e6b3d;
    --itx-green-100: #eaf2ed;
    --itx-gold: #d6b66e;
    --itx-gold-soft: #f3e7c8;
    --itx-ink: #102018;
    --itx-muted: #68746d;
    --itx-line: #dfe6e1;
    --itx-soft: #f5f7f5;
    --itx-white: #ffffff;
}

body.page-id-56 .site-main,
body.page-id-56 main.itx-page {
    overflow: hidden;
}

body.page-id-56 .itx-page {
    background: #fff;
}

body.page-id-56 .itx-page > .wp-block-group {
    margin-block-start: 0;
}

body.page-id-56 .itx-page .alignwide {
    width: min(calc(100% - 40px), 1180px);
    max-width: 1180px;
    margin-inline: auto;
}

body.page-id-56 .itx-page .alignfull {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

body.page-id-56 .itx-kicker {
    margin: 0 0 12px;
    color: var(--itx-green-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.page-id-56 .itx-kicker-light {
    color: #dceadd;
}

/* HERO */

body.page-id-56 .itx-hero {
    position: relative;
    padding: 88px 24px 82px;
    color: #fff;
    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(214,182,110,.22),
            transparent 28%
        ),
        linear-gradient(
            115deg,
            #052b18 0%,
            #0a3d21 58%,
            #15572f 100%
        );
}

body.page-id-56 .itx-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -190px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255,255,255,.025),
        0 0 0 140px rgba(255,255,255,.018);
    pointer-events: none;
}

body.page-id-56 .itx-hero-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 1180px);
    margin: 0 auto;
}

body.page-id-56 .itx-hero-title {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.25rem, 7vw, 6.7rem);
    font-weight: 760;
    letter-spacing: -.055em;
    line-height: .92;
}

body.page-id-56 .itx-hero-copy {
    max-width: 650px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.78);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

body.page-id-56 .itx-hero-actions {
    gap: 12px;
    margin-top: 32px;
}

body.page-id-56 .itx-hero-actions .wp-block-button__link {
    min-height: 50px;
    padding: 14px 22px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 800;
}

body.page-id-56 .itx-button-primary .wp-block-button__link {
    color: var(--itx-green-950);
    background: var(--itx-gold);
}

body.page-id-56 .itx-button-secondary .wp-block-button__link {
    color: #fff;
    border-color: rgba(255,255,255,.55);
    background: transparent;
}

body.page-id-56 .itx-hero-meta {
    gap: 10px 24px;
    margin-top: 50px;
}

body.page-id-56 .itx-hero-meta p {
    position: relative;
    margin: 0;
    padding-left: 16px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
    font-weight: 700;
}

body.page-id-56 .itx-hero-meta p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--itx-gold);
    transform: translateY(-50%);
}

/* SERVICES */

body.page-id-56 .itx-services {
    padding-top: 96px;
    padding-bottom: 46px;
}

body.page-id-56 .itx-section-heading {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

body.page-id-56 .itx-section-title {
    margin: 0;
    color: var(--itx-ink);
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    letter-spacing: -.045em;
    line-height: 1;
}

body.page-id-56 .itx-section-intro {
    max-width: 720px;
    margin: 22px auto 0;
    color: var(--itx-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

body.page-id-56 .itx-card-row {
    gap: 22px;
    margin-bottom: 22px;
}

body.page-id-56 .itx-service-card {
    height: 100%;
    min-height: 310px;
    padding: 30px;
    border: 1px solid var(--itx-line);
    background:
        linear-gradient(
            145deg,
            #fff 0%,
            #fbfcfb 100%
        );
    box-shadow: 0 16px 44px rgba(8,45,25,.055);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

body.page-id-56 .itx-service-card:hover {
    border-color: #c5d5ca;
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(8,45,25,.09);
}

body.page-id-56 .itx-card-top {
    min-height: 92px;
    margin-bottom: 25px;
}

body.page-id-56 .itx-card-top figure {
    width: 78px;
    margin: 0;
}

body.page-id-56 .itx-card-top img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

body.page-id-56 .itx-card-number {
    margin: 0;
    color: var(--itx-gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

body.page-id-56 .itx-service-card h3 {
    margin: 0 0 12px;
    color: var(--itx-green-950);
    font-size: 1.55rem;
    line-height: 1.15;
}

body.page-id-56 .itx-service-card > p:last-child {
    margin: 0;
    color: var(--itx-muted);
    font-size: .95rem;
    line-height: 1.72;
}

/* VALUE BAND */

body.page-id-56 .itx-value-band {
    margin-top: 46px;
    margin-bottom: 88px;
    padding: 42px 48px;
    border-left: 5px solid var(--itx-gold);
    background: var(--itx-soft);
}

body.page-id-56 .itx-value-band h2 {
    max-width: 700px;
    margin: 0 0 16px;
    color: var(--itx-green-950);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -.035em;
    line-height: 1.05;
}

body.page-id-56 .itx-value-band > p:last-child {
    max-width: 920px;
    margin: 0;
    color: var(--itx-muted);
    line-height: 1.8;
}

/* CHECKLIST */

body.page-id-56 .itx-checklist {
    padding-top: 20px;
    padding-bottom: 90px;
}

body.page-id-56 .itx-checklist .wp-block-columns {
    gap: 58px;
}

body.page-id-56 .itx-checklist h2 {
    margin-top: 0;
    color: var(--itx-green-950);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    letter-spacing: -.045em;
    line-height: 1;
}

body.page-id-56 .itx-check-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

body.page-id-56 .itx-check-list li {
    position: relative;
    padding: 14px 16px 14px 46px;
    border-bottom: 1px solid var(--itx-line);
    color: var(--itx-ink);
    font-weight: 650;
}

body.page-id-56 .itx-check-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 12px;
    color: var(--itx-green-700);
    font-size: 18px;
    font-weight: 900;
}

body.page-id-56 .itx-download-card {
    padding: 36px;
    color: #fff;
    background: var(--itx-green-950);
}

body.page-id-56 .itx-download-label {
    margin: 0 0 14px;
    color: var(--itx-gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
}

body.page-id-56 .itx-download-card h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 1.8rem;
}

body.page-id-56 .itx-download-card p {
    color: rgba(255,255,255,.72);
}

body.page-id-56 .itx-download-card .wp-block-button__link {
    border-radius: 0;
    color: var(--itx-green-950);
    background: var(--itx-gold);
    font-weight: 800;
}

/* SELF EMPLOYED */

body.page-id-56 .itx-self-employed {
    margin-bottom: 80px;
    padding: 38px 42px;
    border: 1px solid var(--itx-line);
    background: #fff;
}

body.page-id-56 .itx-self-employed h3 {
    margin: 0 0 14px;
    color: var(--itx-green-950);
    font-size: 2rem;
}

body.page-id-56 .itx-self-employed p {
    max-width: 900px;
}

body.page-id-56 .itx-callout-copy {
    margin-bottom: 0;
    color: var(--itx-green-800);
    font-weight: 800;
}

/* GUIDANCE */

body.page-id-56 .itx-guidance {
    max-width: 900px !important;
    margin-bottom: 100px;
}

body.page-id-56 .itx-guidance h2 {
    margin-top: 0;
    color: var(--itx-green-950);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    letter-spacing: -.04em;
}

body.page-id-56 .itx-guidance h3 {
    margin-top: 34px;
    color: var(--itx-green-900);
}

body.page-id-56 .itx-guidance p {
    color: var(--itx-muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

/* FINAL CTA */

body.page-id-56 .itx-final-cta {
    padding: 66px 24px;
    color: #fff;
    background:
        linear-gradient(
            120deg,
            var(--itx-green-950),
            var(--itx-green-800)
        );
}

body.page-id-56 .itx-final-inner {
    width: min(100%, 1180px);
    margin: 0 auto;
    gap: 36px;
}

body.page-id-56 .itx-final-inner h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    letter-spacing: -.045em;
    line-height: 1;
}

body.page-id-56 .itx-final-inner p:not(.itx-kicker) {
    margin-bottom: 0;
    color: rgba(255,255,255,.72);
}

body.page-id-56 .itx-final-inner .wp-block-buttons {
    gap: 10px;
}

body.page-id-56 .itx-final-inner .wp-block-button__link {
    min-height: 50px;
    padding: 14px 21px;
    border-radius: 0;
    font-weight: 800;
}

body.page-id-56 .itx-final-button .wp-block-button__link {
    color: var(--itx-green-950);
    background: var(--itx-gold);
}

body.page-id-56 .itx-final-contact .wp-block-button__link {
    color: #fff;
    border-color: rgba(255,255,255,.55);
    background: transparent;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    body.page-id-56 .itx-hero {
        padding: 72px 20px 66px;
    }

    body.page-id-56 .itx-services {
        padding-top: 72px;
    }

    body.page-id-56 .itx-card-row {
        gap: 16px;
    }

    body.page-id-56 .itx-checklist .wp-block-columns {
        gap: 30px;
    }

    body.page-id-56 .itx-final-inner {
        align-items: flex-start !important;
        flex-direction: column;
    }
}

@media (max-width: 700px) {

    body.page-id-56 .itx-hero-title {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    body.page-id-56 .itx-hero-meta {
        margin-top: 38px;
    }

    body.page-id-56 .itx-services {
        padding-bottom: 28px;
    }

    body.page-id-56 .itx-card-row {
        display: block;
    }

    body.page-id-56 .itx-card-row > .wp-block-column {
        margin-bottom: 16px;
    }

    body.page-id-56 .itx-service-card {
        min-height: 0;
        padding: 25px;
    }

    body.page-id-56 .itx-value-band {
        margin-bottom: 64px;
        padding: 32px 26px;
    }

    body.page-id-56 .itx-checklist {
        padding-bottom: 64px;
    }

    body.page-id-56 .itx-download-card {
        padding: 28px;
    }

    body.page-id-56 .itx-self-employed {
        margin-bottom: 60px;
        padding: 30px 26px;
    }

    body.page-id-56 .itx-guidance {
        margin-bottom: 72px;
    }

    body.page-id-56 .itx-final-cta {
        padding: 54px 20px;
    }

    body.page-id-56 .itx-hero-actions,
    body.page-id-56 .itx-final-inner .wp-block-buttons {
        width: 100%;
    }

    body.page-id-56 .itx-hero-actions .wp-block-button,
    body.page-id-56 .itx-final-inner .wp-block-button {
        width: 100%;
    }

    body.page-id-56 .itx-hero-actions .wp-block-button__link,
    body.page-id-56 .itx-final-inner .wp-block-button__link {
        width: 100%;
        justify-content: center;
    }
}


/* ======================================================
   PETERDENG INDIVIDUAL TAX VISUAL REFINE START
   Compact typography + local flat SVG icons
   ====================================================== */

/* ------------------------------------------------------
   TYPOGRAPHY — REDUCE OVERSIZED HEADINGS
   ------------------------------------------------------ */

body.page-id-56 .itx-hero {
    padding-top: 68px;
    padding-bottom: 66px;
}

body.page-id-56 .itx-hero-title {
    max-width: 680px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.045em;
}

body.page-id-56 .itx-hero-copy {
    max-width: 590px;
    margin-top: 22px;
    font-size: 1rem;
}

body.page-id-56 .itx-section-title {
    font-size: clamp(2.1rem, 3.6vw, 3.35rem);
    line-height: 1.04;
    letter-spacing: -.038em;
}

body.page-id-56 .itx-value-band h2 {
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    line-height: 1.08;
}

body.page-id-56 .itx-checklist h2 {
    max-width: 440px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.02;
}

body.page-id-56 .itx-guidance h2 {
    font-size: clamp(2rem, 3vw, 2.85rem);
}

body.page-id-56 .itx-final-inner h2 {
    font-size: clamp(2rem, 3.4vw, 3.1rem);
}

/* ------------------------------------------------------
   SERVICE CARDS
   ------------------------------------------------------ */

body.page-id-56 .itx-service-card {
    min-height: 285px;
}

body.page-id-56 .itx-service-card h3 {
    font-size: 1.28rem;
}

body.page-id-56 .itx-card-top {
    min-height: 72px;
    align-items: center;
}

/*
 * Hide the broken/legacy image itself.
 * Keep the Gutenberg figure in place so block structure
 * remains valid and the editor content is untouched.
 */

body.page-id-56 .itx-card-top figure {
    position: relative;
    display: block;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    margin: 0;
    border: 1px solid #dce6df;
    border-radius: 14px;
    background-color: #f7faf8;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 38px 38px;
}

body.page-id-56 .itx-card-top figure img {
    display: none !important;
}

/* First row — Estimated Tax */

body.page-id-56
.itx-services > .itx-card-row:nth-child(2)
.wp-block-column:nth-child(1)
.itx-card-top figure {
    background-image:
        url("../icons/individual-tax/calculator.svg");
}

/* First row — Tax Advice */

body.page-id-56
.itx-services > .itx-card-row:nth-child(2)
.wp-block-column:nth-child(2)
.itx-card-top figure {
    background-image:
        url("../icons/individual-tax/advisor.svg");
}

/* Second row — Private Tax Training */

body.page-id-56
.itx-services > .itx-card-row:nth-child(3)
.wp-block-column:nth-child(1)
.itx-card-top figure {
    background-image:
        url("../icons/individual-tax/training.svg");
}

/* Second row — Other Services */

body.page-id-56
.itx-services > .itx-card-row:nth-child(3)
.wp-block-column:nth-child(2)
.itx-card-top figure {
    background-image:
        url("../icons/individual-tax/services.svg");
}

/* ------------------------------------------------------
   MORE COMPACT VERTICAL RHYTHM
   ------------------------------------------------------ */

body.page-id-56 .itx-services {
    padding-top: 76px;
}

body.page-id-56 .itx-section-heading {
    margin-bottom: 38px;
}

body.page-id-56 .itx-value-band {
    margin-top: 34px;
    margin-bottom: 68px;
}

body.page-id-56 .itx-checklist {
    padding-bottom: 72px;
}

body.page-id-56 .itx-self-employed {
    margin-bottom: 66px;
}

body.page-id-56 .itx-guidance {
    margin-bottom: 76px;
}

/* ------------------------------------------------------
   MOBILE
   ------------------------------------------------------ */

@media (max-width: 700px) {

    body.page-id-56 .itx-hero {
        padding-top: 56px;
        padding-bottom: 54px;
    }

    body.page-id-56 .itx-hero-title {
        font-size: clamp(2.65rem, 12vw, 3.75rem);
    }

    body.page-id-56 .itx-section-title {
        font-size: 2.25rem;
    }

    body.page-id-56 .itx-checklist h2 {
        font-size: 2.35rem;
    }

    body.page-id-56 .itx-service-card {
        padding: 24px;
    }

    body.page-id-56 .itx-card-top figure {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        background-size: 35px 35px;
    }
}

/* PETERDENG INDIVIDUAL TAX VISUAL REFINE END */
