body {
    min-width: 320px;
    background-color: #f2f2f2;
    --main-color: #eb0a1e;
    --text-color: #212529;
    --page-width: 70em;
}

.section-container .btn {
    margin: 0;
    padding: 1em 2em;
}

.flex {
    display: flex;
}

.button-flex {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.button-flex a {
    transition: all 0.1s ease-in-out;
}

.button-flex a i {
    margin: 0 0.5em 0 0;
}

.section-container {
    display: flex;
    flex-direction: column;
    padding: 2em 0;
    margin: 0 auto;
    width: 90%;
    max-width: var(--page-width);
    align-items: flex-start;
    justify-content: center;
}

.section-content p {
    line-height: 1.5em;
    margin: 0;
    padding: 0;
}

.section-content ul {
    margin-top: 1em;
}

.section-content th,
.section-content td {
    padding: 0.5em;
    border: 1px solid #ccc;
}

.section-gallery {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 24em;
}

.content-section:has(.section-gallery) {
    display: flex;
    flex-direction: column;
}

.content-section:nth-of-type(odd) {
    background-color: #fafafa;
}

/* Hero */
#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 20em;
    background: url('https://media.mediaresults.com/wp-content/uploads/2025/07/26-bzw-bike-rack-scaled.webp') center/cover;
}

#hero h1 {
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 4em;
    margin: 0;
    transform: translateY(-1em);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Recent Posts */

#recent-posts {
    text-align: center;
}

#recent-posts h2 {
    margin: 0 auto 0.5em auto;
    font-size: 2em;
    color: var(--main-color);
    font-weight: bold;
}

#recent-posts-intro {
    max-width: 600px;
    margin: 0 auto 2.5em auto;
}

.posts-flex {
    width: 100%;
    flex-direction: column;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

.posts-flex .post {
    background-color: white;
    width: 100%;
    text-align: left;
    max-width: 30em;
}

.posts-flex .post:hover {
    text-decoration: none;
    box-shadow: 0 1em 2em rgba(0, 0, 0, 0.1);
}

.posts-flex .post img {
    width: 100%;
    height: 15em;
    object-fit: cover;
}

.posts-flex .post .post-title {
    padding: 2em;
}

.posts-flex .post .post-title h3 {
    font-size: 1.3em;
    line-height: 1.5em;
    margin: 0 0 0.5em 0;
    font-weight: bold;
}

.posts-flex .post .post-title time {
    color: black
}

/* Call to Action */
#c2a {
    text-align: center;
    width: 100%;
    background-color: black;
    color: white;
}

#c2a .section-container {
    align-items: center;
}

#c2a .section-container h2 {
    font-weight: bold;
    margin: 0 0 0.5em 0;
}

#c2a .section-container p {
    max-width: 54em;
    margin: 0 auto 2em auto;
}

#c2a a:not(.btn) {
    color: white !important;
    text-decoration: underline;
}

/* All Articles */

#all-articles h2 {
    color: var(--main-color);
    font-weight: bold;
    margin-bottom: 1em;
}

#all-articles ul {
    list-style-type: square;
    padding: 0 0 0 1em;
}

/* Responsive CSS */

@media only screen and (min-width: 820px) {
    .button-flex {
        flex-direction: row;
    }

    .full-width .btn {
        max-width: 25em;
    }

    .section-container {
        padding: 3em 0;
    }

    .section-gallery {
        max-height: none;
        width: 33%;
    }

    .content-section:has(.section-gallery) {
        flex-direction: row;
    }

    .section-gallery+.section-container {
        padding-left: 2em;
        padding-right: 2em;
        width: 67%;
    }

    #hero {
        height: 30em;
    }

    #hero h1 {
        transform: translateY(-1.5em);
    }

    .right-image {
        flex-direction: row-reverse !important;
    }

    .posts-flex {
        flex-direction: row;
        gap: 2em;
        align-items: flex-start;
        justify-content: center;
    }

    .posts-flex .post {
        width: calc(33% - 1em);
    }
}

/* BVadmin */
.main.pt-4 {
    padding: 0 !important;
}

.main.pt-4 .container {
    padding: 0 !important;
    max-width: none !important;
}

.main .col-lg-8 {
    order: unset !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    max-width: none !important;
}

h1:not(.page-title) {
    display: none;
}

.btn-primary:visited {
    color: white !important;
}

.breadcrumbwrapper {
    display: none !important;
}