/* =============================================
   CONTENT ADDITIONS (2026-09-25)
   Podnaslovi in gumbi v CTA-jih podstrani, povezani članki na storitvi.
   Vrednosti izhajajo iz obstoječih žetonov teme.
   ============================================= */

.storitev-single .storitev-cta-desc,
.reference-single .ref-cta-text {
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--text-secondary);
}

.reference-single .ref-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.storitev-single .storitev-related {
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .storitev-single .storitev-cta-actions,
    .reference-single .ref-cta-actions { flex-direction: column; align-items: center; }
}

/* Dekorativne mreže in sijaji segajo čez rob zaslona; na ozkih zaslonih so
   povzročali vodoravni pomik. clip ne ustvari novega konteksta pomikanja. */
.onas-hero,
.storitev-single .storitev-hero,
.storitve-archive-hero,
.blog-index-hero,
.archive-hero,
.post-hero,
.ref-archive-hero,
.generic-page-header,
.pregled-hero { overflow-x: clip; }

/* =============================================
   ČLANKI — vsebinski sklopi (2026-09-25)
   Uvod, povzetek "Na kratko", tabele, FAQ (details), CTA,
   avtor, oznaka posodobitve. Vrednosti iz žetonov teme.
   ============================================= */
.post-content .post-lead {
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.65;
    color: var(--text-primary);
    font-weight: 300;
}
.post-content .post-summary {
    margin: 40px 0;
    padding: 28px 32px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent);
    border-radius: 16px;
    background: var(--bg-card);
}
.post-content .post-summary h2 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}
.post-content .post-summary ul { margin: 0; padding-left: 20px; }
.post-content .post-summary li { margin: 6px 0; font-size: 16px; line-height: 1.6; }

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 15px;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}
.post-content th, .post-content td {
    text-align: left;
    vertical-align: top;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
}
.post-content th {
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}
.post-content td { color: var(--text-secondary); font-weight: 300; }
.post-content td:first-child { color: var(--text-primary); font-weight: 500; }
@media (max-width: 768px) {
    .post-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

.post-content .post-faq { margin: 56px 0 16px; }
.post-content .post-faq details {
    border-top: 1px solid var(--border-color);
    padding: 4px 0;
}
.post-content .post-faq details:last-of-type { border-bottom: 1px solid var(--border-color); }
.post-content .post-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 40px 18px 0;
    font-weight: 600;
    font-size: 17px;
    color: var(--text-primary);
    position: relative;
}
.post-content .post-faq summary::-webkit-details-marker { display: none; }
.post-content .post-faq summary::after {
    content: '+';
    position: absolute; right: 4px; top: 50%;
    transform: translateY(-50%);
    font-size: 22px; font-weight: 300;
    color: var(--accent-text, var(--accent));
    transition: transform 0.2s ease-out;
}
.post-content .post-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.post-content .post-faq details > div { padding: 0 0 20px; }
.post-content .post-faq details > div p { margin: 0 0 12px; }
.post-content .post-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.post-content .post-cta {
    margin-top: 40px;
    padding: 24px 28px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-size: 17px;
}

.post-updated { color: var(--text-tertiary); }

.post-author {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    margin: 56px 0 0;
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-card);
}
.post-author-mark {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--accent-ink);
    background: var(--accent);
}
.post-author-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}
.post-author-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.post-author-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 300;
    margin: 0 0 14px;
}
.post-author-links { display: flex; flex-wrap: wrap; gap: 18px; }
.post-author-links a { font-size: 14px; font-weight: 600; color: var(--text-primary); text-decoration: none; }
.post-author-links a:hover { color: var(--accent-text, var(--accent)); }
@media (max-width: 600px) {
    .post-author { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
}

/* =============================================
   ENOTEN SLOG PODSTRANI (2026-10-17)
   1) oznake brez verzalk (stavčna oblika, brez razmika črk),
   2) heroji podstrani nosijo isti podpis kot domača stran: fina mreža
      z nekaj osvetljenimi celicami (SVG kot data-URI, brez gibanja).
   ============================================= */
.mega-menu-label, .mobile-drawer-label,
.page-hero-back, .archive-hero-back-row a,
.post-meta-row, .post-meta-cat, .post-author-label, .post-updated,
.related-card-cat, .related-card-date,
.blog-card-meta, .blog-card-footer, .blog-card-date,
.storitev-hero-tag, .storitev-card-tag, .ref-hero-tag,
.post-toc-label, .post-toc-toggle, .post-toc-num, .footer-col-title,
/* obstoječa pravila imajo dva razreda, zato tu enako */
.storitev-single .storitev-hero-tag, .storitev-single .storitev-hero-tags .storitev-hero-tag,
.storitve-archive .storitev-card-tag, .post-single .post-meta-row, .post-single .post-meta-cat,
.post-single .post-author-label, .post-single .post-updated, .footer-col .footer-col-title,
.post-toc .post-toc-label, .post-toc .post-toc-toggle, .post-toc .post-toc-num {
    font-family: var(--font-body);
    letter-spacing: 0;
    text-transform: none;
}
.post-toc .post-toc-label { font-size: 14px; font-weight: 600; }
.post-toc .post-toc-toggle { font-size: 13px; font-weight: 500; }
.post-toc .post-toc-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.storitev-single .storitev-hero-tag, .storitve-archive .storitev-card-tag { font-size: 13px; font-weight: 500; }
.post-single .post-meta-row { font-size: 14px; font-weight: 500; }
.post-single .post-meta-cat { font-weight: 600; }
.mega-menu-label, .mobile-drawer-label { font-size: 12px; font-weight: 600; color: var(--text-tertiary); }
.page-hero-back, .archive-hero-back-row a { font-size: 14px; font-weight: 500; }
.post-meta-row { font-size: 14px; font-weight: 500; }
.post-meta-cat { font-weight: 600; }
.storitev-hero-tag, .storitev-card-tag, .ref-hero-tag { font-size: 13px; font-weight: 500; }

.storitev-hero, .post-hero, .archive-hero, .storitve-archive-hero,
.blog-index-hero, .onas-hero, .ref-archive-hero, .ref-hero, .page-hero, .generic-page-header, .pregled-hero {
    position: relative;
    isolation: isolate;
}
.storitev-hero::before, .post-hero::before, .archive-hero::before, .storitve-archive-hero::before,
.blog-index-hero::before, .onas-hero::before, .ref-archive-hero::before, .ref-hero::before, .page-hero::before, .generic-page-header::before, .pregled-hero::before {
    content: '';
    position: absolute; inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'%3E%3Cdefs%3E%3Cpattern id='g' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M40 0H0V40' fill='none' stroke='rgba(255,255,255,0.055)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='480' height='480' fill='url(%23g)'/%3E%3Cg fill='%23c8ff00'%3E%3Crect x='40' y='80' width='40' height='40' opacity='0.08'/%3E%3Crect x='120' y='200' width='40' height='40' opacity='0.05'/%3E%3Crect x='320' y='40' width='40' height='40' opacity='0.07'/%3E%3Crect x='400' y='280' width='40' height='40' opacity='0.05'/%3E%3Crect x='240' y='400' width='40' height='40' opacity='0.06'/%3E%3Crect x='0' y='360' width='40' height='40' opacity='0.04'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 480px 480px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 0%, transparent 100%);
            mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 0%, transparent 100%);
}
@media (max-width: 768px) {
    .storitev-hero::before, .post-hero::before, .archive-hero::before, .storitve-archive-hero::before,
    .blog-index-hero::before, .onas-hero::before, .ref-archive-hero::before, .ref-hero::before, .page-hero::before, .generic-page-header::before, .pregled-hero::before { background-size: 360px 360px; }
}

/* --- Drobtinice (2026-10-17): absolutno pod pripeto navigacijo, brez premika postavitve --- */
.tech-breadcrumbs {
    position: absolute; left: 0; right: 0;
    top: calc(var(--nav-height) + 22px);
    z-index: 5;
    pointer-events: none;
}
.tech-breadcrumbs .container { pointer-events: auto; }
.tech-breadcrumbs-inner {
    font-size: 13px; font-weight: 500; line-height: 1.5;
    color: #8a8a92;
}
.tech-breadcrumbs-inner > span { display: inline-flex; flex-wrap: wrap; gap: 0 6px; }
.tech-breadcrumbs-inner a { color: inherit; text-decoration: none; transition: color 0.2s; }
.tech-breadcrumbs-inner a:hover { color: #ffffff; }
.tech-breadcrumbs-inner .breadcrumb_last { color: #c9c9ce; }
.tech-breadcrumbs--light .tech-breadcrumbs-inner { color: #6f6f77; }
.tech-breadcrumbs--light .tech-breadcrumbs-inner a:hover { color: #0a0a0c; }
.tech-breadcrumbs--light .tech-breadcrumbs-inner .breadcrumb_last { color: #4f4f57; }
@media (max-width: 768px) {
    .tech-breadcrumbs { top: calc(var(--nav-height) + 12px); }
    .tech-breadcrumbs-inner { font-size: 12px; }
}

/* Povratne povezave "← Vse reference / Vsi članki / Vse storitve" so odveč, odkar so drobtinice (2026-10-17). */
.ref-back-link, .page-hero-back, .archive-hero-back-row { display: none !important; }
