/*
Theme Name: Operator Licence Hello Child
Template: hello-elementor
Version: 1.0.0
Text Domain: operatorlicence-hello-child
*/
/* Footer copyright line must stay small even when global paragraph styles change. */
.elementor-location-footer .elementor-99 .elementor-element.elementor-element-b071575,
.elementor-location-footer .elementor-99 .elementor-element.elementor-element-b071575 p {
    font-size: 14px !important;
    line-height: 1.5;
}

/* Consistent adviser quote boxes across standard and Elementor content. */
.entry-content blockquote,
.elementor-widget-theme-post-content blockquote,
.elementor-widget-text-editor blockquote {
    position: relative;
    margin: 34px 0;
    padding: 28px 30px 26px 32px;
    border: 0;
    border-top: 1px solid #b8dce4;
    border-bottom: 1px solid #d9e6ef;
    border-left: 8px solid #219eb5;
    border-radius: 0 6px 6px 0;
    background: #f3f8fb;
    color: #00003d;
    box-shadow: none;
}

.entry-content blockquote::before,
.elementor-widget-theme-post-content blockquote::before,
.elementor-widget-text-editor blockquote::before {
    content: "";
    position: absolute;
    top: 22px;
    left: -8px;
    width: 8px;
    height: 42px;
    background: #074ebb;
}

.entry-content blockquote p,
.elementor-widget-theme-post-content blockquote p,
.elementor-widget-text-editor blockquote p {
    margin: 0 0 12px;
    color: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.68;
}

.entry-content blockquote p:last-child,
.elementor-widget-theme-post-content blockquote p:last-child,
.elementor-widget-text-editor blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content blockquote em,
.elementor-widget-theme-post-content blockquote em,
.elementor-widget-text-editor blockquote em {
    display: block;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #cfe0ea;
    color: #244462;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.45;
}

/* Keep inline Elementor SVG icons constrained when page-level icon CSS is absent. */
.elementor-icon svg,
.elementor-icon-box-icon svg,
.elementor-widget-icon svg {
    width: 1em;
    height: 1em;
    display: block;
}

.elementor-icon,
.elementor-icon-box-icon {
    line-height: 1;
}

.elementor-widget-text-editor > .elementor-widget-container > svg,
.elementor-widget-text-editor > svg {
    width: 44px;
    max-width: 44px;
    height: auto;
    display: block;
    margin: 24px 0 10px;
    color: #219eb5;
    fill: #219eb5;
}

/* Single post readability: keep lists, following paragraphs and headings breathing. */
.single-post .elementor-widget-theme-post-content.ol-post-article p {
    margin: 0 0 1.65em !important;
}

.single-post .elementor-widget-theme-post-content.ol-post-article ul,
.single-post .elementor-widget-theme-post-content.ol-post-article ol {
    margin: 0.3em 0 2.15em 1.35rem !important;
    padding-left: 1.15rem !important;
}

.single-post .elementor-widget-theme-post-content.ol-post-article li {
    margin-bottom: 0.72em !important;
    line-height: 1.72 !important;
}

.single-post .elementor-widget-theme-post-content.ol-post-article ul + p,
.single-post .elementor-widget-theme-post-content.ol-post-article ol + p {
    margin-top: 0.75em !important;
}

.single-post .elementor-widget-theme-post-content.ol-post-article p + h2,
.single-post .elementor-widget-theme-post-content.ol-post-article ul + h2,
.single-post .elementor-widget-theme-post-content.ol-post-article ol + h2 {
    margin-top: 2.35em !important;
}

.single-post .elementor-widget-theme-post-content.ol-post-article h2 {
    margin-bottom: 0.85em !important;
    padding-top: 0.2em;
}

.single-post .elementor-widget-theme-post-content.ol-post-article h3 {
    margin-top: 2em !important;
    margin-bottom: 0.75em !important;
}

.single-post .elementor-widget-theme-post-content p {
    margin: 0 0 1.65em !important;
}

.single-post .elementor-widget-theme-post-content ul,
.single-post .elementor-widget-theme-post-content ol {
    margin: 0.45em 0 2.45em 1.35rem !important;
    padding-left: 1.15rem !important;
}

.single-post .elementor-widget-theme-post-content li {
    margin-bottom: 0.78em !important;
    line-height: 1.72 !important;
}

.single-post .elementor-widget-theme-post-content ul + p,
.single-post .elementor-widget-theme-post-content ol + p {
    margin-top: 0.9em !important;
}

.single-post .elementor-widget-theme-post-content p + h2,
.single-post .elementor-widget-theme-post-content ul + h2,
.single-post .elementor-widget-theme-post-content ol + h2 {
    margin-top: 2.5em !important;
}

.single-post .elementor-widget-theme-post-content h2 {
    margin-bottom: 0.9em !important;
}

.single-post .elementor-widget-theme-post-content h3 {
    margin-top: 2em !important;
    margin-bottom: 0.75em !important;
}

@media (max-width: 767px) {
    .entry-content blockquote,
    .elementor-widget-theme-post-content blockquote,
    .elementor-widget-text-editor blockquote {
        margin: 26px 0;
        padding: 22px 18px 20px 20px;
        border-left-width: 6px;
    }

    .entry-content blockquote::before,
    .elementor-widget-theme-post-content blockquote::before,
    .elementor-widget-text-editor blockquote::before {
        top: 18px;
        left: -6px;
        width: 6px;
        height: 34px;
    }

    .entry-content blockquote p,
    .elementor-widget-theme-post-content blockquote p,
    .elementor-widget-text-editor blockquote p {
        font-size: 16px;
        line-height: 1.62;
    }
}

/* Resource hub sidebar filters: separate the filter controls from the feedback box. */
.page-id-1509 .elementor-element-99e4a8e {
    margin-top: 28px;
}

.page-id-1509 .elementor-element-99e4a8e .e-filter {
    padding: 16px;
    border: 1px solid #d6e9ef;
    border-radius: 12px;
    background: #f4fbfc;
    box-shadow: 0 12px 28px rgba(7, 31, 63, 0.06);
}

.page-id-1509 .elementor-element-99e4a8e .e-filter-item {
    border: 1px solid #bfeef3;
    box-shadow: none;
}

.page-id-1509 .elementor-element-99e4a8e .e-filter-item[aria-pressed="true"],
.page-id-1509 .elementor-element-99e4a8e .e-filter-item:hover {
    border-color: #0e7a84;
    background: #c7f7fb;
}

/* Crawlable archive pagination should read as navigation, not loose inline links. */
.page-id-1423 .elementor-pagination,
.page-id-1509 .elementor-pagination,
body.post-type-archive-resources .navigation.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

.page-id-1423 .elementor-pagination a,
.page-id-1423 .elementor-pagination span,
.page-id-1509 .elementor-pagination a,
.page-id-1509 .elementor-pagination span,
body.post-type-archive-resources .navigation.pagination a,
body.post-type-archive-resources .navigation.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #d5e2ef;
    border-radius: 8px;
    background: #fff;
    color: #00003d;
    font-family: "SuisseIntl", "Poppins", sans-serif;
    font-weight: 600;
    text-decoration: none;
}

.page-id-1423 .elementor-pagination .current,
.page-id-1509 .elementor-pagination .current,
body.post-type-archive-resources .navigation.pagination .current {
    border-color: #074ebb;
    background: #074ebb;
    color: #fff;
}

/* Page 8497: layout-only readability pass for long sub-silo content. */
.page-id-8497 .ol-sub-silo-longread {
    max-width: 980px;
    margin-inline: auto;
}

.page-id-8497 .ol-problem-copy > .elementor-widget-container {
    background: #ffffff;
    border: 1px solid #dbe6f3;
    border-radius: 10px;
    padding: 26px 28px;
    box-shadow: 0 12px 30px rgba(23, 48, 85, 0.07);
}

.page-id-8497 .ol-problem-copy p {
    margin-bottom: 0;
}

.page-id-8497 .ol-problem-copy p + p {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf2f7;
}

.page-id-8497 .ol-problem-copy blockquote {
    margin-top: 22px;
}

.page-id-8497 .ol-faq-accordion {
    margin-top: 28px;
}

.page-id-8497 .ol-page-faq {
    background: #eaf1f7;
    border: 1px solid #dbe6f3;
    border-radius: 10px;
    padding: 24px;
}

.page-id-8497 .ol-page-faq h2 {
    margin: 0 0 16px;
    color: #00003d;
    font-size: 22px;
    line-height: 1.18;
}

.page-id-8497 .ol-page-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.page-id-8497 .ol-page-faq .ol-faq-item {
    background: #ffffff;
    border: 1px solid #dce7f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(7, 78, 187, 0.05);
}

.page-id-8497 .ol-page-faq .ol-faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 16px 44px 16px 18px;
    color: #1e2842;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.page-id-8497 .ol-page-faq .ol-faq-item summary::-webkit-details-marker {
    display: none;
}

.page-id-8497 .ol-page-faq .ol-faq-item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #074ebb;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.page-id-8497 .ol-page-faq .ol-faq-item[open] summary::after {
    content: '-';
}

.page-id-8497 .ol-page-faq .ol-faq-item__body {
    padding: 0 18px 18px;
    color: #42526e;
    font-size: 15px;
    line-height: 1.65;
}

.page-id-8497 .ol-page-faq .ol-faq-item__body p {
    margin: 0;
}

@media (max-width: 767px) {
    .page-id-8497 .ol-problem-copy > .elementor-widget-container,
    .page-id-8497 .ol-page-faq {
        padding: 18px;
    }

    .page-id-8497 .ol-page-faq__grid {
        grid-template-columns: 1fr;
    }
}

/* Resource download modal: keep the shared resource form out of page flow. */
.single-resources .ol-resource-download-wrap {
    position: relative;
}

.single-resources .ol-resource-download-cta {
    padding: 22px;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    background: #f8fbff;
}

.single-resources .ol-resource-download-cta__label {
    margin: 0 0 10px;
    color: #6a809b;
    font: 600 12px/1.2 "SuisseIntl", sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.single-resources .ol-resource-download-cta__text,
.single-resources .ol-resource-download-cta__helper {
    margin: 0 0 16px;
    color: #4a6484;
    font: 400 15px/1.7 "SuisseIntl", sans-serif;
}

.single-resources .ol-resource-download-cta__helper {
    margin: 12px 0 0;
    color: #6a809b;
    font-size: 13px;
    line-height: 1.6;
}

.single-resources .ol-resource-download-cta__button,
.single-resources .ol-resource-download-cta__button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 0;
    border-radius: 6px;
    background: #074ebb;
    color: #fff;
    cursor: pointer;
    font: 600 15px/1 "SuisseIntl", sans-serif;
    text-decoration: none;
}

.single-resources .ol-resource-download-cta__button:hover,
.single-resources .ol-resource-download-cta__button:focus {
    background: #063d93;
    color: #fff;
}

.single-resources .ol-resource-modal,
.single-resources .elementor-widget-html:has(.ol-resource-download-cta) + .e-con {
    position: fixed !important;
    inset: 0;
    z-index: 99999;
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(12, 27, 48, .58);
}

.single-resources .ol-resource-modal.is-open,
.single-resources .elementor-widget-html:has(.ol-resource-download-cta) + .e-con.is-open {
    display: flex !important;
}

.single-resources .ol-resource-modal__dialog,
.single-resources .elementor-widget-html:has(.ol-resource-download-cta) + .e-con > .e-con {
    position: relative;
    width: min(720px, 100%);
    max-height: 90vh;
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(10, 26, 45, .18);
}

.single-resources .ol-resource-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef4fa;
    color: #173055;
    cursor: pointer;
    font: 500 24px/1 "SuisseIntl", sans-serif;
}

.single-resources .ol-resource-modal__eyebrow {
    margin: 0 0 8px;
    color: #6a809b;
    font: 600 12px/1.2 "SuisseIntl", sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.single-resources .ol-resource-modal__title {
    margin: 0 0 10px;
    color: #173055;
    font: 600 30px/1.08 "SuisseIntl", sans-serif;
}

.single-resources .ol-resource-modal__intro {
    margin: 0 0 20px;
    color: #4a6484;
    font: 400 15px/1.7 "SuisseIntl", sans-serif;
}

@media (max-width: 767px) {
    .single-resources .ol-resource-download-cta {
        padding: 18px;
    }

    .single-resources .ol-resource-modal,
    .single-resources .elementor-widget-html:has(.ol-resource-download-cta) + .e-con {
        padding: 14px;
    }

    .single-resources .ol-resource-modal__dialog,
    .single-resources .elementor-widget-html:has(.ol-resource-download-cta) + .e-con > .e-con {
        padding: 22px 18px;
    }

    .single-resources .ol-resource-modal__title {
        font-size: 24px;
    }
}

/* Embedded compliance-hub tools inside resource guides must retain tool UI contrast. */
.single-resources .ol-resource-article .ol-hub {
    max-width: none;
    margin-top: 18px;
}

.single-resources .ol-resource-article .ol-hub__hero,
.single-resources .ol-resource-article .ol-hub__hero h1,
.single-resources .ol-resource-article .ol-hub__hero p,
.single-resources .ol-resource-article .ol-hub__status-card p {
    color: #fff;
}

.single-resources .ol-resource-article .ol-hub__subtitle {
    color: rgba(255, 255, 255, .88);
}

.single-resources .ol-resource-article .ol-hub__notice,
.single-resources .ol-resource-article .ol-phase-banner__inner {
    color: rgba(255, 255, 255, .78);
}

.single-resources .ol-resource-article .ol-hub__tools p,
.single-resources .ol-resource-article .ol-tool p,
.single-resources .ol-resource-article .ol-tool li,
.single-resources .ol-resource-article .ol-tool-card p,
.single-resources .ol-resource-article .ol-field span,
.single-resources .ol-resource-article .ol-field label {
    color: inherit;
}

.single-resources .ol-resource-article .ol-hub input,
.single-resources .ol-resource-article .ol-hub select,
.single-resources .ol-resource-article .ol-hub textarea {
    color: #0b0c0c;
}

/* Shared sub-silo readability treatment: classes are applied only to audited pages. */
.ol-sub-silo-longread {
    max-width: 980px;
    margin-inline: auto;
}

.ol-problem-copy > .elementor-widget-container {
    background: #ffffff;
    border: 1px solid #dbe6f3;
    border-radius: 10px;
    padding: 26px 28px;
    box-shadow: 0 12px 30px rgba(23, 48, 85, 0.07);
}

.ol-problem-copy p {
    margin-bottom: 0;
}

.ol-problem-copy p + p {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf2f7;
}

.ol-problem-copy blockquote {
    margin-top: 22px;
}

.ol-faq-accordion {
    margin-top: 28px;
}

.ol-page-faq {
    background: #eaf1f7;
    border: 1px solid #dbe6f3;
    border-radius: 10px;
    padding: 24px;
}

.ol-page-faq h2 {
    margin: 0 0 16px;
    color: #00003d;
    font-size: 22px;
    line-height: 1.18;
}

.ol-page-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ol-page-faq .ol-faq-item {
    background: #ffffff;
    border: 1px solid #dce7f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(7, 78, 187, 0.05);
}

.ol-page-faq .ol-faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 16px 44px 16px 18px;
    color: #1e2842;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.ol-page-faq .ol-faq-item summary::-webkit-details-marker {
    display: none;
}

.ol-page-faq .ol-faq-item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #074ebb;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.ol-page-faq .ol-faq-item[open] summary::after {
    content: '-';
}

.ol-page-faq .ol-faq-item__body {
    padding: 0 18px 18px;
    color: #42526e;
    font-size: 15px;
    line-height: 1.65;
}

.ol-page-faq .ol-faq-item__body p {
    margin: 0;
}

@media (max-width: 767px) {
    .ol-problem-copy > .elementor-widget-container,
    .ol-page-faq {
        padding: 18px;
    }

    .ol-page-faq__grid {
        grid-template-columns: 1fr;
    }
}

/* Sub-silo related-link sidebars: keep these as compact navigation, not body copy. */
.ol-related-sidebar {
    background: #ffffff;
    border: 1px solid #dbe6f3;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(23, 48, 85, 0.06);
}

.ol-related-sidebar .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 12px;
    color: #00003d;
    font-size: 17px;
    line-height: 1.25;
}

.ol-related-sidebar .ol-related-link {
    margin: 0;
}

.ol-related-link {
    margin: 0;
}

.ol-related-sidebar .ol-related-link + .ol-related-link {
    margin-top: 8px;
}

.ol-related-link + .ol-related-link {
    margin-top: 8px;
}

.ol-related-sidebar .ol-related-link p {
    margin: 0;
}

.ol-related-link p {
    margin: 0;
}

.ol-related-sidebar .ol-related-link a,
.ol-related-link a {
    display: block;
    padding: 9px 11px;
    border: 1px solid #e1e9f3;
    border-radius: 6px;
    background: #f8fbff;
    color: #074ebb;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.ol-related-sidebar .ol-related-link a:hover,
.ol-related-sidebar .ol-related-link a:focus,
.ol-related-link a:hover,
.ol-related-link a:focus {
    background: #eef5ff;
    border-color: #b9cee8;
    color: #003078;
    text-decoration: underline;
}

.single-post .ol-author-box__name a {
    color: inherit;
    text-decoration: none;
}

.single-post .ol-author-box__name a:hover,
.single-post .ol-author-box__name a:focus {
    color: #467ff7;
    text-decoration: underline;
    text-underline-offset: 3px;
}
