/* CMS static pages */
.cms-section {
    padding: 4rem 0 6rem;
}

.cms-section-wrapper {
    width: 100%;
}

.simple-page {
    width: 100%;
    max-width: 780px;
    margin: 10px auto;
}

.simple-page h1,
.simple-page h2 {
    margin: 20px 0 !important;
    display: inline-block;
}

.simple-page p,
.simple-page li {
    line-height: 24px;
}

.simple-page ul {
    margin-top: 10px;
}

.simple-page .static-page-content img {
    max-width: 100%;
    height: auto;
}

.simple-page .page-subtitle {
    margin: 1rem 0 1.5rem;
    font-size: 1.25rem;
    font-weight: 500;
}

.simple-page .single-lead-media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Contact page */
.simple-page.contact .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.simple-page.contact .contact-image img {
    max-width: 100%;
    border-radius: 12px;
}

.simple-page.contact .contact-form-wrapper #submitBtn {
    background-color: #f2ccff;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .simple-page.contact .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* FAQ */
.cms-faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.cms-faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 0;
}

.cms-faq-item-question {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cms-faq-item-answer {
    line-height: 1.6;
}

/* Testimonials grid (CMS) */
.cms-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cms-testimonial-card {
    background: #fff;
    border: 1px solid #f2ccff;
    border-radius: 16px;
    padding: 1.5rem;
}

.cms-testimonial-card figure {
    margin-bottom: 1rem;
}

.cms-testimonial-card figure img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.cms-testimonial-card blockquote {
    margin: 0 0 1rem;
    line-height: 1.6;
}

.cms-testimonial-card cite {
    font-style: normal;
    font-weight: 600;
}

/* Partners grid (CMS) */
.cms-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.cms-partner-item {
    text-align: center;
    padding: 1rem;
}

.cms-partner-item img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
}

/* Single post share tooltip */
.single-blog-social-item.copy {
    position: relative;
}

.single-blog-social-item .tooltip {
    display: block;
    position: absolute;
    left: 37px;
    font-size: 16px;
}

.single-blog .single-blog-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
}

.single-blog .single-blog-wrapper .single-blog-content p {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    line-height: 22px !important;
    color: #000;
}

.single-blog .single-blog-wrapper .single-blog-content h1,
.single-blog .single-blog-wrapper .single-blog-content h2,
.single-blog .single-blog-wrapper .single-blog-content h3 {
    margin-top: 1.2rem !important;
    display: inline-block;
}

.single-blog .single-blog-wrapper .single-blog-content .blog-excerpt {
    margin-bottom: 30px !important;
}

.single-blog-wrapper .single-blog-content ul li {
    color: #000;
}

.single-blog-wrapper .single-blog-content a {
    color: #3d2334;
}

.single-blog-wrapper .single-blog-content a:hover {
    color: #ffc127;
}

.related-blogs h2 {
    margin-top: 20px;
    margin-bottom: 2.2rem !important;
}

.single-blog-content table {
    margin: 20px 0;
    width: 100%;
}

.single-blog-content table td,
.single-blog-content table th {
    border: 1px solid #ccc;
    padding: 10px 20px;
}

.blog .category-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.blog .category-wrapper a {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
}

.blog .category-wrapper a.active,
.blog .category-wrapper a:hover {
    border-color: #f2ccff;
    background: #fdf4ff;
}

.cms-empty-state {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}
