/* Consolidated styles for all dynamic CMS service article bodies */
.service-content {
    padding: 40px 0 60px;
    background-color: #ffffff;
}

.main-wrapper,
.content-block {
    max-width: 100%;
    margin: 0 auto 40px auto;
}

.top-heading,
.top-intro h2 {
    color: var(--primary-blue);
    font-size: 30px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.top-intro h3 {
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 500;
}

.top-paragraph,
.top-intro p,
.service-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}

.intro-text {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 24px;
}

.section-heading {
    text-align: center;
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 32px;
}

.service-content h2 {
    color: var(--primary-blue);
    font-size: 26px;
    margin-top: 34px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 8px;
    display: inline-block;
}

.service-content h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.benefits-list,
.step-list,
.benefit-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    margin-bottom: 20px;
}

.benefits-list li,
.step-list li,
.benefit-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.65;
}

.benefits-list li::before,
.step-list li::before {
    content: "✔";
    color: var(--accent-green);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

.benefit-list li::before {
    content: "★";
    color: #F59E0B;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.middle-image {
    text-align: center;
    margin: 34px 0;
}

.middle-image img {
    max-width: 100%;
    width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.benefit-card {
    background-color: var(--bg-light);
    padding: 26px 22px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--accent-green);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-card h3 {
    color: var(--primary-blue);
    font-size: 19px;
    margin-top: 0;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
    text-align: center;
}

.split-layout,
.intro-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin: 20px 0 36px;
}

.split-text,
.intro-text-col {
    flex: 1.2;
}

.split-image,
.intro-image {
    flex: 1;
}

.split-image img,
.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.why-us-grid,
.two-col-grid,
.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0 34px;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0 36px;
}

.why-card,
.info-box,
.help-box {
    padding: 24px 22px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.why-card:hover,
.info-box:hover {
    transform: translateY(-4px);
}

.why-card h3,
.info-box h3,
.help-box h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.why-card p,
.info-box p,
.help-box p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: left;
}

.card-blue,
.box-dark {
    background-color: #002E5B;
    color: #ffffff;
}

.card-blue h3,
.box-dark h3 {
    color: #ffffff;
}

.card-blue p,
.box-dark p {
    color: #e2e8f0;
}

.card-light,
.box-light {
    background-color: #E8EAED;
    color: #333333;
}

.card-light h3,
.box-light h3 {
    color: #002E5B;
}

.card-light p,
.box-light p {
    color: #475569;
}

.bookkeeping-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 48px;
}

.bookkeeping-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.bookkeeping-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.cta-box {
    background-color: var(--bg-light);
    padding: 36px 28px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
    border-left: 5px solid var(--accent-green);
}

.cta-box h3 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 23px;
}

.cta-box p {
    text-align: center;
}

@media (max-width: 768px) {
    .split-layout,
    .intro-layout {
        flex-direction: column;
    }
    .split-image,
    .intro-image {
        order: -1;
        margin-bottom: 16px;
    }
    .why-us-grid,
    .two-col-grid,
    .three-col-grid,
    .help-grid,
    .bookkeeping-layout,
    .bookkeeping-grid {
        grid-template-columns: 1fr;
    }
}
