/* Cookie Consent Overlay */
body.cookie-pending {
    overflow: hidden;
}

#cookieBanner {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

#redim-cookiehint {
    background-color: #fff;
    color: #393939;
    padding: 2.5rem 2.5rem 2rem;
    font-family: 'Raleway', sans-serif;
    border-radius: 0.5rem;
    max-width: 560px;
    width: 90%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#redim-cookiehint .cookiehead .headline {
    font: 700 1.25rem/1.5 "Lato", sans-serif;
    color: #393939;
    display: block;
    margin-bottom: 12px;
}

#redim-cookiehint .cookiecontent p {
    color: #626262;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

#redim-cookiehint .cookiebuttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

#redim-cookiehint .cookiebuttons .btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid #29634a;
    border-radius: 2rem;
    background-color: #29634a;
    color: #fff;
    font: 700 0.8rem/1 "Raleway", sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

#redim-cookiehint .cookiebuttons .btn:hover {
    background-color: transparent;
    color: #29634a;
}

#redim-cookiehint #cookiehintinfo {
    width: 100%;
    margin-top: 12px;
}

#redim-cookiehint #cookiehintinfo a {
    color: #29634a;
    font-size: 0.8rem;
    text-decoration: underline;
}

#redim-cookiehint .clr {
    clear: both;
}

/* Blog post page styles */
.ex-header {
    padding-top: 8rem;
    padding-bottom: 5rem;
    text-align: center;
    background-color: #f7fcfd;
}

.ex-header h1 {
    font-size: 2rem;
    line-height: 2.5rem;
}

.ex-basic-1 .breadcrumbs {
    margin-bottom: 1.125rem;
}

.ex-basic-1 .breadcrumbs .fa {
    margin-right: 0.5rem;
    margin-left: 0.625rem;
}

.blog-article {
    padding: 3rem 0 4rem;
}

.blog-article h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-article h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-article p {
    margin-bottom: 1rem;
}

.blog-article ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.blog-article li {
    margin-bottom: 0.4rem;
}

.blog-article pre {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 20px 24px;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.blog-article code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.blog-article p code {
    background: #f7fcfd;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #29634a;
}

.blog-article .info-box {
    background: #f7fcfd;
    border-left: 4px solid #29634a;
    padding: 16px 20px;
    border-radius: 0 0.25rem 0.25rem 0;
    margin: 1.5rem 0;
}

.blog-article .info-box p {
    margin-bottom: 0;
    color: #393939;
}

.blog-article img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

/* Legal pages */
.legal-page {
    padding: 3rem 0 4rem;
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-page h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-page h4 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-page p {
    margin-bottom: 0.75rem;
}

.legal-page ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.3rem;
}

.legal-page a {
    word-break: break-all;
}

/* Navbar brand image sizing */
.navbar-custom .navbar-brand img {
    width: 8em;
}

@media (min-width: 992px) {
    .ex-header {
        background: url('../images/ex-header-background.jpg') center center no-repeat;
        background-size: cover;
    }

    .ex-header h1 {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    #redim-cookiehint {
        padding: 1.5rem;
    }

    #redim-cookiehint .cookiebuttons {
        flex-direction: column;
        align-items: stretch;
    }

    #redim-cookiehint #cookiehintinfo {
        margin-left: 0;
    }
}
