/*
Theme Name: BSW Master
Author: Buendnis Sahra Wagenknecht
Author URI: https://bsw-vg.de/
Version: 1.2.13
Text Domain: bswtheme
*/

/* Fonts */
@import url('fonts.css');


/* Config */

:root {
    /* Sizes */
    --header-height: 150px;
    --header-height-mobile: 120px;
    --content-padding: 100px;
    --content-width: 1500px;
    --content-width-wide: 1920px;
    --content-width-narrow: 980px;
    --text-size: 17px;

    /* Breakpoints */
    --breakpoint-xs: 800px;
    --breakpoint-s: 1024px;
    --breakpoint-m: 1280px;

    /* Mobile Sizes */
    --mobile-content-padding: 25px;

    /* Colors */
    --background-color: #fff;
    --text-color: #000;
}


/* Styles */

html {
    width: 100%;
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter';
    font-weight: normal;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: var(--text-size);
    overflow-x: hidden;
}
html.noScroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto; /*fit-content*/
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
h1,
.like-h1,
.like-h1 *{
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 0 !important;
}
h2,
.like-h2,
.like-h2 * {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 50px;
}
h3,
.like-h3,
.like-h3 * {
    font-size: 29px;
    font-weight: bold;
}
h4,
.like-h4,
.like-h4 * {
    font-size: 20px;
    font-weight: bold;
}
h5 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}
h4 ~ h2 {
    margin-top: 16px;
}
p {
    margin: 25px 0;
    line-height: 140%;
}
small {
    font-size: 12px;
    color: #707070;
}
ul, ol { 
    line-height: 140%;
    margin: 30px 0;
}
a {
    width: fit-content;
    text-decoration: none;
    color: #000;
}

.ctaLink {
    display: block;
    width: fit-content;
}
.ctaLink > .row {
    gap: 15px;
    align-items: center;
}
.ctaLinkText {
    position: relative;
    font-size: 24px; /* war 29px */
    font-weight: bold;
}
.ctaLinkIcon {
    width: 28px;
    transition: transform .1s ease-out;
}
.ctaLinkText::after {
    position: absolute;
    display: block;
    content: '';
    width: 0;
    height: 3px;
    background-color: #000;
    margin-top: 5px;
    background: rgba(177,25,73,1);
    background: linear-gradient(90deg, rgba(177,25,73,1) 0%, rgba(207,0,85,1) 40%, rgba(244,152,0,1) 100%);
    transition: width .1s ease-in-out;
}
.ctaLink:hover .ctaLinkText::after,
.ctaLink.active .ctaLinkText::after {
    width: 100%;
}
.ctaLink:hover .ctaLinkIcon:not(.downloadIcon) {
    transform: translateX(6px);
}


.ctaLink.big .ctaLinkText {
    font-size: 29px;
}
.ctaLink.big .ctaLinkIcon {
    width: 34px;
}

.ctaLink.small .ctaLinkText {
    font-size: 20px;
}
.ctaLink.small .ctaLinkIcon {
    width: 19px;
}

.ctaLink.tiny .ctaLinkText {
    font-size: 16px;
}
.ctaLink.tiny .ctaLinkIcon {
    width: 18px;
}


button,
.menu .button > a {
    position: relative;
    font-size: 17px;
    font-weight: bold;
    padding: 14px 20px;
    cursor: pointer;
    border: none;
    background-color: #F8A100;
    color: #fff;
    overflow: hidden;
    transition: background-color .1s ease-in-out;
}
button span {
    position: relative;
}
button:not(.gradient):hover {
    background-color: #ffae00;
}
button:active {
    background-color: #EC6E00;
}

button.gradient::before,
.mainMenu .button::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #EC6E00;
    background: linear-gradient(90deg, #EC6E00 0%, #F8A100 100%);
    transition: transform .1s ease-in-out;
}
button.gradient:hover::before,
.menu .button:hover::before {
    transform: translateX(-100%);
}

button.outline {
    color: #fff;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid #fff;
    transition: background-color .1s ease-in-out;
}
button.outline:hover {
    background-color: rgba(255, 255, 255, .2);
}

.menu .button {
    background-color: #F8A100;
    white-space: nowrap;
    overflow: hidden;
}
.menu .button > a {
    display: block;
    background-color: transparent;
}
.menu .button > a::after {
    display: none !important;
}
.mobileMainMenu .button {
    background-color: transparent;
}
.mobileMainMenu .button > a {
    margin: 0 auto;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid #fff;
    transition: background-color .1s ease-in-out;
}
.mobileMainMenu .button > a:hover {
    background-color: rgba(255, 255, 255, .2);
}


input {
    width: 100%;
    height: 48px;
    border: 1px solid #ccc;
    padding: 0px 15px;
    box-sizing: border-box;
    outline-color: #F8A100;
}
input[type="checkbox"],
input[type="radio"] {
    border: none;
}
input[type="checkbox"] {
    width: 18px;
    height: 18px;
}
input[type="image"] {
    border: none;
    width: auto;
    height: auto;
    padding: 0;
}



.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    box-sizing: border-box;
}
.container.wide {
    max-width: var(--content-width-wide);
}
.container.narrow {
    max-width: var(--content-width-narrow);
}
.container.full {
    max-width: none;
}
.container.padding {
    padding: 0 var(--content-padding);
}

.row {
    display: flex;
}
.row.inline {
    display: inline-flex;
}
.row.vertical {
    height: 100%;
    flex-direction: column;
}
.row.wrap {
    flex-wrap: wrap;
}

.col { display: flex; }
.col.stretch-double { flex: 2; }
.col.stretch { flex: 1; }
.col.stretch-threequarter { flex: .75; }
.col.stretch-half { flex: .5; }
.col.stretch-third { flex: .33; }
.col.stretch-quarter { flex: .25; }

.space-between { justify-content: space-between; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }


.grid {
    display: flex;
    flex-wrap: wrap;
}
.grid .gridItem {
    box-sizing: border-box;
}
.grid.col1 .gridItem { flex-basis: 100%; }
.grid.col2 .gridItem { flex-basis: 50%; }
.grid.col3 .gridItem { flex-basis: 33.333%; }
.grid.col4 .gridItem { flex-basis: 25%; }
.grid.grid-gap {
    margin-left: -30px;
    margin-right: -30px;
}
.grid.grid-gap .gridItem { padding: 30px; }


.gap-120 { gap: 120px; }
.gap-100 { gap: 100px; }
.gap-80 { gap: 80px; }
.gap-60 { gap: 60px; }
.gap-50 { gap: 50px; }
.gap-40 { gap: 40px; }
.gap-30 { gap: 30px; }
.gap-20 { gap: 20px; }
.gap-10 { gap: 10px; }
.gapX-120 { column-gap: 120px; }
.gapX-100 { column-gap: 100px; }
.gapX-80 { column-gap: 80px; }
.gapX-60 { column-gap: 60px; }
.gapX-50 { column-gap: 50px; }
.gapX-40 { column-gap: 40px; }
.gapX-30 { column-gap: 30px; }
.gapX-20 { column-gap: 20px; }
.gapX-10 { column-gap: 10px; }
.gapY-120 { row-gap: 120px; }
.gapY-100 { row-gap: 100px; }
.gapY-80 { row-gap: 80px; }
.gapY-60 { row-gap: 60px; }
.gapY-50 { row-gap: 50px; }
.gapY-40 { row-gap: 40px; }
.gapY-30 { row-gap: 30px; }
.gapY-20 { row-gap: 20px; }
.gapY-10 { row-gap: 10px; }


header {
    position: absolute;
    top: 0;
    z-index: 999;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background-color: #fff;
    transition: background-color .1s ease-in-out;
}
header.fixed {
    position: fixed;
    transform: translateY(-101%);
}
header.animate {
    transition: transform .2s ease-in-out;
}
header.fixed.visible {
    transform: translateY(0);
    border-bottom: 1px solid #e7ebee;
}



body.transparentHeader header:not(.fixed) {
    background-color: transparent;
    border: none;
}
body.transparentHeader header:not(.fixed) .headerLogo {
    filter: saturate(0) invert(1) brightness(5);
}
body.transparentHeader header:not(.fixed) .searchButton {
    filter: invert(1);
}
body.transparentHeader header:not(.fixed) .searchInput {
    border-color: #fff;
}
body.transparentHeader header:not(.fixed) .mainMenu a {
    color: #fff;
}
body.transparentHeader header:not(.fixed) .mainMenu .sub-menu {
    background-color: rgba(255, 255, 255, .3);
}
body.transparentHeader header:not(.fixed) .mobileMenuButton {
    filter: invert(1);
}
body.transparentHeader #content {
    margin-top: 0;
}



.headerLogo {
    width: 250px;
    max-width: 50vw;
    transition: filter .1s ease-in-out;
}

.mainMenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 35px;
}
.mainMenu li {
    position: relative;
}
.mainMenu a {
    position: relative;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: color .1s ease-in-out;
}
.mainMenu > ul > li > a {
    display: block;
}
.mainMenu a::after {
    position: absolute;
    display: block;
    content: '';
    width: 0;
    height: 3px;
    background-color: #000;
    margin-top: 5px;
    background: rgba(177,25,73,1);
    background: linear-gradient(90deg, rgba(177,25,73,1) 0%, rgba(207,0,85,1) 40%, rgba(244,152,0,1) 100%);
    transition: width .1s ease-in-out;
}
.mainMenu a:hover::after,
.mainMenu li.current-menu-item:not(.anker) a::after,
.mainMenu li.current-menu-parent:not(.anker) a::after {
    width: 100%;
}
.mainMenu .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 15px 25px;
    text-align: center;
    backdrop-filter: blur(12px);
}
.mainMenu .sub-menu li {
    padding: 5px 0;
    white-space: nowrap;
}
.mainMenu .sub-menu li a::after {
    display: none;
}
.mainMenu .sub-menu li a:hover,
.mainMenu .sub-menu li.current-menu-item a {
    color: #ffb836 !important;
}

.searchButton {
    cursor: pointer;
    transition: filter .1s ease-in-out;
}

.searchForm {
    position: relative;
    gap: 20px;
    flex: 1;
    margin-left: 35px;
    flex-shrink: 0;
    flex-basis: 32px;
}
.searchForm input[type="search"] {
    display: none;
    position: absolute;
    width: 250px;
    right: 54px;
    top: -8px;
    height: 45px;
    border-radius: 23px;
    padding: 0 20px;
    border: 3px solid #000;
    outline: none !important;
}
.searchForm input[type="search"]::placeholder {
    font-weight: bold;
    color: #B9B9B9;
}

.mobileMenuButton {
    display: none;
    cursor: pointer;
}
.mobileMenuCloseButton {
    cursor: pointer;
}

#mobileMenu {
    display: none;
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    padding: 60px 30px 0;
    box-sizing: border-box;
    background: rgba(177,25,73,1);
    background: linear-gradient(0deg, rgba(177,25,73,1) 0%, rgba(207,0,85,1) 40%, rgba(244,152,0,1) 100%);
    overflow-y: auto;
}

.mobileMainMenu { 
    margin-bottom: 50px;
}
.mobileMainMenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    line-height: 40px;
}
.mobileMainMenu .submenu-highlighted > .menu-item:not(.submenu-open) {
    opacity: .5;
}
.mobileMainMenu > ul > li {
    margin-bottom: 30px;
    transform: translateY(-50px);
    opacity: 0;
    transition: all .2s ease-out;
}
.mobileMainMenu > ul > li.visible {
    transform: translateY(0);
    opacity: 1;
}
.mobileMainMenu a {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    text-decoration: none;
}
.mobileMainMenu .sub-menu {
    display: none;
    line-height: 50px;
}
.mobileMainMenu .sub-menu a {
    font-size: 26px;
    font-weight: normal;
}


.mobileSearchForm {
    gap: 20px;
    flex: 1;
}
.mobileSearchForm input[type="search"] {
    width: 100%;
    max-width: 300px;
    height: 45px;
    border-radius: 23px;
    padding: 0 20px;
    border: none;
    outline: none !important;
}
.mobileSearchForm input[type="search"]::placeholder {
    font-weight: bold;
    color: #B9B9B9;
}

.mobileLogo {
    width: 158px;
    margin: 50px 0;
}



.videoWrapper {
    position: relative;
    width: 100%;
    min-height: 450px;
    height: calc(100vh - 120px);
    overflow: hidden;
    margin-bottom: 70px;
}
.videoWrapper video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.imageWrapper {
    position: relative;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
    margin-bottom: 70px;
}



.headerOverlay {
    padding-top: 200px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
}
.headerOverlay > .container {
    color: #fff;
}
.headerOverlay .gradientOverlay {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background-color: rgba(120,33,80,1);
    background: linear-gradient(0deg, rgba(120,33,80,1) 0%, rgba(238,116,2,0) 50%, rgba(238,116,2,0) 80%, rgba(120,33,80,1) 100%);
    mix-blend-mode: multiply;
}
.headerOverlay .overlayContent {
    position: relative;
    z-index: 2;
}
.headerOverlay .buttonContainer {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
}
.headerOverlay .buttonContainer button {
    margin-bottom: 15px;
}


#content {
    margin-top: var(--header-height);
}

#content a:not(.ctaLink, .noUnderline) {
    text-decoration: underline;
}
#content a:not(.ctaLink, .noUnderline):hover {
    color: #ffae00;
}

.component {
    margin-bottom: 115px;
}


.sharePost {
    margin: 100px 0 0 0;
}
.sharePost .gradientFront {
    padding: 90px 0 30px !important;
}


.pageMenu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.pageMenu li {
    border-bottom: 1px solid #A0A0A0;
    transition: border-color .1s ease-in-out;
}
.pageMenu li a {
    display: block;
    width: 100%;
    padding: 20px 0 10px;
    font-size: 18px;
    font-weight: bold;
    color: #A0A0A0;
    transition: color .1s ease-in-out;
}
.pageMenu li:hover {
    border-color: #000;
}
.pageMenu li:hover a {
    color: #000;
}
.pageMenu li.active {
    border-color: #000;
}
.pageMenu li.active a {
    color: #000;
}


.memberHeadRow {
    height: 480px;
}


.topicHeading {
    margin-bottom: 80px;
}


.accordion {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.accordion li:not(:last-child) {
    border-bottom: 1px solid #707070;
}
.accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 70px;
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
}
.accordion-button::after {
    flex-shrink: 0;
    display: block;
    content: '';
    width: 11px;
    height: 11px;
    border: 2px solid #000;
    border-top: none;
    border-left: none;
    transform: rotateZ(45deg);
    margin: -8px 15px 0 0;
    transform-origin: 9px 9px;

    transition: transform .1s ease-in-out, color .1s ease-in-out;
}
.accordion-content {
    display: none;
    padding: 0 0 20px;
}
.accordion-content p {
    margin: 10px 0;
}
.accordion li.active .accordion-button:after {
    transform: rotateZ(225deg);
}



.memberHeader {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center left; 
}
.memberHeader h1,
.memberHeader h4 {
    color: #fff;
}


.searchResults {
    display: flex;
    flex-wrap: wrap;
    gap: 80px 60px;
    margin-bottom: 60px;
}
.searchResult {
    flex-basis: 100%;
}
.searchResult p {
    margin: 15px 0;
}

.searchResults.twoColumns .searchResult {
    flex-basis: calc(50% - 40px);
}

.searchResultImageRow {
    flex-shrink: 0;
}
.searchResultImageRow img {
    width: 200px;
}


.portraitImageContainer {
    background-color: #eee;
    display: flex;
    justify-content: center;
    padding: 30px;
}
.portraitImageContainer img {
    max-width: 360px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .5);
}

.landscapeImageContainer {
    width: 100%;
}
.landscapeImageContainer img {
    width: 100%;
    height: auto;
}
.landscapeImageContainer.crop {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.landscapeImageContainer.crop img {
    object-position: center;
    object-fit: cover;
    height: 100%;
}

body.single-member .container.wide{
    min-height: 400px;
}
body.single-member .container.wide.contact-enabled{
    min-height: 800px;
}
body.single-member .footerBox{
    margin-top: 60px;
}


footer {
    margin-top: 120px;
}

footer .gradientBack {
    display: flex;
    background: rgba(120,33,80,1);
    background: linear-gradient(90deg, rgba(120,33,80,1) 0%, rgba(238,116,2,1) 100%);
}

footer .gradientFront {
    position: relative;
    width: 100%;
    background: rgba(177,25,73,1);
    background: linear-gradient(90deg, rgba(177,25,73,.64) 0%, rgba(207,0,85,.64) 40%, rgba(244,152,0,.64) 100%);
    margin-top: -30px;
    margin-bottom: 30px;
    padding: 80px 0 50px;
    min-height: 140px;
    display: flex;
    align-items: flex-end;
}


.footerMenu {
    margin-bottom: 80px;
}
.footerMenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    column-count: 2;
    column-gap: 50px;
    line-height: 28px;
}
.footerMenu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: opacity .1s ease-in-out;
}
.footerMenu a:hover {
    opacity: .8;
}

.footerLogo {
    width: 100%;
}
.footerLogo img {
    width: 326px;
}

footer .socialMenu {
    margin-top: 80px;
}
.socialMenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    gap: 15px;
}
.socialMenu .icon {
    display: block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.socialMenu a {
    transition: opacity .1s ease-in-out;
}
.socialMenu a:hover {
    opacity: .8;
}
.icon.email { background-image: url('../icons/email.svg') }
.icon.facebook { background-image: url('../icons/facebook.svg') }
.icon.instagram { background-image: url('../icons/instagram.svg') }
.icon.youtube { background-image: url('../icons/youtube.svg') }
.icon.tiktok { background-image: url('../icons/tiktok.svg') }
.icon.x { background-image: url('../icons/x.svg') }
.icon.telegram { background-image: url('../icons/telegram.svg') }
.icon.whatsapp { background-image: url('../icons/whatsapp.svg') }

/*TODO: Change!*/
.defaultPagination {
    nav {
        display: flex;
        justify-content: center; /* Center the nav */
    }

    .pagination {
        list-style: none;
        display: flex; /* Use flexbox for layout */
        justify-content: space-around; /* Distribute space evenly */
        border: 1px solid black; /* Border around the pagination */
        border-radius: 20px; /* Rounded corners */
        padding: 0.5rem; /* Padding around the pagination */
        width: 50%; /* Full width of the container */
        max-width: 600px; /* Optional: Set a max width for better appearance */
        margin: 0 auto; /* Center the pagination in the container */

        li {
            flex: 1; /* Make all li elements grow equally */
            text-align: center; /* Center text within each li */
            /*padding: 0.1rem 0; !* Adjust padding for better spacing *!*/
            font-size: large;

            &:first-child {
                font-size: x-large;
                border-right: black solid 1px; /* Right border for the first item */
                text-decoration: none !important;
            }
            &:last-child {
                font-size: x-large;
                border-left: black solid 1px; /* Left border for the last item */
                text-decoration: none !important;
            }
        }

        li.active {
            font-weight: bold; /* Bold for the active item */
        }
    }
}