p {
    padding-top: 10px;
    padding-bottom: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding-top: 20px;
}

.child-pages-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #277c70;
    border-radius: 5px;
}

.child-pages-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.child-pages-list {
    list-style: none;
    padding: 0;
}

.child-pages-list li {
    font-size: 16px;
    margin-bottom: 8px;
}

.child-pages-list li i {
    color: #001d23;
    margin-right: 5px;
}

.post-navigation {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    padding: 10px 15px;
    background: #277c70;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: #21564e;
}

.nav-links i {
    margin-right: 5px;
}

.post-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.post-navigation ul li a {
    color: white;
}

.post-navigation ul li a:hover {
    color: white;
    text-decoration: none;
}

.main-menu-wrapper__logo {
    padding-top: 24px;
    padding-bottom: 24px;

}

.fa-arrow-right:before {
    padding-left: 5px;
}

.wp-element-caption {
    font-size: 14px;
    text-align: center;
    line-height: 18px;
}

.blog-details__left a {
    color: #277c70;
}

.blog-details__left a:hover {
    color: #277c70;
    text-decoration: underline;
}




.page-header {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.page-header__image-wrapper {
    width: 100%;
    height: 400px;
    /* Možeš prilagoditi visinu */
}

.page-header__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Osigurava da slika popuni prostor */
    display: block;
}

.page-header__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 100%;
}

/* Overlay efekat */
.page-header__image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Tamniji overlay - promeni vrednost po potrebi */
}

/* Centriranje teksta */
.page-header__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 100%;
    z-index: 2;
}

.page-header__inner h2 {
    padding: 0 20px 0 20px;
}

.children-list {
    list-style: none;
    /* Uklanja podrazumevane tačkice */
    padding-left: 0;
    /* Poravnava listu levo */
}

.children-list li {
    padding: 8px 0;
    /* Povećava vertikalni razmak između stavki */
    font-size: 18px;
    /* Čini tekst čitljivijim */
    display: flex;
    align-items: center;
}

.children-list li i {
    color: #277c70;
    /* Plava boja ikone (Bootstrap primarna boja) */
    margin-right: 8px;
    /* Razmak između ikone i teksta */
    font-size: 16px;
}

.children-list li a {
    text-decoration: none;
    /* Uklanja podvlačenje linkova */
    color: #333;
    /* Neutralna boja teksta */
    font-weight: 400;
}

.children-list li a:hover {
    color: #277c70;
    /* Tamnija plava pri hover-u */
}

.blog-three__content {
    padding: 0 30px 0;
}

.blog-three__title {
    margin-top: 0;
}

.blog-three__content.galerija {
    min-height: 150px;
    padding: 0 30px 0;
}

.tabela_rodoslovi_container {
    overflow-x: auto;
    width: 100%;
    height: 70vh;

}

.tabela_rodoslovi {
    border-collapse: collapse;
    /* Spajanje ivica ćelija */
    width: 100%;
    /* Opciona širina */
    font-size: 15px;
}

.sticky_table_element_top {
    position: sticky;
    top: 0;
    z-index: 2;
}

.sticky_table_element {
    position: sticky;
    top: 40px;
}

.sticky_table_element_top td {
    background-color: lightgray;
}

.sticky_table_element_top td p {
    margin: 0;
}

td {
    vertical-align: top;
    /* Poravnanje sadržaja ćelije na vrh */
}

.tabela_rodoslovi td,
th {
    border: 1px solid rgb(66, 65, 65);
    /* Crna ivica oko svake ćelije */
    padding: 6px;
    /* Razmak unutar ćelija */
    text-align: left;
    /* Centriran tekst */
}

.search-results-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-group {
    margin-bottom: 40px;
}

.search-group h2 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.search-items li {
    margin-bottom: 15px;
}

.timeline li::before {
    content: "•";
    color: #6c757d;
    margin-right: 0.5rem;
}

/* Боја за Bootstrap иконице */
.bi {
    color: #ff6f0f;
}

.card {
    justify-content: space-between;
}

/* Боја за иконице у картицама/насловима */
.card .bi {
    color: #ff6f0f;
}

/* Боја дугмади (outline верзије) */
.btn-outline-primary {
    color: #ff6f0f;
    border-color: #ff6f0f;
}

.btn-outline-primary:hover {
    background-color: #ff6f0f;
    color: #fff;
    border-color: #ff6f0f;
}

/* Боја за линкове унутар картица */
.card a.btn-link {
    color: #ff6f0f;
}

.card a.btn-link:hover {
    text-decoration: underline;
    color: #cc580c;
    /* тамнија нијанса при hover-у */
}

.page-header__inner h1 {
    font-size: 50px;
    color: var(--sopot-white);
    line-height: 60px;
    font-weight: 700;
    margin-bottom: 11px;
}

.blog-page-V-1 {
    padding: 0;
}

.yt_front {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.search-popup__content p.search-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 15px 10px 2.5rem;
    margin-top: 15px;
    border-left: 3px solid #ffa500;
    /* narandžasti akcenat */
    border-radius: 4px;
    position: relative;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input[name="s"]:focus+.search-hint {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.search-hint-results {
    font-size: 0.95rem;
    color: #555;
    background-color: #f8f9fa;
    padding: 12px 16px;
    margin-bottom: 30px;
    border-left: 3px solid #ffa500;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-no-resultss {

    background-color: #fffdf2;
    border: 1px solid #ffe9b5;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.search-no-results .emoji {
    font-size: 3rem;
    margin-bottom: 15px;
}

.resnik-sitemap {
    padding: 2rem 1rem;
}

.sitemap ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.sitemap ul ul {
    padding-left: 1.5rem;
}

.sitemap li {
    margin: 0.25rem 0;
}

.sitemap a {
    text-decoration: none;
}

.sitemap h3 {
    margin-top: 2rem;
    font-weight: 600;
}

.pagination .page-item .page-link {
    border: 1px solid #ddd;
    color: #277c70;
    padding: 0.5rem 0.75rem;
    margin: 0 2px;
    text-decoration: none;
    border-radius: 4px;
}

.pagination .page-item.active .page-link {
    background-color: #277c70;
    color: #fff;
    border-color: #277c70;
}

.btn-primary {
    background-color: #277c70;
    border-color: #277c70;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #277c70;
    border-color: #277c70;
}

.form-check-input:checked {
    background-color: #277c70;
    border-color: #277c70;
}
.mt-4 {
    margin-bottom: 1.5rem !important;
}

@media screen and (min-width: 991px) {
    .main-menu .language-switcher {
        display: none;
    }
}
