/*
Theme Name: MEPS
Theme URI: https://mepsconference.com/
Description: Samostalna tema za MEPS konferenciju (Međunarodna ekonomska pozicija Srbije). Plava/zlatna paleta, Manrope + Source Serif 4. Ne zahteva roditeljsku temu.
Author: MEPS
Version: 1.7.1
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meps
*/

/* ==========================================================================
   1. Tokeni
   ========================================================================== */
:root {
	--navy: #0E2747;
	--navy-2: #16345A;
	--blue: #1D5FAE;
	--ink: #14202E;
	--ink-2: #2B3949;
	--muted: #4A5868;
	--line: #DCE3EC;
	--line-2: #EDF1F6;
	--line-3: #B7C3D3;
	--bg: #F4F6F9;
	--ph: #E7ECF3;
	--accent: #E3B23C;       /* promeni ovde ako klijent hoće drugu akcentnu boju */
	--serif: 'Source Serif 4', Georgia, serif;
	--sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   2. Osnova (sve je pod body.meps da ne dira ništa drugo)
   ========================================================================== */
body.meps {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.meps *, .meps *::before, .meps *::after { box-sizing: border-box; }
.meps img { max-width: 100%; height: auto; display: block; }
.meps h1, .meps h2, .meps h3, .meps p, .meps ul { margin: 0; padding: 0; }
.meps ul { list-style: none; }
.meps a { color: var(--blue); }
.meps a:hover { color: var(--navy); }
.meps :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.meps-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.meps-section { padding: 88px 0; background: #fff; }
.meps-section--grey { background: var(--bg); }
.meps-stack { display: flex; flex-direction: column; }

.meps-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
.meps-skip:focus { left: 8px; top: 8px; }

.meps-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.meps-eyebrow--accent { color: var(--accent); }
.meps-h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 40px); line-height: 1.15; color: var(--navy); margin-top: 12px !important; }

/* ==========================================================================
   3. Dugmad
   ========================================================================== */
.meps a.meps-btn, .meps button.meps-btn {
	display: inline-flex; align-items: center; justify-content: center;
	text-decoration: none; border-radius: 8px; font-family: inherit;
	font-weight: 700; font-size: 16px; line-height: 1.2;
	padding: 14px 26px; min-height: 44px; cursor: pointer;
	border: 1.5px solid transparent;
}
.meps a.meps-btn--accent, .meps a.meps-btn--accent:hover { background: var(--accent); color: var(--navy); }
.meps a.meps-btn--outline, .meps a.meps-btn--outline:hover { border-color: #fff; color: #fff; }
.meps a.meps-btn--outline:hover { background: rgba(255, 255, 255, .1); }
.meps a.meps-btn--ghost, .meps a.meps-btn--ghost:hover { border-color: var(--line-3); color: var(--navy); font-size: 15px; padding: 11px 18px; }
.meps a.meps-btn--ghost:hover { background: var(--bg); }
.meps button.meps-btn--navy { background: var(--navy); color: #fff; border: none; }
.meps button.meps-btn--navy:hover { background: var(--navy-2); }

/* ==========================================================================
   4. Zaglavlje + navigacija
   ========================================================================== */
.meps-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.meps-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; max-width: 1200px; margin: 0 auto; }
.meps a.meps-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.meps-brand__mark { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; letter-spacing: .5px; }
.meps-brand__logo { height: 44px; width: auto; }
.meps-brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.meps-brand__text strong { font-size: 16px; }
.meps-brand__text span { font-size: 12px; color: var(--muted); }

.meps-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.meps-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.meps-nav a:hover { color: var(--blue); }
.meps-nav .is-current > a { color: var(--navy); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.meps-nav .meps-nav__cta a { background: var(--accent); color: var(--navy); padding: 12px 20px; border-radius: 8px; font-weight: 700; display: inline-block; border: 0; }
.meps-nav .meps-nav__cta a:hover { color: var(--navy); filter: brightness(.95); }

.meps-nav-toggle { display: none; font-family: inherit; font-weight: 700; font-size: 15px; background: var(--bg); color: var(--navy); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; min-height: 44px; cursor: pointer; }

@media (max-width: 900px) {
	.meps-js .meps-nav-toggle { display: inline-flex; }
	.meps-js .meps-nav { display: none; width: 100%; }
	.meps-js .meps-nav.is-open { display: block; }
	.meps-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 8px; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.meps-hero { background: var(--navy); color: #fff; }
.meps-hero__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.meps-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.meps-hero h1 { font-family: var(--serif); font-size: clamp(46px, 7vw, 72px); line-height: 1; font-weight: 700; color: #fff; }
.meps-hero__sub { font-size: 24px; line-height: 1.35; font-weight: 600; }
.meps-hero__lead { font-size: 18px; line-height: 1.5; color: #D5DEEA; max-width: 520px; }
.meps-dates { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 4px; }
.meps-dates div { display: flex; flex-direction: column; gap: 2px; }
.meps-dates strong { font-weight: 700; }
.meps-dates span { color: #C3CFDE; }
.meps-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.meps-hero .meps-media { flex: 1 1 420px; min-width: 0; height: 420px; border-radius: 16px; }
.meps-hero .meps-media--ph { border: 2px dashed #5E7799; background: var(--navy-2); color: #C3CFDE; }

/* ==========================================================================
   6. Placeholder / slike
   ========================================================================== */
.meps-media { background: var(--ph); color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; font-size: 13px; padding: 0; }
.meps-media--ph { padding: 12px; line-height: 1.4; word-break: break-word; }
.meps-media img { width: 100%; height: 100%; object-fit: cover; }
.meps-media--contain img { object-fit: contain; padding: 14px; }

/* ==========================================================================
   7. O konferenciji
   ========================================================================== */
.meps-about { display: flex; flex-wrap: wrap; gap: 48px; }
.meps-about__l { flex: 1 1 360px; min-width: 0; }
.meps-about__r { flex: 1.4 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.meps-about__r p { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.meps a.meps-more { font-weight: 700; font-size: 16px; text-decoration: none; }

/* ==========================================================================
   8. Tabovi (agenda, godine)
   ========================================================================== */
.meps-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.meps-tab { font-family: inherit; font-size: 15px; font-weight: 700; padding: 12px 20px; min-height: 44px; border-radius: 8px; border: 1.5px solid var(--line-3); background: #fff; color: var(--navy); cursor: pointer; text-align: left; }
.meps-tab[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.meps-tab:hover:not([aria-selected="true"]) { background: var(--bg); }
.meps-tabs--years { flex-direction: column; flex: 0 1 180px; }
.meps-tabs--years .meps-tab { font-family: var(--serif); font-size: 28px; padding: 14px 20px; border: none; border-radius: 10px; background: var(--bg); }
.meps-tabs--years .meps-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.meps-tab-panel[hidden] { display: none !important; }

/* ==========================================================================
   9. Arhiva (naslovna)
   ========================================================================== */
.meps-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.meps-archive { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.meps-archive__panels { flex: 999 1 560px; min-width: 0; }
.meps-card { border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 20px; background: #fff; }
.meps-card h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 30px); line-height: 1.2; color: var(--navy); }
.meps-card__kind { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
.meps-card__meta { font-size: 16px; color: var(--muted); line-height: 1.6; }
.meps-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.meps-photos .meps-media { aspect-ratio: 4 / 3; border-radius: 10px; }
.meps-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   10. Agenda
   ========================================================================== */
.meps-agenda { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.meps-agenda__top { padding: 20px 28px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--ink-2); }
.meps-agenda__top strong { color: var(--navy); }
.meps-agenda__row { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 18px 28px; border-bottom: 1px solid var(--line-2); }
.meps-agenda__time { flex: 0 0 130px; font-size: 15px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.meps-agenda__body { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.meps-agenda__title { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.meps-agenda__who { font-size: 14px; color: var(--muted); line-height: 1.5; }
.meps-agenda__note { padding: 16px 28px; font-size: 13px; color: var(--muted); }
.meps-agenda--plain .meps-agenda__row { padding: 18px 24px; }

/* ==========================================================================
   11. Partneri
   ========================================================================== */
.meps-strip { height: 96px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.meps-strip.meps-media--ph { border: 2px dashed var(--line-3); }
.meps-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.meps-logos .meps-media { height: 120px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.meps-note { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   12. Kontakt + forma
   ========================================================================== */
.meps-contact { display: flex; flex-wrap: wrap; gap: 48px; }
.meps-contact__info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.meps-contact__info p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.meps-form { flex: 1.3 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: var(--bg); border-radius: 14px; padding: 32px; }
.meps-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.meps-field--full { grid-column: 1 / -1; }
.meps-field input[type=text], .meps-field input[type=email], .meps-field input[type=tel], .meps-field textarea {
	font-family: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line-3);
	border-radius: 8px; background: #fff; color: var(--ink); width: 100%; font-weight: 400;
}
.meps-field textarea { resize: vertical; }
.meps-check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.meps-check input { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.meps-form .meps-submit { grid-column: 1 / -1; justify-self: start; }
.meps-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.meps-alert { grid-column: 1 / -1; padding: 14px 18px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.meps-alert--ok { background: #E3F4E8; color: #14532D; }
.meps-alert--err { background: #FDE8E8; color: #7F1D1D; }

/* ==========================================================================
   13. Futer
   ========================================================================== */
.meps-footer { background: var(--navy); color: #fff; }
.meps-footer__in { max-width: 1200px; margin: 0 auto; padding: 56px 24px 32px; display: flex; flex-direction: column; gap: 32px; }
.meps-footer__logos { background: #fff; border-radius: 10px; min-height: 88px; padding: 12px 16px; display: flex; align-items: center; justify-content: center; }
.meps-footer__logos img { width: 100%; max-width: 100%; height: auto; max-height: 120px; object-fit: contain; }
.meps-footer__logos .meps-media { background: transparent; width: 100%; min-height: 64px; }
.meps-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: 14px; color: #C3CFDE; }
.meps-footer__bar ul { display: flex; flex-wrap: wrap; gap: 20px; }
.meps-footer a { color: #fff; text-decoration: none; }
.meps-footer a:hover { color: var(--accent); }

/* ==========================================================================
   14. O nama
   ========================================================================== */
.meps-pagehero { background: var(--navy); color: #fff; }
.meps-pagehero__in { padding: 72px 24px; display: flex; flex-direction: column; gap: 18px; }
.meps-pagehero h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 52px); line-height: 1.1; font-weight: 700; max-width: 820px; color: #fff; }
.meps-pagehero p { font-size: 18px; line-height: 1.7; color: #D5DEEA; max-width: 820px; }
.meps-section--tight { padding: 80px 0; }
.meps-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.meps-person { border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.meps-person .meps-media { width: 140px; height: 140px; flex: 0 0 140px; border-radius: 50%; }
.meps-person__body { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.meps-person h3 { font-size: 22px; font-weight: 700; color: var(--navy); }
.meps-person__role { font-size: 16px; font-weight: 700; color: var(--blue); }
.meps-person__org { font-size: 15px; color: var(--muted); line-height: 1.5; }
.meps a.meps-linkedin { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: 1.5px solid var(--line-3); color: var(--navy); padding: 10px 16px; min-height: 44px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.meps a.meps-linkedin:hover { background: var(--bg); }

/* ==========================================================================
   15. Stranica godine (category.php)
   ========================================================================== */
.meps-year { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 56px; padding-bottom: 88px; }
.meps-year__side { flex: 0 1 200px; display: flex; flex-direction: column; gap: 8px; }
.meps-year__side .meps-eyebrow { padding: 0 4px 8px; }
.meps a.meps-year__link { font-family: var(--serif); font-size: 26px; font-weight: 700; text-decoration: none; padding: 12px 18px; border-radius: 10px; background: var(--bg); color: var(--navy); }
.meps a.meps-year__link:hover { background: var(--line-2); }
.meps a.meps-year__link[aria-current="page"] { background: var(--navy); color: #fff; }
.meps-year__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.meps-year__main h1 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 44px); line-height: 1.12; color: var(--navy); }
.meps-year__head { display: flex; flex-direction: column; gap: 12px; }
.meps-year__meta { font-size: 16px; color: var(--muted); }
.meps-cover { height: 360px; border-radius: 16px; }
.meps-year__tabs { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.meps-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.meps-gallery .meps-media { aspect-ratio: 4 / 3; border-radius: 10px; }
.meps-gallery a { display: block; border-radius: 10px; overflow: hidden; }
.meps-report { max-width: 760px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.meps-report p { margin: 0 0 16px; }
.meps-report img { border-radius: 10px; }

/* ==========================================================================
   16. Obični sadržaj (page.php / single.php / index.php)
   ========================================================================== */
.meps-content { max-width: 820px; margin: 0 auto; padding: 56px 24px 88px; }
.meps-content h1 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 44px); line-height: 1.12; color: var(--navy); margin-bottom: 24px; }
.meps-content .entry { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.meps-content .entry p { margin: 0 0 16px; }
.meps-content .entry h2, .meps-content .entry h3 { font-family: var(--serif); color: var(--navy); margin: 32px 0 12px; }
.meps-content .entry img { border-radius: 10px; }
.meps-content .meps-thumb { border-radius: 16px; margin-bottom: 28px; width: 100%; }
.meps-list { display: grid; gap: 20px; }
.meps-list article { border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.meps-list h2 { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.meps-list h2 a { text-decoration: none; color: inherit; }

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.meps-section { padding: 64px 0; }
	.meps-hero__in { padding-top: 56px; padding-bottom: 56px; }
	.meps-hero .meps-media { height: 280px; }
	.meps-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.meps-team { grid-template-columns: 1fr; }
	.meps-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.meps-tabs--years { flex-direction: row; flex: 1 1 100%; }
	.meps-tabs--years .meps-tab { font-size: 22px; }
	.meps-year__side { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (max-width: 560px) {
	.meps-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.meps-form { grid-template-columns: 1fr; padding: 22px; }
	.meps-card { padding: 22px; }
	.meps-agenda__time { flex-basis: 100%; }
	.meps-cover { height: 220px; }
}

/* ==========================================================================
   18. Stranica Kontakt
   ========================================================================== */
.meps-mailcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.meps-mailcard { border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.meps-mailcard a { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; color: var(--navy); text-decoration: none; word-break: break-word; }
.meps-mailcard a:hover { color: var(--blue); text-decoration: underline; }
.meps-formwrap .meps-form { flex: none; }
@media (max-width: 900px) { .meps-mailcards { grid-template-columns: 1fr; } }

/* Glatko skrolovanje do sekcija (Agenda, Arhiva, Partneri, Kontakt) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.meps-section[id], .meps-hero[id] { scroll-margin-top: 0; }

/* Izveštaj – podnaslovi iz data.php ('## ') */
.meps-report h3 { font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--navy); margin: 32px 0 12px; }
.meps-report h3:first-child { margin-top: 0; }

/* Naslovna slika godine kao širok baner (data.php → cover_full) – cela, bez sečenja */
.meps-cover--full { height: auto; }
.meps-cover--full img { height: auto; }

/* Hero kao ceo baner (data.php → event → hero_banner) */
.meps-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.meps-hero--banner { background: #000F30; } /* ista boja kao ivica banera */
.meps-hero__banner img { display: block; width: 100%; height: auto; max-width: 2400px; margin: 0 auto; }
.meps-hero--banner .meps-hero__in { padding-top: 28px; padding-bottom: 48px; }
@media (min-width: 701px) { .meps-hero--banner { padding-top: 40px; } }
@media (min-width: 701px) { .meps-hero--banner .meps-hero__in { max-width: 2400px; padding-left: max(16px, 1.25vw); } } /* poravnato sa tekstom u baneru */
@media (min-width: 701px) {
	/* tekst je već u banneru – ostaje samo za čitače ekrana i pretraživače */
	.meps-hero--banner .meps-hero__copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 700px) {
	.meps-hero--banner .meps-hero__banner { display: none; }
	.meps-hero--banner .meps-hero__in { padding-top: 48px; }
}

/* ==========================================================================
   19. Prekidač jezika (SR | EN)
   ========================================================================== */
.meps-header__in > .meps-brand { order: 0; }
.meps-header__in > .meps-nav { order: 1; }
.meps-header__in > .meps-lang { order: 2; }
.meps-header__in > .meps-nav-toggle { order: 3; }
.meps-lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.meps a.meps-lang a, .meps-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; padding: 0 10px; border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: .5px; color: var(--muted); text-decoration: none; }
.meps-lang a:hover { color: var(--navy); background: var(--bg); }
.meps-lang a.is-current { color: #fff; background: var(--navy); }
@media (max-width: 900px) {
	.meps-js .meps-header__in > .meps-lang { margin-left: auto; }
	.meps-js .meps-header__in > .meps-nav { order: 5; }
}
.meps-turnstile { grid-column: 1 / -1; min-height: 65px; }

/* ==========================================================================
   20. O nama – LinkedIn ikonica pored imena
   ========================================================================== */
.meps-person__name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.meps a.meps-in { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; flex: none; }
.meps a.meps-in:hover svg rect:first-child { fill: #004182; }

/* ==========================================================================
   21. Forma – obavezna polja
   ========================================================================== */
.meps-req { color: #B42318; font-weight: 700; }
.meps-req-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   22. Široki baneri u galeriji (data.php → gallery_wide)
   ========================================================================== */
.meps-gallery--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.meps-gallery--wide .meps-media,
.meps-photos--wide .meps-media { aspect-ratio: auto; }
.meps-gallery--wide .meps-media img,
.meps-photos--wide .meps-media img { height: auto; }
.meps-photos--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) {
	.meps-gallery--wide, .meps-photos--wide { grid-template-columns: 1fr; }
}

/* ==========================================================================
   23. Logo u zaglavlju (assets/images/logo.png)
   ========================================================================== */
.meps-header__in { padding-top: 12px; padding-bottom: 12px; }
.meps img.meps-brand__logo { height: 64px; width: auto; max-width: none; flex: none; }
.meps-brand__text--logo { max-width: 190px; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--navy); }
@media (max-width: 560px) {
	.meps img.meps-brand__logo { height: 52px; }
	.meps-brand__text--logo { font-size: 12px; max-width: 150px; }
}
@media (max-width: 480px) {
	.meps-brand__text--logo { display: none; } /* na uskim ekranima samo logo, da meni i SR|EN stanu u isti red */
}
@media (min-width: 901px) and (max-width: 1240px) {
	.meps-brand__text--logo { display: none; } /* tablet/mali laptop: samo logo, da meni i SR|EN stanu u jedan red */
	.meps-nav ul { gap: 4px 18px; }
}

/* ==========================================================================
   24. Hero baner – dugmad preko banera, desno od datuma
   Mere su u % banera (hero-banner.jpg 2400×578): datumi su na 76–97% visine,
   tekst se završava na ~31% širine, globus počinje na ~64%.
   ========================================================================== */
.meps-hero__banner { position: relative; max-width: 2400px; margin: 0 auto; }
.meps-hero__overlay { display: none; }
@media (min-width: 1240px) {
	.meps-hero__overlay {
		display: flex; align-items: center; gap: clamp(8px, 0.8vw, 14px);
		position: absolute; left: 35%; top: 76%; bottom: 3%;
	}
	.meps-hero__overlay .meps-btn { font-size: clamp(13px, 1.05vw, 17px); padding: 0.75em 1.5em; min-height: 0; white-space: nowrap; }
	.meps-hero--banner .meps-hero__in { display: none; } /* dugmad su već na baneru */
	.meps-hero--banner { padding-bottom: 40px; }
}

/* ==========================================================================
   25. Hero – baner bez teksta kao pozadina (data.php → hero_layout 'background')
   Tekst i dugmad su iste veličine kao u klasičnom hero-u.
   ========================================================================== */
.meps-hero--background { position: relative; overflow: hidden; background: #000F30; }
.meps img.meps-hero__bg {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: right center;
}
/* blago zatamnjenje sleva, da tekst bude čitljiv i kad globus dođe ispod njega */
.meps-hero--background::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(0, 15, 48, .92) 0%, rgba(0, 15, 48, .8) 38%, rgba(0, 15, 48, .45) 56%, rgba(0, 15, 48, 0) 72%);
}
.meps-hero--background .meps-hero__in { position: relative; z-index: 1; }
.meps-hero--background .meps-hero__text { flex: 0 1 620px; }
@media (max-width: 900px) {
	.meps-hero--background::after { background: rgba(0, 15, 48, .78); }
}
