/* Geologica */
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/Geologica-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/Geologica-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/Geologica-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/Geologica-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/Geologica-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/Geologica-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/Geologica-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/Geologica-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/Geologica-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
    --bs-font-sans-serif: 'Geologica', sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-primary: #132F4D;
    --bs-primary-rgb: 19, 47, 77;
    --bs-secondary: #9CB523;
    --bs-pagination-color: #132F4D;
    --bs-pagination-bg: #ffffff;
    --bs-pagination-border-color: #dee2e6;
    --bs-pagination-hover-color: #ffffff;
    --bs-pagination-hover-bg: #9CB523;
    --bs-pagination-hover-border-color: #9CB523;
    --bs-pagination-focus-color: #ffffff;
    --bs-pagination-focus-bg: #9CB523;
    --bs-pagination-focus-border-color: #9CB523;
    --bs-pagination-active-color: #ffffff;
    --bs-pagination-active-bg: #9CB523;
    --bs-pagination-active-border-color: #9CB523;
    --bs-pagination-disabled-color: #6c757d;
    --bs-pagination-disabled-bg: #ffffff;
    --bs-pagination-disabled-border-color: #dee2e6;
    --bs-secondary-rgb: 156, 181, 35;
    --bs-secondary-color-rgb: 156, 181, 35;
    --bs-heading-color: var(--bs-primary);
    --bs-link-color-rgb: var(--bs-primary);
    --bs-breadcrumb-font-size: 12px;
    --bs-link-hover-color: var(--bs-primary);
    --bs-link-hover-color-rgb: var(--bs-primary-rgb);
    background-color: #ffffff;
    padding-top: 163px;
    font-weight: 300;
}

html {
    scroll-padding-top: 180px;
}

:target {
    scroll-margin-top: 180px;
}

.navbar {
    box-shadow: 0 4px 23px 0 #0000001A;
    background: #fff !important;
}

.sidebar-toggler {
    background: var(--bs-primary);
    border-radius: 0;
    position: absolute;
    right: 0;
    top: 0;
    padding: 22px 34px;
}

.sidebar-toggler:hover,
.sidebar-toggler:active {
    background: var(--bs-secondary) !important;
}

.breadcrumb {
    position: absolute;
    top: 110px;
    left: 450px;
}

@media (max-width: 992px) {
    .breadcrumb {
        position: relative;
        top: auto;
        left: auto;
        margin: 10px 15px 0 15px !important;
    }
}

.navbar a {
    font-weight: bold;
    color: var(--bs-primary);
}

.navbar-toggler-icon {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-logo {
    position: absolute;
    left: 40px;
    top: 0;
    background: #fff;
    padding: 40px;
    z-index: 1031;
}

.main-logo-shadow {
    width: 364px;
    height: 163px;
    position: fixed;
    left: 40px;
    top: 0;
    z-index: 1029;
    box-shadow: 0 4px 23px 0 #0000001A;
}

@media (max-width: 992px) {
    .main-logo {
        left: 0;
        padding: 14px;
    }

    .main-logo img {
        height: 44px;
    }

    .navbar {
        height: 72px;
    }

    .main-logo-shadow {
        display: none;
    }

    body {
        padding-top: 72px;
    }
}

h1 {
    font-weight: 800;
}

h1 .heading-border,
.with-border .heading-border {
    display: inline-block;
    padding-bottom: 15px;
    border-bottom: 7px solid var(--bs-secondary);
}

.component-fast-links-panel {
    border: 1px solid #CCCCCC;
}

.component-fast-links-panel img {
    width: 60px;
}


.section-content-wrapper > h2:first-child,
.section-content-wrapper > h3:first-child,
.section-content-wrapper > h4:first-child,
.section-content-wrapper > .my-5:first-child,
.section-content-wrapper > .margin-component:first-child,
.section-content-wrapper > .margin-heading:first-child,
.side-panel > h2:first-child,
.side-panel > h3:first-child,
.side-panel > h4:first-child,
.side-panel > .my-5:first-child,
.side-panel > .margin-component:first-child,
.side-panel > .margin-heading:first-child {
    margin-top: 0 !important;
}

.section-content-wrapper > .my-5:last-child,
.section-content-wrapper > .margin-component:last-child,
.side-panel > .my-5:last-child,
.side-panel > .margin-component:last-child,
.side-panel > .margin-heading:last-child {
    margin-bottom: 0 !important;
}

.section-content-wrapper > h2:last-child,
.section-content-wrapper > h3:last-child,
.section-content-wrapper > h4:last-child,
.section-content-wrapper > .my-5:last-child,
.side-panel > h2:last-child,
.side-panel > h3:last-child,
.side-panel > h4:last-child,
.side-panel > .my-5:last-child {
    margin-bottom: 0 !important;
}

.margin-component {
    margin-bottom: 3rem;
    margin-top: 1.5rem;
}

.margin-heading,
.section-content h2, .section-content h3, .section-content h4, .section-content h5, .section-content h6,
.side-panel h2, .side-panel h3, .side-panel h4, .side-panel h5, .side-panel h6
{
    margin-top: 3rem;
    margin-bottom: 1.5rem;

}

.column-karta-s-argumenty {
    max-width: 400px;
    border: 1px solid #CCCCCC;
    border-radius: 10px;

    @media (min-width: 768px) {
        flex: 1 1 calc((100% - 6rem) / 3);
    }
}

.pas-karet-4-columns .column-karta-s-argumenty {
    @media (min-width: 768px) {
        flex: 1 1 calc((100% - 9rem) / 4);
    }
}

.column-karta-s-argumenty .button-style-1 {
    width: 85%;
}

.column-karta-s-argumenty a {
    display: inline-block;
    width: 100%;
}

.column-karta-s-argumenty img {
    width: 100px;
    max-height: 150px;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

.pas-karet-4-columns .column-karta-s-argumenty img {
    width: 80px;
}

.column-dlazdice:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transform: scale(1.025);
}

.column-dlazdice {
    flex: 1 1 calc((100% - 6rem) / 4);
    max-width: 400px;
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    padding-bottom: 15px;
    text-decoration: none;
    transition: all .3s ease;
}

.column-dlazdice img {
    width: 100px;
    max-height: 150px;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

footer {
    line-height: 190%;
}

.footer-upper .delimiter {
    display: block;
    background: var(--bs-secondary);
    height: 2px;
    margin: 20px 0;
    width: 40px;
}

footer ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

footer .colored-footer {
    background: var(--bs-primary);
    color: #fff;
}

footer .colored-footer ul {
    list-style-type: none;
}

footer .colored-footer li {
    display: inline-block;
    padding: 3px 6px;
}

footer .colored-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-upper a {
    text-decoration: none;
}

.footer-upper a:hover {
    text-decoration: underline;
}

.footer-upper li {
    padding-left: 0;
    margin-left: 0;
}

.rozjizdeci-obsah-nadpis h4 {
    color: var(--bs-primary);
    margin: 0 !important;
}

.rozjizdeci-obsah-nadpis-style-2 h4 {
    color: #fff;
}

.rozjizdeci-obsah-nadpis {
    transition: all .3s ease;
    padding: 15px 78px 15px 0;
    border-top: 1px solid #ccc;
    position: relative;
}

.rozjizdeci-obsah-nadpis-style-2 {
    padding-left: 20px;
}

.rozjizdeci-obsahy-component {
    border-bottom: 1px solid #ccc;
}

.rozjizdeci-obsah-nadpis i {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 58px;
    right: 0;
    top: 0;
    background: var(--bs-primary);
    color: #fff;
}

.rozjizdeci-obsah-nadpis-style-2.collapsed {
    background: var(--bs-primary);
}

.rozjizdeci-obsah-nadpis-style-2 {
    margin-top: 5px;
}

.rozjizdeci-obsah-nadpis-style-2 {
    background: var(--bs-secondary);
    color: #fff;
    border: 0 !important;
}

.vyzva-table {

}

.vyzva-table-row {
    border-bottom: 1px solid #ccc;
    padding: 14px 0;
}

.vyzva-table-row *:last-child {
    margin-bottom: 0;
}

.rozjizdeci-obsah-content {
    padding: 15px 0 30px 0;
}

.rozjizdeci-obsah-content > *:last-child {
    margin-bottom: 0 !important;
}

.rozjizdeci-obsah-content .margin-component {
    margin: 0 !important;
}

.rozjizdeci-obsah-content * + .margin-component {
    margin-top: 30px !important;
}

.home-background-image {
    background: url("../images/home-background-n0c3lFi.jpg") center bottom no-repeat;
    min-height: 650px;
    background-size: cover;
    padding-bottom: 350px;
}

.znaky-obci {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;;
}

.znaky-obci li {
    width: 99px;
    text-align: center;
    font-size: 12px;
}

.znaky-obci img {
    max-width: 100%;
    margin-bottom: 10px;
}

.homepage-karty .home-info-title {
    color: var(--bs-primary);
    font-weight: bold;
    font-size: 40px;
    display: inline-block;
    margin-bottom: 15px;

    @media (max-width: 992px) {
        margin-bottom: 0;
        font-size: 30px;
    }
}

.homepage-karty .home-info-text {
    color: var(--bs-secondary);
    font-size: 20px;
}

.home-info-text p {
    margin-bottom: 0;
}

.homepage-karty > div {
    @media (max-width: 992px) {
        width: 50%;
    }

    @media (max-width: 576px) {
        width: 100%;
    }
}

.button-style-1 a, button.button-style-1, a.button-style-1 {
    text-decoration: none;
    background: var(--bs-primary);
    padding: 15px 27px;
    color: #fff;
    border: 0;
    border-radius: 7px;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
}

.button-style-1.smaller a, button.button-style-1.smaller, a.button-style-1.smaller {
    padding: 8px 15px;
}

.button-style-1 a:hover, button.button-style-1:hover, a.button-style-1:hover,
.button-style-1.active a, button.button-style-1.active, a.button-style-1.active {
    background: var(--bs-secondary);
}


.button-style-filter a, button.button-style-filter, a.button-style-filter {
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid var(--bs-primary);
    background: #fff;
    color: var(--bs-primary);
    border-radius: 7px;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;

    @media (max-width: 992px) {
        font-size: 12px;
        padding: 5px 9px;
    }
}

.button-style-filter.button-style-filter-inverse {
    background: var(--bs-primary);
    color: #fff;
}

.button-style-filter.button-style-filter-inverse:hover {
    background: #fff;
    color: var(--bs-primary);
}

.button-style-filter:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    color: #fff;
}

.button-style-filter.active {
    background: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
    color: #fff;
}

.button-style-filter.active:hover {
    background: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.carousel {
    margin-top: -107px;
}

.carousel-item {
    height: 600px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: #fff;
}

.carousel-background-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;

    @media (min-width: 992px) {
        right: 50%;
        backdrop-filter: blur(17px);
        -webkit-backdrop-filter: blur(17px);
    }
}

.carousel {
    background: var(--bs-primary);
}

.homepage-carousel-navs-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
    z-index: 10;
}

.homepage-carousel-navs {
    background: #214469;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.homepage-carousel-navs button {
    border: 0;
    font-size: 30px;
    transition: all 0.3s ease;
    color: #fff;
    background: transparent;
    padding: 5px 15px;
}

.homepage-carousel-navs button.disabled {
    opacity: 0.4;
}

.homepage-carousel-navs .divider {
    display: inline-block;
    width: 1px;
    height: 30px;
    background: #666;
    margin: 0 5px;
}

.homepage-carousel-navs-inner {
    background: var(--bs-primary);
    height: 60px;
    line-height: 60px;
    padding: 0 24px;
    color: #fff;
    font-size: 20px;
}

.homepage-carousel-navs-inner a,
.homepage-carousel-navs-inner a:hover {
    color: #fff;
}

.slide-title {
    font-size: 40px;
    font-weight: 900;
}

.slide-heading {
    font-size: 28px;
    font-weight: 800;
}

.kalendar-akci {
    border: 1px solid #ccc;
    border-radius: 15px;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

a:hover > .kalendar-akci {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transform: scale(1.025);
}

.kalendar-akci-date {
    position: absolute;
    display: block;
    width: 80px;
    padding: 10px 5px;
    left: 20px;
    top: 20px;
    background: rgba(255, 255, 255, .8);
    color: var(--bs-primary);
    border-radius: 8px;
    text-align: center;
}

.kalendar-akci-time {
    position: absolute;
    display: block;
    width: 80px;
    padding: 15px 5px;
    left: 20px;
    top: 105px;
    font-size: 13px;
    background: rgba(156, 181, 35, .8);
    color: #fff;
    border-radius: 8px;
    text-align: center;
}

.kalendar-akci-date .day-number {
    display: block;
    font-size: 22px;
    font-weight: 800;
}

.kalendar-akci-date .month-name {
    font-size: 13px;
    text-transform: uppercase;
}

.kalendar-akci-image img {
    width: 100%;
    height: 220px !important;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 15px 15px 0 0;
}

.kalendar-akci-description {

}

.kalendar-akci-typ {
    color: var(--bs-secondary);
}

.kalendar-akci-typ strong {
    color: var(--bs-primary);
}

.kalendar-akci.top-event {
    border: 3px solid var(--bs-secondary);
}

.kalendar-akci-top-badge {
    position: absolute;
    display: block;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: var(--bs-secondary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    z-index: 10;
}


.actuality-panel > a {
    display: block;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.actuality-panel > a + a {
    margin-top: 15px;
}

.actuality-panel > a:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transform: scale(1.025);
}

.collapse-toggle:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sitemap {
    margin-top: 2rem;
}

.sitemap-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.sitemap-list--nested {
    padding-left: 2rem;
    margin-top: 0.5rem;
    border-left: 2px solid var(--bs-primary-text-emphasis);
}

.sitemap-item {
    margin-bottom: 0.75rem;
    position: relative;
}

.sitemap-item::before {
    content: "▶";
    color: var(--bs-primary);
    font-size: 0.8rem;
    margin-right: 0.5rem;
    font-weight: bold;
}

.sitemap-list--nested .sitemap-item::before {
    content: "▸";
    color: var(--bs-primary-text-emphasis);
}

.sitemap-link {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.sitemap-link:hover {
    color: var(--bs-secondary);
    text-decoration: underline;
}

.sitemap-list--nested .sitemap-link {
    font-size: 1rem;
    font-weight: normal;
}

a.button-style-2, .button-style-2 a, button.button-style-2, .button-style-2 button {
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: bold;
    color: #146085;
}


.actuality-item {
    border: 1px solid #ccc;
    border-radius: 15px;
    position: relative;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
}

a.actuality-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transform: scale(1.025);
}

.actuality-item time {
    font-size: 13px;
}

.actuality-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 15px 15px 0 0;
}

img.placeholder-image {
    object-fit: contain !important;
    background: #fff;
    padding: 15px 25%;
}

.tag {
    display: inline-block;
    background: #ccc;
    color: #333;
    font-size: 11px;
    font-weight: bold;
    border-radius: 5px;
    padding: 5px 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

a.tag:hover, .tag.active, .tag.active-tag, .tag.active_tag {
    background: var(--bs-secondary);
}

.project-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 15px 15px 0 0;
}

.project-item {
    border: 1px solid #ccc;
    border-radius: 15px;
    position: relative;
    display: block;
    transition: all 0.3s ease;
}

a.project-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transform: scale(1.025);
}

.btn-project {
    border: 1px solid #ccc;
    color: #333;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
}

.btn-project.active, .btn-project:hover {
    border: 1px solid var(--bs-secondary);
    background: var(--bs-secondary);
    color: #fff;
}

.form-select {
    border-color: #ccc;
    padding: 14px 12px;
    color: #666;
}

.form-select-sm {
    @media (max-width: 992px) {
        padding: 8px 12px;
    }
}

.project-grid img {
    max-width: 25px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid #ccc;
    border-radius: 10px;
}

.project-grid .cell {
    border: none;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0.75rem;
    box-sizing: border-box;
}

/* Remove right border from right column (even children) */
.project-grid .cell:nth-child(even) {
    border-right: none;
}

/* Remove bottom border from last row */
.project-grid .cell:last-child {
    border-bottom: none;
}

/* If last child is even (full last row with 2 cells), also remove bottom from previous cell */
.project-grid:has(.cell:last-child:nth-child(even)) .cell:nth-last-child(2) {
    border-bottom: none;
}

/* Horizontal Scrolling Carousel */
.aktuality-carousel {
    position: relative;
}

.carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 10px; /* Prevent cut-off shadows */
    margin: -10px -10px 0 -10px;
}

.navbar-nav.w-100 {
    margin-right: 120px;
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-item-wrapper {
    flex: 0 0 calc((100% - 3rem) / 3);
    width: calc((100% - 3rem) / 3);
    min-width: 250px;
}

.carousel-nav-arrows {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.carousel-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.carousel-nav-arrow:hover {
    background: var(--bs-secondary);
    transform: scale(1.1);
}

.carousel-nav-arrow:disabled,
.carousel-nav-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-nav-arrow:disabled:hover,
.carousel-nav-arrow.disabled:hover {
    background: var(--bs-primary);
    transform: none;
}

.carousel-nav-arrow i {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .carousel-item-wrapper {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        width: calc((100% - 1.5rem) / 2);
        min-width: 250px;
    }
}

@media (max-width: 576px) {
    .carousel-item-wrapper {
        flex: 0 0 calc(100% - 0rem);
        width: calc(100% - 0rem);
        min-width: 250px;
    }
    
    .carousel-container {
        gap: 1rem;
    }
}

.aktuality-carousel-nav-arrows {
    display: flex;
    justify-content: end;
    height: 40px;
    align-items: center;
}

.aktuality-carousel-nav-arrows button {
    border: 0;
    background: #fff;
    font-size: 30px;
    transition: all 0.3s ease;
}

.aktuality-carousel-nav-arrows button.disabled {
    opacity: 0.4;
}

.aktuality-carousel-nav-arrows .divider {
    display: inline-block;
    width: 1px;
    height: 30px;
    background: #ccc;
    margin: 0 5px;
}

.alert-component {
    background: #17375F;
    color: #fff;
    border-radius: 15px;
    font-size: 16px;
}

.alert-component p:last-child {
    margin-bottom: 0;
}

.alert-component a {
    color: var(--bs-secondary);
    font-weight: bold;
}

footer .nav-link {
    padding-left: 0 !important;
}

.footer-upper {
    background: #ebebeb;
}

.hr-dotted {
    border-style: dashed !important;
}

.margin-heading,
.text-content h2,
.text-content h3,
.text-content h4,
.text-content h5 {
    font-weight: 700 !important;
}

.gray-cell {
    background: #ebebeb;
}

th {
    color: var(--bs-primary) !important;
}

b, strong {
    font-weight: 600;
}

/* Pagination styling */
.pagination .page-link {
    color: #132F4D !important;
    background-color: #ffffff !important;
    border-color: #dee2e6 !important;
}

.pagination .page-link:hover {
    color: #ffffff !important;
    background-color: #9CB523 !important;
    border-color: #9CB523 !important;
}

.pagination .page-link:focus {
    color: #ffffff !important;
    background-color: #9CB523 !important;
    border-color: #9CB523 !important;
    box-shadow: 0 0 0 0.25rem rgba(156, 181, 35, 0.25) !important;
}

.pagination .page-item.active .page-link {
    color: #ffffff !important;
    background-color: #9CB523 !important;
    border-color: #9CB523 !important;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d !important;
    background-color: #ffffff !important;
    border-color: #dee2e6 !important;
}

.actuality-detail {
    border: 1px solid #ccc;
}

.offcanvas {
    max-width: 90% !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(7px);
    background: rgba(255, 255, 255, .85);
}

/* Table Scrolling Enhancements */
.table-component .table-scroll-wrapper {
    position: relative;
}

.table-component .table-responsive {
    overflow-x: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #9CB523 #f1f1f1; /* Firefox */
}

/* Force scrollbar to always be visible on webkit browsers */
.table-component .table-responsive.table-scrollable {
    /* Force scrollbar to always show on macOS */
    overflow-x: scroll !important;
}

.table-component .table-responsive.table-scrollable::-webkit-scrollbar {
    height: 12px;
    background-color: #f1f1f1;
    border-radius: 6px;
    -webkit-appearance: none;
}

.table-component .table-responsive.table-scrollable::-webkit-scrollbar:horizontal {
    height: 12px;
}

.table-component .table-responsive.table-scrollable::-webkit-scrollbar-thumb {
    background-color: #9CB523;
    border-radius: 6px;
    border: 2px solid #f1f1f1;
    -webkit-appearance: none;
}

.table-component .table-responsive.table-scrollable::-webkit-scrollbar-thumb:hover {
    background-color: #132F4D;
}

/* Force scrollbar to always show */
.table-component .table-responsive.table-scrollable::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 6px;
    -webkit-appearance: none;
}

/* Scroll indicators with shadows on wrapper */
.table-component .table-scroll-wrapper.table-scrollable::before,
.table-component .table-scroll-wrapper.table-scrollable::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* Left shadow indicator */
.table-component .table-scroll-wrapper.table-scrollable::before {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, transparent 100%);
    opacity: 1; /* Show by default */
}

/* Right shadow indicator */
.table-component .table-scroll-wrapper.table-scrollable::after {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.15) 0%, transparent 100%);
    opacity: 1; /* Show by default */
}

/* Hide left shadow only when at start */
.table-component .table-scroll-wrapper.table-scrollable.scroll-at-start::before {
    opacity: 0;
}

/* Hide right shadow only when at end */
.table-component .table-scroll-wrapper.table-scrollable.scroll-at-end::after {
    opacity: 0;
}

/* Mobile enhancements */
@media (max-width: 768px) {
    .table-component .table-scroll-wrapper.table-scrollable::before,
    .table-component .table-scroll-wrapper.table-scrollable::after {
        width: 15px;
        /* Use same colors as desktop */
    }

    .table-component .table-scroll-wrapper.table-scrollable::before {
        background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, transparent 100%);
    }

    .table-component .table-scroll-wrapper.table-scrollable::after {
        background: linear-gradient(to left, rgba(0,0,0,0.15) 0%, transparent 100%);
    }

    /* Force scrollbar to always be visible on mobile */
    .table-component .table-responsive.table-scrollable::-webkit-scrollbar {
        height: 8px;
    }

    .table-component .table-responsive {
        scrollbar-width: auto; /* Firefox - show default width on mobile */
    }
}

th, td {
    font-size: 14px;
}
