.service-redesign {
    --service-ink: #182b49;
    --service-muted: #42546a;
    --service-accent: #14765c;
    --service-border: #e0e7ef;
}

.service-redesign .inner-page {
    padding-block: 28px 48px;
    background: #f5f7fb;
}

.service-redesign .inner-page > .container > .card {
    background: transparent;
}

.service-redesign .inner-page > .container > .card > .card-body {
    padding: 0;
    box-shadow: none !important;
}

.service-document-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 170px;
    margin-bottom: 24px;
    padding: 32px 40px;
    overflow: hidden;
    border: 1px solid var(--service-border);
    border-radius: 20px;
    background: #eaf1f5;
}

.service-redesign .service-document-header h1 {
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    color: var(--service-ink);
    font-size: clamp(32px, 3.8vw, 44px);
    font-weight: 800;
    line-height: 1.5;
}

.service-document-header h1::after {
    content: '';
    position: absolute;
    inset: auto 0 0 auto;
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background: var(--service-accent);
}

.service-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 98px;
    height: 98px;
    border: 1px solid #d5e3e3;
    border-radius: 24px;
    background: #f8fbfc;
    color: #246858;
    font-size: 48px;
}

.service-redesign .pageServiceContent,
.service-redesign .service-comments {
    max-width: 920px;
    margin-inline: auto;
}

.service-redesign .pageServiceContent {
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--service-border);
    border-radius: 18px;
    background: #fff;
    color: var(--service-muted);
    font-size: 17px;
    line-height: 2.05;
    overflow-wrap: anywhere;
}

.service-redesign .pageServiceContent:empty {
    display: none;
}

.service-redesign .pageServiceContent :is(p, li) {
    margin-block: 0 18px;
    color: var(--service-muted);
    font-size: 17px;
    line-height: 2.05;
    text-align: start;
}

.service-redesign .pageServiceContent :is(h2, h3, h4, h5, h6) {
    color: var(--service-ink);
    font-weight: 800;
    line-height: 1.8;
    scroll-margin-top: 88px;
    text-wrap: pretty;
}

.service-redesign .pageServiceContent h2 {
    margin-block: 38px 16px;
    padding-block-start: 22px;
    border-block-start: 1px solid var(--service-border);
    font-size: clamp(22px, 2vw, 25px);
}

.service-redesign .pageServiceContent h3 {
    margin-block: 28px 12px;
    font-size: 21px;
}

.service-redesign .pageServiceContent :is(h4, h5, h6) {
    margin-block: 24px 12px;
    font-size: 19px;
}

.service-redesign .pageServiceContent > div > :first-child {
    margin-block-start: 0;
    padding-block-start: 0;
    border-block-start: 0;
}

.service-redesign .pageServiceContent > div > :last-child {
    margin-block-end: 0;
}

.service-redesign .pageServiceContent strong {
    color: #243f59;
    font-weight: 700;
}

.service-redesign .pageServiceContent img {
    display: block;
    max-width: min(100%, 720px);
    height: auto;
    margin: 28px auto;
    border: 1px solid var(--service-border);
    border-radius: 14px;
}

.service-redesign .pageServiceContent :is(ul, ol) {
    padding-inline-start: 26px;
    margin-block: 18px;
}

.service-redesign .pageServiceContent li::marker {
    color: var(--service-accent);
}

.service-redesign .pageServiceContent a:not(.btn) {
    color: #1b6387;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service-redesign .service-comments {
    padding: 0;
}

.service-redesign .idepoo-article-comment {
    margin-block: 26px 0;
    padding: 28px !important;
    border: 1px solid var(--service-border);
    border-radius: 18px;
    background: #fff;
}

.service-redesign .idepoo-article-comment > .card-header {
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid var(--service-border);
    border-radius: 0;
    background: transparent !important;
    color: var(--service-ink) !important;
}

.service-redesign .idepoo-article-comment .card-title {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
}

.service-redesign .ArticleComment .form-control {
    border-color: #cad5e2;
    border-radius: 10px;
    background: #fcfdff;
    font-size: 16px;
}

.service-redesign .ArticleComment .form-floating > label {
    color: #52657c;
    font-size: 14px;
}

.service-redesign .ArticleComment .btn-primary {
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: #1d3d67;
    font-weight: 700;
}

.service-redesign .ArticleComment .btn-primary:hover {
    background: #28517e;
}

.service-redesign .comment-list:not(:empty) {
    margin-block-start: 24px;
}

.comment-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.comment-field {
    display: grid;
    align-content: start;
    gap: 7px;
}

.comment-field label {
    color: #243f59;
    font-size: 14px;
    font-weight: 700;
}

.comment-field small,
.comment-moderation-note {
    color: #52657c;
    font-size: 13px;
}

.comment-message-field {
    grid-column: 1 / -1;
}

.comment-fields .form-control {
    min-height: 48px;
    padding: 10px 12px;
}

.comment-fields .btn {
    grid-column: 1 / -1;
    justify-self: start;
    padding-inline: 24px;
}

.service-redesign .comment-moderation-note {
    margin: 12px 0 0;
    font-size: 13px;
}

.comment-form-errors {
    margin-bottom: 16px;
    color: #a12620;
    font-size: 14px;
}

.comment-form-errors:empty,
.comment-form-errors.validation-summary-valid {
    display: none;
}

.comment-form-status {
    padding: 12px;
    border-radius: 10px;
    background: #edf7f2;
    color: #125a43;
}

#comments {
    scroll-margin-top: 88px;
}

.comment-threads {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comment-threads > li + li {
    margin-top: 16px;
}

.published-comment {
    padding: 18px;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    color: #243f59;
    font-size: 14px;
}

.comment-meta time {
    margin-inline-start: auto;
    color: #52657c;
    font-size: 12px;
}

.service-redesign .comment-text {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.95;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    text-align: start;
}

.comment-reply {
    margin-top: 16px;
    padding: 14px 16px;
    border-inline-start: 3px solid #84b49f;
    border-radius: 8px;
    background: #f3f8f6;
}

.comments-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 14px;
}

.comments-pagination a {
    display: grid;
    place-items: center;
    min-width: 48px;
    min-height: 44px;
    padding-inline: 12px;
    border: 1px solid #cad5e2;
    border-radius: 9px;
    color: #1d3d67;
}

.comments-pagination a:hover {
    background: #eef3f8;
}

.comment-fields button:disabled {
    opacity: .6;
    cursor: wait;
}

.service-redesign .service-document a:focus-visible,
.service-redesign .service-comments :is(input, textarea, button, a):focus-visible {
    outline: 3px solid #2d886c;
    outline-offset: 3px;
}

.service-redesign .call-fix {
    position: static;
    width: fit-content;
    margin: 0 auto 28px;
}

.service-redesign.footer-visible .call-fix {
    visibility: visible;
}

.service-redesign .inner-call-id {
    gap: 10px;
    padding: 8px 20px;
    border-radius: 14px;
    background: #1d3d67;
}

.service-redesign .icon-call {
    width: 44px;
    height: 44px;
    padding: 0;
    animation: none;
}

@media (max-width: 767.98px) {
    .comment-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .comment-fields .btn {
        justify-self: stretch;
    }

    .service-redesign .call-fix {
        display: none;
    }

    .service-redesign .inner-page {
        padding-block: 18px 32px;
    }

    .service-document-header {
        gap: 16px;
        min-height: 134px;
        margin-bottom: 16px;
        padding: 22px;
        border-radius: 16px;
    }

    .service-redesign .service-document-header h1 {
        padding-bottom: 14px;
        font-size: 30px !important;
    }

    .service-symbol {
        flex-basis: 70px;
        height: 70px;
        border-radius: 18px;
        font-size: 35px;
    }

    .service-redesign .pageServiceContent {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .service-redesign .pageServiceContent :is(p, li) {
        font-size: 16px;
        line-height: 2;
    }

    .service-redesign .pageServiceContent h2 {
        margin-block-start: 30px;
        padding-block-start: 20px;
        font-size: 21px;
    }

    .service-redesign .pageServiceContent h3 {
        font-size: 19px;
    }

    .service-redesign .pageServiceContent img {
        margin-block: 22px;
        border-radius: 10px;
    }

    .service-redesign .idepoo-article-comment {
        padding: 20px 16px !important;
        border-radius: 16px;
    }

    .service-redesign .ArticleComment :is(input, textarea, button) {
        scroll-margin-bottom: calc(100px + env(safe-area-inset-bottom));
    }
}
