/* Service and account pages only. Header, footer and modal layers remain outside this wrapper. */
.mi-page .mi-home-hero-inner { margin-inline:0; padding:44px 24px; }
.mi-page .mi-home-lead { margin-bottom:0; }
.mi-page .mi-page-panel { padding:clamp(22px,4vw,44px) !important; border:1px solid #dbe6e1 !important; border-radius:24px !important; background:#fff; box-shadow:0 4px 16px #164b4c05; }
.mi-page .contact-info-box { padding:26px !important; border:1px solid #dbe6e1 !important; border-radius:18px; background:#f8fbf9 !important; height:100%; }
.mi-page h2,.mi-page h3,.mi-page h4,.mi-page h5 { color:#164b4c; line-height:1.4; }
.mi-page h4 { font-size:1.35rem; font-weight:500; }
.mi-page h5 { font-size:1.2rem; font-weight:500 !important; }
.mi-page p { line-height:1.75; }
.mi-page a:not(.btn):not(.dropdown-item):not(.nav-link):not(.page-link) { color:#08796e !important; text-underline-offset:4px; }
.mi-page .btn { border-radius:999px; padding:11px 20px; line-height:1.4; }
.mi-page .btn-primary { background:linear-gradient(110deg,#075e62,#08796e); border-color:#08796e; box-shadow:0 4px 12px #075e6214; }
.mi-page .btn-outline-primary { color:#075e62; border-color:#a9c7c1; }
.mi-page .btn-outline-primary:hover { color:#fff; background:#08796e; border-color:#08796e; }
.mi-page .btn:focus-visible { outline:3px solid #08796e; outline-offset:3px; }
.mi-page .form-control,.mi-page .form-select { min-height:48px; padding:12px 14px; border:1px solid #cbded6; border-radius:12px; background-color:#fcfefd; color:#314b4b; }
.mi-page textarea.form-control { min-height:150px; }
.mi-page .form-control:focus,.mi-page .form-select:focus { border-color:#08796e; box-shadow:0 0 0 3px #08796e20; }
.mi-page .form-control:disabled,.mi-page .form-control[readonly] { background:#edf3f0; }
.mi-page .form-check-input:checked { background-color:#08796e; border-color:#08796e; }
.mi-page .form-label { color:#42635f; }
.mi-page .input-group-text { border-color:#cbded6; background:#edf5f1; color:#42635f; }
.mi-page .alert { border-radius:14px; padding:18px; }
.mi-page .alert-info,.mi-page .alert-primary { background:#edf7f3; color:#255c52; border-color:#cce3db; }
.mi-page .card { border:1px solid #dbe6e1 !important; border-radius:18px; box-shadow:0 4px 16px #164b4c05; overflow:hidden; }
.mi-page .card-body { padding:24px; }
.mi-page .table { --bs-table-bg:transparent; --bs-table-border-color:#e1eae5; color:#42635f; margin-bottom:0; }
.mi-page .table > thead { background:#edf5f1; color:#164b4c; }
.mi-page .table > :not(caption) > * > * { padding:14px 12px; vertical-align:middle; }
.mi-page .table-responsive { border:1px solid #e1eae5; border-radius:14px; }
.mi-page .nav-tabs { gap:10px; border:0; padding:10px !important; margin-bottom:18px !important; background:#eaf2ee; border-radius:18px; }
.mi-page .nav-tabs .nav-link { border:0; border-radius:12px; padding:12px 20px; color:#526c69; text-transform:none !important; }
.mi-page .nav-tabs .nav-link.active { background:#fff; color:#075e62; box-shadow:0 3px 12px #164b4c0c; }
.mi-page .dropdown-menu { border-color:#dbe6e1; border-radius:14px; padding:8px; box-shadow:0 10px 28px #164b4c18; }
.mi-page .dropdown-item { border-radius:8px; }
.mi-page .dropdown-item.active { background:#08796e; }
.mi-page .accordion { --bs-accordion-border-color:#dbe6e1; --bs-accordion-active-bg:#edf7f3; --bs-accordion-active-color:#075e62; --bs-accordion-btn-focus-box-shadow:0 0 0 3px #08796e20; }
.mi-page .accordion-item { border:1px solid #dbe6e1 !important; border-radius:16px !important; margin-bottom:14px; overflow:hidden; }
.mi-page .accordion-button { padding:22px; font-size:1.05rem; line-height:1.5; color:#164b4c; }
.mi-page .accordion-body { padding:22px; color:#526c69; line-height:1.8; }
.mi-page-prose { max-width:1100px; margin-inline:auto; }
.mi-page-prose > .row { padding:0 !important; margin:0; line-height:1.8; }
.mi-page-prose > .row > p,.mi-page-prose > .row > ol,.mi-page-prose > .row > ul { padding-inline:0; }
.mi-page-prose ol,.mi-page-prose ul { padding-inline-start:1.5rem !important; }
.mi-page-prose hr { border-color:#c9dcd3; margin-block:28px; }
.mi-page-pricing .contact-info-box > ul > li { padding-block:6px; }
.mi-page-contact .row.mt-4,.mi-page-pricing .row.mt-4 { row-gap:20px; }
.mi-page-news .mi-page-panel { max-width:1100px; margin-inline:auto; }
.mi-page-news .list-group { display:grid; gap:20px; }
.mi-page-news .list-group-item { border:1px solid #dbe6e1; border-radius:18px !important; padding:24px; background:#f8fbf9; }
.mi-page-news .nav-item { padding-block:9px; line-height:1.7; }
.mi-page-news .badge.text-bg-primary { background:#08796e !important; }
.mi-page .pagination { gap:8px; flex-wrap:wrap; }
.mi-page .page-link { border-radius:12px !important; border-color:#cbded6; padding:10px 14px; color:#075e62; }
.mi-page .active > .page-link { background:#08796e; border-color:#08796e; color:#fff; }
@media(max-width:767.98px) {
 .mi-page .mi-home-hero-inner { padding:32px 18px; }
 .mi-page .contact-info-box { padding:20px !important; }
 .mi-page .nav-tabs .nav-link { padding:12px; }
 .mi-page .table > :not(caption) > * > * { padding:12px 9px; }
 .mi-page-news .list-group-item { padding:18px; }
 .mi-page .accordion-button,.mi-page .accordion-body { padding:18px; }
}

.mi-page-news .pagination .page-link { min-width:44px; text-align:center; }
.mi-page-account-settings .mi-page-panel > .row > .col-lg-4 { border-inline-start:1px solid #dbe6e1; padding-inline-start:28px; }
@media(max-width:991.98px) { .mi-page-account-settings .mi-page-panel > .row > .col-lg-4 { border-inline-start:0; border-top:1px solid #dbe6e1; padding-inline-start:12px; padding-top:28px; } }

/* FAQ uses the same full container width as its hero and About us. */
.mi-page-faq .mi-page-prose { max-width:none; }

/* Legal documents align with the shared hero and standard page container. */
.mi-page-document .mi-page-prose { max-width:none; }

/* Let legal text determine its height; the opening box must not fill the flex article. */
.mi-page-document .mi-legal-document { min-width:0; }
.mi-page-document .mi-legal-document .contact-info-box { height:auto; }
.mi-page-document .mi-legal-document section[id] { scroll-margin-top:8rem; }

/* Cookie controls embedded in the translated privacy document. */
.mi-page-document button[data-cc="c-settings"],.mi-page-document #delete-cookies { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin:6px 8px; padding:10px 20px; border:1px solid #bad8d0; border-radius:999px; background:#edf7f3; color:#075e62; font:inherit; font-weight:500; line-height:1.4; cursor:pointer; transition:background .2s,color .2s; }
.mi-page-document button[data-cc="c-settings"] { background:linear-gradient(110deg,#075e62,#08796e); border-color:#08796e; color:#fff; }
.mi-page-document button[data-cc="c-settings"]:hover,.mi-page-document #delete-cookies:hover { background:#086565; color:#fff; border-color:#086565; }
.mi-page-document button[data-cc="c-settings"]:focus-visible,.mi-page-document #delete-cookies:focus-visible { outline:3px solid #299d91; outline-offset:3px; }
[data-bs-theme="dark"] .mi-page-document #delete-cookies { background:#28453f; border-color:#52766b; color:#d5eee5; }
[data-bs-theme="dark"] .mi-page-document #delete-cookies:hover { background:#086565; color:#fff; }
@media(max-width:575.98px) { .mi-page-document button[data-cc="c-settings"],.mi-page-document #delete-cookies { padding:10px 16px; margin:6px 4px; font-size:.9rem; } }
