:root {
    /* Colors */
    --color-white: #fff;
    --color-black: #000;
    --color-gold: #B8860B;
    --color-blue-hover: #4a90e2;
    --color-gray-light: #dbdbdbc7;
    --color-gray-border: #d9d9d9;
    --color-dot-bg: #ede4ba;
    --color-dot-border: #F2D454;

    /* Overlays */
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-dark-strong: linear-gradient(180deg, rgb(0 0 0 / 17%) 0%, #000000 100%);

    /* Sizes */
    --size-nav-btn: 40px;
    --size-nav-btn-sm: 30px;
    --size-nav-btn-xs: 24px;
    --size-dot: 12px;
    --fs-nav-icon: 20px;

    /* Radius */
    --radius-sm: 10px;
    --radius-full: 50%;
}
.cryptonewslider { visibility: hidden; }
.cryptonewslider.owl-loaded { visibility: visible; }
.nav .nav-item button.active {
    background-color: var(--color-gold);
    color: var(--color-white) !important;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-nav button {
    background: var(--overlay-dark);
    color: var(--color-white) !important;
    border-radius: var(--radius-full);
    width: var(--size-nav-btn);
    height: var(--size-nav-btn);
    font-size: var(--fs-nav-icon) !important;
    border: none;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-nav button:hover {
    background: var(--color-blue-hover);
}

.maintopslider .owl-theme .owl-nav [class*=owl-] {
    background: var(--color-gray-light) !important;
    color: var(--color-black) !important;
    height: var(--size-nav-btn-sm);
    width: var(--size-nav-btn-sm);
    display: flex;
    margin: 0;
}

.maintopslider .main-newsslider::before {
    content: "";
    background: var(--overlay-dark-strong);
    inset: 0;
    position: absolute;
    z-index: 0;
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
}

.news-scroll li:before {
    position: absolute;
    content: '';
    width: var(--size-dot);
    height: var(--size-dot);
    background-color: var(--color-dot-bg);
    border-radius: var(--radius-full);
    left: -10px;
    top: 0px;
    border: 3px solid var(--color-dot-border);
    z-index: 9;
}

.news-scroll ul {
    position: relative;
    padding-left: 20px;
}

.scroll-list {
    display: flex;
    flex-direction: column;
    animation: scrollUp linear 15s infinite;
}

.scroll-list:hover {
    animation-play-state: paused;
}

/* duplicate list for seamless looping */
.scroll-list::after {
    content: attr(data-duplicate);
}

.news-scroll ul:before {
    content: "";
    position: absolute;
    top: 0;
    left: 3px;
    width: 1px;
    height: 100%;
    background: var(--color-gray-border);
}

.news-scroll {
    max-height: 548px;
    overflow: hidden;
}


@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-40%);
    }
}

.customposition {
    bottom: -80px;
}

.image-hover-card:hover .hover-content {
    opacity: 1;
    transform: translateY(0);
}

.image-hover-card .hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark-strong);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}


.maintopslider .owl-carousel .owl-item img {
    display: block;
    width: auto !important;
}


/*skeltoon*/
.skeleton {
    border-radius: 5px;
    display: inline-block;
    width: 100%;
    height: 16px;
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #e2e2e2 8%, #f0f0f0 18%, #e2e2e2 33%);
    background-size: 1000px 100%;
}

.skeleton-img {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #e2e2e2 8%, #f0f0f0 18%, #e2e2e2 33%);
    background-size: 1000px 100%;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton-text {
    height: 14px;
    margin: 5px 0;
}

.newscard .card-header img {
    max-height: 170px;
}

/*image size*/
.home-middlesection .card-header img {
    max-height: 114px;
}

@media (min-width: 992px){
    .prheight img{
    max-height: 68px;
}
}
@media (min-width: 576px){
.featurelimit img{
    max-height: 170px;
}
}
@media (max-width:1350px){
    .home-middlesection .card-header img {
    max-height: 97px;
}
}
@media (max-width:1120px){
        .home-middlesection .card-header img {
        max-height: 100px;
    }
}
/*end*/

@media (max-width: 1400px) {
    .h5-M {
        font-size: 1rem !important;
    }

    .newscard .card-header img {
        max-height: 143px;
    }

    .news-scroll {
        max-height: 482px;

    }
}
@media (max-width: 1200px) and (min-width: 992px) {
    .presscardlimit .col-xl-6:nth-child(5),.presscardlimit .col-xl-6:nth-child(6),.presscardlimit .col-xl-6:nth-child(7),.presscardlimit .col-xl-6:nth-child(8){
        display: none;
    }
.home-middlesection .two-lines-text {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-middlesection .col-xl-4.p-1.col-lg-6:nth-child(5), .home-middlesection .col-xl-4.p-1.col-lg-6:nth-child(6) {
    display: none;
}
    .news-scroll {
        max-height: 420px;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .news-scroll {
        max-height: 144px;
    }
}
@media (max-width:1200px){
        .newscard .card-header img {
        max-height: 120px;
    }
}
@media (max-width: 480px) {
    .card-item {
        display: none;
    }

    .customposition {
        bottom: -54px;
    }

    .news-scroll {
        max-height: 240px;
    }

    .maintopslider .owl-theme .owl-nav [class*=owl-] {
        height: var(--size-nav-btn-xs);
        width: var(--size-nav-btn-xs);
    }
}