

/* --- Sticky footer ---------------------------------------------------------
 * Tvingar #x-site att alltid fylla minst hela viewporten så att .x-colophon
 * (footern) sätter sig längst ner och body-bakgrunden inte fortsätter under
 * footern på korta sidor.
 */
html { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; }
#x-root { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
#x-site { display: flex; flex-direction: column; flex: 1 0 auto; }
#x-site > .x-layout,
#x-site > main.x-layout-single { flex: 1 0 auto; }
#x-site > .x-colophon { flex-shrink: 0; margin-top: auto; }

@keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}
.blink {
    animation: blink normal 2s infinite ease-in-out; /* Opera and prob css3 final iteration */
}

.circle {

    width: 10px;
    height: 22px;
    margin-right: 10px;
}

.live p {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: 3px;
}

.mstugan-quiz {
    text-align: left;
    color: #213a8f;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Shortcode-wrapper: full bredd även inuti .quiz-form m.m. */
.quiz-form:has(.mstugan-quiz) {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Quiz: vertikal lista, inget yttre streck runt raderna */
.mstugan-quiz .mstugan-politik-cards__term.mstugan-quiz__option {
    position: relative;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 14px 20px;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
    background: transparent;
    gap: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mstugan-quiz .mstugan-quiz__option:has(.mstugan-politik-cards__term-input:checked) {
    background: #213a8f;
    border-radius: 999px;
}

.mstugan-quiz .mstugan-quiz__option .mstugan-politik-cards__term-label {
    color: #213a8f;
}

.mstugan-quiz .mstugan-quiz__option:has(.mstugan-politik-cards__term-input:checked) .mstugan-politik-cards__term-label {
    color: #fff;
}

/* Radiomarkör: cirkel (inte fyrkant) */
.mstugan-quiz .mstugan-quiz__option .mstugan-politik-cards__term-box {
    border-radius: 50%;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Icke vald: tom ring */
.mstugan-quiz .mstugan-quiz__option .mstugan-politik-cards__term-input:not(:checked) + .mstugan-politik-cards__term-box {
    background: #fff;
    border-color: #213a8f;
}

/* Vald rad: vit ring med blå prick (ovanpå politik-regeln) */
.mstugan-quiz .mstugan-quiz__option .mstugan-politik-cards__term-input:checked + .mstugan-politik-cards__term-box {
    background: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 0 5px #213a8f;
}
.live {
    display: flex;
    position: relative;
    align-items: center;
    height:32px;
}
.live img.live-block {
    position: relative;
    /* top: -10px; */
    left: -10px;
    width: auto;
    height: 52px;
    /* height: 15px; */
}
.mstugan-live {
    /* border-end-end-radius: 8px; */
    /* border-end-start-radius: 8px; */
    /* padding: 10px; */
    position: relative;
    z-index: 2;
    color: var(--lightblue);
    margin-top: -16px;
    background: var(--blue);
    border-radius: 10px;
}
.mstugan-live a{
    color: var(--lightblue);
    text-decoration: none;
    position: relative;
    top: 3px;
}
.hero-img img {
    width: 100%;
    margin-bottom: -80px;
    position: relative;
    z-index: -1;
}


.quiz-form > div {
    text-align: center;
}

.mstugan-quiz__footer {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 28px;
    width: 100%;
}

.mstugan-quiz .mstugan-quiz__next.mstugan-politik-cards__start {
    min-height: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    align-self: flex-end;
}

.mstugan-quiz .mstugan-quiz__next .mstugan-politik-cards__start-icon {
    display: block;
    width: 58px;
    height: auto;
}

.mstugan-quiz__answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.quiz-item {
    padding: 20px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.mstugan-quiz .quiz-item {
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
    padding: 12px 0;
    box-sizing: border-box;
}

.quiz-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 260px;
    padding: 40px 20px;
    text-align: center;
}

.quiz-loading__spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(33, 58, 143, 0.18);
    border-top-color: #213a8f;
    border-radius: 999px;
    animation: mstugan-quiz-spin 0.9s linear infinite;
}

.quiz-loading__title {
    margin: 0;
    color: #213a8f;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.quiz-loading__text {
    margin: 0;
    color: #213a8f;
    font-size: 18px;
    line-height: 1.45;
}

.quiz-question-title {
	font-weight: 400;
	margin-bottom:10px;
	color: #213a8f;
}

.quiz-line {
	width: 200px;
}


.transparent {
	opacity: 0;
}

@keyframes mstugan-quiz-spin {
    to {
        transform: rotate(360deg);
    }
}

.quiz-form {
    max-width: 800px;
    margin: 20px auto;
    padding: 40px 40px 20px;
    border-radius: 8px;
}

.range-label {
    display: flex;
    justify-content: space-between;
}

.quiz-error {
    font-size: 1.4em;
    color: rgba(255,255,255,0.4);
}

.mstugan-quiz .quiz-error {
    color: #213a8f;
}

.wp-block-cover.quiz-page {
    align-items: flex-start;
}

.gfield {
    text-align: left;
    margin-bottom: 10px;
}
.ginput_container {
    display: flex;
}


input.large {
    width: 100%;
}

span.gfield_required.gfield_required_text {
    font-size: 10px;
    margin-left: 10px;
    opacity: 0.5;
}
.gform_wrapper {
    padding: 10px;
}

.live img {
    width: 15px;
    height: 15px;
}

.rost input[type=submit] {
    color: var(--blue);
}

.rost input[type=submit]:hover {
    background: var(--lightblue);
}

.rost {
    background: var(--blue);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
}

.kommun nav > button:after {
    content: "Välj kommun";
    background: #fff;
    color: var(--purple);
    padding: 10px 20px 8px;
    border-radius: 4px;
}
.kommun nav > button:hover::after {
    background: var(--pink);
}
.kommun {
    padding: 40px;
    border-radius: 10px;
    color: var(--pink);
}

.kommun nav > button svg {
    display: none;
}




div.consent {
    line-height: 18px;
    font-size: 14px;
    max-height: 200px;
    overflow-y: scroll;
    border: 1px solid #fff;
    padding: 10px;
}
.tack {
    border-radius: 10px;
    padding: 20px;
}
a.politik-title {
    color: var(--nv-primary-accent) !important;
}
.rounded-col {
    padding: 20px;
    border-radius: 10px;
}
div.consent a {
    color: var(--e-global-color-nvsecondaryaccent) !important;
}

.site-logo img[src$=".svg"] {
    position: relative;
    z-index: 1;
    top: 16px;
}


.daysleft-text {
    font-size: 17px;
    line-height: 11px;
}
.daysleft {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    padding-top: 10px;
}

.stugan-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 200px;
    position: absolute;
    right: -250px;
    top: -100px;
    border-radius: 12px;
    padding: 16px;
    color: var(--bluedark) !important;
    background: var(--e-global-color-nvsecondaryaccent);
    opacity: 70%;
}

section.elementor-section.elementor-inner-section.elementor-element.elementor-element-df8c97f.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default {
    position: relative;
}

.val-countdown a.wp-block-button__link {
    padding: 15px 15px 11px !important;
    font-weight: 500;
    font-size: 14px !important;
    border-radius: 8px !important;
    background: var(--pink);
    color: var(--bluedark);
}

.lead {
    max-width:360px;
    margin: auto;
    margin-top: -50px;
    padding-bottom: 20px;
    font-weight: 500;
}
.pink {
    background: var(--pink);
}

/*POLITIK RANGE SLIDER */
.quizfield {
    display: flex;
}
.quiz-left {
    width: 80px;
    padding-right: 10px;
}
.quiz-right {
    width: 80px;
    text-align: right;
    padding-left: 10px;
}
.quiz-box h3 {
    color: var(--pink);
    text-align: center;
    font-size: 20px;
}

.quiz-box {
    background: var(--blue);
    color: var(--pink);
    padding: 20px;
    border-radius: 10px;
}
.range-object {
    width: 100%;
}

.hjarta-button {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url(../img/heart.svg) no-repeat;
    background-size: contain;
    position: relative;
    top: 6px;
    left: 8px;
}
.hjarta-button.active {
    background: url(../img/heart-filled.svg) no-repeat;
    background-size: contain;
    position: relative;
    top: 6px;
    left: 8px;
}

#pin-average {
    /* min-width: 100px; */
    top: 16px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 10px 10px 5px;
    color: var(--purple);
    background-color: var(--pink);
    font-weight: 700;
    font-size: 13px;
    border-radius: 7px;
    position: absolute;
    z-index: 1;
    box-sizing: border-box;
    display: none;
}

#pin-average  i {
    position:absolute;
    bottom:100%;
    left:50%;
    margin-left:-12px;
    width:24px;
    height:12px;
    overflow:hidden;
}

#pin-average  i::after {
    content:'';
    position:absolute;
    width:12px;
    height:12px;
    left:50%;
    transform:translate(-50%,50%) rotate(45deg);
    background-color: var(--pink);
}

#pin-container {
    position: relative;
}



input[type=range].slider-pol-quiz {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    width: 100%; /* Full-width */
    height: 12px; /* Specified height */
    background: #fff; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
    border: 6px solid #fff;
    border-radius: 20px;
    position: relative;
    touch-action: none;
}

/* Mouse-over effects */
input[type=range].slider-pol-quiz:hover {
    opacity: 1; /* Fully shown on mouse-over */
}


input[type=range].slider-pol-quiz::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 40px; /* Set a specific slider handle width */
    height: 40px; /* Slider handle height */
    background: url('../img/m-logo-light.svg'); /* Green background */
    background-size: 100%;
    cursor: pointer; /* Cursor on hover */
    border: 0 transparent;
    position: relative;
    top:-10px;
}

input[type=range].slider-pol-quiz::-moz-range-thumb {
    width: 40px; /* Set a specific slider handle width */
    height: 40px; /* Slider handle height */
    background: url('../img/m-logo-light.svg'); /* Green background */
    background-size: 100%;
    cursor: pointer; /* Cursor on hover */
    border: 0 transparent;
    position: relative;
    top:-10px;
}

/* END POLITIK RANGE SLIDER */

section.mstugan-pol-section {
    background: var(--lightblue);
    padding: 40px;
    border-radius: 10px;
    color: var(--blue);
}

input#pol-search {
    width: calc(100% - 80px);
    border: 0;
}
.pol-search-icon {
    width: 30px;
    margin-right: 10px;
    padding: 8px 0 0 10px;
}
.pol-input {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    height: 50px;
}
input#pol-search:focus, input#pol-search:read-write:focus {
    outline: 0;
    box-shadow: none;
}
.mstugan-politik {
    position: relative;
    background: #fff;
    padding: 20px;
    max-height: 300px;
    overflow-y: scroll;
    /* margin: 0 0 30px 20px; */
    border-radius: 10px;
    display: none;
    top: 0;
    box-shadow: 0 5px 10px rgb(0 0 0 / 20%);
}
.mstugan-politik .hjarta-button {
    width: 20px;
    height: 20px;
    left: 0px;
    margin-right:6px;
}
.politik-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.politik-item.last{
    border-bottom: 0;
    padding-bottom: 0;
    /* margin: 10px; */
    /* box-sizing: border-box; */
}
.mstugan-politik-topp {
    margin-top: 50px;
}

.stugan-progress {
    width: 0;
    height: 40px;
    margin-right: 1rem;
    border-radius: 4px;
    transition: width .5s;
}
.stugan-percentage {
    position: relative;
    top: 3px;
    font-weight: 700;
}
.progress-holder {
    display: flex;
    align-items: center;
}
.topp-politik-item {
    margin-bottom: 20px;
}
h4.topp-politik-title {
    font-size: 1.2em;
    margin-bottom: 0px;
}
.topp-politik-item a {
    text-decoration: none;
}
.topp-politik-item:nth-child(2) .stugan-progress {
    background: var(--blue);
}

.topp-politik-item:nth-child(3) .stugan-progress {
    background: var(--purple);
}

.topp-politik-item:nth-child(4) .stugan-progress {
    background: var(--pink);
}
button.pol-dropdownbutton {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background-color: transparent;
    border: none;
    transition: transform .3s;
}

button.pol-dropdownbutton span:last-child {
    width: 50%;
}
button.pol-dropdownbutton span {
    width: 100%;
    height: 3px;
    background-color: #213a8f;
    border-radius: 3px;
    transition: all 0.2s;
    opacity: 1;
}

.pol-dropdownbutton.active span {
    display: none;
    opacity: 0;
}

.pol-dropdownbutton.active span:nth-child(2) {
    transform: rotate(-45deg);
    position: relative;
    top: -7px;
    display: inline-block;
    opacity: 1;
}
.pol-dropdownbutton.active span:first-child {
    transform: rotate(45deg);
    position: relative;
    top: 8px;
    display: inline-block;
    opacity: 1;
}

/* Doors */
#doors-cover {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    position: fixed;
    backdrop-filter: blur(7px);
    top: 0;
    left: 0;
    z-index: 1001;
    /* mobile viewport bug fix */

}
.door-header {
    position: absolute;
    width: 100vw;
    top: 0;
    left: 0;
    right: 0;
    background-position-y: bottom;
    bottom: 50vw;
    display: flex;
    justify-content: space-evenly;
}
#door-area {
    height: 50vw;
    width: 100vw;
    position: absolute;
    bottom:0;
}
div#leftdoor_outer {
    background-position-y: top;
    height: 100%;
    width: 25%;
    left:0;
    position: absolute;
    z-index: 1;
}
div#rightdoor_outer {
    background-position-y: top;
    height: 100%;
    width: 25%;
    right: 0;
    position: absolute;
    z-index: 1;
}
div#rightdoor_inner {
    position: absolute;
    width: 25%;
    left: 25%
}
#leftdoor_inner img {
    width: 100%;
}
#rightdoor_inner img {
    width: 100%;
}

div#leftdoor_inner {
    position: absolute;
    width: 25%;
    right: 25%
}

.door-frame {
    position: absolute;
    width: 50%;

    left: 25%;
    z-index: 2;
}
.logo-sign {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* margin-bottom: 80px; */
}
.logo-sign img {
    max-height: 20vw;
    margin-bottom: 20px;
    /* max-width: 20vw; */
    /* width: 100%; */
}

#doors-cover.zoomin {
    backdrop-filter: blur(0px);
    transform: scale(5);
    transform-origin: center 65%;
    transition: transform  1s ease-in, backdrop-filter 0.5s ease;
    transition-delay: 400ms;
}

.knock-sign {
    display: flex;
    width: 40%;
    align-items: end;
}

@media (min-aspect-ratio: 16/11) {
    .logo-sign {
        position: absolute;
        bottom: -300px;
        z-index: 2;
        right: 30px;
    }
    .knock-sign {
        position: absolute;
        bottom: -240px;
        z-index: 2;
        left: 30px;
        max-width: 140px;
    }
}


@media (max-aspect-ratio: 1/1) {
    .door-header {
        width: 100vw;
        bottom: 70vw;
    }
    #door-area {
        height: 70vw;
    }
    div#leftdoor_outer {
        width: 15%;
    }
    div#rightdoor_outer {
        width: 15%;
    }
    div#rightdoor_inner {
        width: 35%;
        left: 15%
    }

    div#leftdoor_inner {
        width: 35%;
        right: 15%
    }

    .door-frame {
        width: 70%;
        left: 15%;
    }

    .logo-sign img{
        max-height: 25vw;
    }
    #doors-cover.zoomin {
        transform: scale(7);
    }
}

@media (max-aspect-ratio: 13/16) {

    .logo-sign img{
        max-height: 40vw;
    }
    .door-header {
        width: 100vw;
        bottom:90vw;
    }
    #door-area {
        height: 90vw;
    }
    div#leftdoor_outer {
        width: 5%;
    }
    div#rightdoor_outer {
        width: 5%;
    }
    div#rightdoor_inner {
        width: 45%;
        left: 5%
    }

    div#leftdoor_inner {
        width: 45%;
        right: 5%
    }

    .door-frame {
        width: 90%;
        left: 5%;
    }

    #doors-cover.zoomin {
        transform: scale(18);
    }
}

/* Doors end */


@media screen and (max-width: 600px) {
   

    section.mstugan-pol-section h1 {
        font-size: 1.8em;
    }

    section.mstugan-pol-section {
        padding: 20px;
    }


}



.kommun ul.wp-block-navigation__container {
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
    max-height: 55vh;
}
.kommun li.wp-block-navigation-item.wp-block-navigation-link {
    width: 33.3%;
    text-align: left !important;
    justify-content: flex-start;
    align-items: start !important;
}
.kommun a {

    color: var(--pink);

}

.nv-politik-page-wrap.col {
    margin-top: 40px;
    background: var(--lightblue);
    padding: 30px;
    /* color: #fff; */
    border-radius: 10px;
    /* padding-bottom: 20px; */
    margin-bottom: 20px;
}

.nv-politik-page-wrap .nv-page-title-wrap {
    margin-top: 45px;
}


.wp-block-column.stugan-start figure  .wp-block-image img {
    box-sizing: border-box;
    height: fit-content;
    max-width: 100%;
    vertical-align: bottom;
    width: 100%;
}
.wp-block-column.stugan-start {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


figure.wp-block-image.size-large.stugan-left {
    width: 40%;
    left: -80px;
    position: relative;
    display: flex;
    align-items: flex-end;
}
figure.wp-block-image.size-large.stugan-right {
    width: 40%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    right: -80px;
}
.stugan-grupp .wp-block-group__inner-container {
    display: flex;
    position: relative;
    justify-content: center;
    /* overflow: hidden; */
}
    .wp-container-1.wp-block-group.stugan-birds-group {
        top: -380px;
        position: absolute;
        width: 30%;
        left: 60%;
    }

.wp-container-3.wp-block-group.politinder-grupp.has-background {
    width: 33.33%;
    padding: 10px;
    margin: 0;
    /* height: 33.33%; */
}
p.has-text-align-center.politinder-text.has-text-color {
    position: absolute;
    top: 35%;
    /* left: 50%; */
    width: 100%;
    font-weight: 600;
    font-size: 110%;
    pointer-events: none;
}
.politinder-grupp .wp-block-group__inner-container {
    position: relative;
    background: url('../img/politinder-bg.svg') no-repeat;
    background-size: cover;
}
.wp-block-group.politinder-grupp {
    width: 33.33%;
    padding: 10px;
    margin: 0;
}
.lpbLottiePlayer {
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.lpbLottiePlayer a {
    line-height: 0;
}

.nv-html-content div {
    display: flex;
}
.m-logo-text {
    max-width: 134px;
    text-align: center;
    line-height: 1;
    margin-top: 7px;
    opacity: 0.8;
}
.nv-html-content > div > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 11px;
}

a {
    display: inline-block;
}
.action-knappar {
    position: relative;
    z-index: 2;
}
.aktuellt-grupp {
    width: 33.33%;
    padding: 10px;
    margin: 0;
    display: flex;
}

img.share {
    width: 30%;
}
.share.text {
    color: #fff !important;
    width: 70%;
    padding-left: 10px;
    line-height: 16px;
    font-weight: 700;
    font-size: 12px;
}

a#bjudin-box {
    display: flex;
    color: #fff;
    background: var(--bluedark);
    margin-top: -16px;
    padding: 10px 20px;
    border-radius: 0px 0px 7px 7px;
    position: relative;
    z-index: 2;
}
.bjudin-bg {
    position: fixed;
    top:0;
    left:0;
    width:100vw;
    height: 100vh;
    z-index: 10;
    background: rgba(0,0,0,0.4);
}
.bjudin-holder {
    height:100vh;
    width:100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
div#bjudin {
    background: var(--lightblue);
    color: var(--blue);
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    box-shadow: 0 0 10px rgb(0 0 0 / 40%);
}
#bjudin .ss-inline-share-wrapper {
    margin: 0;
}

.live a {
    max-width: calc(100% - 130px);
    overflow: hidden;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member ul li, .donate ul li {
    text-align: left;
    margin-top:0;
    list-style-image: url('../img/checkmark-dark.svg');
}
.donate ul li {
    list-style-image: url('../img/checkmark.svg');
}

.member, .donate {
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-bottom:30px;
}
.member h4, .donate h4 {
    font-size: 1.4em;
    line-height: 1.3em;
}
.member h5, .donate h5 {
    font-weight: 400;
    font-size: 1.6em;
}
.candidate-logo {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.member a.wp-block-button__link {
    font-weight: 400;
    background: var(--blue);
    border-radius: 10px;
    color: var(--pink);
}
.donate a.wp-block-button__link {
    font-weight: 400;
    background: var(--lightblue);
    border-radius: 10px;
    color: var(--blue);
}

@media screen and (max-width: 1440px) {
    .wp-container-1.wp-block-group.stugan-birds-group {
        top: -220px;
        position: absolute;
        width: 30%;
        left: 60%;
    }
}
@media screen and (max-width: 1024px) {
    .wp-container-1.wp-block-group.stugan-birds-group {
        top: -100px;
        position: absolute;
        width: 30%;
        left: 60%;
    }
}
@media screen and (max-width: 768px) {

    .stugan-box {
        height: 190px;
    }
    #timer div {
        padding: 10px !important;
    }

    .member, .donate {
        padding: 20px;
    }
    .kommun ul.wp-block-navigation__container {
        max-height: 70vh;
    }
    figure.wp-block-image.size-large.stugan-left {
        width: 50%;
        left: -50px;
        position: relative;
        display: flex;
        align-items: flex-end;
    }
    figure.wp-block-image.size-large.stugan-right {
        width: 50%;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        position: relative;
        right: -50px;
    }
    div#bjudin {
        width: 80%;
    }
    a#bjudin-box {
        display: flex;
        position: absolute;
        width: 33%;
        top: 16px;
    }
    .aktuellt-grupp {
        width: 50%;
        padding: 5px;
        margin: 0;
    }
    p.has-text-align-center.politinder-text.has-text-color {
        font-size: 2.4em;
        top: 45%;
    }
    .wp-block-group.politinder-grupp {
        width: 50%;
        padding: 5px;
        margin: 0;
    }

    .stugan-grupp .wp-block-group__inner-container {
        display: flex;
        position: relative;
        height: 150px;
        /* overflow: hidden; */
    }
    .wp-container-1.wp-block-group.stugan-birds-group {
        top: -190px;
        position: absolute;
        width: 40%;
        left: 55%;
    }
	.wp-block-cover__inner-container .container {
	padding:0;
	}
    footer a.wp-block-button__link {

        color: #fff;
        border-radius: 14px;
        padding: 10px 20px 7px;
        font-weight: 400;
    }
    footer h3 {
        margin: 0;
        line-height: 1;
        font-size: 22px;
        /* text-align: center; */
    }

    footer .widget-area {
        display: flex;
        justify-content: center;
    }
    footer #cb-row--footer-main .widget-area {
    	flex-direction: column;
	}
    .daysleft-text {
        line-height: 1.2em;
        text-align: center;
        padding-bottom: 4px;
    }
    .daysleft {
        font-size: 18px;
    }
    pre-daysleft {
        flex-basis: 25% !important;
        align-self: flex-end !important;
        flex-grow: inherit;
    }
    pre-live {
        flex-basis: 75% !important;
        align-self: flex-end !important;
        flex-grow: inherit;
    }
    .pre {
        justify-content: flex-end;
    }


    .wp-block-column.stugan-start figure {
        width: 50%;
        padding: 5px;
        margin: 0;

    }

    .hfg-grid.nv-footer-content.hfg-grid-bottom.row--wrapper.row {
		justify-content: center;
	}
	footer p {
		text-align: center;
	}
    .quiz-form {
    	padding: 30px 20px 10px;
	}
	.quiz-item {
    	padding: 0px;
	}
	.quiz-form button {
		width: 100%;
	}
	.rost {
		padding: 30px 20px 10px;
	}
	.wp-block-group.page {
    	padding: 30px 20px 10px;
	}
	.kommun {
    	padding: 30px 20px 10px;
	}
	.wp-block-navigation__responsive-close {
		top: 20px;

	}
	.wp-block-navigation__responsive-container.is-menu-open {
		padding: 0;

	}
	.kommun li.wp-block-navigation-item.wp-block-navigation-link {
		width: 50%;
	}

}

a#bjudin-box:hover {
    color: var(--bluedark);
}
.wp-container-5 {
    justify-content: center;
}


/*

----------------ANSLAGSTAVLA::.................


 */
.mstugan-anslagstavla {
    margin: 10px;
    background: url(../img/anslagstavla.jpg);
    background-size: 75%;
    width: 100%;
    padding: 20px 30px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.mstugan-anslagstavla a {
    color:#fff;
}
.mstugan-anslagstavla h3 {
    font-size: 1.4rem;
}

.spik {
    position: absolute;
    top: 0;
    display: flex;
    z-index: -1;
    /* left: 50%; */
    /* right: 50%; */
    top: -70px;
    width: 100%;
    justify-content: center;
}

.anslagstavla-item:nth-child(even) {
    transform: rotateZ(-2deg);
}
.anslagstavla-item:nth-child(odd) {
    transform: rotateZ(2deg);
}
a.anslagstavla-noimage {
    width: 100%;
    background: #fff;
    color: #333;
    padding: 20px;
    font-weight: 700;
    font-size: 1.3rem;
}
.anslagstavla-item {
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}
@media screen and (max-width: 480px) {

    a.anslagstavla-noimage {
        padding: 10px;
        font-size: 1rem;
    }

    .mstugan-live a {
        top: 1px;
    }
    div#bjudin {
        width: 80%;
    }
    a#bjudin-box {
        padding: 10px;
        display: flex;
        position: absolute;
        width: 33%;
    }
    img.share {
        width: 20%;
    }
    .share.text {
        width: 80%;
        padding-left: 10px;
        line-height: 18px;
        font-weight: 700;
        font-size: 11px;
    }
    p.has-text-align-center.politinder-text.has-text-color {
        font-size: 1.25em;
        top: 35%;
    }
    .wp-container-1.wp-block-group.stugan-birds-group {
        top: -130px;
        position: absolute;
        width: 50%;
        left: 35%;
    }
    .stugan-grupp .wp-block-group__inner-container {
        display: flex;
        position: relative;

        /* overflow: hidden; */
    }

}

@media screen and (max-width: 360px) {
    .wp-container-1.wp-block-group.stugan-birds-group {
        top: -80px;
        position: absolute;
        width: 50%;
        left: 45%;
    }
    .stugan-grupp .wp-block-group__inner-container {
        display: flex;
        position: relative;

        /* overflow: hidden; */
    }

}

@media (min-width: 600px) and (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
        flex-basis: 100% !important;
        flex-grow: 0;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2n) {
        margin-left: 0;
    }
}
/*Politinder */


.m__card-cont {
  position: relative;
  width: 300px;
  height: 480px;
  margin: 0 auto 50px;
}
.m__card {
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform-origin: 50% 100%;
    border-radius: 10px;
    padding: 15px;
    background: #fff;
    box-shadow: 1px 1px 1px rgb(0 0 0 / 20%);
    touch-action: none;
}
.m__card:nth-child(2) {
  top: -1px;
  left: -1px;
}
.m__card.reset {
  transition: transform 0.3s;
  transform: translateX(0) !important;
}
.m__card.reset .demo__card__choice {
  transition: opacity 0.3s;
  opacity: 0 !important;
}
.m__card.inactive {
  transition: transform 0.3s;
}
.m__card.to-left {
  transform: translateX(-480px) rotate(-30deg) !important;
}
.m__card.to-right {
  transform: translate(480px) rotate(30deg) !important;
}
.m__card.below {
  z-index: 1;
}
.m__card__top {
	position: relative;
    height: calc(100% - 115px);
    background-size: cover !important;
    /* margin-bottom: 40px; */
    /* padding-top: 40px; */
    color: #fff;
}
.matches {
    display: flex;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    justify-content: center;
    align-items: center;
    left: 0;
    background: rgba(33, 58, 143, 0.5);
    z-index: 20000;
    overflow-y: auto;
    padding: 16px;
    box-sizing: border-box;
}
.m__card__match {
    display: flex;
    text-align: center;
    /* width: 100vw; */
    flex-direction: column;
    position: relative;
    z-index: 5;
    background: #fff;
    padding: 20px;
    width: 70vw;
    box-shadow: 0 10px 10px rgb(0 0 0 / 30%);
    border-radius: 10px;
    align-items: center;
    max-width: 500px;
    min-width: 320px;
    margin: auto;
}
.m__card__match img.match-image {
    width: 90%;
    margin-top:30px;
    border-radius: 0;
    border: 0;
    max-width: 400px;
}
.m__card__match h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.m__card__match h3 {
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 1.5em;
}
.m__card__match > p {
    font-size: 14px;
    line-height: 20px;
}
.m__card__match button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 22px 12px;
    border: 0;
    border-radius: 10px;
    background: var(--lightblue);
    color: var(--blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: 0 10px 24px rgba(33, 58, 143, 0.14);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.m__card__match button:hover,
.m__card__match button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(33, 58, 143, 0.2);
    outline: none;
}
.m__card__img {
    overflow: hidden;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 10px solid rgba(0,0,0,0.2);
}
.m__card__name {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}
.m__card__btm {
  height: 115px;
  background: #FFFFFF;
}
.m__card__we {
  text-align: center;
  font-size: 22px;
  line-height: 115px;
}
.m__card__choice {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.m__card__choice.m--reject {
  background: #FF945A;
}
.m__card__choice.m--like {
  background: #B1DA96;
}
.m__card__drag {
  z-index: 5;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: -webkit-grab;
  cursor: grab;
}
.m__tip {
  text-align: center;
  font-size: 22px;
}

.politinder h4 {
    text-align: center;
    font-size: 20px;
    color: var(--blue) !important;
    padding: 20px;
    margin: 0;
}

.m__card__infobox {
    padding: 15px;
    position: absolute;
    bottom: 0px;
    left:0;
    margin: 0px;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0px, rgba(0,0,0,0.3) 30px, rgba(0,0,0,0.5));
}

p.m__card__info {
    margin: 0;
    font-size: 12px;
    line-height: 14px;
}

.m__card__box {
    display: flex;
    width: 100px;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.m__card__heart {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 6;
}
.m__card__reject {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 6;
}

.c-accordion__title:after {
    color: #fff;
}

a.pol-button {
    background: var(--purple);
    color: #fff;
    font-weight: 700;
    padding: 12px 20px 8px;
    border-radius: 4px;
}

.pol-result-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
    width: 100%;
    margin-top: 18px;
}

@media screen and (max-width: 768px) {
    .pol-result-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 18px;
    }

}

/* Counter */
#timer div {
    width: 50%;
    padding: 0;
    display: block;
    margin-bottom: 10px;
    color: var(--bluedark);
}

div#days {
    width: 50%;
}

#timer {
    display: flex;
    flex-wrap: wrap;
}
#timer span {
    margin-top:10px;
    font-size: 11px;
    font-weight: 400;
}

.stugan-box .daysleft-text,
.stugan-box .daysleft,
.stugan-box #timer div,
.stugan-box #timer span {
    font-size: 14px;
    line-height: 1.2;
    color: var(--bluedark) !important;
    font-weight: 700;
}

@media screen and (max-width: 1139px) {
    .stugan-box {
        display: none;
    }
}

/* ANIMATION */
.animated{
                -webkit-animation-duration:1s;
                animation-duration:1s;
                -webkit-animation-fill-mode:both;
                animation-fill-mode:both
            }

            @-webkit-keyframes fadeInLeft{
                0%{
                    opacity:0;
                    -webkit-transform:translateX(-200px);
                    transform:translateX(-200px)}
                100%{
                    opacity:1;
                    -webkit-transform:translateX(0);
                    transform:translateX(0)
                }
            }
            @keyframes fadeInLeft{
                0%{
                    opacity:0;
                    -webkit-transform:translateX(-200px);
                    -ms-transform:translateX(-200px);
                    transform:translateX(-200px)}
                100%{
                    opacity:1;
                    -webkit-transform:translateX(0);
                    -ms-transform:translateX(0);
                    transform:translateX(0)
                }
            }
            .fadeInLeft{
                -webkit-animation-name:fadeInLeft;
                animation-name:fadeInLeft
            }


/* RADIOBUTTON */
input[type=radio] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  -moz-appearance: none;
       appearance: none;
  /* For iOS < 15 */
  background-color: var(--form-background);
  /* Not removed via appearance */
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 50%;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}

input[type=radio]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #fff;
  /* Windows High Contrast Mode */
  background-color: CanvasText;
}

input[type=radio]:checked::before {
  transform: scale(1);
}

input[type=radio]:focus {
  outline: max(2px, 0.15em) solid currentColor;
  outline-offset: max(2px, 0.15em);
}
/* RANGE SLIDER */
input[type=range] {
  width: 100%;
  margin: 5.85px 0;
  background-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  background: rgba(255, 255, 255, 0.5);
  border: 1.1px solid rgba(0, 0, 98, 0);
  border-radius: 1px;
  width: 100%;
  height: 11.3px;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  margin-top: -6.95px;
  width: 23px;
  height: 23px;
  background: #ffffff;
  border: 3px solid var(--nv-c-1);
  border-radius: 12px;
  cursor: pointer;
  -webkit-appearance: none;
}
input[type=range]::-moz-range-track {
  background: rgba(255, 255, 255, 0.5);
  border: 1.1px solid rgba(0, 0, 98, 0);
  border-radius: 1px;
  width: 100%;
  height: 11.3px;
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 23px;
  height: 23px;
  background: #ffffff;
  border: 3px solid var(--nv-c-1);
  border-radius: 12px;
  cursor: pointer;
}
input[type=range]::-ms-track {
  background: transparent;
  border-color: transparent;
  border-width: 4px 0;
  color: transparent;
  width: 100%;
  height: 11.3px;
  cursor: pointer;
}
input[type=range]::-ms-fill-lower {
  background: #f2f2f2;
  border: 1.1px solid rgba(0, 0, 98, 0);
  border-radius: 2px;
}
input[type=range]::-ms-fill-upper {
  background: rgba(255, 255, 255, 0.5);
  border: 1.1px solid rgba(0, 0, 98, 0);
  border-radius: 2px;
}
input[type=range]::-ms-thumb {
  width: 23px;
  height: 23px;
  background: #ffffff;
  border: 3px solid var(--nv-c-1);
  border-radius: 12px;
  cursor: pointer;
  margin-top: 0px;
  /*Needed to keep the Edge thumb centred*/
}
input[type=range]:focus::-ms-fill-lower {
  background: rgba(255, 255, 255, 0.5);
}
input[type=range]:focus::-ms-fill-upper {
  background: rgba(255, 255, 255, 0.5);
}
/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {
  /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
  input[type=range] {
    margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
  }
}

.site-footer {
    position: relative;
    z-index: 0;
}

html.candidate-match-open,
body.candidate-match-open {
    overflow: hidden;
    height: 100%;
}

body.kommunvaljare-open {
    overflow: hidden;
}

.kommunvaljare__modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.kommunvaljare__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(33, 58, 143, 0.5);
}

.kommunvaljare__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    background: #e4f4fd;
    border: 3px solid #213a8f;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    color: #213a8f;
}

.kommunvaljare__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #213a8f;
}

.kommunvaljare__title {
    margin: 0 0 12px;
    color: #213a8f;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
}

.kommunvaljare__description {
    margin: 0 0 20px;
    color: #213a8f;
    font-size: 20px;
    line-height: 1.35;
    text-align: center;
}

.kommunvaljare__input {
    position: absolute;
    inset: 0 52px 0 0;
    width: calc(100% - 52px);
    border: 0;
    background: transparent;
    padding: 14px 16px;
    box-sizing: border-box;
    margin: 0;
    color: transparent;
    caret-color: #213a8f;
    font-size: 16px;
    opacity: 0.02;
}

.kommunvaljare__input:focus {
    outline: none;
}

.kommunvaljare__combobox {
    margin-bottom: 16px;
    position: relative;
}

.kommunvaljare__control {
    display: flex;
    align-items: center;
    border: 1px solid rgba(33, 58, 143, 0.25);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 56px;
    position: relative;
}

.kommunvaljare__control:focus-within {
    border-color: rgba(33, 58, 143, 0.6);
    box-shadow: 0 0 0 4px rgba(33, 58, 143, 0.12);
}

.kommunvaljare__value {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: rgba(33, 58, 143, 0.55);
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.kommunvaljare__value::after {
    content: "";
    width: 1px;
    height: 1.1em;
    margin-left: 2px;
    background: #213a8f;
    opacity: 0;
}

.kommunvaljare__control:focus-within .kommunvaljare__value::after {
    opacity: 1;
    animation: kommunvaljare-caret-blink 1s steps(1) infinite;
}

.kommunvaljare__value.has-value {
    color: #213a8f;
}

@keyframes kommunvaljare-caret-blink {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}

.kommunvaljare__toggle {
    flex: 0 0 52px;
    align-self: stretch;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.kommunvaljare__toggle-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #213a8f;
    border-bottom: 2px solid #213a8f;
    transform: rotate(45deg);
    position: absolute;
    top: 18px;
    left: 18px;
}

.kommunvaljare__list {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    border: 1px solid rgba(33, 58, 143, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    max-height: 276px;
    overflow-y: auto;
    padding: 8px;
    z-index: 5;
}

.kommunvaljare__option {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-radius: 10px;
    background: transparent;
    padding: 12px 14px;
    color: #213a8f;
    cursor: pointer;
    font-size: 16px;
}

.kommunvaljare__option:hover,
.kommunvaljare__option.is-active {
    background: rgba(33, 58, 143, 0.08);
}

@media (max-width: 640px) {
    .kommunvaljare__modal {
        padding: 16px;
        align-items: center;
        justify-content: center;
    }

    .kommunvaljare__dialog {
        width: 100%;
        max-width: none;
        border-radius: 8px;
        padding: 24px 18px 18px;
    }

    .kommunvaljare__title {
        font-size: 20px;
        padding-right: 28px;
    }

    .kommunvaljare__list {
        max-height: 276px;
    }
}

.mstugan-politik-cards {
    margin: 0 auto;
    max-width: 1100px;
    color: #213a8f;
}

.mstugan-politik-cards__step {
    background: #fff;
    border: 3px solid #213a8f;
    border-radius: 12px;
    overflow: hidden;
}

.mstugan-politik-cards__intro {
    padding: 20px;
    background: #e4f4fd;
}

.mstugan-politik-cards__title {
    margin: 0 0 10px;
    color: #213a8f;
    font-size: 28px;
    line-height: 1.2;
}

.mstugan-politik-cards__description {
    margin: 0;
    color: #213a8f;
    font-size: 18px;
    line-height: 1.45;
}

.mstugan-politik-cards__picker-body {
    padding: 20px;
    background: #fff;
}

.mstugan-politik-cards__step--summary {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.mstugan-politik-cards__summary-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(33, 58, 143, 0.5);
    z-index: 0;
}

.mstugan-politik-cards__summary-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    background: #fff;
    border: 4px solid #2f4aa5;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(19, 39, 109, 0.28);
    overflow: visible;
}

.mstugan-politik-cards__summary-title-wrap {
    position: absolute;
    top: -34px;
    left: 38px;
}

.mstugan-politik-cards__summary-title {
    margin: 0;
    display: inline-block;
    padding: 10px 20px 12px;
    border-radius: 14px;
    background: #e4f4fd;
    color: #213a8f;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    box-shadow: 8px 8px 0 #2f4aa5;
}

.mstugan-politik-cards__summary-body {
    padding: 42px 34px 26px;
}

.mstugan-politik-cards__summary-lead {
    margin: 0 0 12px;
    color: #213a8f;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.mstugan-politik-cards__step--deck {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.mstugan-politik-cards__term-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.mstugan-politik-cards__term {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.mstugan-politik-cards__term.is-disabled {
    opacity: 0.45;
}

.mstugan-politik-cards__term-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mstugan-politik-cards__term-box {
    width: 22px;
    height: 22px;
    border: 2px solid #213a8f;
    border-radius: 4px;
    background: #fff;
    flex: 0 0 auto;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mstugan-politik-cards__term-input:checked + .mstugan-politik-cards__term-box {
    background: #213a8f;
    border-color: #213a8f;
}

.mstugan-politik-cards__term-label {
    color: #000;
    font-size: 16px;
    line-height: 1.3;
}

.mstugan-politik-cards__picker-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.mstugan-politik-cards__start,
.mstugan-politik-cards__skip,
.mstugan-politik-cards__like,
.mstugan-politik-cards__restart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.mstugan-politik-cards__start {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.mstugan-politik-cards__start:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.mstugan-politik-cards__start-icon {
    display: block;
    width: 58px;
    height: auto;
}

.mstugan-politik-cards__stack {
    position: relative;
    min-height: 470px;
    margin: 0;
}

.mstugan-politik-cards__card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 22px;
    border-radius: 18px;
    border: 0;
    box-shadow: 0 18px 44px rgba(33, 58, 143, 0.14);
    overflow: hidden;
    transform: translate(var(--mstugan-politik-card-shift-x, 0), var(--mstugan-politik-card-shift-y, 0)) rotate(var(--mstugan-politik-card-rotation, 0deg));
}

.mstugan-politik-cards__card--bg-light {
    background: #fff;
}

.mstugan-politik-cards__card--bg-blue {
    background: #c6e5f4;
}

.mstugan-politik-cards__card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-top: 18px;
}

.mstugan-politik-cards__card--layer-0 {
    --mstugan-politik-card-shift-x: 0px;
    --mstugan-politik-card-shift-y: 0px;
    z-index: 3;
}

.mstugan-politik-cards__card--layer-1 {
    --mstugan-politik-card-shift-x: 10px;
    --mstugan-politik-card-shift-y: 8px;
    z-index: 2;
    opacity: 1;
}

.mstugan-politik-cards__card--layer-2 {
    --mstugan-politik-card-shift-x: -8px;
    --mstugan-politik-card-shift-y: 14px;
    z-index: 1;
    opacity: 1;
}

.mstugan-politik-cards__next {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 68px;
    height: 68px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mstugan-politik-cards__next-icon {
    display: block;
    width: 52px;
    height: auto;
    margin-left: auto;
}

.mstugan-politik-cards__card-title {
    margin: 10px 56px 18px 0;
    color: #213a8f;
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
}

.mstugan-politik-cards__card-content {
    flex: 1 1 auto;
    overflow-y: auto;
    color: #213a8f;
    font-size: 18px;
    line-height: 1.6;
    padding-right: 6px;
}

.mstugan-politik-cards__card-content > *:first-child {
    margin-top: 0;
}

.mstugan-politik-cards__card-content > *:last-child {
    margin-bottom: 0;
}

.mstugan-politik-cards__card-button {
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.mstugan-politik-cards__like-prompt {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    max-width: calc(100% - 76px);
    color: #213a8f;
    text-align: left;
    flex-direction: row-reverse;
}

.mstugan-politik-cards__like-icon {
    width: 36px;
    height: auto;
    flex: 0 0 auto;
}

.mstugan-politik-cards__like-text {
    color: #213a8f;
    font-size: 17px;
    line-height: 1.2;
}

.mstugan-politik-cards__term-icon-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-width: 64px;
}

.mstugan-politik-cards__term-icon {
    display: block;
    width: 78px;
    max-width: 100%;
    height: auto;
}

.mstugan-politik-cards__summary-list {
    display: block;
    margin: 0;
    padding: 0 0 0 28px;
    list-style: disc;
}

.mstugan-politik-cards__summary-item {
    color: #213a8f;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 6px;
}

.mstugan-politik-cards__summary-empty {
    margin-top: 10px;
    color: #213a8f;
    font-size: 18px;
    line-height: 1.4;
}

.mstugan-politik-cards__summary-footer {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 120px 14px 32px;
    background: #d9edf8;
    border-radius: 0 0 8px 8px;
}

.mstugan-politik-cards__restart {
    margin-top: 24px;
    background: #213a8f;
    color: #fff;
    border-radius: 10px;
}

.mstugan-politik-cards__summary-note {
    margin: 0;
    color: #213a8f;
    font-size: 13px;
    line-height: 1.4;
}

.mstugan-politik-cards__summary-footer-icon {
    position: absolute;
    right: 20px;
    bottom: 10px;
    width: 88px;
    height: auto;
    flex: 0 0 auto;
}

html.mstugan-politik-cards-summary-open,
body.mstugan-politik-cards-summary-open {
    overflow: hidden;
    height: 100%;
}

@media (max-width: 900px) {
    .mstugan-politik-cards__term-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .mstugan-politik-cards__step {
        border-radius: 10px;
    }

    .mstugan-politik-cards__term-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mstugan-politik-cards__term {
        min-height: 30px;
        padding: 0;
    }

    .mstugan-politik-cards__title,
    .mstugan-politik-cards__card-title {
        font-size: 22px;
    }

    .mstugan-politik-cards__description,
    .mstugan-politik-cards__card-content {
        font-size: 16px;
    }

    .mstugan-politik-cards__stack {
        min-height: 520px;
    }

    .mstugan-politik-cards__step--summary {
        padding: 20px 14px;
    }

    .mstugan-politik-cards__summary-dialog {
        width: 100%;
    }

    .mstugan-politik-cards__summary-title-wrap {
        top: -24px;
        left: 18px;
    }

    .mstugan-politik-cards__summary-title {
        padding: 8px 16px 10px;
        font-size: 22px;
        box-shadow: 6px 6px 0 #2f4aa5;
    }

    .mstugan-politik-cards__summary-body {
        padding: 34px 18px 20px;
    }

    .mstugan-politik-cards__summary-lead,
    .mstugan-politik-cards__summary-item,
    .mstugan-politik-cards__summary-empty {
        font-size: 16px;
    }

    .mstugan-politik-cards__summary-footer {
        padding: 14px 88px 12px 18px;
    }

    .mstugan-politik-cards__summary-note {
        font-size: 12px;
    }

    .mstugan-politik-cards__summary-footer-icon {
        right: 14px;
        bottom: 10px;
        width: 68px;
    }

    .mstugan-politik-cards__card {
        padding: 24px 20px 18px;
    }

    .mstugan-politik-cards__card-title {
        margin-right: 48px;
    }

    .mstugan-politik-cards__card-footer {
        gap: 10px;
    }

    .mstugan-politik-cards__next {
        width: 58px;
        height: 58px;
    }

    .mstugan-politik-cards__next-icon {
        width: 44px;
    }

    .mstugan-politik-cards__like-text {
        font-size: 15px;
    }

    .mstugan-politik-cards__like-icon {
        width: 32px;
    }

    .mstugan-politik-cards__term-icon {
        width: 54px;
    }

    .mstugan-politik-cards__intro,
    .mstugan-politik-cards__picker-body {
        padding: 20px;
    }

    .mstugan-politik-cards__restart {
        width: 100%;
    }
}

.hide {
	display: none;
}
