/* CMS rich text is styled before first paint. This replaces JavaScript DOM
   rewrites that caused late layout changes and unnecessary main-thread work. */
.description p,
.description strong,
.description span,
.blog-content p,
.blog-content strong,
.blog-content span {
    color: #6b7280;
    font-size: 15px;
}

.description h1,
.description h2,
.description h3,
.description h4,
.description h5,
.description h6,
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: #00316d;
    font-size: 1.125rem;
    font-weight: 600;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.description a,
.blog-content a {
    color: #003873;
    font-weight: 700;
}

.description ul,
.blog-content ul {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding-left: 0;
    list-style: none;
}

.description ul > li,
.blog-content ul > li {
    position: relative;
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    padding-left: 1.5rem;
    color: #6b7280;
    font-size: 15px;
}

.description ul > li {
    align-items: flex-start;
}

.blog-content ul > li {
    align-items: center;
}

.description ul > li::before,
.blog-content ul > li::before {
    position: absolute;
    top: 0.25rem;
    left: 0;
    width: 1rem;
    height: 1rem;
    background: url('/img/tick_why_choose_us.png') center / contain no-repeat;
    content: '';
}

.description table {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #d1d5db;
    border-collapse: collapse;
    color: #374151;
    font-size: 0.875rem;
    table-layout: auto;
}

.description tr {
    background: #fff;
}

.description th,
.description td {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    text-align: left;
}

@media (min-width: 768px) {
    .blog-content h1,
    .blog-content h2,
    .blog-content h3,
    .blog-content h4,
    .blog-content h5,
    .blog-content h6 {
        font-size: 1.25rem;
    }
}
