/* Hover */
.mod-articles.mod-list li a:hover {
    background: #28a745; /* zelená */
    color: #fff;
    transition: background 0.5s ease;
    border-radius:10px;
}

/* Aktivní položka */
.mod-articles.mod-list li a.active {
    background: #28a745;
    color: #fff;
    border-radius:10px;
}

/* Volitelné - aby odkaz vyplnil celou šířku */
.mod-articles.mod-list li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    border-radius:10px;
}
#sp-left .sp-module ul > li > a,
#sp-right .sp-module ul > li > a {
    text-align: center;
    line-height: 46px;
}
/* Mega menu */
.sp-dropdown.sp-dropdown-mega {
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    overflow: hidden;
}

/* Odkazy */
.sp-dropdown .sp-mega-group li > a {
    display: block;
    padding: 10px 15px 5px 15px;
    color: #333;
    text-decoration: none;
    transition: all .2s ease;
    border-radius: 4px;
}

/* Hover */
.sp-dropdown .sp-mega-group li > a:hover {
    background: #28a745;
    color: #fff;
    padding-left: 20px;
}

/* Aktivní stránka */
.sp-dropdown .sp-mega-group li > a[aria-current="page"] {
    background: #28a745;
    color: #fff;
    font-weight: 600;
}

/* Aktivní stránka při hover */
.sp-dropdown .sp-mega-group li > a[aria-current="page"]:hover {
    background: #218838;
}

/* Mezera mezi položkami */
.sp-dropdown .sp-mega-group li {
    margin-bottom: 4px;
}
p a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
#sp-right .sp-module .sp-module-title {
    margin: 0 0 0px !important;
    padding-bottom: 10px !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #f3f3f3 !important;
    text-align: center !important;
}
.article-full-image img {
    border-radius: 30px !important;
    display: block;
}
.fotogalerie,
.fotogalerie li {
    list-style: none !important;
}

/* zrušení odrážek + reset odsazení */
.fields-container {
    margin: 0;
    padding: 0;
    list-style: none;
}

.field-entry.fotogalerie {
    margin: 0;
    padding: 0;
}

/* aby obsah nebyl odsazený ani centrovaný divně */
.field-value {
    display: block;
    padding: 0;
    margin: 0;
}

/* galerie layout */
.tf-gallery-wrapper .gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    justify-content: start;
}

/* obrázky */
.tf-gallery-wrapper .gallery-items img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform .2s ease;
}

/* lehký hover efekt (volitelné) */
.tf-gallery-wrapper .gallery-items img:hover {
    transform: scale(1.03);
}

#sp-main-body {
    padding: 50px 0;
}
.px-3 {
    padding-left: 0rem !important;
}

.article-header h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.article-header h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 6px; /* větší tečky */
    margin-top: 10px;
    background-image: radial-gradient(#28a745 3px, transparent 3px);
    background-size: 14px 6px; /* rozteč teček */
    background-repeat: repeat-x;
}

.card-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
}

.section-title.centered {
    text-align: center;
}

.modern-table {
    width: 100%;
    border: none;
}

.modern-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}

.image-box img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-section {
    margin-top: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}

.contact-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: .2s;
}

.contact-card:hover {
    transform: translateY(-3px);
}

.contact-card h4 {
    margin-bottom: 10px;
    color: #28a745;
}

.sppb-addon-feature {
    height: 280px;
}