/* ==========================================================================
   Section: product-content — WYSIWYG text block (Figma 15:342)
   Centered (or left) prose with styled h2/h3/p/lists/links.
   ========================================================================== */

.sec-pc {
    background: var(--pc-bg, #fff);
}

.pc__inner {
    max-width: 768px;
    margin-inline: auto;
    padding: 80px var(--pad-x);
}

.sec-pc--center .pc__text {
    text-align: center;
}

.sec-pc--left .pc__text {
    text-align: left;
}

/* --------------------------------------------------------------------------
   WYSIWYG typography (shared look with product-media-text)
   -------------------------------------------------------------------------- */
.pc__text {
    color: var(--c-ink);
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.5;
}

.pc__text > :first-child { margin-top: 0; }
.pc__text > :last-child { margin-bottom: 0; }

.pc__text h2 {
    margin: 0 0 24px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.2;
}

.pc__text h3 {
    margin: 32px 0 16px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.25;
}

.pc__text p {
    margin: 0 0 18px;
}

.pc__text ul,
.pc__text ol {
    margin: 0 0 18px;
    padding-left: 1.4em;
    text-align: left;
}

/* Bullet lists → pink check markers (benefit lists); ol keeps numbers */
.pc__text ul {
    list-style: none;
    padding-left: 0;
}

.pc__text ul li {
    position: relative;
    padding-left: 2em;
}

.pc__text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.1em;
    height: 1.1em;
    background-color: var(--c-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Centered layout: keep lists readable (items left) but block centered */
.sec-pc--center .pc__text ul,
.sec-pc--center .pc__text ol {
    display: inline-block;
    text-align: left;
}

.pc__text li {
    margin-bottom: 8px;
}

.pc__text li:last-child {
    margin-bottom: 0;
}

.pc__text a {
    color: var(--c-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pc__text a:hover,
.pc__text a:focus-visible {
    text-decoration: none;
}

.pc__text strong {
    font-weight: 600;
}

/* Optional 2-column list (e.g. product benefits) — placed after the
   centered-list rule so it wins at equal specificity. */
.sec-pc--list-2col .pc__text ul {
    display: block;
    column-count: 2;
    column-gap: 48px;
    max-width: 640px;
    margin-inline: auto;
    text-align: left;
}

.sec-pc--list-2col .pc__text ul li {
    break-inside: avoid;
}

@media (max-width: 1023px) {
    .pc__inner {
        padding-block: 56px;
    }
}

@media (max-width: 639px) {
    .sec-pc--list-2col .pc__text ul {
        column-count: 1;
    }
}
