/*
 * Supplemental styles for CMS blocks that have no exact counterpart in the
 * Robok template (stats counters, CTA banners, rich text, sidebar widgets).
 * Kept separate from the vendor CSS so template updates stay drop-in.
 */

/* ---------- Stats / counters ---------- */
.fun-fact-style-one-area .fun-fact {
    padding: 30px 20px;
}

.fun-fact-style-one-area .fun-fact .js-counter {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
}

.fun-fact-style-one-area .fun-fact span.medium {
    display: block;
    margin-top: 10px;
    opacity: .75;
}

/* ---------- CTA banner ---------- */
.cta-style-one-area .cta-style-one-info .title {
    margin-bottom: 20px;
}

.cta-style-one-area .button a + a {
    margin-left: 12px;
}

.cta-style-one-area .cta-style-one-thumb img {
    max-width: 100%;
    height: auto;
}

/* ---------- Rich text / CMS-authored content ---------- */
.cms-content h2,
.cms-content h3,
.cms-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.cms-content p {
    margin-bottom: 18px;
}

.cms-content ul,
.cms-content ol {
    margin: 0 0 20px 20px;
}

.cms-content ul li,
.cms-content ol li {
    margin-bottom: 8px;
    list-style: inherit;
}

.cms-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0 25px;
}

.cms-content blockquote {
    padding: 22px 26px;
    border-left: 3px solid var(--color-primary, #6f4ef2);
    background: rgba(127, 127, 127, .08);
    border-radius: 6px;
    margin-bottom: 24px;
}

.cms-content table {
    width: 100%;
    margin-bottom: 24px;
}

.cms-content table th,
.cms-content table td {
    padding: 10px 14px;
    border: 1px solid rgba(127, 127, 127, .25);
}

/* ---------- Service cards: price line ---------- */
.service-style-one-item .service-price {
    font-weight: 600;
    opacity: .8;
    font-size: 14px;
}

/* ---------- Pricing: "best for" line ---------- */
.pricing-style-two .plan-best-for {
    margin-top: 20px;
    font-size: 14px;
    opacity: .8;
}

/* ---------- Testimonial attribution ---------- */
.testimonial-style-one-item .tm-role {
    font-size: 14px;
    opacity: .7;
}

/* ---------- Blog sidebar ---------- */
.blog-sidebar .sidebar-item {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 10px;
    background: rgba(127, 127, 127, .07);
}

.blog-sidebar .sidebar-item .title {
    margin-bottom: 20px;
    font-size: 20px;
}

.blog-sidebar .sidebar-item ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(127, 127, 127, .18);
}

.blog-sidebar .sidebar-item ul li:last-child {
    border-bottom: 0;
}

.blog-sidebar .sidebar-item.tags ul li {
    display: inline-block;
    border: 0;
    padding: 0 6px 6px 0;
}

.blog-sidebar .sidebar-item.tags ul li a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(127, 127, 127, .3);
    font-size: 13px;
}

.blog-sidebar .recent-post li {
    display: flex;
    gap: 14px;
    align-items: center;
}

.blog-sidebar .recent-post li img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

/* ---------- Detail pages: meta lists ---------- */
.detail-meta-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(127, 127, 127, .2);
}

.detail-meta-list li:last-child {
    border-bottom: 0;
}

.detail-meta-list li strong {
    display: block;
    opacity: .65;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ---------- Flash messages ---------- */
.cms-flash {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.cms-flash.success {
    background: rgba(40, 167, 69, .12);
    border: 1px solid rgba(40, 167, 69, .4);
}

.cms-flash.error {
    background: rgba(220, 53, 69, .12);
    border: 1px solid rgba(220, 53, 69, .4);
}

/* ---------- Pagination ---------- */
.cms-pagination nav {
    display: flex;
    justify-content: center;
}

.cms-pagination .pagination {
    gap: 8px;
}

.cms-pagination .page-link {
    border-radius: 6px;
    border: 1px solid rgba(127, 127, 127, .3);
    background: transparent;
}
