:root {
    --color-blue: #0080ff;
    --color-text: #155d69;
}

.gp-overview-container {
    max-width: 900px;
    margin: 40px auto;
    font-family: sans-serif;
}

.gp-cat-name {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 40px;
}

.gp-entity-list {
    list-style: none;
    padding: 0;
}

.gp-entity-list li a {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.2s;
}

.gp-entity-list li a:hover {
    color: var(--color-blue);
}

.gp-entity-list li a span {
    opacity: 0.3;
}

/* Glavni kontejner za celu sekciju entiteta */
.gp-entity-block {
    background: #fff;
    padding: 30px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin: 40px auto;
}

/* Naslovi unutar sekcije */
.gp-entity-block h2 {
    color: var(--color-text);
    border-bottom: 2px solid var(--color-blue);
    padding-bottom: 10px;
    margin-top: 0;
}

/* Stil za tabelu (Definition List) */
.gp-facts-list {
    background: #f9f9f9;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 200px 1fr; /* Prva kolona za termine, druga za vrednosti */
    gap: 12px 20px;
    margin: 20px 0;
}

/* Stil za Termine (dt) */
.gp-facts-list dt {
    font-weight: bold;
    color: var(--color-text);
    border-bottom: 1px solid #eaeaea; /* Blaga linija između redova */
    padding-bottom: 8px;
}

/* Stil za Vrednosti (dd) */
.gp-facts-list dd {
    margin: 0;
    color: var(--color-text);
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 8px;
}

/* Uklanjanje donje linije na poslednjem redu */
.gp-facts-list dt:last-of-type,
.gp-facts-list dd:last-of-type {
    border-bottom: none;
}

/* Responzivnost za mobilne uređaje */
@media (max-width: 600px) {
    .gp-facts-list {
        grid-template-columns: 1fr;
    }
    .gp-facts-list dt {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Container & Info Box */
.gp-single-wrapper, .gp-overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gp-info-box {
    margin-bottom: 40px;
    padding: 25px;
    background: #f9f9f9;
    border-left: 4px solid var(--color-blue);
    border-radius: 4px;
    color: #111;
}

/* .gp-info-box a {
    color: var(--color-blue);
} */

.gp-info-box h2 { margin-top: 0; font-size: 1.5rem; }

.gp-info-box p:not(:last-child) { margin-bottom: 10px; }

.gp-overview-intro h1 {
    color: var(--color-text);
    margin-bottom: 0;
}

.gp-overview-intro p {
    color: var(--color-text);
}

/* Header & Typography */
.gp-main-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.gp-intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* Stats (Overview) */
.gp-stats-container {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 30px 0 50px;
    border: 1px solid #f9f9f9;
}

.gp-stat-num {
    font-size: 48px;
    font-weight: bold;
    color: var(--color-blue);
}

.gp-stat-label {
    color: var(--color-text);
    font-size: 14px;
}

/* Categories & Lists (Overview) */
.gp-cat-title {
    text-transform: uppercase;
    font-size: 22px;
    color: #155d69;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.gp-cat-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.gp-list-item {
    background-color: #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    width: calc(33.33% - 20px);
    padding: 20px;
    aspect-ratio: 2 / 1;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    text-decoration: none;
    color: #111;
    transition: all ease .2s;
}

@media (max-width: 960px) {
    .gp-list-item {
        width: 100%;
    }
}

.gp-list-item:hover {
    text-decoration: none;
    color: var(--color-blue);
}

.gp-list-item h3 {
    transition: all ease .2s;
}

/* .gp-list-item:hover h3 {
    color: var(--color-blue);
} */

.gp-item-content {
    width: 100%;
}

.gp-list-item h3 {
    margin: 0;
    font-size: 1.3rem;
}

/* Facts & Aussagen (Single) */
.gp-facts-section,
.gp-aussagen-section {
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 30px;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    background: #f9f9f9;
}

.gp-aussagen-section h3 {
    margin-bottom: 10px;
}

.gp-aussagen-section p {
    color: black;
}

.gp-aussagen-section a {
    color: var(--color-blue);
}

.gp-section-title {
    border-bottom: 2px solid var(--color-text);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--color-text);
    font-size: 1.6rem;
}

.gp-aussage-item {
    padding: 8px 0 20px;
}

.gp-aussage-item:last-child {
    padding: 8px 0 0;
}

.gp-aussage-num {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 6px;
    /* color: var(--color-text); */
}

.gp-facts-list {
    background: #f9f9f9;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 10px;
    color: var(--color-text);
}

.gp-facts-list dt {
    font-weight: bold;
    border-bottom: 1px solid var(--color-text);
    padding: 8px 0;
}

.gp-facts-list dd {
    margin: 0;
    border-bottom: 1px solid var(--color-text);
    padding: 8px 0;
}


/* Content Blocks (Single) */
.gp-block {
    margin-bottom: 40px;
}

.gp-block p,
.gp-block li {
    color: var(--color-text);
}

.gp-block p {
    margin-bottom: 20px;
}

.gp-block ul {
    list-style: none;
    padding-left: 30px;
}

.gp-block h2 {
    font-size: 1.8rem;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.gp-block-content {
    color: var(--color-text);
    line-height: 1.6;
}

/* Footer & Dates */
.gp-footer {
    margin-top: 50px;
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-text);
}

.gp-footer h2,
.gp-footer h3 {
    font-size: 1.8rem;
    /* margin-bottom: 15px; */
    margin-bottom: 0;
}

#timestamps dl {
    display: flex;
    flex-direction: column;
    gap: 0;
    color: var(--color-text);
    font-size: 0.95rem;
    margin: 0;
}

#timestamps dt {
    display: block;
    color: var(--color-text);
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    margin-top: 15px;
}

#timestamps dd {
    font-size: 15px;
    margin: 0;
    color: var(--color-text-muted, #888);
}

#timestamps time {
    font-style: normal;
    color: var(--color-text);
}
.gp-copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border, #e0e0e0);
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted, #888);
}

.gp-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 8px;
    margin-bottom: 30px;
}

.gp-footer-links a {
    color: var(--color-text-muted, #888);
    text-decoration: none;
    font-size: 0.85rem;
}

.gp-footer-links a:hover {
    color: var(--color-blue);
}

.gp-footer-note {
    font-size: 0.85rem;
    color: var(--color-text-muted, #888);
    margin-bottom: 12px;
    line-height: 1.6;
}

.gp-footer-note a {
    color: var(--color-text-muted, #888);
    text-decoration: underline;
}

.gp-footer-note a:hover {
    color: var(--color-blue);
}

.gp-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--color-text-muted, #888);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s, border-color 0.2s;
}

.gp-footer-btn:hover {
    color: var(--color-blue);
}

.gp-footer-btn img {
    height: 20px;
    width: auto;
}

/* ── Custom Header ── */
.gp-header-main {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}

.gp-header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.gp-header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.gp-header-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.gp-header-title {
    color: var(--color-text);
    font-size: 20px;
}

.gp-header-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gp-header-site-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.gp-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.gp-lang-switcher a {
    color: var(--color-text-muted, #888);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.gp-lang-switcher a:hover,
.gp-lang-switcher a.active {
    color: var(--color-text);
}

.gp-lang-sep {
    color: var(--color-border, #e0e0e0);
}

.gp-list-item,
.gp-list-item h3,
.gp-list-item p {
    color: #155d69;
    line-height: 28px;
}

.gp-stat-label,
.gp-overview-intro h1,
.gp-overview-intro p,
.gp-info-box p {
    color: #155d69;
}

.post-type-archive-grounding .currently-on,
.post-type-archive-grounding .pagination-wrapper {
    display: none !important;
}