/*
 Theme Name: The7 Child
 Description: A child theme for The7 theme.
 Template: dt-the7
 Version: 1.0.0
*/

.filters-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
}

.filters-group__parent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.filters-group__title {
    width: fit-content;
    margin-right: 32px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.57;
    word-break: normal;
}

.filters-group__reset {
    width: 200px;
    margin-top: 8px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.filters-group__reset::before {
    position: relative;
    top: 1px;
    margin-right: 8px;
    font-weight: 400;
    font-family: "Font Awesome 6 Pro";
    content: "\f00d";
}

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.filter {
    margin-right: 32px;
    margin-bottom: 8px;
}

.filter__input {
    margin-right: 8px;
    display: none;
}

.filter__content {
    display: flex;
    align-self: flex-start;
}

.form input[type=checkbox]:checked+label:after, .form input[type=checkbox]:checked+span:after, .form input[type=radio]:checked+label:after, .form input[type=radio]:checked+span:after, form input[type=checkbox]:checked+label:after, form input[type=checkbox]:checked+span:after, form input[type=radio]:checked+label:after, form input[type=radio]:checked+span:after {
    transform: translateY(-50%) scale(.6);
}

.filter__content span {
    padding-left: 25px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.filter__content span::before {
    background: #fff;
    border: 1px solid #ed3e8c;
    border-radius: 3px;
    content: "";
    height: 18px;
    left: 0;
    position: absolute;
    top: 11px;
    transform: translateY(-50%);
    width: 18px;
}

.filter__content span::after {
    align-items: center;
    color: #0d2335;
    content: "";
    display: flex;
    font-family: 'Font Awesome 6 Pro';
    font-size: 24px;
    height: 18px;
    justify-content: center;
    left: 0;
    font-weight: 800;
    position: absolute;
    top: 11px;
    transform: translateY(-50%) scale(0);
    transition: transform .3s ease-in-out;
    width: 18px;
}

.filter__ended-events {
    position: relative;
    padding-left: 8px;
    font-weight: 700;
}

.filter__ended-events::before {
    position: absolute;
    top: 3px;
    left: -16px;
    width: 16px;
    height: 16px;
    border: 1px solid #ed3e8c;
    border-radius: 3px;
    content: "";
}

.filter__ended-events--active::after {
    position: absolute;
    top: 3px;
    left: -12px;
    font-size: 10px;
    font-family: "Font Awesome 6 Pro";
    content: "\f00c";
}

.filter__ended-events__checkbox {
    display: none;
}

.filter-select {
    position: relative;
}
.filter-select {
    position: relative;
}

.filter-select__selected {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px 16px; /* Replace `px(1)` and `px(2)` with actual values */
    color: #8497a7; /* Replace with actual output of `color(regentGray)` */
    border: 1px solid #fdebf3; /* Replace with actual output of `color(wispPink)` */
    cursor: pointer;
    transition: border 0.3s, color 0.3s; /* Replace `0.3s` if `sm` differs */

    &::after {
        font-family: "Font Awesome 6 Pro"; /* Replace `$font-family-icons` */
        content: "\f078";
        transition: transform 0.3s; /* Replace `0.3s` if `sm` differs */
    }

    /* Active or focus state */
    &:active,
    &:focus,
    .filter-select--active & {
        color: #0d2335; /* Replace with actual output of `color(firefly)` */
        border: 1px solid #ed3e8c; /* Replace with actual output of `color(primary)` */
    }

    /* Transform effect for active state */
    .filter-select--active &::after {
        transform: rotate(-180deg);
    }
}

.filter-select__options {
    position: absolute;
    z-index: 3;
    display: none;
    width: 100%;
    margin-top: 16px; /* Replace `px(2)` with actual value */
    padding: 32px; /* Replace `px(4)` with actual value */
    background-color: #ffffff; /* Replace with actual output of `color(white)` */
    border-radius: 3px;
    box-shadow: 10px 10px 27px 0 rgba(0, 0, 0, 0.1);

    /* Display options when active */
    .filter-select--active & {
        display: block;
    }
}

.filter-select__form {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    max-height: 220px;
    overflow-x: hidden;
    overflow-y: auto;
}

.filter-select__label {
    width: 100%;
    display: unset;
    position: unset;

    &::after {
        display: block;
        width: 100%;
        height: 1px;
        margin-top: 12px; /* Replace `px(1.5)` with actual value */
        margin-bottom: 2px;
        background-color: rgba(0, 0, 0, 0.2);
        content: "";
    }
}

.filter-select__save {
    margin-top: 8px; /* Replace `px(1)` with actual value */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid transparent;
    border-radius: 100vw;
    display: inline-block;
    font-family: Source Sans Pro, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-right: 16px;
    overflow: visible;
    padding: 12px 24px;
    text-decoration: none;
    transition: opacity .3s ease-in-out, border-color .3s ease-in-out, background-color .3s ease-in-out, color .3s ease-in-out;
    white-space: nowrap;
    width: auto;
    background-color: #e31571;
    color: #fff;
    cursor: pointer;
}

.grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}

.agenda-filters {
   margin-bottom: 40px;
}

.agenda-filter__title {
    margin-bottom: 8px;
    color: #0d2335;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.57;
}

/* Advertorial */
a.advertorial {
    color: unset;

}
a.advertorial:hover {
    color: unset;
    
}
.tags, .adv-title {
    padding: 8px 16px;
}
.adv-title {
    font-size: 19px;
    font-weight: 600;
}
.tags .tag i {
    margin-right: 8px;
}
.tags .tag {
    font-size: 14px;
}
.tags .tag.category {
    display: inline-block;
    background-color: #f6f6f6;
    border-radius: 3px;
    color: #00abc4;
    font-size: 12px;
    line-height: 1.4;
    margin: 0 8px 8px 0;
    padding: 4px 12px;
}
.illustration {
    padding: 20px 0 20px 16px;
}
.illustration img {
    height: 30px;
}
.post-type-archive-advertorial .elementor-post {
    justify-content: end;
}
.post-type-archive-advertorial .elementor-post:hover {
    background-color: #fff;
    box-shadow: 10px 10px 27px 0 rgba(0, 0, 0, .1);
    color: #0d2335;
}
.tag--primary-icon {
    color: #ed3e8c;
}

/*sm*/
@media (min-width: 576px) {

}
/*md*/
@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/*lg*/
@media (min-width: 992px) {

    .filters-group {
        flex-direction: row;
    }

    .filters-group__parent {
        flex-direction: row;
    }

    .filters-group__reset {
        margin-top: 0;
        text-align: right;
    }

    .filters {
        margin-top: 0;
    }

    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

}
/*xl*/
@media (min-width: 1200px) {

}
/*xxl*/
@media (min-width: 1400px) {

}