:root{
    --bg:#ffffff;
    --text:#10233d;
    --muted:#5a6a85;
    --line:#e7edf3;
    --card:#ffffff;
}

*{box-sizing:border-box}

html, body{
    margin:0;
    padding:0;
    min-height:100%;
    background:var(--bg);
    color:var(--text);
    font-family:Arial,Helvetica,sans-serif;
}

body.am-layout-body{
    min-height:100vh;
}

.am-site-shell{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.am-layout-main{
    flex:1 0 auto;
    width:100%;
    display:block;
    padding-bottom:72px; /* pomembno: zrak pred footerjem */
}

a{color:inherit;text-decoration:none}
.container{width:min(1160px,calc(100% - 32px));margin:0 auto}

.nav-wrap{
    border-bottom:1px solid var(--line);
    background:#fff;
}

.nav-stack{padding:12px 0 8px}

.brand-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:8px;
}

.brand-mark{
    width:44px;
    height:44px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#e8f0f6;
    font-weight:700;
    font-size:20px;
}

.brand{font-size:18px;font-weight:700}
.brand-sub{margin-top:2px;color:var(--muted);font-size:14px}

.menu-pills{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:6px 0 8px;
}

.menu-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border:1px solid var(--line);
    border-radius:999px;
    background:#fff;
    box-shadow:0 2px 8px rgba(16,35,61,.04);
    font-size:14px;
}

.menu-pill.is-active{
    border-color:#cfdbe7;
    background:#f8fbfd;
}

.search-form{
    display:flex;
    gap:8px;
    align-items:center;
    margin-top:0;
}

.search-form input{
    width:min(520px,100%);
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:12px;
    font-size:15px;
}

.search-form button{
    padding:10px 14px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    cursor:pointer;
    font-size:14px;
}

@media (max-width: 900px){
  .nav-wrap{
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(6px);
  }

  .menu-pills{
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }

  .menu-pills::-webkit-scrollbar{display:none}

  .menu-pill{
    flex: 0 0 auto;
    white-space: nowrap;
    font-size:13px;
    padding:8px 12px;
  }

  .search-form{
    display:grid;
    grid-template-columns:1fr auto;
  }

  .search-form input{
    min-width:0;
    width:100%;
    font-size:14px;
    padding:9px 11px;
  }

  .search-form button{
    font-size:13px;
    padding:9px 12px;
  }

  .am-layout-main{
    padding-bottom:56px;
  }
}

/* =========================
   QA DETAIL MODULE
   ========================= */
.qa-detail-page {
    padding: 32px 0 72px;
}

.qa-detail-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.qa-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #6b7280;
}

.qa-breadcrumbs a {
    color: #355c8a;
    text-decoration: none;
}

.qa-breadcrumbs a:hover {
    text-decoration: underline;
}

.qa-breadcrumbs span {
    margin: 0 6px;
}

.qa-hero {
    padding: 24px 0 10px;
    margin-bottom: 24px;
}

.qa-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    margin: 12px 0 20px;
    color: #1f3552;
}

.qa-intro {
    max-width: 800px;
}

.qa-intro p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #46556b;
    margin: 0 0 14px;
}

.qa-block {
    margin-bottom: 28px;
}

.qa-highlight {
    border-left: 4px solid #355c8a;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.qa-card h3,
.qa-step-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1f3552;
    font-size: 1.1rem;
}

.qa-card p,
.qa-step-card p,
.qa-block p,
.qa-closing p {
    line-height: 1.75;
    color: #4b5b70;
}

.qa-list {
    margin: 0;
    padding-left: 20px;
}

.qa-list li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #4b5b70;
}

.qa-steps {
    display: grid;
    gap: 14px;
}

.qa-step-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    align-items: start;
}

.qa-step-no {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f3552;
    background: #eef4fa;
}

.qa-choice-list {
    display: grid;
    gap: 10px;
}

.qa-choice-item {
    padding: 14px 16px;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    background: #fafcff;
    color: #435268;
    line-height: 1.6;
}

.qa-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.qa-links {
    margin: 0;
    padding-left: 18px;
}

.qa-links li {
    margin-bottom: 10px;
}

.qa-links a {
    color: #355c8a;
    text-decoration: none;
}

.qa-links a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .qa-grid,
    .qa-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .qa-detail-page {
        padding: 20px 0 56px;
    }

    .qa-detail-container {
        padding: 0 16px;
    }

    .qa-step-card {
        grid-template-columns: 1fr;
    }

    .qa-step-no {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
}

/* === ALMA FOOTER UNIFY START === */

/* Globalni ritem zaključka strani */
main > section:last-of-type,
.page > section:last-of-type,
.qa-detail-page > section:last-of-type,
.qa-page > section:last-of-type,
.qa-item-page > section:last-of-type,
.content > section:last-of-type,
.content-wrap > section:last-of-type,
.page-content > section:last-of-type {
    margin-bottom: 28px !important;
}

/* Če je zadnji CTA ali aktivacijski blok pred footerjem */
.activation-cta,
.qa-final-cta,
.page-final-cta,
.final-cta,
.section-final,
.section-cta,
.kje-je-pot-naprej,
.pot-naprej {
    margin-bottom: 24px !important;
}

/* Globalni footer – večja vidnost in manj mrtvega prostora */
footer,
.site-footer,
.footer,
.page-footer,
.global-footer {
    margin-top: 28px !important;
    padding-top: 30px !important;
    padding-bottom: 34px !important;
    border-top: 1px solid #e7edf4 !important;
    background: #f8fbff !important;
}

/* Notranji layout footerja */
footer .container,
.site-footer .container,
.footer .container,
.page-footer .container,
.global-footer .container,
footer .footer-wrap,
.site-footer .footer-wrap,
.footer .footer-wrap,
.page-footer .footer-wrap,
.global-footer .footer-wrap,
footer .footer-inner,
.site-footer .footer-inner,
.footer .footer-inner,
.page-footer .footer-inner,
.global-footer .footer-inner {
    max-width: 1140px;
    margin: 0 auto;
}

/* Tipografija footerja */
footer h2,
footer h3,
footer h4,
footer strong,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer strong,
.footer h2,
.footer h3,
.footer h4,
.footer strong,
.page-footer h2,
.page-footer h3,
.page-footer h4,
.page-footer strong,
.global-footer h2,
.global-footer h3,
.global-footer h4,
.global-footer strong {
    color: #1f3552 !important;
}

footer p,
footer li,
footer small,
.site-footer p,
.site-footer li,
.site-footer small,
.footer p,
.footer li,
.footer small,
.page-footer p,
.page-footer li,
.page-footer small,
.global-footer p,
.global-footer li,
.global-footer small {
    color: #5b6b80 !important;
    line-height: 1.7 !important;
}

/* Linki v footerju */
footer a,
.site-footer a,
.footer a,
.page-footer a,
.global-footer a {
    color: #355c8a !important;
    text-decoration: none;
}

footer a:hover,
.site-footer a:hover,
.footer a:hover,
.page-footer a:hover,
.global-footer a:hover {
    text-decoration: underline;
}

/* Razmiki med footer bloki */
footer .footer-col,
footer .footer-block,
.site-footer .footer-col,
.site-footer .footer-block,
.footer .footer-col,
.footer .footer-block,
.page-footer .footer-col,
.page-footer .footer-block,
.global-footer .footer-col,
.global-footer .footer-block {
    margin-bottom: 14px;
}

/* Mobilni ritem */
@media (max-width: 768px) {
    footer,
    .site-footer,
    .footer,
    .page-footer,
    .global-footer {
        margin-top: 24px !important;
        padding-top: 24px !important;
        padding-bottom: 28px !important;
    }

    main > section:last-of-type,
    .page > section:last-of-type,
    .qa-detail-page > section:last-of-type,
    .qa-page > section:last-of-type,
    .qa-item-page > section:last-of-type,
    .content > section:last-of-type,
    .content-wrap > section:last-of-type,
    .page-content > section:last-of-type {
        margin-bottom: 22px !important;
    }
}

/* === ALMA FOOTER UNIFY END === */

/* === ALMA PREMIUM FOOTER START === */

.site-footer {
    margin-top: 32px !important;
    border-top: 1px solid #dfe8f1 !important;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f8fd 100%) !important;
    position: relative;
    z-index: 5;
}

.site-footer::before {
    content: "";
    display: block;
    height: 1px;
    background: rgba(53, 92, 138, 0.06);
}

.site-footer .footer-shell {
    max-width: 1140px;
    margin: 0 auto;
    padding: 34px 20px 18px;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.site-footer .footer-col {
    min-width: 0;
}

.site-footer .footer-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1f3552;
    margin-bottom: 12px;
}

.site-footer .footer-heading {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #355c8a;
    margin-bottom: 12px;
}

.site-footer .footer-text {
    color: #5b6b80;
    line-height: 1.75;
    margin: 0 0 12px;
}

.site-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-links li {
    margin: 0 0 10px;
}

.site-footer .footer-links a {
    color: #355c8a;
    text-decoration: none;
    line-height: 1.6;
}

.site-footer .footer-links a:hover {
    text-decoration: underline;
}

.site-footer .footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e3ebf3;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: #708198;
    font-size: 0.92rem;
}

.site-footer .footer-bottom-left,
.site-footer .footer-bottom-right {
    line-height: 1.5;
}

/* Footer naj ne izgleda kot padel tekst spodaj */
footer.site-footer,
.site-footer,
.page-footer,
.global-footer {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

/* Če je zadnji CTA preveč odmaknjen, ga približaj footerju */
.activation-cta,
.qa-final-cta,
.page-final-cta,
.final-cta,
.section-final,
.section-cta,
.kje-je-pot-naprej,
.pot-naprej {
    margin-bottom: 18px !important;
}

/* Če je zadnji element v vsebini pred footerjem */
main > section:last-of-type,
.page > section:last-of-type,
.content > section:last-of-type,
.page-content > section:last-of-type {
    margin-bottom: 20px !important;
}

@media (max-width: 980px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .site-footer {
        margin-top: 24px !important;
    }

    .site-footer .footer-shell {
        padding: 28px 16px 18px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .site-footer .footer-bottom {
        margin-top: 18px;
        padding-top: 14px;
        flex-direction: column;
        gap: 6px;
    }
}

/* === ALMA PREMIUM FOOTER END === */

/* === ALMA GLOBAL FOOTER START === */

/* manj mrtvega prostora pred footerjem */
main > section:last-of-type,
.page > section:last-of-type,
.page-content > section:last-of-type,
.content > section:last-of-type,
.content-wrap > section:last-of-type,
.qa-detail-page > section:last-of-type,
.qa-page > section:last-of-type,
.qa-item-page > section:last-of-type {
    margin-bottom: 20px !important;
}

.activation-cta,
.qa-final-cta,
.page-final-cta,
.final-cta,
.section-final,
.section-cta,
.kje-je-pot-naprej,
.pot-naprej {
    margin-bottom: 18px !important;
}

/* footer */
.site-footer {
    margin-top: 28px !important;
    border-top: 1px solid #dfe8f1 !important;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5fc 100%) !important;
    position: relative;
    z-index: 5;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.site-footer .footer-shell {
    max-width: 1140px;
    margin: 0 auto;
    padding: 34px 20px 18px;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.site-footer .footer-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1f3552;
    margin-bottom: 12px;
}

.site-footer .footer-heading {
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #355c8a;
    margin-bottom: 12px;
}

.site-footer .footer-text {
    color: #5b6b80;
    line-height: 1.75;
    margin: 0 0 12px;
}

.site-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-links li {
    margin: 0 0 10px;
}

.site-footer .footer-links a {
    color: #355c8a;
    text-decoration: none;
    line-height: 1.6;
}

.site-footer .footer-links a:hover {
    text-decoration: underline;
}

.site-footer .footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e3ebf3;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: #708198;
    font-size: .92rem;
}

@media (max-width: 980px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .site-footer {
        margin-top: 24px !important;
    }

    .site-footer .footer-shell {
        padding: 28px 16px 18px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .site-footer .footer-bottom {
        margin-top: 18px;
        padding-top: 14px;
        flex-direction: column;
        gap: 6px;
    }
}

/* === ALMA GLOBAL FOOTER END === */

/* === ALMA UI UNIFY START === */

:root {
    --am-bg: #ffffff;
    --am-bg-soft: #f8fbff;
    --am-bg-soft-2: #eef5fc;
    --am-ink: #1f3552;
    --am-text: #4f5f75;
    --am-muted: #71839a;
    --am-line: #e4ecf4;
    --am-accent: #355c8a;
    --am-accent-dark: #24486f;
    --am-radius-sm: 16px;
    --am-radius: 22px;
    --am-radius-lg: 28px;
    --am-shadow-sm: 0 8px 22px rgba(31,53,82,0.04);
    --am-shadow: 0 14px 34px rgba(31,53,82,0.06);
    --am-shadow-lg: 0 18px 44px rgba(31,53,82,0.08);
    --am-max: 1140px;
}

/* osnovni reset ritma */
html, body {
    background: var(--am-bg);
    color: var(--am-ink);
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

.container,
.page,
.wrap,
.page-wrap,
.content-wrap,
.qa-detail-container,
.footer-shell {
    max-width: var(--am-max);
}

/* =========================
   HEADER / NAV
   ========================= */

.site-header,
.page-header,
.global-header,
header.site-header,
header.page-header,
header.global-header {
    position: relative;
    z-index: 20;
    background: rgba(255,255,255,0.94);
    border-bottom: 1px solid var(--am-line);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
}

.site-header .container,
.page-header .container,
.global-header .container,
.site-header .nav-wrap,
.page-header .nav-wrap,
.global-header .nav-wrap {
    max-width: var(--am-max);
    margin: 0 auto;
    padding-top: 14px;
    padding-bottom: 14px;
}

.site-header a,
.page-header a,
.global-header a,
nav a {
    color: var(--am-ink);
    text-decoration: none;
}

.site-header a:hover,
.page-header a:hover,
.global-header a:hover,
nav a:hover {
    color: var(--am-accent);
}

.site-header .brand,
.page-header .brand,
.global-header .brand,
.site-logo,
.logo {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--am-ink);
}

/* =========================
   MAIN CONTENT RHYTHM
   ========================= */

main,
.page,
.page-content,
.content,
.content-wrap {
    position: relative;
}

main > section,
.page > section,
.page-content > section,
.content > section,
.content-wrap > section {
    margin-top: 34px;
    margin-bottom: 0;
}

main > section:first-child,
.page > section:first-child,
.page-content > section:first-child,
.content > section:first-child,
.content-wrap > section:first-child {
    margin-top: 0;
}

/* =========================
   HERO / INTRO
   ========================= */

.hero,
.page-hero,
.qa-hero,
.section-hero {
    padding: 18px 0 8px;
    margin-bottom: 22px;
}

.eyebrow,
.section-label,
.hero-eyebrow,
.page-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--am-muted);
    margin-bottom: 14px;
    font-weight: 700;
}

h1,
.hero h1,
.page-hero h1,
.qa-hero h1 {
    color: var(--am-ink);
    font-size: clamp(2.2rem, 4.7vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
}

h2 {
    color: var(--am-ink);
    font-size: clamp(1.6rem, 2.5vw, 2.15rem);
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}

h3 {
    color: var(--am-ink);
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0 0 10px;
}

p,
li {
    color: var(--am-text);
    line-height: 1.75;
}

.hero p,
.qa-intro p,
.lead p,
.section-intro p {
    font-size: 1.05rem;
    max-width: 860px;
}

/* =========================
   CARDS
   ========================= */

.card,
.qa-card,
.module-card,
.topic-card,
.info-card,
.cta-card {
    background: #ffffff;
    border: 1px solid var(--am-line);
    border-radius: var(--am-radius);
    box-shadow: var(--am-shadow-sm);
    padding: 24px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.qa-card:hover,
.module-card:hover,
.topic-card:hover,
.info-card:hover,
.cta-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--am-shadow);
    border-color: #d8e5f1;
}

.card-soft,
.soft-card,
.muted-card {
    background: var(--am-bg-soft);
}

.card-grid,
.grid-2,
.grid-3,
.modules-grid,
.topics-grid,
.qa-grid {
    display: grid;
    gap: 20px;
}

.grid-2,
.card-grid.grid-2,
.qa-grid.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.card-grid.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.equal-cards > .card,
.grid-2.equal > .card,
.grid-3.equal > .card {
    height: 100%;
}

/* =========================
   LINKS / BUTTON-LIKE CTA
   ========================= */

a.cta-link,
.cta-link a,
.more-link,
.card-link,
.open-link {
    font-weight: 700;
    color: var(--am-accent);
    text-decoration: none;
}

a.cta-link:hover,
.cta-link a:hover,
.more-link:hover,
.card-link:hover,
.open-link:hover {
    text-decoration: underline;
}

.button,
.btn,
a.button,
a.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--am-accent);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--am-shadow-sm);
}

.button:hover,
.btn:hover,
a.button:hover,
a.btn:hover {
    background: var(--am-accent-dark);
    text-decoration: none;
}

/* =========================
   CTA / ACTIVATION BLOCKS
   ========================= */

.activation-cta,
.qa-final-cta,
.page-final-cta,
.final-cta,
.section-final,
.section-cta,
.kje-je-pot-naprej,
.pot-naprej,
.activation-box,
.activation-block {
    margin-top: 28px;
    margin-bottom: 20px !important;
    padding: 30px 0 6px;
    border-top: 1px solid var(--am-line);
}

.activation-cta .card,
.qa-final-cta .card,
.page-final-cta .card,
.final-cta .card,
.section-final .card,
.section-cta .card,
.kje-je-pot-naprej .card,
.pot-naprej .card,
.activation-box .card,
.activation-block .card {
    background: linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
    border-color: #dfe8f1;
    box-shadow: var(--am-shadow);
}

.activation-cta h2,
.qa-final-cta h2,
.page-final-cta h2,
.final-cta h2,
.section-final h2,
.section-cta h2,
.kje-je-pot-naprej h2,
.pot-naprej h2,
.activation-box h2,
.activation-block h2 {
    margin-bottom: 10px;
}

/* =========================
   LISTS / STEPS
   ========================= */

.bullet-list,
.link-list,
.qa-list,
.steps,
.qa-steps {
    margin-top: 0;
}

.bullet-list,
.link-list,
.qa-list {
    padding-left: 22px;
}

.bullet-list li,
.link-list li,
.qa-list li {
    margin-bottom: 10px;
}

.steps,
.qa-steps {
    display: grid;
    gap: 16px;
}

.step,
.qa-step-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 16px;
    align-items: start;
}

.step-no,
.qa-step-no {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--am-bg-soft-2);
    color: var(--am-accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.22rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

/* =========================
   FORMS / SEARCH / INPUTS
   ========================= */

input,
textarea,
select {
    border: 1px solid var(--am-line);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--am-ink);
    background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #b8cee5;
    box-shadow: 0 0 0 4px rgba(53,92,138,0.08);
}

/* =========================
   FOOTER EXTRA HARMONY
   ========================= */

.site-footer {
    margin-top: 30px !important;
}

.site-footer .footer-title {
    letter-spacing: -0.02em;
}

.site-footer .footer-links a {
    transition: color 160ms ease;
}

/* =========================
   UTILITY SPACING
   ========================= */

.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
    .grid-3,
    .card-grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .grid-2,
    .grid-3,
    .card-grid.grid-2,
    .card-grid.grid-3,
    .modules-grid,
    .topics-grid,
    .qa-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    h1,
    .hero h1,
    .page-hero h1,
    .qa-hero h1 {
        margin-bottom: 16px;
    }

    .card,
    .qa-card,
    .module-card,
    .topic-card,
    .info-card,
    .cta-card {
        padding: 20px;
        border-radius: 18px;
    }

    .step,
    .qa-step-card {
        grid-template-columns: 1fr;
    }

    .step-no,
    .qa-step-no {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        font-size: 1.08rem;
    }

    .site-header .container,
    .page-header .container,
    .global-header .container,
    .site-header .nav-wrap,
    .page-header .nav-wrap,
    .global-header .nav-wrap {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

/* === ALMA UI UNIFY END === */

/* =========================
   QA HYBRID DESIGN (ALMA STYLE)
   ========================= */

/* širina bolj kontrolirana */
.qa-detail-container {
  max-width: 900px;
  margin: 0 auto;
}

/* več zraka med sekcijami */
.qa-page .section {
  margin-bottom: 40px;
}

/* naslovi bolj “editorial” */
.qa-page h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

/* =========================
   KLJUČNO SPOROČILO
   ========================= */

.key-message {
  border-left: 4px solid #3b82f6;
  background: #f8fbff;
  padding: 20px 22px;
}

/* =========================
   TIPIČNA NAPAKA
   ========================= */

.qa-page .section.card ul {
  padding-left: 18px;
}

.qa-page .section.card li {
  margin-bottom: 8px;
}

/* =========================
   KJE SEM (mehki blok)
   ========================= */

.highlight {
  background: #f9fafb;
  border: 1px solid #eef2f7;
  border-radius: 14px;
}

/* =========================
   STEP SISTEM (pot naprej)
   ========================= */

.qa-step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
}

.qa-step-no {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* =========================
   CHOICE (stanje)
   ========================= */

.choice-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #eef2f7;
  background: #fafafa;
}

/* =========================
   GRID KARTICE (kaj se dogaja)
   ========================= */

.qa-card {
  border-radius: 14px;
  border: 1px solid #eef2f7;
  padding: 16px;
  background: #ffffff;
}

/* =========================
   DEEPER + RELATED
   ========================= */

.link-list li {
  margin-bottom: 8px;
}

.link-list a {
  text-decoration: none;
  color: #1f3552;
}

.link-list a:hover {
  text-decoration: underline;
}

/* =========================
   ZAKLJUČEK (editorial)
   ========================= */

.closing {
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid #eef2f7;
}

/* =========================
   BLOKI Z LEVO LINIJO (kot stari stil)
   ========================= */

.qa-accent {
  border-left: 4px solid #6366f1;
  padding-left: 16px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .qa-detail-container {
    padding: 0 16px;
  }
}

/* === ALMA QA FINAL GOLD START === */

.qa-detail-container {
    max-width: 920px;
    margin: 0 auto;
}

.qa-page .section {
    margin-bottom: 40px;
}

.qa-page .breadcrumbs {
    margin-bottom: 18px;
    font-size: 14px;
    color: #72839b;
}

.qa-page .breadcrumbs .sep {
    margin: 0 6px;
}

.qa-page .qa-hero {
    padding-top: 8px;
    padding-bottom: 6px;
    margin-bottom: 24px;
}

.qa-page .qa-hero h1 {
    max-width: 900px;
    margin-bottom: 18px;
}

.qa-page .qa-intro p {
    max-width: 860px;
    font-size: 1.06rem;
    line-height: 1.8;
}

.qa-page .section-intro {
    margin-bottom: 14px;
}

.qa-page .section-intro p {
    max-width: 850px;
}

/* Panel sistem */
.qa-panel {
    position: relative;
    display: grid;
    grid-template-columns: 6px 1fr;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #e7edf4;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(31,53,82,.04);
}

.qa-panel .qa-panel-bar {
    background: #dbe7f3;
}

.qa-panel .qa-panel-body {
    padding: 24px 24px 24px 22px;
}

.qa-panel .qa-panel-kicker {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #6d819b;
    margin-bottom: 10px;
}

.qa-panel-neutral {
    background: #fbfcfe;
}

.qa-panel-neutral .qa-panel-bar {
    background: #cfdbe8;
}

.qa-panel-message {
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
    box-shadow: 0 14px 34px rgba(53,92,138,.07);
}

.qa-panel-message .qa-panel-bar {
    background: linear-gradient(180deg, #3b82f6 0%, #355c8a 100%);
}

.qa-panel-warning {
    background: linear-gradient(180deg, #fffdfb 0%, #fff8f2 100%);
}

.qa-panel-warning .qa-panel-bar {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.qa-panel-soft {
    background: linear-gradient(180deg, #fcfcfe 0%, #f8fafc 100%);
}

.qa-panel-soft .qa-panel-bar {
    background: linear-gradient(180deg, #8b5cf6 0%, #6366f1 100%);
}

.qa-panel-closing {
    background: linear-gradient(180deg, #fbfcfe 0%, #f7fafc 100%);
}

.qa-panel-closing .qa-panel-bar {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

/* Kaj se dogaja grid */
.qa-grid {
    gap: 18px;
}

.qa-card {
    border-radius: 18px;
    border: 1px solid #e9eff5;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(31,53,82,.035);
    padding: 20px;
}

/* Hover / lift */
.qa-lift {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.qa-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(31,53,82,.07);
    border-color: #d9e6f0;
}

/* Pot naprej */
.qa-section-header {
    margin-bottom: 14px;
}

.qa-section-kicker {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #7a6df0;
    margin-bottom: 10px;
}

.qa-steps {
    gap: 16px;
}

.qa-step-card {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 18px;
    align-items: start;
    border-radius: 18px;
    border: 1px solid #e8eef5;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(31,53,82,.035);
    padding: 18px;
}

.qa-step-no {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(180deg, #eef4fa 0%, #e7eef6 100%);
    color: #24486f;
    font-weight: 800;
    font-size: 1.18rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.qa-step-content h3 {
    margin-bottom: 8px;
}

.qa-step-content p {
    margin: 0;
}

/* Choice rows */
.qa-choice-row {
    padding: 14px 16px;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    background: #fafbfd;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.qa-choice-row:hover {
    border-color: #d7e3ee;
    background: #ffffff;
    transform: translateX(2px);
}

/* Related / deeper */
.qa-related-card {
    border-radius: 20px;
    border: 1px solid #e8eef5;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(31,53,82,.035);
}

.qa-link-list li {
    margin-bottom: 10px;
}

.qa-link-list a {
    color: #1f3552;
    font-weight: 700;
    text-decoration: none;
    transition: color 150ms ease, padding-left 150ms ease;
}

.qa-link-list a:hover {
    color: #355c8a;
    padding-left: 2px;
    text-decoration: underline;
}

/* Zaključek paragraphs */
.qa-panel-closing p:last-child,
.qa-panel-message p:last-child,
.qa-panel-neutral p:last-child,
.qa-panel-warning li:last-child {
    margin-bottom: 0;
}

/* Mehka fade animacija */
.qa-fade {
    opacity: 0;
    transform: translateY(8px);
    animation: qaFadeUp .42s ease forwards;
}

.qa-delay-1 { animation-delay: .02s; }
.qa-delay-2 { animation-delay: .06s; }
.qa-delay-3 { animation-delay: .10s; }
.qa-delay-4 { animation-delay: .14s; }
.qa-delay-5 { animation-delay: .18s; }
.qa-delay-6 { animation-delay: .22s; }
.qa-delay-7 { animation-delay: .26s; }
.qa-delay-8 { animation-delay: .30s; }
.qa-delay-9 { animation-delay: .34s; }
.qa-delay-10 { animation-delay: .38s; }

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

/* Manj “preširoko” na velikih ekranih */
@media (min-width: 1200px) {
    .qa-detail-container {
        max-width: 900px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .qa-detail-container {
        max-width: 100%;
    }
}

@media (max-width: 680px) {
    .qa-panel {
        grid-template-columns: 5px 1fr;
        border-radius: 16px;
    }

    .qa-panel .qa-panel-body {
        padding: 20px 18px 20px 18px;
    }

    .qa-step-card {
        grid-template-columns: 1fr;
        gap: 14px;
        border-radius: 16px;
    }

    .qa-step-no {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 1.05rem;
    }

    .qa-card,
    .qa-related-card {
        border-radius: 16px;
    }
}

/* === ALMA QA FINAL GOLD END === */
