/* ====== Colors ====== */
:root {
    --main-color: #f2af2f;
    --dark-color: #444444;
    --light-bg: #fafafa;
}

.foundation-page {
    margin-top: 2.5rem;
}
.dropdown-item.active, .dropdown-item:active {background-color: #444444;}
/* العنوان */
.foundation-header {
    text-align: right;
    margin-bottom: 2.5rem;
}

.foundation-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.foundation-header p {
    color: #666;
    font-size: 16px;
}

/* شبكة الجامعات */
.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

/* كرت الجامعة */
.university-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    text-decoration: none;
    color: #222;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.university-card::after {
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, #F2AF2F, rgba(0, 0, 0, 0.5)); */
    opacity: 0;
    transition: 0.35s;
    z-index: 0;
}

.university-card:hover::after {
    opacity: 0.08;
}

.university-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

/* اللوجو */
.logo-box {
    width: 100px;
    height: 100px;
    margin: 0 auto 14px;
    background: #f7f8fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

/* اسم الجامعة */
.uni-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    z-index: 1;
    position: relative;
}

/* حالة عدم وجود بيانات */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 18px;
    color: #888;
    margin-top: 3rem;
}

/* موبايل */
@media (max-width: 576px) {
    .foundation-header h1 {
        font-size: 24px;
    }

    .logo-box {
        width: 85px;
        height: 85px;
    }
}

/* ##### End Foundation #### */

/* ##### Start Queries #### */

.head3 {
    color: #f2af2f;
    font-weight: 700;
}

/* القائمة */
.questions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* الكرت */
.question-card {
    display: flex;
    gap: 18px;
    padding: 18px;
    margin-bottom: 18px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    border-right: 4px solid transparent;
}

.question-card:hover {
    /* transform: translateY(-6px); */
    border-right-color: #f2af2f;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

/* الجهة اليسرى */
.question-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

.university-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: contain;
    background: #f7f7f7;
    padding: 6px;
}

/* عدد المشاهدات */
.views {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

/* المحتوى */
.question-content h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 6px;
    color: #222;
    transition: color 0.3s;
}

.question-content a {
    text-decoration: none;
}

.question-card:hover h5 {
    color: #272727;
}

/* رابط الجامعة */
.qu_anch {
    font-size: 14px;
    font-weight: 500;
    color: #f2af2f;
}

.qu_anch:hover {
    color: #d8941e;
}

/* صورة الجانب */
.image-section img {
    width: 100%;
    max-width: 420px;
    margin: auto;
    display: block;
}

/* pagination */
.pagination {
    margin-top: 25px;
}

/* موبايل */
@media (max-width: 768px) {
    .question-card {
        flex-direction: row;
        text-align: center;
    }

    .question-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .question-content {
        text-align: right;
    }

    .views {
        margin-right: 1rem;
    }
}

/* ##### End Queries #### */

/* ##### Get All University Page #### */
.section-slide {
    /* background-color: var(--light-bg); */
    padding: 40px 0;
}

/* ====== Titles ====== */
.textt h2 {
    font-size: 26px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.textt h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 4px;
    background-color: var(--main-color);
    border-radius: 4px;
}

.textt i {
    color: var(--main-color);
    margin-left: 8px;
}

/* ====== Description ====== */
.info-content {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

/* ====== Grid ====== */
.box-main {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

/* ====== University Card ====== */
.box-5 {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Top line accent */
.box-5::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background-color: var(--main-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.box-5:hover::before {
    transform: scaleX(1);
}

/* Hover */
.box-5:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* ====== Image ====== */
.box-5 .img {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-5 .img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* ====== University Name ====== */
.box-5 .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 10px;
    line-height: 1.4;
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .box-main {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .textt h2 {
        font-size: 22px;
    }

    .box-5 {
        padding: 18px 12px;
    }
}

@media (max-width: 576px) {
    .box-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .box-5 {
        padding: 14px 10px;
    }

    .box-5 .img {
        width: 70px;
        height: 70px;
    }

    .box-5 .title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .info-content {
        font-size: 15px;
    }
}

/* ##### End Get All University Page #### */

/* #########  Page Branch With Uni */

.titleHead h1 {
    font-size: 28;
}

/* ================= Main Page */

.d-search {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
}

.search-main {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    width: 80%;
}

.btn-search,
.btn-advace {
    color: #fff;
    background-color: #444;
    border: none;
    outline: none;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 0;
}

.btn-search {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

.services .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s;
}

.services .icon img {
    max-width: 50px;
    height: auto;
}

.services .card-body .numericPage {
    font-size: 88px;
    color: #17161c14;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
}

.services .card-title {
    font-weight: bold;
    color: #333;
}

.services .card-text {
    color: #777;
}

.services .card:hover {
    transform: translateY(-10px);
}

.features .card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 20px;
}

.features .card-title {
    margin: 15px 0;
    color: #1d1d1b;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 2.6rem;
    position: relative;
    padding-right: 10px;
    border: 1px solid #f2af2f;
    border-radius: 5px;
    border-right: 3px solid #f2af2f;
    margin-right: -5px;
    background: #f3f4f6;
}

.features .card-text {
    color: #555;
    margin-bottom: 20px;
}

.features .feature {
    margin-bottom: 20px;
}

.features .feature h5 {
    font-weight: bold;
    color: #f2af2f;
    margin-bottom: 10px;
    padding-right: 10px;
    border-right: 4px solid #f2af2f;
}

.feature p {
    color: #777;
}

.branches_page .iconUni {
    display: inline-block;
    width: fit-content;
    padding: 8px;
    background: #f7f7f7;
    border-radius: 8px;
}

.branches_page .iconUni:hover {
    background-color: #f2af2f;
    color: #fff;
}

.div-profile {
    display: flex;
    align-items: center;
}

/* زر الصورة */
.profile-btn {
    border: none;
    background: transparent;
    padding: 0;
    display: block !important;
    width: 50px !important;
    height: 50px !important;
}

/* الصورة */
.profile-img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    transition: 0.3s;
    display: block;
}

/* Hover */
.profile-img:hover {
    border-color: #f2af2f;
}

/* Dropdown */
.profile-dropdown {
    min-width: 200px;
    border-radius: 10px;
    overflow: hidden;
    padding: 5px 0;
}

.dropdown-menu.show {
    height: auto !important;
}

/* عناصر القائمة */
.profile-dropdown .dropdown-item {
    padding: 10px 15px;
    font-size: 14px;
    transition: 0.2s;
}

.profile-dropdown .dropdown-header {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    padding: 6px 15px 4px;
}

.profile-dropdown .dropdown-item-text {
    padding: 8px 15px;
    white-space: normal;
}

.qu_anch:hover {
    color: #F2AF2F;
}

/* ======== page rankingWithUni ========= */
.ranking-uni-contains .ranking-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: 0.3s ease;
    border-top: 5px solid #F2AF2F;
}



.ranking-uni-contains .ranking-header {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.ranking-uni-contains .chart-wrapper {
    margin-bottom: 30px;
}

.ranking-uni-contains .chart-title {
    font-size: 14px;
    font-weight: bold;
    color: #F2AF2F;
    margin-bottom: 10px;
}

canvas {
    width: 100% !important;
    height: 300px !important;
}

@media (max-width: 768px) {
    canvas {
        height: 220px !important;
    }
}

.ranking-uni-contains .ranking-table thead {
    background: #f8f9fa;
}

.ranking-uni-contains .ranking-table th {
    font-weight: 600;
    font-size: 14px;
    padding: 12px;
}

.ranking-uni-contains .ranking-table {
    table-layout: fixed;
    width: 100%;
}

.ranking-uni-contains .ranking-table th,
.ranking-uni-contains .ranking-table td {
    width: 25%;
    /* white-space: nowrap; */
    overflow: hidden;
}

.ranking-uni-contains .ranking-table td {
    padding: 12px;
    vertical-align: middle;
    font-size: 14px;
}

.ranking-uni-contains .ranking-table tbody tr:hover {
    background-color: rgba(242, 175, 47, 0.08);
    transition: 0.2s ease;
}

.ranking-uni-contains .badge-sy {
    background: #2c3e50;
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
}

.ranking-uni-contains .badge-world {
    background: #2c3e50;
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
}

.ranking-uni-contains .rank-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    justify-content: space-between;
}

.ranking-uni-contains .global-rank {
    background: #e7f1ff;
    border: 1px solid #b6d4fe;
}

.ranking-uni-contains .sy-rank {
    background: #fff3cd;
    border: 1px solid #ffeeba;
}

.ranking-uni-contains .news-text .div_certi h5 {
    color: #F2AF2F
}

.ranking-uni-contains .contain-row .news-image {
    height: 227px !important;
    object-fit: unset;
}

.ranking-uni-contains .cover-img {
    position: relative;
    width: 100%;
    margin-bottom: 70px
}

.ranking-uni-contains .cover-img .news-image {
    width: 100%;
    height: 300px;
    /* عدّلها حسب التصميم */
    object-fit: cover;
}

.ranking-uni-contains .logo-university {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    /* background: #fff; */
    border-radius: 50%;
    padding: 10px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
}

.ranking-uni-contains .logo-university img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
}

.ranking-uni-contains .mobile-date-views {
    display: none !important;
}

.ranking-uni-contains .sidebar-box .hoverTitle:hover {
    color: #F2AF2F !important;

}

@media (max-width: 992px) {
    .ranking-uni-contains .urlUni img {
        width: 70px !important;
        height: fit-content !important;
    }

    .ranking-uni-contains .mobile-date-views {
        display: flex !important;
        direction: ltr;
        flex-direction: column;
        gap: 11px;
        margin-bottom: 1rem;
    }

    .ranking-uni-contains .desktop-date-views {
        display: none !important;
    }

    .ranking-uni-contains .contain-row .news-image {
        height: 130px !important;
    }
}

.ranking-uni-contains .urlUni img {
    width: 95px;
    height: fit-content;
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
}

.ranking-uni-contains .table tbody td {
    width: 33.33%;
}

.ranking-uni-contains .contain-row .news-date .div-share-social ul li {
    height: 35px;
    display: flex;
    align-items: center;
}

.ranking-uni-contains .contain-row .news-date .div-share-social ul {
    flex-direction: row-reverse;
}

.ranking-uni-contains .address_details h5 {
    margin-bottom: 15px;
    color: #F2AF2F;
}

.ranking-uni-contains .rank-table {
    table-layout: fixed;
    width: 100%;
}

.ranking-uni-contains .rank-table td {
    width: 33.33%;
    vertical-align: middle;
    padding: 15px;
}

.ranking-uni-contains .rank-table img {
    object-fit: cover;
}

.ranking-uni-contains .qu_anch:hover {
    color: #F2AF2F;
}

.ranking-uni-contains .table>thead,
.ranking-uni-contains .table>tbody,
.ranking-uni-contains .table thead,
.ranking-uni-contains .table thead tr {
    vertical-align: middle !important;
}

.ranking-uni-contains .table-bordered>:not(caption)>* {
    border-width: var(--bs-border-width) 0;
    vertical-align: middle !important;
}

.adssScript {
    display: none;
}

.viewAdss p {
    text-align: center;
    width: 100%;
}

.viewAdss p a {
    display: block;
    width: 100%;
}

.number-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: #F2AF2F;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    margin-left: 12px;
    flex-shrink: 0;
    font-size: 1.1rem;
    user-select: none;
    transition: background-color 0.3s ease;
}

/* عند المرور بالماوس */
.result-card a:hover .number-circle {
    background-color: #d99819;
}

.result-card a:hover h5 {
    text-decoration: underline;
}

/* اجعل النص يلتف جيدًا */
.card-text {
    line-height: 1.4;
    font-size: 0.9rem;
    color: #555;
}

/* استجابة موبايل */
@media (max-width: 767.98px) {
    .number-circle {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
        margin-right: 8px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }
}

.hh {
    padding: 5px 15px !important;
    background-color: burlywood !important;
}

.list-years {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 20px 0;
}

.list-years li {
    list-style: none;
}

.year-link {
    display: inline-block;
    padding: 10px 18px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.year-link:hover {
    background-color: #f2af2f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .year-link {
        font-size: 14px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .year-link {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* ================ Search Page ============ */

.universities-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.university-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.university-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.university-item span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Hover */
.university-item:hover {
    background: #f8f9fa;
    transform: translateX(-5px);
}

/* موبايل */
@media (max-width: 576px) {
    .university-item {
        padding: 8px;
    }

    .university-item span {
        font-size: 13px;
    }
}

.sidebar-search-page {
    border: 1px solid #eee;
    padding: 14px;
    border-radius: 8px;
}

.sidebar-box-search-page h3 {
    font-size: 20px;
}

/* =============== Auth User Page ===========  */
.form-auth .card {
    border-radius: 12px;
}

.form-auth img.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.form-auth .form-control,
.form-auth .form-select {
    border-radius: 8px;
}

.form-auth.btn {
    border-radius: 8px;
}

.form-auth-profileShow .card {
    border-radius: 12px;
}

.form-auth-profileShow .profile-button {
    border-radius: 25px;
}

.form-auth-profileShow img.rounded-circle {
    object-fit: cover;
    height: 120px;
    width: 120px;
}

.form-auth-setting-acount .card {
    border-radius: 14px;
    border: none;
}

.form-auth-setting-acount img.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.form-auth-setting-acount .form-control {
    border-radius: 8px;
}

.form-auth-setting-acount .btn {
    border-radius: 8px;
}

.form-auth-setting-acount .btn-warning {
    background-color: #f2af2f;
    border: none;
}

.form-auth-setting-acount .btn-warning:hover {
    background-color: #e09c1c;
}

.show-auth-user img.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.show-auth-user .breadcrumb {
    font-size: 14px;
}

.show-auth-user .btn-warning {
    border-radius: 8px;
}

.show-auth-user .fa-brands {
    transition: 0.3s;
}

.show-auth-user .fa-brands:hover {
    transform: scale(1.2);
}

.contain_social .card {
    border-radius: 12px;
}

.contain_social img.rounded-circle {
    object-fit: cover;
    width: 120px;
    height: 120px;
}

.contain_social .btn {
    border-radius: 8px;
}

.card-title {
    color: #272727;
}

/* .card-title:hover {
    color: #F2AF2F;
} */

.urlUni {
    color: #272727;
}

.section_search {
    position: relative !important;
    top: 0 !important;
    right: 50%;
    transform: translateX(50%);
    margin: 0 !important;
}

.urlUni:hover {
    color: #F2AF2F;
}

/* ============= Ranking all page =========== */
.container-ranking {
    padding: 10px;
}


.ranking-card {
    display: block;
}

.card-box {
    background: #fff;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}


.card-box .icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
}


.card-box .title {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin: 0;
}


.card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #ffc107;
}

.card-box:hover .title {
    color: #ffc107;
}

@media (max-width: 576px) {
    .card-box {
        padding: 20px 10px;
    }

    .card-box .title {
        font-size: 14px;
    }

    .card-box .icon img {
        width: 55px;
        height: 55px;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #eee;
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-bottom-nav .nav-item {
    text-align: center;
    color: #555;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.mobile-bottom-nav .nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 3px;
}

.mobile-bottom-nav .nav-item:hover {
    color: #f2af2f;
}

.mobile-bottom-nav .nav-item.active {
    color: #f2af2f;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}

.intrested-uni .sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
}

.intrested-uni .sidebar-item img {
    width: 90px !important;
    object-fit: contain !important;
}

.intrested-uni .sidebar-item p {
    flex: 1;
    text-align: right;
    font-size: 14px;
    margin: 0;
}

.intrested-uni .sidebar-item:hover p {
    color: #F2AF2F !important;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    /* gap: 10px; */
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #444444;
    /* dark modern */
    padding: 12px 16px;
    border-radius: 12px;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:hover {
    background: #272727;
    transform: translateY(-2px);
}

.stat-label {
    color: #d1d5db;
    font-size: 14px;
    margin-left: 5px;
}

.stat-badge {
    background: #f2af2f;
    color: #fff;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    min-width: 35px;
    text-align: center;
}

@media (max-width: 576px) {
    .stats-list {
        flex-direction: column !important;
        gap: 8px;
    }

    .stat-item {
        padding: 10px 14px;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-badge {
        font-size: 12px;
        padding: 3px 8px;
        min-width: 30px;
    }
}

.tags-aside .title-interested,
.title-most-read {
    border-bottom: 1px solid #444444;
    padding-bottom: 8px !important;
}

.college-branch .college-card {
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.college-branch .college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* الهيدر */
.college-branch .college-card .card-header {
    background: #444444;
    color: #fff;
    font-weight: bold;
    border-radius: 12px 12px 0 0;
}

/* روابط الفروع */
.college-branch .branch-link {
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.college-branch .branch-link:hover {
    color: #f2af2f;
    padding-left: 5px;
}
