/* Variables
----------------------------------------
////////////////////////////////////// */
:root {
    --color-1: #990000;
    --color-1-dark: #730000;

    --grey: #CCCCCC;
}




/* Patterns
----------------------------------------
////////////////////////////////////// */
.has-border {
    border: 1px solid var(--grey);
}




/* Header
----------------------------------------
////////////////////////////////////// */
body header.site-header .custom-logo-link img {
    margin: 0;
}




/* Breadcrumb
----------------------------------------
////////////////////////////////////// */
body .general-page-breadcrumb,
body .breadcrumb-container {
    margin: 0;
    display: block;
}

body .general-page-breadcrumb {
    padding: 20px 0;
}

body .breadcrumb-container .breadcrumb-divider {
    margin-left: 10px;
    margin-right: 10px;
}

@media screen and (max-width: 767px) {
    body .general-page-breadcrumb {
        padding: 10px 0;
    }

    body .breadcrumb-container .breadcrumb-divider {
        margin-left: 6px;
        margin-right: 6px;
    }
}




/* Content
----------------------------------------
////////////////////////////////////// */
body .side-nav-tab-content-container {
    padding: 60px 0;
}

body .side-nav-tab-content-container .tab-content h3,
body .side-nav-tab-content-container .tab-content h4 {
    font-family: "Open Sans", arial, sans-serif;
}

body .side-nav-tab-content-container .tab-content h2 {
    margin-top: 45px;
    margin-bottom: 15px;
}

body .side-nav-tab-content-container .tab-content h3 {
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

body .side-nav-tab-content-container .tab-content p a {
    color: inherit;
    display: inline;
}

body .side-nav-tab-content-container .tab-pane> :first-child,
body .side-nav-tab-content-container .tab-content> :first-child {
    margin-top: 0;
}

body .side-nav-tab-content-container .tab-pane> :last-child,
body .side-nav-tab-content-container .tab-content> :last-child {
    margin-bottom: 0;
}





/* Stack patterns
----------------------------------------
////////////////////////////////////// */
.post-details> :not(:first-child),
.stack-bs> :not(:first-child) {
    margin-top: 30px;
}

.stack-sm>.post-details> :not(:first-child) {
    margin-top: 15px;
}

.stack-md>.post-details> :not(:first-child) {
    margin-top: 22.5px;
}

.stack-lg>.post-details> :not(:first-child) {
    margin-top: 45px;
}


.post-text> :first-child {
    margin-top: 0;
}

.post-text> :last-child {
    margin-bottom: 0;
}


.stack-layers {
    display: flex;
    flex-wrap: nowrap;
}

.stack-layers>div {
    min-width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
}

.stack-layers> :first-child {
    margin-right: -100%;
}




/* Button card
----------------------------------------
////////////////////////////////////// */
.button-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid var(--grey);
    border-top: 5px solid var(--color-1);
    padding: 30px 20px 60px;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s ease;
    margin: 15px auto;
}

.button-card::after {
    content: '→';
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
    margin: auto;
    width: 44px;
    height: 44px;
    line-height: 0;
    background: var(--color-1);
    color: #fff;
    transition: background 0.3s ease;
}

body .tab-content .button-card img {
    border: 0;
}

.button-card p {
    margin: 0 !important;
    line-height: 26px !important;
}

.button-card .post-icon {
    width: 60px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
}

.button-card .post-icon img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

.button-card .post-title {
    font-weight: 700;
}

.button-card .post-title * {
    font-weight: inherit;
}

.button-card .post-text {
    font-weight: 400;
}

.button-card .post-text p {
    font-size: 16px;
}

.button-card:hover {
    text-decoration: none;
    transform: translate3d(0, -4px, 0);
}

.button-card:hover::after {
    background-color: var(--color-1-dark);
}


.button-cards-lg .button-card {
    aspect-ratio: 1.25;
}

.button-cards-lg .button-card .post-title p {
    font-size: 24px;
    line-height: 32px;
}


@media screen and (min-width: 768px) {

    .button-cards .row>div,
    .button-cards-lg .row>div {
        display: flex;
        flex-direction: column;
    }

    .button-cards .button-card {
        flex-grow: 1;
    }

    .button-cards-lg .button-card {
        padding-left: 45px;
        padding-right: 45px;
    }

}




/* Banner
----------------------------------------
////////////////////////////////////// */

.banner {
    padding: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.banner h1,
.banner p {
    margin: 0;
}

.banner h1 {
    font-family: "Bitter", serif;
    font-size: 44px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
}

.banner .post-preview {
    padding: 30px 0 0;
}

.banner img {
    width: 100%;
    max-width: 100%;
    border: 0;
}

@media screen and (min-width: 768px) {
    .banner .post-preview {
        padding: 60px 0;
    }

    .banner .stack-layers {
        align-items: stretch;
    }

    .banner .stack-layers img {
        min-height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

@media screen and (max-width: 767px) {
    .banner .stack-layers {
        display: block;
    }

    .banner .stack-layers>div {
        margin: auto;
    }
}





/* Accordion
----------------------------------------
////////////////////////////////////// */
/*
.accordion {
    border: 1px solid var(--grey);
    background: #fff;
}
.accordion + .accordion {
    margin-top: 15px;
}
.accordion .accordion-header {
    margin: 0!important;
}
.accordion .accordion-body,
.accordion .accordion-header button {
    padding: 20px 30px;
}
.accordion .accordion-header button {
    position: relative;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding-right: 45px;
    min-height: 48px;
}
.accordion .accordion-header .info-label-icon {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    margin: auto;
    display: flex;
    align-items: center;
}
.accordion .accordion-body {
    padding-top: 0;
    padding-bottom: 0;
}

.accordion .accordion-header button .drop {
    display: block;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px
}
.accordion .accordion-header button .drop::before,
.accordion .accordion-header button .drop::after {
    content: '';
    background: var(--color-1);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: all 0.3s ease;
}

.accordion .accordion-header button .drop::before {
    width: 2px;
    height: 0;
}
.accordion .accordion-header button .drop::after {
    width: 16px;
    height: 2px;
}

.accordion .accordion-header button.collapsed .drop::before {
    height: 16px;
}
*/