/* ============================
   Competition – Accordion
   ============================ */

.competition-accordion {
    margin-top: 40px;
}

 
.competition-group {
    margin-bottom: 20px;
    padding-top: 32px;
}

 
.competition-group:not(:first-child) {
    border-top: 1px solid #FACA06;
}

 
.competition-toggle {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 0 0 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--teal, #053F0C);

    /* h3 style */
    font-family: "Playfair Display";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

 
.competition-toggle i {
    color: inherit;
    transform: none !important;
    transition: color .25s ease;
}

 
.competition-toggle[aria-expanded="true"] i {
    color: #FACA06;
}

/* ============================
   Accordion Content 
   ============================ */

.competition-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;

    transition: max-height .45s ease, opacity .25s ease;
    will-change: max-height, opacity;
}

 
.competition-content.open {
    max-height: 3000px;  
    opacity: 1;
    width: 90%;
    justify-self: center;
}

 
.competition-content.open .upcoming-event-item:first-child {
    margin-top: 6px;
}

/* ============================
   Cards
   ============================ */

.upcoming-event-item {
    margin-bottom: 24px;
}

/* ============================
   Section adjustments
   ============================ */

section.section-white.competition-row {
    padding: 0;
}

section.section-white.competition-row h2 {
    color: var(--secondary, #FACA06);

    /* h2 */
    font-family: "Playfair Display";
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* ============================
   Header
   ============================ */

.internal-head .upcoming-title {
    margin-bottom: 20px;
    color: var(--secondary, #FACA06);
    text-align: left;

    /* h1 */
    font-family: "Playfair Display";
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
