/* =========================================================
   OPG Kostešić — Misija + Novosti
   - Desktop: 2 stupca (misija lijevo, novosti desno)
   - Mobile: 1 stupac (misija gore, novosti dolje)
   - Koristi tokenske CSS varijable iz hero.css
   ========================================================= */

.opg-mission {
    padding-block: 56px;
    background: var(--opg-cream, #f9f4f0);
    color: var(--opg-ink, #5a3733);
    font-family: var(--opg-font-body, 'Open Sans', system-ui, sans-serif);
}

.opg-mission__container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 32px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .opg-mission { padding-block: 100px; }
    .opg-mission__container {
        grid-template-columns: 1.5fr 1fr;
        gap: 48px;
        align-items: start;
    }
}

/* =========================================================
   Lijevi stupac: slika + naslov + tekst
   ========================================================= */

.opg-mission__media {
    width: 100%;
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(90, 55, 51, 0.08);
}
.opg-mission__media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.opg-mission__media--placeholder {
    aspect-ratio: 4 / 3;
    background: #f1ece6;
    border: 2px dashed rgba(90, 55, 51, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--opg-ink-soft, #8b6a63);
    font-size: 13px;
    padding: 16px;
}

.opg-mission__heading {
    font-family: var(--opg-font-heading, 'Signika Negative', system-ui, sans-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--opg-ink, #5a3733);
    margin: 0 0 18px;
}

.opg-mission__text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--opg-ink-soft, #8b6a63);
}
.opg-mission__text p { margin: 0 0 14px; }
.opg-mission__text p:last-child { margin-bottom: 0; }
.opg-mission__text strong {
    color: var(--opg-ink, #5a3733);
    font-weight: 700;
}
.opg-mission__text a {
    color: var(--opg-brand-dark, #eb6d2f);
    text-decoration: underline;
}

/* =========================================================
   Desni stupac: bijela kartica s novostima
   ========================================================= */

.opg-news {
    background: var(--opg-white, #fff);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(90, 55, 51, 0.10);
    padding: 32px clamp(24px, 4vw, 36px);
}

.opg-news__heading {
    font-family: var(--opg-font-heading, 'Signika Negative', system-ui, sans-serif);
    font-size: clamp(22px, 2.5vw, 26px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--opg-ink, #5a3733);
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(90, 55, 51, 0.08);
}

.opg-news__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.opg-news__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(90, 55, 51, 0.06);
}
.opg-news__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.opg-news__date {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--opg-brand-dark, #eb6d2f);
    margin: 0;
}

.opg-news__title {
    font-family: var(--opg-font-heading, 'Signika Negative', system-ui, sans-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    margin: 0;
}
.opg-news__title a {
    color: var(--opg-ink, #5a3733);
    text-decoration: none;
    transition: color 0.2s ease;
}
.opg-news__title a:hover,
.opg-news__title a:focus-visible {
    color: var(--opg-brand-dark, #eb6d2f);
}

.opg-news__excerpt {
    font-size: 13px;
    line-height: 1.55;
    color: var(--opg-ink-soft, #8b6a63);
    margin: 0;
}

.opg-news__empty {
    color: var(--opg-ink-soft, #8b6a63);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    padding: 20px;
    background: #faf6f1;
    border-radius: 6px;
    text-align: center;
}

/* CTA */
.opg-news__cta {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(90, 55, 51, 0.08);
}
.opg-news__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--opg-ink, #5a3733);
    color: var(--opg-white, #fff);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.15s ease;
}
.opg-news__cta-btn::after {
    content: "→";
    font-size: 14px;
    line-height: 1;
}
.opg-news__cta-btn:hover,
.opg-news__cta-btn:focus-visible {
    background: var(--opg-brand-dark, #eb6d2f);
    color: var(--opg-white, #fff);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .opg-news__cta-btn { transition: none; }
}
