:root {
    --primary-color: #0d6efd;
    --secondary-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --green-color: #00ca76;
}

.blocettks {
    overflow: hidden;
    width: 100%;
    margin-bottom: 15px
}

#matchesTabContent {
    max-height: 242vh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    touch-action: auto;
    scrollbar-width: none;
}

a.ElGadwl {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px;
}

.blocettks #content,
.blocettks .content {
    margin: 0;
}

.single a.ElGadwl {
    border: none;
}

.m_block {
    margin-bottom: 3px;
}

.cat-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    margin: 10px 0 5px;
    padding: 0 10px;
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
    height: 36px;
}

.cat-name .img-name {
    align-items: center;
    max-width: 100%;
    flex-wrap: wrap;
}

.cat-name .img-name .btola-name {
    font-size: 15px;
    vertical-align: middle
}

.cat-name .newsLinks {
    font-size: 12px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.cat-name .newsLinks a {
    text-decoration: none;
    font-weight: bold;
}

.toggle-container {
    position: relative;
}

/* دائرة الوميض */
.live-indicator {
    width: 6px;
    height: 6px;
    background-color: red;
    border-radius: 50%;
    animation: pulse 1s infinite;
    box-shadow: 0 0 5px red;
}

/* تأثير الوميض */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

a:focus {
    outline: none;
}

.matches-container {
    width: 100%;
    display: flex;
    flex-direction: column
}

.toggle-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 5px;
}

.toggle-icon svg {
    width: 36px;
    height: 36px;
    transition: fill 0.3s ease;
}

span#toggleIcon {
    display: flex;
}

span#toggleIcon svg {
    width: 32px;
    height: 32px;
}

/* تغيير لون النص عند تفعيل مباشر */
.live-active #toggleText {
    color: #ff0000 !important;
    font-weight: bold;
}

.live-active .toggle-icon {
    fill: red !important;
}

.cat-name img {
    width: 22px;
    /* حجم الصورة */
    height: auto;
    margin-left: 5px;
    /* مسافة بين الصورة والاسم */
    border-radius: 5px;
    /* جعل الزوايا مستديرة قليلاً */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    /* إضافة ظل خفيف */
}

.cat-name span {
    white-space: nowrap;
    /* منع كسر النص */
}

p.btola {
    width: 100%;
    text-align: center;
    font-size: 12px;
    padding: 10px 0 0;
}

.Gadwl-Top {
    display: flex;
    overflow: hidden;
    clear: both;
    text-align: center;
    padding: 10px;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    position: relative;
    padding: 0.5rem;
}

.Fareeq-r {
    float: right;
    justify-content: flex-start
}

.Fareeq-l {
    float: left;
    justify-content: flex-end
}

.Fareeq-r img,
.Fareeq-l img {
    padding: 0;
    border: 0;
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.Fareeq-r span,
.Fareeq-l span {
    font-size: 14px;
}

.Fareeq-r,
.Fareeq-l {
    display: flex;
    align-items: center;
    text-align: center;
}

.Fareeq-l {
    float: left;
}

.Fareeq-c span {
    position: relative;
    font-size: 14px;
    display: block;
    background: none;
    border-radius: 10px
}

span.bouton {
    font-size: 11px;
    font-weight: normal;
    width: 51px;
    height: 22px;
    line-height: 22px;
}

a.ElGadwl.runing .Gadwl-Top span.bouton,
a.ElGadwl.endded .Gadwl-Top span.bouton, a.ElGadwl.endded .Gadwl-Top span.bouton2 {
    margin-bottom: 5px;
}

p#msmsma {
    text-align: center;
    margin: auto;
    overflow: hidden;
}

p#msmsma img {
    width: auto;
    height: 16px;
    display: block
}

.fc_time.fc_time_show {
    margin-top: 5px;
}

.Gadwl-Bot {
    text-align: center;
    height: 36px;
    line-height: 36px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    opacity: 0.6;
    justify-content: space-evenly;
}

.Gadwl-Bot .cols {
    padding: 0 3px;
    font-size: 12px;
    flex: 1;
}

.Gadwl-Bot .cols span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.Gadwl-Bot .cols:first-of-type {
    border-right: 0
}

.hoverG {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    border-radius: 5px;
    background: rgba(255, 255, 255, .6);
    opacity: 0
}

a.ElGadwl:hover .hoverG {
    opacity: 1
}

.hoverG div {
    padding: 10px 30px;
    border-radius: 3px
}

.Elgadwl-sc .widget {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    overflow: initial
}

.boxTitleG {
    overflow: hidden;
    align-items: center;
    margin-bottom: 10px
}

.bouttonsG {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bouttonsG a {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    transition: 0.2s;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    border-radius: 3px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 40px;
    font-weight: 700;
    width: 33%;
}

.bouttonsG a:first-of-type {
    margin-right: 0
}

.titleG {
    font-size: 18px;
    float: right;
    width: 300px;
}

.boxGadwlTare5 {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.current-date-display {
    display: flex;
    align-items: center;
    gap: 10px
}

.nav-arrow a {
    text-decoration: none;
    color: #ffffff;
    font-size: 24px;
    background: #00ca76;
    padding: 0 20px;
    display: flex;
    height: 56px;
    align-items: center;
}

.goToSelectedDate {
    margin-right: 5px;
    padding: 5px 10px;
    background: #00ca76;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.nav-arrow a svg {
    fill: #ffffff;
    width: 24px;
    height: 24px;
}

.nav-arrow a:hover {
    opacity: 0.8
}

.r,
.l {
    text-align: center;
    font-size: 17px;
    position: relative
}

.l,
.r {
    display: flex;
    align-items: center;
}

.r svg {
    margin-left: 5px
}

button#dark-mode-toggle {
    margin-right: 10px;
    cursor: pointer;
    background: none;
    border: none;
}

.Gadwl-Bot .cols svg {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 3px
}

.Gadwl-Bot .cols:last-of-type svg {
    width: 12px
}

.Elgadwl-sc * {
    font-weight: bold
}

.mainposts-popular {
    display: block;
    clear: both;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 0 21px
}

.mainposts div#Blog1 {
    display: block;
    background: transparent;
    clear: both;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
    margin: 0
}

.latwgdmobaryat div {
    font-size: 18px;
    padding: 15px;
    display: inline-block
}

.latwgdmobaryat {
    margin: 12px;
    border-radius: 5px;
    padding: 13px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.latwgdmobaryat span#rsrsr,
.latwgdmobaryat span#lslsl {
    width: 25px;
    height: 25px;
    display: inline-block;
    border-radius: 50%;
    background: #c50000;
}

.blocettks {
    overflow: hidden;
    width: 100%;
    margin-bottom: 15px;
}

.Elgadwl-sc {
    display: block;
    clear: both;
    overflow: hidden;
}

.date.stay {
    display: none
}

.Gadwl-Top span {
    position: relative;
    background: none;
    border-radius: 10px;
}

span.bouton2 {
    font-size: 11px;
    font-weight: normal;
    width: 51px;
    height: 22px;
    line-height: 22px;
}

.fc_time span#hdaf1,
.fc_time span#hdaf2 {
    display: inline-block;
    vertical-align: middle;
    background: transparent;
    font-size: 17px
}

.result_show,
.fc_time_show {
    display: block
}

.result_match.result_show {
    font-family: sans-serif
}

.penalties {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px
}

.penalties span.penalties-title {
    font-size: 10px;
}

.penalties span:not(.penalties-title) {
    color: #03c62a;
}

.result_match span#hdaf1,
.result_match span#hdaf2 {
    display: inline-block;
    vertical-align: middle;
    background: transparent;
    padding: 0 10px;
    font-size: 16px
}

a.ElGadwl:hover span.bouton {
    opacity: 0 !important
}

.Fareeq-c div {
    opacity: 0;
    font-size: 17px;
    margin-top: 0;
}

.Fareeq-c div * {
    font-weight: 700 !important
}

.endded .Fareeq-c span,
.endded .Fareeq-c div,
.notstarted .Fareeq-c span,
.notstarted .Fareeq-c div,
.runing .Fareeq-c span,
.runing .Fareeq-c div,
.started .Fareeq-c span,
.started .Fareeq-c div {
    opacity: 1
}

.Gadwl-Bot *,
.Fareeq-c span,
.hoverG div {
    font-weight: 400
}

a.ElGadwl.runing span.bouton:before,
a.ElGadwl.runing span.bouton:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 75%;
    height: 75%;
    display: block;
    border-radius: 5px
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0
    }
}

a.ElGadwl.runing span.bouton:after {
    z-index: 1;
    border-radius: 5px;
    transition: all .1s
}

a.ElGadwl.runing span.bouton:before {
    z-index: 0;
    background: #bd382cbd;
    animation: pulse-border 1s ease-out infinite;
    border-radius: 5px
}

div#yesterday,
div#Tomorrow {
    display: none
}

.acti {
    display: block !important
}

.titleG:before {
    content: "";
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='futbol' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='svg-inline--fa fa-futbol fa-w-16'%3e%3cpath fill='%23c0392b' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z' class=''%3e%3c/path%3e%3c/svg%3e") center no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-left: 10px;
    margin-left: 2px
}

.hoverG {
    display: none
}

a.ElGadwl:hover span.bouton {
    opacity: 1 !important
}

.post-body.match-entry-content p.msg-p {
    font-size: 21px;
    padding: 15px 0;
    line-height: 1.8;
    text-align: center;
    color: #f00;
    font-weight: 600;
}

.post-body.match-entry-content p {
    font-size: 21px;
    padding: 15px 0;
    line-height: 1.8;
}

.post-match .post-title {
    padding: 10px 0 15px;
    margin: 0 0 15px;
}

.post-match .Gadwl-Top * {
    color: #fff
}

ul.about-match li {
    padding: 15px 10px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    border-radius: 5px;
    line-height: 1.5;
}

ul.about-match li i {
    font-style: normal;
    margin-left: 10px;
    padding: 10px;
    border-radius: 50%;
}

.card-title-match {
    padding: 15px 0;
}

iframe#iframe {
    background: #000;
}

.tabcontent {
    flex-direction: column;
}

.egy_sports_events-event_item.live {
    order: 1
}

.egy_sports_events-event_item.finshed {
    order: 4
}

.egy_sports_events-event_item {
    order: 3
}

.m_block.egy_sports_events-event_item.soon {
    order: 2
}

.egy_sports_item.live {
    order: 1
}

.egy_sports_item.finshed {
    order: 4
}

.egy_sports_item {
    order: 3
}

.m_block.egy_sports_item.soon {
    order: 2
}

.progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    height: 6px;
    border-radius: 5px;
    margin-top: 0;
    position: relative;
    top: -10px;
    display: none;
}

.progress-bar-container.match-live {
    display: block;
}

.progress-bar {
    height: 100%;
    background-color: #76c7c0;
    border-radius: 5px;
    transition: width 0.5s;
}

.timer-status {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    position: relative;
    top: 0;
}

.match_card .timer-status {
    margin-top: 0px !important;
}

.timer-status .timer {
    color: #ff7200 !important;
    border-radius: 0 !important;
    margin-left: 1px;
    direction: ltr;
}

.match_card .timer-status .timer {
    font-size: 17px;
}

.match_card .timer-status span.status {
    font-size: 15px !important;
}

.timer-status span.status {
    font-size: 12px !important;
    border-radius: 0;
    margin-right: 3px;
}

.timer-status span.status .half1 {
    margin-right: 3px
}

.stoppage-time {
    color: greenyellow;
    /* لجعل العنصر أكثر وضوحًا */
    font-size: 8px !important;
}

.timer-status .status .full-time {
    font-size: 10px;
}

.waiting-kick-off {
    font-size: 10px !important;
    color: #ff7200 !important;
    background: none !important;
}

/* CSS Loader */
/* عنصر التحميل */
div#loader {
    text-align: center;
    height: 65px;
    align-items: center;
    justify-content: center;
}

.amp-tags {
    padding: 15px 0;
    overflow: hidden;
    width: 100%;
}

.amp-tags a {
    font-size: 13px;
    margin: 0 0 5px 5px;
    font-weight: normal;
    padding: 5px 15px;
    border-radius: 5px;
    transition: all 0s;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.amp-tags a:hover {
    background: #3560ab;
    color: #ffffff;
}

.amp-tags svg {
    width: 11px;
    height: 11px;
    margin-left: 4px;
    vertical-align: middle;
    transition: all 0s;
}

.disShow {
    display: none;
}

.activeShow {
    display: block
}

.Fareeq-r,
.Fareeq-l {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1.5;
}

.Fareeq-r {
    justify-content: flex-end;
    /* أو flex-start حسب الجهة */
}

.Fareeq-l {
    justify-content: flex-start;
    /* أو flex-start حسب الجهة */
}

.Fareeq-c {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.team-name {
    white-space: nowrap;
    /* يمنع نزول النص لسطر جديد */
    overflow: hidden;
    /* يخفي أي جزء خارج البلوك */
    text-overflow: ellipsis;
    /* يضيف النقاط (…) */
    max-width: 150px;
    /* لازم تحدد عرض ثابت */
    display: inline-block;
    /* أو block علشان يشتغل */
    vertical-align: middle;
    /* اختيارية لترتيب النص */
}


.fc_time {
    font-size: 16px;
    font-weight: bold;
}

p.msg-p {
    text-align: center;
    font-size: 19px;
}

.text-muted {
    opacity: 1;
    color: rgba(33, 37, 41, 0.75) !important;
}

.fs-6 {
    font-size: 1rem !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.gap-5 {
    gap: 3rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.mb-2 {
    margin-bottom: .5rem !important;
}

.egy-list-group .list-group-item {
    position: relative;
    display: block;
    padding: 0.5rem;
    color: #212529;
    text-decoration: none;
    border: 1px solid #dee2e6;
}

.align-items-center {
    align-items: center !important;
}

.d-flex {
    display: flex !important;
}

.h3,
h3 {
    font-size: 1.75rem;
}

.egy-list-group .list-group-item:first-child {
    border-top-right-radius: inherit;
    border-top-left-radius: inherit;
}

@media screen and (max-width:992px) {
    .mainposts {
        float: none;
        width: 100% !important;
        margin: 0
    }
}


@media screen and (max-width:765px) {

    .egy-list-group h3 {
        font-size: 1.3rem;
    }

    .egy-list-group .list-group-item {
        gap: 0 !important;
        font-size: 11px !important;
    }

    .nav-arrow a svg {
        width: 16px;
        height: 16px;
    }

    span#toggleIcon svg {
        width: 24px;
        height: 24px;
    }

    span.date-text {
        font-size: 11px;
    }

    .Elgadwl-sc {
        padding: 0;
    }

    .timer-status span.status {
        font-size: 10px !important;
    }

    .cat-name .img-name {
        max-width: 100%;
        flex-wrap: wrap;
        /* يسمح بنقل النص إلى سطر جديد عند الحاجة */
    }

    .cat-name .img-name .btola-name {
        white-space: normal;
        /* يسمح بالنزول لسطر جديد */
        word-break: break-word;
        /* يكسر الكلمات الطويلة */
        font-size: 12px;
    }

    .cat-name .newsLinks {
        font-size: 11px;
        gap: 5px;
    }

    .cat-name .newsLinks a {
        font-size: 11px;
    }

    .mainposts {
        float: none;
        width: 100% !important;
        margin: 0
    }

    p#msmsma {
        font-size: 12px !important
    }

    .Fareeq-r span,
    .Fareeq-l span {
        display: block
    }

    .Fareeq-l span,
    .Fareeq-r span {
        font-size: 12px;
    }

    .Fareeq-r,
    .Fareeq-l {
        width: calc((100% - 90px) / 2)
    }

    .titleG {
        display: none
    }

    .boxTitleG {
        margin-bottom: 0;
    }

    div.tab.bouttonsG {
        margin-bottom: 10px;
    }

    .boxGadwlTare5 {
        height: 40px;
    }

    .nav-arrow a {
        padding: 0 10px;
        height: 40px;
    }

    .bouttonsG a {
        font-size: 12px;
        padding: 10px 0;
    }

    .post-match .Gadwl-Top {
        padding: 50px 15px;
        padding-bottom: 35px
    }

    .l {
        padding-right: 0
    }

    .Gadwl-Bot .cols:last-of-type {
        display: none
    }

    .Fareeq-c {
        flex: 1;
    }

    .Fareeq-c div {
        font-size: 15px
    }

    .Gadwl-Bot {
        text-align: center;
        height: 32px;
        line-height: 32px
    }

    .Gadwl-Bot .cols {
        width: calc((100% - 4px) / 2);
        overflow: hidden
    }

    .Gadwl-Bot .cols {
        font-size: 10px
    }

    .r,
    .l {
        font-size: 14px;
    }

    .match_card .Fareeq-r span,
    .match_card .Fareeq-l span {
        font-size: 13px;
    }

    .timer-status {
        margin-top: 0px !important;
    }

    a.ElGadwl.runing .hoverG div,
    a.ElGadwl.runing .Fareeq-c span.bouton,
    a.ElGadwl.endded .hoverG div,
    a.ElGadwl.endded .Fareeq-c span.bouton,
    a.ElGadwl.started .hoverG div,
    a.ElGadwl.started .Fareeq-c span.bouton,
    a.ElGadwl.notstarted .hoverG div,
    a.ElGadwl.notstarted .Fareeq-c span.bouton,
    a.ElGadwl.Uncertain .Fareeq-c span.bouton {
        font-size: 10px !important;
        width: 60px;
        margin: 0 auto 6px;
        height: 24px;
        line-height: 24px;
    }

    span.bouton,
    span.bouton2 {
        display: none;
    }

    .Fareeq-r img,
    .Fareeq-l img {
        width: 1.9rem;
        height: 1.9rem;
    }

    .single-match #content_site {
        padding: 0;
    }

}