

.medium {
    padding: 8px 16px;
    font-size: var(--font-fs-body-md);
}
.large {
    padding: 12px 32px;
    font-size: var(--font-fs-body-lg);
}


/* ================================================================
    BUTTON PRIMARY
*/
.btn_primary {
    background: var(--neutral-shade-3);
    color: var(--neutral-tint-4);
    border-radius: 0 50px 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-width: 56px;
    
    text-transform: uppercase;
    transition:0.5s ease-in all;
}
.btn_primary:hover {
    background: var(--neutral-shade-2);
    color: var(--neutral-tint-4);
}
.btn_primary:focus-visible {
    outline: 2px solid var(--neutral-shade-1);
    outline-offset: 2px;
}
.btn_primary:active {
    background: var(--neutral-shade-1);
    outline: none;
    outline-offset: 0px;
}
.btn_primary:disabled {
    background: var(--neutral-tint-3);
     color: var(--neutral-tint-1);
}

.btn_primary:after {
    content: "";
    position: absolute;
    width: 0;
    height: 20px;
    position: relative;
    background-image: url(../assets/icons/arrow-btn-pm.svg);
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
}
.btn:hover.btn_primary:after {
    opacity: 1;
    width:20px;
}
/* ================================================================
    BUTTON SECONDARY
*/
.btn_secondary {
    background: var(--primary-tint-4);
    color: var(--primary-base);
    border-radius: var(--radii-4);
    border: 2px solid var(--primary-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-width: 56px;
    transition: 0.2s;
    cursor: pointer;
}
a.btn.btn_secondary:after {
    width: 40px;
    height: 40px;
    content: "";
    position: absolute;
    background: none;
    border: 2px solid;
    border-radius: 0 100px 100px 0;
    right: -40px;
    transition: 0.4s ease-out;
}
a.btn.btn_secondary::before {
    width: 45px;
    height: 13px;
    background-image: url(../assets/icons/arrow_btn.svg);
    content: "";
    position: absolute;
    right: -34px;
    transition: 0.3s ease-out;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}
a.btn:hover.btn_secondary::before {
    right: -40px;
    width: 0px;  
    transition: 0.3s ease-out;
}
a.btn:hover.btn_secondary:after {
    width: 100%;
    right: 0;
    transition-delay: 0.05s;
}
.btn_secondary_0:hover {
    color: var(--primary-tint-1);
    border: 2px solid var(--primary-tint-1);
}
.btn_secondary_0:focus-visible {
    outline: 2px dashed var(--primary-shade-1);
    outline-offset: 2px;
}
.btn_secondary_0:active {
    color: var(--primary-shade-1);
    border: 2px solid var(--primary-shade-1);
    outline: none;
    outline-offset: 0px;
}
.btn_secondary_0:disabled {
    background: var(--neutral-tint-4);
    color: var(--neutral-tin-1);
    border: 2px solid var(--neutral-shade-2);
}
/* ================================================================
    COMPONENT NAME
*/
/*link_contextual_4 - default*/
.titre-autres a {
    overflow: hidden;
    color: var(--link-default);
}
.titre-autres a:after {
    content: "";
    background: var(--link-default-bg);
    position: absolute;
    left: 12px;
    bottom: -2px;
    width: calc(100% - 8px);
    height: calc(100% - 12px);
    z-index: -1;
    transition: 0.3s cubic-bezier(0.3, 0.1, 0, 2.0);
}
.titre-autres a:hover:after {
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 100%;
}
.titre-autres a:active:after {
    left: -6px;
    bottom: 12px;
    height: calc(100% - 12px);
}
.titre-autres a:focus-visible {
    outline: 2px dashed var(--link-default-hover); 
    outline-offset: 2px;
    border-radius: var(--radii-2);
}
/*link_contextual_4 - visited*/
.titre-autres a:visited {
    color: var(--link-visited);
}
.titre-autres a:visited:after {
    background: var(--link-visited-bg);
}
.titre-autres a:focus-visible:visited {
    outline: 2px dashed var(--link-visited-hover); 
}
/* ================================================================
    SPECTACLE AFFICHE
*/
.spectacle-affiche {
    position: relative;
    overflow: hidden;
    height:400px;
}

.spectacle-affiche .img {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.spectacle-affiche img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition:0.2s ease-in all;
}
.spectacle-affiche:hover img {
    scale: 1.05;
}
.spectacle-affiche .img:after {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: linear-gradient(180deg, rgb(0 0 0 / 20%) 0%, rgba(0, 0, 0, 0) 100%);
    left: 0;
    
}
.spectacle-affiche .age {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    color: white;
    font-size: var(--font-fs-body-md);
    display:none;
}
.spectacle-affiche .icones {
    position: absolute;
    right: 8px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    display: none;
    top: 8px;
}

.spectacle-affiche .icones img {
    width:40px;
    height:40px;
}

.spectacle-affiche:hover .icones {
    display: flex;
}
.spectacle-affiche:hover .age {
    display: block;
}

.spectacle-affiche:hover .info {
     background: #ffffff;
}
.spectacle-affiche .info {
    position: absolute;
    z-index: 2;
    background: #ffffffe0;
    bottom: 0;
    width: 100%;
    left: 0;
    display: flex;
    /*align-items: center;*/
    flex-direction:column;
    justify-content: space-between;
    padding: 16px;
    
    transition:0.2s ease-in all;
}
.spectacle-affiche .info .date p {
    font-size: var(--font-fs-body-md);
}
.spectacle-affiche .info p {
    font-size: var(--font-fs-body-md);
}
.spectacle-affiche .info p, .spectacle-affiche .info h3 {
  color: var(--neutral-shade-3);
  margin: 0;
}

.spectacle-affiche .accroche {
    display:none;
    font-size: var(--font-fs-body-md);
    color: var(--neutral-tint-2);
}
.spectacle-affiche:hover .accroche {
    display:block;
}

/* ================================================================
    TOGGLE
*/
.section_detail-spectacle-infos .col-2 .col-l .toggle {
    /*background: var(--neutral-tint-4);*/
    padding: 12px;
    border:1px solid  var(--neutral-tint-2);
    border-radius: 0 50px 50px 0;
    margin-bottom: 24px;
}
.section_detail-spectacle-infos .col-2 .col-l .toggle h3 {
    margin: 0;
    text-transform:uppercase;
}
.section_detail-spectacle-infos .col-2 .col-l button:not(.splide__arrow) {
    display: flex;
    width: 100%;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
}
.toggle-content {
    display: none;
}
/* ================================================================
    dropdown
*/
.tri {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}
.dropdown-content > div {
    padding: 8px 16px;
    border-bottom: 1px solid var(--neutral-tint-3);
    color: var(--neutral-base);
    cursor:pointer;
    font-size: var(--font-fs-body-md);
}
.dropdown-content  > div:hover {
    background-color: var(--neutral-tint-4);
}
button.dropdown-btn:hover {
    background: var(--neutral-tint-4) !important;
}
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    border: 2px solid var(--neutral-tint-3);
    flex-direction: column;
    background: var(--neutral-tint-5);
        position: absolute;
    z-index: 20;
    left: 0;
    width: 100%;
    opacity:0;
    height: 0;
    transition:0.5s ease-in all;
}
.dropdown-content-active {
    display:flex;
    opacity:1;
    height: auto;
    
}
button.dropdown-btn {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 8px;
    width: auto;
    min-width:120px;
    max-width: 100%;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding: 4px;
    font-size: var(--font-fs-body-md);
    border:1px solid  var(--neutral-tint-4);
}
/* ================================================================
    COMPONENT NAME
*/

.tooltip_btn {
    cursor:pointer;
    position:relative;
}

.tooltip_btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(100%);
}

.tooltip {
    position: absolute;
    right:0; 
    bottom:0px;
    display: block;
    font-size: 1.6rem;
    font-weight: 300;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    border:1px solid var(--neutral-tint-3);
    padding: 5px 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50%);
    transition: all 0.3s ease;
    width: max-content;
    z-index:999;
}

.tooltip_content {
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.tooltip_content a {
    color: #000;
}

.tooltip_label:hover {
    background: var(--neutral-tint-4) !important;
}
.tooltip_label {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 8px;
    width: auto;
    min-width:120px;
    max-width: 100%;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding: 4px;
    font-size: var(--font-fs-body-md);
    border:1px solid  var(--neutral-tint-4);
}

@media (max-width: 750px) {
    .tooltip_label span {
        display:none;
    }
    .tooltip_label {
        min-width:32px;
        border:0;
    }
}