* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
}

html {
    line-height: 1.5;
    font-family: ui-sans-serif, system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: inherit;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

ol,
ul,
menu {
    list-style: none;
}

img,
svg {
    display: block;
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
}

::placeholder {
    opacity: 1;
    color: var(--color-placeholder-input);
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[hidden]:not([hidden="until-found"]) {
    display: none !important;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--color-bg-primary);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}


.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    max-width: 28rem;
    width: calc(100% - 2rem);
    background-color: var(--color-cookie-bg);
    border: 1px solid var(--color-cookie-border);
    box-shadow: var(--shadow-cookie);
    border-radius: 0.75rem;
    padding: 1rem;
    z-index: 1000;
    animation: cookie-slide-in 0.4s ease-out;
}

.cookie-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }
}


.cookie-text {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--color-cookie-text);
    margin: 0;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-link {
    font-size: 0.875rem;
    color: var(--color-link-footer);
    text-decoration: none;
    transition: color 0.15s ease;
}

.cookie-link:hover {
    color: var(--color-link-footer-hover);
    text-decoration: underline;
}

.cookie-accept {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: transparent;
    border: none;
    color: var(--color-cookie-icon);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.cookie-accept:hover {
    background-color: var(--color-cookie-icon-hover-bg);
    color: var(--color-cookie-icon-hover);
}


@keyframes cookie-slide-in {
    from {
        opacity: 0;
        transform: translateY(1.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-hero {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    overflow: hidden;
}

.top-hero-image {
    width: 100%;
    height: auto;
    display: block;
}