@charset "UTF-8";

:root {
    --bs-body-color: black;
}

body {
    background-color: #800000;
}

.bg-dark {
    background-color: black !important;
}

h1,
h2,
h3 {
    font-size: calc(1rem + 1.5vw);
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

@media (min-width: 1200px) {
    h1,
    h2,
    h3 {
        font-size: 1.5rem;
    }
}

.description {
    padding: 10px;
}

.description p {
    background: #ffcf50b8;
    padding: 10px;
    border: 4px solid #000;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info > span.video,
.info > span.hotlink {
    border: 3px solid #000;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 5px;
    display: inline-block;
    margin-top: 5px;
}

.info > span.hotlink {
    background: #ff6000;
    font-weight: 900;
}

.info > span > a {
    text-underline-offset: 5px;
    vertical-align: 3px;
    color: #000;
    font-size: 1rem;
}

.cl {
    color: #fff;
    font-weight: 700;
    text-underline-offset: 6px;
}

.card-custom {
    position: relative;
    overflow: hidden;
    border: 4px solid #000;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quality-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.duration-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.video-thumb {
    height: 180px;
    object-fit: fill;
}

.card-custom .card-body {
    background: #d78c04e0;
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
    font-size: 0.9em;
}

article .main-video {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 4px solid #ffcf50b8;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
}

article #main-video {
    max-width: 700px;
    max-height: 401px;
    display: block;
    height: 100% !important;
    width: 100% !important;
    min-width: 100%;
    background-color: #000;
    min-height: 300px;
}

.info > span.video,
.info > span.hotlink {
    border: 3px solid #000;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 5px;
    display: inline-block;
    margin-top: 5px;
}

.info > span.video {
    background: beige;
}

.btn-replay {
    color: rgb(0, 0, 0);
    background-color: rgba(255, 207, 80, 0.72);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    font-size: 1rem;
    box-shadow: rgb(207, 168, 67) 0px 4px 0px, rgba(0, 0, 0, 0.3) 0px 4px 6px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(207, 168, 67);
    border-image: initial;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s,
        transform 0.2s;
}

.btn-primary:hover {
    background-color: #ddaf36;
    border-color: #b98f2c;
    box-shadow: 0 6px 0 #b98f2c, 0 6px 8px rgba(0, 0, 0, 0.3);
}

footer {
    font-size: 13px;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    color: #630505;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.page-item:not(:first-child) .page-link {
    margin-left: -1px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #ffcf50b8;
    border-color: #ffcf50b8;
}

div.justify-content-sm-between:has(.pagination) > div:nth-child(1) {
    display: none;
}
div.justify-content-sm-between:has(.pagination) > div:nth-child(2) {
    display: block;
    margin: auto;
}
.pagination-div nav {
    display: block !important;
    margin: auto;
}
[dir="rtl"] .pagination-div nav div:nth-child(1) .pagination a[rel="prev"],
[dir="rtl"] .pagination-div nav div:nth-child(1) .pagination li.disabled {
    margin-left: 15px;
}
[dir="ltr"] .pagination-div nav div:nth-child(1) .pagination a[rel="prev"],
[dir="ltr"] .pagination-div nav div:nth-child(1) .pagination li.disabled {
    margin-right: 15px;
}
[dir="rtl"] .pagination a[rel="prev"],
[dir="rtl"] .pagination li.disabled:first-of-type span {
    font-size: 0;
    position: relative;
    width: 76px;
    height: 100%;
    min-height: 38px;
}
[dir="rtl"] .pagination a[rel="prev"]::before,
[dir="rtl"] .pagination li.disabled:first-of-type span::before {
    content: "« السابق";
    font-size: 14px;
    position: absolute;
}
[dir="rtl"] .pagination a[rel="next"],
[dir="rtl"] .pagination li.disabled:last-of-type span {
    font-size: 0;
    position: relative;
    width: 76px;
    height: 100%;
    min-height: 38px;
}
[dir="rtl"] .pagination a[rel="next"]::before,
[dir="rtl"] .pagination li.disabled:last-of-type span::before {
    content: "التالي »";
    font-size: 14px;
    position: absolute;
}
[dir="ltr"] .pagination a[rel="prev"],
[dir="ltr"] .pagination li.disabled:first-of-type span {
    font-size: 0;
    position: relative;
    width: 90px;
    height: 32px;
}
[dir="ltr"] .pagination a[rel="prev"]::before,
[dir="ltr"] .pagination li.disabled:first-of-type span::before {
    content: "« Previous";
    font-size: 14px;
    position: absolute;
}
[dir="ltr"] .pagination a[rel="next"],
[dir="ltr"] .pagination li.disabled:last-of-type span {
    font-size: 0;
    position: relative;
    width: 75px;
    height: 32px;
}
[dir="ltr"] .pagination a[rel="next"]::before,
[dir="ltr"] .pagination li.disabled:last-of-type span::before {
    content: "Next »";
    font-size: 14px;
    position: absolute;
}

.pagination-div nav div {
    justify-content: center !important;
}
