/* Use the exact IRANSansX font files used by tournament.php. */
@font-face {
    font-family: 'IRANSansX';
    src: url('/fonts/IRANSansX-Regular.woff') format('woff');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('/fonts/IRANSansX-Bold.woff') format('woff');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

/* Shared Game Club Time header — based on tournament.php brand bar */
.gct-site-header,
.gct-site-header * {
    box-sizing: border-box;
}

.gct-site-header {
    display: block;
    position: relative;
    z-index: 20;
    width: calc(100% + 40px);
    margin: -20px -20px 20px;
    padding: 0;
    direction: rtl;
    background: #fff;
    border-bottom: 1px solid #e3e7ef;
    color: #202943;
    font-family: 'IRANSansX', 'iransans', Tahoma, Arial, sans-serif;
    line-height: 1.8;
}

.gct-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    width: min(1100px, calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    padding: 13px 0;
}

.gct-site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.gct-site-header__logo {
    display: block;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
}

.gct-site-header__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.gct-site-header__title {
    display: block;
    margin: 0 !important;
    color: #202943 !important;
    font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
}

.gct-site-header__subtitle {
    display: block;
    margin: 0 !important;
    color: #596579 !important;
    font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

.gct-site-header__brand:hover .gct-site-header__title {
    color: #465393;
}

@media (max-width: 780px) {
    .gct-site-header__inner {
        width: calc(100% - 22px);
        min-height: 72px;
        padding: 11px 0;
    }

    .gct-site-header__brand {
        gap: 11px;
    }

    .gct-site-header__logo {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .gct-site-header__title {
        font-size: 19px;
    }

    .gct-site-header__subtitle {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .gct-site-header__logo {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .gct-site-header__title {
        font-size: 17px;
    }

    .gct-site-header__subtitle {
        font-size: 10px;
    }
}

/* Keep the shared header brand link free of underline on every page,
   including pages that load Bootstrap or other global link styles. */
.gct-site-header a.gct-site-header__brand,
.gct-site-header a.gct-site-header__brand:link,
.gct-site-header a.gct-site-header__brand:visited,
.gct-site-header a.gct-site-header__brand:hover,
.gct-site-header a.gct-site-header__brand:focus,
.gct-site-header a.gct-site-header__brand:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
}
