
.myk__contestant-list__header {
    background: #e65300;;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.myk__contestant-list__header .search {
    padding: 5px 20px;
    border-radius: 25px;
    border: none;
}


.card__body__votes__wrap {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-row {
    padding: 20px;
    margin-bottom: 20px;
}


.list-item .open-vote-modal {
    border-radius: 25px;
    padding: 10px 30px !important;
    display: block;
    width: 90%;
    margin: 0 auto 20px auto;
    background: #ff8300;
    color: #fff;
}

.list-item .open-vote-modal a {
    color: #fff;
}


#kcontest-email-form {
    margin-bottom: 20px;
}

#kcontest-email-form input[type=email] {
    padding: 9px 21px;
    border-radius: 10px 0px 0 10px;
    border: 1px solid #bbb;
}

#kcontest-email-form button,
#kcontest-vote-form button {
    width: 100%;
    background: #e65300;
    color: #fff;
    border: none;
    padding: 10px 20px;
}


#kcontest-vote-formm {
    margin-bottom: 20px;
}

.kcontest-message.warning-m{
        margin: 20px 0;
    padding: 7px 14px;
    border: 1px solid #e65300;
    background: #fff1e9;
    color: #e65300;
}

.kcontest-message.success-m{
   padding: 10px;
    background: #daffda;
    margin: 12px 0px;
    color: #004800;
    border: 1px solid #004800; 
}

.kcontest-message.error-m{
   padding: 10px;
    background: #ffdada;
    margin: 12px 0px;
    color: #480000; 
    border: 1px solid #480000;
}

#kcontest-vote-form input[type=text] {
    padding: 10px 40px;
    border-radius: 10px 0px 0 10px;
    border: 1px solid #bbb;
}

#kcontest-vote-form button {
    margin-left: -3px;
    background: #e65300;
    color: #fff;
    border: none;
    padding: 10px 30px;
}

.list-item .name {
    margin: 0;
}

.list-item .location {
text-transform: uppercase;
}

.list-item .school {
text-transform: uppercase;
}

#kcontest-email-form input[type="text"],
#kcontest-email-form input[type="email"],
#kcontest-vote-form input[type="text"] {
    margin-bottom: 10px;
    padding: 9px 21px;
    border-radius: 10px 0px 0 10px;
    border: 1px solid #bbb;
    width: 100%;
}

.list-item .card__body {
    padding: 20px;
}

.single-contests .card__body {
    text-align: center;
}

.ig_link {font-size: 2rem;}
.card__body__votes{
        width: 30px;
    height: 30px;
    background: #e65300;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    font-size: 1.6rem;
    border-radius: 100%;
    text-align: center;
    font-family: 'ManizSansNarrowBlack';
        border: 5px solid #ff8300
}

.page-header--contestant {
    background: #e65300;
    color: #f2e4c4;
        text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
        padding: 3rem;
}

.page-header--contestant h1 span::after{
        content: "";
    position: absolute;
    width: 100px;
    height: 1px;
    background: #fff;
    right: -130px;
    top: 50%;
    transform: translateY(-50%);
}

.page-header--contestant h1 span::before {
        content: "";
    position: absolute;
    width: 100px;
    height: 1px;
    background: #fff;
    left: -130px;
    top: 50%;
    transform: translateY(-50%);
}

.page-header--contest {
    margin-top: 150px;
}

.page-header--contestant .page-header__logo {
    height: 100px;
    display: flex;
    justify-content: center;
    margin-left: -31px;
    margin-bottom: 11px;
}

.page-header--contestant h1 {
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
    color: #fff;
    text-transform: uppercase;
    padding: 0 !important;
    position: relative;
        width: fit-content;
    margin: 20px auto 5px !important;
    font-family: Arial, sans-serif;
        line-height: 1;
}

.page-header--contestant h2 {
    color: #f2e4c4;
    font-size: 3rem;
    margin-bottom: 0;
        line-height: 1;
}

.single-contestants .breadcrumbs {
        padding: 20px 20px 10px 0;
    border-bottom: 1px solid orange;
    margin-bottom: 20px;
}

.page-header--contestant .location {
        font-size: 25px;
    font-weight: 300;
    margin: 0;
}


.card__header a .title {
    margin: 0;
    text-transform: uppercase;
    position: absolute;
    right: 0;
    top: 10px;
    background: orangered;
    color: #fff;
    border-radius: 20px 0px 0px 20px;
    padding: 3px 11px;
    font-size: 13px;
}

.contestant__image {
    position: relative;
    width: fit-content;
}

.type-contestants {
    padding: 20px 0;
}

.contestant__image .title {
    margin: 0;
    text-transform: uppercase;
    position: absolute;
    right: 0;
    top: 10px;
    background: orangered;
    color: #fff;
    border-radius: 20px 0px 0px 20px;
    padding: 3px 11px;
    font-size: 13px;
    z-index: 99;
}

.contestant__rules {
    padding: 5px;
    font-size: 13px;
    margin: 20px 0;
}

.page-header--contest__description {
    margin-bottom: 20px;
}

.card__header a {
position: relative;
    height: 220px;
    display: flex;
    width: 100%;
}

.single-contests {
    padding-top: 120px;
}


.card__header a  img{
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
}


.splide__slide {
    height: 220px;
}

.splide__slide  img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
}

.myk__share-contest__icons .bi {
    font-size: 1.5rem;
    margin: 0 3px;
}

.open-vote-modal {
    border-radius: 25px;
    padding: 10px 30px !important;
    display: block;
    width: 90%;
    margin: 0 auto 20px auto;
    background: #ff8300;
    color: #fff;
}

.single-contestants .myk__share-contest {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.single-contestants .contestant__votes {
width: 60px;
    height: 60px;
    background: #e65300;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    font-size: 1.6rem;
    border-radius: 100%;
    text-align: center;
    font-family: 'ManizSansNarrowBlack';
    border: 9px solid #ff8300;
}

.single-contestants .contestant__votes__wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#contestant-splide img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    display: block;
}

/* Lightbox */
#splide-lightbox {
    padding: 0;
    border: none;
    background: rgba(0,0,0,0.85);
    max-width: 100vw;
    max-height: 100vh;
}

#splide-lightbox::backdrop {
    background: rgba(0,0,0,0.85);
}

#splide-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    display: block;
    margin: auto;
}

.splide-lightbox__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.modal {
    height: 70%;
    top: 20%;
}
  @media screen and (max-width: 1023px) {

.modal {
    height: auto;

}
  }

.modal-dialog {
    height: 100%;
}

.modal-body {
    height: 100%;
}

.modal-content {
     height: 100%   
}

.modal-body #modalImage {
    object-fit: contain;
    height: 100%;
}

.contestant-gender-filter {
    display: inline-flex;
    gap: 10px;
}

.contestant-gender-filter label {
    position: relative;
    cursor: pointer;
}

.contestant-gender-filter input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Button look */
.contestant-gender-filter label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    font-weight: 600;
    transition: all 0.2s ease;
    user-select: none;
}

/* Hover */
.contestant-gender-filter label:hover {
    border-color: #ff8300;
    color: #ff8300;
}

/* Checked state */
.contestant-gender-filter input[type="radio"]:checked + span,
.contestant-gender-filter label input[type="radio"]:checked {
    /* fallback */
}

/* Checked label styling */
.contestant-gender-filter label:has(input[type="radio"]:checked) {
    background: #ff8300;
    border-color: #ff8300;
    color: #212529;
}

/* Focus accessibility */
.contestant-gender-filter input[type="radio"]:focus-visible + label,
.contestant-gender-filter label:focus-within {
    outline: 2px solid #ff8300;
    outline-offset: 2px;
}

.pagination {
    margin: 35px 0;
}

.pagination .page {
border: 1px solid #ff8300;
color: #ff8300;
padding: 8px 18px;
margin: 8px;
}

.pagination .active .page {
border: 1px solid #ff8300;
color: #fff;
background: #ff8300;
}