:root {
    --brand-navy: #0087cf;
    --brand-navy-soft: #0072bc;
    --brand-accent: #008bd2;
    --brand-accent-light: #feffd6;
    --brand-bg: #fcfcfc;
    --brand-text: #111111;
    --brand-text-light: #fcfcfc;
    --brand-muted: #60708d;
    --card-shadow: 0 14px 30px rgba(12, 37, 84, 0.14);
    --card-shadow-hover: 0 18px 36px rgba(12, 37, 84, 0.2);
}

body {
    background: var(--brand-bg);
    color: var(--brand-text);
}

/* Header spacing and palette */
#top-bar.top-bar-section.top-bar-bg-color {
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-navy-soft));
    padding: 8px 0;
}

#top-bar .top-contact > a,
#top-bar .top-social-icon > a {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
}

#top-bar .top-contact > a:hover,
#top-bar .top-contact > a:focus,
#top-bar .top-social-icon > a:hover,
#top-bar .top-social-icon > a:focus {
    color: #e9f7ff !important;
    text-shadow: none;
}

#top-bar .top-contact > a:hover i,
#top-bar .top-contact > a:focus i,
#top-bar .top-social-icon > a:hover i,
#top-bar .top-social-icon > a:focus i {
    color: #e9f7ff !important;
}



#top-bar .top-contact > a {
    margin-right: 18px;
}

#top-bar .top-contact > a i,
#top-bar .top-social-icon > a i {
    margin-right: 6px;
}

/* CEDRA top bar: contact left, language/social right */
#top-bar .col-sm-12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 20px;
}

#top-bar .top-social-icon,
#top-bar .top-contact {
    float: none;
}

#top-bar .top-social-icon {
    order: 2;
    text-align: right;
}

#top-bar .top-contact {
    order: 1;
    text-align: left;
}

#top-bar .top-separator {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 5px;
}

#top-bar .top-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    font-size: 17px;
    line-height: 1;
}

#top-bar .top-social-link i {
    margin-right: 0;
}

#sticker {
    border-bottom: 1px solid #e7edf2;
    box-shadow: none;
}

#sticker .sticky-menu .navbar.navbar-default {
    background: #ffffff;
    border: 0;
    min-height: 106px !important;
}

#sticker .sticky-menu .navbar > .container {
    padding-top: 0;
    padding-bottom: 0;
}

#sticker .navbar-header .navbar-brand {
    padding-top: 11px;
    padding-bottom: 11px;
    height: auto;
}

#sticker .navbar-header .cedra-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

#sticker .cedra-logo-mark {
    display: block;
    width: 158px;
    height: 88px;
    overflow: visible;
    flex: 0 0 158px;
}

#sticker .cedra-logo-mark img {
    display: block;
    width: 158px;
    height: auto;
    max-width: none;
    margin: 0;
    transform: translateY(0);
}

#sticker .cedra-brand-copy {
    display: flex;
    flex-direction: column;
    color: #111111;
    white-space: nowrap;
}

#sticker .cedra-brand-title {
    font-size: 22px;
    line-height: 1.05;
    font-weight: 700;
}

#sticker .cedra-brand-subtitle {
    margin-top: 7px;
    color: #777777;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
}

#sticker .navbar.navbar-bg-light .navbar-nav > li > a {
    position: relative;
    color: var(--brand-text);
    font-size: 16px;
    font-weight: 400;
    padding-top: 42px;
    padding-bottom: 36px;
    padding-left: 18px;
    padding-right: 18px;
    background-color: transparent !important;
    text-decoration: none;
}

#sticker .navbar.navbar-bg-light .navbar-nav > li > a:after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 3px;
    background: transparent;
}

#sticker .navbar.navbar-bg-light .navbar-nav > li > a:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 4px;
    background: #2f9e44;
    transform: translateY(-50%);
    transition: height 0.2s ease;
}

#sticker .navbar.navbar-bg-light .navbar-nav > li > a:hover,
#sticker .navbar.navbar-bg-light .navbar-nav > li > a:focus,
#sticker .navbar-default .navbar-nav > li.active > a {
    color: var(--brand-accent);
}

/* Remove legacy blue hover layer from global .nav rules */
#sticker .navbar-default .navbar-nav > li > a,
#sticker .navbar-default .navbar-nav > li > a:hover,
#sticker .navbar-default .navbar-nav > li > a:focus,
#sticker .navbar-default .navbar-nav > li.active > a,
#sticker .navbar-default .navbar-nav > li.active > a:hover,
#sticker .navbar-default .navbar-nav > li.active > a:focus,
#sticker .navbar-default .navbar-nav > .open > a,
#sticker .navbar-default .navbar-nav > .open > a:hover,
#sticker .navbar-default .navbar-nav > .open > a:focus {
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

#sticker .navbar-default .navbar-nav > li > a:hover,
#sticker .navbar-default .navbar-nav > li > a:focus,
#sticker .navbar-default .navbar-nav > li.active > a,
#sticker .navbar-default .navbar-nav > li.active > a:hover,
#sticker .navbar-default .navbar-nav > li.active > a:focus,
#sticker .navbar-default .navbar-nav > .open > a,
#sticker .navbar-default .navbar-nav > .open > a:hover,
#sticker .navbar-default .navbar-nav > .open > a:focus {
    background-color: transparent !important;
    color: var(--brand-accent) !important;
    text-decoration: none;
}

#sticker .navbar-default .navbar-nav > li > a:hover:after,
#sticker .navbar-default .navbar-nav > li > a:focus:after,
#sticker .navbar-default .navbar-nav > li.active > a:after,
#sticker .navbar-default .navbar-nav > .open > a:after {
    background: var(--brand-accent);
}

@media (min-width: 992px) {
    #sticker .navbar.navbar-bg-light .navbar-nav > li > a {
        margin-top: 30px;
        margin-bottom: 28px;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 26px;
        padding-right: 16px;
        border-radius: 8px;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    #sticker .navbar-default .navbar-nav > li > a:hover,
    #sticker .navbar-default .navbar-nav > li > a:focus,
    #sticker .navbar-default .navbar-nav > li.active > a,
    #sticker .navbar-default .navbar-nav > li.active > a:hover,
    #sticker .navbar-default .navbar-nav > li.active > a:focus,
    #sticker .navbar-default .navbar-nav > .open > a,
    #sticker .navbar-default .navbar-nav > .open > a:hover,
    #sticker .navbar-default .navbar-nav > .open > a:focus {
        color: #0078bd !important;
        background-color: rgba(0, 139, 210, 0.08) !important;
    }

    #sticker .navbar-default .navbar-nav > li > a:hover:before,
    #sticker .navbar-default .navbar-nav > li > a:focus:before,
    #sticker .navbar-default .navbar-nav > li.active > a:before,
    #sticker .navbar-default .navbar-nav > .open > a:before {
        height: 18px;
    }

    #sticker .navbar-default .navbar-nav > li > a:after,
    #sticker .navbar-default .navbar-nav > li > a:hover:after,
    #sticker .navbar-default .navbar-nav > li > a:focus:after,
    #sticker .navbar-default .navbar-nav > li.active > a:after,
    #sticker .navbar-default .navbar-nav > .open > a:after {
        background: transparent !important;
    }
}

/* Kill legacy blue hover on last menu item from hover-dropdown-menu.css */
#sticker.semi-color-header .navbar-default .navbar-nav > li:last-child:hover,
.semi-color-header #sticker .navbar-default .navbar-nav > li:last-child:hover {
    background-color: transparent !important;
}

#sticker.semi-color-header .navbar-default .navbar-nav > li:last-child > a:hover,
#sticker.semi-color-header .navbar-default .navbar-nav > li:last-child > a:focus,
.semi-color-header #sticker .navbar-default .navbar-nav > li:last-child > a:hover,
.semi-color-header #sticker .navbar-default .navbar-nav > li:last-child > a:focus {
    background-color: transparent !important;
}

#sticker .dropdown-menu {
    border-radius: 10px;
    border: 1px solid #d9e2f3;
    box-shadow: 0 14px 28px rgba(11, 31, 68, 0.12);
}

#sticker .dropdown-menu > li > a {
    color: var(--brand-text);
    padding-top: 10px;
    padding-bottom: 10px;
}

#sticker .dropdown-menu > li > a:hover,
#sticker .dropdown-menu > li > a:focus {
    background: #eef4ff;
    color: var(--brand-accent);
}

#sticker .navbar-default .navbar-nav > .open > a,
#sticker .navbar-default .navbar-nav > .open > a:hover,
#sticker .navbar-default .navbar-nav > .open > a:focus {
    background: transparent !important;
    color: var(--brand-accent) !important;
}

#sticker .navbar-default .navbar-nav > li > .dropdown-menu {
    background: #f7fbff;
}

#sticker .navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    color: #133567;
}

#sticker .navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
#sticker .navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus {
    background: #e7f0ff;
    color: var(--brand-accent);
}

#sticker .navbar-default .dropdown-menu .dropdown-menu {
    background: #f7fbff;
}

#sticker .navbar-default .dropdown-menu .dropdown-menu > li > a {
    color: #133567;
}

/* One-row desktop header: logo left, menu right */
@media (min-width: 992px) {
    #sticker .navbar .col-md-12 {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #sticker .navbar-header {
        float: none;
        flex: 0 0 auto;
    }

    #sticker .navbar-collapse {
        display: block !important;
        flex: 1 1 auto;
        padding-left: 36px;
    }

    #sticker .navbar.navbar-bg-light .navbar-nav {
        float: right;
    }
}

/* Slider caption like reference design */
#main-slider,
#main-slider .carousel,
#main-slider .carousel-inner {
    position: relative;
}

#main-slider .carousel-inner {
    overflow: hidden;
    min-height: clamp(280px, 34vw, 520px);
}

#main-slider .carousel-inner > .item {
    min-height: clamp(280px, 34vw, 520px);
}

#main-slider .carousel-inner > .item > img {
    width: 100%;
    height: clamp(280px, 34vw, 520px);
    object-fit: cover;
}

/* Proper fade behavior to avoid blank frame + content jump */
#main-slider .carousel-fade .carousel-inner .item {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    transition: opacity 0.45s ease-in-out;
}

#main-slider .carousel-fade .carousel-inner .active {
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

#main-slider .carousel-fade .carousel-inner .active.left,
#main-slider .carousel-fade .carousel-inner .active.right {
    opacity: 0;
    z-index: 1;
}

#main-slider .carousel-fade .carousel-inner .next.left,
#main-slider .carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

/* Keep manual navigation arrows visible and clickable */
#main-slider .carousel-control {
    z-index: 25;
    opacity: 1;
    pointer-events: auto;
}

#main-slider .carousel-control .fa {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

#main-slider .carousel-inner .item {
    position: relative;
}

#main-slider .carousel-inner .item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, rgba(4, 15, 41, 0.62) 0%, rgba(4, 15, 41, 0.26) 58%, rgba(4, 15, 41, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

#main-slider .carousel-caption {
    z-index: 2;
    left: 7%;
    right: auto;
    width: 52%;
    text-align: left;
}

#main-slider .carousel-caption h1 {
    margin: 0 0 22px;
    font-size: 62px;
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

#main-slider .carousel-caption .btn.btn-default {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    padding: 13px 26px;
}

#main-slider .carousel-caption .btn.btn-default:hover {
    background: #178148;
    border-color: #178148;
}

/* Home content spacing */
.slider + .page-section {
    padding-top: 44px;
    padding-bottom: 54px;
}

/* Homepage news masonry grid */
.slider + .page-section .post-list {
    margin-top: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px 24px;
    align-items: start;
}

.slider + .page-section .post-list .post-item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #dfe6ee;
    border-bottom: 3px solid #0072bc;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(20, 38, 66, 0.08);
    overflow: hidden;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    transition: box-shadow 0.25s ease;
}

.slider + .page-section .post-list .post-item:hover {
    transform: none;
    box-shadow: 0 10px 24px rgba(20, 38, 66, 0.11);
}

.slider + .page-section .post-list .post-item:nth-child(even) {
    border-bottom-color: #3f9560;
}

.slider + .page-section .post-list .post-item:after {
    content: "";
    position: absolute;
    right: 4px;
    bottom: 2px;
    width: 83px;
    height: 83px;
    background: var(--home-card-pictogram, url("../img/pic/1.png")) center center / contain no-repeat;
    opacity: 0.6;
    pointer-events: none;
}

.slider + .page-section .post-list .post-item > * {
    position: relative;
    z-index: 1;
}

.slider + .page-section .post-list .post-item .post-image.pull-right {
    float: none !important;
    margin: 0 !important;
}

.slider + .page-section .post-list .post-item .post-image img,
.slider + .page-section .post-list .post-item img {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
}

.slider + .page-section .post-list .post-item .post-title {
    margin: 0;
    padding: 20px 22px 8px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 22px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: 0;
}

.slider + .page-section .post-list .post-item .post-title a {
    color: #10213f;
}

.slider + .page-section .post-list .post-item .post-title a:hover {
    color: var(--brand-accent);
}

.slider + .page-section .post-list .post-item .home-news-card-date {
    margin: 0;
    padding: 0 22px 14px;
    color: #2f7d49;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.slider + .page-section .post-list .post-item .home-news-card-date .category {
    color: #2f7d49;
}

.slider + .page-section .post-list .post-item .home-news-card-date i {
    margin-right: 6px;
    color: #3f9560;
}

.slider + .page-section .post-list .post-item .post-content {
    margin: 0;
    padding: 0 22px 18px;
    color: #344157;
    font-size: 15px;
    line-height: 1.65;
}

.slider + .page-section .post-list .post-item .post-meta {
    margin: 0;
    padding: 0 22px 24px;
}

.slider + .page-section .post-list .post-item .post-meta a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 31px;
    padding: 7px 12px;
    border: 1px solid #9fc9eb;
    border-radius: 4px;
    color: #0072bc;
    background: #ffffff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    text-transform: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.slider + .page-section .post-list .post-item .post-meta a:hover,
.slider + .page-section .post-list .post-item .post-meta a:focus {
    border-color: #0072bc;
    background: #edf7ff;
    color: #005f9d;
    transform: translateY(-1px);
}

.slider + .page-section .post-list .post-item .post-meta a i {
    margin-left: 0;
    transition: transform 0.2s ease;
}

.slider + .page-section .post-list .post-item .post-meta a:hover i,
.slider + .page-section .post-list .post-item .post-meta a:focus i {
    transform: translateX(2px);
}

.slider + .page-section .post-list .post-item .clearfix {
    display: none;
}

.slider + .page-section .post-list.home-news-masonry {
    grid-auto-flow: row;
    grid-auto-rows: 8px;
}

@media (min-width: 992px) {
    .slider + .page-section .post-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Homepage featured news carousel */
.home-featured-news {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 34px 0 42px;
    background: #eef7ff url("../img/carousel-bg.png") center center / cover no-repeat;
    border-top: 1px solid #e3e9ef;
    border-bottom: 1px solid #e3e9ef;
}

.home-featured-news .container {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    padding-left: 56px;
    padding-right: 56px;
}

.home-featured-news-head {
    margin-bottom: 14px;
}

.home-featured-news-title {
    margin: 0;
    color: #0072bc;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.home-featured-news-carousel {
    position: relative;
    padding-top: 0;
}

.home-featured-news-carousel .owl-wrapper-outer {
    padding: 1px 0 18px;
}

.home-featured-news-carousel .owl-item {
    padding: 0 10px;
}

.home-featured-news-card {
    display: grid;
    grid-template-columns: minmax(160px, 44%) minmax(0, 1fr);
    height: 286px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(20, 52, 82, 0.1);
}

.home-featured-news-image {
    display: block;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #eaf2f7;
}

.home-featured-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.home-featured-news-body {
    display: flex;
    flex-direction: column;
    padding: 22px 20px 20px;
    min-width: 0;
    overflow: hidden;
}

.home-featured-news-category {
    display: inline-block;
    margin-bottom: 12px;
    color: #0072bc;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-featured-news-carousel .owl-item:nth-child(3n+2) .home-featured-news-category {
    color: #0072bc;
}

.home-featured-news-carousel .owl-item:nth-child(3n+3) .home-featured-news-category {
    color: #0072bc;
}

.home-featured-news-card-title {
    position: relative;
    height: 74px;
    margin: 0 0 16px;
    padding-bottom: 20px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: none;
    overflow: hidden;
}

.home-featured-news-card-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    background: #3f9560;
}

.home-featured-news-card-title a {
    color: #13254a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-featured-news-card-title a:hover,
.home-featured-news-card-title a:focus {
    color: var(--brand-accent);
}

.home-featured-news-excerpt {
    height: 84px;
    margin: 0 0 16px;
    color: #202a3a;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-featured-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    min-width: 0;
}

.home-featured-news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5d6878;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}

.home-featured-news-date i {
    color: #6f7b8d;
}

.home-featured-news-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    padding: 8px 15px;
    border-radius: 4px;
    background: #0072bc;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.home-featured-news-more,
.home-featured-news-more:visited {
    color: #ffffff !important;
}

.home-featured-news-more:hover,
.home-featured-news-more:focus {
    background: var(--brand-accent);
    color: #ffffff !important;
}

.home-featured-news-carousel .owl-controls {
    margin: 10px 0 0;
    position: relative;
    min-height: 38px;
}

.home-featured-news-carousel .owl-buttons {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    gap: 16px;
    z-index: 5;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next {
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #0072bc !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #0072bc !important;
    opacity: 1 !important;
    filter: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    box-shadow: none !important;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:before,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next:before {
    display: block;
    font-family: FontAwesome;
    font-size: 22px;
    font-weight: normal;
    line-height: 1;
    color: inherit;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:before {
    content: "\f104";
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-next:before {
    content: "\f105";
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev .fa,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next .fa {
    display: none !important;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:hover,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next:hover,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:focus,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next:focus {
    background: #0072bc !important;
    color: #ffffff !important;
}

.home-featured-news-carousel .owl-pagination {
    margin-top: 0;
    line-height: 36px;
}

.home-featured-news-carousel .owl-page span {
    width: 11px;
    height: 11px;
    margin: 5px 7px;
    border-radius: 50%;
    background: #c7cdd3;
    opacity: 1;
}

.home-featured-news-carousel .owl-page.active span,
.home-featured-news-carousel .owl-page:hover span {
    background: #0072bc;
}

@media (min-width: 1200px) {
    .home-featured-news {
        padding-top: 56px;
        padding-bottom: 42px;
        border-top: 0;
        border-bottom: 0;
    }

    .home-featured-news .container {
        padding-left: 96px;
        padding-right: 96px;
    }

    .home-featured-news-carousel .owl-wrapper-outer {
        padding: 1px 0 20px;
    }

    .home-featured-news-carousel .owl-item {
        padding: 0 16px;
    }

    .home-featured-news-card {
        grid-template-columns: minmax(210px, 46%) minmax(0, 1fr);
        height: 320px;
        border: 1px solid rgba(207, 220, 232, 0.95);
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(33, 63, 94, 0.12);
    }

    .home-featured-news-body {
        padding: 38px 22px 20px;
    }

    .home-featured-news-carousel .owl-controls {
        position: static;
        margin: 2px 0 0;
        min-height: 30px;
    }

    .home-featured-news-carousel .owl-buttons {
        left: 20px;
        right: 20px;
        top: calc(50% - 19px);
        display: block;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .home-featured-news-carousel .owl-controls .owl-buttons .owl-prev {
        float: left;
        pointer-events: auto;
    }

    .home-featured-news-carousel .owl-controls .owl-buttons .owl-next {
        float: right;
        pointer-events: auto;
    }

    .home-featured-news-carousel .owl-controls .owl-buttons .owl-prev,
    .home-featured-news-carousel .owl-controls .owl-buttons .owl-next {
        width: 46px !important;
        height: 46px !important;
        border-color: #d8e8f5 !important;
        box-shadow: 0 8px 18px rgba(22, 55, 86, 0.14) !important;
    }

    .home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:before,
    .home-featured-news-carousel .owl-controls .owl-buttons .owl-next:before {
        font-size: 25px;
    }
}

/* Homepage quick access strip */
.home-quick-access {
    width: 100%;
    margin-top: 6px;
    padding: 26px 0 32px;
    background-image: linear-gradient(90deg, rgba(10, 43, 115, 0.88) 0%, rgba(14, 58, 147, 0.62) 100%), url("../img/poz-icon-home.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-quick-access .quick-access-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 18px;
}

.home-quick-access .quick-access-item {
    min-height: 112px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-quick-access .quick-access-item i {
    font-size: 34px;
    line-height: 1;
}

.home-quick-access .quick-access-item span {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
}

.home-quick-access .quick-access-item:hover,
.home-quick-access .quick-access-item:focus {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.home-quick-access .item-ucenici i {
    color: #b980ff;
}

.home-quick-access .item-obavestenja i {
    color: #ffa52f;
}

.home-quick-access .item-upis i {
    color: #2fd05f;
}

.home-quick-access .item-takmicenja i {
    color: #2fa2ff;
}

.home-quick-access .item-ednevnik i {
    color: #13d4b3;
}

.home-quick-access .item-kontakt i {
    color: #ff4f66;
}

/* Homepage galleries section */
.home-galleries {
    padding: 44px 0 50px;
    background: #ffffff;
}

.home-galleries .home-galleries-title {
    margin: 0 0 24px;
    color: #0f2d63;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: none;
}

.home-galleries .home-galleries-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 16px;
}

.home-galleries .home-gallery-card {
    display: block;
    text-decoration: none;
}

.home-galleries .home-gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
}

.home-galleries .home-gallery-card .gallery-name {
    display: block;
    margin-top: 10px;
    color: #17366f;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
}

.home-galleries .home-gallery-card .gallery-date {
    display: block;
    margin-top: 4px;
    color: #35558b;
    font-size: 15px;
    line-height: 1.25;
}

.home-galleries .home-gallery-card:hover .gallery-name,
.home-galleries .home-gallery-card:focus .gallery-name {
    color: #1f9a57;
}

/* Homepage useful links banners */
.home-useful-links {
    padding: 28px 0 34px;
    background-color: #f3f5f9;
    background-image: url("../img/poz-svetla.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-useful-links .home-useful-links-title {
    margin: 0 0 16px;
    color: #0f2d63;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: none;
}

.home-useful-links .home-useful-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 20px;
}

.home-useful-links .home-useful-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #d8deeb;
}

.home-useful-links .home-useful-link-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-useful-links .home-useful-link-item:hover,
.home-useful-links .home-useful-link-item:focus {
    border-color: #b8c4dc;
}

.home-useful-links .home-useful-link-item-himna {
    gap: 12px;
    padding: 8px 16px;
    background:
        radial-gradient(circle at 14% 32%, rgba(206, 171, 118, 0.34) 0, rgba(206, 171, 118, 0.34) 6px, transparent 7px),
        radial-gradient(circle at 84% 68%, rgba(206, 171, 118, 0.28) 0, rgba(206, 171, 118, 0.28) 6px, transparent 7px),
        linear-gradient(90deg, #f9f0e2 0%, #fcf7ee 100%);
    color: #2b2b2b;
}

.home-useful-links .home-useful-link-item-himna .himna-icon {
    color: #bd8a42;
    font-size: 22px;
    line-height: 1;
}

.home-useful-links .home-useful-link-item-himna .himna-text {
    color: #2a2a2a;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
}

/* Homepage contact strip above intro */
.home-news-cta-section {
    padding: 12px 0 38px;
    background: #ffffff;
}

.home-news-cta {
    position: relative;
    display: grid;
    grid-template-columns: 82px 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 120px;
    padding: 24px 58px 24px 38px;
    overflow: hidden;
    border: 1px solid #d5e2ef;
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 139, 210, 0.08) 0 2px, transparent 3px) right top / 18px 18px no-repeat,
        linear-gradient(90deg, #fbfdff 0%, #ffffff 54%, #f7fbff 100%);
    box-shadow: 0 8px 22px rgba(20, 38, 66, 0.05);
}

.home-news-cta:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 139, 210, 0.015), rgba(255, 255, 255, 0) 38%);
}

.home-news-cta-icon {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #008bd2;
    background: #edf6fd;
    font-size: 32px;
}

.home-news-cta-content {
    position: relative;
    z-index: 1;
    padding-left: 28px;
    border-left: 3px solid #2f8c4f;
}

.home-news-cta-content h2 {
    margin: 0 0 8px;
    color: #10213f;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: 0;
}

.home-news-cta-content p {
    margin: 0;
    color: #172747;
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: 0;
}

.home-news-cta-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 28px;
    border-radius: 5px;
    color: #ffffff !important;
    background: #006fba;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 111, 186, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-news-cta-link:hover,
.home-news-cta-link:focus,
.home-news-cta-link:visited,
.home-news-cta-link:active {
    color: #ffffff !important;
    background: #005fa0;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 111, 186, 0.24);
}

.home-news-cta-link i {
    color: #ffffff !important;
    transition: transform 0.2s ease;
}

.home-news-cta .home-news-cta-link,
.home-news-cta .home-news-cta-link *,
.home-news-cta .home-news-cta-link:hover,
.home-news-cta .home-news-cta-link:focus,
.home-news-cta .home-news-cta-link:visited,
.home-news-cta .home-news-cta-link:active {
    color: #ffffff !important;
}

.home-news-cta-link:hover i,
.home-news-cta-link:focus i {
    transform: translateX(3px);
}

.home-contact-strip {
    position: relative;
    overflow: hidden;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 28px 0;
    background-color: #082b4a;
    background-image:
        linear-gradient(90deg, rgba(6, 35, 62, 0.44) 0%, rgba(10, 53, 88, 0.22) 50%, rgba(6, 35, 62, 0.4) 100%),
        url("../img/plava-traka-bg.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    border-top: 0;
    border-bottom: 3px solid #008bd2;
}

.home-contact-strip .home-contact-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    max-width: 1180px;
    margin: 0 auto;
}

.home-contact-strip .home-contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    min-height: 88px;
    padding: 18px 30px;
    border: 1px solid rgba(169, 205, 230, 0.42);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-contact-strip .home-contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(63, 149, 96, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 27px;
    flex: 0 0 60px;
}

.home-contact-strip .home-contact-text {
    position: relative;
    padding-left: 18px;
}

.home-contact-strip .home-contact-text:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 2px;
    background: rgba(63, 149, 96, 0.85);
}

.home-contact-strip .home-contact-text {
    display: flex;
    flex-direction: column;
}

.home-contact-strip .home-contact-label {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.home-contact-strip .home-contact-value,
.home-contact-strip .home-contact-value a {
    margin-top: 4px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}

.home-contact-strip .home-contact-value a:hover,
.home-contact-strip .home-contact-value a:focus {
    color: #dff6e9;
}

/* Homepage intro panels */
.home-section-lajsna {
    min-height: 48px;
    border-top: 3px solid #0072bc;
    background: #f7fbff url("../img/lajsna.png") center center / cover no-repeat;
}

.home-intro-blocks {
    padding: 28px 0 30px;
    background: #ffffff;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.3fr);
    gap: 22px;
    align-items: stretch;
}

.home-about-panel,
.home-focus-panel,
.home-quote-panel {
    border: 1px solid #d4e1ef;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(20, 38, 66, 0.06);
}

.home-about-panel {
    padding: 36px 42px 34px;
}

.home-about-panel h2,
.home-focus-panel h2 {
    margin: 0;
    color: #10213f;
    font-size: 24px;
    line-height: 1.24;
    font-weight: 500;
    letter-spacing: 0;
}

.home-section-line {
    display: block;
    width: 42px;
    height: 3px;
    margin: 20px 0 26px;
    border-radius: 3px;
    background: #2f8c4f;
}

.home-about-panel p {
    max-width: 100%;
    margin: 0 0 14px;
    color: #172747;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
}

.home-section-link,
.home-focus-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    margin-top: 18px;
    padding: 11px 22px;
    border: 1px solid #0072bc;
    border-radius: 5px;
    color: #006aa8;
    background: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-section-link:hover,
.home-section-link:focus {
    background: #edf7ff;
    color: #005f9d;
    transform: translateY(-1px);
}

.home-section-link i,
.home-focus-link i {
    transition: transform 0.2s ease;
}

.home-section-link:hover i,
.home-section-link:focus i,
.home-focus-link:hover i,
.home-focus-link:focus i {
    transform: translateX(3px);
}

.home-focus-panel {
    position: relative;
    min-height: 370px;
    overflow: hidden;
    background-color: #f2f8ff;
    background-image:
        linear-gradient(90deg, rgba(242, 248, 255, 0) 0%, rgba(242, 248, 255, 0.22) 34%, rgba(242, 248, 255, 0.9) 58%, rgba(242, 248, 255, 0.98) 100%),
        url("../img/home-sela.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-focus-panel:after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 320px;
    height: 160px;
    background: url("../img/home-sela-kucica.jpg") right bottom / contain no-repeat;
    opacity: 0.55;
    pointer-events: none;
}

.home-focus-panel:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 210px;
    height: 132px;
    background: url("../img/home-sela-sara.jpg") right top / contain no-repeat;
    opacity: 0.38;
    pointer-events: none;
}

.home-focus-content {
    position: relative;
    z-index: 2;
    width: 54%;
    margin-left: 43%;
    padding: 36px 44px 34px 28px;
}

.home-focus-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin-bottom: 24px;
    padding: 8px 14px;
    border: 1px solid #9fc9eb;
    border-radius: 5px;
    color: #006aa8;
    background: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.home-focus-panel p {
    margin: 0;
    color: #172747;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
    text-align: left;
}

.home-focus-link {
    margin-top: 28px;
    border-color: #0072bc;
    color: #ffffff;
    background: #0072bc;
    box-shadow: 0 10px 20px rgba(0, 114, 188, 0.22);
}

.home-focus-link:hover,
.home-focus-link:focus {
    background: #008bd2;
    color: #ffffff;
    transform: translateY(-1px);
}

.home-quote-panel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 88px;
    margin-top: 24px;
    padding: 20px 230px 20px 42px;
    overflow: hidden;
    background: #fbfdff;
}

.home-quote-panel:after {
    content: "";
    position: absolute;
    right: 46px;
    bottom: 0;
    width: 230px;
    height: 72px;
    background: url("../img/sunce-bg.png") right bottom / contain no-repeat;
    pointer-events: none;
}

.home-quote-panel i {
    flex: 0 0 auto;
    color: #0072bc;
    font-size: 44px;
    line-height: 1;
}

.home-quote-panel p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #233554;
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width: 1199px) {
    #sticker .navbar.navbar-bg-light .navbar-nav > li > a {
        font-size: 14px;
        padding-left: 9px;
        padding-right: 9px;
    }

    .home-featured-news .container {
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    .home-featured-news-card {
        grid-template-columns: minmax(190px, 44%) minmax(0, 1fr);
        height: 286px;
    }

    #main-slider .carousel-caption h1 {
        font-size: 50px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #sticker .navbar.navbar-bg-light .navbar-nav > li > a {
        padding-left: 22px;
        padding-right: 12px;
    }

    #sticker .navbar.navbar-bg-light .navbar-nav > li > a:before {
        left: 8px;
    }
}

@media (max-width: 991px) {
    #sticker .navbar-header .navbar-brand {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #sticker .cedra-logo-mark {
        width: 130px;
        height: 72px;
        flex-basis: 130px;
    }

    #sticker .cedra-logo-mark img {
        width: 130px;
    }

    #sticker .cedra-brand-title {
        font-size: 19px;
    }

    #sticker .cedra-brand-subtitle {
        font-size: 12px;
    }

    #sticker .navbar.navbar-bg-light .navbar-nav > li > a {
        padding-top: 14px;
        padding-bottom: 14px;
        text-underline-offset: 6px;
    }

    #sticker .navbar.navbar-bg-light .navbar-nav > li > a:after {
        display: none;
    }

    .slider + .page-section .post-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-featured-news-card {
        grid-template-columns: minmax(220px, 45%) minmax(0, 1fr);
        height: 286px;
    }

    #main-slider .carousel-inner .item:before {
        width: 75%;
    }

    #main-slider .carousel-inner,
    #main-slider .carousel-inner > .item,
    #main-slider .carousel-inner > .item > img {
        min-height: clamp(240px, 44vw, 380px);
        height: clamp(240px, 44vw, 380px);
    }

    #main-slider .carousel-caption {
        width: 76%;
    }

    #main-slider .carousel-caption h1 {
        font-size: 38px;
    }

    .home-quick-access .quick-access-grid {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }

    .home-galleries .home-galleries-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }

    .home-useful-links .home-useful-links-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .home-news-cta {
        grid-template-columns: 70px 1fr;
        padding: 24px 32px;
    }

    .home-news-cta-link {
        grid-column: 2;
        justify-self: start;
    }

    .home-contact-strip .home-contact-strip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .home-intro-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-focus-content {
        width: 56%;
    }
}

@media (max-width: 767px) {
    #top-bar {
        padding: 9px 0;
    }

    #top-bar .col-sm-12 {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    #top-bar .top-contact,
    #top-bar .top-social-icon {
        text-align: center;
    }

    #top-bar .top-contact > a {
        margin-right: 10px;
    }

    #sticker .navbar-header .cedra-brand {
        max-width: calc(100% - 64px);
        gap: 10px;
    }

    #sticker .cedra-logo-mark {
        width: 104px;
        height: 58px;
        flex-basis: 104px;
    }

    #sticker .cedra-logo-mark img {
        width: 104px;
    }

    #sticker .cedra-brand-title {
        font-size: 16px;
    }

    #sticker .cedra-brand-subtitle {
        font-size: 11px;
    }

    .slider + .page-section {
        padding-top: 28px;
    }

    .home-featured-news {
        padding-top: 22px;
        padding-bottom: 30px;
    }

    .home-featured-news .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-featured-news-title {
        padding-right: 86px;
        font-size: 18px;
    }

    .home-featured-news-carousel .owl-item {
        padding: 0 2px;
    }

    .home-featured-news-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .home-featured-news-image {
        height: 180px;
        min-height: 0;
    }

    .home-featured-news-body {
        padding: 18px 18px 16px;
    }

    .home-featured-news-card-title,
    .home-featured-news-excerpt {
        min-height: 0;
    }

    .home-featured-news-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-featured-news-carousel .owl-buttons {
        top: 0;
        gap: 10px;
    }

    .home-featured-news-carousel .owl-controls .owl-buttons .owl-prev,
    .home-featured-news-carousel .owl-controls .owl-buttons .owl-next {
        width: 30px !important;
        height: 30px !important;
    }

    .home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:before,
    .home-featured-news-carousel .owl-controls .owl-buttons .owl-next:before {
        font-size: 19px;
    }

    .slider + .page-section .post-list .post-item .post-title {
        font-size: 22px;
    }

    .home-news-cta-section {
        padding: 4px 0 28px;
    }

    .home-news-cta {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 0;
        padding: 24px 20px;
    }

    .home-news-cta-icon {
        width: 58px;
        height: 58px;
        font-size: 27px;
    }

    .home-news-cta-content {
        padding-left: 18px;
    }

    .home-news-cta-content h2 {
        font-size: 20px;
    }

    .home-news-cta-content p {
        font-size: 15px;
    }

    .home-news-cta-link {
        grid-column: auto;
        justify-self: start;
        min-height: 44px;
        padding: 12px 20px;
        font-size: 14px;
    }

    #main-slider .carousel-inner .item:before {
        width: 100%;
        background: linear-gradient(180deg, rgba(4, 15, 41, 0.72) 0%, rgba(4, 15, 41, 0.42) 48%, rgba(4, 15, 41, 0.08) 100%);
    }

    #main-slider .carousel-inner,
    #main-slider .carousel-inner > .item,
    #main-slider .carousel-inner > .item > img {
        min-height: 220px;
        height: 220px;
    }

    #main-slider .carousel-caption {
        left: 8%;
        right: 8%;
        width: auto;
    }

    #main-slider .carousel-caption h1 {
        font-size: 30px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    #main-slider .carousel-caption .btn.btn-default {
        padding: 10px 18px;
        font-size: 13px;
    }

    .home-quick-access {
        padding-top: 20px;
        padding-bottom: 24px;
    }

    .home-quick-access .quick-access-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 12px;
    }

    .home-quick-access .quick-access-item {
        min-height: 108px;
        gap: 10px;
    }

    .home-quick-access .quick-access-item i {
        font-size: 28px;
    }

    .home-quick-access .quick-access-item span {
        font-size: 17px;
    }

    .home-galleries {
        padding-top: 30px;
        padding-bottom: 34px;
    }

    .home-galleries .home-galleries-title {
        margin-bottom: 16px;
        font-size: 28px;
    }

    .home-galleries .home-galleries-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 12px;
    }

    .home-galleries .home-gallery-card .gallery-name {
        font-size: 16px;
    }

    .home-galleries .home-gallery-card .gallery-date {
        font-size: 14px;
    }

    .home-useful-links {
        padding-top: 22px;
        padding-bottom: 26px;
    }

    .home-useful-links .home-useful-links-title {
        margin-bottom: 12px;
        font-size: 28px;
    }

    .home-useful-links .home-useful-links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-useful-links .home-useful-link-item {
        min-height: 84px;
    }

    .home-useful-links .home-useful-link-item-himna .himna-text {
        font-size: 18px;
    }

    .home-contact-strip {
        padding-top: 18px;
        padding-bottom: 16px;
    }

    .home-contact-strip .home-contact-strip-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-contact-strip .home-contact-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 20px;
    }

    .home-contact-strip .home-contact-label {
        font-size: 16px;
    }

    .home-contact-strip .home-contact-value,
    .home-contact-strip .home-contact-value a {
        font-size: 14px;
    }

    .home-section-lajsna {
        min-height: 34px;
    }

    .home-intro-blocks {
        padding: 22px 0 24px;
    }

    .home-about-panel {
        padding: 26px 22px;
    }

    .home-about-panel h2,
    .home-focus-panel h2 {
        font-size: 26px;
    }

    .home-about-panel p,
    .home-focus-panel p,
    .home-quote-panel p {
        font-size: 15px;
    }

    .home-focus-panel {
        min-height: 0;
        background-image:
            linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.96) 100%),
            url("../img/home-sela.jpg");
    }

    .home-focus-content {
        width: 100%;
        padding: 26px 22px;
    }

    .home-focus-panel:after {
        display: none;
    }

    .home-quote-panel {
        align-items: flex-start;
        gap: 18px;
        margin-top: 18px;
        padding: 20px 22px 74px;
    }

    .home-quote-panel:after {
        right: 18px;
        width: 170px;
        height: 58px;
    }

    .home-quote-panel i {
        font-size: 34px;
    }
}

/* Homepage color polish: sidebar + post metadata */
.slider + .page-section .sidebar .widget .widget-title .title {
    color: var(--brand-text);
    background: transparent !important;
}

.slider + .page-section .sidebar .widget .widget-title {
    background: transparent !important;
}

.slider + .page-section .sidebar .widget .latest-posts .list-group-item,
.slider + .page-section .sidebar .widget .latest-posts .list-group-item:visited {
    background: var(--brand-bg);
}

.slider + .page-section .sidebar .widget .latest-posts .list-group-item:hover,
.slider + .page-section .sidebar .widget .latest-posts .list-group-item:focus {
    background: var(--brand-bg);
}

/* Sidebar latest-posts on oglasna-tabla.php and page.php: no white tile behind links */
.oglasna-tabla-page .sidebar .widget .latest-posts .list-group-item,
.oglasna-tabla-page .sidebar .widget .latest-posts .list-group-item:visited,
.oglasna-tabla-page .sidebar .widget .latest-posts .list-group-item:hover,
.oglasna-tabla-page .sidebar .widget .latest-posts .list-group-item:focus,
.page-content-page .sidebar .widget .latest-posts .list-group-item,
.page-content-page .sidebar .widget .latest-posts .list-group-item:visited,
.page-content-page .sidebar .widget .latest-posts .list-group-item:hover,
.page-content-page .sidebar .widget .latest-posts .list-group-item:focus,
.text-page .sidebar .widget .latest-posts .list-group-item,
.text-page .sidebar .widget .latest-posts .list-group-item:visited,
.text-page .sidebar .widget .latest-posts .list-group-item:hover,
.text-page .sidebar .widget .latest-posts .list-group-item:focus {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* WidgetPoslednjeObjave uses plain .list-group-item (not .latest-posts) */
.oglasna-tabla-page .sidebar .widget .list-group-item,
.oglasna-tabla-page .sidebar .widget .list-group-item:visited,
.oglasna-tabla-page .sidebar .widget .list-group-item:hover,
.oglasna-tabla-page .sidebar .widget .list-group-item:focus,
.page-content-page .sidebar .widget .list-group-item,
.page-content-page .sidebar .widget .list-group-item:visited,
.page-content-page .sidebar .widget .list-group-item:hover,
.page-content-page .sidebar .widget .list-group-item:focus,
.text-page .sidebar .widget .list-group-item,
.text-page .sidebar .widget .list-group-item:visited,
.text-page .sidebar .widget .list-group-item:hover,
.text-page .sidebar .widget .list-group-item:focus {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.oglasna-tabla-page .sidebar .widget #MainMenu2,
.oglasna-tabla-page .sidebar .widget .list-group,
.oglasna-tabla-page .sidebar .widget .list-group.panel,
.page-content-page .sidebar .widget #MainMenu2,
.page-content-page .sidebar .widget .list-group,
.page-content-page .sidebar .widget .list-group.panel,
.text-page .sidebar .widget #MainMenu2,
.text-page .sidebar .widget .list-group,
.text-page .sidebar .widget .list-group.panel {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.slider + .page-section .post-list .post-item > div[style] .author a,
.slider + .page-section .post-list .post-item > div[style] .author a:visited {
    color: #4f6385 !important;
    font-weight: 600;
}

.slider + .page-section .post-list .post-item > div[style] .author a:hover,
.slider + .page-section .post-list .post-item > div[style] .author a:focus {
    color: var(--brand-accent) !important;
}

.slider + .page-section .post-list .post-item > div[style] .category {
    color: #7a8ca9;
}

.slider + .page-section .post-list .post-item > div[style] .category i {
    color: #9aa9c2;
}

/* Global palette alignment: replace legacy blue/ochre/yellow accents */
.widget li .post-details a:hover,
.widget li .post-details a:focus,
.post-meta a:hover,
.post-meta a:focus,
.post-title a:hover,
.post-title a:focus,
.widget a:hover,
.widget a:focus {
    color: var(--brand-accent);
}

#footer {
    color: var(--brand-text);
}

#footer .footer-widget,
#footer .dark-section.footer-widget {
    background: #eaf0f7;
    color: var(--brand-text);
}

#footer .dark-section.footer-widget {
    position: relative;
    overflow: hidden;
    background-color: #003494;
    background-image: none;
}

#footer .dark-section.footer-widget::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 240px;
    background: url("../img/footer-bgd.jpg") center top / 100% auto no-repeat;
    z-index: 0;
    pointer-events: none;
}

#footer .dark-section.footer-widget > .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    #footer .dark-section.footer-widget::before {
        height: 180px;
    }
}

#footer .footer-widget .widget-title .title,
#footer .dark-section .widget .widget-title .title {
    color: var(--brand-text-light);
}

#footer .footer-icon {
    color: #8fa1bc;
}

#footer .dark-section .widget a,
#footer .dark-section .widget a:visited {
    color: #8fa1bc;
}

#footer .dark-section .widget a:hover,
#footer .dark-section .widget a:focus {
    color: var(--brand-accent-light);
}

#footer .copyright,
#footer .dark-section.copyright {
    background: #013492;
    border-top: 1px solid #cdd8e6;
    color: #ffffff;
}

#footer .copyright a,
.copyright a {
     color: #8fa1bc;
}

#footer .dark-section .form-control {
    background: #ffffff;
    color: var(--brand-text);
    border: 1px solid #c7d4e6;
}

#footer.cedra-footer {
    color: #13213a;
    background: #f7faff;
}

#footer .cedra-footer-main {
    padding: 32px 0 30px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
    border-top: 1px solid #d8e3ee;
    border-bottom: 1px solid #d8e3ee;
}

#footer .cedra-footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1.7fr 1.7fr 1fr;
    align-items: start;
    gap: 34px;
}

#footer .cedra-footer-grid > * + * {
    border-left: 1px solid #d4dfeb;
    padding-left: 28px;
}

#footer .cedra-footer-brand {
    text-align: center;
}

#footer .cedra-footer-logo {
    display: block;
    width: 170px;
    height: 96px;
    margin: 0 auto 12px;
    overflow: hidden;
}

#footer .cedra-footer-logo img {
    display: block;
    width: 170px;
    max-width: none;
    height: auto;
}

#footer .cedra-footer-brand strong {
    display: block;
    color: #17233f;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

#footer .cedra-footer-brand span {
    display: block;
    margin-top: 8px;
    color: #66758e;
    font-size: 14px;
    line-height: 1.3;
}

#footer .cedra-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 18px;
}

#footer .cedra-footer-contact a,
#footer .cedra-footer-contact > span {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: #17233f;
    font-size: 16px;
    line-height: 1.35;
    text-decoration: none;
}

#footer .cedra-footer-contact i {
    color: #0072bc;
    font-size: 26px;
    line-height: 1;
    text-align: center;
}

#footer .cedra-footer-list h3,
#footer .cedra-footer-social h3 {
    margin: 0 0 16px;
    color: #005aa7;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

#footer .cedra-footer-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .cedra-footer-list li {
    margin: 0 0 12px;
    padding: 0;
    line-height: 1.35;
}

#footer .cedra-footer-list li:last-child {
    margin-bottom: 0;
}

#footer .cedra-footer-list a,
#footer .cedra-footer-list a:visited {
    color: #17233f;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}

#footer .cedra-footer-list a:hover,
#footer .cedra-footer-list a:focus {
    color: #0072bc;
}

#footer .cedra-footer-social-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

#footer .cedra-footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

#footer .cedra-footer-social-links a:hover,
#footer .cedra-footer-social-links a:focus {
    transform: translateY(-2px);
}

#footer .cedra-footer-social-links img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

#footer .cedra-footer-social-links i {
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
}

#footer .cedra-footer-bottom {
    padding: 18px 0;
    background: #f8fbff;
    color: #4d5d78;
}

#footer .cedra-footer-bottom-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

#footer .cedra-footer-eu-note {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    max-width: 820px;
}

#footer .cedra-footer-eu-note img {
    display: block;
    width: 150px;
    height: auto;
}

#footer .cedra-footer-bottom p {
    margin: 0;
    color: #4d5d78;
    font-size: 14px;
    line-height: 1.4;
}

#footer .cedra-footer-eu-note p {
    font-size: 13px;
    line-height: 1.45;
}

#footer .cedra-footer-copyright {
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 1199px) {
    #footer .cedra-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }

    #footer .cedra-footer-grid > * + * {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    #footer .cedra-footer-bottom-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #footer .cedra-footer-copyright {
        text-align: left;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    #footer .cedra-footer-main {
        padding: 28px 0;
    }

    #footer .cedra-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #footer .cedra-footer-contact {
        align-items: center;
        padding-top: 0;
    }

    #footer .cedra-footer-contact a,
    #footer .cedra-footer-contact > span {
        width: 100%;
        max-width: 300px;
        text-align: left;
    }

    #footer .cedra-footer-social-links {
        justify-content: center;
    }

    #footer .cedra-footer-bottom {
        text-align: center;
    }

    #footer .cedra-footer-eu-note {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }

    #footer .cedra-footer-eu-note p,
    #footer .cedra-footer-copyright {
        text-align: center;
    }
}

/* Oglasna tabla: reuse homepage card language + modern pagination */
.oglasna-tabla-page .oglasna-post-list {
    display: block;
    column-count: 2;
    column-gap: 24px;
}

.oglasna-tabla-page .oglasna-post-list .post-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 26px;
    padding: 0;
    border: 1px solid #dfe6ee;
    border-bottom: 3px solid #0072bc;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(20, 38, 66, 0.08);
    overflow: hidden;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    transition: box-shadow 0.25s ease;
}

.oglasna-tabla-page .oglasna-post-list .post-item:hover {
    box-shadow: 0 10px 24px rgba(20, 38, 66, 0.11);
}

.oglasna-tabla-page .oglasna-post-list .post-item:nth-child(even) {
    border-bottom-color: #3f9560;
}

.oglasna-tabla-page .oglasna-post-list .post-item:after {
    content: "";
    position: absolute;
    right: 4px;
    bottom: 2px;
    width: 83px;
    height: 83px;
    background: var(--home-card-pictogram, url("../img/pic/1.png")) center center / contain no-repeat;
    opacity: 0.6;
    pointer-events: none;
}

.oglasna-tabla-page .oglasna-post-list .post-item > * {
    position: relative;
    z-index: 1;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-image.pull-right {
    float: none !important;
    margin: 0 !important;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-image img,
.oglasna-tabla-page .oglasna-post-list .post-item img {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-title {
    margin: 0;
    padding: 20px 22px 8px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 22px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: 0;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-title a {
    color: #10213f;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-title a:hover,
.oglasna-tabla-page .oglasna-post-list .post-item .post-title a:focus {
    color: var(--brand-accent);
}

.oglasna-tabla-page .oglasna-post-list .post-item .home-news-card-date {
    margin: 0;
    padding: 0 22px 14px;
    color: #2f7d49;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.oglasna-tabla-page .oglasna-post-list .post-item .home-news-card-date .category {
    color: #2f7d49;
}

.oglasna-tabla-page .oglasna-post-list .post-item .home-news-card-date i {
    margin-right: 6px;
    color: #3f9560;
}

.oglasna-tabla-page .oglasna-post-list .post-item > div[style] {
    margin: 0 !important;
    padding: 0 22px 10px !important;
    color: var(--brand-muted) !important;
    font-size: 13px !important;
    line-height: 1.4;
}

.oglasna-tabla-page .oglasna-post-list .post-item > div[style] a {
    color: #4f6385;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-content {
    margin: 0;
    padding: 0 22px 18px;
    color: #344157;
    font-size: 15px;
    line-height: 1.65;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-meta {
    margin: 0;
    padding: 0 22px 24px;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-meta a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 31px;
    padding: 7px 12px;
    border: 1px solid #9fc9eb;
    border-radius: 4px;
    color: #0072bc;
    background: #ffffff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-meta .time {
    color: #2f7d49;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-meta .category {
    float: none !important;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-meta a:hover,
.oglasna-tabla-page .oglasna-post-list .post-item .post-meta a:focus {
    border-color: #0072bc;
    background: #edf7ff;
    color: #005f9d;
    transform: translateY(-1px);
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-meta a i {
    margin-left: 0;
    transition: transform 0.2s ease;
}

.oglasna-tabla-page .oglasna-post-list .post-item .post-meta a:hover i,
.oglasna-tabla-page .oglasna-post-list .post-item .post-meta a:focus i {
    transform: translateX(2px);
}

.oglasna-tabla-page .navbar-right {
    float: none !important;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    column-span: all;
    break-inside: avoid;
    page-break-inside: avoid;
}

.oglasna-tabla-page .pagination {
    margin: 6px 0 0;
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
}

.oglasna-tabla-page .pagination > li {
    margin: 0 !important;
    padding: 0;
}

.oglasna-tabla-page .pagination > li > span {
    background: transparent;
    border: 0;
    padding: 0;
}

.oglasna-tabla-page .pagination > li > span > a,
.oglasna-tabla-page .pagination > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #d7e1ef;
    background: #ffffff;
    color: #1f365f;
    padding: 0;
    text-decoration: none;
}

.oglasna-tabla-page .pagination > li > span > a:hover,
.oglasna-tabla-page .pagination > li > a:hover,
.oglasna-tabla-page .pagination > li > span > a:focus,
.oglasna-tabla-page .pagination > li > a:focus {
    background: #eef4ff;
    color: var(--brand-accent);
    border-color: #c6d6eb;
}

.oglasna-tabla-page .pagination > li.active > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #ffffff;
    padding: 0;
    border: 1px solid var(--brand-accent);
}

@media (min-width: 992px) {
    .oglasna-tabla-page .oglasna-post-list {
        column-count: 2;
    }
}

@media (max-width: 991px) {
    .oglasna-tabla-page .oglasna-post-list {
        column-count: 1;
    }
}

@media (max-width: 767px) {
    .oglasna-tabla-page .oglasna-post-list .post-item .post-title {
        font-size: 20px;
    }
}

/* Force 3 columns on homepage index after sidebar removal */
@media (min-width: 992px) {
    body.home-index-no-sidebar .slider + .page-section .post-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Table refresh: override legacy beige/orange table theme from style.css */
.page-section .container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid #d7e1ef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(12, 37, 84, 0.08);
}

.page-section .container table thead tr {
    background: var(--brand-navy) !important;
}

.page-section .container table th {
    background: var(--brand-navy) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.2px;
    text-align: left;
}

.page-section .container table td,
.page-section .container table th {
    padding: 12px 14px !important;
    border-right: 1px solid #e5ecf5;
}

.page-section .container table td:last-child,
.page-section .container table th:last-child {
    border-right: 0;
}

.page-section .container table tr {
    background: transparent !important;
    border-bottom: 0 !important;
}

.page-section .container table tbody tr:nth-child(odd) {
    background: #f7faff !important;
}

.page-section .container table tbody tr:nth-child(even) {
    background: #ffffff !important;
}

.page-section .container table tbody tr td {
    border-top: 1px solid #e5ecf5;
    color: #233554;
}

.page-section .container table tbody tr:hover {
    background: #edf4ff !important;
}

@media (max-width: 767px) {
    .page-section .container table {
        border-radius: 10px;
    }

    .page-section .container table th,
    .page-section .container table td {
        font-size: 14px;
        padding: 10px 10px !important;
    }

    .page-header .image-bg {
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* Page-header breadcrumb: align left under subtitle */
#page .page-title-left .breadcrumb {
    position: static;
    right: auto;
    left: auto;
    top: auto;
    margin: 6px 0 0;
    padding: 0;
    width: auto;
    text-align: left;
}

/* page.php: force breadcrumb below subtitle on the left */
.page-content-page #page .page-title-left .breadcrumb {
    clear: both;
    float: none;
    display: block;
    width: 100%;
}

.image-bg.fixed

 {
    background-attachment: unset;
}

/* prettyPhoto refresh: thinner dark frame, larger image area, modern close button */
div.pp_overlay {
    background: linear-gradient(135deg, #0f1726 0%, #1a2536 100%) !important;
    -webkit-backdrop-filter: blur(2px) saturate(0.9);
    backdrop-filter: blur(2px) saturate(0.9);
}

div.pp_pic_holder.dark_square .pp_top,
div.pp_pic_holder.dark_square .pp_bottom {
    height: 8px !important;
}

div.pp_pic_holder.dark_square .pp_top .pp_left,
div.pp_pic_holder.dark_square .pp_top .pp_middle,
div.pp_pic_holder.dark_square .pp_top .pp_right,
div.pp_pic_holder.dark_square .pp_bottom .pp_left,
div.pp_pic_holder.dark_square .pp_bottom .pp_middle,
div.pp_pic_holder.dark_square .pp_bottom .pp_right {
    height: 8px !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

div.pp_pic_holder.dark_square .pp_top .pp_left,
div.pp_pic_holder.dark_square .pp_bottom .pp_left,
div.pp_pic_holder.dark_square .pp_top .pp_right,
div.pp_pic_holder.dark_square .pp_bottom .pp_right {
    display: none !important;
    width: 0 !important;
    background: transparent !important;
}

div.pp_pic_holder.dark_square .pp_top .pp_middle,
div.pp_pic_holder.dark_square .pp_bottom .pp_middle {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

div.pp_pic_holder.dark_square .pp_top,
div.pp_pic_holder.dark_square .pp_bottom {
    overflow: hidden !important;
}

div.pp_pic_holder.dark_square .pp_content,
div.pp_pic_holder.dark_square .pp_middle {
    background: rgba(20, 30, 44, 0.45) !important;
}

div.pp_pic_holder.dark_square .pp_content {
    box-shadow: none;
}

div.pp_pic_holder.dark_square .pp_fade,
div.pp_pic_holder.dark_square #pp_full_res,
div.pp_pic_holder.dark_square .pp_content_container {
    background: transparent !important;
}

div.pp_pic_holder.dark_square .pp_content_container {
    position: relative;
}

div.pp_pic_holder.dark_square .pp_content_container .pp_left {
    padding-left: 0 !important;
    background: transparent !important;
}

div.pp_pic_holder.dark_square .pp_content_container .pp_right {
    padding-right: 0 !important;
    background: transparent !important;
}

div.pp_pic_holder.dark_square #pp_full_res {
    position: relative;
    overflow: hidden;
}

div.pp_pic_holder.dark_square #pp_full_res::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 8px solid rgba(20, 30, 44, 0.45);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 2;
}

div.pp_pic_holder.dark_square #pp_full_res img {
    display: block;
    border: 0 !important;
}

div.pp_pic_holder.dark_square .pp_content_container .pp_details {
    margin: 6px 0 0 !important;
}

div.pp_pic_holder.dark_square .pp_gallery ul {
    margin-top: 2px;
}

div.pp_pic_holder.dark_square a.pp_close {
    width: 34px !important;
    height: 34px !important;
    right: 10px !important;
    top: 10px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    text-indent: 0 !important;
    overflow: hidden;
    font-size: 0;
    line-height: 34px !important;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

div.pp_pic_holder.dark_square a.pp_close::before {
    content: "x";
    font-size: 22px;
    line-height: 34px;
    color: #fff;
    font-weight: 400;
}

div.pp_pic_holder.dark_square a.pp_close:hover {
    background: rgba(0, 0, 0, 0.85) !important;
}

@media (min-height: 800px) {
    div.pp_pic_holder.dark_square {
        margin-top: -28px;
    }
}

.white {
    color: white !important;
}

/* tekst.php: detail page redesign */
.text-page .cedra-news-hero {
    min-height: 162px;
    margin: 0;
    padding: 48px 10px 46px;
    overflow: hidden;
    border: 0;
    background: #071d3e;
    box-shadow: 0 8px 22px rgba(7, 29, 62, 0.2);
}

.text-page .cedra-news-hero .image-bg {
    background-position: center center !important;
}

.text-page .cedra-news-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(4, 20, 45, 0.28) 0%, rgba(7, 29, 62, 0.08) 52%, rgba(4, 20, 45, 0.18) 100%);
    pointer-events: none;
}

.text-page .cedra-news-hero .container {
    position: relative;
    z-index: 1;
}

.text-page .cedra-news-hero-row {
    display: flex;
    align-items: center;
}

.text-page .cedra-news-hero h1.title {
    margin: 0;
    color: #ffffff;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.text-page .cedra-news-hero h5 {
    position: relative;
    display: inline-block;
    margin: 12px 0 0;
    padding-bottom: 12px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 400;
}

.text-page .cedra-news-hero h5:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: #ffffff;
}

.text-page #page .cedra-news-hero .breadcrumb,
.text-page #page .cedra-news-breadcrumb {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    width: auto;
    background: transparent;
    color: #ffffff;
    text-align: right;
}

.text-page .cedra-news-breadcrumb > li,
.text-page .cedra-news-breadcrumb > li + li:before {
    color: #ffffff;
}

.text-page .cedra-news-breadcrumb > li + li:before {
    padding: 0 8px 0 0;
}

.text-page .cedra-news-breadcrumb a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
}

.text-page .cedra-news-breadcrumb li:first-child a:before {
    content: "\f015";
    margin-right: 9px;
    font-family: FontAwesome;
    font-weight: normal;
}

.text-page .cedra-news-breadcrumb a:hover,
.text-page .cedra-news-breadcrumb a:focus {
    color: #d8ecff;
}

.text-page .cedra-news-detail-section {
    padding: 34px 15px 70px;
    overflow: visible;
    background: #ffffff;
}

.text-page .cedra-news-layout {
    display: flex;
    align-items: flex-start;
}

.text-page .cedra-news-content {
    color: #1d2430;
    font-size: 15px;
    line-height: 1.65;
}

.text-page .cedra-news-article-full {
    width: 100%;
}

.text-page .cedra-news-content > .row {
    margin-left: 0;
    margin-right: 0;
}

.text-page .cedra-news-content > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.text-page .cedra-news-content img.full-width {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(12, 37, 84, 0.16);
}

.text-page .cedra-news-date {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    padding: 8px 13px;
    border: 1px solid #dceafa;
    border-radius: 6px;
    background: #f5faff;
    color: #4f6385;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
}

.text-page .cedra-news-date i {
    color: var(--brand-accent);
    font-size: 14px;
}

.text-page .cedra-news-content p {
    margin-bottom: 18px;
}

.text-page .cedra-share-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid #dceafa;
    border-radius: 8px;
    background: #f7fbff;
}

.text-page .cedra-share-label {
    color: #143b78;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

.text-page .cedra-share-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-page .cedra-share-link,
.text-page .cedra-share-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.text-page .cedra-share-link:hover,
.text-page .cedra-share-link:focus {
    color: #ffffff;
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(12, 37, 84, 0.18);
    text-decoration: none;
}

.text-page .cedra-share-facebook {
    background: #1877f2;
}

.text-page .cedra-share-x {
    background: #111111;
}

.text-page .cedra-share-x-mark {
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.text-page .cedra-share-linkedin {
    background: #0a66c2;
}

.text-page .cedra-share-whatsapp {
    background: #25d366;
}

.text-page .cedra-share-mail {
    background: var(--brand-accent);
}

.text-page .cedra-news-sidebar {
    padding-left: 28px;
}

.text-page .cedra-latest-widget {
    margin: 0;
    padding: 18px 22px 16px;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(12, 37, 84, 0.13);
}

.text-page .cedra-latest-widget .widget-title {
    margin: 0 0 10px;
    padding: 0;
    background: transparent !important;
}

.text-page .cedra-latest-widget .widget-title .title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 0 13px;
    color: #143b78;
    background: transparent !important;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.text-page .cedra-latest-widget .widget-title .title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    background: var(--brand-accent);
}

.text-page .cedra-latest-list {
    display: flex;
    flex-direction: column;
}

.text-page .cedra-latest-item,
.text-page .cedra-latest-item:visited {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 9px 0;
    border-bottom: 1px solid #e8edf5;
    color: #143b78;
    text-decoration: none;
}

.text-page .cedra-latest-item:last-child {
    border-bottom: 0;
}

.text-page .cedra-latest-item:hover,
.text-page .cedra-latest-item:focus {
    color: var(--brand-accent);
    text-decoration: none;
}

.text-page .cedra-latest-thumb {
    display: block;
    width: 52px;
    height: 44px;
    overflow: hidden;
    border-radius: 4px;
    background: #eef4fb;
}

.text-page .cedra-latest-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-page .cedra-latest-title {
    display: block;
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.text-page .cedra-latest-copy {
    min-width: 0;
}

.text-page .cedra-latest-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: #7d8796;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
}

.text-page .cedra-latest-date i {
    color: var(--brand-accent);
    font-size: 11px;
}

.text-page .cedra-latest-arrow {
    color: #7d8796;
    font-size: 20px;
    line-height: 1;
    text-align: right;
}

.text-page .cedra-latest-item:hover .cedra-latest-arrow,
.text-page .cedra-latest-item:focus .cedra-latest-arrow {
    color: var(--brand-accent);
}

.text-page .cedra-sidebar-banner {
    display: block;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(12, 37, 84, 0.13);
}

.text-page .cedra-sidebar-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.text-page .cedra-sidebar-banner:hover,
.text-page .cedra-sidebar-banner:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(12, 37, 84, 0.18);
}

@media (max-width: 991px) {
    .text-page .cedra-news-hero-row,
    .text-page .cedra-news-layout {
        display: block;
    }

    .text-page #page .cedra-news-breadcrumb {
        justify-content: flex-start;
        margin-top: 18px;
        text-align: left;
    }

    .text-page .cedra-news-sidebar {
        padding-left: 15px;
        margin-top: 34px;
    }
}

@media (max-width: 767px) {
    .text-page .cedra-news-hero {
        padding: 34px 10px 32px;
    }

    .text-page .cedra-news-hero h1.title {
        font-size: 30px;
    }

    .text-page .cedra-news-detail-section {
        padding-top: 26px;
        padding-bottom: 46px;
    }

    .text-page .cedra-share-box {
        display: block;
    }

    .text-page .cedra-share-actions {
        margin-top: 12px;
        flex-wrap: wrap;
    }
}
/* Mobile menu contrast fix */
@media (max-width: 767px) {
    #sticker .navbar-collapse {
        background: #ffffff;
        border-top: 3px solid var(--brand-accent);
        box-shadow: 0 16px 32px rgba(12, 37, 84, 0.14);
    }

    #sticker .navbar-default .navbar-nav,
    #sticker .navbar-default .navbar-nav > li,
    #sticker .navbar-default .navbar-nav .open .dropdown-menu {
        background: transparent;
    }

    #sticker .navbar-default .navbar-nav > li > a,
    #sticker .navbar-default .navbar-nav .open .dropdown-menu > li > a,
    #sticker .navbar-nav .collapsible ul.sm-nowrap > li > a,
    #sticker .navbar-default .dropdown-menu .dropdown-menu > li > a {
        color: var(--brand-accent) !important;
        font-weight: 700;
        background: transparent !important;
        border-bottom: 1px solid rgba(0, 139, 210, 0.16);
    }

    #sticker .navbar-default .navbar-nav > li > a:hover,
    #sticker .navbar-default .navbar-nav > li > a:focus,
    #sticker .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    #sticker .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
    #sticker .navbar-nav .collapsible ul.sm-nowrap > li > a:hover,
    #sticker .navbar-nav .collapsible ul.sm-nowrap > li > a:focus,
    #sticker .navbar-default .dropdown-menu .dropdown-menu > li > a:hover,
    #sticker .navbar-default .dropdown-menu .dropdown-menu > li > a:focus {
        color: #ffffff !important;
        background: var(--brand-accent) !important;
        text-decoration: none;
    }

    #sticker.semi-color-header .navbar-default .navbar-nav > li:last-child:hover,
    .semi-color-header #sticker .navbar-default .navbar-nav > li:last-child:hover {
        background: transparent !important;
        padding-right: 0 !important;
    }

    #sticker.semi-color-header .navbar-default .navbar-nav > li:last-child > a:hover,
    #sticker.semi-color-header .navbar-default .navbar-nav > li:last-child > a:focus,
    .semi-color-header #sticker .navbar-default .navbar-nav > li:last-child > a:hover,
    .semi-color-header #sticker .navbar-default .navbar-nav > li:last-child > a:focus {
        color: #ffffff !important;
        background: var(--brand-accent) !important;
        text-decoration: none;
    }

    #sticker .navbar-default .navbar-toggle {
        border-color: var(--brand-accent);
    }

    #sticker .navbar-default .navbar-toggle .icon-bar {
        background-color: var(--brand-accent);
    }
}

/* Featured news carousel refresh */
.home-featured-news {
    padding: 18px 0 14px;
    background: #eef7ff url("../img/carousel-bg.png") center center / cover no-repeat;
    border-top: 1px solid #dbe8f3;
    border-bottom: 1px solid #dbe8f3;
}

.home-featured-news .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 18px;
    padding-right: 18px;
}

.home-featured-news-panel {
    position: relative;
    padding: 12px 34px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-featured-news-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin: 0 0 10px;
}

.home-featured-news-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #bcd9ef;
    border-radius: 50%;
    background: #f5fbff;
    color: #0072bc;
    font-size: 14px;
}

.home-featured-news-title {
    margin: 0 0 6px;
    color: #112345;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: none;
}

.home-featured-news-heading p {
    margin: 0;
    color: #536174;
    font-size: 15px;
    line-height: 1.4;
}

.home-featured-news-all,
.home-featured-news-all:visited {
    position: absolute;
    right: 34px;
    bottom: 4px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 38px;
    padding: 9px 16px;
    border: 1px solid #bdd8ed;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.7);
    color: #0072bc !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.home-featured-news-all:hover,
.home-featured-news-all:focus {
    border-color: #0072bc;
    background: #0072bc;
    color: #ffffff !important;
}

.home-featured-news-all i {
    transition: transform 160ms ease;
}

.home-featured-news-all:hover i,
.home-featured-news-all:focus i {
    transform: translateX(3px);
}

.home-featured-news-carousel {
    position: relative;
    padding: 0;
}

.home-featured-news-carousel .owl-wrapper-outer {
    padding: 0 0 8px;
}

.home-featured-news-carousel .owl-item {
    padding: 0 8px;
}

.home-featured-news-card {
    display: block;
    height: 365px;
    border: 0;
    border-radius: 8px;
    background: #0d2337;
    overflow: hidden;
    box-shadow: 0 14px 26px rgba(18, 49, 80, 0.16);
}

.home-featured-news-card-link {
    position: relative;
    display: block;
    height: 100%;
    color: #ffffff;
    text-decoration: none;
    overflow: hidden;
}

.home-featured-news-card-link,
.home-featured-news-card-link:visited,
.home-featured-news-card-link:hover,
.home-featured-news-card-link:focus {
    color: #ffffff !important;
    text-decoration: none;
}

.home-featured-news-card-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
    transition: transform 260ms ease, filter 260ms ease;
}

.home-featured-news-card-link:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 19, 35, 0.04) 0%, rgba(6, 19, 35, 0.34) 48%, rgba(3, 11, 22, 0.88) 100%);
}

.home-featured-news-card-link:hover img,
.home-featured-news-card-link:focus img {
    filter: saturate(1.08);
    transform: scale(1.05);
}

.home-featured-news-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0 22px 18px;
    overflow: visible;
}

.home-featured-news-badge {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #168156;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(2, 18, 32, 0.14);
}

.home-featured-news-card-title {
    height: auto;
    margin: 0 70px 12px 0;
    padding: 0;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.18;
    font-weight: 800;
    text-transform: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-featured-news-card-title:after {
    display: none;
}

.home-featured-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 0;
    min-width: 0;
}

.home-featured-news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.home-featured-news-date i {
    color: #ffffff;
}

.home-featured-news-more {
    position: absolute;
    right: 20px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(7, 20, 35, 0.2);
    color: #ffffff !important;
    font-size: 17px;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: background 160ms ease, transform 160ms ease;
}

.home-featured-news-card-link:hover .home-featured-news-more,
.home-featured-news-card-link:focus .home-featured-news-more {
    background: #0072bc;
    transform: translateX(3px);
}

.home-featured-news-carousel .owl-controls {
    position: static;
    margin: 0;
    min-height: 32px;
}

.home-featured-news-carousel .owl-buttons {
    position: absolute;
    left: -14px;
    right: -14px;
    top: calc(50% - 25px);
    z-index: 5;
    display: block;
    transform: translateY(-50%);
    pointer-events: none;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next {
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dbeaf5 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #168156 !important;
    opacity: 1 !important;
    filter: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    box-shadow: 0 10px 24px rgba(17, 55, 86, 0.18) !important;
    pointer-events: auto;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev {
    float: left;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-next {
    float: right;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:before,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next:before {
    display: block;
    font-family: FontAwesome;
    font-size: 28px;
    font-weight: normal;
    line-height: 1;
    color: inherit;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:before {
    content: "\f104";
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-next:before {
    content: "\f105";
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev .fa,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next .fa {
    display: none !important;
}

.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:hover,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next:hover,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:focus,
.home-featured-news-carousel .owl-controls .owl-buttons .owl-next:focus {
    border-color: #0072bc !important;
    background: #0072bc !important;
    color: #ffffff !important;
}

.home-featured-news-carousel .owl-pagination,
.home-featured-news-carousel.owl-theme .owl-controls .owl-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    line-height: 1;
}

.home-featured-news-carousel .owl-controls .owl-page span,
.home-featured-news-carousel.owl-theme .owl-controls .owl-page span {
    display: block !important;
    width: 54px !important;
    height: 4px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #c2cbd4 !important;
    opacity: 1 !important;
}

.home-featured-news-carousel .owl-controls .owl-page.active span,
.home-featured-news-carousel .owl-controls .owl-page:hover span,
.home-featured-news-carousel.owl-theme .owl-controls .owl-page.active span,
.home-featured-news-carousel.owl-theme .owl-controls .owl-page:hover span {
    background: #0072bc !important;
}

@media (max-width: 1199px) {
    .home-featured-news .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-featured-news-panel {
        padding: 12px 28px;
    }

    .home-featured-news-card {
        height: 340px;
    }

    .home-featured-news-card-title {
        font-size: 23px;
    }

    .home-featured-news-carousel .owl-buttons {
        left: -12px;
        right: -12px;
    }
}

@media (max-width: 991px) {
    .home-featured-news-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .home-featured-news-all {
        right: 28px;
    }

    .home-featured-news-card {
        height: 330px;
    }

    .home-featured-news-carousel .owl-buttons {
        left: -18px;
        right: -18px;
    }
}

@media (max-width: 767px) {
    .home-featured-news {
        padding: 14px 0 14px;
    }

    .home-featured-news .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-featured-news-panel {
        padding: 12px 16px 68px;
    }

    .home-featured-news-head {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 12px;
    }

    .home-featured-news-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .home-featured-news-title {
        padding-right: 0;
        font-size: 22px;
    }

    .home-featured-news-heading p {
        font-size: 14px;
    }

    .home-featured-news-all {
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 14px;
        grid-column: 1 / -1;
        justify-self: stretch;
        min-height: 42px;
        font-size: 13px;
    }

    .home-featured-news-carousel .owl-item {
        padding: 0;
    }

    .home-featured-news-card {
        height: 290px;
    }

    .home-featured-news-body {
        padding: 0 18px 16px;
    }

    .home-featured-news-badge {
        margin-bottom: 12px;
        padding: 7px 13px;
        font-size: 12px;
    }

    .home-featured-news-card-title {
        margin-right: 56px;
        font-size: 22px;
    }

    .home-featured-news-date {
        font-size: 13px;
    }

    .home-featured-news-more {
        right: 16px;
        bottom: 15px;
        width: 42px;
        height: 42px;
    }

    .home-featured-news-carousel .owl-wrapper-outer {
        padding-bottom: 10px;
    }

    .home-featured-news-carousel .owl-buttons {
        position: static;
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-bottom: 12px;
        transform: none;
    }

    .home-featured-news-carousel .owl-controls .owl-buttons .owl-prev,
    .home-featured-news-carousel .owl-controls .owl-buttons .owl-next {
        float: none;
        width: 40px !important;
        height: 40px !important;
    }

    .home-featured-news-carousel .owl-controls .owl-buttons .owl-prev:before,
    .home-featured-news-carousel .owl-controls .owl-buttons .owl-next:before {
        font-size: 22px;
    }

    .home-featured-news-carousel .owl-pagination {
        gap: 8px;
        margin-top: 8px;
    }

    .home-featured-news-carousel .owl-controls .owl-page span,
    .home-featured-news-carousel.owl-theme .owl-controls .owl-page span {
        width: 38px !important;
    }
}
