﻿.gial-page {
    --gial-green: #5B8C3B;
    --gial-line: #e6eadf;
    font-family: 'Tajawal',Tahoma,Arial,sans-serif;
    color: #26352b;
    background: #f8faf6;
    min-height: 70vh;
    padding: 20px 12px 42px
}

    .gial-page * {
        box-sizing: border-box
    }

.gial-shell {
    max-width: 1120px;
    margin: auto
}

.gial-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #71806c;
    margin-bottom: 15px
}

    .gial-breadcrumb a {
        color: #527a39;
        text-decoration: none
    }

.gial-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: linear-gradient(115deg,#31562c,#5B8C3B);
    border-radius: 20px;
    padding: 29px 31px;
    color: #fff;
    box-shadow: 0 9px 24px rgba(52,92,39,.12)
}

.gial-kicker {
    font-size: 12px;
    opacity: .85
}

.gial-hero h1 {
    font-size: clamp(24px,3vw,34px);
    font-weight: 800;
    margin: 12px 0 7px;
    line-height: 1.3
}

.gial-hero p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    color: #eff6e9
}

.gial-hero-icon {
    font-size: 55px;
    line-height: 1;
    opacity: .92
}

.gial-stats {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin: 16px 0
}

    .gial-stats > div {
        background: #fff;
        border: 1px solid var(--gial-line);
        border-radius: 15px;
        padding: 17px;
        display: flex;
        align-items: center;
        gap: 12px
    }

    .gial-stats strong {
        font-size: 24px;
        color: var(--gial-green);
        font-weight: 800
    }

    .gial-stats span {
        font-size: 12px;
        color: #637365
    }

.gial-directory {
    background: #fff;
    border: 1px solid var(--gial-line);
    border-radius: 18px;
    padding: 20px
}

.gial-directory-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap
}

    .gial-directory-head h2 {
        font-size: 20px;
        font-weight: 800;
        margin: 0 0 7px
    }

    .gial-directory-head p {
        font-size: 12px;
        color: #6c7769;
        margin: 0;
        line-height: 1.6
    }

.gial-actions {
    display: flex;
    gap: 7px
}

    .gial-actions button {
        border: 1px solid #d3dfc9;
        color: #477135;
        background: #f6faf3;
        border-radius: 50px;
        padding: 8px 13px;
        font-size: 12px;
        font-weight: 700
    }

        .gial-actions button:hover {
            background: #e5f0dd
        }

.gial-search-wrap {
    margin: 18px 0 15px;
    position: relative
}

    .gial-search-wrap label {
        display: block;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 7px
    }

    .gial-search-wrap input {
        border: 1px solid #dce5d6;
        border-radius: 12px;
        width: 100%;
        font-family: inherit;
        font-size: 14px;
        padding: 12px 14px;
        background: #fafcf8;
        outline: none
    }

        .gial-search-wrap input:focus {
            border-color: #69934f;
            box-shadow: 0 0 0 3px rgba(91,140,59,.12)
        }

    .gial-search-wrap > span {
        position: absolute;
        left: 12px;
        bottom: 13px;
        color: #64805b;
        font-size: 12px;
        pointer-events: none
    }

.gial-countries {
    display: grid;
    gap: 10px
}

.gial-country {
    border: 1px solid var(--gial-line);
    border-radius: 13px;
    overflow: hidden;
    background: #fff
}

    .gial-country[hidden], .gial-league[hidden], [hidden].gial-message {
        display: none !important
    }

    .gial-country > summary {
        list-style: none;
        cursor: pointer;
        padding: 14px 17px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        background: #fcfdfa
    }

        .gial-country > summary::-webkit-details-marker {
            display: none
        }

    .gial-country[open] > summary {
        background: #f0f6eb;
        border-bottom: 1px solid #e0e9d7
    }

.gial-country-identity, .gial-country-end {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0
}

    .gial-country-identity strong {
        font-size: 15px;
        font-weight: 800
    }

    .gial-country-end small {
        font-size: 12px;
        color: #6b7968
    }

.gial-country-flag {
    width: 36px;
    height: 30px;
    border-radius: 7px;
    overflow: hidden;
    background: #f2f5ef;
    display: grid;
    place-items: center;
    flex-shrink: 0
}

    .gial-country-flag img {
        width: 28px;
        height: 21px;
        object-fit: contain
    }

.gial-chevron {
    display: inline-flex;
    font-size: 23px;
    color: #5B8C3B;
    transition: transform .18s
}

.gial-country[open] .gial-chevron {
    transform: rotate(180deg)
}

.gial-league-list {
    padding: 5px 13px 11px
}

.gial-league {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 5px;
    border-bottom: 1px solid #f0f2ed;
    color: inherit;
    text-decoration: none;
    min-width: 0
}

    .gial-league:last-child {
        border-bottom: 0
    }

    .gial-league:hover {
        background: #f8fbf5;
        border-radius: 9px;
        color: #2e5f27
    }

.gial-league-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid #edf0e8;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff
}

    .gial-league-logo img {
        width: 33px;
        height: 33px;
        object-fit: contain
    }

.gial-league-info {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 4px
}

    .gial-league-info strong {
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere
    }

    .gial-league-info small {
        font-size: 11px;
        color: #849080
    }

.gial-league-meta {
    color: #6b7968;
    background: #f3f6f0;
    border-radius: 30px;
    padding: 5px 10px;
    font-size: 11px;
    white-space: nowrap
}

.gial-league-arrow {
    color: #5B8C3B;
    font-size: 20px;
    margin-inline-start: 2px
}

.gial-message {
    margin: 18px 0;
    background: #fff;
    border: 1px solid #e5ebde;
    padding: 22px;
    border-radius: 12px;
    text-align: center;
    color: #63735d
}

.gial-footnote {
    font-size: 11px;
    color: #879081;
    text-align: center;
    padding-top: 21px
}

@media(max-width:620px) {
    .gial-page {
        padding: 11px 8px 28px
    }

    .gial-hero {
        padding: 23px 18px;
        border-radius: 15px
    }

    .gial-hero-icon {
        font-size: 36px
    }

    .gial-hero p {
        font-size: 12px
    }

    .gial-stats {
        gap: 7px
    }

        .gial-stats > div {
            padding: 12px 9px;
            display: grid;
            gap: 5px;
            text-align: center
        }

        .gial-stats strong {
            font-size: 20px
        }

        .gial-stats span {
            font-size: 10px
        }

    .gial-directory {
        padding: 13px;
        border-radius: 13px
    }

    .gial-directory-head h2 {
        font-size: 18px
    }

    .gial-country > summary {
        padding: 12px
    }

    .gial-league-list {
        padding: 2px 7px 8px
    }

    .gial-league {
        gap: 8px
    }

    .gial-league-meta {
        font-size: 10px;
        padding: 5px 7px
    }

    .gial-league-logo {
        width: 36px;
        height: 36px;
        flex-basis: 36px
    }

        .gial-league-logo img {
            width: 29px;
            height: 29px
        }
}
