/* =====================================================
   MEDVOŠKO OGLEDALO
   Modra + turkizna različica
===================================================== */


/* =====================================================
   BARVNA PALETA
===================================================== */

:root {

    --blue-dark: #123B5D;
    --blue: #1976A8;

    --turquoise: #16A6A0;
    --turquoise-soft: #E8F7F6;

    --dark: #123B5D;

    --text: #17231D;
    --muted: #66736C;

    --line: #D8E5EA;

    --white: #FFFFFF;
    --light: #F2F8FA;

    --radius: 18px;

    --shadow:
        0 12px 35px rgba(18, 59, 93, 0.09);

}


/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.65;

}


a {

    color: inherit;

    text-decoration: none;

}


img {

    max-width: 100%;

    display: block;

}



/* =====================================================
   CONTAINER
===================================================== */

.container {

    width:
        min(
            1120px,
            calc(100% - 40px)
        );

    margin:
        0 auto;

}


.narrow {

    max-width:
        820px;

}



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

.site-header {

    position:
        sticky;

    top:
        0;

    z-index:
        1000;

    background:
        rgba(255,255,255,.96);

    backdrop-filter:
        blur(12px);

    border-bottom:
        1px solid var(--line);

}


.header-inner {

    min-height:
        78px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

}



/* =====================================================
   LOGO
===================================================== */

.logo {

    display:
        flex;

    flex-direction:
        column;

    line-height:
        1;

}


.logo-main {

    font-size:
        1.05rem;

    font-weight:
        800;

    letter-spacing:
        .08em;

    color:
        var(--blue-dark);

}


.logo-sub {

    margin-top:
        7px;

    color:
        var(--turquoise);

    font-size:
        .72rem;

    font-weight:
        700;

    letter-spacing:
        .28em;

}



/* =====================================================
   NAVIGATION
===================================================== */

.main-nav {

    display:
        flex;

    gap:
        30px;

    font-size:
        .92rem;

    font-weight:
        600;

}


.main-nav a {

    transition:
        color .2s ease;

}


.main-nav a:hover {

    color:
        var(--turquoise);

}



/* =====================================================
   MOBILE MENU
===================================================== */

.menu-toggle {

    display:
        none;

    border:
        0;

    background:
        transparent;

    color:
        var(--blue-dark);

    font-size:
        1.6rem;

    cursor:
        pointer;

}



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

.hero {

    padding:
        100px 0 90px;

    background:
        linear-gradient(
            180deg,
            #F2F8FA 0%,
            #FFFFFF 100%
        );

}


.hero-grid {

    display:
        grid;

    grid-template-columns:
        1.15fr .85fr;

    gap:
        55px;

    align-items:
        center;

}


.eyebrow {

    margin-bottom:
        12px;

    color:
        var(--turquoise);

    font-size:
        .76rem;

    font-weight:
        800;

    letter-spacing:
        .16em;

}


.hero h1 {

    margin:
        0 0 25px;

    font-size:
        clamp(
            2.7rem,
            6vw,
            5rem
        );

    line-height:
        1.02;

    letter-spacing:
        -.055em;

}


.hero h1 span {

    display:
        block;

    color:
        var(--blue-dark);

}


.hero-text {

    max-width:
        700px;

    color:
        var(--muted);

    font-size:
        1.15rem;

}


.hero-buttons {

    display:
        flex;

    gap:
        12px;

    flex-wrap:
        wrap;

    margin-top:
        30px;

}



/* =====================================================
   BUTTONS
===================================================== */

.btn {

    display:
        inline-block;

    padding:
        13px 19px;

    border-radius:
        10px;

    font-weight:
        700;

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.btn:hover {

    transform:
        translateY(-2px);

}


.btn-primary {

    background:
        var(--turquoise);

    color:
        #FFFFFF;

}


.btn-primary:hover {

    box-shadow:
        0 8px 20px rgba(22,166,160,.22);

}


.btn-secondary {

    border:
        1px solid var(--line);

    background:
        var(--white);

    color:
        var(--blue-dark);

}



/* =====================================================
   HERO CARD
===================================================== */

.hero-card {

    min-height:
        420px;

    padding:
        0;

    overflow:
        hidden;

    border:
        1px solid var(--line);

    border-radius:
        28px;

    background:
        var(--white);

    box-shadow:
        var(--shadow);

    display:
        flex;

    flex-direction:
        column;

}


.hero-image {

    width:
        100%;

    height:
        340px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    overflow:
        hidden;

    background:
        var(--light);

}


.hero-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        contain;

    object-position:
        center;

}


.hero-card-content {

    padding:
        25px 30px 28px;

}


.hero-card-content strong {

    display:
        block;

    margin-bottom:
        8px;

    color:
        var(--blue-dark);

}


.hero-card-content p {

    margin:
        0 0 10px;

    color:
        var(--muted);

}


.hero-card-content small {

    color:
        var(--turquoise);

}



/* =====================================================
   SECTIONS
===================================================== */

.section {

    padding:
        90px 0;

}


.section-light {

    background:
        var(--light);

}


.section-heading {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        end;

    gap:
        30px;

    margin-bottom:
        35px;

}


.section-heading p {

    margin:
        0;

    color:
        var(--muted);

}


h2 {

    margin:
        0 0 30px;

    color:
        var(--blue-dark);

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height:
        1.1;

    letter-spacing:
        -.04em;

}



/* =====================================================
   ARTICLES
===================================================== */

.article-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        20px;

}


.article-card {

    min-height:
        300px;

    padding:
        27px;

    display:
        flex;

    flex-direction:
        column;

    border:
        1px solid var(--line);

    border-radius:
        var(--radius);

    background:
        var(--white);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.article-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow);

}


.article-card.featured {

    border-top:
        4px solid var(--turquoise);

}


.article-tag {

    color:
        var(--turquoise);

    font-size:
        .7rem;

    font-weight:
        800;

    letter-spacing:
        .13em;

}


.article-card h3 {

    margin:
        10px 0 14px;

    color:
        var(--blue-dark);

    font-size:
        1.35rem;

    line-height:
        1.25;

}


.article-card p {

    margin-top:
        0;

    color:
        var(--muted);

}


.article-footer {

    margin-top:
        auto;

    padding-top:
        25px;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        15px;

    font-size:
        .75rem;

    font-weight:
        700;

}


.article-footer span {

    color:
        #87938D;

}


.article-footer a {

    color:
        var(--blue);

}



/* =====================================================
   TOPICS
===================================================== */

.topic-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        15px;

}


.topic-card {

    padding:
        23px;

    border:
        1px solid var(--line);

    border-radius:
        15px;

    background:
        var(--white);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.topic-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow);

}


.topic-icon {

    display:
        block;

    margin-bottom:
        14px;

    font-size:
        1.4rem;

}


.topic-card strong {

    display:
        block;

    margin-bottom:
        6px;

    color:
        var(--blue-dark);

}


.topic-card span:last-child {

    color:
        var(--muted);

    font-size:
        .88rem;

}



/* =====================================================
   O PROJEKTU
===================================================== */

.large-text {

    font-size:
        1.35rem;

    line-height:
        1.6;

}



/* =====================================================
   DARK SECTION
===================================================== */

.section-dark {

    background:
        var(--blue-dark);

    color:
        var(--white);

}


.section-dark h2 {

    color:
        var(--white);

}


.section-dark .eyebrow {

    color:
        #67D7D2;

}


.social-grid {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        15px;

}


.social-card {

    padding:
        25px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius:
        15px;

    transition:
        border-color .2s ease,
        transform .2s ease;

}


.social-card:hover {

    border-color:
        var(--turquoise);

    transform:
        translateY(-2px);

}


.social-card strong {

    display:
        block;

    margin-bottom:
        6px;

    font-size:
        1.1rem;

}


.social-card span {

    color:
        #B7C4BD;

}



/* =====================================================
   FOOTER
===================================================== */

.site-footer {

    border-top:
        1px solid var(--line);

    padding:
        25px 0;

    color:
        var(--muted);

    font-size:
        .82rem;

}


.footer-inner {

    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;

}



/* =====================================================
   STRAN ČLANKA
===================================================== */

.article-page {

    padding:
        80px 0 100px;

}


.article-container {

    max-width:
        900px;

}


/* =====================================================
   GLAVA ČLANKA
===================================================== */

.article-header {

    max-width:
        850px;

    margin:
        0 auto 45px;

}


.article-category {

    margin-bottom:
        16px;

    color:
        var(--turquoise);

    font-size:
        .75rem;

    font-weight:
        800;

    letter-spacing:
        .16em;

}


.article-header h1 {

    margin:
        0 0 25px;

    color:
        var(--blue-dark);

    font-size:
        clamp(
            2.3rem,
            5vw,
            4rem
        );

    line-height:
        1.08;

    letter-spacing:
        -.045em;

}


.article-lead {

    margin:
        0 0 25px;

    color:
        var(--muted);

    font-size:
        1.25rem;

    line-height:
        1.6;

}


.article-meta {

    display:
        flex;

    gap:
        10px;

    align-items:
        center;

    color:
        #87938D;

    font-size:
        .78rem;

    font-weight:
        700;

    letter-spacing:
        .04em;

}



/* =====================================================
   NASLOVNA SLIKA ČLANKA
===================================================== */

.article-image {

    margin:
        0 0 55px;

    overflow:
        hidden;

    border-radius:
        20px;

    background:
        var(--light);

    box-shadow:
        var(--shadow);

}


.article-image img {

    width:
        100%;

    height:
        auto;

}



/* =====================================================
   BESEDILO ČLANKA
===================================================== */

.article-content {

    max-width:
        760px;

    margin:
        0 auto;

    font-size:
        1.08rem;

    line-height:
        1.85;

}


.article-content p {

    margin:
        0 0 25px;

}


.article-content h2 {

    margin:
        65px 0 25px;

    padding-top:
        10px;

    color:
        var(--blue-dark);

    font-size:
        clamp(
            1.55rem,
            3vw,
            2.1rem
        );

    line-height:
        1.2;

}


.article-content strong {

    color:
        var(--blue-dark);

}


.article-content ul {

    margin:
        0 0 30px;

    padding-left:
        28px;

}


.article-content li {

    margin-bottom:
        10px;

    padding-left:
        4px;

}



/* =====================================================
   POUDARKI
===================================================== */

.article-highlight {

    margin:
        35px 0;

    padding:
        25px 28px;

    border-left:
        5px solid var(--turquoise);

    border-radius:
        0 14px 14px 0;

    background:
        var(--turquoise-soft);

    color:
        var(--blue-dark);

    font-size:
        1.12rem;

    line-height:
        1.65;

}


.article-strong {

    color:
        var(--blue-dark);

    font-weight:
        700;

}


.article-direction {

    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;

    margin:
        35px 0;

    padding:
        25px 28px;

    border:
        1px solid var(--line);

    border-radius:
        15px;

    background:
        var(--light);

    color:
        var(--blue-dark);

}



/* =====================================================
   VIR
===================================================== */

.article-source {

    margin-top:
        55px;

    padding-top:
        20px;

    border-top:
        1px solid var(--line);

    color:
        var(--muted);

    font-size:
        .9rem;

}


.article-photo-credit {

    margin-top:
        12px;

    color:
        #87938D;

    font-size:
        .82rem;

}



/* =====================================================
   NAZAJ
===================================================== */

.article-back {

    max-width:
        760px;

    margin:
        55px auto 0;

    padding-top:
        30px;

    border-top:
        1px solid var(--line);

}


.article-back .btn {

    display:
        inline-block;

}



/* =====================================================
   MOBILNI PRIKAZ
===================================================== */

@media (max-width: 800px) {


    .container {

        width:
            min(
                100% - 28px,
                1120px
            );

    }


    .menu-toggle {

        display:
            block;

    }


    .main-nav {

        display:
            none;

        position:
            absolute;

        top:
            72px;

        left:
            14px;

        right:
            14px;

        flex-direction:
            column;

        gap:
            0;

        padding:
            10px;

        border:
            1px solid var(--line);

        border-radius:
            14px;

        background:
            var(--white);

        box-shadow:
            var(--shadow);

    }


    .main-nav.open {

        display:
            flex;

    }


    .main-nav a {

        padding:
            12px;

    }


    /* =================================================
       HERO – MOBILNI PRIKAZ
    ================================================= */

    .hero {

        padding:
            65px 0;

    }


    .hero-grid {

        grid-template-columns:
            1fr;

        gap:
            35px;

    }


    .hero h1 {

        font-size:
            clamp(
                2.4rem,
                11vw,
                3.4rem
            );

    }


    .hero-text {

        font-size:
            1.05rem;

    }


    .hero-card {

        min-height:
            auto;

    }


    .hero-image {

        height:
            280px;

    }


    .hero-card-content {

        padding:
            22px 24px 25px;

    }


    /* =================================================
       SECTIONS
    ================================================= */

    .section {

        padding:
            65px 0;

    }


    .section-heading {

        display:
            block;

    }


    .section-heading p {

        margin-top:
            -15px;

        margin-bottom:
            25px;

    }


    .article-grid,
    .topic-grid {

        grid-template-columns:
            1fr;

    }


    .social-grid {

        grid-template-columns:
            1fr;

    }


    .footer-inner {

        flex-direction:
            column;

        gap:
            7px;

    }


    /* =================================================
       MOBILNI PRIKAZ ČLANKA
    ================================================= */

    .article-page {

        padding:
            55px 0 70px;

    }


    .article-header {

        margin-bottom:
            30px;

    }


    .article-header h1 {

        font-size:
            2.15rem;

    }


    .article-lead {

        font-size:
            1.08rem;

    }


    .article-image {

        margin-bottom:
            40px;

        border-radius:
            14px;

    }


    .article-content {

        font-size:
            1rem;

        line-height:
            1.75;

    }


    .article-content h2 {

        margin-top:
            50px;

    }


    .article-highlight {

        padding:
            20px;

        font-size:
            1rem;

    }


    .article-direction {

        padding:
            20px;

    }

}
/* Nadgradnja uredniške naslovnice */
.editorial-intro{background:linear-gradient(180deg,#f2f8fa,#fff);padding:64px 0 68px}.editorial-intro-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:42px;align-items:center}.editorial-intro h1{font-size:clamp(2.6rem,5vw,4.8rem);line-height:1.08;color:var(--blue-dark);margin:0 0 14px;letter-spacing:-.045em}.editorial-intro p{max-width:560px}.editorial-lead{font-size:1.55rem;font-weight:750;color:var(--turquoise)}.intro-image{border-radius:20px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line)}.intro-image img{width:100%;height:auto}.editorial-intro .btn{margin-top:14px}.editorial-section{padding-top:65px}.editorial-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.editorial-feature,.editorial-small{border:1px solid var(--line);border-radius:18px;padding:32px;background:#fff}.editorial-feature{border-top:5px solid var(--turquoise);display:flex;flex-direction:column;align-items:flex-start;min-height:340px}.editorial-feature h3{font-size:clamp(1.7rem,3vw,2.55rem);line-height:1.2;color:var(--blue-dark);margin:15px 0}.editorial-feature h3 a:hover{text-decoration:underline}.editorial-feature p{color:var(--muted)}.editorial-read{color:var(--blue);font-weight:750;margin-top:auto}.editorial-side{display:grid;gap:20px}.editorial-small h3{font-size:1.28rem;color:var(--blue-dark);line-height:1.3;margin:12px 0}.editorial-small p,.editorial-small small,.muted-note{color:var(--muted)}.editorial-small small{font-weight:700}.editorial-section .section-heading{margin-bottom:28px}.editorial-section .section-heading h2{margin-bottom:0}.topic-card{cursor:default}@media(max-width:800px){.editorial-intro{padding:45px 0}.editorial-intro-grid,.editorial-layout{grid-template-columns:1fr}.editorial-feature{min-height:280px}.editorial-feature,.editorial-small{padding:24px}.editorial-intro h1{font-size:2.8rem}}

/* Fotografija izpostavljenega članka na naslovnici */
.editorial-feature .feature-photo{display:block;width:100%;margin:0 0 22px;overflow:hidden;border-radius:12px}
.editorial-feature .feature-photo img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.editorial-feature .feature-photo:focus-visible{outline:3px solid var(--turquoise);outline-offset:3px}

/* Logotip uredništva */
.logo {display:flex; flex-direction:row; align-items:center; flex-shrink:1; min-width:0;}
.logo img {display:block; width:clamp(175px, 25vw, 300px); max-width:100%; height:auto;}
@media(max-width:600px){.logo img{width:190px;}}

.letter-form{display:grid;gap:12px;margin:24px 0}.letter-form input:not([type=checkbox]),.letter-form textarea{width:100%;padding:12px;border:1px solid #aab5c2;border-radius:6px;font:inherit;box-sizing:border-box}.letter-form label{font-weight:600}.letter-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400!important}.letter-form button{justify-self:start}

/* Popravki naslovnice, 17. 11. 2026 */
@media (min-width: 801px) {
  .editorial-intro { padding-top: 46px; padding-bottom: 24px; }
  .editorial-intro-grid { grid-template-columns: .83fr 1.27fr; gap: 28px; }
  .editorial-section { padding-top: 26px; }
}
@media (max-width: 800px) {
  .editorial-intro { padding-bottom: 18px; }
  .editorial-section { padding-top: 24px; }
}

/* Uredniska kolumna se ne razteza po visini desnega stolpca. */
.editorial-layout{align-items:start;}
.editorial-layout > .pinned-column{align-self:start;height:auto;}
