.logo-text-wrap {
    min-width: 220px;
    max-width: 220px;
    text-align: center;
    margin-right: 15px;
    background-color: var(--primary-color);
}

#switch-mode {
    position: fixed;
    top: 48%;
    left: 0;
    width: 50px;
    text-align: center;
    z-index: 9999;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0 3px 3px 0;
    padding: 5px;
}

#switch-mode .sm-icon {
    color: #fff;
}

#switch-mode .sm-text {
    font-size: 9px;
    color: #aaa;
    text-transform: uppercase;
    line-height: 1.1em;
    display: block;
    margin: 2px 0;
}

#switch-mode .sm-button {
    overflow: hidden;
    width: 60%;
    margin: 8px auto;
    position: relative;
    border-radius: 20px;
    background: #555;
    height: 10px;
}

#switch-mode .sm-button span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #888;
    position: absolute;
    top: 0;
    left: 0;
}

#switch-mode.active .sm-button span {
    background: #0060FF;
    left: auto;
    right: 0;
}

#switch-mode.active .sm-button {
    background: #333;
}

.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;
    --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;
}

/* ---- Site typography (front) ---- */
html {
    font-size: var(--site-font-size-base);
}

@media (min-width: 992px) {
    html {
        font-size: var(--site-font-size-base-lg);
    }
}

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-toolbar-date {
    font-size: 13px !important;
}

.sg-global-toolbar .sg-toolbar-date span {
    font-size: 13px !important;
}

.brut-mag-footer-col-title {
    font-size: 15px !important;
}

.brut-mag-footer-col a,
.brut-mag-footer-cat-grid a,
.brut-mag-footer-copy,
.brut-mag-footer-legal a {
    font-size: 14px !important;
}

.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 {
    --sidebar-bg: #111318;
    --sidebar-border: #2a2a2a;
    --sidebar-text: #e8e8e8;
    --sidebar-text-muted: #666;
    --sidebar-hover-bg: #1e2028;
}

/* ---- 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: #e31e25;
}

.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: #e31e25;
}

.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: #e31e25;
}
.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: #e31e25;
}

/* User dropdown fix inside sidebar */
.sg-user-dropdown .dropdown-menu {
    position: absolute !important;
    top: auto !important;
    bottom: 100% !important;
    left: 0 !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;
}

/* ---- 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;
}

.sg-toolbar-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    width: 100%;
    min-height: var(--global-toolbar-height);
    padding: 6px 12px;
    box-sizing: border-box;
    gap: 14px;
}

.sg-global-toolbar.sg-global-toolbar--meta-only .sg-toolbar-meta-row {
    justify-content: flex-end;
}

.sg-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

.sg-toolbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-left: auto;
}

.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: 12px;
    color: var(--sidebar-text-muted);
}

.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-global-toolbar .sg-toolbar-lang {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.sg-global-toolbar .sg-toolbar-lang .select,
.sg-global-toolbar .sg-language .select,
.sg-global-toolbar .sg-lang-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;
    padding: 0 0 16px;
    box-sizing: border-box;
    background: transparent;
}

.sg-breaking-section .sg-breaking-ticker {
    pointer-events: auto;
}

.sg-breaking-ticker {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    padding: 8px 14px;
    margin: 0;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid rgba(184, 150, 12, 0.45);
    background: linear-gradient(
        135deg,
        #3d2e00 0%,
        #7a6008 38%,
        #5a4506 68%,
        #3d2e00 100%
    );
    text-decoration: none !important;
    color: #fff !important;
    overflow: hidden;
    box-shadow:
        0 4px 18px rgba(184, 150, 12, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sg-breaking-ticker::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(184, 150, 12, 0.22) 42%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 58%
    );
}

.sg-breaking-ticker > * {
    position: relative;
    z-index: 1;
}

.sg-breaking-ticker:hover {
    border-color: rgba(184, 150, 12, 0.65);
    box-shadow:
        0 6px 22px rgba(184, 150, 12, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.sg-breaking-ticker__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    border-radius: 8px;
    background: linear-gradient(145deg, #8B6914 0%, #7A6008 100%);
    color: #fff !important;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(184, 150, 12, 0.45);
}

.sg-breaking-ticker__label {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    margin-right: 8px;
}

.sg-breaking-ticker__sep {
    flex-shrink: 0;
    margin-right: 10px;
    font-weight: 300;
    font-size: 16px;
    line-height: 1;
    color: #fecaca !important;
    opacity: 0.9;
}

.sg-breaking-ticker__viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
}

.sg-breaking-ticker__marquee {
    display: inline-flex;
    width: max-content;
    white-space: nowrap;
    animation: sg-breaking-marquee 45s linear infinite;
}

.sg-breaking-ticker__marquee:hover {
    animation-play-state: paused;
}

.sg-breaking-ticker__chunk {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 2.5rem;
}

/* Each breaking post = separate pill badge; link + hover on badge only */
.sg-breaking-ticker__item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    max-width: min(320px, 42vw);
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.22);
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sg-breaking-ticker__item:hover,
.sg-breaking-ticker__item:focus-visible {
    background: #e31e25;
    border-color: #ff6b70;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(227, 30, 37, 0.45);
    transform: translateY(-1px);
    outline: none;
}

.sg-breaking-ticker__item-txt {
    display: block;
    font-size: 12px;
    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;
}

/* Second marquee chunk is duplicated for smooth scrolling (aria-hidden). Prevent accidental clicks. */
.sg-breaking-ticker__chunk[aria-hidden="true"] .sg-breaking-ticker__item {
    pointer-events: none;
}

/* Legacy dot/link classes (other templates) */
.sg-breaking-ticker__txt {
    font-size: 13px;
    font-weight: 500;
    color: #fecaca !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: #fecaca !important;
}

.sg-breaking-ticker .sg-live-badge--inline {
    background: #fff !important;
    color: #e31e25 !important;
}

@keyframes sg-breaking-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Homepage: Cricket scores + Market tickers (above breaking news) */
.sg-external-tickers-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 0;
    box-sizing: border-box;
}

body.brut-magazine-home .brut-magazine-inner > .sg-external-tickers-row {
    padding-bottom: 4px;
}

.sg-external-ticker {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    padding: 8px 14px;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sg-external-ticker--sports {
    border: 1px solid #86efac;
    background: #f0fdf4;
    color: #166534 !important;
    flex-wrap: wrap;
    align-items: flex-start;
}

.sg-external-ticker--cricket {
    position: relative;
    flex-wrap: wrap;
    align-items: flex-start;
    border: 1px solid rgba(52, 211, 153, 0.28);
    background: linear-gradient(
        135deg,
        #061410 0%,
        #0f3328 38%,
        #0a241c 68%,
        #061410 100%
    );
    color: #d1fae5 !important;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(167, 243, 208, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.sg-external-ticker--cricket::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(52, 211, 153, 0.1) 42%,
        rgba(167, 243, 208, 0.04) 50%,
        transparent 58%
    );
}

.sg-external-ticker--cricket > * {
    position: relative;
    z-index: 1;
}

.sg-external-ticker--market {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(
        135deg,
        #0b1220 0%,
        #1a2744 38%,
        #0f1a2e 68%,
        #0b1220 100%
    );
    color: #e2e8f0 !important;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.sg-external-ticker--market::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 42%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 58%
    );
}

.sg-external-ticker--market > * {
    position: relative;
    z-index: 1;
}

.sg-external-ticker__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff !important;
}

.sg-external-ticker--sports .sg-external-ticker__badge {
    background: #16a34a;
}

.sg-external-ticker--cricket .sg-external-ticker__badge {
    background: linear-gradient(145deg, #34d399 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(52, 211, 153, 0.4);
}

.sg-external-ticker--market .sg-external-ticker__badge {
    background: linear-gradient(145deg, #B8960C 0%, #7A6008 100%);
    box-shadow: 0 2px 8px rgba(184, 150, 12, 0.35);
}

.sg-external-ticker__label {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 8px;
}

.sg-external-ticker--sports .sg-external-ticker__label {
    color: #166534 !important;
}

.sg-external-ticker--cricket .sg-external-ticker__label {
    color: #ecfdf5 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.sg-external-ticker--cricket .sg-external-ticker__embed,
.sg-external-ticker--cricket .sg-external-ticker__cricket-body {
    border-radius: 8px;
}

.sg-external-ticker--cricket .sg-external-ticker__embed {
    background: rgba(6, 20, 16, 0.5);
}

.sg-external-ticker--market .sg-external-ticker__label {
    color: #f8fafc !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.sg-external-ticker--market .sg-external-ticker__sep {
    color: #94a3b8 !important;
    opacity: 0.85;
}

.sg-external-ticker--market .sg-external-ticker__item {
    border-right-color: rgba(148, 163, 184, 0.22);
}

.sg-external-ticker--market .sg-external-ticker__item-txt {
    color: #e2e8f0 !important;
}

.sg-external-ticker--market .sg-external-ticker__item:hover .sg-external-ticker__item-txt,
.sg-external-ticker--market .sg-external-ticker__item:focus-visible .sg-external-ticker__item-txt {
    color: #fbbf24 !important;
}

.sg-external-ticker--market .sg-external-ticker__viewport {
    mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
}

.sg-external-ticker--market .sg-external-ticker__embed {
    position: relative;
    z-index: 1;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.45);
}

.sg-external-ticker__sep {
    flex-shrink: 0;
    margin-right: 10px;
    font-weight: 300;
    font-size: 16px;
    line-height: 1;
    opacity: 0.55;
}

.sg-external-ticker__viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
}

.sg-external-ticker__marquee {
    display: inline-flex;
    width: max-content;
    white-space: nowrap;
    animation: sg-external-marquee 50s 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 14px;
    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: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.sg-external-ticker__item:hover .sg-external-ticker__item-txt,
.sg-external-ticker__item:focus-visible .sg-external-ticker__item-txt {
    text-decoration: underline;
}

.sg-external-ticker__embed {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 32px;
    overflow: hidden;
}

.sg-external-ticker__embed .tradingview-widget-container {
    width: 100%;
    height: 32px;
}

.sg-external-ticker__embed .tradingview-widget-container__widget {
    height: 32px !important;
}

.sg-external-ticker__cricket-body {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.sg-external-ticker--cricket .sg-external-ticker__sep {
    display: none;
}

.sg-cricket-scores {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: thin;
}

.sg-cricket-card {
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 260px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(15, 45, 38, 0.72);
    border: 1px solid rgba(52, 211, 153, 0.22);
    color: #ecfdf5;
    box-shadow: inset 0 1px 0 rgba(167, 243, 208, 0.08);
}

.sg-cricket-card--live {
    border-color: #8B6914;
    box-shadow:
        0 0 0 1px rgba(184, 150, 12, 0.25),
        inset 0 1px 0 rgba(184, 150, 12, 0.1);
}

.sg-cricket-card__live {
    display: inline-block;
    margin-bottom: 4px;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff !important;
    background: #8B6914;
}

.sg-cricket-card__type {
    display: inline-block;
    margin-left: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #6ee7b7 !important;
    opacity: 0.95;
}

.sg-cricket-card__teams {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: #f0fdf4 !important;
}

.sg-cricket-card__vs {
    font-size: 10px;
    font-weight: 600;
    color: #86efac !important;
    opacity: 0.9;
}

.sg-cricket-card__score-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.sg-cricket-card__score {
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #bbf7d0 !important;
}

.sg-cricket-card__status {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.35;
    color: #a7f3d0 !important;
    opacity: 0.95;
}

.sg-cricket-empty,
.sg-cricket-embed-fallback__text {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #d1fae5 !important;
    opacity: 0.95;
}

.sg-external-ticker--cricket .sg-cricket-scores {
    scrollbar-color: rgba(52, 211, 153, 0.45) rgba(6, 20, 16, 0.6);
}

@keyframes sg-external-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .sg-external-ticker__marquee {
        animation: none;
    }
}

@media (max-width: 575px) {
    .sg-external-ticker {
        flex-wrap: wrap;
        min-height: auto;
        padding: 10px 12px;
    }

    .sg-external-ticker__label {
        font-size: 10px;
    }

    .sg-external-ticker__viewport {
        flex: 1 1 100%;
        margin-top: 6px;
    }

    .sg-external-ticker__sep {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-breaking-ticker__marquee {
        animation: none;
    }
}

.sg-dark .sg-breaking-ticker {
    border-color: rgba(227, 30, 37, 0.5);
}

.sg-dark .sg-breaking-ticker:hover {
    border-color: rgba(227, 30, 37, 0.7);
}

.sg-dark .sg-breaking-ticker__txt,
.sg-dark .sg-breaking-ticker__label {
    color: #fff !important;
}

.sg-dark .sg-breaking-ticker__item {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff !important;
}

.sg-dark .sg-breaking-ticker__item:hover,
.sg-dark .sg-breaking-ticker__item:focus-visible {
    background: #e31e25;
    border-color: #ff6b70;
    color: #fff !important;
}

.sg-dark .sg-breaking-ticker__dot,
.sg-dark .sg-breaking-ticker__sep {
    color: #fecaca !important;
}

/* Toolbar: account / login (moved from sidebar footer) */
.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 {
    padding: 5px 10px;
    border: 1px solid var(--sidebar-border);
    border-radius: 8px;
    background: var(--sidebar-hover-bg);
    white-space: nowrap;
}

.sg-global-toolbar .sg-toolbar-user .sg-user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@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: var(--sidebar-text-muted);
    font-size: 12px;
    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: 200px;
    z-index: 1070 !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: 22px;
}

/* 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: 36px;
    padding: 6px 34px 6px 12px;
    font-size: 13px;
    line-height: 1.3;
    color: var(--sidebar-text);
    background: var(--sidebar-hover-bg);
    border: 1px solid var(--sidebar-border);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sg-global-toolbar .sg-language .select-styled:hover {
    border-color: #c8c8c8;
}

.sg-global-toolbar .sg-language .select-styled.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(89, 105, 255, 0.2);
}

.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(--sidebar-text-muted);
    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: var(--sidebar-bg);
    border-bottom-color: var(--sidebar-border);
}

.sg-dark .sg-global-toolbar .sg-language .select-styled {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-text);
    border-color: var(--sidebar-border);
}

.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;
    }

    /* Dark mode toggle reposition on mobile */
    #switch-mode {
        top: auto;
        bottom: 20px;
        left: 0;
    }
}

@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: var(--brut-sidebar-height, 100vh);
        max-height: 100vh;
        transform: none !important;
        transition: none !important;
        backface-visibility: hidden;
        will-change: height;
    }

    .sg-global-toolbar {
        top: 0;
        left: var(--sidebar-width);
        right: 0;
        transform: translate3d(0, var(--brut-sidebar-offset, 0px), 0);
        backface-visibility: hidden;
        will-change: transform;
        transition: none !important;
    }

    .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);
    }
}

/* 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;
}

/* Hide dark mode toggle button */
#switch-mode {
    display: none !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 {
    overflow-x: visible !important;
    background-color: #000;
}

body.brut-site-footer:not(.brut-magazine-home) {
    overflow-x: visible !important;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

body.brut-site-footer .footer {
    display: none !important;
}

@media (min-width: 992px) {
    /* Footer full-bleed on desktop */
    body.brut-site-footer > footer.brut-mag-footer,
    body.brut-magazine-home > footer.brut-mag-footer {
        width: calc(100% + var(--sidebar-width, 220px)) !important;
        max-width: none !important;
        margin-left: calc(-1 * var(--sidebar-width, 220px)) !important;
        margin-right: 0 !important;
    }

    body.brut-site-footer > footer.brut-mag-footer .brut-mag-footer-inner,
    body.brut-site-footer > footer.brut-mag-footer .brut-mag-footer-bottom-inner,
    body.brut-magazine-home > footer.brut-mag-footer .brut-mag-footer-inner,
    body.brut-magazine-home > footer.brut-mag-footer .brut-mag-footer-bottom-inner {
        padding-left: calc(var(--sidebar-width, 220px) + 32px) !important;
    }

    body.brut-sidebar-footer-push .sg-sidebar,
    body.brut-magazine-home.brut-sidebar-footer-push .sg-sidebar,
    body.brut-sidebar-footer-push .sg-global-toolbar,
    body.brut-magazine-home.brut-sidebar-footer-push .sg-global-toolbar {
        z-index: 1050;
    }
}

.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: 1060;
    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;
}

.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-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;
    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;
    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;
    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: #8B6914;
    border-radius: 4px;
    vertical-align: middle;
    animation: sg-live-pulse 1.5s ease-in-out infinite;
}

.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,
.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-short-video-card {
    flex: 0 0 140px;
    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(139, 105, 20, 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%;
}

@media (min-width: 768px) {
    .brut-short-video-card {
        flex: 0 0 160px;
    }
}
