:root {
  --ink: #111315;
  --ink-2: #252a30;
  --muted: #5f666e;
  --muted-2: #8a9099;
  --line: #e2e5e8;
  --paper: #ffffff;
  --soft: #f7f9fa;
  --deep: #f0f2f4;

  --green: #13a463;
  --green-dark: #087443;
  --red: #bd1f2d;
  --amber: #d97706;

  --accent: #1ae25c;
  --accent-hover: #13b84b;
  --editorial-link: #1155cc;
  --editorial-link-visited: #681da8;
  --accent-dim: rgba(26, 226, 92, 0.15);
  --accent-ink: #ffffff;

  --radius: 6px;
  --font-sans: "Mukta", sans-serif;
  --font-serif: "Mukta", sans-serif;
  --font-family-sans-serif: "Mukta", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --tp-list-thumb-radius: 4px;
  --tp-list-thumb-shadow: 0 1px 2px rgba(15, 23, 42, 0.035), 0 2px 8px rgba(15, 23, 42, 0.045);
  --tp-list-thumb-border: 1px solid rgba(15, 23, 42, 0.06);
}

html,
body,
button,
input,
select,
textarea {
  font-family: "Mukta", sans-serif;
}

html[lang="en"] body,
html[lang="en"] .navbar-nav .nav-link,
html[lang="en"] .side-navbar a,
html[lang="en"] .news-navbar-right-menu-item a {
  font-family: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.news-header-social-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.news-header-social-share-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.news-header-social-share-icon a i,
.news-header-social-share-icon a iconify-icon {
  font-size: 16px;
  line-height: 1;
}

.newsTech_footer-social-icon-items a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  color: white !important;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.newsTech_footer-social-icon-items a i,
.newsTech_footer-social-icon-items a iconify-icon,
.newsTech_footer-social-icon-items a svg {
  position: static !important;
  transform: none !important;
  font-size: 18px;
  pointer-events: none;
}

.newsTech_footer-social-icon-items.whatsapp a { background: #25D366 !important; }
.newsTech_footer-social-icon-items.linkedin a { background: #0a66c2 !important; }
.newsTech_footer-social-icon-items.facebook a { background: #4267b2 !important; }
.newsTech_footer-social-icon-items.twitter a { background: #000000 !important; }
.newsTech_footer-social-icon-items.instagram a { background: #e1306c !important; }
.newsTech_footer-social-icon-items.youtube a { background: #cd201f !important; }
.newsTech_footer-social-icon-items.tiktok a { background: #010101 !important; }

.news-header-social-share-icon.twitter a,
.news-header-social-share-icon a {
  background: transparent !important;
}

        .news-header-date-social-share {
            align-items: center;
        }

        .news-header-date-social-share .news-header-other-links {
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .news-header-date-social-share .news-header-social-share {
            align-items: center;
        }

        .news-header-logo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .img__size-normal {
            width: 16px;
            height: auto;
        }

        .news-header-top-meta {
            align-items: center;
        }

        .news-header-top-meta.news-header-social-share {
            align-items: center;
        }

        .img__position {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    

        .price-list{
            margin-left: auto;
        }
        .price-list a{
            color: #15B466 !important;
        }
        /* .theme-color a{
            color: #15B466 !important;
        } */
    

        .sticky .navbar .news-navbar-right-menu .news-navbar-right-menu-item {
            margin-left: 0;
        }

        .sticky .navbar .news-navbar-right-menu .news-navbar-right-menu-item:first-child {
            margin-left: 1rem;
        }
    

        .news-navbar-right-menu-item {
            background: #1ae25c;
        }
        .newsTech_footer-flex{
            display: flex;
            gap: 10px;
        }


        @media (max-width: 1100px){
            .navbar-nav{
                gap: 20px;
            }
        }
    


        @media(min-width:576px){
            #roadBlock .header-nav-logo{
                display:none;
            }
        }
        
        @media(max-width:575px) {
            .skip-btn {
                float: right;
                padding-top: 5px;
                padding-left: 6px;
                padding-right: 6px;
                padding-bottom: 5px;
                font-size: 10px;
            }
            #roadBlock .modal-dialog{
                width: min(400px, 94vw);
                max-width: min(400px, 94vw) !important;
                margin: 16px auto;
            }
            #roadBlock .modal-header .header-nav-logo{
                width:80%;
                margin-left:auto;
                margin-right:auto; 
                margin-bottom: 15px;
            }
        }
    

        .newsTech_comparison-image-block{
            flex-basis: 49%;
                height: 130px;
                position: relative;
        }
        .newsTech_comparison-image-block:not(:last-child)::before {
                content: 'vs';
                background-color: #eeeeee;
                position: absolute;
                top: 50%;
                right: -30px;
                transform: translateY(-50%);
                font-size: 15px;
                font-weight: 600;

                color: #333;
                padding: 2px 6px 1px;
                border-radius: 50%;
                        
        }
        .newsTech_comparison-info-details{
            flex-basis: 49%;
                    text-align: center;
                    position: relative;
        }
        .newsTech_comparison-info-details:not(:last-child)::before{
            content: 'vs';
                            background-color: #eeeeee;
                            position: absolute;
                            top: 50%;
                            right: -30px;
                            transform: translateY(-50%);
                            font-size: 15px;
                            font-weight: 600;

                            color: #333;
                            padding: 2px 6px 1px;
                            border-radius: 50%;
        } 
        .threeLayerGrid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-gap: 30px;
        }

        .twoLayerGrid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-gap: 30px;
        }

        .newsTech_comparison-grid-box {
            display: grid;
            grid-template-columns: repeat(auto-fill,minmax(340px,1fr));
            grid-gap: 1rem;
        }
        .newsTech_comparison-grid-content { 
            width: 100%;
        }
        
        .single_grid-overlay-wrapper .single_grid-image a::after {
        content: "";
        position: absolute;
        height: 100%;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgb(0, 0, 0)) !important;
        }
        
        .news__details .news__details-titles .author__date .author .avatar img{
            object-fit: cover;
        }

        .details__title{
            color: #000 !important;
        }

        @media (max-width:767.98px) {
        .newsTech_comparison-grid-box{
            grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
        }
    }
    @media(max-width:575px){
        .newsTech_comparison-grid-box {
            grid-template-columns: repeat(auto-fill,minmax(100%,1fr));
        }
    }
    

    
    
    
    
         @media (max-width: 350px) {
            .newsTech_comparison-grid-box {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            }    
        }

        @media (max-width: 575px) {
            .news__details-titles.active .details__title {
                font-size: 16px !important;
            }
        }

        @media (max-width:400px) {

            .navbar .nav-bar {
                grid-column: 1/2;
                grid-row: 2/3;
            }

            .navbar .news_sticky-nav {
                grid-column: span 2;
                justify-content: center !important;
            }

            .navbar .news-navbar-right-menu {
                grid-column: 2/3;
                grid-row: 2/3;
            }

            .news-navbar-right-menu-item {
                height: 35px;
            }

            .news_sticky-nav img {
                margin-top: 15px;
                margin-bottom: 15px;
            }
        }
    

         @media (max-width: 400px){
            footer {
                word-break: break-word;
            }
            .newsTech_comparison-info-details {
                word-break: break-word;
            }
        }

        @media(max-width:400px){
            .sticky .navbar .news_sticky-nav {
                    border-bottom: 1px solid #ddd;
                justify-content:flex-start !important;
            }
            .news-navbar-right-menu-item {
                    height: 38px;
            }
            .news-navbar-right-menu{
                padding: 6px 0px;
            }
            .news_sticky-nav img {
                    margin-top: 10px;
                    margin-bottom: 8px;
            }
            .sticky .navbar .news-navbar-right-menu {
                    justify-content: end;
            }
        }

        .product__section-icon-image {
            height: 45px;
        }

        .sticky-bottom-ad{
            z-index: 999 !important;
            bottom: 60px !important;
        }
        
    

        .download-app-box {
            display: flex;
            gap: 10px;
        }

        .download-app-content {
            flex-basis: 50%;
        }

        .download-app-content img {
            object-fit: contain;
        }

        .sharethis-inline-share-buttons{
            margin-top: 0 !important;
        }

        /* Article share buttons — desktop sticky rail (vertical icons) */
        @media (min-width: 992px) {
            .sticky__sidebar .share__buttons {
                width: 48px;
                min-width: 48px;
                overflow: visible;
            }

            .share__buttons .sharethis-inline-share-buttons,
            .share__buttons .st-inline-share-buttons {
                display: flex !important;
                flex-direction: column !important;
                flex-wrap: nowrap !important;
                align-items: center !important;
                justify-content: flex-start !important;
                gap: 10px;
                margin-top: 1rem;
                width: 48px !important;
                min-width: 48px !important;
                overflow: visible !important;
            }

            .share__buttons .st-btn,
            .share__buttons .st-btn.st-hidden {
                display: inline-block !important;
                visibility: visible !important;
                opacity: 1 !important;
                margin-right: 0 !important;
                margin-bottom: 10px !important;
            }
        }

        /* Article share buttons — mobile/tablet (horizontal row) */
        @media (max-width: 991.98px) {
            .share__buttons .sharethis-inline-share-buttons,
            .share__buttons .st-inline-share-buttons {
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: wrap;
                align-items: center;
                justify-content: flex-start;
                gap: 5px;
                margin-bottom: 1rem;
            }

            .share__buttons .st-btn {
                display: inline-block !important;
                margin-right: 0 !important;
                margin-bottom: 0 !important;
            }
        }

        .share__buttons .st-total {
            display: none !important;
        }

        @media (max-width: 991.98px){
            .news-navbar-right-menu{
                flex-basis: unset;
                margin-left: unset;
            }
        }
        @media (max-width:767px) {
            .download-app-box {
                gap: 10px;
                width: 50%;
            } 
        }
        @media (max-width:575px) {
            .download-app-box {
            width: 70%;
            } 
        }
        @media (max-width: 400px){
            .sticky .navbar{
                display: flex;
            }
            .sticky .navbar .news_sticky-nav{
                border-bottom: 0;
            }
        }
        
        .news-header-nav.sticky {
            animation: none !important;
            -webkit-animation: none !important;
        }
        
        /* Article title: compact smoothly beneath the desktop navigation. */
        body.article-page-active .news__details .news__details-titles {
            position: static !important;
            top: auto !important;
            box-shadow: none !important;
        }

        @media (min-width: 992px) {
            body.article-page-active .article-sticky-title {
                position: sticky !important;
                top: var(--article-sticky-title-top, 50px) !important;
                z-index: 997;
                background: #fff;
                padding: 0 !important;
                border-bottom: 1px solid transparent !important;
                box-shadow: none;
                transition:
                    padding 320ms cubic-bezier(.22, 1, .36, 1),
                    border-color 320ms ease,
                    box-shadow 320ms ease;
            }

            body.article-page-active .article-sticky-title .details__title {
                transform-origin: left top;
                transition: font-size 320ms cubic-bezier(.22, 1, .36, 1), line-height 320ms ease;
            }

            body.article-page-active .article-sticky-title.is-sticky-title {
                padding: 10px 0 8px !important;
                border-bottom-color: #ddd !important;
                box-shadow: none;
            }

            body.article-page-active .article-sticky-title.is-sticky-title .details__title {
                font-size: 26px !important;
                line-height: 1.32 !important;
            }
        }

        @media (max-width: 991.98px) {
            body.article-page-active .article-sticky-title {
                position: static !important;
                top: auto !important;
                padding: 0 !important;
                border-bottom: none !important;
                box-shadow: none !important;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            body.article-page-active .article-sticky-title,
            body.article-page-active .article-sticky-title .details__title {
                transition: none !important;
            }
        }

        .news-header-top-slider marquee {
            min-width: 400px;  
        }
        @media (max-width:767px) {
            .news-header-top-slider marquee{
                width:350px;
            }
        }
        @media (max-width:575px) {
            .news-header-top-slider marquee{
                width:100%;
            }
        }
    

        .news-header-other-links ul {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .news-header-other-links ul li a {
            font-size: 16px;
            transition: all .2s ease-in-out;
        }

        .news-header-other-links .lang-toggle {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
        }

        .news-header-other-links .lang-toggle a {
            color: inherit;
            text-decoration: none;
            opacity: 0.65;
            transition: opacity .2s ease-in-out;
        }

        .news-header-other-links .lang-toggle a:hover,
        .news-header-other-links .lang-toggle a.active {
            opacity: 1;
            font-weight: 600;
        }

        .news-header-other-links .lang-toggle a + a::before {
            content: "|";
            margin-right: 8px;
            opacity: 0.45;
            font-weight: 400;
        }
    

        @media(max-width:575px){
        .news-header-nav{
           
            box-shadow: unset !important;
            border-top: 1px solid #e5e5e5;
            border-bottom: 1px solid #e5e5e5;
            margin-top: 30px;
        }
        .news-header-nav.sticky{
            margin-top: 0px;
        }
        .news_sticky-nav {
            display: block !important;
            transition: all .3s ease-in-out;
            text-align: center;
        }
        .news-navbar-right-menu-item{
            display:none !important;
        }
        .news_sticky-nav img{
            margin-top:0 !important;
            margin-bottom:0 !important;
        }
        .news-header-nav.sticky .news_sticky-nav .news-header-date{
            line-height: 1;
        }
        .news-header-nav.sticky .news_sticky-nav .news-header-date span{
            font-size: 12px;
            line-height: 1;
        }
        .news-header-nav.sticky .news_sticky-nav{
            padding: 5px 0 4px;
        }
        .news-header-middle{
            display: none !important;
        }
        .news-header-top{
            display:none;
        }
    
    }
    

        .sticky__bottom-nav{
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            background-color: #fff;
            padding:  10px 15px 5px;
            box-shadow: 0 0 10px rgba(0,0,0,.2);
            display: none;
            z-index: 111;
        }
        .sticky__bottom-nav-image{
            width: 24px;
            height: auto;
        }
        .sticky__bottom-nav-item:nth-child(1) .sticky__bottom-nav-image{
            width: 22px;
            padding-top: 2px;
        }
        .sticky__bottom-nav-list{
            display: flex;
            justify-content: space-between;
        }
        .sticky__bottom-nav-list li{
            flex: 1;
        }
        .sticky__bottom-nav-link{
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 5px;
        }
        .sticky__bottom-nav-title{
            font-size: 11px;
            font-weight: 500;
            /* color: #1AE25C; */
            color: #15B466;
        }
        @media (max-width:575px) {
            .scrollToTop{
                bottom: 75px;
            }
            .sticky__bottom-nav{
                display: block;
            }
        }
    

        .news-navbar-right-menu-item {
            background: #1AE25C;
        }
        .news-navbar-right-menu-item a{
            display: flex;
            justify-content: center;
            align-items: center;
            line-height: 1;
        }
        .news-navbar-right-menu-item:not(:first-child){
            margin-left: 0px !important;
        }
        .news-navbar-right-menu-item .event__icon{
            width: 15px;
            height: auto;
        }
        @media (min-width:578px) {
            .news_sticky-nav .news-header-date {
                display: none;
            }
            .news-header-middle .news-header-date {
                display: block !important;
            }
        }
       
    

        .news-navbar-right-menu-item {
            height: 35px !important;
            padding: 4px 10px 0 10px !important;
            border-radius: 2px !important;
        }

        .news-navbar-right-menu {
            gap: 10px !important;
        }
    

        .news__section-with-multiple-news .content__right .latest__content {
            align-items: center;
        }

        .news__section-with-multiple-news .content__right .latest__content-img {
            height: auto !important;
            aspect-ratio: 760 / 430;
            overflow: hidden;
        }

        .news__section-with-multiple-news .content__right .latest__content-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .news__section-with-multiple-news .content__right .latest__content-desc {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1rem;
        }

        .news__section-with-multiple-news .content__right .latest__content-excerpt {
            margin: 0;
            line-height: 1.6;
            color: #333;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            -webkit-line-clamp: 4;
        }

        @media (min-width: 768px) {
            .news__section-with-multiple-news .content__right .latest__content-excerpt {
                -webkit-line-clamp: 7;
            }
        }
        
        @media (max-width: 450px) {
            .news__section-with-multiple-news .content__right .latest__content-img {
                height: auto;
                aspect-ratio: 760 / 430;
            }
        }
    

    .sticky-bottom-ad {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: none;
        z-index: 10000;
    }

    .sticky-bottom-ad img {
        border-radius: 0px;
    }

    .sticky-ad-close-btn {
        font-size: 20px;
        font-weight: 600;
        line-height: 1;
        background: rgba(255, 255, 255, .8);
        display: inline-block;
        text-align: center;
        padding: 0 5px;
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
    }

    .single_grid-overlay-wrapper .single_grid-image a::after{
        display: none;
    }

    .single_grid-overlay-wrapper .single_grid-info::after{
        content: "";
        position: absolute;
        height: 100%;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgb(0, 0, 0)) !important;
        z-index: 1;
    }

    .single_grid-info-overlay{
        z-index: 2;
    }

    .single_grid-title,
    .single_grid-para,
    .postmeta_dark{
        position: relative ;
        z-index: 2 ;
    }

    @media (max-width:575.98px) {
        .sticky-bottom-ad {
            display: block;
            bottom: 60px;
        }
    }

    .sticky-bottom-ad .newsTech-ads {
        margin-bottom: 0;
    }

    .modal-content {
        border: none;
    }

    .modal-body {
        border: 1px solid rgb(223, 223, 223);
        border-radius: 5px;
    }
    
    .modal-header {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .skip-btn {
        border: none;
        border-radius: 5px;
        background-color: red;
        color: white;
        float: right;
        padding-top: 7px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 7px;
    }

    .modal-backdrop {
        background: white;
        opacity: 100 !important;
    }

    .modal-body-top {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: right;
        margin-bottom: 10px;
    }

    .modal-body-top h4 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: min-content;
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
        white-space: nowrap;
    }

    #roadBlock .modal-dialog {
        width: min(850px, 94vw);
        max-width: min(850px, 94vw);
        margin: 1rem auto;
    }

    #roadBlock .modal-content {
        width: 100%;
    }

    #roadBlock .modal-body {
        padding: 12px 14px 14px;
    }

    #roadBlock .modal-body a.roadBlock-ad-link,
    #roadBlock .modal-body a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        aspect-ratio: 850 / 450;
        overflow: hidden;
        background-color: #fafafa;
        border-radius: 4px;
    }

    #roadBlock .modal-body img,
    #roadBlock .modal-body video,
    #roadBlock .modal-body a.roadBlock-ad-link img,
    #roadBlock .modal-body a.roadBlock-ad-link video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        border-radius: 4px;
    }

    @media (max-width: 575px) {
        #roadBlock .modal-dialog {
            width: min(400px, 94vw);
            max-width: min(400px, 94vw);
            margin: 16px auto;
        }

        #roadBlock .modal-body a.roadBlock-ad-link,
        #roadBlock .modal-body a {
            aspect-ratio: 400 / 500;
        }

        #roadBlock img.promo-media--desktop,
        #roadBlock video.promo-media--desktop {
            display: none !important;
        }

        #roadBlock img.promo-media--mobile,
        #roadBlock video.promo-media--mobile {
            display: block !important;
        }
    }

    @media (min-width: 576px) {
        #roadBlock img.promo-media--mobile,
        #roadBlock video.promo-media--mobile {
            display: none !important;
        }

        #roadBlock img.promo-media--desktop,
        #roadBlock video.promo-media--desktop {
            display: block !important;
        }
    }
    .newsTech-ads-dark{
        background-color: #333;
        padding: 30px 30px 0;
    }
    
    .newsTech_footer-flex {
        display: flex;
        gap: 10px;
    }
    
    .newsTech_video-content {
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .sticky__sidebar-60 {
        position: -webkit-sticky;
        position: sticky;
        top: 60px;
    }
    .newsTech_feature-list ul{
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }
    .newsTech_feature-list ul li{
        flex-basis: 48%;
    }
    .newsTech_feature-list ul li:not(:last-child) {
        margin-bottom: unset !important;
    }
    .newsTech_section-wrapper {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .newsTech_feature-main h1{
        font-size: 32px;
    }
    .newsTech_feature-list {
        height: unset !important;
    }

    .single_grid-info-overlay{
        position: static;
        bottom: unset;
        padding: 20px 0;
    }

    .newsTech_feature-main .single_grid-image{
        min-height: unset;
        height: auto;
    }

    .single_grid-overlay-wrapper .single_grid-info::after{
        display: none;
    }

    .single_grid-overlay-wrapper,
    .grid_section-wrapper .single_grid-overlay-wrapper .single_grid-wrapper{
        height: unset;
    }

    .newsTech_feature-main h1,
    .newsTech_feature-main .single_grid-para{
        color: black;
    }

    .newsTech_feature-list{
        background: transparent;
        padding: 30px 0;
    }

    .newsTech_white{
        color: black !important;
    }

    .removedAni.active{
        animation: unset;
    }

    @media (max-width:767px) {
        .newsTech_feature-main .single_grid-para p{
            display: none;
        }

        .removeNews .col-md-4:not(:first-child){
            display: none;
        }
    }
    @media(max-width:575px){
        .newsTech_feature-list ul li {
                flex-basis: 100%;
        }
    }
    


    .image-size-80 a {
        padding-bottom: 71.5% !important;
    }
    .image-size-60 a {
        padding-bottom: 71.5% !important;
    }
    .image-size-70 a {
        padding-bottom: 71.5% !important;
    }
    .image-size-62 a {
        padding-bottom: 71.5% !important;
    }

    .image-size-169 a,
    .image-size-169 .image-size-div {
        padding-bottom: 56.25% !important;
    }

    .news__section-with-multiple-news .single_grid-image .image-size a,
    .newsTech_section-wrapper .single_grid-image .image-size a {
        display: block;
        position: relative;
        width: 100%;
        height: 0;
        overflow: hidden;
    }

    .grid_section-wrapper .single_grid-overlay-wrapper{
        grid-row: span 5 !important;
    }


    .single_grid-image{
        width: 100%;
        max-width: 100%;
    }
    
    .single_grid-image img{
        height: auto;
        object-fit: contain;
    }

    /* Keep padded .image-size crops; .single_grid-image img above would otherwise letterbox. */
    .single_grid-image .image-size img,
    .single_row-side-image .image-size img,
    .single_row-image .image-size img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100% !important;
        object-fit: cover !important;
    }


    .single_grid-image-play {
        position: relative;
    }

    .single_grid-image-play > a::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .2);
        z-index: 1;
    }

    .single_grid-image-play .play__video{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border-radius: 100vmax;
        z-index: 1;
    }

    .single_grid-image-play .play__video{
        display: flex;
        font-size: 20px;
        color: #1AE25C;
    }

/* Extracted article-body styles to preserve Wagtail content formatting */


/* ── Article body ────────────────────────────────────────────── */
.body, .article-body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: #252a30;
  font-family: var(--font-sans);
  font-size: var(--article-font-size, 20px);
  font-weight: 500;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.article-body > *,
.article-body .paragraph,
.article-body .rich-text,
.article-body .lede {
  max-width: 100%;
  min-width: 0;
}

.article-body img,
.article-body video,
.article-body iframe,
.article-body embed,
.article-body object,
.article-body svg,
.article-body canvas {
  max-width: 100%;
}

.body > * + *, .article-body > * + * { margin-top: 0; }

.body p, .body .paragraph,
.article-body,
.article-body p,
.article-body .paragraph,
.article-body .paragraph p,
.article-body .lede,
.article-body .lede p,
.article-body .rich-text,
.article-body .rich-text p { margin-bottom: 0; text-align: justify !important; text-justify: inter-word; hyphens: auto; }

.body h1,
.article-body h1,
.article-body .paragraph h1 {
  font-size: calc(var(--article-font-size, 20px) * 1.15);
  margin: 1.8em 0 0.4em;
  font-weight: 800;
  line-height: 1.35;
}

.body h2,
.article-body h2,
.article-body .paragraph h2 {
  font-size: calc(var(--article-font-size, 20px) * 1.1);
  margin: 1.5em 0 0.4em;
  font-weight: 800;
  line-height: 1.4;
}

.body h3,
.article-body h3,
.article-body .paragraph h3 {
  font-size: var(--article-font-size, 20px);
  margin: 1.25em 0 0.35em;
  font-weight: 800;
  line-height: 1.95;
}

.body h4,
.article-body h4,
.article-body .paragraph h4 {
  font-size: calc(var(--article-font-size, 20px) * 0.95);
  margin: 1.1em 0 0.35em;
  font-weight: 800;
  line-height: 1.9;
}

.body h5,
.article-body h5,
.article-body .paragraph h5,
.body h6,
.article-body h6,
.article-body .paragraph h6 {
  font-size: calc(var(--article-font-size, 20px) * 0.9);
  margin: 1em 0 0.3em;
  font-weight: 800;
  line-height: 1.9;
}

.body a,
.article-body a {
  color: var(--editorial-link);
  font-weight: inherit;
  text-decoration: none;
  text-decoration-skip-ink: auto;
}

.body a:visited,
.article-body a:visited {
  color: var(--editorial-link-visited);
}

.body a u,
.body u a,
.article-body a u,
.article-body u a {
  text-decoration: inherit;
}

.link-style-bold_underlined .body a,
.link-style-bold_underlined .article-body a,
.link-style-bold_underlined .update__body a {
  color: var(--editorial-link);
  font-weight: inherit;
  text-decoration: none;
  text-decoration-skip-ink: auto;
}

.link-style-bold_underlined .body a:visited,
.link-style-bold_underlined .article-body a:visited,
.link-style-bold_underlined .update__body a:visited {
  color: var(--editorial-link-visited);
}

.body a:hover,
.body a:focus-visible,
.article-body a:hover,
.article-body a:focus-visible,
.link-style-bold_underlined .body a:hover,
.link-style-bold_underlined .body a:focus-visible,
.link-style-bold_underlined .article-body a:hover,
.link-style-bold_underlined .article-body a:focus-visible,
.link-style-bold_underlined .update__body a:hover,
.link-style-bold_underlined .update__body a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-skip-ink: auto;
}

.body a:link:hover,
.body a:link:focus-visible,
.article-body a:link:hover,
.article-body a:link:focus-visible,
.link-style-bold_underlined .body a:link:hover,
.link-style-bold_underlined .body a:link:focus-visible,
.link-style-bold_underlined .article-body a:link:hover,
.link-style-bold_underlined .article-body a:link:focus-visible,
.link-style-bold_underlined .update__body a:link:hover,
.link-style-bold_underlined .update__body a:link:focus-visible {
  color: var(--editorial-link);
}

.body a:visited:hover,
.body a:visited:focus-visible,
.article-body a:visited:hover,
.article-body a:visited:focus-visible,
.link-style-bold_underlined .body a:visited:hover,
.link-style-bold_underlined .body a:visited:focus-visible,
.link-style-bold_underlined .article-body a:visited:hover,
.link-style-bold_underlined .article-body a:visited:focus-visible,
.link-style-bold_underlined .update__body a:visited:hover,
.link-style-bold_underlined .update__body a:visited:focus-visible {
  color: var(--editorial-link-visited);
}

.body ul, .body ol,
.article-body ul, .article-body ol,
.article-body .paragraph ul, .article-body .paragraph ol {
  margin: 0.6em 0 1em 1em;
  padding-left: 1.25em;
}

.body li > ul, .body li > ol,
.article-body li > ul, .article-body li > ol,
.article-body .paragraph li > ul, .article-body .paragraph li > ol {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

.body li,
.article-body li,
.article-body .paragraph li { margin: .4em 0; }


/* Drop-cap on first paragraph */
.article-body p:first-child::first-letter {
  float: left;
  margin: 10px 10px 0 0;
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: .78;
}

.body pre, .article-body pre {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 16px 20px !important;
  background: #f4f4f6 !important;
  color: #27272a !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  overflow-x: auto !important;
  white-space: pre !important;
  word-spacing: normal !important;
  word-break: normal !important;
  word-wrap: normal !important;
}

.body p code, .body li code, .article-body p code, .article-body li code, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  background: var(--paper-sunk, var(--soft));
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
}

.article-body table:not(figure.table table) {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

figure.table table, .body table, .article-body table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

figure.table th, figure.table td, .body th, .body td, .article-body th, .article-body td {
  border: 1px solid var(--line) !important;
  padding: 9px 13px !important; text-align: left; vertical-align: middle;
}

figure.table th, .body th, .article-body th { background: var(--soft); font-weight: 800; color: var(--ink); }

figure.table tr:hover td, .body tr:hover td, .article-body tr:hover td { background: rgba(0,0,0,.02); }

  .body, .article-body { font-size: var(--article-font-size, 19px); line-height: 1.85; }

  .article-body p:first-child::first-letter { float: none; margin: 0; font: inherit; color: inherit; }


.article-body .inline-related-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}


/* Clear floats on non-paragraph blocks inside article-body */
.article-body h2, .article-body h3, .article-body h4,
.article-body .figure, .article-body figure,
.article-body .embed, .article-body iframe,
.article-body .audio-embed, .article-body .video-container,
.article-body .gallery, .article-body .pullquote, .article-body .pull-quote,
.article-body .table-wrapper, .article-body .callout,
.article-body pre, .article-body .code-block-wrapper {
  clear: both;
}

/* Avatar Group Styles */
.avatar-group {
    display: inline-flex;
    align-items: center;
}
.author__date .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Article byline avatars — see article_page.html extra_head for final overrides */
.news__details .news__details-titles .author__date .author {
    gap: 0.25rem !important;
    grid-gap: 0.25rem !important;
}

.news__details .news__details-titles .author__date .author .avatar-group .avatar {
    width: 3rem !important;
    height: 3rem !important;
    min-width: 3rem !important;
    min-height: 3rem !important;
    margin-left: -0.6rem !important;
}

.news__details .news__details-titles .author__date .author .avatar-group .avatar-overflow,
.news__details .news__details-titles .author__date .author .avatar-group .avatar-text {
    font-size: calc(var(--article-font-size, 20px) * 0.75) !important;
}

.avatar-group .avatar {
    position: relative;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-left: -10px;
    transition: transform 0.2s ease-in-out;
    background-color: #f0f0f0;
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.avatar-group .avatar:first-child {
    margin-left: 0;
}
.avatar-group .avatar:hover {
    z-index: 10;
    transform: translateY(-3px);
}
.avatar-group .avatar img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-group .avatar-overflow {
    background-color: #ddd;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}
.avatar-group .avatar-text {
    z-index: 5;
}

/* Override excessive title font sizes requested by user (article/category
   listing pages only — homepage uses the original Techpana type scale). */
.newsTech_slider-title h3 {
    font-size: 22px !important;
    line-height: 1.4 !important;
}
body:not(.home-page-active) .single_grid-title h3,
body:not(.home-page-active) .single_grid-title h4,
body:not(.home-page-active) .newsTech_slider-title h4,
body:not(.home-page-active) .single_row-title h4,
body:not(.home-page-active) .single_row-side-title h3,
body:not(.home-page-active) .single_row-side-title h4,
body:not(.home-page-active) .single_row-title h5,
body:not(.home-page-active) .newsTech_feature-side .single_row-title h4,
body:not(.home-page-active) .newsTech_feature-side .single_row-title h5,
body:not(.home-page-active) .newsTech_feature-list .single_row-title h4,
body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h4,
body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h5,
body:not(.home-page-active) .newsTech_side-wrapper .single_row-side-title h3 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}
.details__title {
    font-size: 32px !important;
    line-height: 1.4 !important;
}
.details__title h1 {
    font-size: 32px !important;
    line-height: 1.4 !important;
}

.news__details {
    --article-font-size: 20px;
    gap: 0 !important;
    grid-gap: 0 !important;
}

.details__sub-title {
    font-size: var(--article-font-size, 20px) !important;
    font-weight: 500;
    line-height: 1.95;
    color: #707070;
    margin: 0 0 0.5rem;
}

.news__details .news__details-titles {
    gap: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.news__details .news__details-titles > .newsTech-ads {
    margin-bottom: 0 !important;
}

/* Hide empty ad wrappers and containers when no ad is assigned */
.newsTech-ads:not(:has(.promo-placement, .pressroom-ad-layout-slot)) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.custom-container:empty {
    display: none;
}

.ad-stack:not(:has(.promo-placement, .pressroom-ad-layout-slot)) {
    display: none;
}

/* ── Header-top ad zone (full viewport width) ───────────────── */
.header-top-zone {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.header-top-zone:not(:has(.promo-placement, .pressroom-ad-layout-slot)) {
    display: none;
}

.header-top-zone--below-header {
    margin-top: 16px;
    margin-bottom: 0;
}

.header-top-zone--below-header > .custom-container {
    width: 100%;
    max-width: 1450px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.promo-placement__link {
    display: block;
    width: 100%;
}

.promo-placement img,
.promo-placement video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* ── Full-width banner ads (match header — all layouts, excl. sidebar) ─ */
.promo-placement--full-width {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
}

.promo-placement--full-width img,
.promo-placement--full-width video,
.promo-placement--full-width .promo-stack__item img,
.promo-placement--full-width .promo-stack__item video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.promo-placement--full-width .ad-slot,
.promo-placement--full-width .promo-placement__link,
.promo-placement--full-width .promo-stack__item {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
}

/* In-article banners — stay within article content column */
.promo-placement--article_footer,
.promo-placement--article_below_hero,
.promo-placement--article_below_title {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Below hero — reference: mt-30 only when no hero image; body gap below ad */
.news__details .newsTech-ads--below-hero {
    margin-bottom: 14px;
}

.news__details .article-hero-banner + .content__with-sidebar .newsTech-ads--below-hero {
    margin-top: 0;
}

.news__details:not(:has(.article-hero-banner)) .newsTech-ads--below-hero {
    margin-top: 30px;
}

.promo-placement--article_mid_content,
.promo-placement--article_inline_sponsor,
.article-body .promo-placement--article_mid_content,
.article-body .promo-placement--article_inline_sponsor {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden;
    min-width: 0;
}

.promo-placement--article_footer img,
.promo-placement--article_footer video,
.promo-placement--article_below_hero img,
.promo-placement--article_below_hero video,
.promo-placement--article_below_title img,
.promo-placement--article_below_title video,
.promo-placement--article_mid_content img,
.promo-placement--article_mid_content video,
.promo-placement--article_inline_sponsor img,
.promo-placement--article_inline_sponsor video,
.article-body .promo-placement--article_mid_content img,
.article-body .promo-placement--article_mid_content video,
.article-body .promo-placement--article_inline_sponsor img,
.article-body .promo-placement--article_inline_sponsor video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}

.promo-placement--article_mid_content .promo-placement__link,
.promo-placement--article_mid_content .ad-slot,
.promo-placement--article_inline_sponsor .promo-placement__link,
.promo-placement--article_inline_sponsor .ad-slot,
.article-body .promo-placement--article_mid_content .promo-placement__link,
.article-body .promo-placement--article_inline_sponsor .promo-placement__link {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Below-header banner slots — match body (custom-container) width */
.promo-placement--article_header_banner,
.promo-placement--home_header,
.promo-placement--page_header {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.promo-placement--article_header_banner img,
.promo-placement--article_header_banner video,
.promo-placement--home_header img,
.promo-placement--home_header video,
.promo-placement--page_header img,
.promo-placement--page_header video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Home — banner below main news (matches col-xl-8 main column width) */
.promo-placement--home_below_main_news {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.promo-placement--home_below_main_news img,
.promo-placement--home_below_main_news video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Home mid/lower body banners — stay within section (custom-container) width */
.promo-placement--home_mid_body,
.promo-placement--home_lower_body {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

.promo-placement--home_mid_body img,
.promo-placement--home_mid_body video,
.promo-placement--home_lower_body img,
.promo-placement--home_lower_body video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.custom-container .newsTech-ads:has(.promo-placement--home_mid_body, .promo-placement--home_lower_body) {
    max-width: 100%;
    overflow: hidden;
}

/* Home category column ads — stay within each col-lg-4 */
.newsTech_section-wrapper .row > .col-lg-4:has(.newsTech-ads--category-column) {
    min-width: 0;
    overflow: hidden;
}

.newsTech-ads--category-column {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.promo-placement--home_category_column_1,
.promo-placement--home_category_column_2,
.promo-placement--home_category_column_3 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    overflow: hidden;
}

.promo-placement--home_category_column_1 img,
.promo-placement--home_category_column_1 video,
.promo-placement--home_category_column_2 img,
.promo-placement--home_category_column_2 video,
.promo-placement--home_category_column_3 img,
.promo-placement--home_category_column_3 video,
.newsTech-ads--category-column .promo-placement__link,
.newsTech-ads--category-column .ad-slot,
.newsTech-ads--category-column .promo-stack__item {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.newsTech-ads--category-column .promo-placement--multi {
    width: 100% !important;
    max-width: 100% !important;
}

.newsTech-ads--category-column .promo-placement--multi .promo-stack,
.newsTech-ads--category-column .promo-placement--multi .promo-stack--horizontal,
.newsTech-ads--category-column .promo-placement--multi .promo-stack--vertical {
    width: 100% !important;
    max-width: 100% !important;
}

.newsTech-ads--category-column .promo-placement--multi .promo-stack--carousel > .promo-stack__item,
.newsTech-ads--category-column .promo-placement--multi .promo-stack--marquee > .promo-stack__item {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.newsTech-ads--category-column .promo-placement--multi .promo-stack--marquee {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

/* Footer ad zone (after main, all layouts) */
.content-footer-ad-zone {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.content-footer-ad-zone:not(:has(.promo-placement, .pressroom-ad-layout-slot)) {
    display: none;
}

.content-footer-ad-zone .newsTech-ads {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.content-footer-ad-zone .promo-placement {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

.content-footer-ad-zone .promo-placement img,
.content-footer-ad-zone .promo-placement video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Separate mobile / desktop ad creatives */
@media (max-width: 767px) {
    .promo-placement img.promo-media--desktop,
    .promo-placement video.promo-media--desktop,
    .promo-stack__item img.promo-media--desktop,
    .promo-stack__item video.promo-media--desktop {
        display: none !important;
    }

    .promo-placement img.promo-media--mobile,
    .promo-placement video.promo-media--mobile,
    .promo-stack__item img.promo-media--mobile,
    .promo-stack__item video.promo-media--mobile {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .promo-placement img.promo-media--mobile,
    .promo-placement video.promo-media--mobile,
    .promo-stack__item img.promo-media--mobile,
    .promo-stack__item video.promo-media--mobile {
        display: none !important;
    }

    .promo-placement img.promo-media--desktop,
    .promo-placement video.promo-media--desktop,
    .promo-stack__item img.promo-media--desktop,
    .promo-stack__item video.promo-media--desktop {
        display: block !important;
    }
}

/* Multi-ad stacks — horizontal & vertical layouts */
.promo-placement--multi {
    align-items: stretch !important;
    width: 100%;
}

.promo-placement--multi .promo-stack {
    display: flex !important;
    gap: 12px;
    width: 100%;
    align-items: stretch;
    align-self: stretch;
}

.promo-placement--multi .promo-stack--horizontal {
    flex-direction: row !important;
    flex-wrap: wrap;
}

.promo-placement--multi .promo-stack--vertical {
    flex-direction: column !important;
}

.promo-placement--multi .promo-stack--carousel {
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
}

.promo-placement--multi .promo-stack--marquee {
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow: hidden;
    width: max-content;
    min-width: 100%;
    animation: promo-marquee-scroll 24s linear infinite;
    gap: 8px;
}

.promo-placement--multi .promo-stack--marquee:hover {
    animation-play-state: paused;
}

.promo-placement--multi .promo-stack__item {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 !important;
}

/* Slot layout: only direct group children */
.promo-placement--multi .promo-stack--vertical > .promo-stack__item {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
}

/* Group layout: campaigns inside each group */
.promo-placement--multi .promo-stack__item.promo-stack--horizontal {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 12px;
}

.promo-placement--multi .promo-stack__item.promo-stack--horizontal > .promo-stack__item {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

.promo-placement--multi .promo-stack__item.promo-stack--vertical {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
}

.promo-placement--multi .promo-stack__item.promo-stack--vertical > .promo-stack__item {
  flex: 0 0 auto;
  width: 100%;
}

.promo-placement--multi .promo-stack--carousel > .promo-stack__item {
    flex: 0 0 min(88vw, 420px);
    scroll-snap-align: start;
}

.promo-placement--multi .promo-stack--marquee > .promo-stack__item {
    flex: 0 0 auto;
    width: min(78vw, 360px);
}

.promo-placement--multi .promo-stack__item img,
.promo-placement--multi .promo-stack__item video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.ad-slot-editor__preview .promo-stack {
    display: flex !important;
    gap: 12px;
    width: 100%;
    align-items: stretch;
}

.ad-slot-editor__preview .promo-stack--horizontal {
    flex-direction: row !important;
    flex-wrap: wrap;
}

.ad-slot-editor__preview .promo-stack--vertical {
    flex-direction: column !important;
}

.ad-slot-editor__preview .promo-stack__item {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 !important;
}

.ad-slot-editor__preview .promo-stack--vertical > .promo-stack__item {
    flex: 0 0 auto;
    width: 100%;
}

.ad-slot-editor__preview .promo-stack__item.promo-stack--horizontal {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 12px;
}

.ad-slot-editor__preview .promo-stack__item.promo-stack--horizontal > .promo-stack__item {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

.ad-slot-editor__preview .promo-stack__item.promo-stack--vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
}

.ad-slot-editor__preview .promo-stack__item.promo-stack--vertical > .promo-stack__item {
    width: 100%;
}

@keyframes promo-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.news__details .news__details-titles .author__date {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    flex-wrap: wrap;
    gap: 1.25rem !important;
    width: 100%;
    text-align: left;
    margin: 1rem 0 !important;
}

.news__details .news__details-titles .author__date .author {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem !important;
    grid-gap: 0.25rem !important;
    margin: 0;
}

.news__details .news__details-titles .author__date .author .avatar-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 0;
}

.news__details .news__details-titles .author__date .author .avatar-group .avatar {
    position: relative;
    flex: 0 0 auto;
    width: 3rem !important;
    height: 3rem !important;
    min-width: 3rem !important;
    min-height: 3rem !important;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    margin-left: -0.6rem !important;
    background-color: #f0f0f0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.news__details .news__details-titles .author__date .author .avatar-group .avatar:first-child {
    margin-left: 0 !important;
}

.news__details .news__details-titles .author__date .author .avatar-group .avatar:hover {
    z-index: 10;
    transform: translateY(-3px);
}

.news__details .news__details-titles .author__date .author .avatar-group .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.news__details .news__details-titles .author__date .author .avatar-group .avatar-overflow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
    color: #707070;
    font-size: calc(var(--article-font-size, 20px) * 0.75) !important;
    font-weight: 600;
}

.news__details .news__details-titles .author__date .author .avatar-group .avatar-text {
    font-size: calc(var(--article-font-size, 20px) * 0.75) !important;
}

.news__details .news__details-titles .author__date .author .author__name {
    margin: 0;
    padding: 0;
    line-height: 1.3 !important;
}

.news__details .news__details-titles .author__date .date {
    margin: 0 !important;
    line-height: 1.3 !important;
}

@media (max-width: 575px) {
    .news__details .news__details-titles .author__date {
        gap: 1rem !important;
    }

    .news__details .news__details-titles .author__date .author .avatar-group .avatar {
        width: 2.45rem !important;
        height: 2.45rem !important;
        min-width: 2.45rem !important;
        min-height: 2.45rem !important;
        margin-left: -0.53rem !important;
    }
}

.news__details .author__name,
.news__details .author__name a,
.news__details .author__date .date,
.news__details .author__date .date time,
.news__details .author__date .date i {
    font-size: var(--article-font-size, 20px) !important;
    font-weight: 500;
    line-height: 1.3 !important;
    color: #707070 !important;
    letter-spacing: 0.5px;
}

.news__details .author__name a:hover,
.news__details .author__name a:focus-visible {
    color: #555 !important;
    text-decoration: none;
}

@media (max-width: 1336px) {
    .details__title, .details__title h1 {
        font-size: 28px !important;
    }

    body.article-page-active .article-sticky-title.is-sticky-title .details__title {
        font-size: 24px !important;
    }
}

@media (max-width: 575px) {
    body:not(.home-page-active) .newsTech_slider-title h3 {
        font-size: 20px !important;
    }
    body:not(.home-page-active) .single_grid-title h3,
    body:not(.home-page-active) .single_grid-title h4,
    body:not(.home-page-active) .newsTech_slider-title h4,
    body:not(.home-page-active) .single_row-title h4,
    body:not(.home-page-active) .single_row-title h5,
    body:not(.home-page-active) .single_row-side-title h3,
    body:not(.home-page-active) .single_row-side-title h4,
    body:not(.home-page-active) .newsTech_feature-side .single_row-title h4,
    body:not(.home-page-active) .newsTech_feature-side .single_row-title h5,
    body:not(.home-page-active) .newsTech_feature-list .single_row-title h4,
    body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h4,
    body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h5,
    body:not(.home-page-active) .newsTech_side-wrapper .single_row-side-title h3 {
        font-size: 16px !important;
    }
}    .newsTech_feature-list ul{
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }
    .newsTech_feature-list ul li{
        flex-basis: 48%;
    }
    .newsTech_feature-list ul li:not(:last-child) {
        margin-bottom: unset !important;
    }
    .newsTech_section-wrapper {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .newsTech_feature-main h1{
        font-size: 32px;
    }
    .newsTech_feature-list {
        height: unset !important;
    }

    .single_grid-info-overlay{
        position: static;
        bottom: unset;
        padding: 20px 0;
    }

    .newsTech_feature-main .single_grid-image{
        min-height: unset;
        height: auto;
    }

    .single_grid-overlay-wrapper .single_grid-info::after{
        display: none;
    }

    .single_grid-overlay-wrapper,
    .grid_section-wrapper .single_grid-overlay-wrapper .single_grid-wrapper{
        height: unset;
    }

    .newsTech_feature-main h1,
    .newsTech_feature-main .single_grid-para{
        color: black;
    }

    .newsTech_feature-list{
        background: transparent;
        padding: 30px 0;
    }

    .newsTech_white{
        color: black !important;
    }

    .removedAni.active{
        animation: unset;
    }

    @media (max-width:767px) {
        .newsTech_feature-main .single_grid-para p{
            display: none;
        }

        .removeNews .col-md-4:not(:first-child){
            display: none;
        }
    }
    @media(max-width:575px){
        .newsTech_feature-list ul li {
                flex-basis: 100%;
        }
    }

/* ====================================================
   COMPREHENSIVE ARTICLE BODY STYLING (Blocks)
   ==================================================== */

.article-body {
    font-size: 20px;
    line-height: 1.8;
    color: #2b2b2b;
    font-family: "Mukta", sans-serif;
}

/* Headings — font sizes set in article-body block above */
.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 {
    color: #111;
}

/* Paragraphs */
.article-body p {
    margin-bottom: 0;
}

/* Links */
.article-body a {
    color: var(--editorial-link);
    font-weight: inherit;
    text-decoration: none;
    text-decoration-skip-ink: auto;
    border-bottom: none;
}
.article-body a:visited {
    color: var(--editorial-link-visited);
}
.article-body a:hover,
.article-body a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
    border-bottom: none;
}
.article-body a:link:hover,
.article-body a:link:focus-visible {
    color: var(--editorial-link);
}
.article-body a:visited:hover,
.article-body a:visited:focus-visible {
    color: var(--editorial-link-visited);
}

/* Blockquote */
.article-body blockquote {
    font-size: 1.2em;
    font-style: italic;
    color: #444;
    margin: 0;
    padding: 1.2em 1.5em;
    border-left: 5px solid #1ae25c;
    background-color: #f9f9f9;
    border-radius: 0 6px 6px 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.article-body blockquote p {
    margin-bottom: 0;
}
.article-body blockquote::before {
    content: "\201C";
    font-size: 4em;
    color: rgba(26, 226, 92, 0.2);
    position: absolute;
    top: -0.1em;
    left: 0.1em;
    font-family: "Mukta", sans-serif;
    line-height: 1;
}

/* Lists */
.article-body ul, .article-body ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}
.article-body ul {
    list-style-type: disc !important;
}
.article-body ol {
    list-style-type: decimal !important;
}
.article-body li {
    margin-bottom: 0.5em;
}
.article-body li::marker {
    color: #1ae25c;
    font-weight: bold;
}

/* Images and Media */
.article-body figure {
    margin: 0;
}
.article-body img:not(.gallery__slide-image):not(.gallery__slide-backdrop-image):not(.inline-related-card__image),
.article-body .figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: var(--tp-list-thumb-shadow);
    border: var(--tp-list-thumb-border);
    display: block;
    margin: 0;
}
.article-body .custom-video-player video,
.article-body .embed__html iframe,
.article-body .gallery__slide-image,
.article-body .gallery__slide-backdrop-image,
.article-body .gallery__thumb img,
.article-body .inline-related-card__image {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}
.article-body figcaption {
    text-align: center;
    font-size: 0.85em;
    color: #777;
    margin-top: 0.8em;
    font-style: italic;
}

/* Audio */
.article-body audio {
    width: 100%;
    margin: 1.5em 0;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* iFrame / Embeds (YouTube etc) — skip StreamField embed blocks */
.article-body iframe:not(.embed iframe) {
    display: block;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: none;
}

/* Code Blocks */
.article-body pre {
    background-color: #282c34 !important;
    color: #abb2bf !important;
    padding: 1.2em !important;
    border-radius: 8px !important;
    overflow-x: auto;
    margin: 0 !important;
    font-size: 0.9em !important;
    line-height: 1.5 !important;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.article-body .code-block-wrapper pre {
    background: #f4f4f6 !important;
    color: #27272a !important;
    box-shadow: none !important;
}
.article-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    background-color: #f4f4f4 !important;
    color: #d63384 !important;
    padding: 0.2em 0.4em !important;
    border-radius: 4px !important;
    font-size: 0.9em !important;
}
.article-body pre code {
    background-color: transparent !important;
    color: inherit !important;
    padding: 0 !important;
}

/* Tables */
.article-body table {
    width: 100% !important;
    margin: 2em 0 !important;
    border-collapse: collapse !important;
    font-size: 0.95em !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: none !important;
}
.article-body th, .article-body td {
    padding: 12px 15px !important;
    text-align: left !important;
    border-bottom: 1px solid #eee !important;
    border-right: none !important;
    border-left: none !important;
}
.article-body th {
    background-color: #f8f9fa !important;
    color: #333 !important;
    font-weight: 700 !important;
    border-top: none !important;
}
.article-body tr:nth-child(even) td {
    background-color: #fdfdfd !important;
}
.article-body tr:hover td {
    background-color: #f1f1f1 !important;
}

/* Carousel / Sliders */
.article-body .carousel {
    margin: 2em 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.article-body .carousel-inner img {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

/* Custom Blocks Styling for Techpana Original Theme */

/* Image */
.article-body img:not(.gallery__slide-image):not(.inline-related-card__image) {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: var(--tp-list-thumb-shadow);
    border: var(--tp-list-thumb-border);
    margin: 0;
    display: block;
}

/* Carousel */
.article-body .carousel {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Lists */
.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 20px;
}

.article-body ul li {
    list-style-type: disc;
    margin-bottom: 10px;
    line-height: 1.8;
}

.article-body ol li {
    list-style-type: decimal;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Blockquote */
.article-body blockquote {
    font-style: italic;
    background: #fdfdfd;
    border-left: 5px solid #1ae25c;
    padding: 20px 25px;
    margin: 0;
    color: #444;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 0 8px 8px 0;
}

/* Code Block */
.article-body code {
    background: #f4f4f6;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.article-body pre {
    background: #282a36 !important;
    color: #f8f8f2 !important;
    padding: 20px !important;
    overflow-x: auto;
    margin: 0 !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.article-body .code-block-wrapper pre {
    background: #f4f4f6 !important;
    color: #27272a !important;
    box-shadow: none !important;
}

.article-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Link */
.article-body a {
    color: var(--editorial-link);
    font-weight: inherit;
    text-decoration: none;
    text-decoration-skip-ink: auto;
    border-bottom: none;
}

.article-body a:visited {
    color: var(--editorial-link-visited);
}

.article-body a:hover,
.article-body a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
    border-bottom: none;
}

.article-body a:link:hover,
.article-body a:link:focus-visible {
    color: var(--editorial-link);
}

.article-body a:visited:hover,
.article-body a:visited:focus-visible {
    color: var(--editorial-link-visited);
}

/* Headings — spacing/sizes from main article-body typography rules */

/* Table */
.article-body table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background: #fff;
}

.article-body table th, .article-body table td {
    border: 1px solid #eee !important;
    padding: 12px 15px !important;
    text-align: left;
}

.article-body table th {
    background: #f9f9f9;
    font-weight: 700;
    color: #333;
}

.article-body table tr:nth-child(even) {
    background-color: #fafafa;
}

.article-body table tr:hover td {
    background: #f1f1f1;
}

/* Formattings */
.article-body strong, .article-body b {
    font-weight: 700;
    color: #222;
}

.article-body em, .article-body i {
    font-style: italic;
}

.article-body u {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body s, .article-body del {
    text-decoration: line-through;
    opacity: 0.85;
}

.article-body mark {
    background: #fff3bf;
    color: inherit;
    padding: 0 .15em;
    border-radius: 2px;
}

.article-body sub, .article-body sup {
    font-size: 0.75em;
    line-height: 0;
}

.article-body hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2em 0;
}

.article-body .paragraph blockquote {
    font-size: 1.1em;
    font-style: italic;
    color: #444;
    margin: 0;
    padding: 1em 1.25em;
    border-left: 4px solid var(--accent);
    background: #f9f9f9;
    border-radius: 0 6px 6px 0;
}


/* ---- RICH TEXT BLOCKS EXTRACTED FROM TECHPANA-TIMES ---- */

.article-body a u,
.article-body u a {
  text-decoration: inherit;
}
.article-body .promo-placement a,
.article-body .ad-slot,
.article-body .inline-related-card a,
.article-body .promo-placement a:hover,
.article-body .ad-slot:hover,
.article-body .inline-related-card a:hover,
.article-body .promo-placement a:focus-visible,
.article-body .ad-slot:focus-visible,
.article-body .inline-related-card a:focus-visible {
  font-weight: inherit;
  text-decoration: none;
  border-bottom: none;
}
.body blockquote, .quote-box {
  margin: 28px 0;
  padding: 16px 0 16px 20px;
  border-left: 4px solid var(--green);
  color: #1f2933;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.55;
}
.body ul, .body ol,
.article-body ul, .article-body ol,
.article-body .paragraph ul, .article-body .paragraph ol {
  margin: 0.6em 0 1em 1em;
  padding-left: 1.25em;
}
.body li > ul, .body li > ol,
.article-body li > ul, .article-body li > ol,
.article-body .paragraph li > ul, .article-body .paragraph li > ol {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}
.body li,
.article-body li,
.article-body .paragraph li { margin: .4em 0; }
.body img { border-radius: var(--radius); margin: 1em 0; }

/* Drop-cap on first paragraph */
.article-body p:first-child::first-letter {
  float: left;
  margin: 10px 10px 0 0;
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: .78;
}

/* Pull quote */
.pull-quote {
  margin: 0;
  padding: 12px 0 12px 22px;
  border-left: 4px solid var(--green);
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
}
.pull-quote cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; color: var(--muted); }

/* Callout */
.callout {
  margin: 1.5em 0;
  padding: 14px 18px;
  border-left: 4px solid var(--muted);
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font: inherit;
}
.callout--warning { border-color: #c54; background: #fdf2ee; }
.callout--insight { border-color: var(--green); background: #effaf3; }

/* Editor note */
.editor-note {
  margin: 1.5em 0;
  padding: 12px 18px;
  background: #fff8e1;
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
}

/* Corrections */
.corrections {
  margin: 32px 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.corrections h3 {
  font-size: 11px;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-family: var(--font-sans);
}
.corrections ul { list-style: none; padding: 0; margin: 0; }
.corrections li { font-size: 14px; padding: 4px 0; border-bottom: 1px solid var(--line); }

/* Article footer meta (last updated) — italic only; same size/weight/color as body */
.article-body p.article-footer-meta,
.news_detail-para.article-body p.article-footer-meta {
  margin: 1.8em 0 0;
  color: inherit;
  font: inherit;
  text-align: justify;
  font-style: italic !important;
  font-synthesis: style;
}

.article-body p.article-footer-meta em,
.article-body p.article-footer-meta time {
  font: inherit;
  font-style: inherit;
  color: inherit;
}

/* ── Inline sponsor ──────────────────────────────────────────── */
.inline-sponsor {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 18px;
  align-items: center;
  margin: 28px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.inline-sponsor strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 15px;
  line-height: 1.3;
}
.inline-sponsor p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 640px) { .inline-sponsor { grid-template-columns: 1fr; } }

/* ── Figure / gallery ────────────────────────────────────────── */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure--wide img { width: 100%; max-width: 100%; }
.figure figcaption { font-size: 15px; color: var(--muted); margin-top: 6px; text-align: center; }

.gallery { margin: 0; }
.gallery__title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 .75em; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.gallery__grid-item { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.gallery__grid-item img { width: 100%; height: 190px; object-fit: cover; }
.gallery__grid-item figcaption { font-size: 14px; color: var(--muted); padding: 5px 7px; }

.gallery__strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 8px;
}
.gallery__strip::-webkit-scrollbar { height: 4px; }
.gallery__strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.gallery__strip-item {
  flex: 0 0 250px; scroll-snap-align: start; margin: 0;
  overflow: hidden; border-radius: var(--radius); background: var(--soft);
}
.gallery__strip-item img { width: 250px; height: 188px; object-fit: cover; }
.gallery__strip-item figcaption { font-size: 14px; color: var(--muted); padding: 5px 7px; }

.gallery__carousel {
  border-radius: var(--radius);
  background: var(--deep);
  overflow: hidden;
}
.gallery__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background: var(--deep);
}
.gallery__carousel-track {
  display: flex;
  height: 100%;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.gallery__slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.gallery__slide-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--deep);
}
.gallery__slide-backdrop-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: blur(28px);
  opacity: 0.72;
}
.gallery__slide-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.gallery__controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
  z-index: 2;
}
.gallery__controls > * { pointer-events: auto; }
.gallery__expand,
.gallery__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(30, 32, 36, .88);
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.gallery__expand iconify-icon,
.gallery__nav iconify-icon {
  font-size: 20px;
}
.gallery__expand:hover,
.gallery__nav:hover {
  background: rgba(17, 19, 21, .95);
}
.gallery__nav-group {
  display: flex;
  gap: 8px;
}
.gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  align-items: center;
}
.gallery__thumbs::-webkit-scrollbar { height: 4px; }
.gallery__thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.gallery__thumb {
  flex: 0 0 auto;
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color .2s, opacity .2s;
}
.gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__thumb:hover { opacity: .9; }
.gallery__thumb.is-active { border-color: #2563eb; }
.gallery__caption {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 15px;
  color: var(--muted);
  text-align: center !important;
  text-align-last: center;
  hyphens: none;
  line-height: 1.5;
}
.gallery__caption--hidden { display: none; }
.gallery__caption small { color: var(--muted-2); }

/* Embed / iframe — article pages load components/embed.css for full rules */
.embed { margin: 0; }
.article-body .embed {
  width: 100%;
  max-width: 100%;
}
.embed__html {
  position: relative;
  width: 100%;
}
.embed--oembed .embed__html {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.embed--oembed .embed__html iframe,
.embed--oembed .embed__html video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius);
}
.embed figcaption {
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

/* Audio / video embed blocks */
.audio-embed,
.video-embed {
  margin: 0;
}
.audio-embed figcaption,
.video-embed figcaption {
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}
.audio-embed figcaption small,
.video-embed figcaption small { color: var(--muted-2); }
.video-embed--prose {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Code blocks */
.code-block-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  border: 1px solid #e4e4e7;
  background: #f4f4f6;
}
.code-block-wrapper pre {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.code-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: #71717a;
  background: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 6px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all .2s ease;
  user-select: none;
}

/* Image lightbox */
.rp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 24px);
}
.rp-lightbox[hidden] { display: none !important; }
body.rp-lightbox-open { overflow: hidden; }
.rp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  cursor: zoom-out;
}
.rp-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  height: min(90vh, 880px);
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: stretch;
}
.rp-lightbox__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  min-height: 48px;
}
.rp-lightbox__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.rp-lightbox__close iconify-icon { font-size: 20px; }
.rp-lightbox__close:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(26, 226, 92, .1);
}
.rp-lightbox__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 12px;
  min-height: 0;
}
.rp-lightbox__viewport {
  overflow: hidden;
  min-height: 0;
  height: 100%;
  touch-action: pan-y pinch-zoom;
}
.rp-lightbox__track {
  display: flex;
  height: 100%;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.rp-lightbox__track.is-instant { transition: none; }
.rp-lightbox__pane {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.rp-lightbox__pane img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}
.rp-lightbox__nav {
  align-self: center;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.rp-lightbox__nav iconify-icon { font-size: 24px; }
.rp-lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.rp-lightbox__nav[hidden] { display: none !important; }
.rp-lightbox__caption-wrap {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.rp-lightbox--has-caption .rp-lightbox__caption-wrap {
  min-height: 2.5rem;
}
.rp-lightbox__caption {
  margin: 0;
  width: 100%;
  max-width: 640px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  opacity: 1;
  transition: opacity .28s ease;
}
.rp-lightbox__caption.is-empty {
  opacity: 0;
}
.rp-lightbox__caption.is-changing {
  opacity: 0;
}
.rp-lightbox__thumbs {
  display: flex;
  gap: 8px;
  width: 100%;
  min-height: 68px;
  max-height: 68px;
  padding: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  flex-shrink: 0;
  align-items: center;
}
.rp-lightbox:not(.rp-lightbox--multi) .rp-lightbox__thumbs {
  min-height: 0;
  max-height: 0;
  padding: 0;
  overflow: hidden;
}
.rp-lightbox__thumbs[hidden] { display: none !important; }
.rp-lightbox__thumbs::-webkit-scrollbar { height: 4px; }
.rp-lightbox__thumbs::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 2px; }
.rp-lightbox__thumb {
  flex: 0 0 auto;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color .2s, opacity .2s;
}
.rp-lightbox__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rp-lightbox__thumb:hover { opacity: .9; }
.rp-lightbox__thumb.is-active { border-color: #2563eb; }
@media (max-width: 640px) {
  .rp-lightbox__dialog {
    height: min(92vh, 100%);
    width: 100%;
    grid-template-rows: 44px minmax(0, 1fr) auto auto;
    gap: 10px;
  }
  .rp-lightbox__header { min-height: 44px; }
  .rp-lightbox__stage {
    position: relative;
    display: block;
    min-height: 0;
    height: 100%;
  }
  .rp-lightbox__viewport {
    height: 100%;
  }
  .rp-lightbox__nav {
    position: absolute;
    bottom: 12px;
    z-index: 3;
    width: 40px;
    height: 40px;
    background: rgba(30, 32, 36, .88);
  }
  .rp-lightbox__nav--prev { right: 56px; left: auto; }
  .rp-lightbox__nav--next { right: 12px; }
  .rp-lightbox__nav iconify-icon { font-size: 20px; }
  .rp-lightbox__pane {
    padding-bottom: 56px;
  }
  .rp-lightbox__thumbs {
    min-height: 64px;
    max-height: 64px;
  }
  .rp-lightbox__thumb {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
  }
  .rp-lightbox:not(.rp-lightbox--multi) .rp-lightbox__thumbs {
    min-height: 0;
    max-height: 0;
  }
  .gallery__thumb {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
  }
}
.code-copy-btn:hover { background: rgba(0,0,0,.08); color: #18181b; transform: translateY(-1px); }
.code-copy-btn:active { transform: translateY(0); }
.code-copy-btn.copied { background: #d1fae5; color: #065f46; border-color: #a7f3d0; font-weight: 600; }

/* ── Tables ──────────────────────────────────────────────────── */
figure.table {
  width: 100%;
  margin: 2.2em 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.article-body table:not(figure.table table) {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
figure.table table, .body table, .article-body table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
figure.table th, figure.table td, .body th, .body td, .article-body th, .article-body td {
  border: 1px solid var(--line) !important;
  padding: 9px 13px !important; text-align: left; vertical-align: middle;
}
/* Wrapper owns the outer stroke; cells keep internal grid lines only. */
figure.table tr:first-child > th,
figure.table tr:first-child > td { border-top: none !important; }
figure.table tr:last-child > th,
figure.table tr:last-child > td { border-bottom: none !important; }
figure.table tr > th:first-child,
figure.table tr > td:first-child { border-left: none !important; }
figure.table tr > th:last-child,
figure.table tr > td:last-child { border-right: none !important; }
figure.table th, .body th, .article-body th { background: var(--soft); font-weight: 800; color: var(--ink); }
figure.table tr:hover td, .body tr:hover td, .article-body tr:hover td { background: rgba(0,0,0,.02); }

/* =============================================================
   CUSTOM AUDIO & VIDEO PLAYERS
   ============================================================= */

/* Universal Player Hidden Class */
.custom-video-player .hidden:not(.player-overlay-play),
.custom-audio-player .hidden,
.hidden:not(.player-overlay-play) {
  display: none !important;
}

.custom-video-player iconify-icon,
.custom-audio-player iconify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* Custom Video Player Container */
.custom-video-player {
  position: relative;
  width: 100%;
  border-radius: var(--radius, 6px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-video-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Big Overlay Center Play Button */
.player-overlay-play {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s, background-color 0.2s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  padding: 0;
  outline: none;
}

.player-overlay-play svg,
.player-overlay-play iconify-icon {
  width: 28px;
  height: 28px;
  font-size: 28px;
  margin-left: 4px;
  transition: transform 0.2s;
}

.player-overlay-play:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) scale(1.08);
  border-color: var(--accent);
}

.player-overlay-play.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

/* Loading Spinner */
.player-loader {
  position: absolute;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-loader .spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-left-color: var(--accent);
  border-radius: 50%;
  animation: player-spin 0.8s linear infinite;
}

@keyframes player-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Controls Bar */
.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  padding: 24px 16px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.custom-video-player:hover .player-controls,
.player-controls.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Timeline / Seek Bar */
.player-timeline-container {
  width: 100%;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
}

.player-timeline {
  position: relative;
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  transition: height 0.15s ease;
}

.player-timeline-container:hover .player-timeline {
  height: 5px;
}

.player-progress-buffer {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  width: 0%;
}

.player-progress-current {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
}

/* Invisible range slider over timeline to capture dragging */
.player-timeline-slider {
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 16px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
}

.player-timeline-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 100%;
}

.player-timeline-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
}

/* Timeline hover preview tooltip */
.player-timeline-hover-time {
  position: absolute;
  bottom: 15px;
  transform: translateX(-50%);
  background: rgba(18, 20, 22, 0.95);
  color: #fff;
  padding: 3px 6px;
  font-size: 11px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.player-timeline-container:hover .player-timeline-hover-time {
  opacity: 1;
}

/* Controls layout row */
.player-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  color: #ffffff;
}

.player-controls-primary,
.player-controls-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-controls-primary {
  flex-shrink: 0;
}

.player-controls-secondary {
  margin-left: auto;
  flex-shrink: 0;
}

/* Player buttons */
.player-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s, transform 0.1s, background-color 0.15s;
  outline: none;
  padding: 0;
}

.player-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.player-btn:active {
  transform: scale(0.95);
}

.player-btn svg,
.player-btn iconify-icon {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

/* Volume Slider */
.player-volume-container {
  display: flex;
  align-items: center;
  gap: 4px;
}

.player-volume-slider {
  width: 0;
  height: 4px;
  opacity: 0;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.player-volume-container:hover .player-volume-slider,
.player-volume-slider:focus {
  width: 60px;
  opacity: 1;
}

.player-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Time indication */
.player-time {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.player-time-separator {
  margin: 0 3px;
  opacity: 0.5;
}

/* Fullscreen support */
.custom-video-player.fullscreen {
  border-radius: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto;
}

.custom-video-player.fullscreen video {
  object-fit: contain;
}

/* =============================================================
   CUSTOM AUDIO PLAYER (Cleaner & Simpler Layout)
   ============================================================= */
.custom-audio-player {
  width: 100%;
  margin: 0;
}

.custom-audio-player > audio {
  display: none;
}

.audio-player-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas: "play progress time volume";
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--soft, #f7f9fa);
  border: 1px solid var(--line, #e2e5e8);
  border-radius: var(--radius, 6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 52px;
}

.audio-player-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.audio-player-card.is-playing {
  border-color: rgba(0, 0, 0, 0.12);
}

/* Audio play/pause button */
.audio-btn {
  background: none;
  border: none;
  color: var(--muted);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.15s, transform 0.1s, background-color 0.15s;
  outline: none;
  padding: 0;
}

.audio-btn:hover {
  color: var(--ink);
  background-color: rgba(0, 0, 0, 0.05);
}

.audio-btn:active {
  transform: scale(0.92);
}

.audio-btn.btn-play {
  background: var(--ink);
  color: #ffffff;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  grid-area: play;
}

.audio-btn.btn-play:hover {
  background: var(--accent);
  color: #ffffff;
}

.audio-btn.btn-play svg,
.audio-btn.btn-play iconify-icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.audio-btn.btn-play .icon-play {
  margin-left: 2px;
}

.audio-btn svg,
.audio-btn iconify-icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

/* Timeline progress for audio */
.audio-player-progress-section {
  grid-area: progress;
  min-width: 0;
}

.audio-player-time {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  flex-shrink: 0;
  grid-area: time;
}

.audio-time-separator {
  margin: 0 3px;
  opacity: 0.5;
}

.audio-waveform {
  width: 100%;
  min-width: 0;
  cursor: pointer;
  height: 32px;
  display: block;
  overflow: hidden;
}

.audio-waveform wave {
  display: block;
  width: 100%;
}

.audio-player-main-actions {
  display: contents;
}

/* Audio Volume slider */
.audio-volume-container {
  display: flex;
  align-items: center;
  gap: 2px;
  grid-area: volume;
}

.audio-volume-slider {
  width: 0;
  height: 4px;
  opacity: 0;
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.audio-volume-container:hover .audio-volume-slider,
.audio-volume-slider:focus {
  width: 50px;
  opacity: 1;
}

.audio-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Responsive player controls */
@media (max-width: 640px) {
  .player-controls-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
  }

  .player-controls-primary {
    grid-column: 2;
    justify-self: center;
  }

  .player-time {
    grid-column: 1;
    grid-row: 1;
  }

  .player-controls-secondary {
    grid-column: 3;
    grid-row: 1;
    margin-left: 0;
    gap: 4px;
  }

  .player-volume-container:hover .player-volume-slider,
  .player-volume-slider:focus {
    width: 48px;
  }

  .audio-player-card {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "progress progress"
      "time actions";
    padding: 10px 12px;
    gap: 10px 12px;
  }

  .audio-player-main-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .audio-btn.btn-play {
    grid-area: unset;
  }

  .audio-volume-container {
    grid-area: unset;
  }

  .audio-volume-container:hover .audio-volume-slider,
  .audio-volume-slider:focus {
    width: 44px;
  }
}

/* Inline Related Card styling */
.inline-related-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 0;
  background-color: transparent;
  clear: both;
  float: none;
  width: 100%;
}

.inline-related-card__image-link {
  flex-shrink: 0;
  display: block;
  width: 138px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}

.inline-related-card__image {
  display: block;
}

.inline-related-card__content {
  flex-grow: 1;
}

.inline-related-card__label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
  line-height: 1.2;
}

.inline-related-card__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  font-family: var(--font-serif);
}

.article-body .inline-related-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.inline-related-card__title a {
  color: #111315 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.2s ease;
}

.inline-related-card__title a:hover,
.inline-related-card__title a:focus-visible {
  color: #6b7280 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.article-body .inline-related-card__title a {
  color: #111315 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  font-weight: 700;
}

.article-body .inline-related-card__title a:hover,
.article-body .inline-related-card__title a:focus-visible {
  color: #6b7280 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.link-style-bold_underlined .inline-related-card__title a,
.link-style-bold_underlined .inline-related-card__title a:hover,
.link-style-bold_underlined .inline-related-card__title a:focus-visible {
  color: #111315 !important;
  font-weight: inherit;
  text-decoration: none !important;
  border-bottom: none !important;
}

.link-style-bold_underlined .inline-related-card__title a:hover,
.link-style-bold_underlined .inline-related-card__title a:focus-visible {
  color: #6b7280 !important;
}

/* Sidebar related articles on article page */
aside.sidebar .newsTech_side-wrapper .single_row-side-title h3 a {
  color: #111315 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.2s ease;
}

aside.sidebar .newsTech_side-wrapper .single_row-side-title h3 a:hover,
aside.sidebar .newsTech_side-wrapper .single_row-side-title h3 a:focus-visible {
  color: #6b7280 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

@media (min-width: 768px) {
  .inline-related-card {
    float: none;
    width: 100%;
    margin: 24px 0;
  }
}

@media (max-width: 767px) {
  .inline-related-card {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
    gap: 16px;
  }
  .inline-related-card__image-link {
    width: 115px;
  }
  .inline-related-card__title {
    font-size: 1.1rem;
  }
}

/* Clear floats on non-paragraph blocks inside article-body */
.article-body h2, .article-body h3, .article-body h4,
.article-body .figure, .article-body figure,
.article-body .embed, .article-body iframe,
.article-body .audio-embed, .article-body .video-container,
.article-body .gallery, .article-body .pullquote, .article-body .pull-quote,
.article-body .table-wrapper, .article-body .callout,
.article-body pre, .article-body .code-block-wrapper {
  clear: both;
}

/* Tighter vertical rhythm — flex gap is the only spacing between blocks */
.news_detail-para.article-body,
.article-body.news_detail-para {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news_detail-para.article-body > *,
.article-body.news_detail-para > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.article-body > .figure,
.article-body > figure.figure,
.article-body > .gallery,
.article-body > .embed,
.article-body > .audio-embed,
.article-body > .video-embed,
.article-body > .code-block-wrapper,
.article-body > .pull-quote,
.article-body > figure,
.article-body > .paragraph,
.article-body > h2,
.article-body > h3,
.article-body > h4 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.article-body .inline-related-card {
  margin-top: 0;
  margin-bottom: 0;
}

.article-body .figure figcaption,
.article-body .embed figcaption,
.article-body .audio-embed figcaption,
.article-body .video-embed figcaption {
  margin-top: 6px;
}

.article-body .gallery__caption {
  margin-top: 0;
  padding-top: 6px;
}


/* ── Page content spacing (below site header) ───────────────── */
main#main {
  padding-top: 30px;
}

body.home-page-active main#main {
  padding-top: 0;
}

body.article-page-active section.custom-container.mt-10 {
  margin-bottom: 60px;
}

body.article-page-active .sticky__sidebar {
  padding-bottom: 60px;
}

@media (max-width: 991.98px) {
  body.article-page-active main#main {
    padding-top: 0;
  }

  body.article-page-active .col-lg-1 > .sticky__sidebar {
    padding-bottom: 0;
  }
}

.page-shell {
  padding-bottom: 60px;
}

.news__section-with-multiple-news {
  margin-bottom: 60px;
}

/* ── Product comparison embed (full custom-container width) ─── */
.comparison-page-shell {
  padding-top: 28px;
  padding-bottom: 64px;
}

.pa-embed,
.static-page--embed-only,
.pa-embed > [data-pa-embed] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.static-page--embed-only {
  margin-inline: auto;
}

/* Homepage featured section — right sidebar card spacing */
.mb-20 {
  margin-bottom: 20px !important;
}

.bg-light-gray {
  background-color: #f3f4f6 !important;
}

/* Homepage hero — scoped layout helpers (do not affect category/video sections) */
body.home-page-active .newsTech_section-wrapper-hero .newsTech_feature-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

body.home-page-active .newsTech_section-wrapper-hero .newsTech_feature-list ul li {
  flex: 1 1 calc(50% - 8px);
  max-width: calc(50% - 8px);
}

@media (max-width: 575.98px) {
  body.home-page-active .newsTech_section-wrapper-hero .newsTech_feature-list ul li {
    flex-basis: 100%;
    max-width: 100%;
  }
}

body.home-page-active .newsTech_section-wrapper-hero .newsTech_feature-list .single_row-wrapper,
body.home-page-active .newsTech_section-wrapper-hero .sticky__sidebar-60 .newsTech_side-wrapper .single_row-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home-page-active .newsTech_section-wrapper-hero .sticky__sidebar-60 .newsTech_side-wrapper .single_row-side-image {
  flex: 0 0 35% !important;
  width: 35% !important;
  max-width: 35% !important;
  align-self: flex-start !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}

body.home-page-active .newsTech_section-wrapper-hero .newsTech_feature-list .single_row-image {
  flex: 0 0 30% !important;
  width: 30% !important;
  max-width: 30% !important;
  align-self: flex-start !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}

body.home-page-active .newsTech_section-wrapper-hero .sticky__sidebar-60 .newsTech_side-wrapper .single_row-side-image .image-size,
body.home-page-active .newsTech_section-wrapper-hero .newsTech_feature-list .single_row-image .image-size {
  width: 100% !important;
}

body.home-page-active .newsTech_section-wrapper-hero .sticky__sidebar-60 .newsTech_side-wrapper .image-size a,
body.home-page-active .newsTech_section-wrapper-hero .newsTech_feature-list .image-size a {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}

body.home-page-active .newsTech_section-wrapper-hero .sticky__sidebar-60 .newsTech_side-wrapper .image-size img,
body.home-page-active .newsTech_section-wrapper-hero .newsTech_feature-list .image-size img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 4px !important;
}

body.home-page-active .newsTech_section-wrapper-hero .sticky__sidebar-60 .newsTech_side-wrapper .single_row-side-info,
body.home-page-active .newsTech_section-wrapper-hero .newsTech_feature-list .single_row-info {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 0 0 4px !important;
  margin: 0 !important;
}

@media (max-width: 575.98px) {
  body.home-page-active .newsTech_section-wrapper-hero .sticky__sidebar-60 .newsTech_side-wrapper .single_row-side-image {
    flex: 0 0 30% !important;
    width: 30% !important;
    max-width: 30% !important;
  }
}

/* Article list card titles — lock to category page list size */
body:not(.home-page-active) .single_row-title h4,
body:not(.home-page-active) .single_row-title h4 a,
body:not(.home-page-active) .single_row-title h5,
body:not(.home-page-active) .single_row-title h5 a,
body:not(.home-page-active) .single_row-side-title h3,
body:not(.home-page-active) .single_row-side-title h3 a,
body:not(.home-page-active) .single_row-side-title h4,
body:not(.home-page-active) .single_row-side-title h4 a,
body:not(.home-page-active) .newsTech_feature-side .single_row-title h4,
body:not(.home-page-active) .newsTech_feature-side .single_row-title h4 a,
body:not(.home-page-active) .newsTech_feature-side .single_row-title h5,
body:not(.home-page-active) .newsTech_feature-side .single_row-title h5 a,
body:not(.home-page-active) .newsTech_feature-list .single_row-title h4,
body:not(.home-page-active) .newsTech_feature-list .single_row-title h4 a,
body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h4,
body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h4 a,
body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h5,
body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h5 a,
body:not(.home-page-active) .newsTech_side-wrapper .single_row-side-title h3,
body:not(.home-page-active) .newsTech_side-wrapper .single_row-side-title h3 a,
body:not(.home-page-active) .single_grid-title h4,
body:not(.home-page-active) .single_grid-title h4 a,
body:not(.home-page-active) .newsTech_section-wrapper .single_grid-wrapper:not(.single_grid-overlay-wrapper) .single_grid-title h3,
body:not(.home-page-active) .newsTech_section-wrapper .single_grid-wrapper:not(.single_grid-overlay-wrapper) .single_grid-title h3 a {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

@media (max-width: 575px) {
  body:not(.home-page-active) .single_row-title h4,
  body:not(.home-page-active) .single_row-title h4 a,
  body:not(.home-page-active) .single_row-title h5,
  body:not(.home-page-active) .single_row-title h5 a,
  body:not(.home-page-active) .single_row-side-title h3,
  body:not(.home-page-active) .single_row-side-title h3 a,
  body:not(.home-page-active) .single_row-side-title h4,
  body:not(.home-page-active) .single_row-side-title h4 a,
  body:not(.home-page-active) .newsTech_feature-side .single_row-title h4,
  body:not(.home-page-active) .newsTech_feature-side .single_row-title h4 a,
  body:not(.home-page-active) .newsTech_feature-side .single_row-title h5,
  body:not(.home-page-active) .newsTech_feature-side .single_row-title h5 a,
  body:not(.home-page-active) .newsTech_feature-list .single_row-title h4,
  body:not(.home-page-active) .newsTech_feature-list .single_row-title h4 a,
  body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h4,
  body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h4 a,
  body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h5,
  body:not(.home-page-active) .newsTech_side-wrapper .single_row-title h5 a,
  body:not(.home-page-active) .newsTech_side-wrapper .single_row-side-title h3,
  body:not(.home-page-active) .newsTech_side-wrapper .single_row-side-title h3 a,
  body:not(.home-page-active) .single_grid-title h4,
  body:not(.home-page-active) .single_grid-title h4 a,
  body:not(.home-page-active) .newsTech_section-wrapper .single_grid-wrapper:not(.single_grid-overlay-wrapper) .single_grid-title h3,
  body:not(.home-page-active) .newsTech_section-wrapper .single_grid-wrapper:not(.single_grid-overlay-wrapper) .single_grid-title h3 a {
    font-size: 16px !important;
  }
}

/* ── Header + navbar parity (main-techpana-site) ───────────── */
@media (min-width: 576px) {
  .news-header-middle {
    display: block !important;
  }
}

.news-header-middle {
  padding: 20px 0;
}

.news-header-middle .news-header-logo {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.news-header-middle .news-header-logo-img img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
}

.news-header-logo-text {
  display: inline-block;
  font-family: "Mukta", sans-serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: #1ae25c;
  text-decoration: none;
}

.news_sticky-nav .news-header-logo-text {
  font-size: clamp(18px, 3.5vw, 24px);
}

.news-header-middle .news-header-date {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.news-header-date span {
  display: block;
  font-family: "Mukta", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  text-align: left;
  color: #656565;
}

.news-header-nav-bar {
  cursor: pointer;
  padding: 5px 10px;
  margin-right: 1rem;
}

.nav-bar {
  font-size: 18px;
  margin-right: -10px;
  margin-left: -10px;
  color: #333;
}

.news-navbar-search {
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
  margin-left: 5px;
}

.news-navbar-search img {
  width: 100%;
  height: 100%;
  display: block;
}

.news-header-nav .navbar,
.news-header-nav .news-navbar-content {
  padding: 0;
}

.news-navbar-content .navbar-collapse {
  padding: 8px 0 4px;
}

@media (min-width: 992px) {
  .news-header-nav,
  .news-header-nav.sticky .navbar,
  .news-navbar-content {
    min-height: 55px;
  }
}

@media (max-width: 991.98px) {
  .news-header-nav,
  .news-header-nav.sticky .navbar,
  .news-navbar-content {
    min-height: 92px;
  }
}

/* ── Header logo ad (desktop, fills space right of logo) ───── */
.promo-placement--header-logo {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
}

.promo-placement--header-logo img,
.promo-placement--header-logo video,
.promo-placement--header-logo .promo-placement__link {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 576px) {
  .news-header-middle-content {
    justify-content: flex-start !important;
    gap: 20px;
    max-width: 100%;
    overflow: hidden;
  }

  .news-header-middle .news-header-logo {
    flex: 0 0 auto;
  }

  .news-header-ads-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 280px);
    margin-left: 0 !important;
    width: auto !important;
    overflow: hidden;
  }

  .news-header-ads-wrapper:not(:has(.promo-placement, .pressroom-ad-layout-slot)) {
    display: none;
  }

  .news-header-ads-content {
    max-width: 100% !important;
    width: 100%;
    margin-left: 0 !important;
    overflow: hidden;
  }

  .news-header-ads-content .promo-placement,
  .news-header-ads-content .promo-placement__link,
  .news-header-ads-content .promo-placement img,
  .news-header-ads-content .promo-placement video {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 576px) and (max-width: 992px) {
  .news-header-ads-wrapper {
    max-width: calc(100% - 220px);
  }
}

/* ── Header nav + side drawer (header2.html — techpana.com reference) ─ */
.news-header-nav .navbar-nav {
  gap: 30px;
  align-items: center;
}

.news-header-nav .navbar-nav .nav-link,
.news-header-nav .navbar-nav .nav-link.dropdown-toggle {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: rgba(101, 101, 101, 0.9) !important;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  padding: 0 !important;
  white-space: nowrap;
}

.news-header-nav .navbar-nav .nav-link:hover,
.news-header-nav .navbar-nav .nav-link.dropdown-toggle:hover {
  color: rgba(51, 51, 51, 0.9) !important;
}

.news-header-nav .navbar-nav .nav-item.active > .nav-link {
  color: #1ae25c !important;
}

.news-header-nav .navbar-nav .nav-link span {
  font-size: 14px;
  margin-left: 5px;
}

.news-header-nav .dropdown-item {
  font-size: 15px;
  font-weight: 400;
  padding: 6px 8px;
  color: #444;
}

.news-navbar-right-menu-item a {
  font-size: 15px;
  font-weight: 500;
}

.side-nav {
  width: 300px;
}

.side-nav-social-share {
  font-size: 18px;
  color: #555;
  padding: 20px 20px 15px;
  border-bottom: 1px solid #f1f1f1;
}

.side-nav-social-share .news-header-social-share {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
}

.side-nav-social-share .news-header-social-share-icon {
  display: inline-flex;
  margin: 0 10px;
}

.side-nav-social-share .news-header-social-share-icon:first-child {
  margin-left: 0;
}

.side-nav-social-share .news-header-social-share-icon:last-child {
  margin-right: 0;
}

.side-nav-social-share .news-header-social-share-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555;
}

.side-nav-social-share .news-header-social-share-icon a i,
.side-nav-social-share .news-header-social-share-icon a iconify-icon {
  font-size: 18px;
  line-height: 1;
}

.side-nav-social-share .news-header-other-links {
  margin-top: 12px;
}

.side-navbar {
  padding: 20px 25px 0;
}

.side-navbar ul li {
  padding: 10px 0;
}

.side-navbar ul li a {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #656565 !important;
  line-height: 1.4;
}

.side-navbar ul li a:hover {
  color: rgba(51, 51, 51, 0.7) !important;
}

.side-navbar .active > a,
.side-navbar .active a {
  color: #333 !important;
}

.side-navbar-dropdown span {
  font-size: 14px;
}

.side-navbar-dropdown-items ul li {
  padding: 0 !important;
}

.side-navbar-dropdown-items ul li a {
  font-size: 15px !important;
  font-weight: 400 !important;
  padding: 10px 8px;
  display: inline-block;
  width: 100%;
}

@media (max-width: 1100px) {
  .news-header-nav .navbar-nav {
    gap: 20px;
  }
}

@media (max-width: 575.98px) {
  .side-navbar ul li a {
    font-size: 18px !important;
  }

  .side-nav-social-share,
  .side-nav-bottom {
    font-size: 16px;
  }
}

/* Pagination footer — matches main-techpana-site/category.html */
.pagination__section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pagination__section .dot-list {
  font-weight: bold;
  letter-spacing: 7px;
}

.pagination__section .total-pages {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 10px;
  color: #999;
}

/* Space between preceding text labels and footer contact hyperlinks (Email:, Web:, etc.) */
.newsTech_footer-list a {
  margin-inline-start: 0.35em;
}

/* Latest updates is a label rather than a category link. Give it the same
   framed treatment as linked homepage section headings. */
.newsTech_section-title-main > .newsTech_section-title-label {
  position: relative;
  z-index: 10;
  display: inline-block;
  padding: 5px 15px;
  background-color: #fff;
}

.newsTech_section-title-main > .newsTech_section-title-label::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background-color: #1ae25c;
}

.newsTech_section-title-main > .newsTech_section-title-label::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 4px;
  background-color: #1ae25c;
}

/* Latest updates — match the live Techpana homepage:
   large photo + black title underneath, 4-column supporting grid. */
body.home-page-active .newsTech_latest-updates .grid_section-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 28px;
  align-items: start;
}

body.home-page-active .newsTech_latest-updates .grid_section-wrapper .single_grid-overlay-wrapper {
  grid-column: span 2;
  grid-row: span 5 !important;
  height: auto !important;
}

@media (max-width: 1199px) {
  body.home-page-active .newsTech_latest-updates .grid_section-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-page-active .newsTech_latest-updates .grid_section-wrapper .single_grid-overlay-wrapper {
    grid-column: span 2;
    grid-row: span 4 !important;
  }
}

@media (max-width: 991px) {
  body.home-page-active .newsTech_latest-updates .grid_section-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page-active .newsTech_latest-updates .grid_section-wrapper .single_grid-overlay-wrapper {
    grid-column: span 2;
    grid-row: span 1 !important;
  }
}

@media (max-width: 575.98px) {
  body.home-page-active .newsTech_latest-updates .grid_section-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home-page-active .newsTech_latest-updates .grid_section-wrapper .single_grid-overlay-wrapper {
    grid-column: span 1;
    grid-row: span 1 !important;
  }
}

body.home-page-active .newsTech_latest-updates .single_grid-overlay-wrapper,
body.home-page-active .newsTech_latest-updates .grid_section-wrapper .single_grid-overlay-wrapper .single_grid-wrapper {
  position: relative;
  height: auto !important;
}

body.home-page-active .newsTech_latest-updates .single_grid-image,
body.home-page-active .newsTech_latest-updates .single_grid-image > div,
body.home-page-active .newsTech_latest-updates .single_grid-image a {
  display: block;
  position: relative;
  height: auto;
  width: 100%;
}

body.home-page-active .newsTech_latest-updates .single_grid-image img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 760 / 430;
  object-fit: cover !important;
  border-radius: 4px;
}

body.home-page-active .newsTech_latest-updates .single_grid-overlay-wrapper .single_grid-image a::after {
  display: none;
}

body.home-page-active .newsTech_latest-updates .single_grid-info-overlay {
  position: static !important;
  width: 100%;
  padding: 16px 0 0 !important;
  bottom: auto;
}

body.home-page-active .newsTech_latest-updates .single_grid-overlay-wrapper .single_grid-info::after {
  display: none;
}

body.home-page-active .newsTech_latest-updates .newsTech_white,
body.home-page-active .newsTech_latest-updates .newsTech_white a {
  color: #111 !important;
}

body.home-page-active .newsTech_latest-updates .single_grid-overlay-wrapper .single_grid-title h3,
body.home-page-active .newsTech_latest-updates .single_grid-overlay-wrapper .single_grid-title h3 a {
  font-size: 28px !important;
  line-height: 1.32 !important;
  font-weight: 700 !important;
}

@media (max-width: 767.98px) {
  body.home-page-active .newsTech_latest-updates .single_grid-overlay-wrapper .single_grid-title h3,
  body.home-page-active .newsTech_latest-updates .single_grid-overlay-wrapper .single_grid-title h3 a {
    font-size: 22px !important;
  }
}

body.home-page-active .newsTech_latest-updates .grid_section-content .single_row-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
}

body.home-page-active .newsTech_latest-updates .single_row-side-image {
  width: 38%;
  flex: 0 0 38%;
  max-width: 38%;
}

body.home-page-active .newsTech_latest-updates .single_row-side-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}

body.home-page-active .newsTech_latest-updates .single_row-side-info {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}

body.home-page-active .newsTech_latest-updates .single_row-title {
  margin-bottom: 0 !important;
}

body.home-page-active .newsTech_latest-updates .single_row-title h5,
body.home-page-active .newsTech_latest-updates .single_row-title h5 a {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: #111 !important;
}

@media (max-width: 575.98px) {
  body.home-page-active .newsTech_latest-updates .single_row-side-image {
    width: 32%;
    flex-basis: 32%;
    max-width: 32%;
  }
}


/* Homepage category layouts — original Techpana type scale from
   style-v.1.0.css: h3 28px, h4 20px, h5 18px. */
body.home-page-active .newsTech_section-wrapper .single_grid-title h3,
body.home-page-active .newsTech_section-wrapper .single_grid-title h3 a,
body.home-page-active .newsTech_section-wrapper .single_row-title h3,
body.home-page-active .newsTech_section-wrapper .single_row-title h3 a,
body.home-page-active .newsTech_category-lead-title,
body.home-page-active .newsTech_category-lead-title a {
  font-size: 28px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}

body.home-page-active .newsTech_section-wrapper .single_grid-title h4,
body.home-page-active .newsTech_section-wrapper .single_grid-title h4 a,
body.home-page-active .newsTech_section-wrapper .single_row-title h4,
body.home-page-active .newsTech_section-wrapper .single_row-title h4 a,
body.home-page-active .newsTech_side-wrapper .single_row-title h4,
body.home-page-active .newsTech_side-wrapper .single_row-title h4 a,
body.home-page-active .newsTech_slider-title h4,
body.home-page-active .newsTech_slider-title h4 a {
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

body.home-page-active .newsTech_section-wrapper .single_row-title h5,
body.home-page-active .newsTech_section-wrapper .single_row-title h5 a,
body.home-page-active .newsTech_side-wrapper .single_row-title h5,
body.home-page-active .newsTech_side-wrapper .single_row-title h5 a {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

body.home-page-active .newsTech_slider-title h3,
body.home-page-active .newsTech_slider-title h3 a {
  font-size: 28px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}

body.home-page-active .newsTech_section-wrapper .single_grid-para,
body.home-page-active .newsTech_section-wrapper .single_grid-para p,
body.home-page-active .newsTech_section-wrapper .single_row-para,
body.home-page-active .newsTech_section-wrapper .single_row-para p {
  color: #444 !important;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

@media (max-width: 575.98px) {
  body.home-page-active .newsTech_section-wrapper .single_grid-title h4,
  body.home-page-active .newsTech_section-wrapper .single_grid-title h4 a,
  body.home-page-active .newsTech_section-wrapper .single_row-title h4,
  body.home-page-active .newsTech_section-wrapper .single_row-title h4 a,
  body.home-page-active .newsTech_side-wrapper .single_row-title h4,
  body.home-page-active .newsTech_side-wrapper .single_row-title h4 a {
    font-size: 16px !important;
  }
}

/* Category expand lead cards follow Techpana's h3 scale:
   24px below 992px, 20px below 576px. */
@media (max-width: 991.98px) {
  body.home-page-active .newsTech_category-expand .single_grid-title h3,
  body.home-page-active .newsTech_category-expand .single_grid-title h3 a,
  body.home-page-active .newsTech_category-expand .single_row-title h3,
  body.home-page-active .newsTech_category-expand .single_row-title h3 a,
  body.home-page-active .newsTech_category-expand .newsTech_category-lead-title,
  body.home-page-active .newsTech_category-expand .newsTech_category-lead-title a {
    font-size: 24px !important;
  }
}

@media (max-width: 575.98px) {
  body.home-page-active .newsTech_category-expand .single_grid-title h3,
  body.home-page-active .newsTech_category-expand .single_grid-title h3 a,
  body.home-page-active .newsTech_category-expand .single_row-title h3,
  body.home-page-active .newsTech_category-expand .single_row-title h3 a,
  body.home-page-active .newsTech_category-expand .newsTech_category-lead-title,
  body.home-page-active .newsTech_category-expand .newsTech_category-lead-title a {
    font-size: 20px !important;
  }
}

/* Full-page error screens (404 / 500) */
body.error-page-full .header-top-zone,
body.error-page-full header,
body.error-page-full .custom-breaking-banner,
body.error-page-full .content-footer-ad-zone,
body.error-page-full footer,
body.error-page-full .article-reading-progress,
body.error-page-full .sticky__bottom-nav {
  display: none !important;
}

body.error-page-full main#main {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.error_page-wrapper {
  width: 100%;
  height: 70vh;
  position: relative;
}

.error_page-content {
  text-align: center;
  width: 450px;
  height: 450px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
}

.error_page-text {
  width: 70%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
}

.error_page-text h1 {
  font-size: 130px;
  margin-bottom: 15px;
  color: #c7c7c7;
  line-height: 1;
}

.error_page-text h3 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #202020;
}

.error_page-text p {
  margin-bottom: 0;
  line-height: 1.2;
  font-size: 16px;
  color: #aaaaaa;
  font-weight: 400;
}

.error_page-back {
  margin-top: 15px;
  background-color: #1ae25c;
  color: #fff;
  display: inline-block;
  padding: 4px 15px 5px;
  border-radius: 2px;
}

.error_page-back a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.error_page-bg-item {
  width: 600px;
  height: 600px;
  border-radius: 36% 64% 59% 41% / 33% 42% 58% 67%;
  background-color: rgba(0, 51, 153, 0.1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.error_page-bg-item2 {
  width: 600px;
  height: 600px;
  border-radius: 36% 64% 59% 41% / 33% 42% 58% 67%;
  border: 1px solid rgba(0, 51, 153, 0.1);
  position: absolute;
  top: 49%;
  left: 48%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

@media (max-width: 991.98px) {
  .error_page-content {
    width: 350px;
    height: 350px;
  }

  .error_page-text {
    width: 75%;
  }

  .error_page-text h1 {
    font-size: 100px;
  }

  .error_page-text h3 {
    font-size: 22px;
  }

  .error_page-text p {
    font-size: 15px;
  }

  .error_page-back a {
    font-size: 14px;
  }

  .error_page-bg-item,
  .error_page-bg-item2 {
    width: 500px;
    height: 500px;
  }
}

@media (max-width: 575.98px) {
  .error_page-content {
    width: 300px;
    height: 300px;
  }

  .error_page-text {
    width: 80%;
  }

  .error_page-text h1 {
    font-size: 80px;
  }

  .error_page-text h3 {
    font-size: 20px;
  }

  .error_page-text p {
    font-size: 14px;
  }

  .error_page-back a {
    font-size: 12px;
  }

  .error_page-bg-item,
  .error_page-bg-item2 {
    width: 350px;
    height: 350px;
  }
}

/* List, thumbnail, hero & article content images — soft edge on img */
.single_grid-image .image-size a,
.single_row-side-image .image-size a,
.single_row-image .image-size a,
.news__section-with-multiple-news .latest__content-img,
body.home-page-active .newsTech_section-wrapper .image-size a {
  overflow: visible !important;
}

.single_grid-image img,
.single_row-side-image img,
.single_row-image img,
.latest__content-img img,
.rp-sidebar-card__image img,
.single_row-video-image img,
.article-list .card__media img,
.related-articles .card__media img,
.news__details .article-hero-banner img {
  box-sizing: border-box;
  border-radius: var(--tp-list-thumb-radius);
  box-shadow: var(--tp-list-thumb-shadow);
  border: var(--tp-list-thumb-border);
}

.news__details .article-hero-banner--video .hero.hero--video {
  margin: 0;
  width: 100%;
}

.news__details .article-hero-banner--video .custom-video-player {
  box-sizing: border-box;
  border-radius: var(--tp-list-thumb-radius);
  box-shadow: var(--tp-list-thumb-shadow);
  border: var(--tp-list-thumb-border);
}

.news__details .article-hero-banner--video .hero__caption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85em;
  color: #777;
  font-style: italic;
}

.article-body .inline-related-card__image {
  box-shadow: none;
  border: none;
}

@media (max-width: 375.98px) {
  .error_page-content {
    width: 80%;
    height: auto;
  }

  .error_page-text {
    width: 100%;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  .error_page-text h1 {
    font-size: 50px;
  }

  .error_page-text h3 {
    font-size: 17px;
  }

  .error_page-text p {
    font-size: 12px;
  }

  .error_page-back a {
    font-size: 12px;
  }

  .error_page-bg-item,
  .error_page-bg-item2 {
    width: 95%;
    height: 350px;
  }
}

/* Header top bar — match live Techpana reference (unicode.html / style-v.1.0) */
.news-header-top {
  background-color: #eee;
  padding: 10px 0 8px;
}

.news-header-top .news-header-top-content {
  font-size: 16px;
  line-height: 1.5;
}

.news-header-top .news-header-other-links-item:not(:first-child)::before {
  content: "|";
  position: absolute;
  top: 45%;
  left: -15px;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 200;
  color: #ccc;
}

.news-header-top .news-header-top-meta.news-header-social-share::before {
  content: "|";
  position: absolute;
  top: 45%;
  left: -15px;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 200;
  color: #707070;
}

/* Header / drawer: keep social icons vertically centered in their row */
.news-header-top .news-header-date-social-share,
.news-header-top .news-header-social-share,
.side-nav-social-share .news-header-social-share {
  align-items: center !important;
}

.news-header-top .news-header-other-links {
  align-items: center !important;
  margin-top: 5px;
}

.side-nav-social-share .news-header-other-links {
  align-items: center !important;
  margin-top: 12px;
}

.news-header-other-links-item {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.news-header-top .news-header-other-links-item + .news-header-other-links-item {
  margin-left: 0;
}

.news-header-top .news-header-top-meta.news-header-social-share {
  margin-left: 25px;
  position: relative;
}

.news-header-top .news-header-social-share-icon,
.side-nav-social-share .news-header-social-share-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1;
}

.news-header-top .news-header-social-share-icon a,
.side-nav-social-share .news-header-social-share-icon a {
  align-items: center !important;
  justify-content: center !important;
}

.news-header-top .news-header-social-share-icon a i,
.news-header-top .news-header-social-share-icon a iconify-icon,
.side-nav-social-share .news-header-social-share-icon a i,
.side-nav-social-share .news-header-social-share-icon a iconify-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 1;
}

.news-header-top .news-header-social-share-icon a i::before,
.side-nav-social-share .news-header-social-share-icon a i::before {
  line-height: 1;
}

.newsTech_footer-social-icon.d-flex {
  align-items: center !important;
}

/* Article drop caps belong to prose paragraphs, never quoted text. */
.article-body blockquote p:first-child::first-letter {
  float: none;
  margin: 0;
  color: inherit;
  font: inherit;
}
