/* Keep the public header and breadcrumb inside the same visual grid. */
.header-area.header-style-1.header-style-5 .header-bottom-bg-color {
    background-color: #fff !important;
}
.header-area.header-style-1.header-style-5 .header-bottom .supara-category-nav > li > a:not(.supara-nav-highlight) {
    color: #173f63 !important;
}
.header-area.header-style-1.header-style-5 .header-bottom .supara-category-nav > li > a.supara-nav-highlight {
    border-radius: 8px;
    background: #17476e !important;
    color: #fff !important;
}
.page-header.breadcrumb-wrap {
    padding: 12px 0 !important;
    border: 0 !important;
    background: #fff !important;
}
.page-header.breadcrumb-wrap > .container {
    box-sizing: border-box;
    width: 1176px !important;
    max-width: calc(100% - 24px) !important;
    padding: 13px 20px !important;
    border: 1px solid #e1eaf3 !important;
    border-radius: 10px;
    background: #f7faff;
}
.page-header.breadcrumb-wrap .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 24px;
    margin: 0 !important;
}

/* Published information pages with an unused right sidebar. */
main.pages .page-content:has(.col-lg-9 > .ck-content) {
    padding-top: 34px !important;
}
main.pages .page-content:has(.col-lg-9 > .ck-content) > .container {
    width: 1176px !important;
    max-width: calc(100% - 24px) !important;
}
main.pages .page-content:has(.col-lg-9 > .ck-content) .col-lg-9 {
    flex: 0 0 100%;
    max-width: 100%;
}
main.pages .page-content:has(.col-lg-9 > .ck-content) .primary-sidebar:not(:has(.widget-area > *)) {
    display: none !important;
}

/* Default-template information pages, including terms and contact. */
main > .container:has(> section.mt-60.mb-60 > .ck-content) {
    width: 1176px !important;
    max-width: calc(100% - 24px) !important;
}
main > .container > section.mt-60.mb-60:has(> .ck-content) {
    margin-top: 34px !important;
    margin-bottom: 52px !important;
}
main.pages .page-content .col-lg-9 > .ck-content,
main > .container > section.mt-60.mb-60 > .ck-content:has(> p:first-child > strong) {
    box-sizing: border-box;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 38px 46px 42px;
    border: 1px solid #e0eaf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(25, 63, 95, .055);
    color: #35485b;
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
main.pages .page-content .col-lg-9 > .ck-content > p,
main > .container > section.mt-60.mb-60 > .ck-content:has(> p:first-child > strong) > p {
    margin-bottom: 15px;
    line-height: 1.75;
}
main.pages .page-content .col-lg-9 > .ck-content > p:first-child,
main > .container > section.mt-60.mb-60 > .ck-content:has(> p:first-child > strong) > p:first-child {
    margin: 0 0 22px;
    padding: 0 0 18px;
    border-bottom: 1px solid #dce8f2;
    color: #173f63;
    font-size: clamp(24px, 2.3vw, 30px);
    font-weight: 800;
    line-height: 1.25;
}
main.pages .page-content .col-lg-9 > .ck-content > p:has(> strong:only-child):not(:first-child),
main > .container > section.mt-60.mb-60 > .ck-content > p:has(> strong:only-child):not(:first-child) {
    margin-top: 25px;
    margin-bottom: 7px;
    color: #184b73;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}
main.pages .page-content .col-lg-9 > .ck-content > p strong,
main > .container > section.mt-60.mb-60 > .ck-content > p strong {
    color: inherit;
}
main.pages .page-content .col-lg-9 > .ck-content .bb-comment-wrapper,
main > .container > section.mt-60.mb-60 > .ck-content .bb-comment-wrapper {
    display: none !important;
}

/* Contact page uses the same width while keeping the map and form distinct. */
main > .container > section.mt-60.mb-60 > .ck-content:has(> .google-map-iframe) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
main > .container > section.mt-60.mb-60 > .ck-content > .google-map-iframe {
    height: 350px !important;
    overflow: hidden;
    border: 1px solid #dce8f2;
    border-radius: 15px;
}
main > .container > section.mt-60.mb-60 > .ck-content > .google-map-iframe iframe {
    display: block;
    width: 100% !important;
    height: 350px !important;
}
main > .container > section.mt-60.mb-60 > .ck-content > section.mt-50 {
    max-width: 920px;
    margin: 30px auto 0 !important;
    padding-bottom: 0 !important;
}
main > .container > section.mt-60.mb-60 > .ck-content > section.mt-50 .col-xl-8 {
    flex: 0 0 100%;
    max-width: 100%;
}
main .contact-from-area {
    box-sizing: border-box;
    visibility: visible !important;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    padding: 34px !important;
    border: 1px solid #e0eaf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(25, 63, 95, .055);
}

@media (max-width: 767px) {
    .page-header.breadcrumb-wrap > .container { padding: 11px 15px !important; }
    main.pages .page-content .col-lg-9 > .ck-content,
    main > .container > section.mt-60.mb-60 > .ck-content:has(> p:first-child > strong) {
        padding: 25px 20px 28px;
        border-radius: 12px;
    }
    main > .container > section.mt-60.mb-60 > .ck-content > .google-map-iframe,
    main > .container > section.mt-60.mb-60 > .ck-content > .google-map-iframe iframe {
        height: 260px !important;
    }
    main .contact-from-area { padding: 22px 16px !important; }
}
