/* ==========================================================
   THE FACTORY 3-ON-3 LEAGUES ACCORDION
========================================================== */

.factory-3on3-accordion {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    font-family: Poppins, Arial, sans-serif !important;
}

.factory-3on3-section {
    margin: 0 0 14px;
    background: #ffffff;
    border: 1px solid #d9dde5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

.factory-3on3-section > summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 56px 18px 22px;
    background: #112241;
    color: #ffffff !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}

.factory-3on3-section > summary::-webkit-details-marker {
    display: none;
}

.factory-3on3-section > summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}

.factory-3on3-section[open] > summary::after {
    content: "−";
}

.factory-3on3-section > summary:hover {
    background: #1a315b;
}

.factory-3on3-ball {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 21px;
    line-height: 1;
}

.factory-3on3-name {
    color: #ffffff !important;
    font-family: Poppins, Arial, sans-serif !important;
}

.factory-3on3-content {
    padding: 26px;
    color: #112241 !important;
    font-family: Poppins, Arial, sans-serif !important;
}

.factory-3on3-content p,
.factory-3on3-content span,
.factory-3on3-content strong {
    font-family: Poppins, Arial, sans-serif !important;
}

.factory-3on3-content p {
    color: #112241 !important;
}

.factory-3on3-intro h3 {
    margin: 0 0 10px;
    color: #df5724 !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
}

.factory-3on3-intro p {
    margin: 0 0 24px;
    line-height: 1.7;
}

.factory-3on3-details {
    margin: 0 0 24px;
}

.factory-3on3-details h4 {
    margin: 0 0 12px;
    color: #df5724 !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 20px;
    font-weight: 700;
}

.factory-3on3-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.factory-3on3-detail {
    padding: 15px 16px;
    background: #f5f6f8;
    border: 1px solid #d9dde5;
    border-radius: 9px;
}

.factory-3on3-detail-label {
    display: block;
    margin-bottom: 4px;
    color: #667085 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.factory-3on3-detail strong {
    display: block;
    color: #112241 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.factory-3on3-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.factory-3on3-accordion .factory-3on3-buttons a.factory-3on3-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    border: 2px solid #df5724 !important;
    border-radius: 8px !important;
    background: #df5724 !important;
    background-color: #df5724 !important;
    color: #ffffff !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.factory-3on3-accordion .factory-3on3-buttons a.factory-3on3-button:link,
.factory-3on3-accordion .factory-3on3-buttons a.factory-3on3-button:visited {
    background: #df5724 !important;
    background-color: #df5724 !important;
    border-color: #df5724 !important;
    color: #ffffff !important;
}

.factory-3on3-accordion .factory-3on3-buttons a.factory-3on3-button:hover,
.factory-3on3-accordion .factory-3on3-buttons a.factory-3on3-button:focus {
    background: #c94b1d !important;
    background-color: #c94b1d !important;
    border-color: #c94b1d !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);
}

.factory-3on3-builder-placeholder {
    padding: 22px;
    border: 2px dashed #aeb7c6;
    border-radius: 10px;
    background: #f6f7f9;
    color: #112241;
    text-align: center;
    font-family: Poppins, Arial, sans-serif !important;
}

.factory-3on3-builder-placeholder strong,
.factory-3on3-builder-placeholder span {
    display: block;
    font-family: Poppins, Arial, sans-serif !important;
}

.factory-3on3-builder-placeholder strong {
    margin-bottom: 6px;
    font-size: 18px;
}

@media only screen and (max-width: 767px) {
    .factory-3on3-section {
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .factory-3on3-section > summary {
        gap: 8px;
        padding: 16px 50px 16px 18px;
        font-size: 18px;
    }

    .factory-3on3-section > summary::after {
        right: 18px;
        font-size: 25px;
    }

    .factory-3on3-ball {
        font-size: 19px;
    }

    .factory-3on3-content {
        padding: 20px;
    }

    .factory-3on3-intro h3 {
        font-size: 24px;
    }

    .factory-3on3-detail-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .factory-3on3-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .factory-3on3-accordion .factory-3on3-buttons a.factory-3on3-button {
        width: 100%;
    }
}