
.hero-content .hero-tagline {
    display: block;
    margin: 6px 0 10px;
    padding: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
    text-align: inherit;
    white-space: normal;
    overflow-wrap: break-word;
}

@media (max-width: 520px) {
    .hero-content .hero-tagline {
        font-size: 12px;
    }
}

.hero-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-menu-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-box {
    position: relative;
}

.hero-logo-actions {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-auth-actions {
    position: absolute;
    top: 18px;
    left: 116px;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-logo-actions .hero-country-logo-link,
.hero-logo-actions .hero-country-logo-link.is-fixed {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
}

.hero-urgent-strip {
    width: calc(100% - 120px);
    max-width: 1920px;
    margin: 24px auto 0;
    direction: rtl;
}

.hero-urgent-card {
    display: grid;
    grid-template-columns: auto 46px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 66px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #d9e6f7;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(35, 78, 125, 0.08);
    overflow: hidden;
}

.hero-urgent-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 7px 16px 8px;
    border-radius: 999px;
    background: #fff3e6;
    color: #9b3a00;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.5;
    white-space: nowrap;
    border: 1px solid #ffd8ae;
}

.hero-urgent-icon {
    line-height: 1;
}

.hero-urgent-arrow {
    width: 42px;
    height: 42px;
    border: 2px solid #0b63ce;
    border-radius: 50%;
    background: #ffffff;
    color: #45617f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.hero-urgent-arrow:hover {
    background: #eaf3ff;
    color: #174b82;
    transform: translateY(-1px);
}

.hero-urgent-arrow-svg {
    width: 22px;
    height: 22px;
    display: block;
}

.hero-urgent-track-wrap {
    min-width: 0;
    overflow: hidden;
}

.hero-urgent-track {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    padding: 3px 0 5px;
}

.hero-urgent-track::-webkit-scrollbar {
    display: none;
}

.hero-urgent-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 620px;
    min-height: 44px;
    padding: 8px 22px 10px;
    border-radius: 999px;
    background: #f6faff;
    color: #263f63;
    border: 1px solid #dce8f6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.55;
}

.hero-urgent-link:hover {
    background: #edf6ff;
    color: #0f4f8f;
}

.hero-urgent-link-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-bottom: 1px;
}


.hero-next-exam-strip {
    width: calc(100% - 120px);
    max-width: 1920px;
    margin: 12px auto 0;
    direction: rtl;
}

.hero-next-exam-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 68px;
    padding: 11px 16px;
    background: #f8fbff;
    border: 1px solid #cfe3fb;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(35, 78, 125, 0.07);
    color: #263f63;
    text-decoration: none;
}

.hero-next-exam-card:hover {
    background: #edf6ff;
    color: #0f4f8f;
}

.hero-next-exam-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 6px 14px 8px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #0b5fb8;
    border: 1px solid #c8dff7;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.hero-next-exam-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    text-align: right;
}

.hero-next-exam-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.45;
    text-align: right;
}

.hero-next-exam-date {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #7b8da6;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.hero-next-exam-card:hover .hero-next-exam-date {
    color: #6d819b;
}

.hero-next-exam-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #c8dff7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0b5fb8;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    padding-bottom: 4px;
}

@media (max-width: 900px) {
    .hero-urgent-strip {
        width: calc(100% - 24px);
        margin-top: 16px;
    }

    .hero-urgent-card {
        grid-template-columns: auto 38px minmax(0, 1fr) 38px;
        min-height: 58px;
        padding: 8px 10px;
        border-radius: 18px;
        gap: 7px;
    }

    .hero-urgent-label {
        min-height: 38px;
        padding: 6px 10px 7px;
        font-size: 13px;
    }

    .hero-urgent-arrow {
        width: 36px;
        height: 36px;
    }

    .hero-urgent-arrow-svg {
        width: 20px;
        height: 20px;
    }

    .hero-urgent-link {
        max-width: 260px;
        min-height: 38px;
        padding: 7px 14px 9px;
        font-size: 14px;
    }

    .hero-next-exam-strip {
        width: calc(100% - 24px);
        margin-top: 10px;
    }

    .hero-next-exam-card {
        min-height: 62px;
        padding: 8px 10px;
        border-radius: 18px;
        gap: 8px;
    }

    .hero-next-exam-badge {
        min-height: 34px;
        padding: 5px 10px 7px;
        font-size: 13px;
    }

    .hero-next-exam-title {
        font-size: 14px;
    }

    .hero-next-exam-date {
        font-size: 12px;
    }

    .hero-next-exam-arrow {
        width: 30px;
        height: 30px;
        font-size: 26px;
    }

}

@media (max-width: 520px) {
    .hero-urgent-card {
        grid-template-columns: 38px 36px minmax(0, 1fr) 36px;
        gap: 6px;
    }

    .hero-urgent-label-text {
        display: none;
    }

    .hero-urgent-label {
        width: 38px;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-urgent-link {
        max-width: 220px;
    }

    .hero-next-exam-card {
        grid-template-columns: 38px minmax(0, 1fr) 30px;
        gap: 7px;
    }

    .hero-next-exam-badge {
        width: 38px;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-next-exam-badge-text {
        display: none;
    }

    .hero-next-exam-title {
        font-size: 13px;
    }

    .hero-next-exam-date {
        font-size: 11px;
    }

}

.ar-auth-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(219, 228, 240, .92);
    background: rgba(255, 255, 255, .94);
    color: #1744b6;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.ar-auth-avatar,
.ar-google-mark {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #1744b6;
    font-weight: 900;
}
.ar-auth-name,
.ar-auth-logout {
    color: #1744b6;
    text-decoration: none;
    font-weight: 900;
}
.ar-auth-logout {
    border-right: 1px solid #dbe4f0;
    padding-right: 8px;
}
.ar-auth-icon-link {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(219, 228, 240, .92);
    background: rgba(255, 255, 255, .96);
    color: #1744b6;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ar-auth-icon-link:hover {
    transform: translateY(-1px);
    background: #eff6ff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
}
.ar-auth-icon-link svg {
    width: 22px;
    height: 22px;
}
@media (max-width: 760px) {
    .hero-logo-actions {
        top: 14px;
        right: 14px;
        gap: 8px;
    }
    .hero-auth-actions {
        top: 14px;
        left: 76px;
    }
    .ar-auth-icon-link {
        width: 46px;
        height: 46px;
    }
    .ar-auth-icon-link svg {
        width: 21px;
        height: 21px;
    }
    .hero-auth-actions .ar-auth-pill {
        min-height: 44px;
        padding: 7px 10px;
    }
    .hero-auth-actions .ar-auth-signin span:last-child {
        display: none;
    }
}
