.site-header {
    margin-bottom: 102px;
}

.tops-banner-container {
    /* background: #004185; */
    min-height: 633px;
    position: relative;
}

.tops-banner-container > span.bg-layer {
    position: absolute;
    background: linear-gradient(180deg, #002051 0%, #28548E 70%, #548CD1 100%);
    height: 96%;
    width: 100%;
    z-index: 0;
}

.tops-banner-container.with-page-hero > span.bg-layer {
    height: calc(100% - 136px);
}

.tops-banner-container .tops-banner-content {
    min-height: 300px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.tops-banner-container .tops-bn-left-content {
    width: 32%;
    color: #fff;
}

.tops-bn-left-content > h1 {
    font-size: 31px;
    line-height: 41px;
    max-width: 89%;
    color: #fff;
    margin-bottom: 20px;
    word-break: break-word;
}

.tops-bn-left-content .tops-bn-author-info {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 20px;
    font-weight: normal;
}

.tops-bn-author-info .author-image-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    margin-top: -7px;
}

.tops-bn-author-info .author-image-wrapper > img {
    border: 1px solid #fff;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    margin-right: 10px;
}

.tops-bn-author-info .author-image-wrapper .author-badge {
    position: absolute;
    left: -4px;
    bottom: -6px;
}

.tops-bn-author-info .author-image-wrapper .author-badge > img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.tops-bn-author-info .author-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tops-bn-author-info .author-details > p {
    margin-top: 0;
    margin-bottom: 5px !important;
    font-size: 16px;
}

.tops-bn-author-info .author-details > p > u {
    font-weight: lighter;
}

.tops-bn-author-info .author-details > p > span {
    font-weight: 600;
    margin-right: 5px;
}

.tops-bn-author-info .author-details a {
    color: #fff;
}

.tops-bn-left-content > p.tops-bn-author-text {
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    max-width: 89%;
}

.tops-bn-left-content > p.tops-bn-author-text a {
    color: #fff;
    text-decoration: underline;
}

.tops-bn-left-content > p.tops-bn-author-text + p.toggleBtn {
    font-weight: 700;
    margin-bottom: 35px;
    text-align: center;
    cursor: pointer;
    display: none;
}

.tops-banner-container .tops-bn-right-content {
    width: 67%;
}

.tops-bn-right-content .home-top-new {
    position: relative;
    display: flex;
    grid-gap: 28px;
    flex-direction: column;
}

.tops-bn-right-content .home-top-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 3px;
    position: relative;
    border: solid 1px rgba(0, 0, 0, 0.075);
    box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.075);
    padding: 20px 0;
}

.tops-bn-right-content .home-top-item .number-top {
    background: rgba(240, 241, 245, 1);
    width: 31px;
    height: 60px;
    gap: 0px;
    border-radius: 0px 4px 4px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tops-bn-right-content .home-top-item > div {
    box-sizing: border-box;
    flex-grow: 1;
}

.tops-bn-right-content .home-top-item > .number-top {
    flex-grow: 0;
}

.tops-bn-right-content .number-top > span.number-top-span {
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}

.tops-bn-right-content .home-top-item .thumb-box {
    width: 20%;
    position: relative;
    text-align: center;
    min-width: 140px;
    max-width: 200px;
}

.tops-bn-right-content .thumb-box > a > img {
    width: 100%;
    max-width: 150px;
    height: 60px;
    display: inline-block;
}

.tops-bn-right-content .home-top-item .casino-name {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tops-bn-right-content .home-top-item .casino-name-rating {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

.tops-bn-right-content .casino-name .stars,
.tops-bn-right-content .casino-name .starsbg {
    margin-block: 6px 10px;
}

.tops-bn-right-content .casino-name > a,
.tops-bn-right-content .casino-name > span {
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    color: #343A40;
}

.tops-bn-right-content .home-top-item .bons-box {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    line-height: 32px;
    display: grid;
    justify-items: center;
    min-height: 80px;
    align-items: center;
    gap: 10px;
    width: 20%;
}

.tops-bn-right-content .home-top-item .bons-box-top > span {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    display: block;
}

.tops-bn-right-content .home-top-item .top-item-btn {
    padding: 0 1%;
    min-width: 200px;
}

.tops-bn-right-content .home-top-item .top-item-btn > a {
    max-width: 160px;
    display: block;
    line-height: 30px;
    font-family: 'noto-sans', noto-sans-fallback, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
}

.tops-banner-container .page-hero {
    max-width: 1200px;
    margin: 0 auto;
    position: relative
}

.tops-bn-right-content .home-top-item > span.brand-ribbon:before,
.tops-bn-right-content .home-top-item.add-ribbon:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: -11px;
    top: 15px;
    background: transparent;
    border-top: 5px solid #000;
    border-right: 5px solid #000;
    border-left: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.tops-bn-right-content .home-top-item > span.brand-ribbon,
.tops-bn-right-content .home-top-item.add-ribbon:after {
    content: attr(data-rib-text);
    width: fit-content;
    position: absolute;
    left: -11px;
    top: -5px;
    border-radius: 3px 3px 3px 0;
    color: #fff;
    line-height: 20px;
    font-size: 12px;
    font-weight: 700;
    padding-inline: 10px;
}

.tops-banner-container .home-top-item.add-ribbon:nth-child(1):after {
    background: var(--ribbonbg-0);
}

.tops-banner-container .home-top-item.add-ribbon:nth-child(2):after {
    background: var(--ribbonbg-1);
}

.tops-banner-container .home-top-item.add-ribbon:nth-child(3):after {
    background: var(--ribbonbg-2);
}

.tops-banner-container .home-top-item.add-ribbon:nth-child(4):after {
    background: var(--ribbonbg-3);
}

@media only screen and (max-width: 1230px) {
    .tops-banner-container .page-hero,
    .tops-banner-container .tops-banner-content {
        max-width: 90%;
    }
}

@media only screen and (min-width: 630px) and (max-width: 1024px) {
    .tops-bn-left-content .tops-bn-author-info {
        justify-content: center;
    }
    .tops-bn-author-info .author-details {
        flex-direction: row;
        gap: 24px;
    }
    .tops-bn-author-info .author-image-wrapper {
        height: 37px;
        width: 37px;
    }
    .tops-bn-author-info .author-image-wrapper .author-badge > img {
        height: 20px;
        width: 20px;
    }
}

@media only screen and (max-width: 1024px) {
    .site-header {
        margin-bottom: 2px !important;
    }
    .tops-banner-container .tops-banner-content {
        flex-direction: column;
        padding: 35px 0 90px;
    }
    .tops-banner-container.with-page-hero .tops-banner-content {
        margin: 0 auto;
    }
    .tops-banner-container.with-page-hero .tops-banner-content {
        padding-bottom: 35px;
    }
    .tops-banner-container .tops-bn-left-content,
    .tops-banner-container .tops-bn-right-content {
        width: 100%;
    }
    .tops-bn-left-content > h1,
    .tops-bn-left-content > p.tops-bn-author-text {
        max-width: 100%;
        text-align: center;
    }
    .tops-bn-left-content > p.tops-bn-author-text + p.toggleBtn {
        display: block;
    }
    .tops-bn-left-content p.expandable-text.add-ellipsis {
        overflow: hidden;
        position: relative;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        max-height: 3em;
    }
}

@media only screen and (max-width: 999px) {
    .tops-banner-container.with-page-hero > span.bg-layer {
        height: calc(100% - 129px);
    }
}

@media only screen and (max-width: 799px) {
    .tops-banner-container.with-page-hero > span.bg-layer {
        height: calc(100% - 146px);
    }
}

@media only screen and (max-width: 768px) {
    .tops-banner-container .home-top-item {
        padding: 16px 0 18px;
        height: 185px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas:
        "thumb-box bons-box"
        "casino-name top-item-btn";
        grid-gap: 0;
    }
    .tops-banner-container .number-top {
        display: none !important;
    }
    .tops-banner-container .home-top-item .thumb-box {
        max-width: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        border-right: #F0F1F5 solid 2px;
        height: 100%;
        grid-area: thumb-box;
    }
    .tops-banner-container .home-top-item .thumb-box > a {
        margin-left: auto;
        margin-right: auto;
    }
    .tops-banner-container .home-top-item .casino-name {
        width: 100%;
        border-right: #F0F1F5 solid 2px;
        grid-area: casino-name;
        height: 100%;
    }
    .tops-banner-container .casino-name .casino-name-rating {
        font-size: 30px;
    }
    .tops-banner-container .casino-name div.stars {
        transform-origin: 0 0;
    }
    .tops-banner-container .home-top-item .bons-box {
        grid-area: bons-box;
        margin-top: 15px;
        width: 100%;
        min-height: fit-content;
    }
    .tops-banner-container .home-top-item .top-item-btn {
        padding: 0 10px;
        margin-top: 30px;
        min-width: 100%;
        width: 100%;
        grid-area: top-item-btn;
    }
    .tops-banner-container .home-top-item > .top-item-btn > a {
        margin: 0 auto;
        max-width: 95%;
    }
}

@media only screen and (max-width: 630px) {
    .tops-bn-left-content .tops-bn-author-info {
        justify-content: center;
    }
    .tops-bn-left-content > h1 {
        font-size: 24px;
        line-height: 32px;
    }
    .tops-bn-left-content p.expandable-text.add-ellipsis {
        -webkit-line-clamp: 3;
        max-height: 5em;
    }
}

@media only screen and (max-width: 390px) {
    .tops-banner-container.with-page-hero > span.bg-layer {
        height: calc(100% - 163px);
    }
}

@media only screen and (min-width: 374px) and (max-width: 391px) {
    .tops-banner-container.with-page-hero > span.bg-layer {
        height: calc(100% - 146px);
    }
}

@media only screen and (max-width: 332px) {
    .tops-banner-container .home-top-item {
        height: 240px;
    }
}

@media only screen and (max-width: 330px) {
    .tops-bn-right-content .home-top-item .top-item-btn > a {
        line-height: 55px;
    }
}

/*
* * OCRB Template
*/
body.bjf-site .tops-bn-author-info .author-image-wrapper .author-badge {
    bottom: -12px;
}
body.bjf-site .tops-bn-right-content .home-top-item .top-item-btn > a {
    line-height: 47px;
}
body.bjf-site .tops-bn-right-content .home-top-item {
    padding: 15px 0;
}
body.bjf-site .tops-bn-right-content .home-top-new {
    gap: 30px;
}
body.bjf-site .tops-bn-left-content > p.tops-bn-author-text {
    margin-bottom: 0;
}
body.bjf-site .tops-bn-left-content > p.tops-bn-author-text + p.toggleBtn {
    margin-top: 3px;
    font-size: 17px;
}
body.bjf-site .tops-banner-container > span.bg-layer {
    height: 100% !important;
}
body.bjf-site .tops-banner-container {
    margin-bottom: 50px;
    min-height: auto;
}
body.bjf-site .tops-banner-container.with-breadcrumbs {
    margin-bottom: 20px;
}
body.bjf-site .tops-banner-container .tops-banner-content {
    max-width: 1300px;
    padding-inline: 15px;
}
body.bjf-site div#breadcrumb {
    margin-bottom: 15px;
}
body.bjf-site div.newheader {
    margin-bottom: 0;
}
@media only screen and (max-width: 1024px) {
    body.bjf-site .tops-banner-container .tops-banner-content {
        padding-block: 30px 50px;
    }
}