/**
 * CMS pages (About Us, FAQ, etc.) — Figma layout
 */

.ye-cms-page{
     --ye-discover-hero-height: var(--inner-banner-img);
    background: var(--primary-light);
}


.ye-cms-page__shell {
    width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding-tb) var(--container-padding-lr);
    max-width: 100%;
}

.ye-cms-page__card {
    background: var(--white-color);
    /* border: 1px solid var(--border-color); */
    border-radius: 16px;
    /* box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); */
    padding:25px;
     max-width: 100%;
}

.ye-cms-page__intro {
    display: grid;
    grid-template-columns: minmax(0, 485px) minmax(0, 1fr);
    gap: 32px   ;
    align-items: start;
}

.ye-cms-page__intro--no-image {
    grid-template-columns: minmax(0, 1fr);
}

.ye-cms-page__image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.ye-cms-page__content,
.ye-cms-page__bottom {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ye-cms-muted);
}

.ye-cms-page__content :is(h1, h2, h3, h4),
.ye-cms-page__bottom :is(h1, h2, h3, h4) {
    color: var(--ye-cms-text);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}

.ye-cms-page__content h2,
.ye-cms-page__bottom h2,
.ye-cms-page__content h2 strong, .ye-cms-page__bottom h2 strong {
    font-size: var(--font-size-28);
    line-height:var(--line-height-38);
    color: var(--gray-color);
    font-weight: 600;
}


.ye-cms-page__content h3,
.ye-cms-page__bottom h3 {
    font-size: 1.125rem;
    margin-top: 20px;
}

.ye-cms-page__content p, .ye-cms-page__bottom p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 24px;
    color: var(--gray-color);
}

.ye-cms-page__content p:last-child,
.ye-cms-page__bottom p:last-child {
    margin-bottom: 0;
}

.ye-cms-page__content ul,
.ye-cms-page__bottom ul,
.ye-cms-page__content ol,
.ye-cms-page__bottom ol {
    margin: 0 0 16px;
    padding-left: 1.25rem;
    list-style: disc;
}

.ye-cms-page__content strong, .ye-cms-page__bottom strong {
    color: var(--ye-cms-text);
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
    width: 100%;
    line-height: 26px;
    font-size: var(--font-size-18);
}
/* 
 .ye-cms-page__content p:first-child {
    color: var(--ye-cms-text);
    font-weight: 600;
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 10px;
} */
.ye-cms-page__content h3 {
    margin: 0 0 8px;
    font-size: var(--font-size-18);
    line-height: 26px;
    font-weight: 400;
    padding-bottom: 16px;
    border-bottom: 0.5px dashed var(--border-color);
} */


.ye-cms-page__bottom {
    margin-top: 25px;
    padding-top: 0;
    border-top: 0;
}
.ye-cms-page__bottom strong {
    color: var(--ye-cms-text);
    font-weight: 600;
    font-size: var(--font-size-18);
    color: var(--gray-color);
    line-height: 26px;
}




@media (max-width:1199px) {

}




@media (max-width: 640px) {
    .ye-cms-page__shell {
        padding: 26px 16px 26px;
    }

    .ye-cms-page__intro {
        grid-template-columns: minmax(0, 1fr);
    }

    .ye-cms-page__image {
        max-width: 280px;
        margin: 0 auto;
    }
}
