/**
 * Single: psoft_process_step — isolated .ps-process-step-single*
 */

/* Базовий клас site-main--single-process-step — лише маркер CPT; spacing лише в модифікаторах нижче. */
.site-main--single-process-step--simple {
    padding-top: 48px;
    padding-bottom: 80px;
    background: var(--white);
}

.site-main--single-process-step--sections {
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}

/* Outer: стандартна контентна ширина теми — клас .layout-container.ps-process-step-single__container (див. theme.css .layout-container). */

/* Внутрішня «рейка» для основного тексту (~47.5rem ≈ 760px при 16px — комфортна довжина рядка). */
.ps-process-step-single__content-rail {
    width: 100%;
}

.ps-process-step-single .ps-breadcrumbs {
    margin: 0 0 20px;
}

.ps-process-step-single__back-wrap {
    margin: 0 0 28px;
}

.ps-process-step-single__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-secondary);
    text-decoration: none;
}

.ps-process-step-single__back:hover,
.ps-process-step-single__back:focus-visible {
    text-decoration: underline;
}

.ps-process-step-single__back:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 6px;
}

.ps-process-step-single__back-icon {
    font-size: 18px;
    font-variation-settings: "wght" 400, "opsz" 24;
}

.ps-process-step-single__title {
    margin: 0 0 28px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
    max-width: min(52rem, 100%);
}

.ps-process-step-single__content {
    font-size: var(--text-base-size);
    line-height: var(--text-base-line);
    color: var(--gray-700);
}

.site-main--single-process-step--simple .ps-process-step-single__content > :first-child {
    margin-top: 0;
}

.site-main--single-process-step--simple .ps-process-step-single__content > :last-child {
    margin-bottom: 0;
}

.site-main--single-process-step--simple .ps-process-step-single__content p,
.site-main--single-process-step--simple .ps-process-step-single__content .wp-block-paragraph {
    margin: 0 0 1rem;
}

.site-main--single-process-step--simple .ps-process-step-single__content h2 {
    margin: 2rem 0 0.65rem;
    font-size: var(--text-3xl-size);
    line-height: var(--text-3xl-line);
    font-weight: 700;
    color: var(--color-secondary);
}

.site-main--single-process-step--simple .ps-process-step-single__content h3 {
    margin: 1.75rem 0 0.55rem;
    font-size: var(--text-xl-size);
    line-height: var(--text-xl-line);
    font-weight: 700;
    color: var(--color-secondary);
}

.site-main--single-process-step--simple .ps-process-step-single__content h4 {
    margin: 1.5rem 0 0.45rem;
    font-size: var(--text-lg-size);
    line-height: var(--text-lg-line);
    font-weight: 700;
    color: var(--gray-800);
}

.site-main--single-process-step--simple .ps-process-step-single__content ul,
.site-main--single-process-step--simple .ps-process-step-single__content ol,
.site-main--single-process-step--simple .ps-process-step-single__content .wp-block-list {
    margin: 0 0 1.15rem;
    padding-left: 1.35rem;
}

.site-main--single-process-step--simple .ps-process-step-single__content li {
    margin-bottom: 0.45rem;
}

.site-main--single-process-step--simple .ps-process-step-single__content li > ul,
.site-main--single-process-step--simple .ps-process-step-single__content li > ol {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
}

.site-main--single-process-step--simple .ps-process-step-single__content blockquote,
.site-main--single-process-step--simple .ps-process-step-single__content .wp-block-quote {
    margin: 1.35rem 0;
    padding: 16px 20px 16px 20px;
    border-left: 4px solid rgba(246, 193, 46, 0.45);
    background: rgba(249, 250, 251, 0.9);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--gray-600);
}

.site-main--single-process-step--simple .ps-process-step-single__content blockquote cite,
.site-main--single-process-step--simple .ps-process-step-single__content .wp-block-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: var(--text-sm-size);
    font-style: normal;
    color: var(--gray-500);
}

.site-main--single-process-step--simple .ps-process-step-single__content a {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-main--single-process-step--simple .ps-process-step-single__content a:hover,
.site-main--single-process-step--simple .ps-process-step-single__content a:focus-visible {
    color: var(--color-blue-dark);
}

.site-main--single-process-step--simple .ps-process-step-single__content .wp-block-table {
    margin: 1.25rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.site-main--single-process-step--simple .ps-process-step-single__content .wp-block-table table,
.site-main--single-process-step--simple .ps-process-step-single__content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm-size);
    line-height: 1.5;
}

.site-main--single-process-step--simple .ps-process-step-single__content th,
.site-main--single-process-step--simple .ps-process-step-single__content td {
    border: 1px solid var(--gray-200);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.site-main--single-process-step--simple .ps-process-step-single__content th {
    background: var(--gray-50);
    font-weight: 700;
    color: var(--color-secondary);
}

.site-main--single-process-step--simple .ps-process-step-single__content strong {
    font-weight: 700;
    color: var(--gray-900);
}

.site-main--single-process-step--simple .ps-process-step-single__content img {
    height: auto;
    border-radius: 8px;
}
