.logo-text-wrap {
    min-width: 220px;
    max-width: 220px;
    text-align: center;
    margin-right: 15px;
    background-color: var(--primary-color);
}

.language {
    margin-right: 30px;
}

.language select {
    position: relative;
    background-color: inherit !important;
    border: none;
}

select#languges-changer option {
    color: #484848;
    margin-right: 0 !important;
    display: block;
    width: 100%;
    font-size: 12px;
    padding: 2px 15px !important;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.embed-responsive {
    padding-bottom: 56.25%;
    position: relative;
    display: block;
    height: 0;
    overflow: hidden;
}

.sg-light .sg-topbar.topbar-style-2 a {
    color: #484848;
    background-color: #fff;
}

.sg-dark .entry-content a {
    color: #fff !important;
    background: #00000038;
}

.sg-light .sg-topbar.topbar-style-2 .entry-content.absolute a {
    color: white;
    background: #00000038;
}

.sg-light .sg-topbar.topbar-style-2 .entry-content.absolute .category a {
    background: black;
}

#my-video {
    width: 730px;
    height: auto;
}

.fluid_video_wrapper {
    width: auto !important;
    height: auto !important;
}

.scrollToTop {
    background-color: var(--primary-color);
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 100;
}

.scrollToTop a {
    top: 31px;
    padding-left: 9px;
    font-size: 25px;
    display: block;
    color: #fff;
    border-radius: 50%;
    height: 40px;
    width: 34px;
}

.footer-top, .footer-middle {
    color: #fff;
    position: relative;
    z-index: 1;
    background-color: #201E1D;
}

.video-icon a {
    color: #fff;
    display: block;
    background-color: #16293852;
}

.video-icon-medium {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    display: inline-block;
    margin-bottom: 24px;
    line-height: 50px;
    border-radius: 100%;
    overflow: hidden;
}

.btn-load-more {
    background: #fff;
    border: 1px solid #e5e5e5;
    display: block;
    font-size: 13px;
    line-height: 20px;
    margin: 0 auto;
    padding: 14px 10px;
    text-align: center;
    transition: all .25s ease 0s;
    color: #555;
    border-radius: .1875rem;
    width: 100%;
    max-width: 100%;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.btn-load-more:hover {
    color: var(--primary-color)
}

.latest-preloader {
}

.latest-preloader img {
    margin-left: 2px;
    height: 80%;
}

#latest-preloader-area {
    height: 80px;
}

.error {
    color: #5a5c69;
    font-size: 7rem;
    position: relative;
    line-height: 1;
    width: 12.5rem;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.mb-5, .my-5 {
    margin-bottom: 3rem !important;
}

.text-gray-500 {
    color: #b7b9cc !important;
}

.error:before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 1px 0 #8F94FB;
    top: 0;
    color: #5a5c69;
    background: #f8f9fc;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
}

.error:after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -1px 0 #e74a3b;
    top: 0;
    color: #5a5c69;
    background: #f8f9fc;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim 2s infinite linear alternate-reverse;
}

.site-setting-area a {
    color: #484848;
    display: block;
    text-transform: capitalize;
    margin-right: 0 !important;
    display: block;
    width: 100%;
    font-size: 12px;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.site-setting-area a:hover {
    color: var(--primary-color);
    background-color: #fff;
}

.site-setting-area {
    padding: 0 !important;
    border: 1px solid #ddd;
    border-radius: 0;
}

#back-to-top {
    right: 4%;
    top: auto;
    z-index: 9999999999;
    -webkit-backface-visibility: hidden;
}

#back-to-top.affix {
    bottom: 54px;
}

#back-to-top .btn.btn-primary {
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: rgba(0, 0, 0, .9);
    font-weight: 700;
    font-size: 16px;
    padding: 0;
}

.sg-language .select-options li:hover {
    color: var(--primary-color);
    background-color: #fff;
}

.dropdown-menu {
    transform: none !important;
    top: 22px !important;
    left: -67px !important;
}

html {
    scroll-behavior: smooth;
}

select#languges-changer {
    display: none !important;
}

/*video icon*/

.entry-header .video-icon {
    left: 52%;
}

.video-icon {
    width: 65px;
    height: 65px;
    text-align: center;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 10px;
    line-height: 65px;
    border-radius: 100%;
    overflow: hidden;
}


.sg-dark .form-control {
    background-color: #161a25 !important;
}

.sg-dark .tagcloud-style-1 a {
    background-color: #161a25 !important;
    color: white;
}

.sg-dark button.btn-load-more {
    background-color: #292e34 !important;
    border: 1px solid #484848 !important;
    color: #c5c5c5 !important;
}

.sg-dark .account-content {
    background: #292E34 !important;
}

.sg-dark .account-content h1 {
    background: #484848 !important;
}

.sg-dark .ragister-account h1, .sg-dark .ragister-account label, .sg-dark .ragister-account p {
    color: #fff !important;
}

.sg-light .ragister-account h1, .sg-light .ragister-account label, .sg-light .ragister-account p {
    color: #000 !important;
}

#display-nothing {
    display: none;
}

#languges-changer {
    display: none;
}

.sg-topbar.topbar-style-2 a {
    color: #484848;
}

.author-menu a.active {
    background-color: var(--primary-color) !important;
    color: white;
}

.author-menu a:hover {
    background-color: var(--primary-color) !important;
    color: white;
}

#profile-img {
    height: 200px !important;
    width: 260px !important;
}

.author-info .away {
    margin-bottom: 15px;
    font-size: 12px;
    color: #292E34;
    position: relative;
    padding-left: 20px;
}

.author-info .away:before {
    position: absolute;
    content: "";
    left: 0;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background-color: #e6af0a;
}

#latest-preloader-area-profile img {
    margin-left: 6% !important;
    height: 80% !important;
}

.widget-social ul li.login {
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    height: 45px;
    color: #fff;
    margin-bottom: 20px;
    border-radius: 4px;
    text-transform: uppercase;
    overflow: hidden;
    text-align: center;
}

.widget-social ul li.login:nth-child(even) {
    padding-left: 0;
}

.widget-social ul li.login:nth-child(odd) {
    padding-right: 0;
}

/*article details post author*/

.sg-post .post-author {
    padding: 30px 0;
    margin-top: 30px;
    border-top: 1px solid #D1D1D1;
}

.sg-post .post-author .thumb {
    width: 75px;
    height: 75px;
    border-radius: 100%;
    overflow: hidden;
    background-color: #ddd;
    margin-right: 15px;
}

.sg-post .thumb {
    position: relative;
}

.sg-post .post-author .text {
    align-self: center;
}

.sg-post .post-author h3 {
    font-size: 22px;
}

.global-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.global-list, .sg-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-post .post-author ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.sg-post .post-author ul li {
    margin-right: 15px;
    font-size: 20px;
}

.sg-dark .post-author a {
    background: #00000000 !important;
}

.header-style-5 .ad-content {
    padding-top: 20px;
}

.sg-ad {
    margin-bottom: 20px;
}

.sg-dark .input-group-text {
    background: #292e34;
    border: 1px solid #565656;
}

/*audio post*/

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap");

.add-bottom {
    margin-bottom: 2rem !important;
}

.no-support {
    margin: 2rem auto;
    text-align: center;
    width: 90%;
}


/* Audio Player Styles
================================================== */

audio {
    display: none;
}

#audiowrap,
#plwrap {
    margin: 0 auto;
}

#tracks {
    font-size: 0;
    position: relative;
    text-align: center;
}

#nowPlay {
    display: block;
    font-size: 0;
}

#nowPlay span {
    display: inline-block;
    font-size: 1.05rem;
    vertical-align: top;
}

#nowPlay span#npAction {
    padding: 21px;
    width: 30%;
}

#nowPlay span#npTitle {
    padding: 21px;
    text-align: right;
    width: 70%;
}

#plList li {
    cursor: pointer;
    display: block;
    margin: 0;
    padding: 21px 0;
}

ul#plList li {
    border-bottom: 1px solid #dad9d9;
    padding: 10px 0;
}

#plList li:hover {
    background-color: rgba(0, 0, 0, .1);
}

.plItem {
    position: relative;
}

.plTitle {
    left: 50px;
    overflow: hidden;
    position: absolute;
    right: 65px;
    text-overflow: ellipsis;
    top: 0;
    white-space: nowrap;
}

.plNum {
    padding-left: 21px;
    width: 25px;
}

.plLength {
    padding-left: 21px;
    position: absolute;
    right: 21px;
    top: 0;
}

.plSel,
.plSel:hover {
    background-color: rgba(0, 0, 0, .1);
    color: #fff;
    cursor: default !important;
}

#tracks a {
    border-radius: 3px;
    color: var(--primary-color);
    cursor: pointer;
    display: inline-block;
    /* font-size: 2.3rem; */
    /* height: 30px; */
    line-height: 0.1;
    margin: 0 5px 10px;
    padding: 9px;
    text-decoration: none;
    transition: background .3s ease;
}
#tracks a i{
    font-size: 18px;
}

#tracks a:hover,
#tracks a:active {
    background-color: rgba(0, 0, 0, .1);
    color: #fff;
}

#tracks a::-moz-focus-inner {
    border: 0;
    padding: 0;
}


/* Plyr Overrides
================================================== */

.plyr--audio .plyr__controls {
    background-color: transparent;
    border: none;
    color: #fff;
    font-family: "Source Sans Pro", arial, sans-serif;
    padding: 20px 20px 20px 13px;
    width: 100%;
}

a.plyr__controls__item.plyr__control:hover,
.plyr--audio .plyr__controls button:hover,
.plyr--audio .plyr__controls button.tab-focus:focus,
.plyr__play-large {
    background-color: rgba(0, 0, 0, .1);
}

.plyr__progress--played,
.plyr__volume--display {
    color: rgba(0, 0, 0, .1);
}

.plyr--audio .plyr__progress--buffer,
.plyr--audio .plyr__volume--display {
    background-color: rgba(0, 0, 0, .1);
}

.plyr--audio .plyr__progress--buffer {
    color: rgba(0, 0, 0, .1);
}

.plyr--full-ui input[type="range"] {
    width: calc(100% - 39px);
}

.plyr__controls .plyr__controls__item.plyr__time {
    font-size: 14px;
    margin-left: 7px;
}


/* Media Queries
================================================== */

@media only screen and (max-width: 600px) {
    #nowPlay span#npAction {
        display: none;
    }

    #nowPlay span#npTitle {
        display: block;
        text-align: center;
        width: 100%;
    }
}

/*video icon position*/
.video-icon.block {
    height: auto;
    width: 35px !important;
    line-height: 35px !important;
}

.entry-header .video-icon.block {
    left: 56%;
    top: 56%;
}

.video-icon.large-block {
    height: auto;
    width: 40px;
    line-height: 40px;
}

.entry-header .video-icon.large-block {
    top: 52%;
}

.video-icon.small-block {
    height: auto;
    width: 30px;
    line-height: 30px;
    top: 63%;
    left: 60%;
}

.video-icon.x-small-block {
    height: auto;
    width: 25px;
    line-height: 25px;
    top: 70%;
    left: 65%;
}

/*image gallery*/

* {
    box-sizing: border-box;
}

.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid-sizer,
.grid-item {
    width: 33.333%;
}

@media (max-width: 575px) {
    .grid-sizer,
    .grid-item {
        width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .grid-sizer,
    .grid-item {
        width: 50%;
    }
}

.grid {
    overflow: hidden;
}

.grid-item {
    float: left;
    overflow: hidden;
}
.grid .title {
    width: 100%;
    bottom: 0;
    left: 0;
    color: #fff;
    z-index: 10;
    font-size: 16px;
    text-align: center;
    position: absolute;
}
.grid .title .album{
    display: inline-block;
    width: auto;
    height: auto;
    padding: 10px;
    border-radius: 3px;
}
.grid-item img {
    display: block;
    max-width: 100%;
    padding: 5px;
    overflow: hidden !important;
    transition: all .2s ease-in-out 0s;
    -khtml-transform: all .2s ease-in-out 0s;
    -webkit-transition: all .2s ease-in-out 0s;
    -moz-transition: all .2s ease-in-out 0s;
    -webkit-transition: all .2s ease-in-out 0s;
}

.grid-item img:hover{
    -khtml-transform: all .2s ease-in-out 0s;
    -webkit-transition: all .2s ease-in-out 0s;
    -moz-transition: all .2s ease-in-out 0s;
    -webkit-transition: all .2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    -webkit-transform: scale(1.1);
    -khtml-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    overflow: hidden !important;
}

.container-fluid {
    overflow: hidden !important;
}

/*image masonry filter*/
.filters {
    width: auto;
    position: relative;
    display: block;
    margin-bottom: 30px;
    text-align: center;
}
filters .btn {
    border: 0;
    color: #555!important;
    box-shadow: none;
    font-size: 14px;
    line-height: 16px;
    margin: 5px 10px;
    padding: 6px 15px;
    -moz-transition: all .45s ease-in-out 0s;
    -webkit-transition: all .45s ease-in-out 0s;
    transition: all .45s ease-in-out 0s;
    background-color: #fff;
    box-shadow: none!important;
    position: relative;
    text-align: center;
    font-weight: 600;
    background-color: transparent!important;
}
.filters input {
    display: none;
}
input[type=radio] {
    margin: 4px 0 0;
    margin-top: 1px\9;
    line-height: normal;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}
label.btn.btn-primary {
    cursor: pointer;
}
.revGallery-anchor, .gal-overlay, .nak-gallery-poster{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}


.revGallery-anchor{
    overflow: hidden;
    position: relative;
    width: calc(100% / 5);
    display: block;
    float: left;
    border: 5px solid #e9e9e9;
}

.gal-overlay{
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(27,27,27, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    transition: background .4s ease;
    -webkit-transition: background .4s ease;
}

.revGallery-anchor:hover .gal-overlay{
    background: rgba(27,27,27, 0);
}

.nak-gallery {
    display: block;
    width: 100%;
    position: relative;
    margin-top: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.nak-gallery-poster{
    padding-bottom:100%;
    transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

.revGallery-anchor:hover .nak-gallery-poster{
    transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
}

.img-responsive{
    display:none;
}

.button{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    width: 200px;
    height: 48px;
    border: 1px solid rgba(0,169,157,1);
    background-color: rgba(0,169,157,1);
    border-radius: 2px;
    color: #fff;
    letter-spacing: 2px;
}

.button:hover {
    background-color: #363636;
    text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
    color: #fff;
}

.button:active,
.button.is-checked {
    background-color: #28F;
}

.button.is-checked {
    color: white;
    text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
    box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}


.revGallery-anchor-width1{
    width: 40%
}

.revGallery-anchor-width2{
    width: 30%
}

.revGallery-anchor-width3{
    width: 20%
}

.nak-gallery-height1{
    padding-bottom: 400px
}

.nak-gallery-height2{
    padding-bottom: 300px
}

.nak-gallery-height3{
    padding-bottom: 200px
}

.preloader{
    display: none;
}

.preloaderStyle{
    background: red;
    width: 100%;
    height: 100px;
}
.revGallery-anchor {
    overflow: hidden;
    display: block;
    position: absolute;
    top: 0px;
    width: calc(100% / 3);
    float: left;
    border: 5px solid #e9e9e9;
}
.inner-image{
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center center;
    display: block;
    width: 100%;
    height: 0;
}
.filters .btn.btn-primary {
    font-size: 10px;
    padding: 6px 10px;
    letter-spacing: 1px;
    background: #dddddd00 !important;
    color: black !important;
}
.filters .btn.btn-primary:hover {
    color: black !important;
}

.filters .btn-primary:not(:disabled):not(.disabled).active , .filters .btn-primary:not(:disabled):not(.disabled):active {
    background: var(--primary-color) !important;
    border: none;
    color: white !important;
}
.filters .btn-primary:not(:disabled):not(.disabled):hover {
    color: black !important;
}


@media (min-width: 1200px) {
    .twitter-tweet-rendered {
        margin-left: 57px;
    }
}

.rss-content-actual-link {
    display: block;
    float: left;
    width: 100%;
    margin-top: 30px;
    text-align: right;
}
.rss-content-actual-link a.btn.btn-primary{
    font-size: 10px;
    padding: 8px 16px;
    letter-spacing: 2px;
}

.profile{
    width: 23px !important;
    height: 23px;
    border-radius: 50%;
}

.answer-container{
    background-color: #f2f2f2;
    display: block;
    width: 100%;
    float: left;
    position: relative;
    cursor: pointer;
    -moz-transition: all .1s ease-in-out 0s;
    -webkit-transition: all .1s ease-in-out 0s;
    transition: all .1s ease-in-out 0s;
}

.sg-dark .answer-container{
    background-color: #161a25;
}

.sg-dark .answer-button .answer-icon {
    color: #ffffff;
}

.answer-type-image .image-bottom {
    display: flex;
    width: 100%;
    float: left;
    position: relative;
    padding: 4px;
    padding-left: 8px;
}

.answer-type-image .answer-button{
    display: flex;
    vertical-align: top;
    text-align: left;
}

.answer-button .answer-icon {
    color: #555;
    display: inline-block;
    font-size: 24px;
    margin-right: 4px;
}

.answer-button .answer-text {
    display: inline-block;
    font-size: 18px;
}

.answer-type-image .answer-button .answer-text {
    position: relative;
    top: 5px;
}

.answer-type-text .answer-button .answer-text {
    position: relative;
    bottom: 1px;
}

.question-container .quiz-answered .answer-container {
    pointer-events: none;
}

.answer-type-text .answer {
    position: relative;
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.1);
    cursor: pointer;
}

.sg-dark .answer-type-text .answer {
    border: 1px solid rgb(253 253 253 / 37%);
}

.btn-play-again{
    /*display: none;*/
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.quiz-answer-alert .alert{
    padding: 0.50rem 1.0rem;
}

.quiz-answered .correct-answer.answer{
    color: #ffffff;
    border-color: #65ca6a;
}

.quiz-answered .wrong-answer.answer{
    color: #ffffff;
    border-color: rgba(226,92,88,.6);
}

.quiz-answered .answer-type-image .correct-answer .image-bottom {
    background: #65ca6a;
}

.quiz-answered .answer-type-image .wrong-answer .image-bottom {
    background: #e25c58;
}

.quiz-answered .answer-type-text .wrong-answer .image-bottom .answer-icon {
    color: #e25c58;
}

.quiz-answered .answer-type-text .correct-answer .image-bottom .answer-icon {
    color: #65ca6a;
}

.quiz-answered .answer-type-text {
    pointer-events: none;
}

.quiz-answered .answer-type-image .correct-answer .answer-button .answer-icon {
    color: white;
}

.quiz-answered .answer-type-image .wrong-answer .answer-button .answer-icon {
    color: white;
}

.quiz-answered .answer-type-image .wrong-answer .image-bottom {
    border-color: rgba(226,92,88,.6);
}

.quiz-answered .answer-type-image .correct-answer .image-bottom {
    border-color: #65ca6a;
}
.answer-type-text .correct-answer .answer-button .answer-text {
    color: #6fca7d;
}
.answer-type-text .wrong-answer .answer-button .answer-text {
    color: #e25c58;
}
.question-container .trivia-quiz-question .alert {
    display: none;
}
.question-container .btn-play-again {
    display: none;
}

.result-count-container {
    display: flex;
    padding: 2rem;
    font-size: 22px;
}
.correct-answer-count {
    background: #65ca6ade;
    color: white;
    padding: .50rem 1rem;
}
.wrong-answer-count {
    background: #dc3545bf;
    color: white;
    padding: .50rem 1rem;
}


/* =====================================================
   MODERN LEFT SIDEBAR NAVIGATION — Brut Style
   ===================================================== */

/* ---- CSS Variables ---- */
:root {
    --sidebar-width: 220px;
    --sidebar-bg: #fff;
    --sidebar-border: #e8e8e8;
    --sidebar-text: #1a1a1a;
    --sidebar-text-muted: #888;
    --sidebar-hover-bg: #f5f5f5;
    --sidebar-active-color: var(--primary-color);
    --topbar-mobile-height: 56px;
    --global-toolbar-height: 52px;
    --sg-toolbar-chip-h: 28px;
    --sg-toolbar-chip-min-w: 28px;
    --sg-toolbar-chip-pad-x: 6px;
    --sg-toolbar-chip-fs: 12px;
    --sg-toolbar-chip-radius: 4px;
    --sg-toolbar-chip-gap: 2px;
    --categories-bar-height: 44px;
    --brut-header-offset: var(--global-toolbar-height);
    --transition: 0.25s ease;
    /* Typography scale (main.css base was 16px) */
    --site-font-size-base: 17px;
    --site-font-size-base-lg: 18px;
    --site-line-height: 1.55;
    /* Homepage ticker bars */
    --ticker-bar-height: 44px;
    --ticker-bar-radius: 10px;
    --ticker-bar-gap: 8px;
    --ticker-accent-cricket: #059669;
    --ticker-accent-market: #d97706;
    --ticker-accent-breaking: #cb3803;
    --ticker-bar-bg: #ffffff;
    --ticker-bar-border: #e8ecf0;
    --ticker-bar-text: #1e293b;
    --ticker-bar-muted: #64748b;
    /* Header language dropdown (red/black brand) */
    --gt-dd-bg: #000000;
    --gt-dd-text: #ffffff;
    --gt-dd-btn-icon: #ffffff;
    --gt-dd-accent: #cb3803;
    --gt-dd-border: #000000;
    --gt-dd-hover-bg: #fff5f5;
    --toolbar-meta-text: #000000;
    --toolbar-meta-icon: #000000;
    /* Page / content surfaces (light) */
    --page-bg: #f0f0f0;
    --page-bg-alt: #f2f2f2;
    --surface-bg: #ffffff;
    --surface-border: #ececec;
    --surface-border-soft: #e8e8e8;
    --surface-muted: #f5f5f5;
    --surface-media: #e8e8e8;
    --text-primary: #484848;
    --text-heading: #111111;
    --text-secondary: #555555;
    --text-muted: #666666;
    --text-section: #444444;
}

/* ---- Site typography (front) ---- */
/* Driven by header A− / A / A+ via --sg-site-font-size (see app.blade.php) */
html {
    font-size: var(--sg-site-font-size, var(--site-font-size-base)) !important;
}

@media (min-width: 992px) {
    html {
        font-size: var(--sg-site-font-size, var(--site-font-size-base-lg)) !important;
    }
}

body {
    font-size: 1rem !important;
}

/* Scale whole page content (px + rem) when A− / A+ is used */
.sg-site-main {
    zoom: var(--sg-font-scale, 1);
}

body,
html {
    font-family: var(--primary-font) !important;
    line-height: var(--site-line-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font) !important;
}

.sg-sidebar-nav .nav-link,
.sg-sidebar-link,
.sg-sidebar-post-nav a,
.sg-search-input {
    font-size: 14px !important;
}

.sg-sidebar-date,
.sg-lang-dd__label,
.sg-lang-dd__item-txt,
.sg-translate-dd__label,
.sg-translate-dd__item-txt,
.sg-toolbar-date {
    font-size: 13px !important;
}

.sg-global-toolbar .sg-toolbar-date,
.sg-global-toolbar .sg-toolbar-date span {
    font-size: 13px !important;
    font-weight: 700 !important;
}

.brut-mag-footer-col-title {
    font-size: 15px !important;
}

.brut-mag-footer-col a,
.brut-mag-footer-cat-grid a,
.brut-mag-footer-legal a {
    font-size: 14px !important;
    text-transform: capitalize;
}

.sg-widget .post-style-1 .entry-title,
.sg-widget .post-style-1 .entry-title a {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
}

.sg-post .entry-title,
.sg-post .entry-title a {
    font-size: 1.2rem !important;
}

.sg-dark,
body.sg-dark {
    --sidebar-bg: #14171e;
    --sidebar-border: #3a404c;
    --sidebar-text: #f0f2f5;
    --sidebar-text-muted: #b4bac4;
    --sidebar-hover-bg: #232830;
    --ticker-bar-bg: #1a1e26;
    --ticker-bar-border: #3f4654;
    --ticker-bar-text: #e8ecf1;
    --ticker-bar-muted: #9aa3b2;
    --gt-dd-bg: #cb3803;
    --gt-dd-text: #ffffff;
    --gt-dd-accent: #ffffff;
    --gt-dd-border: #cb3803;
    --gt-dd-hover-bg: rgba(255, 255, 255, 0.12);
    --toolbar-meta-text: #ffffff;
    --toolbar-meta-icon: #ffffff;
    /* Page / content surfaces (dark) */
    --page-bg: #0f1218;
    --page-bg-alt: #0f1218;
    --surface-bg: #1a1e26;
    --surface-border: #3a404c;
    --surface-border-soft: #3a404c;
    --surface-muted: #232830;
    --surface-media: #2a303a;
    --text-primary: #e8ecf1;
    --text-heading: #f5f7fa;
    --text-secondary: #b4bac4;
    --text-muted: #9aa3b2;
    --text-section: #d1d5db;
    color-scheme: dark;
}

/* ---- Reset old header ---- */
.sg-header { display: none !important; }

/* ---- Body offset for sidebar ---- */
html {
    overflow-x: hidden;
}

body {
    margin-left: var(--sidebar-width) !important;
    transition: margin-left var(--transition);
    overflow-x: hidden;
}

body.sidebar-open {
    overflow: hidden;
}

/* ---- Sidebar ---- */
.sg-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
    z-index: 1050;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform var(--transition);
    scrollbar-width: thin;
    scrollbar-color: var(--sidebar-border) transparent;
}

.sg-sidebar::-webkit-scrollbar { width: 4px; }
.sg-sidebar::-webkit-scrollbar-thumb { background: var(--sidebar-border); border-radius: 2px; }

/* ---- Sidebar Logo ---- */
.sg-sidebar-logo {
    padding: 0px 18px 0px;
    border-bottom: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 52px;
}

.sg-sidebar-logo img {
    max-height: 46px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.sg-sidebar-close {
    display: none;
    background: none;
    border: none;
    color: var(--sidebar-text);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
}

/* ---- Sidebar Nav ---- */
.sg-sidebar-nav {
    flex: 1;
    padding: 10px 0;
}

/* Row under main menu: divider line + link to search page */
.sg-sidebar-post-nav {
    flex-shrink: 0;
    border-top: 1px solid var(--sidebar-border);
    padding: 4px 0 2px;
}

.sg-sidebar-search-page-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 18px;
    color: var(--sidebar-text) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    text-decoration: none !important;
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
    background: none;
}

.sg-sidebar-search-page-link:hover {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-active-color) !important;
}

.sg-sidebar-search-page-link:hover .sg-sidebar-ico {
    color: #cb3803;
}

.sg-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-sidebar-item {
    position: relative;
}

.sg-sidebar-menu-ico,
.sg-sidebar-ico {
    margin-right: 10px;
    flex-shrink: 0;
    opacity: 0.9;
    font-size: 15px;
    width: 1.1em;
    text-align: center;
    color: #cb3803;
}

.sg-sidebar-submenu li a .sg-sidebar-ico,
.sg-sidebar-submenu-deep li a .sg-sidebar-ico {
    margin-right: 8px;
    font-size: 13px;
}

.sg-sidebar-link-start {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.sg-sidebar-link-txt {
    min-width: 0;
}

.sg-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    color: var(--sidebar-text) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    text-decoration: none !important;
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
    background: none;
}

.sg-sidebar-link:hover {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-active-color) !important;
}

.sg-sidebar-item.is-active > .sg-sidebar-link {
    color: var(--sidebar-active-color) !important;
}

.sg-arrow {
    font-size: 11px;
    color: var(--sidebar-text-muted);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.sg-sidebar-item.is-active > .sg-sidebar-link .sg-arrow {
    transform: rotate(90deg);
    color: var(--sidebar-active-color);
}

/* ---- Submenu ---- */
.sg-sidebar-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 4px 0;
    display: none;
    background: var(--sidebar-hover-bg);
    border-left: 2px solid var(--sidebar-active-color);
    margin-left: 18px;
    border-radius: 0 0 4px 4px;
}

.sg-sidebar-item.is-active > .sg-sidebar-submenu {
    display: block;
}

.sg-sidebar-submenu li a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sidebar-text) !important;
    text-decoration: none !important;
    transition: color var(--transition), padding-left var(--transition);
}

.sg-sidebar-submenu li a:hover {
    color: var(--sidebar-active-color) !important;
    padding-left: 20px;
}

/* ---- Deep submenu ---- */
.sg-sidebar-submenu-deep {
    list-style: none;
    margin: 0;
    padding: 0 0 4px 12px;
}

.sg-sidebar-submenu-deep li a {
    display: block;
    padding: 6px 10px;
    font-size: 12px;
    color: var(--sidebar-text-muted) !important;
    text-decoration: none !important;
    transition: color var(--transition);
}

.sg-sidebar-submenu-deep li a:hover {
    color: var(--sidebar-active-color) !important;
}

/* ---- Sidebar Footer ---- */
.sg-sidebar-footer {
    padding: 14px 18px 20px;
    border-top: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

/* Search */
.sg-sidebar-search {
    margin-bottom: 14px;
}

.sg-sidebar-search-form {
    width: 100%;
}

.sg-search-wrap {
    display: flex;
    align-items: center;
    background: var(--sidebar-hover-bg);
    border: 1px solid var(--sidebar-border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.sg-search-wrap:focus-within {
    border-color: var(--sidebar-active-color);
}

.sg-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-size: 12px;
    color: var(--sidebar-text);
    outline: none;
}

.sg-search-input::placeholder { color: var(--sidebar-text-muted); }

.sg-search-btn {
    background: none;
    border: none;
    padding: 8px 10px;
    color: var(--sidebar-text-muted);
    cursor: pointer;
    font-size: 13px;
    transition: color var(--transition);
}

.sg-search-btn:hover { color: var(--sidebar-active-color); }

/* Search field only (submit on Enter; no search button) */
.sg-search-wrap.sg-search-wrap--no-btn {
    border-radius: 8px;
}
.sg-search-wrap.sg-search-wrap--no-btn .sg-search-input {
    padding: 8px 12px;
}

/* Date */
.sg-sidebar-date {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: var(--sidebar-text-muted);
    margin-bottom: 12px;
}

.sg-sidebar-date i { font-size: 11px; }

/* Submit News */
.sg-sidebar-submit {
    margin-bottom: 12px;
}

.sg-submit-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff !important;
    background: var(--sidebar-active-color);
    padding: 8px 14px;
    border-radius: 5px;
    text-decoration: none !important;
    transition: opacity var(--transition);
}

.sg-submit-btn:hover { opacity: 0.85; }

/* Language */
.sg-sidebar-lang {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: var(--sidebar-text-muted);
    font-size: 12px;
}

.sg-lang-select {
    display: inline-block !important;
    background: transparent;
    border: 1px solid var(--sidebar-border);
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 12px;
    color: var(--sidebar-text);
    cursor: pointer;
    outline: none;
}

/* Social Icons */
.sg-sidebar-social {
    margin-bottom: 14px;
}

.sg-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sg-social-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--sidebar-border);
    color: var(--sidebar-text) !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.sg-social-list li a:hover {
    background: var(--sidebar-active-color);
    border-color: var(--sidebar-active-color);
    color: #fff !important;
}

/* User */
.sg-sidebar-user {
    border-top: 1px solid var(--sidebar-border);
    padding-top: 12px;
}

.sg-sidebar-footer > .sg-sidebar-user:first-child {
    border-top: none;
    padding-top: 0;
}

.sg-user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sidebar-text) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 0;
}

.sg-user-avatar {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50%;
    object-fit: cover;
}

.sg-user-icon {
    font-size: 20px;
    color: #cb3803;
}
.sg-user-name { flex: 1; }

.sg-login-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sidebar-text) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 0;
    transition: color var(--transition);
}

.sg-login-link:hover { color: var(--sidebar-active-color) !important; }
.sg-login-link i {
    font-size: 18px;
    color: #cb3803;
}

/* User dropdown fix inside sidebar only (not header toolbar) */
.sg-sidebar .sg-user-dropdown .dropdown-menu {
    position: absolute !important;
    top: auto !important;
    bottom: 100% !important;
    left: 0 !important;
    right: auto !important;
    min-width: 180px;
    z-index: 2000;
}

/* ---- Overlay (mobile) ---- */
.sg-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1040;
    opacity: 0;
    transition: opacity var(--transition);
}

.sg-sidebar-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* ---- Categories bar (below toolbar): single row + horizontal scroll ---- */
.sg-header-categories-bar {
    position: fixed;
    top: var(--global-toolbar-height);
    left: var(--sidebar-width);
    right: 0;
    z-index: 1028;
    background: #fff;
    border-bottom: 1px solid var(--sidebar-border);
    padding: 8px 14px;
    font-size: 14px;
    box-sizing: border-box;
    min-height: var(--categories-bar-height);
}

.sg-header-categories-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px 14px;
    max-width: 100%;
    min-width: 0;
}

.sg-header-categories-label {
    flex: 0 0 auto;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    text-transform: capitalize;
}

.sg-header-categories-scroll {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
}

.sg-header-categories-scroll::-webkit-scrollbar {
    height: 5px;
}

.sg-header-categories-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sg-header-categories-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 4px;
}

.sg-header-categories-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.38);
}

/* Single row; overflow scrolls left to right */
.sg-header-categories-list {
    list-style: none;
    margin: 0;
    padding: 0 2px 2px 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0 14px;
    width: max-content;
    max-width: none;
}

.sg-header-cat-item {
    position: relative;
    flex: 0 0 auto;
}

.sg-header-cat-item > a {
    color: var(--primary-color, #cb3803);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.sg-header-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sg-cat-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    background: transparent !important;
    border: 0;
    vertical-align: middle;
    flex-shrink: 0;
}

.sg-cat-icon--page {
    width: 28px;
    height: 28px;
    margin-right: 8px;
}

.sg-cat-page-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sg-cat-widget-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sg-article-figure {
    margin: 0 0 1rem;
}

.sg-article-image-caption,
figcaption.sg-article-image-caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
    text-align: center !important;
    font-style: normal !important;
}

/* TinyMCE / content images with description (figure + figcaption) */
.sg-article-readable figure.image,
.sg-article-readable figure.sg-article-figure,
.sg-translate-post figure.image,
.sg-translate-post figure.sg-article-figure,
.entry-content figure.image,
.entry-content figure.sg-article-figure,
.paragraph figure.image,
.paragraph figure.sg-article-figure {
    display: block;
    margin: 1rem 0;
    text-align: center;
}

.sg-article-readable figure.image img,
.sg-article-readable figure.sg-article-figure img,
.sg-translate-post figure.image img,
.sg-translate-post figure.sg-article-figure img,
.entry-content figure.image img,
.entry-content figure.sg-article-figure img,
.paragraph figure.image img,
.paragraph figure.sg-article-figure img {
    max-width: 100%;
    height: auto;
}

.sg-article-readable figure.image figcaption,
.sg-article-readable figure.sg-article-figure figcaption,
.sg-translate-post figure.image figcaption,
.sg-translate-post figure.sg-article-figure figcaption,
.entry-content figure.image figcaption,
.entry-content figure.sg-article-figure figcaption,
.paragraph figure.image figcaption,
.paragraph figure.sg-article-figure figcaption,
.sg-article-readable figcaption.sg-article-image-caption,
.sg-translate-post figcaption.sg-article-image-caption,
.entry-content figcaption.sg-article-image-caption,
.paragraph figcaption.sg-article-image-caption {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
    text-align: center !important;
    font-style: normal !important;
}

.sg-header-cat-item > a:hover { text-decoration: underline; }

.sg-header-cat-item.has-sub:hover .sg-header-subcategories,
.sg-header-cat-item.has-sub:focus-within .sg-header-subcategories {
    display: block;
}

.sg-header-subcategories {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    z-index: 1060;
    list-style: none;
    margin: 4px 0 0;
    padding: 6px 0;
    border-radius: 6px;
}

.sg-header-subcategories a {
    display: block;
    padding: 8px 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.sg-header-subcategories a:hover {
    background: var(--sidebar-hover-bg);
    color: var(--primary-color, #cb3803);
}

/* Home: categories inside magazine column (not fixed under global header) */
body.brut-magazine-home #sgHeaderCategoriesBar {
    display: none !important;
}

body.brut-magazine-home .sg-header-categories-bar--in-content {
    display: block !important;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    z-index: 1;
    margin: 0 0 16px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

body.has-sg-categories-bar {
    --brut-header-offset: calc(var(--global-toolbar-height) + var(--categories-bar-height));
}

body.has-sg-categories-bar:not(.brut-magazine-home) {
    padding-top: var(--brut-header-offset) !important;
}

@media (max-width: 991px) {
    .sg-header-categories-bar {
        left: 0;
        top: calc(var(--topbar-mobile-height) + var(--global-toolbar-height));
        padding: 6px 10px;
        font-size: 13px;
    }

    .sg-header-categories-inner {
        gap: 8px 10px;
    }

    .sg-header-categories-list {
        gap: 0 10px;
    }

    body.has-sg-categories-bar {
        --brut-header-offset: calc(var(--topbar-mobile-height) + var(--global-toolbar-height) + var(--categories-bar-height));
    }

    body.has-sg-categories-bar:not(.brut-magazine-home) {
        padding-top: var(--brut-header-offset) !important;
    }
}

/* ---- Global header toolbar (style_1): left search+submit, right date+language ---- */
.sg-global-toolbar {
    position: fixed;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    top: var(--topbar-mobile-height);
    left: 0;
    right: 0;
    min-height: var(--global-toolbar-height);
    padding: 0;
    box-sizing: border-box;
    background: var(--sidebar-bg);
    border-bottom: 1px solid var(--sidebar-border);
    z-index: 1029;
    overflow: visible;
}

.sg-toolbar-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    width: 100%;
    min-height: var(--global-toolbar-height);
    padding: 6px 12px;
    box-sizing: border-box;
    gap: 14px;
    flex-wrap: nowrap;
    overflow: visible;
}

.sg-global-toolbar.sg-global-toolbar--meta-only .sg-toolbar-meta-row {
    justify-content: space-between;
}

.sg-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px 14px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
}

.sg-toolbar-left .sg-toolbar-cluster--quick-links {
    border-left: 1px solid rgba(0, 0, 0, 0.14);
    margin-left: 2px;
    padding-left: 10px;
    padding-right: 0;
}

.sg-dark .sg-toolbar-left .sg-toolbar-cluster--quick-links {
    border-left-color: rgba(255, 255, 255, 0.18);
}

.sg-toolbar-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.2;
}

.sg-toolbar-action .fa {
    font-size: 14px;
    color: var(--primary-color, #cb3803);
}

.sg-toolbar-action:hover {
    color: var(--primary-color, #cb3803);
}

.sg-dark .sg-toolbar-action {
    color: #e8e8e8;
}

.sg-dark .sg-toolbar-action .fa {
    color: var(--primary-color, #cb3803);
}

.sg-dark .sg-toolbar-action:hover {
    color: var(--primary-color, #cb3803);
}

.sg-dark .sg-toolbar-action:hover .fa {
    color: var(--primary-color, #cb3803);
}

.sg-dark .sg-global-toolbar .sg-toolbar-action {
    color: var(--toolbar-meta-text, #ffffff);
}

.sg-dark .sg-global-toolbar .sg-toolbar-action .fa {
    color: var(--toolbar-meta-icon, #ffffff) !important;
}

.sg-dark .sg-global-toolbar .sg-toolbar-action:hover,
.sg-dark .sg-global-toolbar .sg-toolbar-action:focus {
    color: var(--primary-color, #cb3803);
}

.sg-dark .sg-global-toolbar .sg-toolbar-action:hover .fa,
.sg-dark .sg-global-toolbar .sg-toolbar-action:focus .fa {
    color: var(--primary-color, #cb3803) !important;
}

.sg-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-left: auto;
    flex-wrap: nowrap;
    overflow: visible;
    position: relative;
}

/* Clear visual sections in the top toolbar (date | social | display | lang | account) */
.sg-toolbar-cluster {
    display: inline-flex;
    align-items: center;
    gap: var(--sg-toolbar-chip-gap, 2px);
    flex: 0 0 auto;
    padding: 0 14px;
    min-height: var(--sg-toolbar-chip-h, 28px);
    box-sizing: border-box;
}

.sg-toolbar-cluster + .sg-toolbar-cluster {
    border-left: 1px solid rgba(0, 0, 0, 0.14);
}

.sg-toolbar-cluster--date {
    padding-left: 0;
}

.sg-toolbar-cluster--quick-links {
    padding-left: 0;
    padding-right: 0;
}

.sg-toolbar-quick-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    max-width: 100%;
}

.sg-toolbar-quick-links__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 2px 8px;
    color: var(--toolbar-meta-text, #111);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.sg-toolbar-quick-links__item:hover,
.sg-toolbar-quick-links__item:focus {
    color: var(--primary-color, #cb3803);
    text-decoration: none !important;
    outline: none;
    opacity: 0.95;
}

.sg-toolbar-quick-links__icon {
    font-size: 16px;
    line-height: 1;
    color: inherit;
}

.sg-toolbar-quick-links__icon--google {
    background: linear-gradient(135deg, #4285f4 0%, #ea4335 45%, #fbbc05 70%, #34a853 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sg-toolbar-quick-links__sep {
    color: rgba(0, 0, 0, 0.28);
    font-size: 13px;
    font-weight: 300;
    line-height: 1;
    padding: 0 2px;
    user-select: none;
}

.sg-toolbar-quick-links__sep--end {
    display: none;
}

.sg-dark .sg-toolbar-quick-links__item {
    color: rgba(255, 255, 255, 0.95);
}

.sg-dark .sg-toolbar-quick-links__item:hover,
.sg-dark .sg-toolbar-quick-links__item:focus {
    color: #fff;
}

.sg-dark .sg-toolbar-quick-links__sep {
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1199.98px) {
    .sg-toolbar-quick-links__item {
        padding: 2px 6px;
        font-size: 12px;
        gap: 6px;
    }
}

@media (max-width: 991.98px) {
    .sg-toolbar-cluster--quick-links {
        display: none !important;
    }
}


.sg-toolbar-cluster--user {
    padding-right: 0;
}

.sg-toolbar-cluster--display,
.sg-toolbar-cluster--lang {
    gap: var(--sg-toolbar-chip-gap, 2px);
    position: relative;
    overflow: visible;
}

.sg-dark .sg-toolbar-cluster + .sg-toolbar-cluster {
    border-left-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 1199.98px) {
    .sg-toolbar-cluster {
        padding: 0 10px;
        gap: 6px;
    }
}

@media (max-width: 991.98px) {
    /* Social cluster is empty on tablet — skip its divider */
    .sg-toolbar-cluster--social {
        display: none !important;
    }

    .sg-toolbar-cluster {
        padding: 0 8px;
    }
}

@media (max-width: 575.98px) {
    .sg-toolbar-cluster--date {
        display: none !important;
    }

    .sg-toolbar-cluster {
        padding: 0 6px;
        gap: 4px;
    }

    .sg-toolbar-cluster--display {
        padding-left: 0;
    }
}

.sg-global-toolbar .sg-toolbar-left .sg-toolbar-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 560px;
}

.sg-global-toolbar .sg-toolbar-search .sg-search-wrap {
    width: 100%;
}

.sg-global-toolbar .sg-toolbar-date {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    color: var(--toolbar-meta-text, #000);
}

.sg-global-toolbar .sg-toolbar-date span,
.sg-global-toolbar .sg-toolbar-date .fa {
    font-weight: 700;
    color: var(--toolbar-meta-text, #000);
}

.sg-global-toolbar .sg-toolbar-date .fa {
    color: var(--toolbar-meta-icon, #000);
}

.sg-global-toolbar .sg-toolbar-submit {
    flex: 0 0 auto;
}

.sg-global-toolbar .sg-toolbar-submit .sg-submit-btn {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 12px;
}

.sg-toolbar-social {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px 12px;
    flex: 0 0 auto;
}

.sg-toolbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 22px;
    color: var(--toolbar-meta-icon, #000);
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    opacity: 1;
}

.sg-toolbar-social a:hover {
    color: var(--toolbar-meta-text, #000);
    opacity: 0.85;
}

.sg-global-toolbar .sg-toolbar-lang {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.sg-global-toolbar .sg-toolbar-theme {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.sg-global-toolbar .sg-theme-dd__trigger {
    width: var(--sg-toolbar-chip-h);
    min-width: var(--sg-toolbar-chip-h);
    max-width: var(--sg-toolbar-chip-h);
    height: var(--sg-toolbar-chip-h);
    min-height: var(--sg-toolbar-chip-h);
    max-height: var(--sg-toolbar-chip-h);
    padding: 0;
    border-radius: var(--sg-toolbar-chip-radius);
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff;
    color: #222;
    font-size: var(--sg-toolbar-chip-fs);
    box-sizing: border-box;
}

.sg-global-toolbar .sg-theme-dd__icon {
    font-size: calc(var(--sg-toolbar-chip-fs) + 1px);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
}

.sg-theme-dd {
    position: relative;
}

.sg-theme-dd__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 2px;
    background: transparent;
    color: var(--toolbar-meta-icon, #000);
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.sg-theme-dd__trigger:hover,
.sg-theme-dd__trigger:focus {
    color: var(--toolbar-meta-text, #000);
    border-color: rgba(0, 0, 0, 0.35);
    outline: none;
}

.sg-theme-dd__icon {
    font-size: 16px;
}

.sg-theme-dd__panel {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 1050;
    min-width: 168px;
    background: var(--sidebar-bg, #fff);
    border: 1px solid var(--sidebar-border, rgba(0, 0, 0, 0.12));
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.sg-theme-dd__panel:not([hidden]) {
    display: block;
}

.sg-theme-dd.is-open {
    z-index: 2200;
}

.sg-theme-dd.is-open .sg-theme-dd__panel {
    z-index: 2200;
}

.sg-theme-dd__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.sg-theme-dd__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 14px;
    border: 0;
    background: transparent;
    color: var(--sidebar-text, #1a1a1a);
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.sg-theme-dd__item .fa {
    width: 16px;
    text-align: center;
    color: var(--sidebar-text-muted, #666);
}

.sg-theme-dd__item:hover,
.sg-theme-dd__item:focus {
    background: var(--sidebar-hover-bg, #f5f5f5);
    outline: none;
}

.sg-theme-dd__item.is-active {
    color: var(--primary-color);
    font-weight: 600;
}

.sg-theme-dd__item.is-active .fa {
    color: var(--primary-color);
}

/* Google Translate — native global dropdown (frontend toolbar) */
.sg-global-toolbar .sg-toolbar-right {
    align-items: center;
}

.sg-global-toolbar .sg-toolbar-lang {
    align-items: center;
    align-self: center;
}

.sg-global-toolbar .sg-google-translate-widget {
    display: inline-flex;
    align-items: center;
    align-self: center;
    line-height: 1;
    height: 32px;
    max-height: 34px;
    position: relative;
}

.sg-global-toolbar .sg-google-translate-widget .sg-gt-engine-host {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.sg-global-toolbar .sg-google-translate-widget .sg-gt-native-combo {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.sg-gt-search-dd {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 120px;
    max-width: min(180px, 42vw);
}

.sg-gt-search-dd__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    min-width: 120px;
    max-width: 180px;
    height: 32px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid var(--gt-dd-border, #000);
    border-radius: 2px;
    background: var(--gt-dd-bg, #000);
    color: var(--gt-dd-text, #fff);
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
    text-align: left;
}

.sg-gt-search-dd__trigger:hover,
.sg-gt-search-dd__trigger:focus {
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #000);
    background: var(--gt-dd-bg, #000);
    outline: none;
    filter: brightness(1.08);
}

.sg-gt-search-dd__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
}

.sg-gt-search-dd__caret {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--gt-dd-btn-icon, #ffffff);
    opacity: 1;
}

.sg-gt-search-dd__panel {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 1050;
    min-width: 220px;
    max-width: min(280px, 90vw);
    background: #fff;
    border: 1px solid var(--gt-dd-border, #1a1a1a);
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.sg-gt-search-dd__panel:not([hidden]) {
    display: block;
}

.sg-gt-search-dd__search {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.3;
    border: 0;
    border-bottom: 1px solid var(--gt-dd-border, #1a1a1a);
    background: #fff;
    color: #000000;
    font-family: inherit;
}

.sg-gt-search-dd__search:focus {
    outline: none;
    border-bottom-color: var(--gt-dd-accent, #cb3803);
    box-shadow: inset 0 -2px 0 var(--gt-dd-accent, #cb3803);
}

.sg-gt-search-dd__search::placeholder {
    color: var(--sidebar-text-muted, #888);
}

.sg-gt-search-dd__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 240px;
    overflow-y: auto;
}

.sg-gt-search-dd__item {
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1.3;
    color: #000000;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-gt-search-dd__item:hover,
.sg-gt-search-dd__item.is-active {
    background: var(--gt-dd-hover-bg, #fff5f5);
    color: var(--gt-dd-accent, #cb3803);
}

.sg-global-toolbar .sg-google-translate-widget .skiptranslate {
    display: inline-flex !important;
    align-items: center;
    line-height: 1;
}

.sg-global-toolbar .sg-google-translate-widget .goog-te-gadget {
    font-family: inherit !important;
    font-size: 0 !important;
    color: transparent !important;
    display: inline-flex !important;
    align-items: center;
    line-height: 1;
    margin: 0 !important;
}

.sg-global-toolbar .sg-google-translate-widget .goog-te-gadget-simple {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    line-height: 1;
}

.sg-global-toolbar .sg-google-translate-widget .goog-te-combo {
    display: inline-block !important;
    margin: 0 !important;
    padding: 5px 26px 5px 10px;
    height: 32px;
    min-height: 32px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid var(--gt-dd-border, #000);
    border-radius: 2px;
    background: var(--gt-dd-bg, #000);
    color: var(--gt-dd-text, #fff);
    cursor: pointer;
    font-family: inherit;
    max-width: 150px;
    vertical-align: middle;
    appearance: auto;
    -webkit-appearance: menulist;
    box-sizing: border-box;
}

.sg-global-toolbar .sg-google-translate-widget .goog-te-combo:hover,
.sg-global-toolbar .sg-google-translate-widget .goog-te-combo:focus {
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #000);
    background: var(--gt-dd-bg, #000);
    outline: none;
    filter: brightness(1.08);
}

.sg-google-translate-widget #google_translate_element {
    display: inline-flex !important;
    align-items: center;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    line-height: 1;
    vertical-align: middle;
}

.sg-global-toolbar .sg-toolbar-lang .select,
.sg-global-toolbar .sg-language .select,
.sg-global-toolbar .sg-lang-dd,
.sg-global-toolbar .sg-translate-dd {
    position: relative;
    margin-bottom: 0;
    min-width: 120px;
    max-width: min(220px, 46vw);
    flex: 1 1 auto;
}

.sg-global-toolbar .sg-lang-dd__trigger {
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    gap: 8px;
    padding: 6px 34px 6px 10px;
}

.sg-global-toolbar .sg-lang-dd__ico,
.sg-global-toolbar .sg-lang-dd__item-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex-shrink: 0;
    font-size: 15px;
    color: var(--sidebar-text-muted);
}

.sg-global-toolbar .sg-lang-dd__ico .flag-icon,
.sg-global-toolbar .sg-lang-dd__item-ico .flag-icon {
    width: 1.33333333em;
    height: 1em;
    line-height: 1em;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.sg-global-toolbar .sg-lang-dd__label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-global-toolbar .sg-lang-dd__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sg-global-toolbar .sg-lang-dd__item.is-active .sg-lang-dd__item-txt {
    font-weight: 600;
    color: var(--primary-color);
}

.sg-global-toolbar .sg-lang-dd__fallback-ico {
    opacity: 0.85;
}

/* Breaking news: in-document section below fixed toolbar (scrolls with page) */
.sg-breaking-section {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
}

.sg-breaking-section .sg-breaking-ticker {
    pointer-events: auto;
}

/* Shared homepage ticker bar shell */
.sg-breaking-ticker,
.sg-external-ticker {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: var(--ticker-bar-height);
    padding: 0 14px 0 12px;
    margin: 0;
    box-sizing: border-box;
    border-radius: var(--ticker-bar-radius);
    border: 1px solid var(--ticker-bar-border);
    background: var(--ticker-bar-bg);
    color: var(--ticker-bar-text) !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sg-breaking-ticker {
    border-left: 3px solid var(--ticker-accent-breaking);
}

.sg-external-ticker--cricket {
    border-left: 3px solid var(--ticker-accent-cricket);
}

.sg-external-ticker--market {
    border-left: 3px solid var(--ticker-accent-market);
}

.sg-breaking-ticker::before,
.sg-external-ticker--cricket::before,
.sg-external-ticker--market::before {
    display: none;
}

.sg-breaking-ticker:hover,
.sg-external-ticker--cricket:hover,
.sg-external-ticker--market:hover {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.sg-breaking-ticker__badge,
.sg-external-ticker__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-right: 8px;
    border-radius: 6px;
    font-size: 13px;
    color: #fff !important;
}

.sg-breaking-ticker__badge {
    background: linear-gradient(145deg, #cb3803 0%, #a8181e 100%);
    box-shadow: 0 1px 4px rgba(227, 30, 37, 0.35);
}

.sg-external-ticker--cricket .sg-external-ticker__badge {
    background: linear-gradient(145deg, #34d399 0%, #059669 100%);
    box-shadow: 0 1px 4px rgba(5, 150, 105, 0.35);
}

.sg-external-ticker--market .sg-external-ticker__badge {
    background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 1px 4px rgba(217, 119, 6, 0.35);
}

.sg-breaking-ticker__label,
.sg-external-ticker__label {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-right: 8px;
    white-space: nowrap;
}

.sg-breaking-ticker__label {
    color: #b91c1c !important;
}

.sg-external-ticker--cricket .sg-external-ticker__label {
    color: #047857 !important;
    font-size: 11px;
}

.sg-external-ticker--market .sg-external-ticker__label {
    color: #b45309 !important;
    font-size: 11px;
}

.sg-breaking-ticker__sep,
.sg-external-ticker__sep {
    flex-shrink: 0;
    margin-right: 10px;
    font-weight: 300;
    font-size: 14px;
    line-height: 1;
    color: #cbd5e1 !important;
    opacity: 1;
}

.sg-breaking-ticker__viewport,
.sg-external-ticker__viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
}

.sg-breaking-ticker__marquee {
    display: inline-flex;
    width: max-content;
    white-space: nowrap;
    animation: sg-breaking-marquee 50s linear infinite;
}

.sg-breaking-ticker__marquee:hover {
    animation-play-state: paused;
}

.sg-breaking-ticker__chunk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 2rem;
}

.sg-breaking-ticker__item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    max-width: min(280px, 42vw);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--ticker-bar-text) !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sg-breaking-ticker__item:hover,
.sg-breaking-ticker__item:focus-visible {
    background: #cb3803;
    border-color: #cb3803;
    color: #fff !important;
    outline: none;
}

.sg-breaking-ticker__item-txt {
    display: block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: inherit !important;
}

.sg-breaking-ticker__item:hover .sg-breaking-ticker__item-txt,
.sg-breaking-ticker__item:focus-visible .sg-breaking-ticker__item-txt {
    color: #fff !important;
}

.sg-breaking-ticker__chunk[aria-hidden="true"] .sg-breaking-ticker__item {
    pointer-events: none;
}

.sg-breaking-ticker__txt {
    font-size: 12px;
    font-weight: 500;
    color: var(--ticker-bar-muted) !important;
}

.sg-breaking-ticker__link {
    display: inline-flex;
    align-items: baseline;
    color: inherit !important;
    text-decoration: none !important;
}

.sg-breaking-ticker__dot {
    font-weight: 400;
    opacity: 0.85;
    color: #94a3b8 !important;
}

.sg-breaking-ticker .sg-live-badge--inline {
    background: #fff !important;
    color: #cb3803 !important;
    font-size: 9px;
    padding: 1px 5px;
}

@keyframes sg-breaking-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Homepage: Cricket + Market tickers */
.sg-external-tickers-row {
    display: flex;
    flex-direction: column;
    gap: var(--ticker-bar-gap);
    width: 100%;
    max-width: 100%;
    margin: 0 0 var(--ticker-bar-gap);
    padding: 0;
    box-sizing: border-box;
}

.sg-external-tickers-row--single {
    margin-bottom: var(--ticker-bar-gap);
}

/* Homepage top ticker stack: market/cricket mobile-only (desktop uses right sidebar cards) */
.sg-home-top-ticker-stack {
    width: 100%;
    max-width: 100%;
    margin: 0 0 var(--ticker-bar-gap);
    padding: 0;
    box-sizing: border-box;
}

.sg-home-top-ticker-stack--mobile-sidebar {
    display: none;
}

.sg-home-top-ticker-stack .sg-external-tickers-row,
.sg-home-top-ticker-stack .sg-breaking-section {
    margin-bottom: 0;
}

.sg-home-ticker-slot--cricket,
.sg-home-ticker-slot--market,
.sg-home-ticker-slot--prices {
    display: none;
}

@media (max-width: 991.98px) {
    .sg-home-top-ticker-stack--mobile-sidebar {
        display: block;
    }

    .sg-home-ticker-slot--cricket,
    .sg-home-ticker-slot--market,
    .sg-home-ticker-slot--prices {
        display: block;
    }

    body.brut-magazine-home .brut-home-ad-sidebar > .sg-sidebar-ticker-card--cricket,
    body.brut-magazine-home .brut-home-ad-sidebar > .sg-sidebar-ticker-card--market,
    body.brut-magazine-home .brut-home-ad-sidebar > .sg-sidebar-ticker-card--prices {
        display: none !important;
    }

    .sg-home-top-ticker-stack .sg-home-ticker-slot + .sg-home-ticker-slot {
        margin-top: 8px;
    }
}

body.brut-magazine-home .brut-magazine-inner > .sg-external-tickers-row {
    padding-bottom: 0;
}

.sg-external-ticker--sports {
    border: 1px solid #86efac;
    border-left: 3px solid #16a34a;
    background: #f0fdf4;
    color: #166534 !important;
    flex-wrap: nowrap;
}

.sg-external-ticker__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.sg-external-ticker__cricket-body {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.sg-ticker-empty {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ticker-bar-muted) !important;
}

.sg-external-ticker__marquee {
    display: inline-flex;
    width: max-content;
    white-space: nowrap;
    animation: sg-external-marquee 55s linear infinite;
}

.sg-external-ticker__marquee:hover {
    animation-play-state: paused;
}

.sg-external-ticker__chunk {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.sg-external-ticker__item {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    min-height: 28px;
    text-decoration: none !important;
    color: inherit !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.sg-external-ticker__item:last-child {
    border-right: 0;
}

.sg-external-ticker__item-txt {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.sg-market-chip {
    gap: 8px;
    padding: 0 14px;
}

.sg-market-chip__name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ticker-bar-muted) !important;
}

.sg-market-chip__value {
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--ticker-bar-text) !important;
}

.sg-market-chip__change {
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.sg-market-chip__change--up {
    color: #15803d !important;
}

.sg-market-chip__change--down {
    color: #dc2626 !important;
}

.sg-market-chip__change--flat {
    color: var(--ticker-bar-muted) !important;
}

.sg-external-ticker__embed {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 28px;
    overflow: hidden;
}

.sg-external-ticker__embed .tradingview-widget-container {
    width: 100%;
    height: 28px;
}

.sg-external-ticker__embed .tradingview-widget-container__widget {
    height: 28px !important;
}

.sg-cricket-scores {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.sg-cricket-card {
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 220px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--ticker-bar-text);
    scroll-snap-align: start;
    transition: border-color 0.15s ease;
}

.sg-cricket-card:hover {
    border-color: #cbd5e1;
}

.sg-cricket-card--live {
    border-color: #fecaca;
    background: #fffbfb;
}

.sg-cricket-card__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
    min-height: 16px;
}

.sg-cricket-card__live {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff !important;
    background: #dc2626;
}

.sg-cricket-card__type {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    color: #166534 !important;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.sg-cricket-card__teams {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a !important;
}

.sg-cricket-card__vs {
    font-size: 9px;
    font-weight: 600;
    color: #64748b !important;
}

.sg-cricket-card__score-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed #e2e8f0;
}

.sg-cricket-card__score {
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #15803d !important;
}

.sg-cricket-card__status {
    margin: 4px 0 0;
    font-size: 10px;
    line-height: 1.3;
    color: #64748b !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes sg-external-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .sg-external-ticker__marquee,
    .sg-breaking-ticker__marquee {
        animation: none;
    }
}

@media (max-width: 575px) {
    .sg-external-ticker,
    .sg-breaking-ticker {
        flex-wrap: wrap;
        align-items: center;
        min-height: auto;
        padding: 8px 12px;
    }

    .sg-external-ticker__label,
    .sg-breaking-ticker__label {
        font-size: 10px;
    }

    .sg-external-ticker__body,
    .sg-external-ticker__viewport,
    .sg-breaking-ticker__viewport {
        flex: 1 1 100%;
        margin-top: 6px;
    }

    .sg-external-ticker__sep,
    .sg-breaking-ticker__sep {
        display: none;
    }

    .sg-external-ticker__marquee {
        animation-duration: 65s;
    }

    .sg-cricket-card {
        min-width: 180px;
    }
}

.sg-dark .sg-breaking-ticker,
.sg-dark .sg-external-ticker--cricket,
.sg-dark .sg-external-ticker--market {
    background: var(--ticker-bar-bg);
    border-color: var(--ticker-bar-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.sg-dark .sg-breaking-ticker {
    border-left-color: var(--ticker-accent-breaking);
}

.sg-dark .sg-external-ticker--cricket {
    border-left-color: var(--ticker-accent-cricket);
}

.sg-dark .sg-external-ticker--market {
    border-left-color: var(--ticker-accent-market);
}

.sg-dark .sg-breaking-ticker__label {
    color: #fca5a5 !important;
}

.sg-dark .sg-external-ticker--cricket .sg-external-ticker__label {
    color: #6ee7b7 !important;
}

.sg-dark .sg-external-ticker--market .sg-external-ticker__label {
    color: #fcd34d !important;
}

.sg-dark .sg-breaking-ticker__txt,
.sg-dark .sg-breaking-ticker__sep,
.sg-dark .sg-external-ticker__sep {
    color: var(--ticker-bar-text) !important;
}

.sg-dark .sg-breaking-ticker__item {
    background: #232830;
    border-color: #3f4654;
    color: #ffffff !important;
}

.sg-dark .sg-breaking-ticker__item-txt {
    color: #ffffff !important;
}

.sg-dark .sg-breaking-ticker__item:hover,
.sg-dark .sg-breaking-ticker__item:focus-visible {
    background: #cb3803;
    border-color: #cb3803;
    color: #fff !important;
}

.sg-dark .sg-breaking-ticker__item:hover .sg-breaking-ticker__item-txt,
.sg-dark .sg-breaking-ticker__item:focus-visible .sg-breaking-ticker__item-txt {
    color: #fff !important;
}

.sg-dark .sg-breaking-ticker__dot,
.sg-dark .sg-breaking-ticker__sep {
    color: var(--ticker-bar-text) !important;
}

.sg-dark .sg-ticker-empty {
    color: #cbd5e1 !important;
}

.sg-dark .sg-external-ticker__item-txt {
    color: var(--ticker-bar-text) !important;
}

.sg-dark .sg-external-ticker__item.sg-market-chip {
    color: #ffffff !important;
}

.sg-dark .sg-cricket-card {
    background: #232830;
    border-color: #3f4654;
    color: var(--ticker-bar-text);
}

.sg-dark .sg-cricket-card--live {
    background: #2a1f1f;
    border-color: #7f1d1d;
}

.sg-dark .sg-cricket-card__teams {
    color: #f1f5f9 !important;
}

.sg-dark .sg-market-chip__name {
    color: #cbd5e1 !important;
}

.sg-dark .sg-market-chip__value {
    color: #ffffff !important;
}

.sg-dark .sg-market-chip__change--up {
    color: #4ade80 !important;
}

.sg-dark .sg-market-chip__change--down {
    color: #f87171 !important;
}

.sg-dark .sg-external-ticker__item {
    border-right-color: rgba(255, 255, 255, 0.1);
}

.sg-dark .sg-external-ticker__embed {
    background: transparent;
}

/* Toolbar: account / login — match language dropdown (black pill) */
.sg-global-toolbar .sg-toolbar-user {
    flex: 0 0 auto;
    position: relative;
    max-width: min(220px, 38vw);
}

.sg-global-toolbar .sg-toolbar-user .sg-user-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 120px;
    max-width: 180px;
    height: var(--sg-toolbar-chip-h);
    min-height: var(--sg-toolbar-chip-h);
    max-height: var(--sg-toolbar-chip-h);
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid #000;
    border-radius: var(--sg-toolbar-chip-radius);
    background: #000;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-sizing: border-box;
}

.sg-global-toolbar .sg-toolbar-user .sg-user-trigger:hover,
.sg-global-toolbar .sg-toolbar-user .sg-user-trigger:focus {
    color: #fff !important;
    background: #000;
    border-color: #000;
    filter: brightness(1.08);
    outline: none;
}

.sg-global-toolbar .sg-toolbar-user .sg-user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    color: #fff;
    font-weight: 700;
}

@media (min-width: 576px) {
    .sg-global-toolbar .sg-toolbar-user .sg-user-name {
        max-width: 140px;
    }
}

.sg-global-toolbar .sg-toolbar-user .sg-user-caret {
    margin-left: 2px;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
    opacity: 1;
}

.sg-global-toolbar .sg-toolbar-user .sg-user-icon {
    font-size: 16px;
    color: #fff !important;
    flex-shrink: 0;
}

.sg-global-toolbar .sg-toolbar-user .sg-user-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.sg-global-toolbar .sg-toolbar-user .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    bottom: auto !important;
    left: auto !important;
    right: 0 !important;
    min-width: 240px;
    z-index: 1070 !important;
    background: var(--sidebar-bg, #fff);
    border: 1px solid var(--sidebar-border, #e8e8e8);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    color: var(--sidebar-text, #1a1a1a);
}

.sg-global-toolbar .sg-toolbar-user .sg-user-dropdown__menu {
    background: var(--sidebar-bg, #fff);
    border-color: var(--sidebar-border, #e8e8e8);
}

.sg-user-dropdown__menu {
    padding-top: 0;
    overflow: visible;
}

.sg-user-dropdown__section--lang {
    padding: 10px 12px 8px;
}

.sg-user-dropdown__section-title {
    display: block;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}

.sg-user-dropdown .sg-lang-direct {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 0 0 8px;
}

.sg-user-dropdown .sg-lang-direct__btn {
    min-width: auto;
    height: 30px;
    padding: 0 8px;
}

.sg-user-dropdown .sg-user-dropdown__translate {
    margin-top: 4px;
}

.sg-user-dropdown .sg-google-translate-widget {
    position: relative;
    display: block;
    width: 100%;
}

.sg-user-dropdown .sg-google-translate-widget .sg-gt-engine-host {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.sg-user-dropdown .sg-google-translate-widget .skiptranslate,
.sg-user-dropdown .sg-google-translate-widget .goog-te-gadget {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.sg-user-dropdown .sg-gt-search-dd {
    display: block;
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: none;
}

.sg-user-dropdown .sg-gt-search-dd__trigger {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: none;
}

.sg-user-dropdown .sg-gt-search-dd__panel {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 2200;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-top: 6px;
    box-sizing: border-box;
}

.sg-user-dropdown .sg-gt-search-dd__list {
    height: 230px;
    max-height: 230px;
    min-height: 230px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sg-user-dropdown__divider {
    margin: 0;
}

.sg-user-dropdown__menu > a {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    background-color: transparent;
    border-bottom: 1px solid #eee;
}

.sg-global-toolbar .site-setting-area a {
    color: var(--sidebar-text, #222);
    background-color: transparent !important;
    border-bottom-color: var(--sidebar-border, #eee);
}

.sg-global-toolbar .site-setting-area a:hover {
    color: var(--primary-color, #cb3803) !important;
    background-color: var(--sidebar-hover-bg, #f5f5f5) !important;
}

.sg-global-toolbar .site-setting-area {
    background: var(--sidebar-bg, #fff) !important;
    border-color: var(--sidebar-border, #ddd) !important;
}

.sg-user-dropdown__menu > a:hover {
    background: #f5f5f5;
    color: #cb3803;
}

.sg-dark .sg-global-toolbar .sg-toolbar-user .dropdown-menu,
.sg-dark .sg-global-toolbar .sg-toolbar-user .sg-user-dropdown__menu,
html.sg-dark .sg-global-toolbar .sg-toolbar-user .dropdown-menu,
html.sg-dark .sg-global-toolbar .sg-toolbar-user .sg-user-dropdown__menu {
    background: var(--sidebar-bg, #14171e) !important;
    border-color: var(--sidebar-border, #3a404c) !important;
    color: var(--sidebar-text, #f0f2f5) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}

.sg-dark .sg-global-toolbar .site-setting-area,
html.sg-dark .sg-global-toolbar .site-setting-area {
    background: var(--sidebar-bg, #14171e) !important;
    border-color: var(--sidebar-border, #3a404c) !important;
}

.sg-dark .sg-user-dropdown__menu > a,
.sg-dark .sg-global-toolbar .site-setting-area a,
html.sg-dark .sg-global-toolbar .site-setting-area a {
    color: var(--sidebar-text, #f0f2f5) !important;
    background-color: transparent !important;
    border-bottom-color: var(--sidebar-border, #3a404c) !important;
}

.sg-dark .sg-user-dropdown__menu > a i,
.sg-dark .sg-global-toolbar .site-setting-area a i {
    color: var(--sidebar-text-muted, #b4bac4) !important;
}

.sg-dark .sg-user-dropdown__menu > a:hover,
.sg-dark .sg-global-toolbar .site-setting-area a:hover,
html.sg-dark .sg-global-toolbar .site-setting-area a:hover {
    background: var(--sidebar-hover-bg, #232830) !important;
    color: var(--primary-color, #cb3803) !important;
}

.sg-dark .sg-user-dropdown__menu > a:hover i,
.sg-dark .sg-global-toolbar .site-setting-area a:hover i {
    color: var(--primary-color, #cb3803) !important;
}

.sg-dark .sg-global-toolbar .sg-user-dropdown__section-title,
html.sg-dark .sg-global-toolbar .sg-user-dropdown__section-title {
    color: var(--sidebar-text-muted, #b4bac4) !important;
}

.sg-dark .sg-global-toolbar .sg-user-dropdown__divider,
.sg-dark .sg-global-toolbar .dropdown-divider.sg-user-dropdown__divider,
html.sg-dark .sg-global-toolbar .sg-user-dropdown__divider {
    border-top-color: var(--sidebar-border, #3a404c) !important;
    opacity: 1;
}

.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__panel,
html.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__panel {
    background: var(--sidebar-bg, #14171e) !important;
    border-color: var(--sidebar-border, #3a404c) !important;
}

.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__search,
html.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__search {
    background: var(--surface-muted, #232830) !important;
    color: var(--sidebar-text, #f0f2f5) !important;
    border-color: var(--sidebar-border, #3a404c) !important;
}

.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__item,
html.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__item {
    color: var(--sidebar-text, #f0f2f5) !important;
}

.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__item:hover,
.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__item:focus,
html.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__item:hover {
    background: var(--sidebar-hover-bg, #232830) !important;
    color: #fff !important;
}

.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd.is-panel-open .sg-gt-search-dd__list,
html.sg-dark .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd.is-panel-open .sg-gt-search-dd__list {
    background: var(--sidebar-bg, #14171e) !important;
}

.sg-global-toolbar .sg-toolbar-user .sg-user-trigger--guest {
    gap: 6px;
}

.sg-global-toolbar .sg-toolbar-user .sg-user-trigger--guest .sg-user-icon {
    font-size: 16px;
    color: #fff !important;
}

/* Toolbar language: styled dropdown (main.js builds .select-styled + .select-options) */
.sg-global-toolbar .sg-language .select-styled {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 5px 34px 5px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gt-dd-text, #fff);
    background: var(--gt-dd-bg, #000);
    border: 1px solid var(--gt-dd-border, #000);
    border-radius: 2px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, filter 0.15s ease;
}

.sg-global-toolbar .sg-language .select-styled:hover {
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #000);
    filter: brightness(1.08);
}

.sg-global-toolbar .sg-language .select-styled.active {
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #000);
    box-shadow: 0 0 0 2px rgba(227, 30, 37, 0.25);
}

.sg-global-toolbar .sg-language .select-styled::after {
    content: "\f107";
    font-family: FontAwesome;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--gt-dd-btn-icon, #ffffff);
    pointer-events: none;
}

.sg-global-toolbar .sg-language ul.select-options {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: auto;
    min-width: 100%;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: var(--sidebar-bg);
    border: 1px solid var(--sidebar-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1060;
    max-height: 260px;
    overflow-y: auto;
}

.sg-global-toolbar .sg-language .select-options li {
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.3;
    color: var(--sidebar-text);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.12s ease, color 0.12s ease;
}

.sg-global-toolbar .sg-language .select-options li:hover {
    background: var(--sidebar-hover-bg);
    color: var(--primary-color);
}

.sg-global-toolbar .sg-language .select-options li + li {
    border-top: 1px solid var(--sidebar-border);
}

.sg-mobile-spacer {
    width: 40px;
    flex-shrink: 0;
}

.sg-dark .sg-global-toolbar {
    background: #1a1e26;
    border-bottom-color: #3f4654;
}

.sg-dark .sg-global-toolbar .sg-toolbar-date,
.sg-dark .sg-global-toolbar .sg-toolbar-date span {
    color: var(--toolbar-meta-text, #fff);
    font-weight: 700;
}

.sg-dark .sg-global-toolbar .sg-toolbar-date .fa {
    color: var(--toolbar-meta-icon, #fff);
}

.sg-dark .sg-global-toolbar .sg-toolbar-social a {
    color: var(--toolbar-meta-icon, #fff);
    opacity: 1;
}

.sg-dark .sg-global-toolbar .sg-toolbar-social a:hover {
    color: var(--toolbar-meta-text, #fff);
    opacity: 0.85;
}

.sg-dark .sg-global-toolbar .sg-gt-search-dd__trigger {
    color: var(--toolbar-meta-icon, #fff);
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
}

.sg-dark .sg-global-toolbar .sg-theme-dd__trigger {
    color: var(--text-primary, #e8ecf1);
    border-color: var(--surface-border, #3a404c);
    background: var(--surface-bg, #1a1e26);
}

.sg-dark .sg-global-toolbar .sg-gt-search-dd__trigger {
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #cb3803);
    background: var(--gt-dd-bg, #cb3803);
}

.sg-dark .sg-global-toolbar .sg-gt-search-dd__trigger:hover,
.sg-dark .sg-global-toolbar .sg-gt-search-dd__trigger:focus {
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #cb3803);
    background: var(--gt-dd-bg, #cb3803);
    filter: brightness(1.08);
}

.sg-dark .sg-global-toolbar .sg-theme-dd__trigger:hover,
.sg-dark .sg-global-toolbar .sg-theme-dd__trigger:focus {
    color: #fff;
    border-color: #000;
    background: #000;
}

.sg-dark .sg-global-toolbar .sg-gt-search-dd__caret {
    color: var(--gt-dd-accent, #fff);
}

.sg-dark .sg-global-toolbar .sg-google-translate-widget .goog-te-combo {
    background: var(--gt-dd-bg, #cb3803);
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #cb3803);
}

.sg-dark .sg-global-toolbar .sg-google-translate-widget .goog-te-combo:hover,
.sg-dark .sg-global-toolbar .sg-google-translate-widget .goog-te-combo:focus {
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #cb3803);
    background: var(--gt-dd-bg, #cb3803);
    filter: brightness(1.08);
}

.sg-dark .sg-gt-search-dd__trigger {
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #cb3803);
    background: var(--gt-dd-bg, #cb3803);
}

.sg-dark .sg-gt-search-dd__trigger:hover,
.sg-dark .sg-gt-search-dd__trigger:focus {
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #cb3803);
    background: var(--gt-dd-bg, #cb3803);
    filter: brightness(1.08);
}

.sg-dark .sg-theme-dd__trigger {
    color: var(--toolbar-meta-icon, #fff);
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
}

.sg-dark .sg-theme-dd__trigger:hover,
.sg-dark .sg-theme-dd__trigger:focus {
    color: var(--toolbar-meta-text, #fff);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.sg-dark .sg-theme-dd__panel {
    background: var(--sidebar-bg);
    border-color: var(--sidebar-border);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.sg-dark .sg-theme-dd__item {
    color: var(--sidebar-text);
}

.sg-dark .sg-theme-dd__item .fa {
    color: var(--sidebar-text-muted);
}

.sg-dark .sg-theme-dd__item:hover,
.sg-dark .sg-theme-dd__item:focus {
    background: var(--sidebar-hover-bg);
}

.sg-dark .sg-gt-search-dd__panel {
    background: var(--sidebar-bg);
    border-color: var(--sidebar-border);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.sg-dark .sg-gt-search-dd__search {
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    border-bottom-color: var(--sidebar-border);
}

.sg-dark .sg-gt-search-dd__item {
    color: var(--sidebar-text);
}

.sg-dark .sg-gt-search-dd__item:hover,
.sg-dark .sg-gt-search-dd__item.is-active {
    background: var(--sidebar-hover-bg);
}

.sg-dark .sg-global-toolbar .sg-language .select-styled {
    background: var(--gt-dd-bg, #cb3803);
    color: var(--gt-dd-text, #fff);
    border-color: var(--gt-dd-border, #cb3803);
    font-weight: 700;
}

.sg-dark .sg-global-toolbar .sg-language ul.select-options {
    background: var(--sidebar-bg);
    border-color: var(--sidebar-border);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.sg-dark .sg-global-toolbar .sg-language .select-options li {
    color: var(--sidebar-text);
}

.sg-dark .sg-global-toolbar .sg-language .select-options li + li {
    border-top-color: var(--sidebar-border);
}

/* ---- Mobile Top Bar ---- */
.sg-topbar-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-mobile-height);
    background: var(--sidebar-bg);
    border-bottom: 1px solid var(--sidebar-border);
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1030;
}

.sg-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sg-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sidebar-text);
    border-radius: 2px;
    transition: background var(--transition);
}

.sg-mobile-logo img {
    max-height: 40px;
    width: auto;
}

.sg-mobile-actions a {
    color: var(--sidebar-text);
    font-size: 16px;
    padding: 6px;
    text-decoration: none !important;
}

/* ---- Flash Messages ---- */
.sg-flash-messages {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    max-width: 360px;
}

@media (max-width: 991px) {
    .sg-flash-messages {
        top: calc(var(--topbar-mobile-height) + var(--global-toolbar-height) + 8px);
    }
}

.sg-flash-messages .alert {
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ---- Dark mode sidebar override ---- */
.sg-dark .sg-sidebar { background: var(--sidebar-bg); border-right-color: var(--sidebar-border); }
.sg-dark .sg-sidebar-link { color: var(--sidebar-text) !important; }
.sg-dark .sg-search-input { color: var(--sidebar-text); }
.sg-dark .sg-lang-select { color: var(--sidebar-text); background: var(--sidebar-hover-bg); }
.sg-dark .sg-topbar-mobile { background: var(--sidebar-bg); border-bottom-color: var(--sidebar-border); }
.sg-dark .sg-hamburger span { background: var(--sidebar-text); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    :root {
        --brut-header-offset: calc(var(--topbar-mobile-height) + var(--global-toolbar-height));
    }

    body {
        margin-left: 0 !important;
        padding-top: calc(var(--topbar-mobile-height) + var(--global-toolbar-height)) !important;
    }

    .sg-sidebar {
        transform: translateX(-100%);
        width: 260px;
        box-shadow: 4px 0 20px rgba(0,0,0,0.12);
    }

    .sg-sidebar.is-open {
        transform: translateX(0);
    }

    .sg-sidebar-close {
        display: block;
    }

    .sg-topbar-mobile {
        display: flex;
    }
}

@media (max-width: 575px) {
    .sg-global-toolbar .sg-toolbar-date {
        display: none;
    }
}

@media (min-width: 992px) {
    .sg-topbar-mobile { display: none !important; }
    .sg-sidebar-close { display: none !important; }
    .sg-sidebar {
        top: 0;
        height: 100vh;
        max-height: 100vh;
        transform: none !important;
    }

    .sg-global-toolbar {
        top: 0;
        left: var(--sidebar-width);
        right: 0;
        transform: none;
    }

    .sg-toolbar-meta-row {
        padding: 8px 18px;
    }

    .sg-breaking-section {
        padding-bottom: 18px;
    }

    .sg-breaking-section .sg-breaking-ticker {
        border-radius: 14px;
    }

    body {
        padding-top: var(--global-toolbar-height) !important;
    }

    .sg-flash-messages {
        top: calc(var(--global-toolbar-height) + 8px);
    }
}

/* Medium-large desktop (1200–1599px): prevent toolbar overlap (e.g. 1440px) */
@media (min-width: 1200px) and (max-width: 1599.98px) {
    .sg-toolbar-meta-row {
        justify-content: flex-start;
        gap: 12px;
        padding: 6px 12px;
        overflow: visible;
    }

    .sg-toolbar-left {
        flex: 0 0 auto;
        gap: 6px 10px;
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sg-toolbar-left::-webkit-scrollbar {
        display: none;
    }

    .sg-toolbar-left .sg-toolbar-cluster--quick-links {
        padding-left: 8px;
        margin-left: 0;
    }

    .sg-toolbar-right {
        flex: 0 0 auto;
        flex-shrink: 0;
        margin-left: auto;
        min-width: 0;
    }

    .sg-toolbar-cluster {
        padding: 0 8px;
        gap: 6px;
    }

    .sg-toolbar-cluster--social {
        display: none !important;
    }

    .sg-toolbar-quick-links__item {
        font-size: 12px;
        padding: 2px 5px;
        gap: 5px;
    }

    .sg-toolbar-action {
        font-size: 12px;
        padding: 4px 2px;
    }

    .sg-global-toolbar .sg-toolbar-date {
        font-size: 12px;
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-trigger {
        min-width: 96px;
        max-width: 120px;
        font-size: 12px;
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-name {
        max-width: 72px;
    }
}

/* Compact desktop (992–1199px): tighter toolbar + tickers */
@media (min-width: 992px) and (max-width: 1199.98px) {
    :root {
        --global-toolbar-height: 48px;
    }

    .sg-toolbar-meta-row {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 4px 10px;
        min-height: var(--global-toolbar-height);
        overflow: visible;
    }

    .sg-toolbar-left {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 0;
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sg-toolbar-left::-webkit-scrollbar {
        display: none;
    }

    .sg-toolbar-left .sg-toolbar-action {
        padding: 4px 8px;
        font-size: 12px;
        flex-shrink: 0;
        min-width: 32px;
        min-height: 32px;
        justify-content: center;
    }

    .sg-toolbar-left .sg-toolbar-action__label {
        display: none !important;
    }

    .sg-toolbar-left .sg-toolbar-action .fa {
        font-size: 15px;
        margin: 0;
    }

    .sg-toolbar-left .sg-toolbar-action + .sg-toolbar-action {
        border-left: 1px solid rgba(0, 0, 0, 0.14);
        margin-left: 0;
        padding-left: 10px;
    }

    .sg-toolbar-right {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        margin-left: 0;
        min-width: 0;
        border-left: 1px solid rgba(0, 0, 0, 0.14);
        padding-left: 0;
    }

    .sg-dark .sg-toolbar-left .sg-toolbar-action + .sg-toolbar-action,
    .sg-dark .sg-toolbar-right {
        border-left-color: rgba(255, 255, 255, 0.18);
    }

    .sg-toolbar-cluster {
        padding: 0 8px;
        gap: 4px;
        flex-shrink: 0;
    }

    .sg-toolbar-cluster--date {
        padding-left: 8px;
    }

    .sg-toolbar-cluster--social {
        display: none !important;
    }

    .sg-toolbar-quick-links__label {
        display: none !important;
    }

    .sg-toolbar-quick-links__sep {
        display: none !important;
    }

    .sg-toolbar-quick-links__item {
        padding: 4px 6px;
        font-size: 0;
        gap: 0;
    }

    .sg-toolbar-quick-links__icon {
        font-size: 15px;
    }

    .sg-global-toolbar .sg-toolbar-date {
        font-size: 11px;
        gap: 4px;
        white-space: nowrap;
    }

    .sg-font-global__btn,
    .sg-lang-direct__btn,
    .sg-global-toolbar .sg-theme-dd__trigger {
        min-width: var(--sg-toolbar-chip-min-w);
        height: var(--sg-toolbar-chip-h);
        padding: 0 var(--sg-toolbar-chip-pad-x);
        font-size: var(--sg-toolbar-chip-fs);
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-trigger {
        min-width: 96px;
        max-width: 120px;
        height: 30px;
        padding: 4px 8px;
        font-size: 12px;
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-name {
        max-width: 72px;
    }

    .sg-toolbar-social {
        gap: 6px 8px;
    }

    .sg-toolbar-social a {
        font-size: 14px;
        min-width: 20px;
        min-height: 20px;
    }

    .sg-global-toolbar .sg-toolbar-submit .sg-submit-btn {
        padding: 7px 10px;
        font-size: 11px;
    }

    .sg-global-toolbar .sg-toolbar-left .sg-toolbar-search {
        max-width: 420px;
    }

    .sg-breaking-ticker,
    .sg-external-ticker {
        padding: 0 10px 0 8px;
    }

    .sg-breaking-ticker__label,
    .sg-external-ticker__label {
        font-size: 10px;
        margin-right: 6px;
    }

    .sg-breaking-ticker__badge,
    .sg-external-ticker__badge {
        width: 24px;
        height: 24px;
        margin-right: 6px;
        font-size: 12px;
    }

    .sg-cricket-card {
        min-width: 170px;
        max-width: 200px;
    }

    .sg-external-ticker__cricket-body {
        flex-wrap: nowrap;
    }
}

/* Popular Posts - force lazy images to load in sidebar */
.sg-widget .entry-thumbnail img.lazy {
    display: block !important;
}

/* Popular Posts - broad cards matching reference */
.sg-widget .sg-post.post-style-1 {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    margin-bottom: 15px !important;
    align-items: flex-start !important;
    background: #fff;
}

.sg-widget .post-style-1 .entry-header {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 55% !important;
    width: 55% !important;
    max-width: 55% !important;
    min-width: 55% !important;
    overflow: hidden !important;
}

.sg-widget .post-style-1 .entry-header .entry-thumbnail {
    width: 100% !important;
    max-width: 100% !important;
    height: 110px !important;
    overflow: hidden !important;
    display: block !important;
}

.sg-widget .post-style-1 .entry-header .entry-thumbnail img {
    width: 100% !important;
    height: 110px !important;
    object-fit: cover !important;
    display: block !important;
    max-width: none !important;
}

.sg-widget .post-style-1 .entry-content {
    flex: 1 !important;
    overflow: hidden !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.sg-widget .post-style-1 .entry-content p {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 5px !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: hidden !important;
}

.sg-widget .post-style-1 .entry-meta ul li {
    font-size: 11px !important;
}

.sg-widget .global-list > li {
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Hide empty ad containers that cause blank space */
.sg-ad:empty,
.sg-ad .ad-content:empty {
    display: none !important;
}

.sg-ad .ad-content img[src=""] ,
.sg-ad .ad-content img:not([src]) {
    display: none !important;
}

/* Force sidebar widgets to use full width */
.sg-sidebar .sg-widget {
    width: 100% !important;
    box-sizing: border-box !important;
}

.sg-sidebar .global-list {
    width: 100% !important;
    box-sizing: border-box !important;
}

.sg-sidebar .sg-post.post-style-1 {
    width: 100% !important;
    box-sizing: border-box !important;
}
/* FIX RIGHT SIDEBAR SPACE ONLY */
/* add css */
.col-lg-4 .theiaStickySidebar {
    width: auto !important;
    left: auto !important;
    transform: none !important;
}

.col-lg-4 {
    padding-left: 0 !important;
}

.col-lg-8 {
    padding-right: 15px !important;
}

/* Popular post card bigger */

.sg-widget .post-style-1 {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
}

.sg-widget .post-style-1 .entry-header {
    flex: 0 0 110px !important;
    max-width: 110px !important;
}

.sg-widget .post-style-1 .entry-thumbnail img {
    width: 110px !important;
    height: 75px !important;
    object-fit: cover !important;
}

.sg-widget .post-style-1 .entry-content {
    flex: 1 !important;
}

/* ---- Footer col padding fix ---- */
/* The global .col-lg-4 { padding-left: 0 } rule was removing left padding from footer columns too,
   causing Popular Posts to start at the very left edge and overlap the sidebar.
   Override it specifically for footer columns. */
.footer .col-lg-4 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* ---- Sticky footer: main content fills viewport, footer at bottom ---- */
html.brut-site-footer-root,
html.brut-magazine-home-root {
    height: 100%;
}

body.brut-site-footer,
body.brut-magazine-home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main column fills viewport below header so footer stays off-screen until scroll */
body.brut-site-footer .sg-site-main,
body.brut-magazine-home .sg-site-main {
    flex: 1 1 auto;
    width: 100%;
    box-sizing: border-box;
    min-height: calc(100vh - var(--brut-header-offset));
    display: flex;
    flex-direction: column;
}

body.brut-site-footer .sg-site-main > .sg-page-content,
body.brut-site-footer .sg-site-main > .sg-main-content,
body.brut-site-footer .sg-site-main > .container-fluid,
body.brut-site-footer .sg-site-main > .container,
body.brut-magazine-home .sg-site-main > .brut-magazine-home-above-footer {
    flex: 1 1 auto;
    min-height: 100%;
    box-sizing: border-box;
}

body.brut-magazine-home .brut-magazine-home-above-footer {
    display: flex;
    flex-direction: column;
}

body.brut-magazine-home .brut-magazine-stack {
    flex: 1 1 auto;
    min-height: 0;
}

body.brut-site-footer > footer.brut-mag-footer,
body.brut-magazine-home > footer.brut-mag-footer {
    flex-shrink: 0;
}

/* ---- Brut magazine footer (header_1 / all pages) ---- */
html.brut-site-footer-root {
    background-color: #000;
}

body.brut-site-footer:not(.brut-magazine-home) {
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

body.brut-site-footer .footer {
    display: none !important;
}

@media (min-width: 992px) {
    /* Footer stays in content column (after left sidebar); body already has sidebar margin */
    body.brut-site-footer > footer.brut-mag-footer,
    body.brut-magazine-home > footer.brut-mag-footer {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.brut-mag-footer {
    background: #000000;
    color: #f0f0f0;
    padding: 0;
    margin-top: 0;
}

body.brut-site-footer > footer.brut-mag-footer {
    margin-bottom: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}

@media (max-width: 991px) {
    body.brut-site-footer > footer.brut-mag-footer {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.brut-mag-footer-main {
    padding: 52px 0 40px;
}

.brut-mag-footer-inner {
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px 48px;
}

@media (min-width: 992px) {
    .brut-mag-footer-inner {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.brut-mag-footer-brand-col {
    flex: 0 1 280px;
    min-width: 0;
}

.brut-mag-footer-brand {
    display: inline-block;
    margin: 0 0 28px;
    text-decoration: none;
}

.brut-mag-footer-brand:hover {
    opacity: 0.92;
}

.brut-mag-footer-brand img {
    max-height: 70px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.brut-mag-footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 0;
}

.brut-mag-footer-social a {
    display: inline-flex;
    width: auto;
    height: auto;
    min-width: 22px;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    opacity: 0.88;
}

.brut-mag-footer-social a:hover {
    background: transparent;
    color: #fff;
    opacity: 1;
}

.brut-mag-footer-social .sg-social-icon-x,
.sg-toolbar-social .sg-social-icon-x {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.brut-mag-footer-nav-cols {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 32px 56px;
    flex: 1 1 280px;
    min-width: 0;
}

@media (max-width: 767px) {
    .brut-mag-footer-nav-cols {
        justify-content: flex-start;
        width: 100%;
    }
}

.brut-mag-footer-col {
    min-width: 130px;
    flex: 0 1 auto;
}

.brut-mag-footer-col--categories {
    flex: 1 1 320px;
    max-width: 100%;
}

.brut-mag-footer-cat-grids {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 40px;
    align-items: start;
}

.brut-mag-footer-cat-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brut-mag-footer-cat-grid li {
    margin: 0;
}

.brut-mag-footer-cat-grid a {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    text-transform: capitalize;
    transition: color 0.15s ease;
}

.brut-mag-footer-cat-grid a:hover {
    color: #fff;
}

@media (max-width: 575px) {
    .brut-mag-footer-cat-grids {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.brut-mag-footer-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 16px;
    color: #8a8a8a;
}

.brut-mag-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.brut-mag-footer-col li {
    margin-bottom: 10px;
}

.brut-mag-footer-col a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    text-transform: capitalize;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.brut-mag-footer-col a:hover {
    text-decoration: underline;
}

.brut-mag-footer-col a .brut-mag-footer-ext {
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.65;
    vertical-align: super;
}

.brut-mag-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 22px 0 24px;
    margin: 0;
}

.brut-mag-footer-bottom-inner {
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 24px;
}

@media (min-width: 992px) {
    .brut-mag-footer-bottom-inner {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.brut-mag-footer-copy {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #8a8a8a;
}

.brut-mag-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.brut-mag-footer-legal li {
    display: inline-flex;
    align-items: center;
}

.brut-mag-footer-legal li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 14px;
    vertical-align: middle;
}

.brut-mag-footer-legal a {
    color: #8a8a8a;
    font-size: 12px;
    text-decoration: none;
    text-transform: capitalize;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.brut-mag-footer-legal a:hover {
    color: #fff;
}

.sg-live-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: #dc3545;
    border-radius: 4px;
    vertical-align: middle;
    animation: sg-live-pulse 1.5s ease-in-out infinite;
}

/* Hard-lock label via CSS so Google Translate cannot swap "Live" → જીવંત / etc. */
.sg-live-badge::before,
.sg-cricket-card__live::before,
.sg-live-display-tag::before {
    content: "Live";
    speak: literal-punctuation;
}

.sg-live-badge--overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    margin-left: 0;
    font-size: 10px;
    padding: 3px 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.sg-live-badge--inline {
    margin-left: 0;
    margin-right: 8px;
    font-size: 10px;
    padding: 3px 8px;
    vertical-align: middle;
}

.sg-cat-grid-card__media-wrap {
    position: relative;
}

.sg-cat-grid-card__tags {
    position: absolute;
    top: 8px;
    right: 8px;
    left: 8px;
    z-index: 7;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 6px;
    pointer-events: none;
}

.sg-cat-grid-card__tag {
    pointer-events: auto;
    display: inline-block;
    max-width: calc(50% - 3px);
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 4px;
    text-decoration: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.sg-cat-grid-card__tag:hover {
    background: var(--primary-color, #cb3803);
    color: #fff !important;
}

.sg-cat-grid-card__media,
.brut-vid-slide-thumb,
.brut-hero-main-media,
.brut-hero-cell-inner,
.brut-latest-card__media,
.sg-post .entry-header,
.sg-article-detail-media {
    position: relative;
}

.sg-article-detail-media .sg-live-badge--overlay {
    top: 12px;
    left: 12px;
    z-index: 6;
}

.brut-hero-cell-inner {
    display: block;
}

.sg-breaking-ticker__item-txt .sg-live-badge--inline {
    margin-right: 6px;
}

@keyframes sg-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

.sg-live-updates-feed {
    margin-top: 2rem;
    clear: both;
}

.sg-live-update-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.sg-live-update-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sg-live-update-item .entry-title {
    margin-bottom: 0.75rem;
}

.sg-live-update-item .entry-title .sg-live-badge--inline {
    vertical-align: middle;
    margin-left: 8px;
}

.sg-live-update-item__badge-row .sg-live-badge--inline {
    display: inline-block;
}

.sg-live-update-item__content {
    margin-bottom: 0.75rem;
}

.sg-live-update-item__blocks {
    margin-top: 0.5rem;
}

.sg-live-update-item__blocks .add-new-page,
.sg-live-update-item__blocks .sg-inner-image {
    margin-left: 0;
    margin-right: 0;
}

.live-published-list .live-published-item {
    background: #fff;
}

/* Short videos homepage section */
.brut-short-videos-section {
    margin: 1.25rem 0 1.5rem;
    padding: 0 0 0.25rem;
}

.brut-short-videos-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.brut-short-videos-track::-webkit-scrollbar {
    height: 6px;
}

.brut-short-videos-track::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.brut-reels-section .brut-short-video-card {
    flex: 0 0 calc((100% - 12px) / 2);
    scroll-snap-align: start;
}

.brut-short-video-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.brut-short-video-card__media {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}

.brut-short-video-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brut-short-video-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 2rem;
    opacity: 0.7;
}

.brut-short-video-card__play {
    position: absolute;
    inset: auto 8px 8px auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(227, 30, 37, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    pointer-events: none;
}

.brut-short-video-card__title {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sg-external-tickers-row--single {
    margin-bottom: 0;
}

.sg-external-tickers-row--single .sg-external-ticker {
    width: 100%;
}

/* Sidebar column ticker cards (market → widgets sidebar, cricket → ad sidebar) */
.sg-sidebar-ticker-card {
    --sidebar-ticker-body-h: 108px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.sg-sidebar-ticker-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
}

.sg-sidebar-ticker-card--market .sg-sidebar-ticker-card__head {
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border-bottom-color: #fde68a;
}

.sg-sidebar-ticker-card--cricket .sg-sidebar-ticker-card__head {
    background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom-color: #bbf7d0;
}

.sg-sidebar-ticker-card__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff !important;
}

.sg-sidebar-ticker-card__icon--market {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}

.sg-sidebar-ticker-card__icon--cricket {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 2px 6px rgba(21, 128, 61, 0.35);
}

.sg-sidebar-ticker-card__title {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #0f172a !important;
}

.sg-sidebar-ticker-card--market .sg-sidebar-ticker-card__title {
    color: #92400e !important;
}

.sg-sidebar-ticker-card--cricket .sg-sidebar-ticker-card__title {
    color: #166534 !important;
}

.sg-sidebar-ticker-card--prices .sg-sidebar-ticker-card__head {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    border-bottom-color: #bfdbfe;
}

.sg-sidebar-ticker-card__icon--prices {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.sg-sidebar-ticker-card--prices .sg-sidebar-ticker-card__title {
    color: #1e40af !important;
}

.sg-sidebar-ticker-card__body--prices {
    --sidebar-ticker-body-h: 152px;
    min-height: var(--sidebar-ticker-body-h);
    padding: 8px 10px 10px;
}

.sg-price-rows--sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    height: 100%;
}

.sg-price-rows__note {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sg-price-row--sidebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.sg-price-row__label {
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    flex: 0 0 auto;
}

.sg-price-row__value {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    text-align: right;
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

.sg-sidebar-ticker-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: var(--sidebar-ticker-body-h);
    padding: 10px 12px 12px;
    background: #fff;
}

.sg-sidebar-ticker-carousel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: var(--sidebar-ticker-body-h);
    width: 100%;
}

.sg-sidebar-ticker-carousel__viewport {
    flex: 1 1 auto;
    overflow: hidden;
    width: 100%;
    min-height: var(--sidebar-ticker-body-h);
}

.sg-sidebar-ticker-carousel__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
    will-change: transform;
}

.sg-sidebar-ticker-carousel__slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.sg-sidebar-ticker-carousel__slide .sg-sidebar-market-row,
.sg-sidebar-ticker-carousel__slide .sg-cricket-card--sidebar,
.sg-sidebar-ticker-carousel__slide .sg-market-card--sidebar {
    height: 100%;
    min-height: calc(var(--sidebar-ticker-body-h) - 4px);
    box-sizing: border-box;
}

.sg-sidebar-ticker-card__empty {
    margin: 0;
    padding: 14px 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    color: #64748b !important;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #e2e8f0;
}

.sg-sidebar-market-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    color: inherit !important;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sg-cricket-card--sidebar {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    box-sizing: border-box;
}

.sg-cricket-card--sidebar.sg-cricket-card--live {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fffbfb 0%, #fef2f2 100%);
}

.sg-cricket-card--sidebar .sg-cricket-card__teams {
    font-size: 12px;
}

.sg-cricket-card--sidebar .sg-cricket-card__status {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sg-market-card--sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    min-height: calc(var(--sidebar-ticker-body-h) - 4px);
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 10px 12px;
    box-sizing: border-box;
    text-decoration: none !important;
    color: inherit !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.sg-market-card--sidebar:hover,
a.sg-market-card--sidebar:focus-visible {
    border-color: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.18);
}

.sg-market-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.sg-market-card__name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #92400e !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-market-card__change {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.3;
}

.sg-market-card__change--up {
    color: #166534 !important;
    background: #dcfce7;
}

.sg-market-card__change--down {
    color: #b91c1c !important;
    background: #fee2e2;
}

.sg-market-card__change--flat {
    color: #64748b !important;
    background: #f1f5f9;
}

.sg-market-card__value {
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    color: #0f172a !important;
}

.sg-market-card--sidebar .sg-market-card__value {
    font-size: 17px;
    margin-top: auto;
}

a.sg-sidebar-market-row:hover,
a.sg-sidebar-market-row:focus-visible {
    background: #fff;
    border-color: #fcd34d;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.sg-sidebar-market-row .sg-market-chip__name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b !important;
}

.sg-sidebar-market-row .sg-market-chip__value {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #0f172a !important;
}

.sg-sidebar-market-row .sg-market-chip__change {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Market embed sidebar: compact body — tall enough for tape, not stretched to Cricket height */
.sg-sidebar-ticker-card--market-embed {
    --sidebar-ticker-body-compact-h: 50px;
    min-height: 0 !important;
    height: auto !important;
    align-self: flex-start;
}

.sg-sidebar-ticker-card--market-embed .sg-sidebar-ticker-card__head {
    padding: 8px 12px;
}

.sg-sidebar-ticker-card--market-embed .sg-sidebar-ticker-card__body {
    flex: 0 0 auto;
    min-height: var(--sidebar-ticker-body-compact-h) !important;
    max-height: none !important;
    height: var(--sidebar-ticker-body-compact-h) !important;
    padding: 4px 8px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed {
    flex: 1 1 auto;
    width: 100%;
    min-height: 42px;
    height: 42px;
    max-height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    line-height: 1.2;
}

.sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed .tradingview-widget-container {
    width: 100%;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed .tradingview-widget-container__widget {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    overflow: hidden;
}

.sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed iframe {
    display: block;
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0;
    border: 0;
}

.sg-sidebar-ticker-card--market:not(.sg-sidebar-ticker-card--market-embed) .sg-sidebar-ticker-carousel,
.sg-sidebar-ticker-card--cricket .sg-sidebar-ticker-carousel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: var(--sidebar-ticker-body-h);
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .sg-sidebar-ticker-carousel__track {
        transition: none;
    }
}

body.brut-magazine-home .sg-page-with-detail-sidebar .sg-sidebar-ticker-card:first-child,
body.brut-magazine-home .brut-home-ad-sidebar > .sg-sidebar-ticker-card:first-child {
    margin-top: 0;
}

.sg-dark .sg-sidebar-ticker-card {
    background: #1a1f26;
    border-color: #3f4654;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.sg-dark .sg-sidebar-ticker-card__head {
    background: #232830;
    border-bottom-color: #3f4654;
}

.sg-dark .sg-sidebar-ticker-card--market .sg-sidebar-ticker-card__head {
    background: linear-gradient(180deg, #292419 0%, #1f1c14 100%);
    border-bottom-color: #4a4030;
}

.sg-dark .sg-sidebar-ticker-card--cricket .sg-sidebar-ticker-card__head {
    background: linear-gradient(180deg, #14241a 0%, #101f17 100%);
    border-bottom-color: #2a4a36;
}

.sg-dark .sg-sidebar-ticker-card__title {
    color: #e5e7eb !important;
}

.sg-dark .sg-sidebar-ticker-card--market .sg-sidebar-ticker-card__title {
    color: #fcd34d !important;
}

.sg-dark .sg-sidebar-ticker-card--cricket .sg-sidebar-ticker-card__title {
    color: #6ee7b7 !important;
}

.sg-dark .sg-sidebar-ticker-card__body {
    background: #1a1f26;
}

.sg-dark .sg-sidebar-ticker-card__empty {
    background: #232830;
    border-color: #3f4654;
    color: #9ca3af !important;
}

.sg-dark .sg-sidebar-market-row {
    background: #232830;
    border-color: #3f4654;
}

.sg-dark a.sg-sidebar-market-row:hover,
.sg-dark a.sg-sidebar-market-row:focus-visible {
    background: #2a3039;
    border-color: #6b5a2e;
}

.sg-dark .sg-sidebar-market-row .sg-market-chip__name {
    color: #9ca3af !important;
}

.sg-dark .sg-sidebar-market-row .sg-market-chip__value {
    color: #f3f4f6 !important;
}

.sg-dark .sg-cricket-card--sidebar {
    background: #232830;
    border-color: #3f4654;
}

.sg-dark .sg-cricket-card--sidebar .sg-cricket-card__teams {
    color: #f1f5f9 !important;
}

.sg-dark .sg-cricket-card--sidebar .sg-cricket-card__score {
    color: #4ade80 !important;
}

.sg-dark .sg-cricket-card--sidebar .sg-cricket-card__score-lines {
    border-top-color: #3f4654;
}

.sg-dark .sg-cricket-card--sidebar .sg-cricket-card__status,
.sg-dark .sg-cricket-card--sidebar .sg-cricket-card__vs {
    color: #9ca3af !important;
}

.sg-dark .sg-cricket-card--sidebar.sg-cricket-card--live {
    background: #2a1f1f;
    border-color: #7f1d1d;
}

.sg-dark .sg-sidebar-ticker-card--prices .sg-sidebar-ticker-card__head {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-bottom-color: #334155;
}

.sg-dark .sg-sidebar-ticker-card--prices .sg-sidebar-ticker-card__title {
    color: #bfdbfe !important;
}

.sg-dark .sg-price-rows__note {
    color: #94a3b8;
}

.sg-dark .sg-price-row--sidebar {
    background: #232830;
    border-color: #3f4654;
}

.sg-dark .sg-price-row__label {
    color: #cbd5e1;
}

.sg-dark .sg-price-row__value {
    color: #f8fafc;
}

html.sg-dark .sg-sidebar-ticker-card--market-embed .sg-sidebar-ticker-card__body,
body.sg-dark .sg-sidebar-ticker-card--market-embed .sg-sidebar-ticker-card__body {
    background: #1a1f26 !important;
}

html.sg-dark .sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed,
body.sg-dark .sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed,
.sg-tv-embed--dark {
    background: #131722;
}

html.sg-dark .sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed iframe,
body.sg-dark .sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed iframe,
.sg-tv-embed--dark iframe {
    background-color: #131722 !important;
}

html.sg-dark .sg-sidebar-ticker-card--market-embed .sg-sidebar-ticker-card__body,
body.sg-dark .sg-sidebar-ticker-card--market-embed .sg-sidebar-ticker-card__body {
    background: #131722 !important;
}

.sg-dark .sg-market-card--sidebar {
    background: linear-gradient(180deg, #2a2418 0%, #1f1a12 100%);
    border-color: #6b5a2e;
}

.sg-dark a.sg-market-card--sidebar:hover,
.sg-dark a.sg-market-card--sidebar:focus-visible {
    border-color: #d97706;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.sg-dark .sg-market-card__name {
    color: #fcd34d !important;
}

.sg-dark .sg-market-card__value {
    color: #f3f4f6 !important;
}

@media (max-width: 991.98px) {
    .sg-sidebar-ticker-card {
        margin-bottom: 14px;
    }

    /* Mobile top stack: cricket score box full width inside card */
    .sg-home-top-ticker-stack .sg-sidebar-ticker-card--cricket .sg-sidebar-ticker-card__body {
        padding: 0;
    }

    .sg-home-top-ticker-stack .sg-cricket-card--sidebar {
        width: 100%;
        max-width: none;
        min-width: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    .sg-home-top-ticker-stack .sg-sidebar-ticker-card--prices .sg-sidebar-ticker-card__body--prices {
        padding: 8px 10px 10px;
    }

    .sg-home-top-ticker-stack .sg-price-row--sidebar {
        width: 100%;
    }

    html.sg-dark .sg-home-top-ticker-stack .sg-sidebar-ticker-card--prices .sg-sidebar-ticker-card__body--prices,
    body.sg-dark .sg-home-top-ticker-stack .sg-sidebar-ticker-card--prices .sg-sidebar-ticker-card__body--prices {
        background: #131722 !important;
    }

    html.sg-dark .sg-home-top-ticker-stack .sg-price-row--sidebar,
    body.sg-dark .sg-home-top-ticker-stack .sg-price-row--sidebar {
        background: #232830;
        border-color: #3f4654;
    }

    html.sg-dark .sg-home-top-ticker-stack .sg-sidebar-ticker-card--market-embed .sg-sidebar-ticker-card__body,
    body.sg-dark .sg-home-top-ticker-stack .sg-sidebar-ticker-card--market-embed .sg-sidebar-ticker-card__body,
    html.sg-dark .sg-home-top-ticker-stack .sg-sidebar-ticker-card--market .sg-sidebar-ticker-card__body,
    body.sg-dark .sg-home-top-ticker-stack .sg-sidebar-ticker-card--market .sg-sidebar-ticker-card__body {
        background: #131722 !important;
    }

    html.sg-dark .sg-home-top-ticker-stack .sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed,
    body.sg-dark .sg-home-top-ticker-stack .sg-sidebar-ticker-card--market-embed .sg-external-ticker__embed {
        background: #131722;
    }

    html.sg-dark .sg-home-top-ticker-stack .sg-market-card--sidebar,
    body.sg-dark .sg-home-top-ticker-stack .sg-market-card--sidebar {
        background: #232830;
        border-color: #3f4654;
    }

    html.sg-dark .sg-home-top-ticker-stack .sg-market-card__name,
    body.sg-dark .sg-home-top-ticker-stack .sg-market-card__name {
        color: #fcd34d !important;
    }

    html.sg-dark .sg-home-top-ticker-stack .sg-market-card__value,
    body.sg-dark .sg-home-top-ticker-stack .sg-market-card__value {
        color: #f3f4f6 !important;
    }

    html.sg-dark .sg-home-top-ticker-stack .sg-sidebar-market-row .sg-market-chip__name,
    body.sg-dark .sg-home-top-ticker-stack .sg-sidebar-market-row .sg-market-chip__name {
        color: #9ca3af !important;
    }

    html.sg-dark .sg-home-top-ticker-stack .sg-sidebar-market-row .sg-market-chip__value,
    body.sg-dark .sg-home-top-ticker-stack .sg-sidebar-market-row .sg-market-chip__value {
        color: #f3f4f6 !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .brut-reels-section .brut-short-video-card {
        flex: 0 0 calc((100% - 24px) / 3);
    }
}

@media (min-width: 992px) {
    .brut-reels-section .brut-short-video-card {
        flex: 0 0 calc((100% - 36px) / 4);
    }
}

/* Client: home mobile touch targets + video/contact block */
@media (max-width: 767px) {
    body.brut-magazine-home .brut-rail-mobile-btn,
    body.brut-magazine-home .brut-cat-five-prev,
    body.brut-magazine-home .brut-cat-five-next {
        min-width: 44px;
        min-height: 44px;
    }
    body.brut-magazine-home .brut-magazine-inner {
        overflow-x: hidden;
    }
}

.brut-video-contact .brut-vc-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 992px) {
    .brut-video-contact .brut-vc-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: stretch;
    }
    .brut-video-contact .brut-vc-side {
        padding: 1.25rem 1.5rem;
        background: #fff;
    }
}

.sg-center-widgets {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.sg-google-translate-host,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.sg-lang-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.sg-lang-btns__btn {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sg-lang-btns__btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sg-lang-btns__btn.is-active {
    background: #fff;
    color: var(--primary-color, #cb3803);
    border-color: #fff;
}

.sg-global-toolbar .sg-lang-btns__btn {
    color: inherit;
    border-color: rgba(0, 0, 0, 0.15);
}

.sg-global-toolbar .sg-lang-btns__btn.is-active {
    background: var(--primary-color, #cb3803);
    color: #fff;
    border-color: var(--primary-color, #cb3803);
}

/* Google Translate multi-language dropdown (toolbar) */
.sg-global-toolbar .sg-translate-dd {
    position: relative;
    margin-bottom: 0;
    min-width: 140px;
    max-width: min(240px, 46vw);
    flex: 1 1 auto;
}

.sg-global-toolbar .sg-translate-dd__trigger {
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    gap: 8px;
    padding: 6px 34px 6px 10px;
}

.sg-global-toolbar .sg-translate-dd__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex-shrink: 0;
    font-size: 15px;
    color: var(--sidebar-text-muted);
}

.sg-global-toolbar .sg-translate-dd__label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-global-toolbar .sg-translate-dd__list {
    min-width: 220px;
    max-height: 280px;
    overflow-y: auto;
}

.sg-global-toolbar .sg-translate-dd__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sg-global-toolbar .sg-translate-dd__item.is-active .sg-translate-dd__item-txt {
    font-weight: 600;
    color: var(--primary-color);
}

.sg-global-toolbar .sg-translate-dd__group-label {
    padding: 8px 14px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sidebar-text-muted);
    cursor: default;
    pointer-events: none;
    list-style: none;
}

.sg-global-toolbar .sg-translate-dd__group-label + .sg-translate-dd__item,
.sg-global-toolbar .sg-translate-dd__item + .sg-translate-dd__group-label {
    border-top: 1px solid var(--sidebar-border);
    margin-top: 4px;
    padding-top: 10px;
}

.sg-global-toolbar .sg-translate-dd__item-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex-shrink: 0;
    font-size: 15px;
    color: var(--sidebar-text-muted);
}

/* Full-page loader: #cb3803 bg + logo fully inside white circle with small gap */
#preloader.sg-preloader--brand,
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cb3803 !important;
}
#preloader .sg-preloader__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sg-preloader-in 0.55s ease-out both;
}
#preloader .sg-preloader__logo-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    animation: sg-preloader-pulse 1.4s ease-in-out infinite alternate;
}
#preloader .sg-preloader-logo,
#preloader img.sg-preloader-logo,
#preloader img.tr-preloader {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: contain !important;
    filter: none !important;
    margin: 0 auto !important;
}
@keyframes sg-preloader-in {
    from { opacity: 0; transform: scale(1.12); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes sg-preloader-pulse {
    from { opacity: 0.92; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

/* Header font + language + theme chips (shared sizing) */
.sg-font-global,
.sg-lang-direct,
.sg-global-toolbar .sg-toolbar-theme {
    display: inline-flex;
    align-items: center;
    gap: var(--sg-toolbar-chip-gap);
    margin-left: 0;
}
.sg-font-global__btn,
.sg-lang-direct__btn,
.sg-global-toolbar .sg-theme-dd__trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff;
    color: #222;
    font-size: var(--sg-toolbar-chip-fs);
    font-weight: 700;
    line-height: 1;
    min-width: var(--sg-toolbar-chip-min-w);
    height: var(--sg-toolbar-chip-h);
    min-height: var(--sg-toolbar-chip-h);
    max-height: var(--sg-toolbar-chip-h);
    padding: 0 var(--sg-toolbar-chip-pad-x);
    margin: 0;
    cursor: pointer;
    border-radius: var(--sg-toolbar-chip-radius);
    vertical-align: middle;
    white-space: nowrap;
}
.sg-lang-direct__btn {
    min-width: auto;
    padding: 0 10px;
    font-size: max(11px, calc(var(--sg-toolbar-chip-fs) - 1px));
}
.sg-font-global__btn:hover,
.sg-lang-direct__btn:hover,
.sg-lang-direct__btn.is-active,
.sg-font-global__btn.is-active,
.sg-global-toolbar .sg-theme-dd__trigger:hover,
.sg-global-toolbar .sg-theme-dd__trigger:focus {
    background: #000;
    border-color: #000;
    color: #fff;
}
.sg-font-global__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.sg-toolbar-auth__btn {
    margin-left: 6px;
}

/* Ensure header account sits after language on the far right */
.sg-global-toolbar .sg-toolbar-right .sg-toolbar-user {
    order: 99;
    margin-left: 0;
}

/* Cookie banner */
.sg-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10040;
    background: rgba(20, 20, 20, 0.96);
    color: #fff;
    padding: 14px 16px;
}
.sg-cookie-banner[hidden] { display: none !important; }
.sg-cookie-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sg-cookie-banner__text { margin: 0; flex: 1 1 280px; font-size: 0.92rem; }
.sg-cookie-banner__text a { color: #fff; text-decoration: underline; }
.sg-cookie-banner__actions { display: flex; gap: 8px; }
.sg-cookie-banner__btn {
    border: 0;
    border-radius: 4px;
    padding: 8px 14px;
    font-weight: 600;
    cursor: pointer;
}
.sg-cookie-banner__btn--accept { background: var(--primary-color, #cb3803); color: #fff; }
.sg-cookie-banner__btn--reject { background: #555; color: #fff; }

/* Daily prices compact box */
.sg-price-box {
    margin: 0 0 12px;
    background: #111;
    color: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.sg-price-box__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 8px 12px;
    font-size: 0.85rem;
}
.sg-price-box__badge { color: #f5c518; }
.sg-price-box__title { font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.sg-price-box__note { opacity: 0.75; font-size: 0.8rem; }
.sg-price-box__sep { opacity: 0.4; }
.sg-price-box__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}
.sg-price-box__label { opacity: 0.75; margin-right: 4px; }
.sg-price-box__value { font-weight: 700; }

/* Breaking ticker: icon only (no repeating label text) */
.sg-breaking-ticker__label { display: none !important; }

/* Reels polish */
.brut-reels-section { margin: 1.25rem 0 1.75rem; }
.brut-short-videos-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.brut-short-video-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}
.brut-short-video-card__media {
    display: block;
    position: relative;
    aspect-ratio: 9 / 16;
    background: #1a1a1a;
}
.brut-short-video-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brut-short-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    background: rgba(0,0,0,0.2);
}
.brut-short-video-card__title {
    display: block;
    padding: 8px;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #fff;
    max-height: 3.2em;
    overflow: hidden;
}

/* Footer — single Download Mobile App button */
.sg-footer-download-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    background: transparent;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.sg-footer-download-app-btn:hover,
.sg-footer-download-app-btn:focus {
    color: #fff !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    opacity: 1;
    outline: none;
}
.sg-footer-download-app-btn__icon {
    font-size: 22px;
    line-height: 1;
    color: #fff;
}
.sg-footer-download-app-btn__text {
    white-space: nowrap;
}

.sg-footer-download-app-btn--on-light {
    margin-top: 0;
    border-color: rgba(0, 0, 0, 0.75);
    color: #111 !important;
}

.sg-footer-download-app-btn--on-light:hover,
.sg-footer-download-app-btn--on-light:focus {
    color: #111 !important;
    background: rgba(0, 0, 0, 0.04);
    border-color: #000;
}

.sg-footer-download-app-btn--on-light .sg-footer-download-app-btn__icon {
    color: #111;
}

.sg-download-mobile-app-btn--our-apps {
    margin: 0 0 1.25rem;
}

/* App download badges (legacy / unused on Our Apps page) */
.sg-app-download {
    margin-top: 1rem;
}
.sg-app-download__heading {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: inherit;
}
.sg-app-download__logo {
    margin-bottom: 0.75rem;
}
.sg-app-download__logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: transparent;
}
.sg-app-download__badges {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}
.sg-app-download__badge {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    min-width: 0;
    padding: 4px 8px 4px 6px;
    border-radius: 6px;
    text-decoration: none !important;
    color: #111 !important;
    background: #fff;
    line-height: 1.1;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.sg-app-download__badge i {
    font-size: 14px;
    width: 14px;
    text-align: center;
}
.sg-app-download__badge-text {
    display: flex;
    flex-direction: column;
}
.sg-app-download__badge--play,
.sg-app-download__badge--ios {
    background: #fff;
}
.sg-app-download__badge-label {
    font-size: 8px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.75;
}
.sg-app-download__badge-store {
    font-size: 11px;
    font-weight: 700;
}
.sg-app-download__more {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
}
.sg-app-download--footer {
    margin-top: 18px;
}
.sg-app-download--footer .sg-app-download__badges {
    flex-wrap: nowrap;
    gap: 8px;
}
.sg-app-download--page {
    margin: 1.25rem 0 1.75rem;
}
.sg-app-download--page .sg-app-download__logo img {
    width: auto;
    max-width: 220px;
    height: auto;
    max-height: 72px;
}

/* Submit News: space below header + narrower form */
.sg-submit-news-page {
    padding-top: 28px;
    padding-bottom: 40px;
}
.sg-submit-news-page .section-content,
.sg-submit-news-page .contact-form {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 991px) {
    .sg-submit-news-page {
        padding-top: 36px;
    }
}

/* TinyMCE project gallery (Submit News) */
#media-gallery .modal-dialog,
#video-gallery .modal-dialog {
    width: 80%;
    max-width: 1200px;
}
#divUploadBtn,
#divVideoUploadBtn,
#selectImage,
#selectVideo,
.delete-image-btn,
.delete-video-btn {
    display: none;
}
#media-gallery .image,
#video-gallery .video {
    float: none;
    display: block;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 8px;
    cursor: pointer;
}
#media-gallery .image.selected,
#video-gallery .video.selected {
    border: 3px solid #cb3803;
}
#media-library,
#video-library {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}
#media-library .col-md-2,
#video-library .col-md-2 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0;
    text-align: center;
}
#video-gallery .video_lvl {
    display: block;
    max-width: 100px;
    margin: 0 auto 8px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#ajax-image-loading,
#ajax-video-loading {
    text-align: center;
}
#load-more-image,
#load-more-video {
    display: none;
    text-align: center;
}
#media-gallery.modal,
#video-gallery.modal {
    z-index: 200010;
}
body.sg-gallery-modal-open .modal-backdrop {
    z-index: 200000;
}
body.sg-gallery-modal-open .mce-floatpanel,
body.sg-gallery-modal-open .mce-window,
body.sg-gallery-modal-open .mce-modal-block {
    z-index: 1000 !important;
}

/* =========================================================
   Header toolbar responsive: tablet + phone
   ========================================================= */
.sg-toolbar-date__short {
    display: none;
}

.sg-toolbar-action__label {
    display: inline;
}

@media (max-width: 991.98px) {
    :root {
        --global-toolbar-height: 48px;
        --sg-toolbar-chip-h: 28px;
        --sg-toolbar-chip-min-w: 28px;
        --sg-toolbar-chip-pad-x: 5px;
        --sg-toolbar-chip-fs: 11px;
    }

    .sg-global-toolbar {
        overflow: visible;
    }

    .sg-toolbar-meta-row {
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        min-height: var(--global-toolbar-height);
        overflow: visible;
    }

    .sg-toolbar-left {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 4px;
    }

    .sg-toolbar-right {
        flex: 1 1 auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        gap: 6px;
        margin-left: 0;
        min-width: 0;
        /* Must stay visible so theme/user dropdowns are not clipped */
        overflow: visible;
    }

    .sg-toolbar-right::-webkit-scrollbar {
        display: none;
    }

    /* Icon-only Search / ePaper */
    .sg-toolbar-action {
        padding: 6px 8px;
        min-width: 36px;
        min-height: 36px;
        justify-content: center;
        border-radius: 4px;
    }

    .sg-toolbar-action__label {
        display: none !important;
    }

    .sg-toolbar-action .fa {
        font-size: 16px;
        margin: 0;
    }

    /* Short date on tablet */
    .sg-toolbar-date__full {
        display: none !important;
    }

    .sg-toolbar-date__short {
        display: inline !important;
    }

    .sg-global-toolbar .sg-toolbar-date {
        display: flex;
        font-size: 12px;
        gap: 4px;
        flex-shrink: 0;
    }

    .sg-font-global,
    .sg-lang-direct,
    .sg-global-toolbar .sg-toolbar-theme {
        margin-left: 0;
        gap: var(--sg-toolbar-chip-gap);
        flex-shrink: 0;
        align-items: center;
    }

    .sg-toolbar-cluster--display,
    .sg-toolbar-cluster--lang,
    .sg-toolbar-cluster--user {
        display: inline-flex;
        align-items: center;
        align-self: center;
        gap: var(--sg-toolbar-chip-gap);
    }

    .sg-toolbar-cluster--display {
        gap: var(--sg-toolbar-chip-gap);
    }

    .sg-font-global__btn,
    .sg-lang-direct__btn,
    .sg-global-toolbar .sg-theme-dd__trigger {
        min-width: var(--sg-toolbar-chip-min-w);
        height: var(--sg-toolbar-chip-h);
        padding: 0 var(--sg-toolbar-chip-pad-x);
        font-size: var(--sg-toolbar-chip-fs);
    }

    .sg-global-toolbar .sg-theme-dd__icon {
        font-size: var(--sg-toolbar-chip-fs);
    }

    .sg-toolbar-social {
        display: none !important;
    }

    .sg-toolbar-cluster--social {
        display: none !important;
    }

    .sg-global-toolbar .sg-toolbar-theme {
        flex-shrink: 0;
        position: relative;
        z-index: 1060;
    }

    .sg-global-toolbar .sg-theme-dd {
        position: relative;
    }

    /* Panel position is set in theme-switcher.js (viewport-clamped fixed) */
    .sg-global-toolbar .sg-theme-dd__panel {
        top: auto;
        left: auto;
        right: auto;
        min-width: 176px;
        max-width: min(220px, calc(100vw - 16px));
        z-index: 2100;
        background: var(--sidebar-bg, #fff);
        color: var(--sidebar-text, #1a1a1a);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    }

    .sg-global-toolbar .sg-theme-dd__panel:not([hidden]) {
        display: block;
    }

    .sg-global-toolbar .sg-theme-dd__item {
        color: var(--sidebar-text, #1a1a1a);
    }

    .sg-global-toolbar .sg-theme-dd__item .fa {
        color: var(--sidebar-text-muted, #555);
    }

    .sg-global-toolbar .sg-theme-dd__trigger {
        min-width: var(--sg-toolbar-chip-min-w);
        width: auto;
        height: var(--sg-toolbar-chip-h);
        padding: 0 var(--sg-toolbar-chip-pad-x);
    }

    .sg-global-toolbar .sg-theme-dd__icon {
        font-size: var(--sg-toolbar-chip-fs);
    }

    /* Keep full language search dropdown inside user menu (not icon-only) */
    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__trigger {
        min-width: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: 36px !important;
        padding: 6px 10px !important;
        justify-content: space-between !important;
    }

    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__label,
    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__caret {
        display: inline !important;
    }

    .sg-global-toolbar .sg-toolbar-user {
        max-width: none;
        flex-shrink: 0;
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-trigger {
        min-width: var(--sg-toolbar-chip-h);
        max-width: var(--sg-toolbar-chip-h);
        width: var(--sg-toolbar-chip-h);
        height: var(--sg-toolbar-chip-h);
        padding: 0;
        gap: 0;
        justify-content: center;
        border-radius: var(--sg-toolbar-chip-radius);
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-name,
    .sg-global-toolbar .sg-toolbar-user .sg-user-caret {
        display: none !important;
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-icon {
        font-size: calc(var(--sg-toolbar-chip-fs) + 2px);
        line-height: 1;
    }

    .sg-global-toolbar .sg-toolbar-right .sg-toolbar-user {
        margin-left: 2px;
    }

    /* User account dropdown — fixed panel below mobile header */
    .sg-global-toolbar .sg-toolbar-user {
        position: relative;
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-dropdown {
        position: static;
    }

    .sg-global-toolbar .sg-toolbar-user .dropdown-menu,
    .sg-global-toolbar .sg-toolbar-user .sg-user-dropdown__menu {
        position: fixed !important;
        top: calc(var(--topbar-mobile-height) + var(--global-toolbar-height) + 4px) !important;
        right: max(8px, env(safe-area-inset-right, 0px)) !important;
        left: auto !important;
        bottom: auto !important;
        width: min(300px, calc(100vw - 16px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 16px) !important;
        max-height: min(92vh, 620px);
        overflow-x: hidden;
        overflow-y: auto;
        margin: 0 !important;
        transform: none !important;
        z-index: 2200 !important;
        background: var(--sidebar-bg, #fff);
        border: 1px solid var(--sidebar-border, #e8e8e8);
        border-radius: 8px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    }

    .sg-global-toolbar .sg-user-dropdown__section--lang {
        display: block;
        padding: 12px 14px 10px;
    }

    .sg-global-toolbar .sg-user-dropdown__section--lang .sg-user-dropdown__section-title {
        display: block;
        margin: 0 0 8px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--sidebar-text-muted, #888);
    }

    .sg-global-toolbar .sg-user-dropdown__divider {
        display: block;
        margin: 0;
    }

    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd {
        display: block;
        position: relative;
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .sg-global-toolbar .sg-user-dropdown.is-lang-panel-open .sg-user-dropdown__menu {
        overflow: visible !important;
    }

    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd.is-panel-open .sg-gt-search-dd__panel {
        position: fixed !important;
        z-index: 2301 !important;
        background: var(--sidebar-bg, #fff) !important;
        border: 1px solid var(--sidebar-border, #e8e8e8) !important;
        border-radius: 8px !important;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
        overflow: hidden !important;
    }

    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd.is-panel-open .sg-gt-search-dd__list {
        position: relative;
        z-index: 1;
        background: var(--sidebar-bg, #fff);
    }

    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__panel {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0;
        margin-top: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--sidebar-border, #e8e8e8);
        border-radius: 6px;
        overflow: visible;
    }

    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__panel:not([hidden]) {
        display: block !important;
    }

    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__search {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        font-size: 14px;
    }

    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__list {
        height: 230px !important;
        max-height: 230px !important;
        min-height: 230px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .sg-global-toolbar .sg-user-dropdown .sg-gt-search-dd__item {
        padding: 10px 12px;
        font-size: 14px;
        white-space: normal;
        line-height: 1.35;
    }

    .sg-global-toolbar .sg-user-dropdown .sg-user-dropdown__translate,
    .sg-global-toolbar .sg-user-dropdown .sg-google-translate-widget {
        display: block;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    :root {
        --global-toolbar-height: 46px;
        --sg-toolbar-chip-h: 28px;
        --sg-toolbar-chip-min-w: 28px;
        --sg-toolbar-chip-pad-x: 5px;
        --sg-toolbar-chip-fs: 11px;
    }

    .sg-toolbar-meta-row {
        padding: 5px 8px;
        gap: 6px;
    }

    .sg-global-toolbar .sg-toolbar-date {
        display: none !important;
    }

    .sg-toolbar-cluster--date {
        display: none !important;
    }

    .sg-toolbar-action {
        min-width: 34px;
        min-height: 34px;
        padding: 5px 6px;
    }
}

@media (max-width: 379.98px) {
    :root {
        --global-toolbar-height: 84px;
        --sg-toolbar-chip-pad-x: 4px;
        --sg-toolbar-chip-gap: 1px;
    }

    .sg-toolbar-meta-row {
        flex-wrap: wrap;
        row-gap: 6px;
        align-items: center;
    }

    .sg-toolbar-left {
        flex: 1 1 auto;
    }

    .sg-toolbar-right {
        flex: 1 1 100%;
        width: 100%;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
        overflow: visible;
    }

    .sg-toolbar-cluster {
        padding: 0 4px;
    }
}

/* Auth pages: normal sentence case; text vs link look different */
.account-content h1 {
    text-transform: none !important;
}

.account-content button {
    text-transform: none !important;
}

.account-content .middle-content.sg-auth-footer {
    margin-top: 8px;
}

.account-content .middle-content.sg-auth-footer p {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #6b6b6b;
    text-transform: none !important;
}

.account-content .middle-content.sg-auth-footer .sg-auth-footer__text {
    display: inline;
    font-size: 14px;
    font-weight: 400;
    color: #6b6b6b;
    text-transform: none !important;
    position: static;
}

.account-content .middle-content.sg-auth-footer .sg-auth-footer__text:before,
.account-content .middle-content.sg-auth-footer .sg-auth-footer__text:after,
.account-content .middle-content.sg-auth-footer span:before,
.account-content .middle-content.sg-auth-footer span:after {
    content: none !important;
    display: none !important;
}

.account-content .middle-content.sg-auth-footer .sg-auth-footer__link {
    display: inline;
    margin-left: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color, #cb3803) !important;
    text-decoration: underline;
    text-transform: none !important;
}

.account-content .middle-content.sg-auth-footer .sg-auth-footer__link:hover {
    color: #b0181e !important;
}

/* =========================================================
   Dark / light / system — page content surfaces
   ========================================================= */
html.sg-dark {
    background-color: var(--page-bg-alt);
    color-scheme: dark;
}

body.sg-dark {
    color: var(--text-primary);
    background-color: var(--page-bg-alt) !important;
}

body.sg-dark .sg-site-main,
body.sg-dark .sg-page-content,
body.sg-dark .sg-main-content,
body.sg-dark .container,
body.sg-dark .container-fluid {
    color: var(--text-primary);
}

body.sg-dark .sg-header-categories-bar,
html.sg-dark .sg-header-categories-bar {
    background: var(--sidebar-bg, #14171e) !important;
    border-bottom-color: var(--sidebar-border, #3a404c) !important;
}

body.sg-dark .sg-header-categories-label,
html.sg-dark .sg-header-categories-label {
    color: var(--sidebar-text, #f0f2f5) !important;
}

body.sg-dark .sg-header-categories-scroll,
html.sg-dark .sg-header-categories-scroll {
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

body.sg-dark .sg-header-categories-scroll::-webkit-scrollbar-thumb,
html.sg-dark .sg-header-categories-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.24);
}

body.sg-dark .sg-header-categories-scroll::-webkit-scrollbar-thumb:hover,
html.sg-dark .sg-header-categories-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.38);
}

body.sg-dark .sg-header-categories-list a,
body.sg-dark .sg-header-cat-item > a,
body.sg-dark .sg-header-cat-link,
body.sg-dark .sg-header-cat-link span,
body.sg-dark .sg-header-categories-bar a,
html.sg-dark .sg-header-categories-list a,
html.sg-dark .sg-header-cat-item > a,
html.sg-dark .sg-header-cat-link,
html.sg-dark .sg-header-cat-link span,
html.sg-dark .sg-header-categories-bar a {
    color: #f0f2f5 !important;
}

body.sg-dark .sg-header-cat-item > a:hover,
body.sg-dark .sg-header-cat-link:hover,
body.sg-dark .sg-header-categories-bar a:hover,
html.sg-dark .sg-header-cat-item > a:hover,
html.sg-dark .sg-header-cat-link:hover,
html.sg-dark .sg-header-categories-bar a:hover {
    color: var(--primary-color, #cb3803) !important;
    text-decoration: underline;
}

body.sg-dark .sg-header-subcategories,
html.sg-dark .sg-header-subcategories {
    background: var(--sidebar-bg, #14171e) !important;
    border-color: var(--sidebar-border, #3a404c) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

body.sg-dark .sg-header-subcategories a,
html.sg-dark .sg-header-subcategories a {
    color: var(--sidebar-text, #f0f2f5) !important;
}

body.sg-dark .sg-header-subcategories a:hover,
html.sg-dark .sg-header-subcategories a:hover {
    background: var(--sidebar-hover-bg, #232830) !important;
    color: var(--primary-color, #cb3803) !important;
}

body.brut-magazine-home.sg-dark .sg-header-categories-bar--in-content,
html.sg-dark body.brut-magazine-home .sg-header-categories-bar--in-content {
    background: var(--surface-bg, #1a1e26) !important;
    border-color: var(--surface-border, #3a404c) !important;
}

/* Brut magazine homepage — main column + cards */
body.brut-magazine-home.sg-dark .brut-magazine-wrap {
    background: var(--page-bg) !important;
}

body.brut-magazine-home.sg-dark .brut-hero-main,
body.brut-magazine-home.sg-dark .brut-hero-cell,
body.brut-magazine-home.sg-dark .brut-card,
body.brut-magazine-home.sg-dark .brut-cat-lead,
body.brut-magazine-home.sg-dark .brut-home-post-row,
body.brut-magazine-home.sg-dark .brut-post-list-scope .brut-home-post-row,
body.brut-magazine-home.sg-dark .brut-post-list-scope .brut-home-grid-ad-row {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
}

body.brut-magazine-home.sg-dark .brut-home-post-row:hover,
body.brut-magazine-home.sg-dark .brut-post-list-scope .brut-home-post-row:hover {
    border-color: var(--surface-border-soft) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

body.brut-magazine-home.sg-dark .brut-hero-main-media,
body.brut-magazine-home.sg-dark .brut-cat-lead-media,
body.brut-magazine-home.sg-dark .brut-card .brut-card-thumb,
body.brut-magazine-home.sg-dark .brut-vid-slide-thumb,
body.brut-magazine-home.sg-dark .brut-home-post-row__media-wrap--featured {
    background: var(--surface-media) !important;
}

body.brut-magazine-home.sg-dark .brut-hero-main-body h2 a,
body.brut-magazine-home.sg-dark .brut-hero-cell-title,
body.brut-magazine-home.sg-dark .brut-card .brut-card-title,
body.brut-magazine-home.sg-dark .brut-cat-lead-body h3 a,
body.brut-magazine-home.sg-dark .brut-home-post-row__title-link,
body.brut-magazine-home.sg-dark .brut-post-list-scope .brut-home-post-row__title-link {
    color: var(--text-heading) !important;
}

body.brut-magazine-home.sg-dark .brut-hero-main-excerpt,
body.brut-magazine-home.sg-dark .brut-hero-cell-excerpt,
body.brut-magazine-home.sg-dark .brut-cat-lead-desc,
body.brut-magazine-home.sg-dark .brut-home-post-row__excerpt,
body.brut-magazine-home.sg-dark .brut-post-list-scope .brut-home-post-row__excerpt,
body.brut-magazine-home.sg-dark .brut-home-post-row__meta,
body.brut-magazine-home.sg-dark .brut-post-list-scope .brut-home-post-row__meta {
    color: var(--text-secondary) !important;
}

body.brut-magazine-home.sg-dark .brut-home-post-row__meta a,
body.brut-magazine-home.sg-dark .brut-post-list-scope .brut-home-post-row__meta a {
    color: var(--text-muted) !important;
}

body.brut-magazine-home.sg-dark .brut-section-title,
body.brut-magazine-home.sg-dark .brut-videos-strip-head .brut-section-title {
    color: var(--text-section) !important;
}

body.brut-magazine-home.sg-dark .brut-videos-strip-head a.brut-btn-viewall,
body.brut-magazine-home.sg-dark .brut-videos-strip-nav {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
    color: var(--text-heading) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

body.brut-magazine-home.sg-dark .brut-videos-strip-head a.brut-btn-viewall:hover,
body.brut-magazine-home.sg-dark .brut-videos-strip-nav:hover {
    background: var(--surface-muted) !important;
    border-color: var(--surface-border-soft) !important;
    color: var(--text-heading) !important;
}

body.brut-magazine-home.sg-dark .brut-home-ad-sidebar__inner,
body.sg-dark .sg-listing-dual-sidebar .brut-home-ad-sidebar__inner {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
}

body.brut-magazine-home.sg-dark .brut-home-ad-slot,
body.sg-dark .sg-listing-dual-sidebar .brut-home-ad-slot {
    background: var(--surface-muted) !important;
}

/* Sidebar widgets (Editor Picks, Poll, etc.) */
body.sg-dark .sg-article-detail-widgets .sg-widget,
body.sg-dark .brut-home-ad-sidebar__widgets .sg-widget,
body.sg-dark .sg-page-with-detail-sidebar .sg-widget,
body.sg-dark .sg-listing-dual-sidebar .sg-widget {
    background: var(--surface-bg);
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-primary);
}

body.sg-dark .widget-title {
    color: var(--text-heading);
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

body.sg-dark .sg-widget p,
body.sg-dark .sg-widget label {
    color: var(--text-primary);
}

body.sg-dark .sg-widget .post-style-1 .entry-title,
body.sg-dark .sg-widget .post-style-1 .entry-title a,
body.sg-dark .sg-widget .post-style-1 .entry-content p {
    color: var(--text-heading);
}

body.sg-dark .sg-widget .post-style-1 .entry-meta ul li,
body.sg-dark .sg-widget .post-style-1 .entry-meta ul li a {
    color: var(--text-muted);
}

/* General site pages (category, article list, CMS pages) */
body.sg-dark .sg-post .entry-title,
body.sg-dark .sg-post .entry-title a,
body.sg-dark .entry-title,
body.sg-dark .entry-title a {
    color: var(--text-heading);
}

body.sg-dark .entry-content,
body.sg-dark .entry-content p,
body.sg-dark p {
    color: var(--text-primary);
}

body.sg-dark a {
    color: var(--text-secondary);
}

body.sg-dark a:hover {
    color: var(--primary-color, #cb3803);
}

/* Category bar links — keep readable (override generic body.sg-dark a) */
body.sg-dark .sg-header-categories-bar a:not(:hover),
html.sg-dark .sg-header-categories-bar a:not(:hover) {
    color: #f0f2f5 !important;
}

/* Keep header toolbar links/icons visible in dark mode */
body.sg-dark .sg-global-toolbar a.sg-toolbar-action {
    color: var(--toolbar-meta-text, #ffffff);
}

body.sg-dark .sg-global-toolbar a.sg-toolbar-action .fa {
    color: var(--toolbar-meta-icon, #ffffff) !important;
}

body.sg-dark .sg-global-toolbar a.sg-toolbar-action:hover,
body.sg-dark .sg-global-toolbar a.sg-toolbar-action:focus {
    color: var(--primary-color, #cb3803);
}

body.sg-dark .sg-global-toolbar a.sg-toolbar-action:hover .fa,
body.sg-dark .sg-global-toolbar a.sg-toolbar-action:focus .fa {
    color: var(--primary-color, #cb3803) !important;
}

body.sg-dark .breadcrumb,
body.sg-dark .breadcrumb-item,
body.sg-dark .breadcrumb-item a {
    color: var(--text-muted);
}

body.sg-dark .breadcrumb-item.active {
    color: var(--text-secondary);
}

body.sg-dark .form-control,
body.sg-dark select,
body.sg-dark textarea {
    background-color: var(--surface-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--surface-border) !important;
}

body.sg-dark .btn-load-more,
body.sg-dark button.btn-load-more {
    background: var(--surface-bg);
    color: var(--text-primary);
    border-color: var(--surface-border);
}

body.sg-dark .progress {
    background: var(--surface-muted);
}

body.sg-dark .progress-bar {
    background: var(--primary-color, #cb3803);
}

body.sg-dark .sg-download-app-page {
    background: var(--page-bg) !important;
}

body.sg-dark .sg-download-app-page__hero {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25) !important;
}

body.sg-dark .sg-download-app-page__title {
    color: var(--text-heading) !important;
}

body.sg-dark .sg-download-app-page__lead {
    color: var(--text-secondary) !important;
}

body.sg-dark .sg-sitemap-page {
    background: var(--page-bg) !important;
}

body.sg-dark .sg-sitemap-page__card {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22) !important;
}

body.sg-dark .sg-sitemap-page__title {
    color: var(--text-heading) !important;
}

body.sg-dark .sg-sitemap-page__intro {
    color: var(--text-secondary) !important;
}

body.sg-dark .sg-sitemap-page__section-title {
    color: var(--text-heading) !important;
    border-bottom-color: var(--surface-border);
}

body.sg-dark .sg-sitemap-page a {
    color: var(--text-secondary);
}

body.sg-dark .sg-sitemap-page a:hover {
    color: var(--primary-color, #cb3803);
}

/* =========================================================
   Site-wide dark — all front pages (category, search, article, CMS)
   Overrides page-level inline light backgrounds.
   ========================================================= */
body.sg-dark .sg-category-page,
body.sg-dark .sg-search-page,
body.sg-dark .sg-page-content,
body.sg-dark .sg-static-page,
body.sg-dark .visual-stories-page,
body.sg-dark .account-content {
    background: var(--page-bg) !important;
    color: var(--text-primary);
}

body.sg-dark .sg-cat-page-title,
body.sg-dark .sg-search-page .sg-search-section__title,
body.sg-dark .section-title h1,
body.sg-dark .section-title h2,
body.sg-dark .section-title h3,
body.sg-dark .section-title h4 {
    color: var(--text-heading) !important;
}

body.sg-dark .sg-cat-sub-nav__item {
    color: var(--text-secondary) !important;
}

body.sg-dark .sg-cat-sub-nav__item:not(.is-active):hover {
    color: var(--primary-color, #cb3803) !important;
}

body.sg-dark .sg-cat-sub-nav__item.is-active {
    background: var(--primary-color, #cb3803) !important;
    color: #fff !important;
}

body.sg-dark .sg-cat-grid-card,
body.sg-dark .sg-search-page .sg-cat-grid-card,
body.sg-dark .sg-category-page .sg-cat-grid-card {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
}

body.sg-dark .sg-cat-grid-card:hover,
body.sg-dark .sg-search-page .sg-cat-grid-card:hover {
    border-color: var(--surface-border-soft) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28) !important;
}

body.sg-dark .sg-cat-grid-card__body,
body.sg-dark .sg-search-page .sg-cat-grid-card__body,
body.sg-dark .sg-category-page .sg-cat-grid-card__body {
    background: var(--surface-bg) !important;
    color: var(--text-primary) !important;
}

body.sg-dark .sg-cat-grid-card__title,
body.sg-dark .sg-cat-grid-card__title-link,
body.sg-dark .sg-category-page .sg-cat-grid-card__title,
body.sg-dark .sg-category-page .sg-cat-grid-card__title-link,
body.sg-dark .sg-search-page .sg-cat-grid-card__title-link {
    color: var(--text-heading) !important;
}

body.sg-dark .sg-cat-grid-card__meta,
body.sg-dark .sg-cat-grid-card__meta li,
body.sg-dark .sg-cat-grid-card__meta li span,
body.sg-dark .sg-cat-grid-card__meta li i,
body.sg-dark .sg-cat-grid-card__meta a,
body.sg-dark .sg-category-page .sg-cat-grid-card__meta,
body.sg-dark .sg-category-page .sg-cat-grid-card__meta li,
body.sg-dark .sg-category-page .sg-cat-grid-card__meta a,
body.sg-dark .sg-search-page .sg-cat-grid-card__meta,
body.sg-dark .sg-search-page .sg-cat-grid-card__meta a {
    color: var(--text-muted) !important;
}

body.sg-dark .sg-cat-grid-card__excerpt,
body.sg-dark .sg-category-page .sg-cat-grid-card__excerpt,
body.sg-dark .sg-search-page .sg-cat-grid-card__excerpt {
    color: var(--text-secondary) !important;
}

body.sg-dark .sg-search-page .sg-search-section__bar .search-form form,
body.sg-dark .sg-search-page .sg-search-filter-panel,
body.sg-dark .sg-search-page .sg-search-filter-panel__inner {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
}

body.sg-dark .sg-search-page .sg-search-section__bar .search-form form .form-control {
    background: transparent !important;
    color: var(--text-primary) !important;
}

body.sg-dark .sg-search-page .sg-search-section__bar .search-form form .form-control::placeholder {
    color: var(--text-muted) !important;
}

body.sg-dark .sg-search-page .search-form__filter,
html.sg-dark .sg-search-page .search-form__filter {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
    color: #f0f2f5 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
}

body.sg-dark .sg-search-page .search-form__filter-icon,
html.sg-dark .sg-search-page .search-form__filter-icon {
    background: var(--surface-muted) !important;
    border-color: var(--surface-border) !important;
    color: #f0f2f5 !important;
}

body.sg-dark .sg-search-page .search-form__filter-label,
html.sg-dark .sg-search-page .search-form__filter-label {
    color: #f0f2f5 !important;
}

body.sg-dark .sg-search-page .search-form__filter:hover:not(:disabled),
html.sg-dark .sg-search-page .search-form__filter:hover:not(:disabled) {
    background: var(--surface-muted) !important;
    border-color: var(--surface-border-soft) !important;
    color: #ffffff !important;
}

body.sg-dark .sg-search-page .search-form__filter:hover:not(:disabled) .search-form__filter-label,
html.sg-dark .sg-search-page .search-form__filter:hover:not(:disabled) .search-form__filter-label,
body.sg-dark .sg-search-page .search-form__filter:hover:not(:disabled) .search-form__filter-icon,
html.sg-dark .sg-search-page .search-form__filter:hover:not(:disabled) .search-form__filter-icon {
    color: #ffffff !important;
}

body.sg-dark .sg-search-page .search-form__filter:disabled,
html.sg-dark .sg-search-page .search-form__filter:disabled {
    opacity: 1;
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

body.sg-dark .sg-search-page .search-form__filter:disabled .search-form__filter-label,
html.sg-dark .sg-search-page .search-form__filter:disabled .search-form__filter-label,
body.sg-dark .sg-search-page .search-form__filter:disabled .search-form__filter-icon,
html.sg-dark .sg-search-page .search-form__filter:disabled .search-form__filter-icon {
    color: rgba(255, 255, 255, 0.5) !important;
}

body.sg-dark .sg-search-page .search-form__filter.is-active,
html.sg-dark .sg-search-page .search-form__filter.is-active {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
    color: #f0f2f5 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
    cursor: pointer;
}

body.sg-dark .sg-search-page .search-form__filter.is-active .search-form__filter-label,
html.sg-dark .sg-search-page .search-form__filter.is-active .search-form__filter-label {
    color: #f0f2f5 !important;
}

body.sg-dark .sg-search-page .search-form__filter.is-active .search-form__filter-icon,
html.sg-dark .sg-search-page .search-form__filter.is-active .search-form__filter-icon {
    background: var(--surface-muted) !important;
    border-color: var(--surface-border) !important;
    color: #f0f2f5 !important;
}

body.sg-dark .sg-search-page .search-form__filter.is-active:hover,
html.sg-dark .sg-search-page .search-form__filter.is-active:hover {
    background: var(--surface-muted) !important;
    border-color: var(--surface-border-soft) !important;
    color: #ffffff !important;
}

body.sg-dark .sg-search-page .search-form__filter.is-active:hover .search-form__filter-label,
html.sg-dark .sg-search-page .search-form__filter.is-active:hover .search-form__filter-label,
body.sg-dark .sg-search-page .search-form__filter.is-active:hover .search-form__filter-icon,
html.sg-dark .sg-search-page .search-form__filter.is-active:hover .search-form__filter-icon {
    color: #ffffff !important;
}

body.sg-dark .sg-search-page .sg-search-section__bar .search-form form button.search-form__submit,
html.sg-dark .sg-search-page .sg-search-section__bar .search-form form button.search-form__submit {
    background: var(--primary-color, #cb3803) !important;
    color: #fff !important;
}

body.sg-dark .sg-search-page .sg-search-section__bar .search-form form button.search-form__submit:hover,
html.sg-dark .sg-search-page .sg-search-section__bar .search-form form button.search-form__submit:hover {
    background: #c41920 !important;
    color: #fff !important;
}

body.sg-dark .sg-search-page .sg-search-section__filter select,
body.sg-dark .sg-search-page .sg-search-filter-panel select,
body.sg-dark .sg-search-page .sg-search-filter-panel input {
    background: var(--surface-muted) !important;
    color: var(--text-primary) !important;
    border-color: var(--surface-border) !important;
}

body.sg-dark .sg-article-detail-only .post-details > .sg-section,
body.sg-dark .sg-article-detail-only .sg-section .section-content {
    background: var(--surface-bg) !important;
    color: var(--text-primary);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22) !important;
}

body.sg-dark .sg-static-page .section-content,
body.sg-dark .sg-static-page .sg-post {
    background: var(--surface-bg) !important;
    color: var(--text-primary);
    border-color: var(--surface-border);
}

body.sg-dark .sg-section .section-content {
    color: var(--text-primary);
}

body.sg-dark .sg-post,
body.sg-dark .sg-widget .sg-post.post-style-1 {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border);
}

body.sg-dark .sg-listing-dual-sidebar .brut-home-ad-sidebar__inner,
body.sg-dark .sg-page-with-detail-sidebar .brut-home-ad-sidebar__inner {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
}

/* Post row cards — all pages (article related, category, search, saved) */
body.sg-dark .brut-home-post-row,
body.sg-dark .brut-post-list-scope .brut-home-post-row,
body.sg-dark .brut-post-list-scope .brut-home-grid-ad-row {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
}

body.sg-dark .brut-home-post-row:hover,
body.sg-dark .brut-post-list-scope .brut-home-post-row:hover {
    border-color: var(--surface-border-soft) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

body.sg-dark .brut-home-post-row__title-link,
body.sg-dark .brut-post-list-scope .brut-home-post-row__title-link {
    color: var(--text-heading) !important;
}

body.sg-dark .brut-home-post-row__excerpt,
body.sg-dark .brut-post-list-scope .brut-home-post-row__excerpt,
body.sg-dark .brut-home-post-row__meta,
body.sg-dark .brut-post-list-scope .brut-home-post-row__meta {
    color: var(--text-secondary) !important;
}

body.sg-dark .brut-home-post-row__meta a,
body.sg-dark .brut-post-list-scope .brut-home-post-row__meta a {
    color: var(--text-muted) !important;
}

body.sg-dark .brut-section-title,
body.sg-dark .brut-videos-strip-head .brut-section-title {
    color: var(--text-section) !important;
}

body.sg-dark .sg-font-global__btn,
body.sg-dark .sg-lang-direct__btn,
body.sg-dark .sg-global-toolbar .sg-theme-dd__trigger {
    background: var(--surface-bg);
    color: var(--text-primary);
    border-color: var(--surface-border);
}

body.sg-dark .sg-font-global__btn:hover,
body.sg-dark .sg-lang-direct__btn:hover,
body.sg-dark .sg-lang-direct__btn.is-active,
body.sg-dark .sg-font-global__btn.is-active,
body.sg-dark .sg-global-toolbar .sg-theme-dd__trigger:hover,
body.sg-dark .sg-global-toolbar .sg-theme-dd__trigger:focus {
    background: var(--primary-color, #cb3803);
    border-color: var(--primary-color, #cb3803);
    color: #fff;
}

body.sg-dark .sg-contact-page .contact-form,
body.sg-dark .sg-contact-page .contact-info,
body.sg-dark .sg-epaper-page .sg-epaper-card,
body.sg-dark .sg-epaper-page .sg-epaper-toolbar {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
    color: var(--text-primary);
}

body.sg-dark .pagination .page-link {
    background: var(--surface-bg);
    border-color: var(--surface-border);
    color: var(--text-secondary);
}

body.sg-dark .pagination .page-item.active .page-link {
    background: var(--primary-color, #cb3803);
    border-color: var(--primary-color, #cb3803);
    color: #fff;
}

/* CMS static pages (Our Apps, Privacy, Terms, etc.) — override inline light styles */
body.sg-dark .sg-static-page__card,
html.sg-dark .sg-static-page__card {
    background: var(--surface-bg) !important;
    border-color: var(--surface-border) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28) !important;
}

body.sg-dark .sg-static-page__title,
html.sg-dark .sg-static-page__title {
    color: var(--text-heading) !important;
}

body.sg-dark .sg-static-page__body,
html.sg-dark .sg-static-page__body,
body.sg-dark .sg-static-page__body.paragraph,
html.sg-dark .sg-static-page__body.paragraph {
    color: var(--text-secondary) !important;
}

body.sg-dark .sg-static-page__body h1,
body.sg-dark .sg-static-page__body h2,
body.sg-dark .sg-static-page__body h3,
body.sg-dark .sg-static-page__body h4,
html.sg-dark .sg-static-page__body h1,
html.sg-dark .sg-static-page__body h2,
html.sg-dark .sg-static-page__body h3,
html.sg-dark .sg-static-page__body h4 {
    color: var(--text-heading) !important;
}

body.sg-dark .sg-static-page__body a,
html.sg-dark .sg-static-page__body a {
    color: var(--primary-color, #cb3803) !important;
}

body.sg-dark .sg-static-page__body a:hover,
html.sg-dark .sg-static-page__body a:hover {
    color: var(--primary-color, #cb3803) !important;
    opacity: 0.9;
}

body.sg-dark .sg-static-page__body strong,
html.sg-dark .sg-static-page__body strong {
    color: var(--text-heading);
}

body.sg-dark .sg-static-page__body em,
html.sg-dark .sg-static-page__body em {
    color: var(--text-muted);
}

body.sg-dark .sg-static-page__breadcrumb .breadcrumb-item a,
html.sg-dark .sg-static-page__breadcrumb .breadcrumb-item a {
    color: var(--text-muted) !important;
}

body.sg-dark .sg-static-page__breadcrumb .breadcrumb-item a:hover,
html.sg-dark .sg-static-page__breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color, #cb3803) !important;
}

body.sg-dark .sg-static-page__breadcrumb .breadcrumb-item.active,
html.sg-dark .sg-static-page__breadcrumb .breadcrumb-item.active {
    color: var(--text-heading) !important;
}

body.sg-dark .sg-static-page__body .sg-footer-download-app-btn--on-light,
html.sg-dark .sg-static-page__body .sg-footer-download-app-btn--on-light {
    border-color: rgba(255, 255, 255, 0.75) !important;
    color: #fff !important;
    background: transparent;
}

body.sg-dark .sg-static-page__body .sg-footer-download-app-btn--on-light:hover,
body.sg-dark .sg-static-page__body .sg-footer-download-app-btn--on-light:focus,
html.sg-dark .sg-static-page__body .sg-footer-download-app-btn--on-light:hover,
html.sg-dark .sg-static-page__body .sg-footer-download-app-btn--on-light:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #fff !important;
}

body.sg-dark .sg-static-page__body .sg-footer-download-app-btn--on-light .sg-footer-download-app-btn__icon,
html.sg-dark .sg-static-page__body .sg-footer-download-app-btn--on-light .sg-footer-download-app-btn__icon {
    color: #fff !important;
}

/* =========================================================
   Toolbar chips — strict row alignment (mobile / tablet)
   ========================================================= */
@media (max-width: 991.98px) {
    .sg-global-toolbar .sg-toolbar-right {
        display: flex;
        align-items: center;
        align-content: center;
        gap: 0;
    }

    .sg-global-toolbar .sg-toolbar-cluster {
        min-height: 0;
        height: var(--sg-toolbar-chip-h);
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 8px;
        padding-right: 8px;
        gap: var(--sg-toolbar-chip-gap);
        align-items: center;
        align-self: center;
    }

    .sg-global-toolbar .sg-toolbar-cluster--display {
        padding-left: 0;
    }

    .sg-global-toolbar .sg-toolbar-cluster--user {
        padding-right: 0;
    }

    .sg-global-toolbar .sg-toolbar-cluster + .sg-toolbar-cluster {
        border-left: none;
        position: relative;
        margin-left: 2px;
        padding-left: 10px;
    }

    .sg-global-toolbar .sg-toolbar-cluster + .sg-toolbar-cluster::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: var(--sg-toolbar-chip-h);
        background: rgba(0, 0, 0, 0.14);
        pointer-events: none;
    }

    .sg-dark .sg-global-toolbar .sg-toolbar-cluster + .sg-toolbar-cluster::before {
        background: rgba(255, 255, 255, 0.18);
    }

    .sg-global-toolbar .sg-font-global,
    .sg-global-toolbar .sg-lang-direct,
    .sg-global-toolbar .sg-toolbar-theme,
    .sg-global-toolbar .sg-theme-dd,
    .sg-global-toolbar .sg-toolbar-user,
    .sg-global-toolbar .sg-toolbar-user .sg-user-dropdown {
        display: inline-flex;
        align-items: center;
        align-self: center;
        height: var(--sg-toolbar-chip-h);
    }

    .sg-global-toolbar .sg-font-global__btn,
    .sg-global-toolbar .sg-lang-direct__btn,
    .sg-global-toolbar .sg-theme-dd__trigger {
        width: auto;
        min-width: var(--sg-toolbar-chip-min-w);
        height: var(--sg-toolbar-chip-h) !important;
        min-height: var(--sg-toolbar-chip-h) !important;
        max-height: var(--sg-toolbar-chip-h) !important;
        padding: 0 var(--sg-toolbar-chip-pad-x) !important;
        border-width: 1px !important;
    }

    .sg-global-toolbar .sg-theme-dd__trigger {
        width: var(--sg-toolbar-chip-h) !important;
        min-width: var(--sg-toolbar-chip-h) !important;
        max-width: var(--sg-toolbar-chip-h) !important;
        padding: 0 !important;
    }

    .sg-global-toolbar .sg-theme-dd__icon {
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-trigger,
    .sg-global-toolbar .sg-toolbar-user .sg-user-trigger--guest {
        width: var(--sg-toolbar-chip-h) !important;
        min-width: var(--sg-toolbar-chip-h) !important;
        max-width: var(--sg-toolbar-chip-h) !important;
        height: var(--sg-toolbar-chip-h) !important;
        min-height: var(--sg-toolbar-chip-h) !important;
        max-height: var(--sg-toolbar-chip-h) !important;
        padding: 0 !important;
        margin: 0;
        gap: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        line-height: 1 !important;
        border-radius: var(--sg-toolbar-chip-radius) !important;
        border-width: 1px !important;
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-icon,
    .sg-global-toolbar .sg-toolbar-user .sg-user-trigger--guest .sg-user-icon {
        font-size: 13px !important;
        width: 13px;
        height: 13px;
        line-height: 1 !important;
        margin: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sg-global-toolbar .sg-toolbar-user .sg-user-avatar {
        width: calc(var(--sg-toolbar-chip-h) - 8px) !important;
        height: calc(var(--sg-toolbar-chip-h) - 8px) !important;
    }

    .sg-global-toolbar .sg-font-global__btn.is-active,
    .sg-global-toolbar .sg-lang-direct__btn.is-active {
        border-width: 1px !important;
    }
}

