.pes {
    background: #f4f1ea;
    padding: 4.5rem 0 5rem;
    color: #10243e;
}

.pes__wrap {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.pes-block + .pes-block {
    margin-top: 3.5rem;
}

.pes__title {
    margin: 0 0 1.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f2744;
}

.pes-table-shell {
    overflow: hidden;
    border: 1px solid #e4ddd0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 28px rgb(16 36 62 / 5%);
}

.pes-table {
    width: 100%;
    border-collapse: collapse;
}

.pes-table th,
.pes-table td {
    padding: 1rem 1.15rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eee8dc;
    font-size: 0.95rem;
    line-height: 1.45;
}

.pes-table th {
    background: #fbfaf7;
    color: #5b6b7c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pes-table tbody tr:last-child td {
    border-bottom: 0;
}

.pes-table td strong {
    color: #0f2744;
    font-weight: 700;
}

.pes__note {
    margin: 0.85rem 0 0;
    color: #8a97a6;
    font-size: 0.84rem;
    line-height: 1.5;
}

.pes-examples {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.pes-example {
    display: block;
    padding: 1rem;
    border: 1px solid #e4ddd0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 28px rgb(16 36 62 / 5%);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.pes-example:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgb(16 36 62 / 9%);
}

.pes-example__media {
    overflow: hidden;
    border-radius: 0.75rem;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #d8c7f0 0%, #f3c4d8 100%);
}

.pes-example__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pes-example__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d8c7f0 0%, #f3c4d8 100%);
}

.pes-example h3 {
    margin: 0.95rem 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f2744;
}

.pes-example p {
    margin: 0;
    color: #667783;
    font-size: 0.92rem;
    line-height: 1.5;
}

.pes-faqs {
    display: grid;
    gap: 0.75rem;
}

.pes-faq {
    overflow: hidden;
    border: 1px solid #e4ddd0;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 8px 22px rgb(16 36 62 / 4%);
}

.pes-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.05rem 1.15rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f2744;
}

.pes-faq summary::-webkit-details-marker {
    display: none;
}

.pes-faq summary::before {
    content: "▶";
    flex: none;
    margin-top: 0.15rem;
    color: #0f2744;
    font-size: 0.72rem;
    line-height: 1;
    transition: transform 0.15s ease;
}

.pes-faq[open] summary::before {
    content: "▼";
}

.pes-faq__body {
    padding: 0 1.15rem 1.15rem 2.35rem;
}

.pes-faq__body p {
    margin: 0;
    color: #667783;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

@media (max-width: 900px) {
    .pes-examples {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .pes {
        padding: 3.25rem 0 3.75rem;
    }

    .pes-table thead {
        display: none;
    }

    .pes-table,
    .pes-table tbody,
    .pes-table tr,
    .pes-table td {
        display: block;
        width: 100%;
    }

    .pes-table tr {
        padding: 0.85rem 0;
        border-bottom: 1px solid #eee8dc;
    }

    .pes-table tr:last-child {
        border-bottom: 0;
    }

    .pes-table td {
        border: 0;
        padding: 0.35rem 1.15rem;
    }

    .pes-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.15rem;
        color: #8a97a6;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
}
