/*!
Theme Name: Arts & Lettres Archive
Theme URI: https://wis17.agency/
Author: WIS17
Author URI: https://wis17.agency/
Version: 1.0.0
*/

body {
    --theme-color-gold: #d9b77e;
    --theme-color-dark-grey: #2c2929;
    --theme-color-grey: #a8a3a1;
    --theme-color-text: #ddd;
    --theme-fontsize-h1: 45px;
    --theme-fontsize-h4: 24px;
    --theme-fontsize-h5: 20px;
    --swiper-pagination-bullet-width: 12px;
    --swiper-pagination-bullet-height: 12px;
    --swiper-pagination-color: #d9b77e;
    --swiper-pagination-bullet-inactive-color: #fff;
    font-family: "SharpGrotesk18";
    font-size: 1rem;
    color: var(--theme-color-text);
    background: var(--theme-color-dark-grey);
    line-height: 1.25;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a,
a:hover,
a:focus,
a:active {
    color: inherit;
    text-decoration: none !important;
    outline: 0;
}

input:focus {
    outline: 0;
    border: 1px solid #04a4cc;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 400;
    color: var(--theme-color-gold);
    line-height: 1.15;
}

h1,
.h1 {
    font-size: var(--theme-fontsize-h1);
}

h4,
.h4 {
    font-size: var(--theme-fontsize-h4);
}

h5,
.h5 {
    font-size: var(--theme-fontsize-h5);
}

ul {
    list-style: none;
    padding: 0;
}

a.btn {
    background-color: #1a5d7a;
    color: #e9e6d7;
    border-radius: 0;
    text-transform: uppercase;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 20px;
    padding-right: 20px;
}

a.btn:hover {
    color: #fff;
}

color-gold {
    color: var(--theme-color-gold);
}

.site {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0 120px;
    position: relative;
}

.hieroglyph {
    position: absolute;
    left: calc(100% + 40px);
    margin-top: 230px;
    width: 40px;
    bottom: 0;
    top: 0;
}

.hieroglyph img {
    width: 100%;
    position: sticky;
    top: 230px;
}

.site-branding img {
    max-width: 200px;
}

.site-main {
    margin-top: 50px;
}

.home .site-main {
    margin-top: 120px;
}

.home .site-main .sidebar {
    padding-top: 4.5rem;
}

.sidebar .h1{
    font-family: SharpGrotesk;
    font-weight: 200;
    line-height: 1.1;
}

.page-cover {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--theme-color-dark-grey);
    z-index: 99;
}

.page-cover .swiper-slide img {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    object-fit: contain;
    object-position: center;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

.loading .page-cover {
    display: block;
}

.page-title {
    font-family: SharpGrotesk;
    margin-bottom: 0.5em;
    font-weight: 200;
}

.color-grey {
    color: var(--theme-color-grey);
}

.color-default {
    color: inherit;
}

.concert-groups {
    position: sticky;
    top: 50px;
}

.concert-groups .item h4,
.concert-groups .item h6 {
    color: inherit;
}

.concert-groups .item h6 {
    margin-bottom: 4px;
}

.concert-groups .item .item-heading {
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 10px 0;
    margin-top: 10px;
}

.concert-groups .item .item-heading h4 {
    margin-bottom: 0;
}

.concert-list {
    display: grid;
    column-gap: 15px;
    row-gap: 40px;
    grid-template-columns: repeat(5, 1fr);
}

.concert-list .concert-item {
    padding: 15px;
    text-align: center;
    position: relative;
}

.concert-list .concert-item .hover {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    opacity: 0;
    transition: opacity .25s ease-in;
}

.concert-list .concert-item:hover .hover {
    opacity: 1;
}

.concert-list .concert-item .hover.bottom {
    top: auto;
    bottom: 0;
}

.concert-list .concert-item .hover::before,
.concert-list .concert-item .hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--theme-color-grey);
    clip-path: polygon(100% 0, 0 0, 0 100%);
}

.concert-list .concert-item .hover.top::after {
    right: 0;
    left: auto;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.concert-list .concert-item .hover.bottom::before {
    top: auto;
    bottom: 0;
    left: 0;
    clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.concert-list .concert-item .hover.bottom::after {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.concert-list .concert-item .entry-content {
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
}

.concert-list .concert-item .entry-content .inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.concert-list .concert-item .entry-content .inner>div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.concert-list .concert-item .entry-content a {
    display: block;
    margin-bottom: auto;
    height: 70%;
    margin-bottom: 1rem;
}

.concert-list .concert-item .entry-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: 100px;
}

legend {
    font-size: 1em;
}

.concert-group-gallery {
    margin-top: 2.1rem;
}

.concert-group-gallery .gal-item {
    border-top: 1px solid;
    padding-top: 20px;
    padding-bottom: 20px;
}

.concert-group-gallery .gal-item img {
    width: 50%;
    margin: 0 auto 20px;
    display: block;
    max-width: 200px;
}

.page-nav {
    text-align: center;
    padding: 0 30px;
    position: relative;
}

.page-nav a {
    display: block;
    width: 30px;
    height: 30px;
    background: red;
    position: absolute;
    background: url(images/nav-prev-2.png) no-repeat center;
    background-size: 20px;
    left: 0;
    top: 50%;
    margin-top: -15px;
}

.page-nav a[rel=next] {
    background-image: url(images/nav-next-2.png);
    right: 0;
    left: auto;
}

.single-concert .page-title {
    font-family: SharpGrotesk;
    font-weight: 100;
    margin-top: 40px;
    font-size: 80px;
    line-height: 1;
}

.single-concert .concert-gallery {
    position: relative;
}

.single-concert .swiper-gal {
    position: absolute;
    top: calc(5% + 40px);
    right: 15%;
    bottom: 5%;
    left: 15%;
    padding-bottom: 40px;
}

.single-concert .swiper-gal .swiper-slide a {
    display: block;
    height: 100%;
}

.single-concert .swiper-gal .swiper-slide img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: contain;
}

.single-concert .swiper-gal .swiper-pagination {
    bottom: 0;
}

.single-concert .concert-detail {
    font-size: 14px;
    position: relative;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.single-concert .concert-detail::before,
.single-concert .concert-detail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--theme-color-grey);
    width: 30px;
    height: 30px;
    clip-path: polygon(100% 0, 0 0, 0 100%);
}

.single-concert .concert-detail::after {
    top: auto;
    bottom: 0;
    background: var(--theme-color-gold);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.single-concert .concert-detail .concert-info p:last-child {
    margin-bottom: 0;
}

/*------------------------------------*\
    SEARCH FILTER
\*------------------------------------*/
.search-filter {
    position: relative;
    padding: 0 30px;
    font-size: 14px;
    max-width: 622px;
}

.filter-years {
    padding: 5px 20px;
    border-bottom: 1px solid;
    position: relative;
    margin-bottom: 10px;
    font-family: 'SharpGrotesk';
    font-size: 1rem;
}

.filter-years .wrapper {
    overflow: hidden;
    width: 100%;
    margin-bottom: 0;
}

.filter-years .years .year {
    cursor: pointer;
    flex: 0 0 10%;
    text-align: center;
    padding: 0 5px;
    line-height: 1;
    padding-top: 8px;
}

.filter-years .years .year.active {
    transform: scale(1.3);
    transform-origin: center bottom;
}

.search-filter .prev,
.search-filter .next {
    position: absolute;
    margin-top: -10px;
    left: 0;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: url(images/nav-prev.png) no-repeat left center;
    background-size: 30px;
    transform: translateY(-50%);
}

.search-filter .next {
    left: auto;
    right: 0;
    background-image: url(images/nav-next.png);
}

.search-filter form{
    margin-top: 20px;
}

.search-inputs {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    position: relative;
}

.search-inputs>div {
    flex: 0 0 24%;
    width: 24%;
}

.search-inputs select{
    visibility: hidden;
    width: 100%;
}

.search-inputs input {
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 2px 8px 2px !important;
    background: none;
    color: #fff;
    width: 100%;
    line-height: 1;
}

.search-inputs label {
    font-weight: 500;
    text-transform: lowercase;
    margin-top: 3px;
    margin-right: 10px;
    padding-left: 10px;
}

.search-inputs .search-reset {
    cursor: pointer;
    font-weight: 700;
}

.selectize-control.single .selectize-input {
    box-shadow: none !important;
    background: transparent;
}

.selectize-input {
    padding: 2px 8px;
}

.selectize-control.single .selectize-input:after {
    right: 5px;
}

.selectize-control.single .selectize-input.input-active,
.selectize-input {
    background: transparent;
    display: flex;
}

.selectize-control.single .selectize-input .item {
    color: #fff;
    white-space: nowrap;
    padding: 2px 0;
    overflow: hidden;
    max-width: 80%;
    min-height: 22px;
    transform: translateY(2px);
    /* line-height: 22px; */
}

.selectize-control.single .selectize-input {
    border-top-left-radius: 10% 50%;
    border-top-right-radius: 10% 50%;
    border-bottom-left-radius: 10% 50%;
    border-bottom-right-radius: 10% 50%;
}

.selectize-control.single .selectize-input.dropdown-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.selectize-dropdown [data-selectable].option{
    min-height: 28px;
}

.posts-navigation {
    margin-top: 80px;
}

.posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    text-transform: lowercase;
}

.search-filter .loading-animated {
    position: absolute;
    top: 0;
    right: -15px;
    bottom: 0;
    left: -15px;
    background: rgb(221 221 221 / 65%);
    border-radius: 20px;
    z-index: 1;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-filter.loading .loading-animated {
    display: flex;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 22px;
    height: 22px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 3px solid var(--theme-color-dark-grey);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--theme-color-dark-grey) transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media screen and (max-width:1279px) {
    body {
        --wp--preset--font-size--medium: 16px;
        --theme-fontsize-h1: 30px;
        --theme-fontsize-h4: 20px;
        --theme-fontsize-h5: 16px;
        font-size: 14px;
    }

    .home .site-main .sidebar {
        padding-top: 3.5rem;
    }

    .concert-group-gallery {
        margin-top: 1.5rem;
    }
}

@media screen and (max-width:991px) {
    body {
        --theme-fontsize-h1: 26px;
        --theme-fontsize-h4: 18px;
        font-size: 14px;
    }

    .site {
        max-width: 800px;
    }

    .home .site-main {
        margin-top: 80px;
    }

    .home .site-main .sidebar {
        padding-top: 3rem;
    }

    .single-concert .page-title {
        font-size: 56px;
    }

    .hieroglyph {
        display: none;
    }
}

@media screen and (max-width:767px) {
    .site-branding {
        text-align: center;
    }

    .home .site-main {
        margin-top: 40px;
    }

    .concert-groups {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .concert-groups .item {
        flex: 0 0 45%;
    }

    .concert-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width:479px) {
    .search-inputs {
        flex-wrap: wrap;
        row-gap: 5px;
    }

    .search-inputs .control-wrapper {
        flex: 0 0 40%;
        width: 40%;
        position: relative;
    }

    .search-inputs {
        font-size: 12px;
    }

    .concert-groups .item {
        flex: 0 0 100%;
    }

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

@media screen and (max-width:399px) {
    .search-inputs {
        font-size: 9px;
        justify-content: space-between;
        /* flex-wrap: wrap; */
        gap: 5px;
        /* max-width: 150px;
        margin: 0 auto; */
    }

    /* .search-inputs .control-wrapper {
        flex: 0 0 100%;
        text-align: center;
    } */

    .concert-list {
        grid-template-columns: repeat(2, 1fr);
    }
}