/*Privacy*/
@import url("./atlasroute-privacy-page.css");
@import url("./atlasroute-cookie-policy-page.css");
@import url("./atlasroute-commercial-disclosure-page.css");
@import url("./atlasroute-terms-page.css");
@import url("./atlasroute-important-information-page.css");

/* AtlasRoute CMS public page */
.cms-page-shell {
    min-height: 55vh;
    background: #f7f9fc;
}

.cms-breadcrumb {
    border-bottom: 1px solid #e1e8f0;
    background: #fff;
}
.cms-breadcrumb__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #6b7e90;
    font-size: 12px;
    overflow-wrap: anywhere;
}
.cms-breadcrumb__inner a {
    color: #315f88;
    font-weight: 700;
    text-decoration: none;
}
.cms-breadcrumb__inner a:hover { text-decoration: underline; }

.cms-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(54px, 8vw, 96px) 0 clamp(42px, 6vw, 72px);
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(62, 158, 255, .28), transparent 30%),
        linear-gradient(135deg, #021f43 0%, #063d79 58%, #0a5ca7 100%);
}
.cms-page-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -72px auto;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}
.cms-page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
}
.cms-page-eyebrow {
    margin: 0 0 12px;
    color: #b9dcff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}
.cms-page-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-shadow: 0 2px 18px rgba(0, 25, 54, .24);
}
.cms-page-lead {
    max-width: 820px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.9);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.85;
}
.cms-page-container {
    max-width: 1040px;
    padding-top: clamp(36px, 6vw, 72px);
    padding-bottom: clamp(58px, 8vw, 104px);
}
.cms-page-content {
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid #e1e8f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 48, 82, .08);
    color: #21384e;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.cms-page-content > :first-child { margin-top: 0; }
.cms-page-content > :last-child { margin-bottom: 0; }
.cms-page-content h1,
.cms-page-content h2,
.cms-page-content h3,
.cms-page-content h4,
.cms-page-content h5,
.cms-page-content h6 {
    margin: 1.8em 0 .75em;
    color: #0a3157;
    line-height: 1.42;
}
.cms-page-content h2 {
    padding-bottom: .48em;
    border-bottom: 1px solid #dfe8f1;
    font-size: clamp(24px, 3vw, 32px);
}
.cms-page-content h3 { font-size: clamp(20px, 2.4vw, 25px); }
.cms-page-content p,
.cms-page-content ul,
.cms-page-content ol,
.cms-page-content dl,
.cms-page-content blockquote,
.cms-page-content figure,
.cms-page-content table,
.cms-page-content pre {
    margin: 0 0 1.45em;
}
.cms-page-content ul,
.cms-page-content ol {
    padding-left: 1.6em;
}
.cms-page-content a {
    color: #075aa6;
    font-weight: 700;
    text-underline-offset: 3px;
}
.cms-page-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.4em auto;
    border-radius: 12px;
}
.cms-page-content figure { max-width: 100%; }
.cms-page-content figcaption {
    margin-top: 8px;
    color: #6b7e90;
    font-size: 13px;
    text-align: center;
}
.cms-page-content blockquote {
    padding: 18px 22px;
    border-left: 4px solid #1d72bd;
    border-radius: 0 10px 10px 0;
    background: #f1f7fc;
    color: #35536e;
}
.cms-page-content pre,
.cms-page-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.cms-page-content pre {
    max-width: 100%;
    padding: 18px;
    overflow-x: auto;
    border-radius: 12px;
    background: #10283e;
    color: #edf7ff;
}
.cms-page-content :not(pre) > code {
    padding: .16em .38em;
    border-radius: 5px;
    background: #edf3f8;
}
.cms-page-content table {
    width: 100%;
    border-collapse: collapse;
}
.cms-page-content th,
.cms-page-content td {
    padding: 11px 13px;
    border: 1px solid #dce5ee;
    text-align: left;
    vertical-align: top;
}
.cms-page-content th {
    background: #f1f6fa;
    color: #173f64;
}

.cms-page-content details {
    margin: 0 0 14px;
    border: 1px solid #dce6ef;
    border-radius: 12px;
    background: #fbfdff;
}
.cms-page-content details > summary {
    padding: 16px 18px;
    color: #123f67;
    font-weight: 800;
    cursor: pointer;
}
.cms-page-content details[open] > summary {
    border-bottom: 1px solid #e1e9f1;
}
.cms-page-content details > :not(summary) {
    margin-left: 18px;
    margin-right: 18px;
}
.cms-page-content details > :last-child {
    margin-bottom: 18px;
}

.cms-page-content hr {
    margin: 2.2em 0;
    border: 0;
    border-top: 1px solid #dce5ee;
}
.cms-preview-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e7c15a;
    background: #fff7d8;
    color: #664d00;
}
.cms-preview-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 48px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 12px;
}
.cms-preview-bar strong { margin-right: 8px; letter-spacing: .12em; }
.cms-preview-bar a { color: inherit; font-weight: 800; }
.cms-system-message {
    min-height: 56vh;
    padding: clamp(60px, 9vw, 120px) 0;
    background: #f7f9fc;
}
.cms-system-message__card {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(28px, 6vw, 56px);
    border: 1px solid #e0e8f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 48, 82, .08);
    text-align: center;
}
.cms-system-message__card .cms-page-eyebrow { color: #49779f; }
.cms-system-message__card h1 {
    margin: 0 0 14px;
    color: #0b3155;
    font-size: clamp(28px, 4vw, 42px);
}
.cms-system-message__card p {
    margin: 0 auto 24px;
    color: #60758a;
    line-height: 1.8;
}
.cms-page-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #073d74;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}
@media (max-width: 720px) {
    .cms-page-container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .cms-page-content {
        padding: 22px 18px;
        border-radius: 14px;
    }
    .cms-page-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .cms-preview-bar__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
