/* Psychology Dissertation Help theme styles */
:root {
    --pdh-primary: #0f766e;
    --pdh-primary-dark: #0b4f4a;
    --pdh-primary-soft: #e5f6f3;
    --pdh-accent: #ef6f5e;
    --pdh-accent-soft: #fff0eb;
    --pdh-gold: #c58a13;
    --pdh-gold-soft: #fff7df;
    --pdh-blue: #2563eb;
    --pdh-blue-soft: #eaf1ff;
    --pdh-ink: #182f2d;
    --pdh-muted: #5d6f6c;
    --pdh-faint: #eef3f1;
    --pdh-panel: #f7faf8;
    --pdh-white: #ffffff;
    --pdh-border: #dce7e3;
    --pdh-shadow: 0 18px 45px rgba(23, 53, 49, 0.12);
    --pdh-shadow-soft: 0 12px 28px rgba(23, 53, 49, 0.08);
    --pdh-radius: 8px;
    --pdh-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --pdh-serif: "Lora", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--pdh-ink);
    background: var(--pdh-white);
    font-family: var(--pdh-font);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body.nav-locked {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--pdh-primary);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--pdh-primary-dark);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--pdh-ink);
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    font-size: 56px;
    font-weight: 900;
}

h2 {
    font-size: 42px;
    font-weight: 850;
}

h3 {
    font-size: 22px;
    font-weight: 800;
}

p {
    color: var(--pdh-muted);
}

ul,
ol {
    margin-top: 0;
}

.container {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    top: 12px;
    left: 12px;
    z-index: 9999;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    color: var(--pdh-white);
    background: var(--pdh-primary-dark);
    border-radius: var(--pdh-radius);
}

.button,
.wp-block-button__link,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--pdh-radius);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
}

.button-primary,
.wp-block-button__link,
input[type="submit"] {
    color: var(--pdh-white);
    background: var(--pdh-primary);
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.button-primary:hover,
.button-primary:focus,
.wp-block-button__link:hover,
input[type="submit"]:hover {
    color: var(--pdh-white);
    background: var(--pdh-primary-dark);
}

.button-ghost {
    color: var(--pdh-ink);
    background: var(--pdh-white);
    border-color: var(--pdh-border);
}

.button-ghost:hover,
.button-ghost:focus {
    color: var(--pdh-primary);
    border-color: var(--pdh-primary);
    box-shadow: var(--pdh-shadow-soft);
}

.button-light {
    color: var(--pdh-primary-dark);
    background: var(--pdh-white);
    border-color: rgba(255, 255, 255, 0.72);
}

.button-small {
    min-height: 40px;
    padding: 10px 16px;
    font-size: 14px;
}

.full-width {
    width: 100%;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--pdh-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section {
    padding: 88px 0;
}

.section-muted {
    background: var(--pdh-panel);
}

.section-deep {
    color: var(--pdh-white);
    background: var(--pdh-primary-dark);
}

.section-deep h2,
.section-deep h3,
.section-deep p {
    color: var(--pdh-white);
}

.section-deep p {
    opacity: 0.82;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading p {
    font-size: 18px;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.section-heading.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 44px;
    align-items: end;
    max-width: none;
}

.text-link,
.mini-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pdh-primary);
    font-weight: 800;
}

.text-link::after,
.mini-link::after {
    content: ">";
    font-weight: 900;
}

/* Header */
.site-announcement {
    color: var(--pdh-primary-dark);
    background: var(--pdh-primary-soft);
    border-bottom: 1px solid var(--pdh-border);
    font-size: 14px;
    font-weight: 700;
}

.announcement-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
}

.announcement-inner a {
    color: var(--pdh-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--pdh-border);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    min-height: 76px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pdh-ink);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--pdh-white);
    background: var(--pdh-primary);
    border-radius: var(--pdh-radius);
    font-size: 14px;
    font-weight: 900;
}

.brand-mark strong,
.brand-mark em {
    display: block;
    color: var(--pdh-ink);
    font-style: normal;
    line-height: 1.06;
}

.brand-mark strong {
    font-size: 18px;
    font-weight: 900;
}

.brand-mark em {
    font-size: 14px;
    font-weight: 700;
}

.custom-logo-link img {
    width: auto;
    max-height: 52px;
}

.primary-navigation {
    justify-self: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--pdh-ink);
    border-radius: var(--pdh-radius);
    font-size: 15px;
    font-weight: 800;
}

.nav-menu > li > a:hover,
.nav-menu > li > a:focus {
    color: var(--pdh-primary);
    background: var(--pdh-primary-soft);
}

.mega-menu,
.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 24px;
    min-width: 720px;
    padding: 24px;
    margin: 12px 0 0;
    list-style: none;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu:focus-within .mega-menu,
.has-mega-menu.is-open .mega-menu,
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu,
.nav-menu li.is-open > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-menu::before,
.sub-menu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 14px;
}

.mega-title {
    display: block;
    margin-bottom: 12px;
    color: var(--pdh-accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.mega-menu a,
.sub-menu a {
    display: block;
    padding: 7px 0;
    color: var(--pdh-muted);
    font-size: 14px;
    font-weight: 750;
}

.mega-menu a:hover,
.sub-menu a:hover {
    color: var(--pdh-primary);
}

.sub-menu {
    display: block;
    min-width: 230px;
}

.mega-feature {
    padding: 18px;
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.mega-feature strong {
    display: block;
    margin-bottom: 8px;
}

.mega-feature p {
    margin-bottom: 10px;
    font-size: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    color: var(--pdh-ink);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--pdh-ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .menu-toggle span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(3) {
    opacity: 0;
}

.nav-open .menu-toggle span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0 86px;
    background: var(--pdh-white);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    gap: 42px;
    align-items: center;
}

.hero-copy {
    max-width: 600px;
}

.hero-copy h1 {
    margin-bottom: 20px;
}

.hero-lede {
    max-width: 580px;
    margin-bottom: 28px;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 560px;
}

.hero-proof div {
    padding: 16px;
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.hero-proof strong {
    display: block;
    color: var(--pdh-primary);
    font-size: 24px;
    line-height: 1;
}

.hero-proof span {
    display: block;
    margin-top: 6px;
    color: var(--pdh-muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-panel {
    position: relative;
    min-height: 620px;
}

.hero-image-wrap {
    position: absolute;
    inset: 0 0 70px 92px;
    overflow: hidden;
    margin: 0;
    background: var(--pdh-faint);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.estimate-card {
    position: relative;
    z-index: 2;
    width: min(100%, 390px);
    padding: 24px;
    margin-top: 72px;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow);
}

.estimate-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--pdh-border);
}

.estimate-header p {
    margin-bottom: 0;
    color: var(--pdh-ink);
    font-size: 14px;
    font-weight: 900;
}

.estimate-header strong {
    color: var(--pdh-accent);
    font-size: 34px;
    line-height: 1;
}

.estimate-form {
    display: grid;
    gap: 10px;
}

.estimate-form label,
.contact-form label {
    color: var(--pdh-ink);
    font-size: 13px;
    font-weight: 900;
}

.estimate-form select,
.estimate-form input,
.contact-form input,
.contact-form select,
.contact-form textarea,
.comment-form input,
.comment-form textarea,
.search-form input {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--pdh-ink);
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    outline: 0;
}

.estimate-form select:focus,
.estimate-form input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--pdh-primary);
    background: var(--pdh-white);
}

.page-counter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px 62px 42px;
    gap: 8px;
    align-items: end;
    padding: 12px;
    margin: 4px 0 8px;
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.page-counter span {
    display: grid;
    gap: 2px;
}

.page-counter small {
    color: var(--pdh-muted);
    font-size: 12px;
    font-weight: 700;
}

.page-counter input {
    padding-inline: 8px;
    text-align: center;
    background: var(--pdh-white);
}

.counter-button {
    min-height: 46px;
    color: var(--pdh-ink);
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    font-weight: 900;
}

.counter-button:hover {
    color: var(--pdh-white);
    background: var(--pdh-primary);
    border-color: var(--pdh-primary);
}

.trust-strip {
    background: var(--pdh-ink);
}

.trust-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(4, auto);
    gap: 24px;
    align-items: center;
    padding: 18px 0;
    color: var(--pdh-white);
}

.trust-grid span {
    font-size: 14px;
    opacity: 0.8;
}

.trust-grid strong {
    color: var(--pdh-white);
    font-size: 13px;
    white-space: nowrap;
}

/* Cards and grids */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card,
.price-card,
.review-card,
.directory-card,
.feature-row article,
.guarantee-grid article,
.tools-grid a,
.sidebar-card,
.post-card,
.hero-mini-card,
.contact-cards article,
.tool-panels article {
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
}

.service-card,
.directory-card {
    padding: 24px;
}

.service-card h3,
.directory-card h2 {
    margin-bottom: 12px;
}

.service-card h3 a,
.directory-card h2 a {
    color: inherit;
}

.service-card p,
.directory-card p {
    margin-bottom: 0;
}

.featured-card {
    color: var(--pdh-white);
    background: var(--pdh-primary);
    border-color: var(--pdh-primary);
}

.featured-card h3,
.featured-card p,
.featured-card a,
.featured-card .card-icon {
    color: var(--pdh-white);
}

.featured-card p {
    opacity: 0.9;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    color: var(--pdh-primary);
    background: var(--pdh-primary-soft);
    border-radius: var(--pdh-radius);
    font-size: 13px;
    font-weight: 900;
}

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

.steps-grid article {
    position: relative;
    padding: 32px 26px;
    border-top: 3px solid var(--pdh-primary);
    background: var(--pdh-white);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
}

.steps-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    color: var(--pdh-white);
    background: var(--pdh-accent);
    border-radius: 50%;
    font-weight: 900;
}

.steps-grid p {
    margin-bottom: 0;
}

.expert-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
    gap: 42px;
    align-items: center;
}

.expert-cards {
    display: grid;
    gap: 16px;
}

.expert-cards article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 16px;
    padding: 22px;
    color: var(--pdh-ink);
    background: var(--pdh-white);
    border-radius: var(--pdh-radius);
}

.expert-cards h3,
.expert-cards p,
.expert-cards strong {
    grid-column: 2;
}

.expert-cards h3 {
    margin-bottom: 0;
    font-size: 20px;
}

.expert-cards h3,
.expert-cards h3 a {
    color: var(--pdh-ink);
}

.expert-cards p {
    margin-bottom: 2px;
    color: var(--pdh-muted);
}

.expert-cards strong {
    color: var(--pdh-primary);
    font-size: 13px;
}

.expert-cards .text-link {
    color: var(--pdh-primary-dark);
}

.avatar-chip {
    grid-row: 1 / span 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: var(--pdh-white);
    background: var(--pdh-primary);
    border-radius: 50%;
    font-weight: 900;
}

.avatar-chip.accent {
    background: var(--pdh-accent);
}

.avatar-chip.gold {
    background: var(--pdh-gold);
}

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

.price-card {
    padding: 28px;
}

.price-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--pdh-muted);
    font-weight: 900;
}

.price-card strong {
    display: block;
    margin-bottom: 16px;
    color: var(--pdh-ink);
    font-size: 36px;
    line-height: 1;
}

.price-card.highlighted {
    border-color: var(--pdh-primary);
    box-shadow: 0 18px 45px rgba(15, 118, 110, 0.16);
}

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

.tools-grid a {
    display: grid;
    gap: 10px;
    padding: 22px;
    color: var(--pdh-ink);
}

.tools-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--pdh-primary);
    background: var(--pdh-primary-soft);
    border-radius: var(--pdh-radius);
    font-size: 13px;
    font-weight: 900;
}

.tools-grid small {
    color: var(--pdh-muted);
    font-weight: 650;
}

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

.review-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 26px;
}

.stars {
    margin-bottom: 14px;
    color: var(--pdh-gold);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
}

.review-card strong {
    display: block;
    color: var(--pdh-ink);
}

.review-card h3 {
    margin-bottom: 6px;
    font-size: 19px;
}

.review-assignment-meta {
    margin-bottom: 14px;
    color: var(--pdh-muted);
    font-size: 13px;
    font-weight: 650;
}

.review-card > p:not(.review-assignment-meta) {
    margin-bottom: 18px;
}

.review-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    color: var(--pdh-muted);
    font-size: 13px;
}

.review-card .text-link {
    margin-top: 12px;
}

.cta-band {
    padding: 58px 0;
    color: var(--pdh-white);
    background: var(--pdh-accent);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
}

.cta-band h2,
.cta-band p {
    color: var(--pdh-white);
}

.cta-band h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.article-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.article-toc {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 10px;
    padding: 20px;
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.article-toc strong {
    margin-bottom: 8px;
}

.article-toc a {
    color: var(--pdh-muted);
    font-size: 14px;
    font-weight: 800;
}

.rich-copy {
    max-width: 820px;
}

.entry-content {
    color: var(--pdh-ink);
}

.entry-content h2 {
    margin: 34px 0 16px;
    font-size: 32px;
}

.entry-content h3 {
    margin: 28px 0 12px;
}

.entry-content p,
.entry-content li {
    color: var(--pdh-muted);
    font-size: 17px;
}

.entry-content a {
    font-weight: 800;
}

.entry-content blockquote {
    margin: 34px 0;
    padding: 26px;
    color: var(--pdh-primary-dark);
    background: var(--pdh-primary-soft);
    border-left: 4px solid var(--pdh-primary);
    border-radius: var(--pdh-radius);
}

.entry-content table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.entry-content th,
.entry-content td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--pdh-border);
    text-align: left;
}

.entry-content th {
    color: var(--pdh-white);
    background: var(--pdh-primary);
}

.check-list {
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--pdh-muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 14px;
    height: 14px;
    background: var(--pdh-primary);
    border-radius: 50%;
}

.compact-list li {
    font-size: 14px;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1fr);
    gap: 50px;
    align-items: start;
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion-item {
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    overflow: hidden;
}

.accordion-item button {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 20px 22px;
    color: var(--pdh-ink);
    background: var(--pdh-white);
    border: 0;
    text-align: left;
    font-weight: 900;
}

.accordion-item button::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--pdh-primary);
    font-size: 22px;
    line-height: 1;
}

.accordion-item.is-open button::after {
    content: "-";
}

.accordion-panel {
    display: none;
    padding: 0 22px 20px;
}

.accordion-item.is-open .accordion-panel {
    display: block;
}

.accordion-panel p {
    margin-bottom: 0;
}

.final-cta {
    padding: 96px 0;
    background: var(--pdh-primary-soft);
}

.final-cta-inner {
    max-width: 760px;
    text-align: center;
}

.final-cta-inner h2 {
    margin-bottom: 18px;
}

/* Interior pages */
.content-page {
    background: var(--pdh-white);
}

.page-hero {
    padding: 74px 0;
    background: var(--pdh-panel);
    border-bottom: 1px solid var(--pdh-border);
}

.page-hero.compact {
    padding: 62px 0;
}

.page-hero h1 {
    max-width: 840px;
    margin-bottom: 18px;
    font-size: 48px;
}

.page-hero p:not(.eyebrow) {
    max-width: 700px;
    margin-bottom: 0;
    font-size: 18px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: center;
}

.hero-mini-card {
    padding: 24px;
}

.hero-mini-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.hero-mini-card p {
    margin-bottom: 18px;
}

/* Editorial post and page layouts */
.article-page {
    background: var(--pdh-white);
}

.article-hero {
    padding: 64px 0 56px;
    background: var(--pdh-panel);
    border-bottom: 1px solid var(--pdh-border);
}

.article-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 46px;
    align-items: center;
}

.article-hero-copy {
    min-width: 0;
}

.article-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--pdh-muted);
    font-size: 13px;
    font-weight: 800;
}

.article-breadcrumbs a,
.article-breadcrumbs span {
    color: inherit;
}

.article-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.article-kicker a,
.article-kicker span,
.article-chip-list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    color: var(--pdh-primary-dark);
    background: var(--pdh-primary-soft);
    border: 1px solid rgba(22, 128, 117, 0.18);
    border-radius: var(--pdh-radius-sm);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.article-hero h1 {
    max-width: 860px;
    margin-bottom: 18px;
    font-size: 52px;
    line-height: 1.02;
}

.article-summary {
    max-width: 780px;
    margin-bottom: 22px;
    color: var(--pdh-muted);
    font-size: 20px;
    line-height: 1.65;
}

.article-meta-row,
.article-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.article-meta-row {
    color: var(--pdh-muted);
    font-size: 14px;
    font-weight: 800;
}

.article-meta-row a {
    color: var(--pdh-primary-dark);
}

.article-chip-list {
    margin-top: 18px;
}

.article-hero-panel {
    align-self: stretch;
}

.article-hero-panel .article-side-card {
    height: 100%;
    margin: 0;
}

.article-reading-section {
    padding-top: 72px;
}

.article-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px) 300px;
    gap: 34px;
    align-items: start;
}

.article-left-rail,
.article-side-rail {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 18px;
}

.article-body {
    min-width: 0;
}

.article-featured-media {
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
}

.article-featured-media img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

.article-content {
    max-width: none;
}

.article-content h2,
.article-content h3 {
    scroll-margin-top: 120px;
}

.article-content > p:first-child {
    color: var(--pdh-ink);
    font-size: 19px;
}

.article-toc-panel {
    padding: 0;
    overflow: hidden;
    background: var(--pdh-white);
    box-shadow: var(--pdh-shadow-soft);
}

.article-toc-toggle {
    width: 100%;
    padding: 18px 18px 12px;
    color: var(--pdh-ink);
    background: transparent;
    border: 0;
    text-align: left;
    font-weight: 900;
    cursor: pointer;
}

.article-toc-toggle span {
    display: block;
}

.article-toc-links {
    display: grid;
    gap: 2px;
    padding: 0 18px 18px;
}

.article-toc-links a {
    display: block;
    padding: 8px 0;
    border-top: 1px solid var(--pdh-border);
}

.article-toc-links .toc-level-3 {
    padding-left: 12px;
    font-size: 13px;
}

.article-side-card,
.article-author-card,
.related-guide-card {
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
}

.article-side-card {
    padding: 22px;
}

.article-side-card h2 {
    margin-bottom: 10px;
    font-size: 23px;
}

.article-side-card .eyebrow {
    margin-bottom: 10px;
    color: var(--pdh-accent);
}

.article-side-card p {
    margin-bottom: 18px;
    color: var(--pdh-muted);
    font-size: 15px;
}

.article-service-list {
    display: grid;
    gap: 10px;
}

.article-service-list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    color: var(--pdh-ink);
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius-sm);
}

.article-service-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--pdh-white);
    background: var(--pdh-primary);
    border-radius: var(--pdh-radius-sm);
    font-size: 11px;
    font-weight: 900;
}

.article-service-list strong {
    min-width: 0;
    font-size: 14px;
}

.article-author-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-top: 42px;
    padding: 24px;
    background: var(--pdh-panel);
}

.article-author-card h2 {
    margin-bottom: 8px;
    font-size: 24px;
}

.article-author-card p:last-child {
    margin-bottom: 0;
    color: var(--pdh-muted);
}

.article-tags {
    margin-top: 34px;
}

.post-navigation {
    margin-top: 34px;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.post-navigation a {
    display: grid;
    gap: 4px;
    min-height: 92px;
    padding: 18px;
    color: var(--pdh-ink);
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.post-navigation span {
    color: var(--pdh-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.post-navigation strong {
    font-size: 16px;
}

.article-related-section {
    border-top: 1px solid var(--pdh-border);
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.related-guide-card {
    overflow: hidden;
}

.related-guide-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    color: var(--pdh-primary);
    background: var(--pdh-primary-soft);
    font-weight: 900;
}

.related-guide-media img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
}

.related-guide-body {
    padding: 20px;
}

.related-guide-body h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.related-guide-body h3 a {
    color: var(--pdh-ink);
}

.related-guide-body p {
    margin-bottom: 0;
    color: var(--pdh-muted);
    font-size: 15px;
}

/* Custom post type detail pages */
.cpt-single-page {
    background: var(--pdh-white);
}

.cpt-hero {
    padding: 68px 0;
    background: linear-gradient(180deg, var(--pdh-panel), var(--pdh-white));
    border-bottom: 1px solid var(--pdh-border);
}

.cpt-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: center;
}

.cpt-hero-copy h1 {
    max-width: 860px;
    margin-bottom: 18px;
    font-size: 54px;
    line-height: 1.02;
}

.cpt-fact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.cpt-fact-grid div {
    padding: 14px;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius-sm);
}

.cpt-fact-grid span {
    display: block;
    margin-bottom: 5px;
    color: var(--pdh-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.cpt-fact-grid strong {
    display: block;
    color: var(--pdh-ink);
    font-size: 16px;
    line-height: 1.25;
}

.cpt-hero-card {
    padding: 26px;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
}

.cpt-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    color: var(--pdh-white);
    background: var(--pdh-primary);
    border-radius: var(--pdh-radius-sm);
    font-weight: 900;
}

.cpt-hero-card h2 {
    margin-bottom: 10px;
    font-size: 26px;
}

.cpt-hero-card p {
    margin-bottom: 20px;
    color: var(--pdh-muted);
}

.cpt-action-stack {
    display: grid;
    gap: 10px;
}

.cpt-detail-section {
    background: var(--pdh-white);
}

.cpt-detail-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px) 300px;
    gap: 34px;
    align-items: start;
}

.cpt-detail-layout.no-toc {
    grid-template-columns: minmax(0, 820px) 320px;
    justify-content: center;
}

.cpt-detail-layout.no-toc .cpt-left-rail {
    display: none;
}

.cpt-left-rail,
.cpt-side-rail {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 18px;
}

.cpt-main-column {
    min-width: 0;
}

.cpt-rich-content {
    max-width: none;
}

.cpt-rich-content > p:first-child {
    color: var(--pdh-ink);
    font-size: 20px;
    line-height: 1.7;
}

.cpt-feature-panel {
    margin-top: 42px;
    padding: 28px;
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.compact-heading {
    margin-bottom: 18px;
}

.compact-heading h2 {
    margin-bottom: 0;
    font-size: 30px;
}

.cpt-bullet-grid,
.cpt-price-grid,
.review-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cpt-bullet-grid article,
.cpt-price-grid div,
.review-detail-grid div {
    padding: 18px;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius-sm);
}

.cpt-bullet-grid article {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
}

.cpt-bullet-grid span {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    background: var(--pdh-accent);
    border-radius: 50%;
}

.cpt-bullet-grid p {
    margin-bottom: 0;
    color: var(--pdh-muted);
}

.cpt-price-grid span,
.review-detail-grid span {
    display: block;
    margin-bottom: 8px;
    color: var(--pdh-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.cpt-price-grid strong,
.review-detail-grid strong {
    color: var(--pdh-primary-dark);
    font-size: 20px;
}

.cpt-price-grid strong {
    font-size: 28px;
}

.cpt-supporting-copy {
    margin-bottom: 0;
    color: var(--pdh-muted);
    font-size: 18px;
}

.cpt-facts-card .cpt-fact-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
}

.cpt-facts-card .cpt-fact-grid div {
    background: var(--pdh-panel);
}

.cpt-related-section {
    border-top: 1px solid var(--pdh-border);
}

.cpt-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.cpt-related-card {
    padding: 22px;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
}

.cpt-related-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.cpt-related-card h3 a {
    color: var(--pdh-ink);
}

.cpt-related-card p {
    color: var(--pdh-muted);
    font-size: 15px;
}

.service-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.directory-card.large-card {
    grid-column: span 2;
    background: var(--pdh-primary-soft);
}

.subject-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.subject-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 15px;
    color: var(--pdh-ink);
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    font-weight: 800;
}

.subject-cloud a:hover,
.subject-cloud a:focus {
    color: var(--pdh-white);
    background: var(--pdh-primary);
    border-color: var(--pdh-primary);
}

.subject-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.subject-detail-card {
    padding: 22px;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
    scroll-margin-top: 110px;
}

.subject-detail-card h3 {
    margin-bottom: 10px;
}

.subject-detail-card p {
    margin-bottom: 14px;
}

.compact-list {
    gap: 8px;
    margin-bottom: 14px;
    font-size: 14px;
}

.pricing-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 30px;
    align-items: start;
}

.pricing-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
}

.pricing-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: var(--pdh-white);
}

.pricing-table th,
.pricing-table td {
    padding: 18px;
    border-bottom: 1px solid var(--pdh-border);
    text-align: left;
}

.pricing-table th {
    color: var(--pdh-white);
    background: var(--pdh-primary);
}

.pricing-table td:not(:first-child) {
    color: var(--pdh-primary);
    font-size: 20px;
    font-weight: 900;
}

.sticky-card {
    position: sticky;
    top: 100px;
    margin-top: 0;
}

.feature-row,
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-row article,
.guarantee-grid article {
    padding: 24px;
}

.feature-row strong,
.guarantee-grid h2 {
    display: block;
    margin-bottom: 8px;
    font-size: 21px;
}

.guarantee-grid article span {
    color: var(--pdh-accent);
    font-size: 13px;
    font-weight: 900;
}

.faq-wide {
    max-width: 880px;
}

.tool-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.tool-panels article {
    padding: 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
}

.about-stats {
    display: grid;
    gap: 14px;
}

.about-expert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-stats div {
    padding: 24px;
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.about-stats strong {
    display: block;
    color: var(--pdh-primary);
    font-size: 36px;
    line-height: 1;
}

.about-stats span {
    display: block;
    margin-top: 8px;
    color: var(--pdh-muted);
    font-weight: 800;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 32px;
}

.contact-cards {
    display: grid;
    gap: 16px;
}

.contact-cards article {
    padding: 24px;
}

.contact-cards h2 {
    margin-bottom: 6px;
    font-size: 24px;
}

.contact-cards a {
    font-weight: 800;
    word-break: break-word;
}

.contact-form {
    display: grid;
    gap: 12px;
    padding: 28px;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
}

.contact-form textarea {
    resize: vertical;
}

.narrow-content {
    max-width: 840px;
}

/* Blog */
.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
}

.post-list {
    display: grid;
    gap: 22px;
}

.post-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    overflow: hidden;
}

.post-card-media {
    min-height: 220px;
    background: var(--pdh-primary-soft);
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--pdh-primary);
    font-size: 32px;
    font-weight: 900;
}

.post-card-body {
    padding: 24px;
}

.post-card h2 {
    margin-bottom: 10px;
    font-size: 26px;
}

.post-card h2 a {
    color: var(--pdh-ink);
}

.pricing-table a,
.guarantee-grid h2 a,
.expert-cards h3 a,
.tool-panels h2 a {
    color: var(--pdh-ink);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 12px;
    color: var(--pdh-muted);
    font-size: 13px;
    font-weight: 800;
}

.post-excerpt p {
    margin-bottom: 14px;
}

.sidebar {
    display: grid;
    gap: 18px;
}

.sidebar-card,
.pdh-widget {
    padding: 24px;
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    box-shadow: var(--pdh-shadow-soft);
}

.sidebar-card h2,
.widget-title {
    margin-bottom: 12px;
    font-size: 22px;
}

.sidebar-card p {
    font-size: 15px;
}

.pdh-widget ul {
    padding-left: 18px;
}

.featured-image {
    margin: 0 0 32px;
    overflow: hidden;
    border-radius: var(--pdh-radius);
}

.post-content {
    min-width: 0;
}

.post-tags {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--pdh-border);
}

.post-tags a {
    display: inline-flex;
    margin: 4px 6px 4px 0;
    padding: 6px 10px;
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    font-size: 13px;
    font-weight: 800;
}

.comments-area {
    margin-top: 52px;
    padding-top: 34px;
    border-top: 1px solid var(--pdh-border);
}

.comments-title,
.comment-reply-title {
    font-size: 26px;
}

.comment-list {
    padding: 0;
    list-style: none;
}

.comment-body {
    margin-bottom: 18px;
    padding: 18px;
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

.comment-form {
    display: grid;
    gap: 12px;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
}

.pagination-wrap {
    margin-top: 22px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    color: var(--pdh-ink);
    background: var(--pdh-white);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
    font-weight: 800;
}

.page-numbers.current {
    color: var(--pdh-white);
    background: var(--pdh-primary);
    border-color: var(--pdh-primary);
}

.empty-state {
    padding: 42px;
    text-align: center;
    background: var(--pdh-panel);
    border: 1px solid var(--pdh-border);
    border-radius: var(--pdh-radius);
}

/* Footer */
.site-footer {
    position: relative;
    background: var(--pdh-ink);
    color: var(--pdh-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(170px, 1fr));
    gap: 36px;
    padding: 70px 0 40px;
}

.footer-logo strong,
.footer-logo em {
    color: var(--pdh-white);
}

.footer-brand p,
.footer-links a,
.footer-contact a,
.disclaimer,
.copyright-row,
.site-footer h2 {
    color: rgba(255, 255, 255, 0.76);
}

.footer-brand p {
    max-width: 360px;
}

.footer-contact {
    display: grid;
    gap: 8px;
}

.footer-contact a {
    font-weight: 800;
}

.site-footer h2 {
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a {
    font-size: 14px;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--pdh-white);
}

.footer-lower {
    padding: 28px 0 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.payment-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.payment-strip span {
    padding: 7px 10px;
    color: var(--pdh-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--pdh-radius);
    font-size: 12px;
    font-weight: 900;
}

.disclaimer {
    max-width: 980px;
    margin: 0 auto 24px;
    text-align: center;
    font-size: 12px;
}

.copyright-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}

.floating-chat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 14px 8px 8px;
    color: var(--pdh-white);
    background: var(--pdh-primary);
    border-radius: 999px;
    box-shadow: var(--pdh-shadow);
}

.floating-chat span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--pdh-primary);
    background: var(--pdh-white);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}

.floating-chat strong {
    color: var(--pdh-white);
}

@media (max-width: 1120px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    .header-inner {
        grid-template-columns: auto auto;
    }

    .primary-navigation {
        position: fixed;
        inset: 122px 0 auto;
        display: none;
        max-height: calc(100vh - 122px);
        overflow-y: auto;
        background: var(--pdh-white);
        border-bottom: 1px solid var(--pdh-border);
        box-shadow: var(--pdh-shadow);
    }

    .nav-open .primary-navigation {
        display: block;
    }

    .nav-menu {
        display: grid;
        width: min(100% - 40px, 720px);
        gap: 0;
        padding: 18px 0;
        margin-inline: auto;
    }

    .nav-menu > li > a {
        width: 100%;
        justify-content: space-between;
        padding: 14px 0;
        border-bottom: 1px solid var(--pdh-border);
        border-radius: 0;
    }

    .mega-menu,
    .sub-menu {
        position: static;
        display: grid;
        min-width: 0;
        padding: 16px;
        margin: 0 0 12px;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .mega-menu::before,
    .sub-menu::before {
        display: none;
    }

    .sub-menu {
        display: block;
    }

    .header-actions {
        justify-self: end;
    }

    .header-phone,
    .header-actions .button-small {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .expert-layout,
    .faq-layout,
    .pricing-page-grid,
    .article-hero-grid,
    .article-layout,
    .cpt-hero-grid,
    .cpt-detail-layout,
    .cpt-detail-layout.no-toc,
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .article-left-rail,
    .article-side-rail,
    .cpt-left-rail,
    .cpt-side-rail {
        position: static;
    }

    .article-left-rail,
    .cpt-left-rail {
        order: -1;
    }

    .article-side-rail,
    .cpt-side-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cpt-detail-layout.no-toc .cpt-left-rail {
        display: none;
    }

    .hero-panel {
        min-height: auto;
    }

    .hero-image-wrap {
        position: relative;
        inset: auto;
        height: 430px;
        margin-left: 110px;
    }

    .estimate-card {
        margin: 0 0 -210px;
    }

    .service-grid,
    .tools-grid,
    .article-related-grid,
    .cpt-related-grid,
    .subject-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading.split {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .trust-grid span {
        grid-column: 1 / -1;
    }

    .sticky-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 28px, 1220px);
    }

    .section,
    .final-cta {
        padding: 64px 0;
    }

    h1,
    .page-hero h1,
    .article-hero h1,
    .cpt-hero-copy h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 31px;
    }

    .hero-section {
        padding-top: 54px;
    }

    .hero-proof,
    .steps-grid,
    .pricing-grid,
    .reviews-grid,
    .service-directory,
    .subject-detail-grid,
    .feature-row,
    .guarantee-grid,
    .about-grid,
    .contact-grid,
    .article-grid,
    .footer-grid,
    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .article-hero {
        padding: 50px 0;
    }

    .article-summary {
        font-size: 17px;
    }

    .article-side-rail,
    .article-related-grid,
    .cpt-side-rail,
    .cpt-related-grid,
    .cpt-fact-grid,
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .cpt-hero {
        padding: 52px 0;
    }

    .cpt-bullet-grid,
    .cpt-price-grid {
        grid-template-columns: 1fr;
    }

    .article-author-card {
        grid-template-columns: 1fr;
    }

    .about-expert-grid {
        grid-template-columns: 1fr;
    }

    .directory-card.large-card {
        grid-column: span 1;
    }

    .hero-image-wrap {
        height: 320px;
        margin-left: 48px;
    }

    .estimate-card {
        width: min(100%, 360px);
        margin-bottom: -150px;
    }

    .tools-grid,
    .service-grid,
    .tool-panels {
        grid-template-columns: 1fr;
    }

    .expert-cards article {
        grid-template-columns: 1fr;
    }

    .expert-cards h3,
    .expert-cards p,
    .expert-cards strong {
        grid-column: 1;
    }

    .avatar-chip {
        grid-row: auto;
    }

    .cta-inner,
    .copyright-row,
    .announcement-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-inner {
        display: grid;
    }

    .article-toc {
        position: static;
    }

    .article-toc-panel:not(.is-open) .article-toc-links {
        display: none;
    }

    .post-card {
        grid-template-columns: 1fr;
    }

    .post-card-media {
        min-height: 210px;
    }

    .floating-chat {
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 560px) {
    .site-announcement {
        font-size: 12px;
    }

    .header-inner {
        min-height: 68px;
        gap: 12px;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
    }

    .brand-mark strong {
        font-size: 16px;
    }

    .brand-mark em {
        font-size: 12px;
    }

    .primary-navigation {
        inset: 110px 0 auto;
        max-height: calc(100vh - 110px);
    }

    .mega-menu {
        grid-template-columns: 1fr;
    }

    h1,
    .page-hero h1,
    .article-hero h1,
    .cpt-hero-copy h1 {
        font-size: 33px;
    }

    h2 {
        font-size: 28px;
    }

    .hero-lede,
    .section-heading p,
    .page-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-image-wrap {
        height: 250px;
        margin-left: 0;
        margin-top: 18px;
    }

    .estimate-card {
        width: 100%;
        margin-bottom: 0;
    }

    .hero-panel {
        display: flex;
        flex-direction: column;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .page-counter {
        grid-template-columns: 1fr 42px 62px 42px;
    }

    .estimate-header strong {
        font-size: 28px;
    }

    .price-card strong {
        font-size: 30px;
    }
}
