@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

:root {
    color-scheme: light;
    font-family: "Roboto", Arial, sans-serif;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

body {
    background: #fff;
    color: #1b1b1d;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body,
body * {
    box-sizing: border-box;
}

.aeblank-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    background: #fff;
    isolation: isolate;
}

.aeblank-system-messages {
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid #e3e3e3;
    background: #f5f5f5;
}

.aeblank-system-messages:has(#system-message-container:empty) {
    display: none;
}

.aeblank-system-messages #system-message-container {
    width: min(1440px, 100%);
    margin: 0 auto;
}

.aeblank-system-messages joomla-alert,
.aeblank-system-messages .alert {
    position: relative;
    display: block;
    min-height: 64px;
    margin: 0;
    padding: 14px 58px 14px 76px;
    overflow: hidden;
    border: 1px solid #dedede;
    border-left: 5px solid #a00000;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    color: #1b1b1d;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

.aeblank-system-messages joomla-alert::before,
.aeblank-system-messages .alert::before {
    position: absolute;
    top: 50%;
    left: 22px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #a00000;
    color: #fff;
    content: "!";
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-50%);
}

.aeblank-system-messages joomla-alert[type="success"],
.aeblank-system-messages .alert-success {
    border-left-color: #2f7f42;
}

.aeblank-system-messages joomla-alert[type="success"]::before,
.aeblank-system-messages .alert-success::before {
    background: #2f7f42;
    content: "\2713";
}

.aeblank-system-messages joomla-alert[type="warning"],
.aeblank-system-messages .alert-warning {
    border-left-color: #b07a00;
}

.aeblank-system-messages joomla-alert[type="warning"]::before,
.aeblank-system-messages .alert-warning::before {
    background: #b07a00;
}

.aeblank-system-messages .alert-heading,
.aeblank-system-messages .joomla-alert--heading {
    display: none;
}

.aeblank-system-messages .alert-wrapper {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 18px;
}

.aeblank-system-messages .alert-message {
    flex: 1 1 auto;
    min-width: 0;
}

.aeblank-system-messages .aeblank-message-title {
    display: block;
    margin-bottom: 2px;
    color: #1b1b1d;
    font-size: 16px;
    font-weight: 700;
}

.aeblank-system-messages .aeblank-message-action {
    display: inline-flex;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 1px solid #b00000;
    border-radius: 4px;
    background: #b00000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease;
}

.aeblank-system-messages .aeblank-message-action:hover,
.aeblank-system-messages .aeblank-message-action:focus-visible {
    border-color: #1b1b1d;
    background: #1b1b1d;
    color: #fff;
}

.aeblank-system-messages .joomla-alert--close,
.aeblank-system-messages .btn-close,
.aeblank-system-messages button.close {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 22px;
    cursor: pointer;
    transform: translateY(-50%);
}

.aeblank-license-blocker {
    position: relative;
    display: block;
    width: 100%;
    margin: 24px 0 32px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ddcaca;
    border-left: 6px solid #b00000;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    color: #1b1b1d;
    font-family: "Roboto", Arial, sans-serif;
}

.aeblank-license-blocker__source {
    display: none !important;
}

.aeblank-license-blocker__inner {
    display: grid;
    min-height: 104px;
    align-items: center;
    gap: 20px;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    padding: 22px 24px;
    background:
        linear-gradient(90deg, rgba(176, 0, 0, 0.055), rgba(176, 0, 0, 0) 42%),
        #fff;
}

.aeblank-license-blocker__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #b00000;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}

.aeblank-license-blocker__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.aeblank-license-blocker__title {
    color: #1b1b1d;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.aeblank-license-blocker__description {
    max-width: 760px;
    color: #4e4e52;
    font-size: 15px;
    line-height: 1.5;
}

.aeblank-license-blocker__action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border: 1px solid #b00000;
    border-radius: 4px;
    background: #b00000;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease;
}

.aeblank-license-blocker__action:hover,
.aeblank-license-blocker__action:focus-visible {
    border-color: #1b1b1d;
    background: #1b1b1d;
    color: #fff;
}

.aeblank-license-blocker .close,
.aeblank-license-blocker .btn-close,
.aeblank-license-blocker button.close,
.aeblank-license-blocker .joomla-alert--close {
    display: none !important;
}

button,
input,
select,
textarea {
    font: inherit;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

legend {
    max-width: 100%;
    padding: 0;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.aep-page-block {
    width: 100%;
}

.aep-page-block--contained > .aep-page-block__inner {
    width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}

.aeblank-scroll-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1200;
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b00000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 24px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition:
        background-color 160ms ease,
        opacity 160ms ease,
        transform 160ms ease;
}

.aeblank-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.aeblank-scroll-top:hover {
    background: #1b1b1d;
}

.aeblank-scroll-top:focus-visible {
    outline: 3px solid rgba(176, 0, 0, 0.28);
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .aeblank-system-messages {
        padding: 10px 12px;
    }

    .aeblank-system-messages joomla-alert,
    .aeblank-system-messages .alert {
        padding: 14px 46px 14px 58px;
    }

    .aeblank-system-messages joomla-alert::before,
    .aeblank-system-messages .alert::before {
        left: 14px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .aeblank-system-messages .alert-wrapper {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .aeblank-system-messages .aeblank-message-action {
        width: 100%;
    }

    .aeblank-license-blocker {
        margin: 18px 0 26px;
    }

    .aeblank-license-blocker__inner {
        align-items: flex-start;
        gap: 14px;
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 18px;
    }

    .aeblank-license-blocker__icon {
        width: 36px;
        height: 36px;
        font-size: 21px;
    }

    .aeblank-license-blocker__title {
        font-size: 18px;
    }

    .aeblank-license-blocker__action {
        width: 100%;
        grid-column: 1 / -1;
    }

    .aeblank-scroll-top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aeblank-scroll-top {
        transition: none;
    }
}

@media print {
    .aeblank-header {
        position: static;
    }
}
