:root {
    --pd-navy: #0f223e;
    --pd-gold: #c79a62;
    --pd-ink: #1c2430;
    --pd-copy: #4b5563;
    --pd-line: #e5e7eb;
    --pd-cloud: #f8fafc;
    --pd-paper: #ffffff;
    --pd-soft-gold: #f7f1e9;
    --pd-soft-blue: #eef3f8;
    --pd-success: #176b3a;
    --pd-danger: #a43a3a;
}

.pd-advice-view {
    background: var(--pd-cloud);
}

.pd-advice-view .site-main,
.pd-advice-view main {
    overflow: visible;
}

.page-id-82 .entry-header,
.page-id-82 .hero-section,
.pd-advice-article-view .entry-header,
.pd-advice-article-view .hero-section {
    display: none;
}

.pd-advice,
.pd-advice-article {
    color: var(--pd-ink);
    font-family: Manrope, sans-serif;
}

.pd-advice *,
.pd-advice *::before,
.pd-advice *::after,
.pd-advice-article *,
.pd-advice-article *::before,
.pd-advice-article *::after {
    box-sizing: border-box;
}

.pd-advice {
    width: min(100%, 1290px);
    margin: 0 auto;
    padding: 0 24px 96px;
}

.pd-advice h1,
.pd-advice h2,
.pd-advice h3,
.pd-advice p,
.pd-advice-article h1,
.pd-advice-article h2,
.pd-advice-article h3,
.pd-advice-article p {
    margin-top: 0;
}

.pd-advice h1,
.pd-advice h2,
.pd-advice h3,
.pd-advice-article h1,
.pd-advice-article h2,
.pd-advice-article h3 {
    color: var(--pd-navy);
    font-family: Manrope, sans-serif;
    letter-spacing: -0.025em;
}

.pd-advice__eyebrow {
    margin-bottom: 14px;
    color: var(--pd-gold);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pd-advice__hero {
    position: relative;
    overflow: hidden;
    margin-top: 34px;
    padding: 86px 40px 90px;
    background:
        radial-gradient(circle at 88% 16%, rgba(199, 154, 98, 0.09), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f8fafc 70%);
    border: 1px solid var(--pd-line);
    border-radius: 6px;
    text-align: center;
}

.pd-advice__hero-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 850px);
    margin: 0 auto;
}

.pd-advice__hero h1 {
    max-width: 780px;
    margin: 0 auto 22px;
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 750;
    line-height: 1.08;
}

.pd-advice__lead {
    max-width: 650px;
    margin: 0 auto 34px;
    color: var(--pd-copy);
    font-size: 18px;
    line-height: 1.7;
}

.pd-advice__search-wrap {
    position: relative;
    width: min(100%, 720px);
    margin: 0 auto;
    text-align: left;
}

.pd-advice__search-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 21px;
    display: grid;
    color: var(--pd-navy);
    transform: translateY(-50%);
    pointer-events: none;
}

.pd-advice input.pd-advice__search {
    width: 100%;
    min-height: 62px;
    padding: 16px 56px 16px 61px;
    color: var(--pd-ink);
    background: var(--pd-paper);
    border: 1px solid #d7dce3;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(15, 34, 62, 0.07);
    font: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pd-advice input.pd-advice__search:focus {
    border-color: var(--pd-gold);
    box-shadow: 0 0 0 3px rgba(199, 154, 98, 0.18), 0 10px 30px rgba(15, 34, 62, 0.07);
}

.pd-advice input.pd-advice__search:disabled {
    color: #7c8490;
    background: #f4f5f6;
    box-shadow: none;
    cursor: not-allowed;
}

.pd-advice__search-results {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    overflow: hidden;
    max-height: 390px;
    padding: 8px;
    overflow-y: auto;
    background: var(--pd-paper);
    border: 1px solid var(--pd-line);
    border-radius: 6px;
    box-shadow: 0 18px 50px rgba(15, 34, 62, 0.16);
}

.pd-advice__search-result {
    display: block;
    padding: 13px 14px;
    color: var(--pd-ink);
    border-radius: 4px;
    text-decoration: none;
}

.pd-advice__search-result:hover,
.pd-advice__search-result:focus {
    background: var(--pd-cloud);
    color: var(--pd-navy);
}

.pd-advice__search-result-type {
    display: block;
    margin-bottom: 3px;
    color: var(--pd-gold);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pd-advice__search-result-title {
    display: block;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.pd-advice__search-empty {
    margin: 0;
    padding: 14px;
    color: var(--pd-copy);
    font-size: 14px;
}

.pd-advice__search-note {
    margin: 13px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.pd-advice__section {
    padding: 100px 0 0;
}

.pd-advice__section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

.pd-advice__section-heading h2,
.pd-advice__question-intro h2 {
    max-width: 710px;
    margin-bottom: 0;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 750;
    line-height: 1.16;
}

.pd-advice__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.pd-advice__filter {
    min-height: 38px;
    padding: 8px 15px;
    color: var(--pd-copy);
    background: var(--pd-paper);
    border: 1px solid var(--pd-line);
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: all 160ms ease;
}

.pd-advice__filter:hover,
.pd-advice__filter:focus,
.pd-advice__filter.is-active {
    color: var(--pd-paper);
    background: var(--pd-navy);
    border-color: var(--pd-navy);
}

.pd-advice__article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pd-advice__article-card {
    display: flex;
    min-height: 310px;
    flex-direction: column;
    padding: 29px;
    background: var(--pd-paper);
    border: 1px solid var(--pd-line);
    border-radius: 6px;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pd-advice__article-card:hover {
    border-color: #d4c0a7;
    box-shadow: 0 14px 34px rgba(15, 34, 62, 0.07);
    transform: translateY(-2px);
}

.pd-advice__article-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    color: #737b86;
    font-size: 12px;
    line-height: 1.4;
}

.pd-advice__article-meta span {
    color: var(--pd-gold);
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pd-advice__article-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.pd-advice__article-card h3 a {
    color: inherit;
    text-decoration: none;
}

.pd-advice__article-card p {
    margin-bottom: 24px;
    color: var(--pd-copy);
    font-size: 14px;
    line-height: 1.7;
}

.pd-advice__text-link {
    margin-top: auto;
    color: var(--pd-navy);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.pd-advice__text-link span {
    display: inline-block;
    margin-left: 4px;
    color: var(--pd-gold);
    transition: transform 160ms ease;
}

.pd-advice__text-link:hover span {
    transform: translateX(4px);
}

.pd-advice__load-more-wrap {
    margin-top: 30px;
    text-align: center;
}

.pd-advice__empty {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 28px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed #ced4dc;
    border-radius: 6px;
}

.pd-advice__empty-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--pd-gold);
    background: var(--pd-soft-gold);
    border-radius: 50%;
}

.pd-advice__empty h3 {
    margin-bottom: 7px;
    font-size: 19px;
    font-weight: 700;
}

.pd-advice__empty p {
    max-width: 770px;
    margin: 0;
    color: var(--pd-copy);
    font-size: 14px;
    line-height: 1.65;
}

.pd-advice__answers {
    padding-bottom: 100px;
}

.pd-advice__section-heading--answers > p {
    max-width: 350px;
    margin: 0;
    color: var(--pd-copy);
    font-size: 14px;
    line-height: 1.65;
}

.pd-advice__answer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
}

.pd-advice__answer {
    overflow: hidden;
    background: var(--pd-paper);
    border: 1px solid var(--pd-line);
    border-left: 3px solid var(--pd-gold);
    border-radius: 6px;
}

.pd-advice__answer--reader {
    background: #fbfcfe;
    border-left-color: var(--pd-navy);
}

.pd-advice__answer summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 102px;
    padding: 22px 24px;
    list-style: none;
    cursor: pointer;
}

.pd-advice__answer summary::-webkit-details-marker {
    display: none;
}

.pd-advice__answer-summary-copy {
    display: block;
}

.pd-advice__answer-label {
    display: block;
    margin-bottom: 7px;
    color: var(--pd-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.pd-advice__answer--reader .pd-advice__answer-label {
    color: var(--pd-navy);
}

.pd-advice__answer-question {
    display: block;
    color: var(--pd-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.pd-advice__answer-toggle {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid #d7dce2;
    border-radius: 50%;
}

.pd-advice__answer-toggle::before,
.pd-advice__answer-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    background: var(--pd-navy);
    content: "";
    transform: translate(-50%, -50%);
}

.pd-advice__answer-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 160ms ease;
}

.pd-advice__answer[open] .pd-advice__answer-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.pd-advice__answer-content {
    padding: 0 24px 24px;
    color: var(--pd-copy);
    font-size: 14px;
    line-height: 1.75;
}

.pd-advice__answer-content > :last-child {
    margin-bottom: 0;
}

.pd-advice__question-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
    padding: 74px;
    color: var(--pd-paper);
    background:
        radial-gradient(circle at 5% 100%, rgba(199, 154, 98, 0.18), transparent 28%),
        var(--pd-navy);
    border-radius: 6px;
}

.pd-advice__question-intro {
    padding-top: 20px;
}

.pd-advice__question-intro h2 {
    margin-bottom: 22px;
    color: var(--pd-paper);
}

.pd-advice__question-intro > p:not(.pd-advice__eyebrow) {
    max-width: 470px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}

.pd-advice__question-intro ul {
    display: grid;
    gap: 11px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.pd-advice__question-intro li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.pd-advice__question-intro li svg {
    color: var(--pd-gold);
}

.pd-advice__form-card {
    padding: 36px;
    color: var(--pd-ink);
    background: var(--pd-paper);
    border-radius: 6px;
    box-shadow: 0 22px 50px rgba(4, 13, 27, 0.22);
}

.pd-advice__form {
    display: grid;
    gap: 20px;
}

.pd-advice__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.pd-advice__field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.pd-advice__field > label,
.pd-advice__contact-choice legend {
    display: block;
    margin-bottom: 8px;
    color: var(--pd-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.pd-advice__contact-choice {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: 8px 18px;
}

.pd-advice__contact-choice legend {
    flex: 0 0 100%;
}

.pd-advice__contact-choice label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 20px;
    margin: 0;
    color: var(--pd-copy);
    font-size: 13px;
    line-height: 20px;
    cursor: pointer;
}

.pd-advice__contact-choice input[type="radio"] {
    width: 15px;
    min-width: 15px;
    height: 15px;
    margin: 0;
    flex: 0 0 15px;
    accent-color: var(--pd-navy);
    vertical-align: middle;
}

.pd-advice__field input[type="text"],
.pd-advice__field input[type="email"],
.pd-advice__field input[type="tel"],
.pd-advice__field input[type="file"],
.pd-advice__field textarea {
    width: 100%;
    color: var(--pd-ink);
    background: var(--pd-paper);
    border: 1px solid #d7dce2;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pd-advice__field input[type="text"],
.pd-advice__field input[type="email"],
.pd-advice__field input[type="tel"] {
    min-height: 49px;
    padding: 11px 13px;
}

.pd-advice__field textarea {
    min-height: 152px;
    padding: 13px;
    resize: vertical;
}

.pd-advice__field input[type="file"] {
    padding: 9px;
    color: var(--pd-copy);
}

.pd-advice__field input:focus,
.pd-advice__field textarea:focus {
    border-color: var(--pd-gold);
    box-shadow: 0 0 0 3px rgba(199, 154, 98, 0.16);
}

.pd-advice__field input[aria-invalid="true"],
.pd-advice__field textarea[aria-invalid="true"] {
    border-color: var(--pd-danger);
}

.pd-advice__field-help,
.pd-advice__optional {
    display: block;
    margin-top: 6px;
    color: #707985;
    font-size: 11px;
    font-weight: 450;
    line-height: 1.5;
}

.pd-advice__optional {
    display: inline;
    margin-left: 5px;
}

.pd-advice__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--pd-copy);
    font-size: 12px;
    line-height: 1.6;
    cursor: pointer;
}

.pd-advice__check input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.pd-advice__check a {
    color: var(--pd-navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pd-advice__check--optional {
    padding: 12px 13px;
    background: var(--pd-cloud);
    border: 1px solid var(--pd-line);
    border-radius: 6px;
}

.pd-advice__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pd-advice__button--primary {
    color: var(--pd-paper);
    background: var(--pd-navy);
    border-color: var(--pd-navy);
}

.pd-advice__button--primary:hover,
.pd-advice__button--primary:focus {
    color: var(--pd-navy);
    background: var(--pd-gold);
    border-color: var(--pd-gold);
}

.pd-advice__question-section .pd-advice__button--primary {
    min-height: 52px;
    background: var(--pd-gold);
    border-color: var(--pd-gold);
}

.pd-advice__question-section .pd-advice__button--primary:hover,
.pd-advice__question-section .pd-advice__button--primary:focus {
    color: var(--pd-paper);
    background: var(--pd-navy);
    border-color: var(--pd-navy);
}

.pd-advice__button--secondary {
    color: var(--pd-navy);
    background: transparent;
    border-color: var(--pd-navy);
}

.pd-advice__button--secondary:hover,
.pd-advice__button--secondary:focus {
    color: var(--pd-paper);
    background: var(--pd-navy);
}

.pd-advice__button[disabled] {
    opacity: 0.58;
    cursor: wait;
}

.pd-advice__form-status {
    display: none;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.55;
}

.pd-advice__form-status.is-visible {
    display: block;
}

.pd-advice__form-status.is-success {
    color: var(--pd-success);
    background: #edf8f1;
    border: 1px solid #b9dec7;
}

.pd-advice__form-status.is-error {
    color: var(--pd-danger);
    background: #fff3f3;
    border: 1px solid #e9c1c1;
}

.pd-advice__honeypot {
    position: absolute !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.pd-advice-article {
    width: min(calc(100% - 48px), 980px);
    margin: 34px auto 96px;
}

.pd-advice-article__header {
    padding: 64px 72px 54px;
    background: var(--pd-paper);
    border: 1px solid var(--pd-line);
    border-radius: 6px 6px 0 0;
}

.pd-advice-article__back {
    display: inline-block;
    margin-bottom: 38px;
    color: var(--pd-copy);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.pd-advice-article__back:hover {
    color: var(--pd-gold);
}

.pd-advice-article h1 {
    margin-bottom: 23px;
    color: var(--pd-navy);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 750;
    line-height: 1.12;
}

.pd-advice-article__meta {
    display: flex;
    gap: 9px;
    color: #737b86;
    font-size: 13px;
}

.pd-advice-article__image {
    overflow: hidden;
    margin-top: 38px;
    border-radius: 6px;
}

.pd-advice-article__image img {
    display: block;
    width: 100%;
    height: auto;
}

.pd-advice-article__body {
    padding: 58px 72px 68px;
    color: var(--pd-copy);
    background: var(--pd-paper);
    border-right: 1px solid var(--pd-line);
    border-bottom: 1px solid var(--pd-line);
    border-left: 1px solid var(--pd-line);
    font-size: 17px;
    line-height: 1.85;
}

.pd-advice-article__body h2 {
    margin: 2.2em 0 0.7em;
    font-size: 32px;
    line-height: 1.25;
}

.pd-advice-article__body h3 {
    margin: 1.9em 0 0.65em;
    font-size: 24px;
    line-height: 1.3;
}

.pd-advice-article__body a {
    color: var(--pd-navy);
    text-decoration-color: var(--pd-gold);
    text-underline-offset: 3px;
}

.pd-advice-article__body blockquote {
    margin: 2em 0;
    padding: 4px 0 4px 24px;
    color: var(--pd-navy);
    border-left: 3px solid var(--pd-gold);
}

.pd-advice-article__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 28px 32px;
    background: var(--pd-soft-gold);
    border: 1px solid #eadbc8;
    border-radius: 6px;
}

.pd-advice-article__footer p {
    margin: 0;
    color: var(--pd-navy);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .pd-advice__article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-advice__question-section {
        gap: 42px;
        padding: 54px 44px;
    }
}

@media (max-width: 767px) {
    .pd-advice {
        padding: 0 16px 64px;
    }

    .pd-advice__hero {
        margin-top: 20px;
        padding: 58px 20px 60px;
    }

    .pd-advice__hero h1 {
        font-size: 39px;
        line-height: 1.13;
    }

    .pd-advice__lead {
        margin-bottom: 28px;
        font-size: 16px;
        line-height: 1.6;
    }

    .pd-advice input.pd-advice__search {
        min-height: 58px;
        padding-right: 17px;
        padding-left: 52px;
        font-size: 14px;
    }

    .pd-advice__search-icon {
        left: 17px;
    }

    .pd-advice__section {
        padding-top: 70px;
    }

    .pd-advice__section-heading {
        display: block;
        margin-bottom: 28px;
    }

    .pd-advice__section-heading h2,
    .pd-advice__question-intro h2 {
        font-size: 34px;
    }

    .pd-advice__filters {
        justify-content: flex-start;
        margin-top: 22px;
    }

    .pd-advice__article-grid,
    .pd-advice__answer-grid {
        grid-template-columns: 1fr;
    }

    .pd-advice__article-card {
        min-height: 0;
        padding: 24px;
    }

    .pd-advice__section-heading--answers > p {
        margin-top: 18px;
    }

    .pd-advice__answers {
        padding-bottom: 70px;
    }

    .pd-advice__answer summary {
        min-height: 0;
        padding: 20px;
    }

    .pd-advice__answer-content {
        padding: 0 20px 20px;
    }

    .pd-advice__empty {
        padding: 22px;
    }

    .pd-advice__question-section {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 44px 20px 20px;
    }

    .pd-advice__question-intro {
        padding: 0 4px;
    }

    .pd-advice__form-card {
        padding: 24px 18px;
    }

    .pd-advice__form-row {
        grid-template-columns: 1fr;
    }

    .pd-advice__contact-choice {
        margin-top: 1px;
    }

    .pd-advice-article {
        width: calc(100% - 32px);
        margin: 20px auto 64px;
    }

    .pd-advice-article__header,
    .pd-advice-article__body {
        padding: 38px 24px;
    }

    .pd-advice-article h1 {
        font-size: 38px;
    }

    .pd-advice-article__body {
        font-size: 16px;
    }

    .pd-advice-article__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pd-advice *,
    .pd-advice *::before,
    .pd-advice *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
