/*
Theme Name: OrgNet
Author: OrgNet
Description: Moderna i pristupačna WordPress tema za udruženja, saveze i organizacije civilnog društva. Posebno je oblikovana za aktuelnosti, projekte i dokumente.
Version: 1.4.4
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: orgnet
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: accessibility-ready, custom-logo, custom-menu, featured-images, news, one-column, two-columns, translation-ready
*/

:root {
  --j-navy-950: #061b2c;
  --j-navy-900: #0a2740;
  --j-navy-800: #113b5b;
  --j-blue-600: #169ac7;
  --j-blue-500: #45b9dc;
  --j-blue-300: #9edff0;
  --j-mist-100: #eaf8fc;
  --j-mist-50: #f5fbfd;
  --j-white: #ffffff;
  --j-ink: #102235;
  --j-muted: #5a6c7c;
  --j-line: #d8e7ee;
  --j-warm: #f7f3ec;
  --j-success: #147a66;
  --j-container: 1240px;
  --j-radius-sm: 12px;
  --j-radius-md: 20px;
  --j-radius-lg: 32px;
  --j-shadow: 0 22px 55px rgba(6, 27, 44, .12);
  --j-shadow-soft: 0 12px 34px rgba(6, 27, 44, .08);
  --j-ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--j-white);
  color: var(--j-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--j-navy-800); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--j-blue-600); }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .65em;
  color: var(--j-navy-950);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.75rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
p { margin: 0 0 1.35em; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 10000;
  top: 12px; left: 12px;
  width: auto; height: auto;
  padding: 12px 18px;
  margin: 0;
  clip: auto;
  background: var(--j-white);
  color: var(--j-navy-950);
  border-radius: 8px;
  box-shadow: var(--j-shadow);
}

:focus-visible { outline: 3px solid var(--j-blue-500); outline-offset: 4px; }

.j-container { width: min(calc(100% - 40px), var(--j-container)); margin-inline: auto; }
.j-section { padding-block: clamp(74px, 9vw, 132px); }
.j-section--mist { background: var(--j-mist-50); }
.j-section--navy { background: var(--j-navy-950); color: rgba(255,255,255,.76); }
.j-section--navy h2, .j-section--navy h3 { color: var(--j-white); }

.j-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--j-blue-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.j-eyebrow::before { width: 28px; height: 2px; content: ""; background: currentColor; }

.j-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 52px;
  align-items: end;
  margin-bottom: clamp(38px, 6vw, 66px);
}

.j-section-head h2 { max-width: 760px; margin-bottom: 0; }
.j-section-head p { margin: 0; color: var(--j-muted); font-size: 1.05rem; }
.j-section--navy .j-section-head p { color: rgba(255,255,255,.72); }

.j-button,
.wp-block-button__link,
button.j-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--j-navy-950);
  color: var(--j-white);
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .25s var(--j-ease), box-shadow .25s var(--j-ease), background-color .25s;
}

.j-button:hover { transform: translateY(-2px); background: var(--j-navy-800); color: var(--j-white); box-shadow: 0 10px 24px rgba(6,27,44,.18); }
.j-button--accent { background: var(--j-blue-500); color: var(--j-navy-950); }
.j-button--accent:hover { background: var(--j-blue-300); color: var(--j-navy-950); }
.j-button--ghost { border-color: var(--j-line); background: transparent; color: var(--j-navy-950); }
.j-button--ghost:hover { border-color: var(--j-blue-500); background: var(--j-mist-100); color: var(--j-navy-950); }
.j-button--white { background: var(--j-white); color: var(--j-navy-950); }
.j-button__arrow { font-size: 1.25em; line-height: 0; transition: transform .25s var(--j-ease); }
.j-button:hover .j-button__arrow { transform: translateX(3px); }

/* Header */
.j-utility { background: var(--j-navy-950); color: rgba(255,255,255,.8); font-size: .76rem; }
.j-utility__inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.j-utility a { color: rgba(255,255,255,.82); text-decoration: none; }
.j-utility a:hover { color: var(--j-blue-300); }
.j-utility__links { display: flex; gap: 22px; }

.j-header { position: sticky; z-index: 900; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(216,231,238,.85); backdrop-filter: blur(18px); }
.admin-bar .j-header { top: 32px; }
.j-header__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.j-brand { display: flex; min-width: 0; align-items: center; gap: 13px; color: var(--j-navy-950); text-decoration: none; }
.j-brand:hover { color: var(--j-navy-950); }
.j-brand__mark { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 14px 5px 14px 14px; background: var(--j-blue-500); color: var(--j-navy-950); font-weight: 900; }
.j-brand__logo { width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid var(--j-line); border-radius: 13px; background: #fff; object-fit: cover; box-shadow: 0 7px 18px rgba(17,35,61,.1); }
.custom-logo-link { display: block; flex: 0 0 auto; }
.custom-logo { width: auto; max-width: 190px; max-height: 54px; }
.j-brand__text { min-width: 0; }
.j-brand__name { display: block; max-width: 290px; overflow: hidden; font-size: 1rem; font-weight: 820; letter-spacing: -.02em; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.j-brand__tagline { display: block; margin-top: 3px; color: var(--j-muted); font-size: .68rem; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; }

.j-nav-wrap { display: flex; align-items: center; gap: 28px; }
.j-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); margin: 0; padding: 0; list-style: none; }
.j-nav a { position: relative; padding-block: 30px; color: var(--j-navy-950); font-size: .92rem; font-weight: 680; text-decoration: none; }
.j-nav a::after { position: absolute; right: 0; bottom: 21px; left: 0; height: 2px; content: ""; background: var(--j-blue-500); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--j-ease); }
.j-nav a:hover::after, .j-nav .current-menu-item > a::after, .j-nav .current_page_item > a::after { transform: scaleX(1); transform-origin: left; }
.j-menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--j-line); border-radius: 50%; background: var(--j-white); color: var(--j-navy-950); }
.j-nav__head, .j-nav__close { display: none; }
.j-menu-toggle__icon, .j-menu-toggle__icon::before, .j-menu-toggle__icon::after { display: block; width: 19px; height: 2px; margin: auto; border-radius: 2px; background: currentColor; content: ""; transition: .25s; }
.j-menu-toggle__icon { position: relative; }
.j-menu-toggle__icon::before { position: absolute; top: -6px; }
.j-menu-toggle__icon::after { position: absolute; top: 6px; }
.j-menu-toggle[aria-expanded="true"] .j-menu-toggle__icon { background: transparent; }
.j-menu-toggle[aria-expanded="true"] .j-menu-toggle__icon::before { top: 0; transform: rotate(45deg); }
.j-menu-toggle[aria-expanded="true"] .j-menu-toggle__icon::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.j-hero { position: relative; overflow: hidden; background: var(--j-mist-50); }
.j-hero::before { position: absolute; top: -220px; left: -180px; width: 580px; height: 580px; border: 110px solid rgba(69,185,220,.08); border-radius: 50%; content: ""; pointer-events: none; }
.j-hero__inner { display: grid; min-height: min(760px, calc(100vh - 120px)); grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr); gap: clamp(44px, 6vw, 86px); align-items: center; padding-block: clamp(64px, 8vw, 108px); }
.j-hero__content { position: relative; z-index: 2; max-width: 680px; }
.j-hero h1 { margin-bottom: 25px; font-size: clamp(3.2rem, 6.2vw, 6.25rem); }
.j-hero h1 em { color: var(--j-blue-600); font-style: normal; }
.j-hero__lead { max-width: 600px; margin-bottom: 32px; color: #445b6c; font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.65; }
.j-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.j-hero__visual { position: relative; min-width: 0; }
.j-hero__photo { position: relative; overflow: hidden; aspect-ratio: 4/5; border-radius: 44px 14px 44px 44px; background: var(--j-navy-900); box-shadow: var(--j-shadow); }
.j-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.j-hero__photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 60%, rgba(6,27,44,.28)); }
.j-hero__dots { position: absolute; top: -25px; right: -20px; z-index: -1; width: 112px; height: 112px; opacity: .4; background-image: radial-gradient(var(--j-blue-500) 2px, transparent 2px); background-size: 14px 14px; }

.j-manifesto { position: relative; z-index: 5; margin-top: -34px; }
.j-manifesto__grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--j-line); border-radius: var(--j-radius-md); background: var(--j-white); box-shadow: var(--j-shadow-soft); }
.j-manifesto__item { padding: 28px 34px; }
.j-manifesto__item + .j-manifesto__item { border-left: 1px solid var(--j-line); }
.j-manifesto__number { display: block; margin-bottom: 10px; color: var(--j-blue-600); font-size: .73rem; font-weight: 850; letter-spacing: .12em; }
.j-manifesto__item strong { color: var(--j-navy-950); font-size: 1.05rem; }
.j-manifesto__item p { margin: 5px 0 0; color: var(--j-muted); font-size: .83rem; line-height: 1.55; }

/* Mission */
.j-mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.j-mission-card { position: relative; min-height: 330px; padding: 38px 34px; overflow: hidden; border: 1px solid var(--j-line); border-radius: var(--j-radius-md); background: var(--j-white); transition: transform .3s var(--j-ease), box-shadow .3s var(--j-ease), border-color .3s; }
.j-mission-card:hover { transform: translateY(-7px); border-color: var(--j-blue-300); box-shadow: var(--j-shadow-soft); }
.j-mission-card__index { display: inline-grid; width: 48px; height: 48px; margin-bottom: 52px; place-items: center; border-radius: 14px 5px 14px 14px; background: var(--j-mist-100); color: var(--j-blue-600); font-size: .8rem; font-weight: 850; }
.j-mission-card h3 { max-width: 260px; }
.j-mission-card p { margin: 0; color: var(--j-muted); font-size: .95rem; }
.j-mission-card::after { position: absolute; right: -45px; bottom: -70px; width: 160px; height: 160px; border: 28px solid var(--j-mist-100); border-radius: 50%; content: ""; transition: transform .4s var(--j-ease); }
.j-mission-card:hover::after { transform: scale(1.12); }

/* News */
.j-news-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 24px; }
.j-news-stack { display: grid; gap: 20px; }
.j-news-card { position: relative; overflow: hidden; border: 1px solid var(--j-line); border-radius: var(--j-radius-md); background: var(--j-white); transition: transform .3s var(--j-ease), box-shadow .3s var(--j-ease); }
.j-news-card:hover { transform: translateY(-4px); box-shadow: var(--j-shadow-soft); }
.j-news-card__link { position: absolute; z-index: 3; inset: 0; }
.j-news-card__media { overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--j-navy-900), var(--j-blue-500)); }
.j-news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--j-ease); }
.j-news-card:hover .j-news-card__media img { transform: scale(1.035); }
.j-news-card__body { padding: 25px 26px 28px; }
.j-news-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 13px; color: var(--j-blue-600); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.j-news-card h3 { margin: 0; font-size: clamp(1.2rem, 2.3vw, 1.65rem); }
.j-news-card--featured h3 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.j-news-card--featured .j-news-card__body { padding: 34px 36px 38px; }
.j-news-card--featured .j-news-card__media { aspect-ratio: 16/9; }
.j-news-card--compact { display: grid; grid-template-columns: 142px 1fr; }
.j-news-card--compact .j-news-card__media { height: 100%; min-height: 178px; aspect-ratio: auto; }
.j-news-card--compact .j-news-card__body { padding: 24px 22px; }
.j-news-card--compact h3 { font-size: 1.08rem; }
.j-news-empty { grid-column: 1 / -1; padding: 42px; border: 1px dashed var(--j-blue-300); border-radius: var(--j-radius-md); background: var(--j-white); text-align: center; }

/* Documents teaser */
.j-docs-layout { display: grid; grid-template-columns: minmax(260px, .54fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 96px); align-items: start; }
.j-docs-intro { position: sticky; top: 130px; }
.j-docs-intro p { color: rgba(255,255,255,.72); }
.j-doc-list { border-top: 1px solid rgba(255,255,255,.18); }
.j-doc-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 27px 4px; border-bottom: 1px solid rgba(255,255,255,.18); color: var(--j-white); text-decoration: none; }
.j-doc-item:hover { color: var(--j-blue-300); }
.j-doc-item__type { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 13px 5px 13px 13px; background: rgba(69,185,220,.14); color: var(--j-blue-300); font-size: .7rem; font-weight: 850; letter-spacing: .06em; }
.j-doc-item strong { display: block; font-size: 1rem; line-height: 1.35; }
.j-doc-item small { display: block; margin-top: 6px; color: rgba(255,255,255,.55); font-size: .74rem; }
.j-doc-item__arrow { font-size: 1.4rem; }
.j-doc-empty { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.66); }

/* CTA */
.j-cta { padding-block: clamp(70px, 20px, 108px); }
.j-cta__panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; padding: clamp(44px, 7vw, 78px); overflow: hidden; border-radius: var(--j-radius-lg) 12px var(--j-radius-lg) var(--j-radius-lg); background: var(--j-blue-500); color: var(--j-navy-950); }
.j-cta__panel::after { position: absolute; right: -80px; bottom: -150px; width: 340px; height: 340px; border: 68px solid rgba(255,255,255,.2); border-radius: 50%; content: ""; }
.j-cta__copy { position: relative; z-index: 2; max-width: 780px; }
.j-cta h2 { margin-bottom: 16px; color: var(--j-navy-950); }
.j-cta p { margin: 0; max-width: 650px; }
.j-cta__actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.j-footer { background: var(--j-navy-950); color: rgba(255,255,255,.65); }
.j-footer__main { display: grid; grid-template-columns: 1.3fr .65fr .75fr; gap: clamp(42px, 8vw, 100px); padding-block: 76px 60px; }
.j-footer h2, .j-footer h3 { color: var(--j-white); }
.j-footer__intro { max-width: 460px; }
.j-footer__intro p { margin: 20px 0 0; font-size: .92rem; }
.j-footer__title { margin-bottom: 20px; font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.j-footer ul { margin: 0; padding: 0; list-style: none; }
.j-footer li + li { margin-top: 10px; }
.j-footer a { color: rgba(255,255,255,.76); text-decoration: none; }
.j-footer a:hover { color: var(--j-blue-300); }
.j-footer__contact span { display: block; margin-bottom: 4px; color: rgba(255,255,255,.45); font-size: .71rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.j-footer__contact li + li { margin-top: 17px; }
.j-footer__bottom { display: flex; min-height: 76px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; }
.j-footer__bottom p { margin: 0; }
.j-socials { display: flex; gap: 10px; }
.j-socials a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-size: .7rem; font-weight: 850; transition: border-color .2s, background-color .2s; }
.j-socials a:hover { border-color: var(--j-blue-300); background: rgba(255,255,255,.06); }
.j-footer__main--with-widgets { grid-template-columns: 1.1fr .55fr .65fr .7fr; }
.j-footer-widget + .j-footer-widget { margin-top: 26px; }
.j-footer-widget ul { margin: 0; padding: 0; list-style: none; }
.j-footer-widget li + li { margin-top: 10px; }
.j-footer__totop { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.76); font-size: .76rem; font-weight: 700; text-decoration: none; }
.j-footer__totop:hover { color: var(--j-blue-300); }
.j-footer__totop span { font-size: 1em; transition: transform .2s var(--j-ease); }
.j-footer__totop:hover span { transform: translateY(-2px); }

/* Standard pages */
.j-page-hero { padding-block: clamp(72px, 9vw, 124px); background: var(--j-mist-50); }
.j-page-hero__inner { max-width: 880px; }
.j-page-hero h1 { margin-bottom: 20px; font-size: clamp(2.8rem, 5.8vw, 5rem); }
.j-page-hero p { max-width: 700px; margin: 0; color: var(--j-muted); font-size: 1.1rem; }
.j-content-wrap { width: min(calc(100% - 40px), 850px); margin-inline: auto; padding-block: clamp(64px, 8vw, 110px); }
.j-content-wrap > *:first-child { margin-top: 0; }
.j-content-wrap h2, .j-content-wrap h3 { margin-top: 1.5em; }
.j-content-wrap blockquote { margin: 2em 0; padding: 22px 28px; border-left: 4px solid var(--j-blue-500); background: var(--j-mist-50); font-size: 1.15rem; }
.j-content-wrap table { width: 100%; border-collapse: collapse; }
.j-content-wrap th, .j-content-wrap td { padding: 12px; border: 1px solid var(--j-line); text-align: left; }
.j-featured-image { width: min(calc(100% - 40px), var(--j-container)); margin: -48px auto 0; overflow: hidden; border-radius: var(--j-radius-lg) 12px var(--j-radius-lg) var(--j-radius-lg); box-shadow: var(--j-shadow); }
.j-featured-image img { width: 100%; max-height: 680px; object-fit: cover; }
.j-article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; color: var(--j-muted); font-size: .84rem; }
.j-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.j-pagination { margin-top: 56px; }
.j-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.j-pagination .page-numbers { display: grid; min-width: 42px; min-height: 42px; place-items: center; padding: 6px; border: 1px solid var(--j-line); border-radius: 50%; text-decoration: none; }
.j-pagination .current { background: var(--j-navy-950); color: var(--j-white); border-color: var(--j-navy-950); }

/* Plugin document archive integration */
.sgudoc-browser { color: var(--j-ink); }
.sgudoc-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 18px; align-items: center; margin-bottom: 34px; }
.sgudoc-search { width: 100%; min-height: 54px; padding: 13px 18px; border: 1px solid var(--j-line); border-radius: 12px; background: var(--j-white); color: var(--j-ink); }
.sgudoc-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.sgudoc-filter { min-height: 44px; padding: 8px 16px; border: 1px solid var(--j-line); border-radius: 999px; background: var(--j-white); color: var(--j-navy-950); cursor: pointer; font-size: .82rem; font-weight: 700; }
.sgudoc-filter.is-active { border-color: var(--j-navy-950); background: var(--j-navy-950); color: var(--j-white); }
.sgudoc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sgudoc-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 25px; border: 1px solid var(--j-line); border-radius: 18px 7px 18px 18px; background: var(--j-white); transition: transform .25s var(--j-ease), box-shadow .25s var(--j-ease); }
.sgudoc-card:hover { transform: translateY(-3px); box-shadow: var(--j-shadow-soft); }
.sgudoc-card__format { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 14px 5px 14px 14px; background: var(--j-mist-100); color: var(--j-blue-600); font-size: .68rem; font-weight: 850; }
.sgudoc-card__meta { color: var(--j-muted); font-size: .73rem; }
.sgudoc-card__title { margin: 5px 0; font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.35; }
.sgudoc-card__download { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--j-navy-950); color: var(--j-white); text-decoration: none; }
.sgudoc-card__download:hover { background: var(--j-blue-500); color: var(--j-navy-950); }
.sgudoc-empty { padding: 42px; border: 1px dashed var(--j-blue-300); border-radius: 18px; text-align: center; }

.j-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--j-ease), transform .7s var(--j-ease); }
.j-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .j-header__cta { display: none; }
  .j-hero__inner { grid-template-columns: 1fr 420px; gap: 46px; }
  .j-hero h1 { font-size: clamp(3rem, 6vw, 4.8rem); }
  .j-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .j-container { width: min(calc(100% - 32px), var(--j-container)); }
  .j-utility__inner > span { display: none; }
  .j-utility__inner { justify-content: flex-end; }
  .admin-bar .j-header { top: 46px; }
  .j-menu-toggle { display: block; }
  .j-hero__inner { grid-template-columns: 1fr; }
  .j-hero__content { max-width: 760px; }
  .j-hero__visual { max-width: 680px; }
  .j-hero__photo { aspect-ratio: 4/3; }
  .j-manifesto { margin-top: 0; padding-top: 22px; background: var(--j-mist-50); }
  .j-manifesto__grid { grid-template-columns: 1fr; }
  .j-manifesto__item + .j-manifesto__item { border-top: 1px solid var(--j-line); border-left: 0; }
  .j-section-head, .j-docs-layout, .j-footer__main { grid-template-columns: 1fr; }
  .j-mission-grid { grid-template-columns: 1fr; }
  .j-mission-card { min-height: 0; }
  .j-mission-card__index { margin-bottom: 30px; }
  .j-news-grid { grid-template-columns: 1fr; }
  .j-news-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-docs-intro { position: static; }
  .j-cta__panel { grid-template-columns: 1fr; }
  .j-footer__main { gap: 44px; }
  .j-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
  .sgudoc-toolbar { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .j-container { width: min(calc(100% - 24px), var(--j-container)); }
  .j-utility__links a:first-child { display: none; }
  .j-header__inner { min-height: 72px; }
  .j-brand__tagline { display: none; }
  .j-brand__name { max-width: 210px; font-size: .9rem; }
  .custom-logo { max-width: 145px; max-height: 46px; }
  .j-hero__inner { min-height: auto; padding-block: 54px 66px; }
  .j-hero h1 { font-size: clamp(2.7rem, 14vw, 4.1rem); }
  .j-hero__actions { align-items: stretch; flex-direction: column; }
  .j-button { width: 100%; }
  .j-hero__photo { aspect-ratio: 4/5; border-radius: 28px 10px 28px 28px; }
  .j-news-stack { grid-template-columns: 1fr; }
  .j-news-card--compact { grid-template-columns: 110px 1fr; }
  .j-news-card--compact .j-news-card__body { padding: 19px 17px; }
  .j-news-card__body, .j-news-card--featured .j-news-card__body { padding: 24px 22px 27px; }
  .j-doc-item { grid-template-columns: auto minmax(0, 1fr); }
  .j-doc-item__arrow { display: none; }
  .j-cta__panel { padding: 38px 24px; border-radius: 24px 8px 24px 24px; }
  .j-cta__actions { align-items: stretch; flex-direction: column; }
  .j-footer__main { padding-block: 58px 44px; }
  .j-archive-grid, .sgudoc-grid { grid-template-columns: 1fr; }
  .sgudoc-card { padding: 20px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .j-reveal { opacity: 1; transform: none; }
}

@media print {
  .j-utility, .j-header, .j-footer, .j-cta, .j-button { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; }
  .j-page-hero, .j-section { padding-block: 24px; }
}

/* OrgNet UI refresh 1.1 — product-like visual system */
:root {
  --j-navy-950: #0b172b;
  --j-navy-900: #10213b;
  --j-navy-800: #183757;
  --j-blue-600: #1499c4;
  --j-blue-500: #45b9dc;
  --j-blue-300: #a6e2f0;
  --j-mist-100: #eaf8fc;
  --j-mist-50: #f5f9fc;
  --j-ink: #122238;
  --j-muted: #66758a;
  --j-line: #dfe7ef;
  --j-radius-sm: 10px;
  --j-radius-md: 18px;
  --j-radius-lg: 24px;
  --j-shadow: 0 28px 80px rgba(17, 35, 61, .15);
  --j-shadow-soft: 0 12px 38px rgba(17, 35, 61, .09);
}

body { background: #f7f9fc; font-size: 16px; }
.j-container { width: min(calc(100% - 48px), 1220px); }
.j-section { padding-block: clamp(86px, 9vw, 118px); }

.j-button,
.wp-block-button__link,
button.j-button {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 11px;
  box-shadow: none;
  font-size: .88rem;
}

.j-button--accent {
  background: linear-gradient(145deg, #61c9e7, #32acd3);
  box-shadow: 0 13px 28px rgba(20, 153, 196, .22);
}

.j-button--accent:hover { background: linear-gradient(145deg, #75d3eb, #3bb4d8); box-shadow: 0 16px 35px rgba(20, 153, 196, .28); }
.j-button--ghost { background: rgba(255,255,255,.68); }

.j-header {
  top: 0;
  padding: 12px 0;
  border: 0;
  background: rgba(247,249,252,.88);
  backdrop-filter: blur(18px);
}

.admin-bar .j-header { top: 32px; }

.j-header__inner {
  min-height: 70px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(218,228,238,.92);
  border-radius: 17px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 9px 28px rgba(17,35,61,.07);
}

.j-brand__mark {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #67cfe9, #269fc8);
  box-shadow: 0 8px 20px rgba(20,153,196,.23);
}

.j-brand__name { font-size: .96rem; }
.j-brand__tagline { color: #8a96a8; font-size: .6rem; letter-spacing: .11em; }
.j-nav a { padding-block: 20px; color: #44536a; font-size: .84rem; }
.j-nav a::after { bottom: 10px; }
.j-header__cta { min-height: 46px; }

.j-hero {
  position: relative;
  padding: 6px 0 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f9fc 0%, #f3f7fb 100%);
}

.j-hero::before { display: none; }
.j-hero__glow { position: absolute; display: block; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.j-hero__glow--one { top: -190px; right: -120px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(69,185,220,.24), transparent 68%); }
.j-hero__glow--two { bottom: -300px; left: -230px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(28,93,151,.12), transparent 68%); }

.j-hero__inner {
  position: relative;
  min-height: 690px;
  grid-template-columns: minmax(380px,.86fr) minmax(520px,1.14fr);
  gap: clamp(48px, 6vw, 80px);
  padding: clamp(56px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid #dce7ef;
  border-radius: 26px;
  background-color: rgba(255,255,255,.82);
  background-image: linear-gradient(rgba(18,34,56,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(18,34,56,.025) 1px, transparent 1px), linear-gradient(140deg, rgba(255,255,255,.92), rgba(232,247,252,.78));
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: 0 18px 60px rgba(17,35,61,.06);
}

.j-hero__content { max-width: 610px; }
.j-hero h1 { margin-bottom: 23px; font-size: clamp(3.25rem, 5.5vw, 5.25rem); letter-spacing: -.065em; line-height: .99; }
.j-hero h1 em { color: var(--j-blue-600); }
.j-hero__lead { max-width: 570px; margin-bottom: 30px; color: var(--j-muted); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.72; }
.j-eyebrow { font-size: .7rem; letter-spacing: .13em; }

.j-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 0;
  padding: 0;
  color: #68778b;
  font-size: .76rem;
  font-weight: 650;
  list-style: none;
}

.j-hero__socials { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.j-hero__social-label { margin-right: 3px; color: #7b899a; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.j-hero__socials a { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border: 1px solid #dce5ed; border-radius: 9px; background: rgba(255,255,255,.78); color: #44536a; font-size: .68rem; font-weight: 720; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.j-hero__socials a:hover { transform: translateY(-1px); border-color: #8acde3; color: #173b63; box-shadow: 0 8px 18px rgba(17,35,61,.08); }
.j-facebook-icon { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; background: #1877f2; color: #fff; font-family: Arial, sans-serif; font-size: 1rem; font-weight: 800; line-height: 1; }

.j-hero__checks li::before {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  place-items: center;
  border-radius: 50%;
  background: #e1f6f0;
  color: #148068;
  content: "✓";
  font-size: .62rem;
  font-weight: 900;
}

.j-hero__visual { z-index: 2; padding: 10px 0 18px; }
.j-hero__dots { top: -20px; right: -28px; width: 126px; height: 126px; opacity: .28; }

.j-support-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e2eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--j-shadow);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.j-support-preview::after { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); content: ""; pointer-events: none; }
.j-support-preview__bar { display: grid; min-height: 42px; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; border-bottom: 1px solid #e5eaf0; background: #f4f7fa; color: #7c899b; font-size: .64rem; }
.j-support-preview__bar strong { color: #5b687b; font-size: .66rem; }
.j-support-preview__dots { display: flex; gap: 5px; }
.j-support-preview__dots i { width: 7px; height: 7px; border-radius: 50%; background: #c7d0da; }
.j-support-preview__live { justify-self: end; padding: 4px 8px; border-radius: 999px; background: #e4f7f0; color: #14755e; font-size: .56rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.j-support-preview .j-hero__photo { aspect-ratio: 16/10; border-radius: 0; box-shadow: none; }
.j-support-preview .j-hero__photo img { object-position: center 42%; }
.j-support-preview__footer { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; background: #fff; }
.j-support-preview__footer div { display: grid; }
.j-support-preview__footer small { color: #8c98a8; font-size: .6rem; }
.j-support-preview__footer strong { color: var(--j-ink); font-size: .82rem; }
.j-support-preview__pill { padding: 6px 9px; border-radius: 999px; background: #eaf8fc; color: #147fa4; font-size: .58rem; font-weight: 800; white-space: nowrap; }

.j-hero__card {
  position: relative;
  display: flex;
  width: min(100%, 360px);
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  padding: 15px 16px;
  border: 1px solid #d9e5ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17,35,61,.1);
}

.j-hero__card-icon { display: grid !important; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: #e1f6f0; color: #14765e !important; font-weight: 900; }
.j-hero__card > span:last-child { display: block; color: #7a8798; font-size: .68rem; line-height: 1.4; }
.j-hero__card strong { display: block; margin: 0 0 2px; color: var(--j-navy-950); font-size: .76rem; }

.j-manifesto { margin-top: 0; padding: 0; background: #fff; }
.j-manifesto__grid { border-width: 0 1px 1px; border-radius: 0 0 18px 18px; box-shadow: none; }
.j-manifesto__item { padding: 24px 30px; }
.j-manifesto__number { margin-bottom: 6px; font-size: .64rem; }
.j-manifesto__item strong { font-size: .94rem; }
.j-manifesto__item p { font-size: .74rem; }

.j-section-head { margin-bottom: clamp(42px, 5vw, 58px); }
.j-section-head h2 { font-size: clamp(2.3rem, 4.2vw, 3.55rem); letter-spacing: -.055em; }
.j-section-head p { font-size: 1rem; }

.j-mission-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.j-mission-card {
  min-height: 295px;
  padding: 31px 29px;
  border-radius: 16px;
  border-top: 3px solid var(--j-blue-500);
  box-shadow: 0 4px 16px rgba(17,35,61,.035);
}

.j-mission-card:nth-child(2) { border-top-color: #2c83bf; }
.j-mission-card:nth-child(3) { border-top-color: #163d65; }
.j-mission-card__index { width: 44px; height: 44px; margin-bottom: 42px; border-radius: 11px; }
.j-mission-card h3 { font-size: 1.28rem; letter-spacing: -.035em; }
.j-mission-card p { font-size: .86rem; }
.j-mission-card::after { right: -38px; bottom: -55px; width: 130px; height: 130px; border-width: 23px; opacity: .8; }

.j-section--mist { background: #f2f5f9; border-block: 1px solid #e5eaf0; }
.j-news-card { border-radius: 17px; box-shadow: 0 4px 16px rgba(17,35,61,.035); }
.j-news-card__body { padding: 23px 24px 26px; }
.j-news-card--featured .j-news-card__body { padding: 29px 31px 33px; }
.j-news-card__meta { font-size: .65rem; }

.j-section--navy { background: #0b172b; }
.j-docs-layout { grid-template-columns: minmax(270px,.5fr) minmax(0,1fr); gap: clamp(46px, 7vw, 86px); align-items: center; }
.j-doc-panel { overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: #fff; box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.j-doc-panel__bar { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 19px; border-bottom: 1px solid #e6ebf1; background: #f5f7fa; color: #788699; font-size: .68rem; }
.j-doc-panel__bar div { display: flex; align-items: center; gap: 9px; }
.j-doc-panel__bar div span { width: 8px; height: 8px; border-radius: 50%; background: #27a879; box-shadow: 0 0 0 4px #dff4ec; }
.j-doc-panel__bar strong { color: #4f5d70; }
.j-doc-panel .j-doc-list { border: 0; }
.j-doc-panel .j-doc-item { padding: 21px 19px; border-bottom: 1px solid #e8edf2; color: var(--j-ink); }
.j-doc-panel .j-doc-item:last-child { border-bottom: 0; }
.j-doc-panel .j-doc-item:hover { background: #f7fbfd; color: var(--j-blue-600); }
.j-doc-panel .j-doc-item__type { background: #eaf8fc; color: #147fa4; }
.j-doc-panel .j-doc-item small { color: #8895a6; }
.j-doc-panel .j-doc-item__arrow { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #dfe7ef; border-radius: 9px; color: #536378; }
.j-doc-panel .j-doc-empty { padding: 30px 20px; border: 0; color: var(--j-muted); }

.j-cta__panel { border-radius: 20px; background: linear-gradient(130deg, #64cce6, #32acd2); box-shadow: 0 22px 54px rgba(20,153,196,.17); }
.j-footer { background: #081427; }
.j-footer__main { grid-template-columns: 1.15fr .55fr 1fr; }
.j-footer .j-brand__logo { border-color: rgba(255,255,255,.18); box-shadow: none; }

.sgudoc-browser { padding: 0; overflow: hidden; border: 1px solid #dfe7ef; border-radius: 18px; background: #fff; box-shadow: 0 12px 38px rgba(17,35,61,.06); }
.sgudoc-toolbar { margin: 0; padding: 18px 20px; border-bottom: 1px solid #e4eaf0; background: #f7f9fb; }
.sgudoc-search { min-height: 46px; border-color: #d5dee8; border-radius: 9px; }
.sgudoc-filter { min-height: 38px; padding: 7px 13px; border-radius: 9px; font-size: .73rem; }
.sgudoc-grid { grid-template-columns: 1fr; gap: 0; }
.sgudoc-card { padding: 20px 22px; border: 0; border-bottom: 1px solid #e8edf2; border-radius: 0; box-shadow: none; }
.sgudoc-card:last-child { border-bottom: 0; }
.sgudoc-card:hover { transform: none; background: #f8fbfd; box-shadow: none; }
.sgudoc-card__format { border-radius: 11px; }
.sgudoc-card__download { border-radius: 10px; }
.sgudoc-no-results, .sgudoc-empty { margin: 20px; }

.j-page-hero--news, .j-page-hero--contact { position: relative; overflow: hidden; background: linear-gradient(140deg, #eef8fc, #f8fbfd); }
.j-page-hero--news::after, .j-page-hero--contact::after { position: absolute; top: -190px; right: -100px; width: 480px; height: 480px; border: 75px solid rgba(69,185,220,.09); border-radius: 50%; content: ""; }
.j-page-hero--news .j-page-hero__inner, .j-page-hero--contact .j-page-hero__inner { position: relative; z-index: 2; }
.j-news-browser { overflow: hidden; }
.j-news-browser__toolbar { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); gap: 24px; align-items: center; margin-bottom: 30px; padding: 17px; border: 1px solid var(--j-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(17,35,61,.045); }
.j-news-search { display: flex; gap: 8px; }
.j-news-search input { width: 100%; min-height: 45px; padding: 10px 13px; border: 1px solid #d3dde7; border-radius: 9px; outline: 0; color: var(--j-ink); background: #fff; }
.j-news-search input:focus { border-color: var(--j-blue-600); box-shadow: 0 0 0 3px rgba(20,153,196,.11); }
.j-news-search button { min-height: 45px; padding: 9px 15px; border: 0; border-radius: 9px; background: var(--j-navy-950); color: #fff; cursor: pointer; font-size: .78rem; font-weight: 750; }
.j-news-categories { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.j-news-categories a { padding: 8px 12px; border: 1px solid var(--j-line); border-radius: 9px; background: #fff; color: #526176; font-size: .72rem; font-weight: 720; text-decoration: none; }
.j-news-categories a:hover, .j-news-categories a.is-active { border-color: var(--j-navy-950); background: var(--j-navy-950); color: #fff; }
.j-archive-grid--news .j-news-card { display: flex; flex-direction: column; }
.j-archive-grid--news .j-news-card__body { display: flex; flex: 1; flex-direction: column; }
.j-archive-grid--news .j-news-card h2 { margin: 0; font-size: 1.28rem; letter-spacing: -.035em; }
.j-news-card__excerpt { display: -webkit-box; margin: 14px 0 19px; overflow: hidden; color: var(--j-muted); font-size: .82rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.j-news-card__more { margin-top: auto; color: var(--j-navy-800); font-size: .76rem; font-weight: 780; }
.j-news-card__more b { margin-left: 5px; color: var(--j-blue-600); }

.j-contact-layout { display: grid; grid-template-columns: minmax(280px,.58fr) minmax(0,1.42fr); gap: clamp(40px,7vw,86px); align-items: start; }
.j-contact-aside { position: sticky; top: 118px; }
.j-contact-aside h2 { font-size: clamp(2rem,3.5vw,3rem); }
.j-contact-aside > p { color: var(--j-muted); }
.j-contact-list { display: grid; gap: 10px; margin-top: 30px; }
.j-contact-list a, .j-contact-list__item { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 13px; align-items: center; padding: 14px; border: 1px solid var(--j-line); border-radius: 12px; background: #fff; color: var(--j-ink); text-decoration: none; }
.j-contact-list a:hover { border-color: var(--j-blue-300); box-shadow: 0 8px 20px rgba(17,35,61,.055); }
.j-contact-list a > span, .j-contact-list__item > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--j-mist-100); color: var(--j-blue-600); font-size: .64rem; font-weight: 850; }
.j-contact-list div { display: grid; min-width: 0; }
.j-contact-list small { color: #8794a5; font-size: .63rem; }
.j-contact-list strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; }
.j-contact-form-wrap { overflow: hidden; border: 1px solid var(--j-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(17,35,61,.08); }
.j-contact-form-head { display: flex; min-height: 57px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 21px; border-bottom: 1px solid #e4eaf0; background: #f7f9fb; color: #7b899a; font-size: .67rem; }
.j-contact-form-head div { display: flex; align-items: center; gap: 9px; }
.j-contact-form-head div span { width: 8px; height: 8px; border-radius: 50%; background: #27a879; box-shadow: 0 0 0 4px #dff4ec; }
.j-contact-form-head strong { color: #516075; }
.j-contact-form-wrap .jednaki-contact-card { border: 0; border-radius: 0; box-shadow: none; }

/* Compact three-column homepage news */
.j-news-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.j-news-card--small { display: flex; min-width: 0; flex-direction: column; }
.j-news-card--small .j-news-card__media { aspect-ratio: 16 / 9; }
.j-news-card--small .j-news-card__body { display: flex; min-height: 184px; flex: 1; flex-direction: column; padding: 21px 22px 23px; }
.j-news-card--small h3 { display: -webkit-box; margin: 0 0 18px; overflow: hidden; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.j-news-card--small .j-news-card__more { margin-top: auto; }

/* About and organization details */
.j-page-hero--about { position: relative; overflow: hidden; background: linear-gradient(140deg, #eef8fc, #f8fbfd); }
.j-page-hero--about::after { position: absolute; top: -190px; right: -100px; width: 480px; height: 480px; border: 75px solid rgba(69,185,220,.09); border-radius: 50%; content: ""; }
.j-page-hero--about .j-page-hero__inner { position: relative; z-index: 2; }
.j-about-intro { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: clamp(38px, 7vw, 90px); align-items: end; margin-bottom: 52px; }
.j-about-intro h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 3.55rem); }
.j-about-intro > p { margin: 0; color: var(--j-muted); font-size: 1.02rem; }
.j-about-focus .j-mission-card { min-height: 270px; }
.j-about-contact { display: grid; grid-template-columns: minmax(270px, .75fr) minmax(0, 1.25fr); gap: clamp(44px, 7vw, 92px); align-items: start; }
.j-about-contact h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 3.45rem); }
.j-about-contact__grid { display: grid; gap: 12px; }
.j-about-contact__grid > div { display: grid; padding: 20px 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.055); }
.j-about-contact__grid small { margin-bottom: 7px; color: var(--j-blue-300); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.j-about-contact__grid a, .j-about-contact__grid span { color: #fff; font-size: .92rem; text-decoration: none; }
.j-about-contact__grid a + a, .j-about-contact__grid span + span { margin-top: 4px; }
.j-pagination > ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }

@media (max-width: 1050px) {
  .j-hero__inner { grid-template-columns: 1fr; }
  .j-hero__content { max-width: 760px; }
  .j-hero__visual { width: min(100%, 760px); }
  .j-support-preview { transform: none; }
}

@media (max-width: 900px) {
  .j-header { padding: 9px 0; }
  .j-hero__inner { padding: 54px 42px; }
  .j-hero__visual { padding-bottom: 0; }
  .j-hero__card { width: 100%; }
  .j-manifesto__grid { border-width: 0 1px 1px; }
  .j-mission-grid { grid-template-columns: 1fr; }
  .j-mission-card { min-height: 0; }
  .j-docs-layout { grid-template-columns: 1fr; }
  .j-news-browser__toolbar, .j-contact-layout { grid-template-columns: 1fr; }
  .j-news-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-about-intro, .j-about-contact { grid-template-columns: 1fr; }
  .j-news-categories { justify-content: flex-start; }
  .j-contact-aside { position: static; }
}

@media (max-width: 640px) {
  .j-container { width: min(calc(100% - 26px), 1220px); }
  .j-header__inner { min-height: 64px; padding-left: 10px; border-radius: 14px; }
  .j-menu-toggle { width: 44px; height: 44px; }
  .j-hero { padding-top: 0; }
  .j-hero__inner { min-height: auto; padding: 45px 24px 55px; border-radius: 20px; }
  .j-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .j-hero__checks { gap: 12px; }
  .j-support-preview__footer { align-items: flex-start; flex-direction: column; }
  .j-hero__card { margin-top: 12px; }
  .j-hero__socials {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .j-hero__social-label {
    width: 100%;
    margin: 0 0 2px;
  }

  .j-hero__socials a {
    flex: 1 1 auto;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    font-size: .82rem;
  }
  .j-manifesto { padding-top: 24px; }
  .j-manifesto__grid { border-width: 1px; border-radius: 16px; }
  .j-doc-panel__bar small { display: none; }
  .sgudoc-toolbar { padding: 14px; }
  .sgudoc-card { padding: 18px 14px; }
  .j-news-search { flex-direction: column; }
  .j-news-search button { width: 100%; }
  .j-news-grid--three { grid-template-columns: 1fr; }
  .j-contact-form-head small { display: none; }
}
/* Responsive stability fixes — 1.3.7 */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

main, section, footer, .j-container,
.j-hero__inner, .j-hero__content, .j-hero__visual,
.j-news-card, .j-news-card__body, .j-contact-layout > *,
.j-about-intro > *, .j-about-contact > * {
  min-width: 0;
}

.j-header,
.j-header__inner,
.j-nav-wrap {
  overflow: visible;
}

.j-news-card__link {
  z-index: 1;
}

.j-news-card__media,
.j-news-card__body {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.j-news-card__body a,
.j-news-card__body button,
.j-news-card__media a,
.j-news-card__media button {
  pointer-events: auto;
}

.j-cta__panel::after,
.j-mission-card::after,
.j-page-hero--news::after,
.j-page-hero--contact::after,
.j-page-hero--about::after,
.j-hero__dots {
  pointer-events: none;
}

.j-content-wrap table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
  .j-header {
    z-index: 2000;
    isolation: isolate;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .j-header__inner {
    gap: 12px;
  }

  .j-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .j-nav-wrap {
    margin-left: auto;
    flex: 0 0 auto;
    gap: 10px;
  }

  .j-menu-toggle {
    flex: 0 0 48px;
  }

  .j-nav {
    position: fixed;
    z-index: 3000;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding:
      env(safe-area-inset-top, 0)
      env(safe-area-inset-right, 0)
      env(safe-area-inset-bottom, 0)
      env(safe-area-inset-left, 0);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: none;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }

  .j-nav.is-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .j-nav__head {
    display: flex;
    position: sticky;
    z-index: 1;
    top: 0;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px;
    border-bottom: 1px solid var(--j-line);
    background: #fff;
  }

  .admin-bar .j-nav__head {
    min-height: calc(84px + 46px);
    padding-top: 46px;
  }

  .j-nav__head-label {
    overflow: hidden;
    color: var(--j-navy-950);
    font-size: 1rem;
    font-weight: 820;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .j-nav__close {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid var(--j-line);
    border-radius: 50%;
    background: var(--j-white);
    color: var(--j-navy-950);
    font-size: 1.6rem;
    line-height: 1;
  }

  .j-nav__close:hover {
    border-color: var(--j-blue-500);
    color: var(--j-blue-600);
  }

  .j-nav ul,
  .j-nav .menu {
    display: flex !important;
    width: 100%;
    margin: 0 !important;
    padding: 12px 20px calc(40px + env(safe-area-inset-bottom, 0)) !important;
    flex-direction: column;
    gap: 0;
    list-style: none;
  }

  .j-nav li,
  .j-nav .menu-item {
    position: relative;
    display: block !important;
    width: 100%;
    margin: 0 !important;
    visibility: inherit !important;
    opacity: inherit !important;
    border-bottom: 1px solid var(--j-line);
  }

  .j-nav a {
    display: block;
    width: 100%;
    padding: 17px 4px;
    font-size: 1.15rem;
  }

  .j-nav a::after {
    display: none;
  }

  .j-nav .sub-menu {
    position: static !important;
    display: block !important;
    padding-left: 18px !important;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .j-hero__inner {
    width: min(calc(100% - 32px), 760px);
    padding: 48px 32px;
  }

  .j-hero__visual {
    width: 100%;
    max-width: 100%;
  }

  .j-support-preview {
    width: 100%;
  }

  .j-footer__bottom {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .j-container {
    width: min(calc(100% - 24px), 1220px);
  }

  .j-header {
    padding: 6px 0;
  }

  .j-header__inner {
    min-height: 60px;
    padding: 6px 8px 6px 10px;
  }

  .custom-logo {
    max-width: min(135px, 48vw);
    max-height: 42px;
  }

  .j-brand__name {
    max-width: 48vw;
  }

  .j-nav__head {
    padding-inline: 16px;
  }

  .j-nav ul,
  .j-nav .menu {
    padding-inline: 16px !important;
  }

  .j-hero__inner {
    width: min(calc(100% - 24px), 760px);
    padding: 38px 20px 44px;
  }

  .j-hero h1,
  .j-page-hero h1 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .j-hero__actions .j-button,
  .j-cta__actions .j-button {
    width: 100%;
  }

  .j-support-preview__bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }

  .j-support-preview__bar strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .j-support-preview__footer {
    min-height: 0;
  }

  .j-support-preview__pill {
    white-space: normal;
  }

  .j-hero__socials a {
    width: 100%;
    min-height: 46px;
  }

  .j-news-card--compact {
    grid-template-columns: 1fr;
  }

  .j-news-card--compact .j-news-card__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .sgudoc-card {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas:
      "format content"
      "download download";
    gap: 14px 16px;
    align-items: start;
    padding: 20px 16px;
  }

  .sgudoc-card__format {
    grid-area: format;
  }

  .sgudoc-card > :not(.sgudoc-card__format):not(.sgudoc-card__download) {
    grid-area: content;
    min-width: 0;
  }

  .sgudoc-card__download {
    grid-area: download;
    width: 100%;
    height: auto;
    min-height: 50px;
    justify-self: stretch;
    border-radius: 12px;
  }

  .j-footer__bottom p,
  .j-footer__contact,
  .j-about-contact__grid a,
  .j-contact-list strong {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .j-hero__inner {
    padding-inline: 16px;
  }

  .j-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3rem);
  }

  .j-menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
}

/* Footer, documents & responsive polish — 1.4.2 */
.j-footer {
  color: rgba(255, 255, 255, .82);
}

.j-brand--footer {
  color: #fff;
}

.j-brand--footer .j-brand__name {
  color: #fff;
  max-width: none;
  white-space: normal;
  font-size: .95rem;
  line-height: 1.35;
}

.j-footer__tagline {
  margin: 18px 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  line-height: 1.65;
}

.j-footer__main {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr) minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(56px, 8vw, 84px) clamp(44px, 6vw, 64px);
}

.j-footer__title {
  margin-bottom: 18px;
  color: #fff;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.j-footer a {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
}

.j-footer a:hover {
  color: var(--j-blue-300);
}

.j-footer__nav,
.j-footer__social-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.j-footer__nav li + li,
.j-footer__social-list li + li {
  margin-top: 0;
}

.j-footer__nav a,
.j-footer__social-link {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .94);
  font-size: .88rem;
  font-weight: 680;
  line-height: 1.3;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.j-footer__nav a::before {
  flex: 0 0 auto;
  color: var(--j-blue-500);
  content: "→";
  font-size: .9rem;
  font-weight: 800;
}

.j-footer__nav a:hover,
.j-footer__social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(69, 185, 220, .45);
  background: rgba(69, 185, 220, .12);
  color: #fff;
}

.j-footer__contact {
  display: grid;
  gap: 16px;
}

.j-footer__contact li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}

.j-footer__contact li + li {
  margin-top: 0;
}

.j-footer__contact span:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--j-blue-300);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.j-footer__contact a,
.j-footer__address {
  display: block;
  color: rgba(255, 255, 255, .92);
  font-size: .86rem;
  line-height: 1.55;
}

.j-footer__contact a + a,
.j-footer__address + .j-footer__address {
  margin-top: 4px;
}

.j-footer__social-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 9px;
  font-family: Arial, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
}

.j-footer__social-icon--facebook {
  background: #1877f2;
  color: #fff;
}

.j-footer__social-icon--instagram {
  background: linear-gradient(145deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
}

.j-footer__social-label {
  flex: 1 1 auto;
  min-width: 0;
}

.j-footer__social-arrow {
  flex: 0 0 auto;
  color: var(--j-blue-300);
  font-size: .95rem;
}

.j-footer__bottom {
  gap: 20px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0));
}

.j-footer__copyright {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  line-height: 1.55;
}

.j-footer__totop {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .9);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.j-footer__totop:hover {
  border-color: var(--j-blue-500);
  background: rgba(69, 185, 220, .14);
  color: #fff;
}

/* Document library — clearer download action */
.sgudoc-card__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  background: linear-gradient(145deg, var(--j-navy-950), var(--j-navy-800));
  box-shadow: 0 8px 20px rgba(6, 27, 44, .18);
  color: #fff;
  font-size: .78rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sgudoc-card__download::after {
  content: "Preuzmi";
}

.sgudoc-card__download svg,
.sgudoc-card__download img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.sgudoc-card__download:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, var(--j-blue-600), var(--j-blue-500));
  box-shadow: 0 12px 26px rgba(20, 153, 196, .28);
  color: var(--j-navy-950);
}

.sgudoc-card__title {
  color: var(--j-navy-950);
  font-size: 1.05rem;
  font-weight: 760;
  line-height: 1.4;
}

.sgudoc-card__meta {
  color: var(--j-muted);
  font-size: .76rem;
  font-weight: 650;
}

.sgudoc-filter {
  min-height: 42px;
  touch-action: manipulation;
}

.sgudoc-search {
  font-size: 16px;
}

@media (max-width: 1050px) {
  .j-footer__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .j-footer__intro {
    grid-column: 1 / -1;
  }

  .j-footer__main--with-widgets {
    grid-template-columns: 1fr 1fr;
  }

  .j-footer__widgets {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .j-footer__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .j-footer__totop {
    justify-content: center;
    width: 100%;
  }

  .sgudoc-filters {
    gap: 6px;
  }

  .sgudoc-filter {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .j-footer__main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 48px 36px;
  }

  .j-footer__nav a,
  .j-footer__social-link {
    min-height: 50px;
    padding: 12px 16px;
    font-size: .92rem;
  }

  .j-footer__contact a,
  .j-footer__address {
    font-size: .9rem;
  }

  .sgudoc-card__download {
    min-height: 52px;
    font-size: .86rem;
  }

  .sgudoc-card__download::after {
    content: "Preuzmi dokument";
  }

  .j-news-browser__toolbar {
    gap: 16px;
  }

  .j-news-categories {
    justify-content: flex-start;
  }

  .j-news-categories a {
    flex: 1 1 calc(50% - 7px);
    min-height: 42px;
    text-align: center;
  }

  .j-contact-list a,
  .j-contact-list__item {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px;
  }

  .j-page-hero {
    padding-block: clamp(48px, 12vw, 84px);
  }

  .j-page-hero p {
    font-size: 1rem;
  }
}

/* Homepage spacing & hero social layout */
#nas-rad.j-section {
  padding-bottom: 0;
}

#nas-rad .j-mission-grid {
  margin-bottom: 0;
}

#nas-rad + .j-cta {
  padding-block: clamp(8px, 1vw, 14px) clamp(56px, 6vw, 88px);
}

.j-hero__socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.j-hero__social-label {
  display: block;
  margin: 0;
  color: #7b899a;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.j-hero__social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.j-hero__social-links a {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border: 1px solid #dce5ed;
  border-radius: 10px;
  background: rgba(255, 255, 255, .88);
  color: #44536a;
  font-size: .78rem;
  font-weight: 720;
  line-height: 1.25;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.j-hero__social-text {
  flex: 1 1 auto;
  min-width: 0;
}

.j-hero__social-links a:hover {
  transform: translateY(-1px);
  border-color: #8acde3;
  color: #173b63;
  box-shadow: 0 8px 18px rgba(17, 35, 61, .08);
}

@media (min-width: 901px) {
  .j-hero__social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .j-hero__social-links a {
    width: 100%;
    min-height: 44px;
    padding: 9px 10px 9px 8px;
    font-size: .72rem;
  }

  .j-hero__social-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (min-width: 1180px) {
  .j-hero__social-links a {
    font-size: .76rem;
  }
}
/* Smanji razmak između "Naš rad" i CTA panela */
#nas-rad {
  padding-bottom: 25px !important;
}

#nas-rad + .j-cta {
  padding-top: 25px !important;
}

@media screen and (min-width: 901px) {
  .sgudoc-card__download {
padding-left: 150px !important;
padding-right: 150px !important;
width: auto !important;
  }
}

/* =========================================================
   Illustrated homepage hero
   ========================================================= */

.j-hero--illustrated {
  position: relative;
  padding: 6px 0 26px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #f7f9fc 0%,
      #f3f7fb 100%
    );
}

.j-hero--illustrated .j-hero__inner {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 690px;
  align-items: center;
  padding: clamp(56px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid #dce7ef;
  border-radius: 26px;
  background-color: rgba(255, 255, 255, .88);
  background-image:
    linear-gradient(
      rgba(18, 34, 56, .025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(18, 34, 56, .025) 1px,
      transparent 1px
    ),
    linear-gradient(
      140deg,
      rgba(255, 255, 255, .96),
      rgba(232, 247, 252, .82)
    );
  background-size:
    32px 32px,
    32px 32px,
    auto;
  box-shadow:
    0 18px 60px rgba(17, 35, 61, .06);
}

/* Tekst ostaje iznad ilustracije */
.j-hero--illustrated .j-hero__content {
  position: relative;
  z-index: 4;
  width: min(49%, 610px);
  max-width: 610px;
}

/* Ilustracija preko desne strane */
.j-hero--illustrated .j-hero__art {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 70%;
  overflow: hidden;
  pointer-events: none;

  /*
   * Ova maska pravi pravi prelaz:
   * ilustracija nestaje prema bijeloj lijevoj strani,
   * umjesto da izgleda kao zasebna slika.
   */
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, .08) 9%,
      rgba(0, 0, 0, .32) 20%,
      rgba(0, 0, 0, .70) 35%,
      #000 52%,
      #000 100%
    );

  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, .08) 9%,
      rgba(0, 0, 0, .32) 20%,
      rgba(0, 0, 0, .70) 35%,
      #000 52%,
      #000 100%
    );
}

.j-hero--illustrated .j-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /*
   * Pomjera porodicu malo udesno.
   * Veći prvi broj = više desno.
   */
  object-position: 62% center;

  filter:
    saturate(.82)
    contrast(.93)
    brightness(1.06);

  transform: scale(1.015);
}

/* Plavi ton preko donjeg dijela ilustracije */
.j-hero--illustrated .j-hero__art::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(234, 248, 252, .04) 0%,
      rgba(69, 185, 220, .04) 52%,
      rgba(24, 55, 87, .17) 100%
    );
}

/* Naslov */
.j-hero--illustrated h1 {
  max-width: 610px;
  margin-bottom: 23px;
  font-size: clamp(3.25rem, 5.5vw, 5.25rem);
  letter-spacing: -.065em;
  line-height: .99;
}

.j-hero--illustrated h1 em {
  color: #1499c4;
}

/* Uvodni tekst */
.j-hero--illustrated .j-hero__lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: #66758a;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.72;
}

/* Facebook dio postavljamo u novi red */
.j-hero--illustrated .j-hero__socials {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin-top: 22px;
}

.j-hero--illustrated .j-hero__social-label {
  margin: 0;
}

.j-hero--illustrated .j-hero__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Vrijednosti ispod Facebook linkova */
.j-hero--illustrated .j-hero__checks {
  position: relative;
  z-index: 4;
  margin-top: 25px;
}

/* Ilustracija ne smije blokirati klikove */
.j-hero--illustrated .j-hero__art,
.j-hero--illustrated .j-hero__art::after {
  pointer-events: none;
}


/* =========================================================
   Laptop i tablet
   ========================================================= */

@media (max-width: 1050px) {

  .j-hero--illustrated .j-hero__inner {
    display: flex;
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
    padding: 54px 42px 0;
  }

  .j-hero--illustrated .j-hero__content {
    width: 100%;
    max-width: 760px;
  }

  .j-hero--illustrated .j-hero__art {
    position: relative;
    inset: auto;
    width: calc(100% + 84px);
    height: 440px;
    margin: 32px -42px 0;

    -webkit-mask-image:
      linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, .15) 9%,
        rgba(0, 0, 0, .65) 25%,
        #000 42%,
        #000 100%
      );

    mask-image:
      linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, .15) 9%,
        rgba(0, 0, 0, .65) 25%,
        #000 42%,
        #000 100%
      );
  }

  .j-hero--illustrated .j-hero__art img {
    object-position: center 45%;
  }
}


/* =========================================================
   Mobitel
   ========================================================= */

@media (max-width: 640px) {

  .j-hero--illustrated {
    padding-top: 0;
  }

  .j-hero--illustrated .j-hero__inner {
    padding: 45px 24px 0;
    border-radius: 20px;
  }

  .j-hero--illustrated h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .j-hero--illustrated .j-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .j-hero--illustrated .j-hero__actions .j-button {
    width: 100%;
  }

  .j-hero--illustrated .j-hero__social-links {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .j-hero--illustrated .j-hero__social-links a {
    width: 100%;
    min-height: 46px;
  }

  .j-hero--illustrated .j-hero__checks {
    gap: 12px;
  }

  .j-hero--illustrated .j-hero__art {
    width: calc(100% + 48px);
    height: 330px;
    margin: 28px -24px 0;
  }

  .j-hero--illustrated .j-hero__art img {
    object-position: 55% center;
  }
}

