/* ── CMS Public Styles ── DEV-1078 */

.cms-page {
    padding: 40px 0;
}

/* Row */
.cms-row-public {
    margin-bottom: 0;
}
.cms-row-inner.cms-boxed {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.cms-row-inner.cms-fullwidth {
    width: 100%;
}

/* Grid */
.cms-grid {
    display: grid;
    gap: 24px;
    padding: 24px 0;
}
.cms-grid-1 { grid-template-columns: 1fr; }
.cms-grid-2 { grid-template-columns: 1fr 1fr; }
.cms-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.cms-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

@media (max-width: 768px) {
    .cms-grid-2, .cms-grid-3, .cms-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Text */
.cms-block-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
.cms-block-text h2 { font-size: 28px; font-weight: 700; margin: 32px 0 12px; color: #232323; }
.cms-block-text h3 { font-size: 22px; font-weight: 600; margin: 24px 0 8px; color: #232323; }
.cms-block-text p { margin-bottom: 16px; }
.cms-block-text ul, .cms-block-text ol { margin: 12px 0 16px 24px; }
.cms-block-text a { color: #733168; }

/* Hero */
.cms-hero {
    text-align: center;
    padding: 80px 24px;
}
.cms-hero h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #232323;
    margin-bottom: 16px;
}
.cms-hero-sub {
    font-size: 18px;
    color: #7B7B7B;
    max-width: 600px;
    margin: 0 auto 32px;
}
.cms-hero-cta {
    display: inline-block;
    background: #733168;
    color: #fff;
    padding: 14px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s;
}
.cms-hero-cta:hover { background: #5a2652; }

/* FAQ */
.cms-faq { margin: 16px 0; }
.cms-faq-item {
    border: 1px solid rgba(139,201,223,0.3);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
}
.cms-faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}
.cms-faq-item summary:hover { background: rgba(139,201,223,0.06); }
.cms-faq-answer {
    padding: 0 20px 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Testimonials */
.cms-testimonials { display: grid; gap: 16px; }
.cms-testimonial {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin: 0;
}
.cms-testimonial p { font-size: 15px; line-height: 1.6; font-style: italic; margin-bottom: 12px; }
.cms-testimonial cite { font-size: 13px; color: #733168; font-weight: 600; font-style: normal; }

/* USPs */
.cms-usps {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 0;
}
.cms-usp {
    flex: 0 0 200px;
    text-align: center;
    padding: 20px;
}
.cms-usp-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.cms-usp strong { display: block; margin-bottom: 6px; font-size: 15px; }
.cms-usp p { font-size: 13px; color: #7B7B7B; }

/* CTA */
.cms-cta {
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(135deg, rgba(115,49,104,0.06), rgba(139,201,223,0.1));
    border-radius: 16px;
}
.cms-cta h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.cms-cta-btn,
.cms-block-text a.cms-cta-btn {
    display: inline-block;
    background: #733168;
    color: #fff;
    padding: 14px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.cms-cta-btn:hover,
.cms-block-text a.cms-cta-btn:hover { background: #5a2652; color: #fff; }

/* Recipe */
.cms-recipe {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.cms-recipe h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.cms-recipe ul, .cms-recipe ol { margin: 12px 0 16px 24px; }
.cms-recipe li { margin-bottom: 6px; }

/* Video */
.cms-video { margin: 16px 0; }

/* App Stores */
.cms-app-stores { display: flex; gap: 12px; justify-content: center; padding: 16px 0; }
.cms-store-badge {
    display: inline-block;
    background: #232323;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.cms-store-badge:hover { background: #000; }

/* Visibility */
@media (max-width: 768px) {
    .cms-desktop-only { display: none !important; }
}
@media (min-width: 769px) {
    .cms-mobile-only { display: none !important; }
}

/* Quote */
.cms-quote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid #733168;
    background: #faf7fa;
    border-radius: 0 12px 12px 0;
}
.cms-quote p { font-size: 17px; line-height: 1.6; font-style: italic; margin-bottom: 8px; }
.cms-quote cite { font-size: 13px; color: #733168; font-weight: 600; font-style: normal; }

/* Callout */
.cms-callout {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid;
    font-size: 15px;
    line-height: 1.6;
}
.cms-callout-icon { font-size: 20px; line-height: 1.3; }
.cms-callout strong { display: block; margin-bottom: 4px; }
.cms-callout--tip { background: #f0faf3; border-color: #bfe6cb; }
.cms-callout--info { background: #eef6fb; border-color: #bcd9ec; }
.cms-callout--warning { background: #fff8ec; border-color: #f2ddb0; }

/* Image */
.cms-image { margin: 24px 0; }
.cms-image img { width: 100%; border-radius: 12px; display: block; }
.cms-image figcaption { font-size: 12px; color: #999; margin-top: 6px; text-align: center; }
.cms-image figcaption a { color: #999; text-decoration: underline; }
