/* general */
.mt-36 {
    margin-top:36px !important;
}

/* header advertising - banner */
.header-advertisingBanner p,
.advertisingTitle {
    color: #ccc;
    font-size: .6rem;
    margin-bottom: 6px;
}

/* header - service offer */
.header-service-offer .uc-navbar-item .nav-x li {
    position: relative;
}

    .header-service-offer .uc-navbar-item .nav-x li a:hover {
        text-decoration: underline
    }

    .header-service-offer .uc-navbar-item .nav-x li:not(:last-child)::after {
        content: "|";
        margin: 0 7px;
        opacity: 0.5;
    }

.header-navbar-info .uc-navbar-item .nav-x li:not(:last-child)::after {
    content: "|";
    margin: 0 7px;
    opacity: 0.5;
}

.header-service-offer .uc-navbar-item .nav-x > *,
.header-navbar-info .uc-navbar-item .nav-x > * {
    gap: .0rem
}

/* header line menu */
.uc-center-navbar {
    background: #eb3200;
    padding: 10px 0px
}


/* header main menu */
.uc-navbar-nav > li > a {
    position: relative;
    font-size: inherit;
    font-family: inherit;
    color: white;
    padding: 0
}

/* header mobile menu */
.uc-menu-trigger::after, .uc-menu-trigger::before {
    background-color: white;    
}

/* header search icon */
.uc-navbar-right svg {
    color: #fff;
}

    .uc-navbar-right svg path {
        transition: fill 0.2s ease;
    }

.uc-navbar-right .uc-search-trigger:hover svg path {
    fill: #000;
}


@media (max-width: 767.98px) {

    .latest-newsImages,
    .latest-newsImages .section-outer {
        padding-bottom: 0px !important;
    }
       
    .header-service-offer .uc-navbar-item .nav-x li {
        margin-bottom: 6px;
    }

    .uc-center-navbar {
        padding: 0px 0px
    }

    .uc-top-navbar .hstack {
        flex-wrap: wrap;
    }
    
    .header-service-offer,
    .header-navbar-info {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

        .header-service-offer .uc-navbar-item,
        .header-navbar-info .uc-navbar-item {
            font-family: inherit !important;
            padding: 0;
            min-height: var(--uc-nav-height,20px) !important;
        }

    .header-navbar-info {
        margin-top: 5px;
        margin-bottom: 5px;
        vertical-align: middle;
        display: inline-flex;
        background: #f9f9f9;
        padding: 3px 8px;
        border-radius: 4px;
    }

        .header-service-offer  {
           margin-top:5px;
        }
}

@media only screen and (min-width: 768px) and (max-width: 803px) {
    .header-service-offer .uc-navbar-item .nav-x li {
        margin-bottom: 6px;
    }

    .uc-center-navbar {
        padding: 0px 0px
    }

    .uc-top-navbar .hstack {
        flex-wrap: wrap;
    }

    .header-service-offer,
    .header-navbar-info {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

        .header-service-offer .uc-navbar-item,
        .header-navbar-info .uc-navbar-item {
            font-family: inherit !important;
            padding: 0;
            min-height: var(--uc-nav-height,20px) !important;
        }

    .header-navbar-info {
        margin-top: 5px;
        margin-bottom: 13px;
        vertical-align: middle;
        display: inline-flex;
        background: #f9f9f9;
        padding: 8px;
        border-radius: 4px;
    }

    .header-service-offer {
        margin-top: 5px;
    }
}

/* category name */
.block-header h1,
.block-header h2 {
    position: relative;
    padding-left: 0.75rem;
}

    .block-header h1 .panel,
    .block-header h2 .panel {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background-color: #ce0000;
    }



/* home main news */
.news-grid {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 1rem;
    height: 100%; 
}

.news-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 100%;
}

.news-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.image-wrapper {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-in-out;
}

.news-content:hover .cover {
    transform: scale(1.10); 
}


.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
    color: white;
    z-index: 2;
}

.news-main .overlay {
    background: linear-gradient( to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0.4) 45%, transparent 70% );
}


.latest-news .block-layout .panel .date {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: -1000 !important;
}

.date {
    font-size: 0.875rem;
    opacity: 0.85;
}

.title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-top: 0.25rem;
    line-height: 1.3;
}

.news-link {
    display: block; 
    height: 100%; 
    text-decoration: none; 
    color: inherit; 
}

article .post-header .cstack {
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    z-index:-1000 !important;
}

.new-article .post-header {
    gap: .15rem !important;
}

.article-tag {
    position: absolute;
    top: 1px;
    left: 1px;
    display: flex;
    padding: 1px 8px;
    background: white;
    color: #eb3200;
    border: 1px solid transparent;
    /*border-radius: 4px;*/
    font-size: .75rem;
    font-weight: 600;
    z-index: 5;
    gap: .25rem;
    width: initial;
    height: initial;
    display:none !important;
    opacity:0 !important;
    z-index:-10000 !important;
    visibility:hidden !important;
}

.qap-article-topic .col-auto.uc-first-column {
    padding-left: 0px;
    padding-right: 3px;
}

    .qap-article-topic .col-auto.uc-first-column + div {
        /*padding-left: 0px;*/
        padding-right: 0px;
    }

.qap-article-topic .post-header {
    gap: .2rem !important;
}

.qap-article-topics .row.align-items-center {
    align-items: center;
}

.post-media .featured-image .uc-transition-opaque {
    transition: transform 0.4s ease-in-out;
}

.post-media:hover .featured-image .uc-transition-opaque {
    transform: scale(1.10);
}

/* blog inline news */
.layout-blog .inline-new-col .row {
    align-items: center;
}

.layout-blog .inline-new-col .post-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: .15rem !important;
}

    .layout-blog .inline-new-col .post-header .post-title {
        margin-bottom: 2px !important;
    }

    .layout-blog .inline-new-col .post-header .post-title + p {
        margin-top: 0px !important;
        margin-bottom: 2px !important;
    }


/* news articles */
.new-article .post-header {
    gap: .15rem !important;
}

    .new-article .post-header .post-title {
        margin-bottom: 2px !important;
    }

        .new-article .post-header .post-title + p {
            margin-top: 0px !important;
            margin-bottom: 2px !important;
        }

/* crime articles + sport articles slides */
.section-crime-articles .swiper-slide .post .post-header,
.section-sport-articles .swiper-slide .post .post-header {
    gap: .15rem !important;
}

    .section-crime-articles .swiper-slide .post .post-header .post-title,
    .section-sport-articles .swiper-slide .post .post-header .post-title {
        margin-bottom: 2px !important;
    }

.section-sport-articles .section-outer .post-header .post-title {
    color: black;
}

.section-sport-articles .section-outer .post-header .post-date {
    color: #12121299;
}

.section-sport-articles .swiper .swiper-nav i {
    color: #12121299;
}

.section-sport-articles .swiper .swiper-nav:hover i {
    color: white;
}


@media (max-width: 991.98px) {
    .article-tag {
        padding: 1px 3px;
        font-size: 0.625rem;
        line-height: 0.625rem
    }

    .home-layout .latest-news .title {
        font-size: 1.25rem;
    }

    .home-layout .post-title {
        font-size: 0.9375rem !important;
    }


    .new-article .post-header {
        gap: .2rem !important;
    }

    .new-article:nth-child(n+3) {
        width: 100% !important;
    }

        .new-article:nth-child(n+3) article {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 15px;
        }

        .new-article:nth-child(n+3) .post-media {
            flex: 0 0 120px !important;
            max-width: 120px !important;
            margin-bottom: 0 !important;
        }

        .new-article:nth-child(n+3) .featured-image {
            width: 120px !important;
        }

        .new-article:nth-child(n+3) .post-header {
            flex: 1 !important;
        }

    .layout-blog .new-article {
        margin-top: 0px;
        margin-bottom: 20px !important;
    }

        .layout-blog .new-article:first-child {
            margin-top: 20px;
        }

        .layout-blog .new-article .post-header p {
            margin-top: 0px !important;
        }

        .layout-blog .new-article .post-header h2 {
            margin-bottom: 3px !important;
        }

        .layout-blog .new-article:nth-child(n+3) article .post-header p,
        .new-article:not(:first-child) .post-header p {
            display: none;
            opacity: 0;
            visibility: hidden;
        }

        .layout-blog .new-article:nth-child(n+3) article .post-header h2 {
            font-size: 15px !important;
            margin-bottom: 0px !important;
        }


    .new-article:not(:first-child) article {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px;
    }

    .new-article:not(:first-child) .featured-image {
        width: 120px !important;
    }

    .new-article:not(:first-child) .post-header {
        flex: 1 !important;
    }


    .inline-new-col:first-child .row {
        display: block !important;
    }

    .inline-new-col:first-child .qap-inline-thumb,
    .inline-new-col:first-child .post-media,
    .inline-new-col:first-child .featured-image {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .inline-new-col:first-child .qap-inline-thumb {
        margin-bottom: 12px;
    }

    .inline-new-col:first-child .post-header {
        margin-left: 0 !important;
    }

    .inline-new-col:first-child .post-title {
        font-size: 1.2rem !important;
        line-height: 1.3;
    }

    .inline-new-col:first-child .inline-new-perex {
        display: block !important;
    }

    .inline-new-col:not(:first-child) .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .inline-new-col:not(:first-child) .qap-inline-thumb {
        flex: 0 0 150px !important;
        max-width: 150px !important;
        width: 150px !important;
    }

    .inline-new-col:not(:first-child) .featured-image {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        height: 90px !important;
    }

    .inline-new-col:not(:first-child) .post-media {
        width: 150px !important;
        max-width: 150px !important;
    }



    .inline-new-col:not(:first-child) .inline-new-perex {
        display: none !important;
    }

    .inline-new-col:not(:first-child) .post .post-header {
        margin-left: 10px;
    }

        .inline-new-col:not(:first-child) .post .post-header h3 {
            font-size: 15px !important;
        }
}

@media (max-width: 767.98px) {
    .swiper-parent .section-outer {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

        .swiper-parent .section-outer .section-inner {
            gap: 0.625rem !important
        }

            .swiper-parent .section-outer .section-inner .section-content .hstack.gap-1.mt-3 {
                margin-top: 5px !important;
            }

    .swiper-slide .post .post-header .post-title {
        font-size: 14px !important;
    }
    
    .section-more-new-news-articles .row > .latest-article:nth-child(2) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

        .section-more-new-news-articles .row > .latest-article:nth-child(2) article {
            display: block !important;
        }

        .section-more-new-news-articles .row > .latest-article:nth-child(2) .post-media,
        .section-more-new-news-articles .row > .latest-article:nth-child(2) .featured-image,
        .section-more-new-news-articles .row > .latest-article:nth-child(2) .ratio {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
        }

        .section-more-new-news-articles .row > .latest-article:nth-child(2) .post-header {
            margin-left: 0 !important;
            padding-left: 0 !important;
            margin-top: 10px;
        }
    
    .row-other-news > .col-new-article:nth-child(2),
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

        .row-other-news > .col-new-article:nth-child(2) article,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) article {
            display: block !important;
        }

        .row-other-news > .col-new-article:nth-child(2) .post-media,
        .row-other-news > .col-new-article:nth-child(2) .featured-image,
        .row-other-news > .col-new-article:nth-child(2) .ratio,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) .post-media,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) .featured-image,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) .ratio {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
        }

        .row-other-news > .col-new-article:nth-child(2) .post-header,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) .post-header {
            margin-left: 0 !important;
            padding-left: 0 !important;
            margin-top: 10px;
        }       
    
    .row-other-news > .col-new-article:nth-child(n+3) article,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) article {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px;
    }

    .row-other-news > .col-new-article:nth-child(n+3) .post-media,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) .post-media {
        flex: 0 0 120px !important;
        max-width: 120px !important;
        margin-bottom: 0 !important;
    }

    .row-other-news > .col-new-article:nth-child(n+3) .featured-image,
    .row-other-news > .col-new-article:nth-child(n+3) .ratio,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) .featured-image,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) .ratio {
        width: 120px !important;
        height: 70px !important;
    }

    .row-other-news > .col-new-article:nth-child(n+3) .post-header,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) .post-header {
        flex: 1;
    }   

    .news-grid {
        display: block;
    }

    .news-main,
    .news-side {
        width: 100%;
        margin-bottom: 1rem;
    }

    .news-side {
        display: flex;
        flex-direction: column;
    }

    .news-item {
        margin-bottom: 1rem;
    }

    .qap-article-topics .section-outer {
        padding-top: 0px !important;
    }

    .image-wrapper {
        aspect-ratio: 16/9;
        height: auto;
    }

    .inline-new-col .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .inline-new-col .qap-inline-thumb {
        flex: 0 0 120px !important;
        max-width: 120px !important;
        width: 120px !important;
        margin-top: 0px;
    }

    .inline-new-col .featured-image {
        width: 120px !important;
    }

    .inline-new-col .qap-inline-thumb + div {
        flex: 1;
        max-width: none;
        margin-top: 0px;
    }

    .inline-new-perex {
        display: none !important;
    }

    .inline-new-col .post-media {
        width: 120px !important;
        max-width: 120px !important;
    }

    .inline-new-col .post .post-header {
        gap: .2rem !important;
        margin-left: 10px
    }

        .inline-new-col .post .post-header h3 {
            font-size: 15px !important;
        }


    .inline-new-col:first-child .row {
        display: block !important;
    }

    .inline-new-col:first-child .qap-inline-thumb,
    .inline-new-col:first-child .post-media,
    .inline-new-col:first-child .featured-image {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .inline-new-col:first-child .qap-inline-thumb {
        margin-bottom: 12px;
    }

    .inline-new-col:first-child .post-header {
        margin-left: 0 !important;
    }

    .inline-new-col:first-child .post-title {
        font-size: 1.2rem !important;
        line-height: 1.3;
    }

    .inline-new-col:first-child .inline-new-perex {
        display: block !important;
    }

    .inline-new-col:not(:first-child) .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .inline-new-col:not(:first-child) .qap-inline-thumb {
        flex: 0 0 120px !important;
        max-width: 120px !important;
        width: 120px !important;
    }

    .inline-new-col:not(:first-child) .featured-image {
        width: 120px !important;
    }

    .inline-new-col:not(:first-child) .post-media {
        width: 120px !important;
        max-width: 120px !important;
    }

    .inline-new-col:not(:first-child) .qap-inline-thumb + div {
        flex: 1;
        max-width: none;
    }

    .inline-new-col:not(:first-child) .inline-new-perex {
        display: none !important;
    }

    .inline-new-col:not(:first-child) .post .post-header {
        margin-left: 10px;
    }

        .inline-new-col:not(:first-child) .post .post-header h3 {
            font-size: 15px !important;
        }
}

@media (max-width: 575px) {
    .block-header.panel.mt-36 {
        margin-top: 0px !important;
    }

    .home-layout .block-header.panel.mt-36 {
        margin-top: 36px !important;
    }

    .post-meta .post-date span {
        font-size: 0.625rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .section-more-new-news-articles .row > .latest-article:nth-child(2) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

        .section-more-new-news-articles .row > .latest-article:nth-child(2) article {
            display: block !important;
        }

        .section-more-new-news-articles .row > .latest-article:nth-child(2) .post-media,
        .section-more-new-news-articles .row > .latest-article:nth-child(2) .featured-image,
        .section-more-new-news-articles .row > .latest-article:nth-child(2) .ratio {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
        }

        .section-more-new-news-articles .row > .latest-article:nth-child(2) .post-header {
            margin-left: 0 !important;
            padding-left: 0 !important;
            margin-top: 10px;
        }
    
    .row-other-news > .col-new-article:nth-child(2),
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

        .row-other-news > .col-new-article:nth-child(2) article,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) article {
            display: block !important;
        }

        .row-other-news > .col-new-article:nth-child(2) .post-media,
        .row-other-news > .col-new-article:nth-child(2) .featured-image,
        .row-other-news > .col-new-article:nth-child(2) .ratio,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) .post-media,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) .featured-image,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) .ratio {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
        }

        .row-other-news > .col-new-article:nth-child(2) .post-header,
        .row-lifestyle-articles > .col-lifestyle-article:nth-child(2) .post-header {
            margin-left: 0 !important;
            padding-left: 0 !important;
            margin-top: 10px;
        }        
    
    .row-other-news > .col-new-article:nth-child(n+3) article,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) article {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px;
    }

    .row-other-news > .col-new-article:nth-child(n+3) .post-media,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) .post-media {
        flex: 0 0 120px !important;
        max-width: 120px !important;
        margin-bottom: 0 !important;
    }

    .row-other-news > .col-new-article:nth-child(n+3) .featured-image,
    .row-other-news > .col-new-article:nth-child(n+3) .ratio,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) .featured-image,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) .ratio {
        width: 120px !important;
        height: 70px !important;
    }

    .row-other-news > .col-new-article:nth-child(n+3) .post-header,
    .row-lifestyle-articles > .col-lifestyle-article:nth-child(n+3) .post-header {
        flex: 1;
    }   
    
    .new-article:not(:first-of-type) .post-media,
    .new-article:not(:first-of-type) .featured-image,
    .new-article:not(:first-of-type) .ratio {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        height: 90px !important;
    } 
    
    .new-article:first-of-type {
        width: 100% !important;
    }
    
    .new-article:not(:first-of-type) {
        width: 100% !important;
    }

        .new-article:not(:first-of-type) article {
            display: flex !important;
            flex-direction: row !important;
            align-items: center;
            gap: 15px;
        }

        /*.new-article:not(:first-of-type) .post-media {
            flex: 0 0 150px;
            max-width: 150px;
            margin-bottom: 0;
        }*/

        .new-article:not(:first-of-type) .post-media {
            flex: 0 0 150px;
            overflow: hidden;
        }

        .new-article:not(:first-of-type) .post-header {
            flex: 1;
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
        }

    .new-article {
        --grid-total: 12;
        --grid-count: 12;
        flex: 0 0 auto;
        width: 100%
    }

    .layout-blog .inline-new-col .post-header p {
        margin-top:0px !important;
    }

    .new-article:not(:first-of-type) img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    .home-layout .latest-news .title {
        font-size: 1.25rem;
    }

    .home-layout .post-title {
        font-size: 1.25rem !important;
    }

    .layout-blog .new-article:nth-child(n+3),
    .new-article:nth-child(n+4) {
        width: 100% !important;
    }

        .layout-blog .new-article:nth-child(n+3) article,
        .new-article:nth-child(n+4) article {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .layout-blog .new-article:nth-child(n+3) .post-media,
        .new-article:nth-child(n+4) .post-media {
            flex: 0 0 250px;
            max-width: 250px;
            margin-bottom: 0;
        }

        .layout-blog .new-article:nth-child(n+3) .post-header,
        .new-article:nth-child(n+4) .post-header {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

    .new-article:nth-child(-n+2) .post-header p,
    .new-article:nth-child(-n+3) .post-header p {
        display: none !important;
    }

    .layout-blog .new-article:nth-child(n+3) .post-header p {
        display: -webkit-box !important;
    }


        .layout-blog .new-article:nth-child(n+3) .featured-image,
        .new-article:nth-child(n+4) .featured-image {
            width: 250px;
        }

        .layout-blog .new-article:nth-child(n+3) .post-title,
        .new-article:nth-child(n+4) .post-title {
            margin-bottom: 0;
            font-size: 1.125rem !important;
        }

        .layout-blog .new-article:nth-child(n+3) article,
        .new-article:nth-child(n+4) article {
            flex-direction: row !important;
            align-items: center;
        }

    #qapMoreArticlesTarget > .inline-new-col:nth-child(-n+2) {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
        float: left;
        margin-bottom: 0px;
    }

        #qapMoreArticlesTarget > .inline-new-col:nth-child(-n+2) .qap-inline-thumb2,
        #qapMoreArticlesTarget > .inline-new-col:nth-child(-n+2) .post-header {
            width: 100% !important;
            max-width: 100% !important;
            flex: none !important;
        }

        #qapMoreArticlesTarget > .inline-new-col:nth-child(-n+2) .qap-inline-thumb,
        #qapMoreArticlesTarget > .inline-new-col:nth-child(-n+2) .post-media,
        #qapMoreArticlesTarget > .inline-new-col:nth-child(-n+2) .featured-image {
            width: 100% !important;
            max-width: 100% !important;
            flex: none !important;
        }

        #qapMoreArticlesTarget > .inline-new-col:nth-child(-n+2) .post-header {
            margin-left: 0 !important;
            padding-top: 12px;
        }

            #qapMoreArticlesTarget > .inline-new-col:nth-child(-n+2) .post-header p {
                display: none !important;
            }

    #qapMoreArticlesTarget > .inline-new-col:nth-child(n+3) .post-header p {
        display: -webkit-box !important;
    }
}

@media (min-width: 1200px) {
    .layout-blog .new-article:nth-child(n+3) .post-title,
    .new-article:nth-child(n+4) .post-title {
        font-size: 1.25rem;
    }
}


/* news alert block */
.news-alert-block {
    margin-top: 20px;
    margin-bottom: 9px;
}    

        .news-alert-block .nav-x {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .news-alert-block .nav-x li {
            margin-bottom: 6px;
        }

        .news-alert-block .nav-x a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 46px;
            padding: 10px;
            background: #fff;
            border: 1px solid #e5e5e5;
            border-radius: 4px;
            color: #555;
            text-decoration: none;
            font-weight: 500;
            transition: all .5s ease;
            box-sizing: border-box;
            font-size:15px;
            line-height:15px;
        }

            .news-alert-block .nav-x a:hover {
                border-color: #eb3200;
                color: #eb3200;
                background: #fff8f6;
            }




@media (max-width: 991.98px) {
    .news-alert-block {
        margin-top: 0px;
        margin-bottom: 0px;
    } 
    
    .news-alert-block .nav-x {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {

    .news-alert-block .nav-x {
        grid-template-columns: 1fr;
        gap: 8px;
    }

        .news-alert-block .nav-x li {
            margin-bottom: 9px;
        }

        .news-alert-block .nav-x a {
            justify-content: flex-start;
            width: 100%;
            padding: 8px 15px;
            font-size: 15px;
            line-height: 15px;
        }
}


/* blog detail */

.blog-detail-layout .single-post .post-footer {
    padding-bottom:8px !important;
}

.blog-detail-layout .single-post .panel .panel p em {
    color:#121212;
}

.blog-detail-layout .single-post .post-content .photo-source {
    margin-top: 18px;
    margin-bottom: -9px;
    font-size: 12px;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-gray-400-rgb), var(--bs-text-opacity)) !important;
    font-size: .75rem !important;
}

/* blog detail main image - gallery */
.glightbox-clean .gslide-title {  
    margin-bottom: 0px;
    line-height: 16px;
}

.glightbox-clean .gdesc-inner {
    padding: 15px 15px;
}

.gallery-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
}


/* post meta article */
.post-meta-article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.875rem; /* ekvivalent fs-7 */
    color: #666;
}

    .post-meta-article .author {
        display: flex;
        align-items: center;
        gap: 4px;
        font-style:italic;
    }

    .post-meta-article .commercial {
        white-space: nowrap;
        opacity: 0.7;
    }



/* blog detail - related items new */

@media only screen and (min-width: 768px) {
    .single-post .post-related .md\:child-cols-3 > * {
        --grid-total: 12;
        --grid-count: 3;
        flex: 0 0 auto;
        width: 50%
    }
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
    .single-post .post-related .blog-detail-related-posts.md\:child-cols-3 > * {
        --grid-total: 12;
        --grid-count: 3;
        flex: 0 0 auto;
        width: 50%
    }
}


@media only screen and (max-width: 575px) {
    .blog-detail-layout .single-post .post-footer {
        gap: 0.80rem !important;
    }
}

@media only screen and (min-width: 1200px) {
    .blog-detail-layout .single-post .post-header h1 {
        font-size: 42px !important;
        line-height: 48px !important;
    }
}

/* news qapovky */
.col-new-qapovka {
    margin-top:0px;
}

    .col-new-qapovka:nth-of-type(2) {
        margin-top: 30px;
    }

   /* .col-new-qapovka:nth-of-type(odd) .panel h3,
    .col-new-qapovka:nth-of-type(odd) .panel h3 a {
        color: #121212;
    }

    .col-new-qapovka:nth-of-type(even) .panel h3,
    .col-new-qapovka:nth-of-type(even) .panel h3 a,
    .col-new-qapovka:nth-of-type(even) .panel i,
    .col-new-qapovka:nth-of-type(odd) .panel i {
        color: #eb3200;
    }*/

    .col-new-qapovka .panel h3,
    .col-new-qapovka .panel h3 a,
    .col-new-qapovka .panel i {
        color: #eb3200;
    }


        .col-new-qapovka .panel h3 a:hover {
            color: #121212;
        }

    .col-new-qapovka .panel {
        background: #fff8f6 !important;
        border: 1px solid #f4d5cc !important;
        position: relative;
        transition: all .2s ease;
    }

        .col-new-qapovka .panel:hover {
            background: white !important;
        }

        .col-new-qapovka .panel:hover a {
            text-decoration:underline !important;
        }

        .col-new-qapovka .panel::before {
            content: "QAPovka";
            position: absolute;
            top: 8px;
            right: 8px;
            font-size: 10px;
            font-weight: 700;
            color: #eb3200;
            opacity: .3;
        }

@media (max-width: 767.98px) {
    .col-new-qapovka .panel {
        padding: 6px 10px !important;
    }

        .col-new-qapovka .panel::before {
            content: "";
            display: none;
        }

    .col-new-qapovka .panel {
        gap: .175rem !important
    }

        .col-new-qapovka .panel h3 {
            font-size: 14px !important
        }
}



/* qap recommends */
.col-qap-recommends .panel h3 {
    border-left: solid #eb3200 1px;
    font-weight: 600;
    padding-left: 8px;
    transition: all .4s ease;
}

.col-qap-recommends a:hover .panel {
    background: white !important
}

.col-qap-recommends a .panel {
    background: #eb3200 !important;
    transition: all .35s ease;
}


    .col-qap-recommends a .panel h3 {
        border-left: solid white 1px;
        color: white
    }

.col-qap-recommends a:hover .panel h3 {
    border-left: solid #121212 1px;    
}

    .col-qap-recommends a .panel p {
        color: white
    }

    .col-qap-recommends a .panel h3 {
        color: white !important;
    }

.col-qap-recommends a:hover .panel h3,
.col-qap-recommends a:hover .panel p {
    color: #121212 !important;
}

.col-qap-recommends a:hover .panel h3 {
    text-decoration: underline !important;
}

    .col-qap-recommends a:hover .panel h3:hover {
        text-decoration: none !important;
    }

.col-qap-recommends .panel::before {
    content: "QAP doporučuje";
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #eb3200;
    opacity: .3;
}


/* evant calendar */
.col-event-calendar .hstack i {
    color: #eb3200;
    font-weight: 600;
}

/* footer */
.footer-outer {
    padding-top: 50px !important;
    padding-bottom: 30px !important;
}

    .footer-outer .footer-inner {
        gap: 2.1rem !important
    }

/* footer tags */
.footer-tags .widgt-content .panel {
    padding: 0; 
    background: transparent;
    border: 0;
}

.footer-tags .btn-xs {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.footer-tags .btn-alt-primary {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    color: white !important;
    margin-bottom:9px;
    margin-right:5px;
}

    .footer-tags .btn-alt-primary:hover {
        background-color: var(--primary, #e31e24);
        color: #fff !important;
        border-color: transparent;
    }

.footer-tags-list {
    display: flex;
    flex-wrap: wrap; 
    gap: 0.5rem; 
    width: 100%; 
}

.footer-tags {
    min-width: 0; 
}

@media (max-width: 575px) {
    .footer-contact,
    .footer-news,
    .footer-section,
    .footer-tags {
        flex: 0 0 auto;
        width: 100%;
    }

    .row-event-calendar .animate-btn,
    .col-event-calendar + .button-content {
        margin-bottom: 0px !important;
    }

    .fullscreenPosition2 {
        margin-top: 0px !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .footer-contact,
    .footer-news {
        flex: 0 0 auto;
        width: 50%;
    }

    .footer-section,
    .footer-tags {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* QAPovky without a destination use black text, including on hover. */
.col-new-qapovka.qapovka-no-link .panel,
.col-new-qapovka.qapovka-no-link .panel:hover {
    background: #f5f1ef !important;
    border-color: #e5d9d4 !important;
}
.col-new-qapovka.qapovka-no-link .panel h3,
.col-new-qapovka.qapovka-no-link .panel i,
.col-new-qapovka.qapovka-no-link .panel::before {
    color: #000;
}
/* Campaign creatives and AdSense use the existing advertising containers. */
.qap-banner { width: 100%; min-width: 0; margin-inline: auto; }
.qap-banner > a { display: block; }
.qap-banner-image { display: block; width: 100%; height: auto; object-fit: contain; }
.qap-banner-frame { display: block; width: 100%; height: auto; border: 0; }
.qap-banner-google { text-align: center; }
.qap-ad-main { max-width: 728px; }
.qap-ad-main .qap-ad-slot { height: 90px; }
.qap-ad-side { max-width: 300px; }
.qap-ad-side .qap-ad-slot { height: 600px; }
.qap-ad-content { max-width: 468px; }
.qap-ad-content .qap-ad-slot { height: 60px; }
.side-column-advertisingBanner > div, .side-column-advertisingBanner .widget-content { width: 100%; min-width: 0; }
@media (max-width: 575.98px) {
    .qap-ad-main .qap-ad-slot, .qap-ad-content .qap-ad-slot { height: 100px; }
}
@media print { .qap-banner { display: none !important; } }
/* Keep the editorial 1 + 2 hero layout independent of source image dimensions. */
.home-layout .news-grid {
    display: grid;
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    grid-template-rows: minmax(0, 1fr);
    height: clamp(340px, 42vw, 540px);
    gap: 1rem;
}
.home-layout .news-main, .home-layout .news-side, .home-layout .news-item,
.home-layout .news-link, .home-layout .news-content, .home-layout .image-wrapper {
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin-bottom: 0;
}
.home-layout .news-side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.home-layout .news-link { display: block; }
.home-layout .image-wrapper { position: absolute; inset: 0; aspect-ratio: auto; }
.home-layout .image-wrapper .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.qap-article-cover > a { display: block; }
.qap-gallery-badge { position: absolute; bottom: 16px; right: 0; z-index: 2; display: flex; align-items: center; gap: .5rem; padding: .65rem 1rem; background: rgba(38,50,56,.9); border-right: 3px solid #eb3200; color: #fff; font-size: 1rem; font-weight: 700; }
.qap-gallery-badge > span { font-size: .8rem; font-weight: 400; }
.qap-article-video iframe { width: 100%; height: 100%; border: 0; }
/* Videos pasted into article text must not sit inline or allow text wrapping. */
.blog-detail-layout .post-content :is(.fr-video, .f-video-editor, .video-container, .responsive-yt-wrapper, .qap-article-video) {
    display: block !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    padding: 0 !important;
    margin: 1.5rem 0 !important;
}
.blog-detail-layout .post-content :is(iframe[src*="youtube.com"], iframe[src*="youtube-nocookie.com"], iframe[src*="player.vimeo.com"], .fr-video iframe, .f-video-editor iframe, video) {
    display: block !important;
    float: none !important;
    clear: both;
    position: static !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 1.5rem 0 !important;
    border: 0;
}
.blog-detail-layout .post-content :is(.fr-video, .f-video-editor, .video-container, .responsive-yt-wrapper, .qap-article-video) :is(iframe, video) {
    margin: 0 !important;
}
.blog-detail-layout .post-content .qap-article-video::before {
    display: none;
}
@media (max-width: 767.98px) {
    .home-layout .news-grid { display: block; height: auto; }
    .home-layout .news-main { height: auto; aspect-ratio: 16 / 9; margin-bottom: 1rem; }
    .home-layout .news-side { height: auto; grid-template-rows: none; }
    .home-layout .news-item { height: auto; aspect-ratio: 16 / 9; }
}

/* Prominent gallery action above the cover image. */
.qap-article-cover > a { position: absolute; inset: 0; }
.qap-article-gallery .qap-gallery-badge { z-index: 5; background: #eb3200; color: #fff; border: 2px solid #fff; border-right: 0; box-shadow: 0 2px 8px #0005; padding: .8rem 1rem; }
.qap-article-cover > a:hover .qap-gallery-badge, .qap-article-cover > a:focus-visible .qap-gallery-badge { background: #ba2800; }
.qap-transparency-content { white-space: pre-line; overflow-wrap: anywhere; }
.qap-transparency a { overflow-wrap: anywhere; }
/* Imported editor videos can sit inside an inline font-size span in a paragraph. */
.blog-detail-layout .post-content .f-video-editor {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5rem 0 !important;
    padding: 0 !important;
    text-indent: 0;
}
.blog-detail-layout .post-content .f-video-editor iframe {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 0 !important;
}
/* Shared QAPovka card dates on home, listings and article detail. */
.col-new-qapovka .qapovka-dates { flex-wrap: wrap; row-gap: .35rem; }
.col-new-qapovka .qapovka-published,
.col-new-qapovka .qapovka-updated { display: inline-flex; align-items: baseline; gap: .35rem; }
.col-new-qapovka .qapovka-published .icon { font-size: 16px; }
.col-new-qapovka .qapovka-updated { color: #32851b; }
.dark .col-new-qapovka .qapovka-updated { color: #86d96b; }

/* A transformed header would make fixed navigation scroll with its parent. */
.uc-header.header-one {
    position: relative;
    z-index: 999;
    transform: none;
}

/* Reserve the menu's space while it is pinned; the banner keeps scrolling. */
.qap-navbar-slot {
    position: relative;
}
.uc-header .uc-center-navbar.qap-navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    animation: none;
}