/* === HEPATOS HOME (moderna landing) === */

#hepatos-home {
    --hep-primary: #b8202c;     /* hepatos crvena */
    --hep-primary-dark: #8a1721;
    --hep-accent: #1a1a1a;       /* crna */
    --hep-accent-soft: #4a4a4a;
    --hep-bg: #faf6f6;            /* topla pozadina */
    --hep-text: #1a1a1a;
    --hep-muted: #6b6b6b;
    color: var(--hep-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

#hepatos-home .hep-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#hepatos-home a { text-decoration: none; }

/* === HERO === */
.hep-hero {
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 50%, #1a1a1a 100%);
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hep-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08) 0, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(26,26,26,0.25) 0, transparent 45%);
    pointer-events: none;
}
.hep-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 60px;
}
.hep-hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78em;
    font-weight: 600;
    background: rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.hep-hero-title {
    font-size: 3.4em;
    line-height: 1.08;
    margin: 0 0 18px;
    font-weight: 700;
    color: #fff;
}
.hep-accent { color: #ffd6a5; }
.hep-hero-sub {
    font-size: 1.18em;
    line-height: 1.55;
    margin: 0 0 32px;
    opacity: 0.92;
    max-width: 540px;
}
.hep-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hep-btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 999px;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.98em;
}
.hep-btn-primary {
    background: var(--hep-primary);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(184,32,44,0.4);
}
.hep-btn-primary:hover {
    background: var(--hep-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(184,32,44,0.5);
}
.hep-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.5);
}
.hep-btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* HERO visual - decorativni krug + ribbon */
.hep-hero-visual {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hep-hero-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,179,193,0.25), rgba(255,179,193,0.05) 60%, transparent);
    position: absolute;
    animation: hep-pulse 4s ease-in-out infinite;
}
@keyframes hep-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.08); opacity: 1; }
}
.hep-hero-ribbon {
    position: relative;
    font-size: 8em;
    color: #ffd6a5;
    text-shadow: 0 10px 30px rgba(0,0,0,0.2);
    line-height: 1;
}

/* === INFO KARTICE === */
.hep-cards {
    background: var(--hep-bg);
    padding: 60px 0 50px;
    margin-top: -40px;
    position: relative;
}
.hep-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hep-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(184,32,44,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    border-top: 4px solid var(--hep-primary);
}
.hep-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(184,32,44,0.15);
}
.hep-card-accent {
    border-top-color: var(--hep-accent);
    background: linear-gradient(165deg, #fff 0%, #fff4f6 100%);
}
.hep-card-icon { font-size: 2.6em; margin-bottom: 12px; }
.hep-card h3 {
    font-size: 1.22em;
    margin: 0 0 12px;
    color: var(--hep-primary);
    font-weight: 700;
}
.hep-card-accent h3 { color: var(--hep-accent); }
.hep-card p {
    margin: 0 0 10px;
    line-height: 1.5;
    color: var(--hep-text);
}
.hep-card-meta {
    color: var(--hep-muted);
    font-size: 0.92em;
}
.hep-card-meta a { color: var(--hep-primary); }
.hep-card-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--hep-accent) !important;
    font-weight: 600;
    font-size: 0.95em;
}

/* === VIJESTI GRID === */
.hep-news { padding: 80px 0; background: #fff; }
.hep-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 36px;
    border-bottom: 2px solid #eee;
    padding-bottom: 14px;
}
.hep-section-head h2,
.hep-section-title {
    font-size: 2em;
    margin: 0;
    color: var(--hep-primary);
    font-weight: 700;
}
.hep-link-more {
    color: var(--hep-accent) !important;
    font-weight: 600;
    font-size: 0.95em;
}

.hep-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.hep-news-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.hep-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.hep-news-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #b8202c, #1a1a1a);
    background-size: cover;
    background-position: center;
    position: relative;
}
.hep-news-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
    font-size: 1.4em;
    letter-spacing: 3px;
}
.hep-news-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.hep-news-date {
    color: var(--hep-accent);
    font-size: 0.85em;
    font-weight: 600;
}
.hep-news-title {
    font-size: 1.05em;
    line-height: 1.35;
    margin: 0;
    font-weight: 700;
}
.hep-news-title a { color: var(--hep-text); }
.hep-news-title a:hover { color: var(--hep-primary); }
.hep-news-excerpt {
    color: var(--hep-muted);
    font-size: 0.92em;
    line-height: 1.55;
    flex: 1;
}
.hep-news-more {
    color: var(--hep-accent) !important;
    font-weight: 600;
    font-size: 0.92em;
    margin-top: auto;
    align-self: flex-end;
}

/* === KORISNE INFORMACIJE === */
.hep-resources {
    padding: 70px 0;
    background: linear-gradient(180deg, #fff 0%, #faf6f6 100%);
}
.hep-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}
.hep-resource-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: 16px;
    text-decoration: none !important;
    box-shadow: 0 8px 28px rgba(184,32,44,0.06);
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 4px solid var(--hep-primary);
    color: var(--hep-text);
}
.hep-resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(184,32,44,0.15);
    border-top-color: var(--hep-accent);
}
.hep-resource-icon { font-size: 2.2em; margin-bottom: 6px; }
.hep-resource-card h3 {
    margin: 0;
    color: var(--hep-primary);
    font-size: 1.1em;
    font-weight: 700;
}
.hep-resource-card p {
    margin: 0;
    color: var(--hep-muted);
    font-size: 0.92em;
    line-height: 1.55;
    flex: 1;
}
.hep-resource-link {
    color: var(--hep-primary) !important;
    font-weight: 600;
    font-size: 0.92em;
    margin-top: 8px;
}
.hep-resource-card:hover .hep-resource-link { color: var(--hep-accent) !important; }

@media (max-width: 992px) {
    .hep-resources-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hep-resources-grid { grid-template-columns: 1fr; }
}

/* === CENTAR ZA TESTIRANJE === */
.hep-testing-center {
    background: #fff;
    padding: 80px 0;
    border-top: 1px solid #eee;
}
.hep-tc-head {
    text-align: center;
    margin-bottom: 50px;
}
.hep-tc-badge {
    display: inline-block;
    background: rgba(184,32,44,0.1);
    color: var(--hep-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.hep-tc-head h2 {
    font-size: 2.4em;
    margin: 0 0 14px;
    color: var(--hep-primary);
    font-weight: 700;
}
.hep-tc-sub {
    color: var(--hep-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05em;
    line-height: 1.6;
}

.hep-tc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.hep-tc-location {
    background: linear-gradient(165deg, #fff 0%, #fff5f5 100%);
    padding: 38px 32px;
    border-radius: 18px;
    box-shadow: 0 14px 45px rgba(184,32,44,0.1);
    border-top: 5px solid var(--hep-primary);
    position: relative;
}
.hep-tc-loc2 {
    border-top-color: var(--hep-accent);
    background: linear-gradient(165deg, #fff 0%, #f5f5f7 100%);
}
.hep-tc-loc2 .hep-tc-badge-loc {
    background: var(--hep-accent);
}
.hep-tc-badge-loc {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--hep-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 0.74em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.hep-tc-location h3 {
    margin: 0 0 10px;
    color: var(--hep-primary);
    font-size: 1.3em;
    font-weight: 700;
}
.hep-tc-loc2 h3 { color: var(--hep-accent); }
.hep-tc-org {
    color: var(--hep-text);
    font-size: 0.92em;
    line-height: 1.5;
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #e8d8da;
}
.hep-tc-org small { color: var(--hep-muted); display: inline-block; margin-top: 4px; }

.hep-tc-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    align-items: start;
    padding: 11px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.hep-tc-row:last-child { border-bottom: none; }
.hep-tc-label {
    color: var(--hep-muted);
    font-size: 0.82em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hep-tc-row strong {
    color: var(--hep-primary);
    font-weight: 700;
}
.hep-tc-row span {
    color: var(--hep-text);
    line-height: 1.5;
    font-size: 0.95em;
}
.hep-tc-row span small {
    color: var(--hep-muted);
    font-size: 0.88em;
    display: inline-block;
    margin-top: 2px;
}

/* Info bar dolje */
.hep-tc-info-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 22px 30px;
    border-radius: 14px;
    color: #fff;
}
.hep-tc-info-label {
    color: #ffd6a5;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85em;
    font-weight: 700;
}
.hep-tc-info-phone {
    color: #fff !important;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none !important;
    padding: 8px 18px;
    background: rgba(184,32,44,0.25);
    border-radius: 22px;
    transition: background 0.2s;
}
.hep-tc-info-phone:hover { background: var(--hep-primary); }

@media (max-width: 992px) {
    .hep-tc-grid { grid-template-columns: 1fr; }
    .hep-tc-head h2 { font-size: 1.8em; }
}
@media (max-width: 600px) {
    .hep-tc-row { grid-template-columns: 1fr; gap: 4px; }
    .hep-tc-info-bar { flex-direction: column; gap: 14px; padding: 20px; }
}

/* === EDUKATIVNI VIDEI === */
.hep-edu-videos {
    background: linear-gradient(180deg, #fff 0%, #faf6f6 100%);
    padding: 80px 0;
}
.hep-edu-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
    color: var(--hep-muted);
    font-size: 1.05em;
    line-height: 1.65;
}
.hep-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.hep-video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(184,32,44,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.hep-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(184,32,44,0.18);
}
.hep-video-frame {
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}
.hep-video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}
.hep-video-info {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.hep-video-info h3 {
    margin: 0;
    color: var(--hep-primary);
    font-size: 1.25em;
    font-weight: 700;
}
.hep-video-info p {
    color: var(--hep-text);
    font-size: 0.93em;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.hep-video-cta-link {
    color: var(--hep-primary) !important;
    font-weight: 600;
    font-size: 0.93em;
    text-decoration: none !important;
    margin-top: 8px;
}
.hep-video-cta-link:hover { color: var(--hep-accent) !important; }

@media (max-width: 992px) {
    .hep-videos-grid { grid-template-columns: 1fr; }
}

/* === ZNANJE: HZJZ + HIV === */
.hep-knowledge {
    background: var(--hep-bg);
    padding: 70px 0;
}
.hep-knowledge-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: stretch;
}
.hep-know-banner {
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 60%, #1a1a1a 100%);
    color: #fff !important;
    padding: 38px 36px;
    border-radius: 18px;
    text-decoration: none !important;
    display: flex;
    gap: 24px;
    align-items: center;
    box-shadow: 0 14px 45px rgba(184,32,44,0.25);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.hep-know-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0, transparent 40%);
    pointer-events: none;
}
.hep-know-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(184,32,44,0.35);
}
.hep-know-banner-icon {
    font-size: 3.5em;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.hep-know-banner > div:last-child {
    position: relative;
    z-index: 1;
}
.hep-know-banner-label {
    display: block;
    font-size: 0.78em;
    color: #ffd6a5;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 6px;
}
.hep-know-banner h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.55em;
    font-weight: 800;
    line-height: 1.2;
}
.hep-know-banner p {
    color: rgba(255,255,255,0.92);
    font-size: 0.96em;
    line-height: 1.55;
    margin: 0 0 14px;
}
.hep-know-banner-arrow {
    color: #ffd6a5;
    font-weight: 700;
    font-size: 0.92em;
}

.hep-hiv-box {
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 12px 40px rgba(184,32,44,0.08);
    border-top: 5px solid var(--hep-accent);
}
.hep-hiv-box h3 {
    margin: 0 0 18px;
    color: var(--hep-accent);
    font-size: 1.22em;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
}
.hep-hiv-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hep-hiv-list li {
    padding: 0;
}
.hep-hiv-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--hep-text) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.96em;
    border-bottom: 1px solid #f3eaeb;
    transition: all 0.2s;
}
.hep-hiv-list li:last-child a { border-bottom: none; }
.hep-hiv-list a::after {
    content: "→";
    color: var(--hep-primary);
    transition: transform 0.2s;
}
.hep-hiv-list a:hover {
    color: var(--hep-primary) !important;
    padding-left: 8px;
}
.hep-hiv-list a:hover::after {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .hep-knowledge-grid { grid-template-columns: 1fr; }
    .hep-know-banner { padding: 28px 22px; }
    .hep-know-banner h3 { font-size: 1.3em; }
}

/* === MREŽA VIDEO SEKCIJA (deprecated, mreza je sad u edu videos) === */
.hep-mreza {
    background: linear-gradient(135deg, #faf6f6 0%, #f1e8e8 100%);
    padding: 80px 0;
}
.hep-mreza-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}
.hep-mreza-badge {
    display: inline-block;
    background: var(--hep-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.hep-mreza-title {
    font-size: 3.8em;
    font-weight: 800;
    color: var(--hep-primary);
    margin: 0 0 12px;
    letter-spacing: -2px;
    line-height: 1;
}
.hep-mreza-sub {
    font-size: 1.15em;
    line-height: 1.5;
    color: var(--hep-text);
    margin: 0 0 24px;
    font-weight: 600;
}
.hep-mreza-credits {
    color: var(--hep-muted);
    font-size: 0.92em;
    line-height: 1.7;
    margin: 0;
}
.hep-mreza-credits strong { color: var(--hep-accent); }

.hep-mreza-video {
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(184,32,44,0.2);
    background: #000;
}
.hep-mreza-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

@media (max-width: 992px) {
    .hep-mreza-grid { grid-template-columns: 1fr; }
    .hep-mreza-title { font-size: 3em; }
}

/* === VIDEO + CTA === */
.hep-video-cta {
    background: linear-gradient(135deg, #faf6f6 0%, #f1e8e8 100%);
    padding: 80px 0;
}
.hep-video-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.hep-video-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(184,32,44,0.2);
}
.hep-video-wrap iframe { display: block; }
.hep-video-text h2 {
    font-size: 2.2em;
    margin: 0 0 16px;
    color: var(--hep-primary);
    line-height: 1.15;
    font-weight: 700;
}
.hep-video-text p {
    font-size: 1.05em;
    line-height: 1.65;
    color: var(--hep-text);
    margin: 0 0 26px;
}
.hep-video-text .hep-btn-primary {
    color: #fff !important;
}

/* === DONATORI === */
.hep-donors {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #eee;
}
.hep-donors-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 28px;
    align-items: center;
    justify-items: center;
    margin-top: 30px;
}
.hep-donor {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    filter: grayscale(0.6) opacity(0.7);
    transition: filter 0.25s, transform 0.25s;
}
.hep-donor:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}
.hep-donor img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hep-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hep-hero-visual { display: none; }
    .hep-hero-title { font-size: 2.4em; }
    .hep-hero-cta { justify-content: center; }
    .hep-card-grid,
    .hep-news-grid { grid-template-columns: 1fr 1fr; }
    .hep-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hep-hero { padding: 60px 0 80px; }
    .hep-hero-title { font-size: 2em; }
    .hep-card-grid,
    .hep-news-grid { grid-template-columns: 1fr; }
    .hep-section-head h2 { font-size: 1.5em; }
}

/* === POJMOVNIK (jednostavna lista) === */
.hep-glossary-page {
    --hep-primary: #b8202c;
    --hep-primary-dark: #8a1721;
    --hep-accent: #1a1a1a;
    --hep-bg: #faf6f6;
    --hep-text: #1a1a1a;
    --hep-muted: #6b6b6b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.hep-glossary-page .hep-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hep-glossary-narrow { max-width: 800px !important; }

.hep-glossary { padding: 50px 0 80px; background: #fff; }

.hep-glossary-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 30px 0 !important;
    border-top: 1px solid #eee;
}
.hep-glossary-list li { margin: 0 !important; padding: 0 !important; }
.hep-glossary-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 8px;
    color: var(--hep-text) !important;
    text-decoration: none !important;
    border-bottom: 1px solid #eee;
    transition: all 0.15s;
}
.hep-glossary-list a:hover {
    background: var(--hep-bg);
    padding-left: 16px;
}
.hep-gl-term {
    font-size: 1.02em;
    font-weight: 600;
}
.hep-glossary-list a:hover .hep-gl-term {
    color: var(--hep-primary);
}
.hep-gl-arrow {
    color: var(--hep-primary);
    font-weight: 700;
    opacity: 0.5;
    transition: all 0.15s;
}
.hep-glossary-list a:hover .hep-gl-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* === Hub liste (na pojmovnik, način prijenosa, sve-o-hiv-u stranicama) === */
.hep-hub-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 30px 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.hep-hub-list li {
    margin: 0 !important;
    padding: 0 !important;
}
.hep-hub-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fff;
    border-radius: 10px;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(184,32,44,0.06);
    border-left: 4px solid #b8202c;
    transition: all 0.2s;
}
.hep-hub-list a::after {
    content: "→";
    color: #b8202c;
    transition: transform 0.2s;
}
.hep-hub-list a:hover {
    background: #fff5f5;
    color: #b8202c !important;
    transform: translateX(4px);
}
.hep-hub-list a:hover::after { transform: translateX(4px); }
@media (max-width: 768px) {
    .hep-hub-list { grid-template-columns: 1fr; }
}

/* ============================================
   MODERN TEMPLATES (single, page, archive, 404)
   ============================================ */

.hep-single, .hep-page, .hep-archive, .hep-404 {
    --hep-primary: #b8202c;     /* hepatos crvena */
    --hep-primary-dark: #8a1721;
    --hep-accent: #1a1a1a;       /* crna */
    --hep-accent-soft: #4a4a4a;
    --hep-bg: #faf6f6;            /* topla pozadina */
    --hep-text: #1a1a1a;
    --hep-muted: #6b6b6b;
    color: var(--hep-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.hep-single .hep-container,
.hep-page .hep-container,
.hep-archive .hep-container,
.hep-404 .hep-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === SINGLE HERO - razvuceni s pozadinskom slikom + jaki dark overlay === */
.hep-single-hero {
    position: relative;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 440px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.hep-single-hero.no-thumb {
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 50%, #1a1a1a 100%);
    min-height: 280px;
}

.hep-single-hero-overlay {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 0 36px;
    min-height: 440px;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.1) 25%,
        rgba(0,0,0,0) 50%
    );
    gap: 30px;
}
.hep-single-hero.no-thumb .hep-single-hero-overlay {
    background: none;
    min-height: auto;
    justify-content: center;
    padding: 60px 0;
}

/* Container koji drži naslov - VEĆA prozirnost (slika se vidi kroz) */
.hep-single-hero-title-wrap {
    background: linear-gradient(135deg, rgba(184,32,44,0.55) 0%, rgba(26,26,26,0.65) 100%);
    padding: 28px 32px;
    border-radius: 14px;
    box-shadow: 0 14px 50px rgba(0,0,0,0.4);
    max-width: 920px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
}
.hep-single-hero.no-thumb .hep-single-hero-title-wrap {
    background: none;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
}

/* Top: back + datum */
.hep-single-hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
}
.hep-single-back {
    color: rgba(255,255,255,0.96) !important;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s;
}
.hep-single-back:hover {
    background: var(--hep-primary, #b8202c);
    color: #fff !important;
    transform: translateX(-3px);
}
.hep-single-pub-date {
    color: #ffd6a5;
    font-size: 0.82em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    padding: 6px 14px;
    border-radius: 14px;
}

/* Bottom: naslov */
.hep-single-title {
    font-size: 2.4em;
    line-height: 1.2;
    margin: 0;
    font-weight: 800;
    color: #fff;
    max-width: 920px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.hep-single-hero.no-thumb .hep-single-title {
    margin-top: 18px;
}
@media (max-width: 768px) {
    .hep-single-hero { min-height: 320px; }
    .hep-single-hero-overlay { min-height: 320px; padding: 20px 0 30px; }
    .hep-single-title { font-size: 1.55em; }
}

/* === PAGE HERO - centered === */
.hep-page-hero {
    position: relative;
    min-height: 220px;
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 50%, #1a1a1a 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    margin-bottom: 0;
    overflow: hidden;
}
.hep-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255,255,255,0.08) 0, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(255,255,255,0.05) 0, transparent 40%);
    pointer-events: none;
}
.hep-page-hero.has-thumb { padding: 80px 0; }
.hep-page-hero-overlay {
    position: relative;
    width: 100%;
    text-align: center;
}
.hep-page-hero.has-thumb .hep-page-hero-overlay {
    background: linear-gradient(135deg, rgba(184,32,44,0.92) 0%, rgba(26,26,26,0.95) 100%);
    padding: 40px 0;
    margin: -40px 0;
}
.hep-page-title {
    font-size: 2.6em;
    line-height: 1.15;
    margin: 0 auto;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 900px;
}
.hep-page-sub {
    text-align: center;
    max-width: 700px;
    margin: 14px auto 0;
    color: rgba(255,255,255,0.92);
    font-size: 1.1em;
    line-height: 1.55;
}

/* === Back link (na page-ovima) === */
.hep-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--hep-bg, #faf6f6);
    color: var(--hep-primary, #b8202c) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.92em;
    border-radius: 20px;
    margin-bottom: 28px;
    transition: all 0.2s;
}
.hep-back-link:hover {
    background: var(--hep-primary, #b8202c);
    color: #fff !important;
    transform: translateX(-3px);
}

/* === SINGLE BODY === */
.hep-single-body, .hep-page-body {
    background: #fff;
    padding: 60px 0;
}
.hep-single-container {
    max-width: 820px !important;
}
.hep-single-content {
    font-size: 1.08em;
    line-height: 1.75;
    color: #2a3b50;
}
.hep-single-content h2, .hep-single-content h3 {
    color: var(--hep-primary);
    margin-top: 1.8em;
    margin-bottom: 0.6em;
}
.hep-single-content p { margin: 0 0 1.2em; }
.hep-single-content a {
    color: var(--hep-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hep-single-content a:hover { color: var(--hep-primary); }
.hep-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1em 0;
}
.hep-single-content blockquote {
    border-left: 4px solid var(--hep-accent);
    padding-left: 24px;
    color: var(--hep-muted);
    font-style: italic;
    margin: 1.5em 0;
}
.hep-single-content ul, .hep-single-content ol {
    margin: 0 0 1.2em 1.4em;
}
.hep-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}
.hep-single-content table td, .hep-single-content table th {
    padding: 10px;
    border: 1px solid #e5e5e5;
}
.hep-single-content iframe {
    max-width: 100%;
    border-radius: 8px;
}

/* === TAGS + SHARE === */
.hep-single-tags {
    margin: 36px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hep-tag {
    background: var(--hep-bg);
    color: var(--hep-primary) !important;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.88em;
    text-decoration: none !important;
    transition: background 0.2s;
}
.hep-tag:hover { background: var(--hep-primary); color: #fff !important; }

.hep-single-share {
    margin: 30px 0;
    padding: 18px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--hep-muted);
    font-size: 0.95em;
}
.hep-single-share span { font-weight: 600; }
.hep-single-share a {
    color: var(--hep-primary) !important;
    text-decoration: none !important;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 0.9em;
    transition: all 0.2s;
}
.hep-single-share a:hover {
    background: var(--hep-primary);
    color: #fff !important;
    border-color: var(--hep-primary);
}

/* === PREV/NEXT NAVIGATION === */
.hep-single-nav { background: var(--hep-bg); padding: 50px 0; }
.hep-single-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.hep-nav-card {
    background: #fff;
    padding: 22px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #eef1f5;
}
.hep-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.hep-nav-prev { text-align: left; }
.hep-nav-next { text-align: right; }
.hep-nav-label {
    color: var(--hep-accent);
    font-size: 0.82em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hep-nav-title {
    color: var(--hep-text);
    font-weight: 600;
    line-height: 1.4;
}

/* === RELATED === */
.hep-related { padding: 70px 0; background: #fff; border-top: 1px solid #eee; }
.hep-related-title {
    font-size: 1.8em;
    margin: 0 0 30px;
    color: var(--hep-primary);
    font-weight: 700;
    text-align: center;
}
.hep-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* === ARCHIVE === */
.hep-archive-hero {
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 100%);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
}
.hep-archive-title {
    font-size: 2.4em;
    margin: 0;
    color: #fff;
    font-weight: 700;
}
.hep-archive-desc {
    margin: 16px auto 0;
    max-width: 700px;
    opacity: 0.9;
    font-size: 1.05em;
}
.hep-archive-list { padding: 60px 0; background: var(--hep-bg); }
.hep-news-grid-wide {
    grid-template-columns: repeat(3, 1fr);
}

/* === PAGINATION === */
.hep-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hep-pagination .page-numbers {
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--hep-primary);
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid #eef1f5;
}
.hep-pagination .page-numbers:hover,
.hep-pagination .page-numbers.current {
    background: var(--hep-primary);
    color: #fff !important;
}
.hep-pagination .page-numbers.dots:hover {
    background: #fff; color: var(--hep-primary);
}

/* === 404 === */
.hep-404 {
    padding: 100px 0;
    background: var(--hep-bg);
    text-align: center;
    min-height: 50vh;
}
.hep-404-num {
    font-size: 8em;
    font-weight: 800;
    color: var(--hep-primary);
    line-height: 1;
    margin-bottom: 0;
    text-shadow: 0 6px 20px rgba(184,32,44,0.15);
}
.hep-404 h1 {
    font-size: 2em;
    margin: 10px 0 12px;
    color: var(--hep-text);
}
.hep-404 p {
    color: var(--hep-muted);
    max-width: 500px;
    margin: 0 auto 30px;
}
.hep-404-search {
    max-width: 500px;
    margin: 0 auto 30px;
    display: flex;
    gap: 10px;
}
.hep-404-search input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 1em;
}
.hep-404-search button {
    padding: 12px 24px;
    background: var(--hep-primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.hep-404-search button:hover { background: #8a1721; }

/* ============================================
   O NAMA
   ============================================ */
.hep-about-page {
    --hep-primary: #b8202c;
    --hep-primary-dark: #8a1721;
    --hep-accent: #1a1a1a;
    --hep-bg: #faf6f6;
    --hep-text: #1a1a1a;
    --hep-muted: #6b6b6b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.hep-about-page .hep-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.hep-about-hero {
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 50%, #1a1a1a 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}
.hep-about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0, transparent 40%);
    pointer-events: none;
}
.hep-about-page .hep-hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78em;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 20px;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
}
.hep-about-title { font-size: 3em; margin: 0; color: #fff; font-weight: 700; position: relative; }
.hep-about-sub {
    margin: 18px auto 0;
    max-width: 700px;
    color: rgba(255,255,255,0.92);
    font-size: 1.1em;
    line-height: 1.55;
    position: relative;
}

/* STATS */
.hep-about-stats {
    padding: 50px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.hep-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.hep-stat-num {
    font-size: 3.2em;
    font-weight: 800;
    color: var(--hep-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}
.hep-stat-lbl {
    color: var(--hep-muted);
    font-size: 0.95em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* VALUES */
.hep-about-values {
    padding: 70px 0;
    background: var(--hep-bg);
}
.hep-about-page .hep-section-title {
    font-size: 2em;
    color: var(--hep-primary);
    margin: 0 0 14px;
    font-weight: 700;
    text-align: center;
}
.hep-section-sub {
    color: var(--hep-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1em;
}
.hep-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}
.hep-value-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(184,32,44,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    border-top: 4px solid var(--hep-primary);
}
.hep-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(184,32,44,0.15);
}
.hep-value-icon { font-size: 2.6em; margin-bottom: 14px; }
.hep-value-title {
    color: var(--hep-primary);
    font-size: 1.25em;
    margin: 0 0 12px;
    font-weight: 700;
}
.hep-value-text {
    color: var(--hep-text);
    line-height: 1.65;
    margin: 0;
    font-size: 0.97em;
}

/* IDENTITY */
.hep-about-identity { padding: 80px 0; background: #fff; }
.hep-identity-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}
.hep-identity-info p {
    color: var(--hep-text);
    line-height: 1.7;
    font-size: 1.02em;
    margin: 0 0 22px;
}
.hep-identity-info .hep-section-title { text-align: left; margin-bottom: 20px; }
.hep-sub-title {
    color: var(--hep-accent);
    font-size: 1.05em;
    margin: 28px 0 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.hep-tijela-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: tijela;
}
.hep-tijela-list li {
    counter-increment: tijela;
    padding: 12px 16px 12px 50px;
    background: var(--hep-bg);
    margin-bottom: 8px;
    border-radius: 8px;
    position: relative;
    font-weight: 600;
    color: var(--hep-text);
}
.hep-tijela-list li::before {
    content: counter(tijela);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--hep-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78em;
    font-weight: 700;
}

.hep-identity-card {
    background: linear-gradient(165deg, #fff 0%, #fff5f5 100%);
    padding: 36px 30px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(184,32,44,0.08);
    border-top: 4px solid var(--hep-primary);
}
.hep-identity-card h3 {
    margin: 0 0 22px;
    color: var(--hep-primary);
    font-size: 1.2em;
    font-weight: 700;
}
.hep-id-list { margin: 0; }
.hep-id-list dt {
    color: var(--hep-muted);
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-top: 14px;
}
.hep-id-list dt:first-child { margin-top: 0; }
.hep-id-list dd {
    margin: 4px 0 0;
    color: var(--hep-text);
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0e0e2;
}
.hep-id-list dd:last-of-type { border-bottom: none; }

/* MEMBERSHIP */
.hep-about-membership { padding: 70px 0; background: var(--hep-bg); }
.hep-membership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.hep-membership-item {
    display: flex;
    gap: 18px;
    align-items: center;
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(184,32,44,0.05);
    transition: transform 0.2s;
}
.hep-membership-item:hover { transform: translateY(-2px); }
.hep-membership-year {
    color: var(--hep-primary);
    font-weight: 800;
    font-size: 1.15em;
    background: rgba(184,32,44,0.08);
    padding: 6px 12px;
    border-radius: 8px;
    flex-shrink: 0;
}
.hep-membership-name {
    color: var(--hep-text);
    font-weight: 600;
    font-size: 0.98em;
}

/* DONORS */
.hep-about-donors { padding: 70px 0; background: #fff; }
.hep-donor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}
.hep-donor-pill {
    background: var(--hep-bg);
    color: var(--hep-text);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.93em;
    border: 1px solid #eee;
}

/* CTA */
.hep-about-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hep-about-cta h2 {
    color: #fff;
    font-size: 2.2em;
    margin: 0 0 12px;
    font-weight: 700;
}
.hep-about-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.08em;
    max-width: 600px;
    margin: 0 auto;
}
.hep-btn-outline-dark {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
}
.hep-btn-outline-dark:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Responsive */
@media (max-width: 992px) {
    .hep-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hep-values-grid { grid-template-columns: 1fr; }
    .hep-identity-grid { grid-template-columns: 1fr; }
    .hep-membership-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hep-about-title { font-size: 2em; }
    .hep-stat-num { font-size: 2.4em; }
}

/* ============================================
   NAŠ TIM
   ============================================ */
.hep-team-page {
    --hep-primary: #b8202c;
    --hep-primary-dark: #8a1721;
    --hep-accent: #1a1a1a;
    --hep-bg: #faf6f6;
    --hep-text: #1a1a1a;
    --hep-muted: #6b6b6b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.hep-team-page .hep-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.hep-team-page .hep-page-hero {
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 50%, #1a1a1a 100%);
    color: #fff;
    text-align: center;
    padding: 70px 0 60px;
}
.hep-team-page .hep-page-title { font-size: 2.6em; color: #fff; margin: 0; }
.hep-team-page .hep-page-sub {
    margin: 14px auto 0;
    max-width: 600px;
    color: rgba(255,255,255,0.92);
    font-size: 1.1em;
}

.hep-team-section { padding: 70px 0; background: var(--hep-bg); }
.hep-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.hep-team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(184,32,44,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.hep-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(184,32,44,0.18);
}
.hep-team-thumb {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #b8202c, #1a1a1a);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hep-team-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hep-team-noimg {
    color: rgba(255,255,255,0.6);
    font-size: 4em;
    font-weight: 700;
}
.hep-team-body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hep-team-name {
    margin: 0;
    font-size: 1.2em;
    color: var(--hep-primary);
    font-weight: 700;
    line-height: 1.25;
}
.hep-team-academic {
    color: var(--hep-muted);
    font-size: 0.88em;
    font-style: italic;
}
.hep-team-role {
    color: var(--hep-text);
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 4px;
}
.hep-team-bio {
    color: var(--hep-text);
    font-size: 0.93em;
    line-height: 1.55;
    flex: 1;
}
.hep-team-bio p { margin: 0 0 0.8em; }
.hep-team-bio p:last-child { margin-bottom: 0; }
.hep-team-email {
    margin-top: 10px;
    color: var(--hep-primary) !important;
    font-size: 0.92em;
    font-weight: 600;
    text-decoration: none !important;
}

/* ============================================
   PROJEKTI
   ============================================ */
.hep-projects-page {
    --hep-primary: #b8202c;
    --hep-primary-dark: #8a1721;
    --hep-accent: #1a1a1a;
    --hep-bg: #faf6f6;
    --hep-text: #1a1a1a;
    --hep-muted: #6b6b6b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.hep-projects-page .hep-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hep-projects-page .hep-page-hero {
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 50%, #1a1a1a 100%);
    color: #fff; text-align: center; padding: 70px 0 60px;
}
.hep-projects-page .hep-page-title { font-size: 2.6em; color: #fff; margin: 0; }
.hep-projects-page .hep-page-sub {
    margin: 14px auto 0; max-width: 600px;
    color: rgba(255,255,255,0.92); font-size: 1.1em;
}

.hep-projects-section { padding: 60px 0 80px; background: var(--hep-bg); }
.hep-projects-intro {
    max-width: 820px;
    margin: 0 auto 50px;
    color: var(--hep-text);
    font-size: 1.05em;
    line-height: 1.65;
    text-align: center;
}
.hep-projects-intro p:last-child { margin-bottom: 0; }

/* === ACCORDION === */
.hep-accordion {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hep-acc-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(184,32,44,0.06);
    transition: box-shadow 0.25s, transform 0.2s;
}
.hep-acc-item:hover { box-shadow: 0 8px 28px rgba(184,32,44,0.12); }
.hep-acc-open {
    box-shadow: 0 14px 40px rgba(184,32,44,0.18) !important;
}

.hep-acc-head {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 22px 26px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.2s;
}
.hep-acc-head:hover { background: rgba(184,32,44,0.04); }
.hep-acc-open .hep-acc-head {
    background: linear-gradient(135deg, rgba(184,32,44,0.06) 0%, rgba(26,26,26,0.03) 100%);
}

.hep-acc-num {
    flex: 0 0 auto;
    font-size: 1.4em;
    font-weight: 800;
    color: var(--hep-primary);
    width: 44px;
    height: 44px;
    background: rgba(184,32,44,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}
.hep-acc-open .hep-acc-num {
    background: var(--hep-primary);
    color: #fff;
    transform: rotate(-6deg);
}

.hep-acc-title {
    flex: 1;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--hep-text);
    line-height: 1.3;
}
.hep-acc-open .hep-acc-title { color: var(--hep-primary); }

.hep-acc-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 0.74em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #d4f5dd;
    color: #166537;
    flex-shrink: 0;
}
.hep-status-zavrsen  { background: #e8e8e8; color: #555; }
.hep-status-planiran { background: #fff4d2; color: #735200; }
.hep-status-aktivan  { background: #d4f5dd; color: #166537; }

.hep-acc-year {
    color: var(--hep-muted);
    font-size: 0.92em;
    font-weight: 600;
    flex-shrink: 0;
}

.hep-acc-icon {
    flex: 0 0 auto;
    font-size: 1.8em;
    font-weight: 300;
    color: var(--hep-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    line-height: 1;
}
.hep-acc-open .hep-acc-icon {
    transform: rotate(45deg);
}

.hep-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 26px;
}
.hep-acc-open .hep-acc-body {
    max-height: 2000px;
    padding: 0 26px 30px;
    border-top: 1px solid #f0e0e2;
    padding-top: 20px;
    margin-top: 0;
}
/* Slika unutar accordion stavke */
.hep-acc-grid {
    display: block;
}
.hep-acc-grid.hep-acc-has-img {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}
.hep-acc-visual {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(184,32,44,0.15);
    position: sticky;
    top: 20px;
}
.hep-acc-visual img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}
@media (max-width: 768px) {
    .hep-acc-grid.hep-acc-has-img { grid-template-columns: 1fr; }
    .hep-acc-visual { position: static; }
}

.hep-acc-content {
    color: var(--hep-text);
    font-size: 0.98em;
    line-height: 1.7;
}
.hep-acc-content p:first-child { margin-top: 0; }
.hep-acc-content p:last-child { margin-bottom: 0; }
.hep-acc-content a { color: var(--hep-primary); }
.hep-acc-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 1em 0; }
.hep-acc-meta {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e8d8da;
    color: var(--hep-muted);
    font-size: 0.93em;
}
.hep-acc-meta strong { color: var(--hep-text); }
.hep-acc-body .hep-btn { margin-top: 18px; }

@media (max-width: 768px) {
    .hep-acc-head {
        gap: 12px;
        padding: 18px 18px;
        flex-wrap: wrap;
    }
    .hep-acc-num { width: 36px; height: 36px; font-size: 1.1em; }
    .hep-acc-title { font-size: 0.98em; flex-basis: 100%; order: 1; }
    .hep-acc-status, .hep-acc-year { font-size: 0.7em; }
    .hep-acc-icon { font-size: 1.5em; }
    .hep-acc-open .hep-acc-body { padding: 18px 18px 24px; }
}

/* ============================================
   PSIHOLOŠKO SAVJETOVALIŠTE
   ============================================ */
.hep-psy-page {
    --hep-primary: #b8202c;
    --hep-primary-dark: #8a1721;
    --hep-accent: #1a1a1a;
    --hep-bg: #faf6f6;
    --hep-text: #1a1a1a;
    --hep-muted: #6b6b6b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.hep-psy-page .hep-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hep-psy-page .hep-page-hero {
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 50%, #1a1a1a 100%);
    color: #fff; text-align: center; padding: 70px 0 60px;
}
.hep-psy-page .hep-page-title { font-size: 2.4em; color: #fff; margin: 14px 0 0; }
.hep-psy-page .hep-hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78em;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
}
.hep-psy-page .hep-page-sub {
    margin: 14px auto 0; max-width: 600px;
    color: rgba(255,255,255,0.92); font-size: 1.1em;
}

.hep-psy-contact {
    background: var(--hep-bg);
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}
.hep-psy-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 24px;
    align-items: center;
}
.hep-psy-info-card {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    padding: 16px 22px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(184,32,44,0.06);
}
.hep-psy-icon { font-size: 1.8em; }
.hep-psy-label {
    display: block;
    font-size: 0.78em;
    color: var(--hep-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hep-psy-val {
    color: var(--hep-text) !important;
    font-weight: 700;
    font-size: 1.05em;
    text-decoration: none !important;
}
.hep-psy-val:hover { color: var(--hep-primary) !important; }
.hep-psy-info-cta {
    background: transparent;
    box-shadow: none;
    padding: 0;
    justify-content: flex-end;
}

.hep-psy-body { padding: 60px 0; background: #fff; }

.hep-psy-related {
    padding: 70px 0;
    background: var(--hep-bg);
}
.hep-psy-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}
.hep-psy-rel-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px 28px;
    text-decoration: none !important;
    box-shadow: 0 8px 30px rgba(184,32,44,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--hep-primary);
}
.hep-psy-rel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(184,32,44,0.18);
}
.hep-psy-rel-num {
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 2.2em;
    font-weight: 800;
    color: rgba(184,32,44,0.1);
    line-height: 1;
}
.hep-psy-rel-title {
    color: var(--hep-primary);
    font-size: 1.15em;
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
    padding-right: 50px;
}
.hep-psy-rel-excerpt {
    color: var(--hep-text);
    font-size: 0.95em;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.hep-psy-rel-more {
    color: var(--hep-primary) !important;
    font-weight: 600;
    font-size: 0.92em;
    margin-top: auto;
}

@media (max-width: 992px) {
    .hep-psy-contact-grid { grid-template-columns: 1fr; }
    .hep-psy-info-cta { justify-content: flex-start; }
    .hep-psy-related-grid { grid-template-columns: 1fr; }
}

/* ============================================
   KONTAKT STRANICA
   ============================================ */
.hep-contact-page {
    --hep-primary: #b8202c;
    --hep-primary-dark: #8a1721;
    --hep-accent: #1a1a1a;
    --hep-bg: #faf6f6;
    --hep-text: #1a1a1a;
    --hep-muted: #6b6b6b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.hep-contact-page .hep-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hep-contact-hero {
    background: linear-gradient(135deg, #b8202c 0%, #8a1721 50%, #1a1a1a 100%);
    color: #fff;
    padding: 90px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hep-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08) 0, transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,0.05) 0, transparent 40%);
    pointer-events: none;
}
.hep-contact-hero .hep-container { position: relative; }
.hep-contact-hero .hep-hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78em;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
    color: #fff;
}
.hep-contact-title {
    font-size: 3em;
    margin: 0 0 14px;
    color: #fff;
    font-weight: 700;
}
.hep-contact-sub {
    font-size: 1.15em;
    margin: 0 auto;
    max-width: 600px;
    opacity: 0.92;
    line-height: 1.55;
}

.hep-contact-main { padding: 60px 0; background: var(--hep-bg); }
.hep-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 36px;
    align-items: start;
}

.hep-contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.hep-contact-card {
    background: #fff;
    padding: 26px 24px;
    border-radius: 14px;
    box-shadow: 0 6px 28px rgba(184,32,44,0.07);
    border-left: 4px solid var(--hep-accent);
    transition: transform 0.2s, box-shadow 0.2s;
}
.hep-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(184,32,44,0.12);
}
.hep-contact-card-accent {
    border-left-color: var(--hep-primary);
    background: linear-gradient(165deg, #fff 0%, #fff5f5 100%);
}
.hep-contact-icon { font-size: 2em; margin-bottom: 8px; }
.hep-contact-card h3 {
    font-size: 1.15em;
    margin: 0 0 10px;
    color: var(--hep-primary);
    font-weight: 700;
}
.hep-contact-card p {
    margin: 0 0 6px;
    line-height: 1.55;
    color: var(--hep-text);
    font-size: 0.95em;
}
.hep-big-number {
    font-size: 1.4em !important;
    font-weight: 700;
    margin: 4px 0 8px !important;
}
.hep-big-number a {
    color: var(--hep-primary) !important;
    text-decoration: none !important;
}

.hep-contact-main-card {
    background: #fff;
    padding: 40px 36px;
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(184,32,44,0.1);
}
.hep-contact-main-card h2 {
    margin: 0 0 24px;
    color: var(--hep-primary);
    font-size: 1.8em;
    border-bottom: 3px solid var(--hep-primary);
    padding-bottom: 12px;
    display: inline-block;
}
.hep-contact-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.hep-contact-row:last-of-type { border-bottom: none; }
.hep-contact-label {
    color: var(--hep-muted);
    font-size: 0.88em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hep-contact-val {
    color: var(--hep-text) !important;
    font-weight: 600;
    font-size: 1.05em;
    text-decoration: none !important;
}
a.hep-contact-val:hover { color: var(--hep-primary) !important; }

.hep-contact-sectitle {
    margin: 28px 0 14px;
    color: var(--hep-text);
    font-size: 1.1em;
    font-weight: 700;
}
.hep-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.hep-social {
    background: var(--hep-bg);
    color: var(--hep-text) !important;
    padding: 14px 12px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hep-social:hover {
    background: var(--hep-primary);
    color: #fff !important;
    transform: translateY(-2px);
}
.hep-social-icon {
    width: 38px; height: 38px;
    background: var(--hep-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1em;
}
.hep-social:hover .hep-social-icon {
    background: #fff;
    color: var(--hep-primary);
}
.hep-social-name {
    font-size: 0.88em;
    font-weight: 600;
    line-height: 1.3;
}
.hep-social-name small { font-weight: 400; opacity: 0.7; }

.hep-contact-cta {
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* MAPA */
.hep-contact-map {
    padding: 60px 0 0;
    background: #fff;
    text-align: center;
}
.hep-section-title {
    font-size: 1.8em;
    margin: 0;
    color: var(--hep-primary);
    font-weight: 700;
}
.hep-map-addr {
    margin: 10px 0 30px;
    color: var(--hep-muted);
    font-size: 1.05em;
}
.hep-map-wrap iframe { display: block; width: 100%; }

/* HOMEPAGE KONTAKT SEKCIJA (ide u front-page.php) */
.hep-home-contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 90px 0;
}
.hep-home-contact .hep-container { max-width: 1200px; padding: 0 24px; margin: 0 auto; }
.hep-home-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.hep-home-contact h2 {
    font-size: 2.4em;
    margin: 0 0 16px;
    color: #fff;
    line-height: 1.1;
    font-weight: 700;
}
.hep-home-contact .hep-accent { color: #ffb3a5; }
.hep-home-contact p {
    font-size: 1.08em;
    line-height: 1.65;
    margin: 0 0 28px;
    opacity: 0.9;
}
.hep-home-contact-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.hep-home-contact-item {
    background: rgba(255,255,255,0.08);
    padding: 20px 22px;
    border-radius: 12px;
    border-left: 3px solid var(--hep-primary);
    backdrop-filter: blur(4px);
}
.hep-home-contact-item .hep-ci-label {
    color: #ffb3a5;
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}
.hep-home-contact-item .hep-ci-val {
    color: #fff;
    font-size: 1.08em;
    font-weight: 600;
    display: block;
    line-height: 1.35;
}
.hep-home-contact-item .hep-ci-val a { color: #fff !important; text-decoration: none; }
.hep-home-contact-item .hep-ci-val a:hover { color: #ffb3a5 !important; }

/* Home social linkovi */
.hep-home-social-item { grid-column: span 2; }
.hep-home-social-links {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.hep-home-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    border-radius: 50%;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.15);
}
.hep-home-social svg { display: block; }
.hep-home-social-fb:hover { background: #1877f2; border-color: #1877f2; transform: translateY(-3px); }
.hep-home-social-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; transform: translateY(-3px); }
.hep-home-social-yt:hover { background: #ff0000; border-color: #ff0000; transform: translateY(-3px); }
@media (max-width: 768px) {
    .hep-home-social-item { grid-column: span 1; }
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hep-contact-grid { grid-template-columns: 1fr; }
    .hep-home-contact-grid { grid-template-columns: 1fr; }
    .hep-social-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hep-single-title, .hep-page-title { font-size: 1.6em; }
    .hep-archive-title, .hep-contact-title { font-size: 1.7em; }
    .hep-single-nav-grid { grid-template-columns: 1fr; }
    .hep-related-grid, .hep-news-grid-wide { grid-template-columns: 1fr; }
    .hep-404-num { font-size: 5em; }
    .hep-contact-main-card { padding: 28px 22px; }
    .hep-contact-row { grid-template-columns: 1fr; gap: 4px; }
    .hep-home-contact-items { grid-template-columns: 1fr; }
}

/* Modern templates: full-bleed, bez Astra primary container ograničenja */
body.home #secondary-left, body.home #secondary,
body.single #secondary, body.single #secondary-left,
body.page #secondary, body.page #secondary-left,
body.archive #secondary, body.archive #secondary-left,
body.search #secondary, body.search #secondary-left,
body.error404 #secondary, body.error404 #secondary-left { display: none !important; }

body.home #content, body.single #content, body.page #content,
body.archive #content, body.search #content, body.error404 #content {
    padding: 0 !important;
}
body.home #content > .ast-container, body.single #content > .ast-container,
body.page #content > .ast-container, body.archive #content > .ast-container,
body.search #content > .ast-container, body.error404 #content > .ast-container {
    padding: 0 !important;
    max-width: 100% !important;
    display: block !important;
    grid-template-columns: 1fr !important;
}
body.home #primary, body.single #primary, body.page #primary,
body.archive #primary, body.search #primary, body.error404 #primary {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    grid-template-columns: 1fr !important;
}

/* Sakrij Astra default entry-meta na single (mi imamo svoj hero) */
body.single article.post .entry-meta,
body.single article.post .ast-blog-meta-container,
body.single article.post header.entry-header,
body.single article.post .ast-blog-featured-section,
body.single article.post .post-thumb-img-content,
body.single article.post .entry-title { display: none !important; }

/* Sakrij Astra archive title - mi imamo svoj */
body.archive .page-title, body.archive .ast-archive-description { display: none !important; }
body.home .page-title, body.search .page-title { display: none !important; }
