/* Green Srpska Core 0.7 — page design system.
   Tokens mirror the Green Srpska theme 0.4 so pages also hold up under another theme. */
.gs7 {
  --gs-ink: #17211b;
  --gs-ink-2: #4b574f;
  --gs-line: #dde2da;
  --gs-paper: #fff;
  --gs-tint: #f4f2ec;
  --gs-forest: #1d3b2a;
  --gs-forest-2: #2d5c40;
  --gs-wheat: #e2b350;
  --gs-radius: 6px;
  --gs-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gs-pad: clamp(16px, 4vw, 40px);
  --gs-section: clamp(56px, 8vw, 112px);
  font-family: var(--gs-font);
  color: var(--gs-ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.gs7 *, .gs7 *::before, .gs7 *::after { box-sizing: border-box; }
.gs7 img { display: block; max-width: 100%; height: auto; }
.gs7 h1, .gs7 h2, .gs7 h3 { font-family: var(--gs-font); color: inherit; margin: 0; font-weight: 600; letter-spacing: -0.015em; }
.gs7 p { margin: 0 0 1em; }
.gs7 a { color: var(--gs-forest-2); }
.gs7 :focus-visible { outline: 3px solid var(--gs-wheat); outline-offset: 2px; }

.gs7-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gs-pad); }
.gs7-section { padding: var(--gs-section) 0; background: var(--gs-paper); }
.gs7-section--tint { background: var(--gs-tint); }
.gs7-section--flush { padding-top: 0; }
.gs7-section--tint + .gs7-section--tint { padding-top: 0; }
.gs7-h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.12; margin-bottom: 0.75em !important; max-width: 22ch; }
.gs7-meta { display: block; font-size: 0.8125rem; color: var(--gs-ink-2); letter-spacing: 0.01em; }

.gs7-prose > :last-child { margin-bottom: 0; }
.gs7-prose p { max-width: 68ch; }
.gs7-prose em { font-style: italic; }

.gs7-textlink { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.gs7-textlink::after { content: " →"; }
.gs7-textlink:hover { color: var(--gs-forest); }

/* Buttons */
.gs7-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 4px; font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.gs7 .gs7-btn--primary { background: var(--gs-forest); color: #fff; }
.gs7 .gs7-btn--primary:hover { background: var(--gs-forest-2); }
.gs7 .gs7-btn--light { background: #fff; color: var(--gs-forest); }
.gs7 .gs7-btn--light:hover { background: var(--gs-tint); }
.gs7 .gs7-btn--outline { border-color: var(--gs-forest); color: var(--gs-forest); background: transparent; }
.gs7 .gs7-btn--outline:hover { background: var(--gs-forest); color: #fff; }

/* Hero */
.gs7-hero { position: relative; color: var(--gs-ink); }
.gs7-hero__inner { position: relative; z-index: 1; }
.gs7-hero h1 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -0.025em; max-width: 18ch; }
.gs7 .gs7-lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; max-width: 60ch; margin-top: 24px; }
.gs7 .gs7-hero__actions { margin: 32px 0 0; }
.gs7 .gs7-hero__eyebrow { margin: 0 0 18px; }
.gs7-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; margin-bottom: 20px; }
.gs7-crumbs a { color: inherit; text-decoration: none; opacity: .85; }
.gs7-crumbs a:hover { opacity: 1; text-decoration: underline; }
.gs7-crumbs span { opacity: .5; }

.gs7-hero--photo { color: #fff; min-height: clamp(520px, 74vh, 740px); display: flex; align-items: flex-end; background: var(--gs-forest); overflow: hidden; }
.gs7-hero--photo .gs7-hero__inner { padding-top: 120px; padding-bottom: clamp(48px, 7vw, 88px); }
.gs7-hero__media { position: absolute; inset: 0; }
.gs7-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.gs7-hero__media:empty, .gs7-card-photo__media:empty { display: none; }
.gs7-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 22, 15, .82) 0%, rgba(10, 22, 15, .45) 45%, rgba(10, 22, 15, .1) 80%), linear-gradient(to right, rgba(10, 22, 15, .45), transparent 70%); }
.gs7-hero--photo .gs7-lede { color: rgba(255, 255, 255, .9); }
.gs7-hero--home { min-height: clamp(600px, 88vh, 860px); }
.gs7-hero__eyebrow { font-size: 0.9375rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
.gs7-hero--home h1 { max-width: 19ch; font-size: clamp(2.5rem, 5vw, 4.25rem); }

.gs7-hero--forest { background: var(--gs-forest); color: #fff; overflow: hidden; }
.gs7-hero--forest .gs7-hero__inner, .gs7-hero--plain .gs7-hero__inner { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 104px); }
.gs7-hero--forest .gs7-lede { color: rgba(255, 255, 255, .86); }
.gs7-hero--plain { background: var(--gs-tint); border-bottom: 1px solid var(--gs-line); }
.gs7-hero--plain .gs7-lede { color: var(--gs-ink-2); }

/* Directory search in the home hero */
.gs7-search { display: flex; max-width: 640px; margin-top: 36px; background: #fff; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.gs7-search input[type=search] { flex: 1; min-width: 0; height: 58px; border: 0; padding: 0 20px; font: inherit; font-size: 1rem; color: var(--gs-ink); background: transparent; border-radius: 4px 0 0 4px; }
.gs7-search input[type=search]:focus { outline: 3px solid var(--gs-wheat); outline-offset: -3px; }
.gs7-search button { height: 58px; padding: 0 28px; border: 0; border-radius: 0 4px 4px 0; background: var(--gs-forest); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.gs7-search button:hover { background: var(--gs-forest-2); }
.gs7-search-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; font-size: 0.9375rem; color: rgba(255, 255, 255, .8); }
.gs7-search-tags a { color: #fff; }

/* Live stats band */
.gs7-stats { background: var(--gs-paper); border-bottom: 1px solid var(--gs-line); }
.gs7-stats__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.gs7-stats p { margin: 0; padding: 28px 24px 28px 0; display: flex; flex-direction: column; }
.gs7-stats p + p { padding-left: 24px; border-left: 1px solid var(--gs-line); }
.gs7-stats strong { font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--gs-forest); }
.gs7-stats span { color: var(--gs-ink-2); font-size: 0.9375rem; }

/* Section heads */
.gs7-section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.gs7-section-head .gs7-h2 { margin-bottom: 0.4em !important; }
.gs7-section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.gs7-section-head--split .gs7-h2 { margin-bottom: 0 !important; }
.gs7-section-head--split p { margin: 0; color: var(--gs-ink-2); max-width: 52ch; }

/* Photo cards */
.gs7-card-photo { position: relative; display: flex; align-items: flex-end; min-height: 280px; overflow: hidden; border-radius: var(--gs-radius); background: var(--gs-forest); color: #fff !important; text-decoration: none; isolation: isolate; }
.gs7-card-photo__media { position: absolute; inset: 0; z-index: -1; }
.gs7-card-photo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gs7-card-photo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 22, 15, .78), rgba(10, 22, 15, .05) 65%); }
.gs7-card-photo:hover .gs7-card-photo__media img { transform: scale(1.035); }
.gs7-card-photo__body { display: flex; flex-direction: column; gap: 4px; padding: 24px; }
.gs7-card-photo__body strong { font-size: 1.375rem; font-weight: 600; line-height: 1.2; }
.gs7-card-photo__body strong::after { content: " →"; font-weight: 400; opacity: 0; transition: opacity .2s; }
.gs7-card-photo:hover .gs7-card-photo__body strong::after { opacity: 1; }
.gs7-card-photo__body span { font-size: 0.9375rem; color: rgba(255, 255, 255, .86); }
.gs7-card-photo--plain { background: var(--gs-forest-2); }

.gs7-sectors { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, minmax(260px, 1fr)); gap: 16px; }
.gs7-sectors .gs7-card-photo--tall { grid-row: span 2; }
.gs7-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* Text cards */
.gs7-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gs7-cards--2 { grid-template-columns: repeat(2, 1fr); }
.gs7-cards--3 { grid-template-columns: repeat(3, 1fr); }
.gs7-card { background: var(--gs-paper); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); padding: clamp(24px, 3vw, 36px); }
.gs7-card h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.gs7-card p { color: var(--gs-ink-2); }
.gs7-card > :last-child, .gs7-card .gs7-prose > :last-child { margin-bottom: 0; }
.gs7 .gs7-card--link { color: var(--gs-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.gs7-card--link h3::after { content: " →"; color: var(--gs-forest-2); }
.gs7-card--link:hover { border-color: var(--gs-forest-2); box-shadow: 0 6px 24px rgba(23, 33, 27, .08); }

/* Two-column text rows */
.gs7-rows { display: grid; }
.gs7-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; padding: 40px 0; border-top: 1px solid var(--gs-line); }
.gs7-row:first-child { border-top: 0; padding-top: 0; }
.gs7-row:last-child { padding-bottom: 0; }
.gs7-row h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; }

/* Text + photo */
.gs7-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.gs7-split__media { margin: 0; border-radius: var(--gs-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--gs-tint); }
.gs7-split__media img { width: 100%; height: 100%; object-fit: cover; }
.gs7-split--reverse .gs7-split__media { order: 0; }
.gs7-split__text .gs7-prose { color: var(--gs-ink-2); }
.gs7 .gs7-split__text > p:last-child { margin: 24px 0 0; }
.gs7 .gs7-section-head--split p { margin: 0; }

.gs7-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.gs7-pair figure { margin: 0; }
.gs7-pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--gs-radius); }
.gs7-pair figcaption { font-size: 0.875rem; color: var(--gs-ink-2); margin-top: 10px; }

/* Audiences / steps */
.gs7-audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gs7-audience { background: var(--gs-paper); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; align-items: flex-start; }
.gs7-audience h3 { font-size: 1.375rem; margin-bottom: 24px; }
.gs7-steps { list-style: none; counter-reset: step; margin: 0 0 32px; padding: 0; display: grid; gap: 20px; flex: 1; }
.gs7-steps li { counter-increment: step; position: relative; padding-left: 48px; color: var(--gs-ink-2); }
.gs7-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gs-forest-2); color: var(--gs-forest-2); font-size: 0.875rem; font-weight: 600; display: grid; place-items: center; }
.gs7-steps strong { display: block; color: var(--gs-ink); font-weight: 600; }

/* Producers & articles */
.gs7-companies, .gs7-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gs7 .gs7-company, .gs7 .gs7-article { display: flex; flex-direction: column; background: var(--gs-paper); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); overflow: hidden; color: var(--gs-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.gs7-company:hover, .gs7-article:hover { border-color: var(--gs-forest-2); box-shadow: 0 6px 24px rgba(23, 33, 27, .08); }
.gs7-company__media, .gs7-article__media { aspect-ratio: 16 / 10; background: var(--gs-tint); display: grid; place-items: center; overflow: hidden; }
.gs7-company__media img, .gs7-article__media img { width: 100%; height: 100%; object-fit: cover; }
.gs7-company__initial { font-size: 3rem; font-weight: 600; color: var(--gs-forest-2); opacity: .35; }
.gs7-company__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 24px; }
.gs7-company strong, .gs7-article strong { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; }
.gs7-company__summary, .gs7-article__excerpt { color: var(--gs-ink-2); font-size: 0.9375rem; }
.gs7-article { padding-bottom: 24px; }
.gs7-article > .gs7-meta, .gs7-article > strong, .gs7-article > .gs7-article__excerpt { padding: 0 24px; }
.gs7-article > .gs7-meta { padding-top: 20px; margin-bottom: 6px; }
.gs7-article > strong { margin-bottom: 8px; }
.gs7-more { margin: 24px 0 0; }
.gs7-section-head--split + .gs7-companies + .gs7-more { display: none; }
.gs7-empty { border: 1px dashed #c6cdc3; border-radius: var(--gs-radius); padding: 32px; color: var(--gs-ink-2); max-width: 760px; }
.gs7-empty strong { color: var(--gs-ink); }
.gs7-empty p:last-child { margin: 0; }

/* Key figures */
.gs7-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--gs-line); }
.gs7-figures > div { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--gs-line); }
.gs7-figures dt { order: 2; color: var(--gs-ink-2); font-size: 0.9375rem; line-height: 1.45; }
.gs7-figures dd { margin: 0 0 6px; font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 600; line-height: 1.1; color: var(--gs-forest); letter-spacing: -0.02em; }
.gs7-figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.gs7 .gs7-source { margin: 20px 0 0; font-size: 0.8125rem; color: var(--gs-ink-2); max-width: 90ch; }
.gs7-section--tint .gs7-figures { border-top-color: #d6d3c9; }
.gs7-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin-top: 8px; }
.gs7-table th, .gs7-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--gs-line); vertical-align: top; }
.gs7-table th { font-weight: 600; color: var(--gs-ink-2); font-size: 0.8125rem; }
.gs7-table td.num, .gs7-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gs7-table-wrap { overflow-x: auto; }

/* Link list */
.gs7-linklist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
.gs7-linklist li { border-top: 1px solid var(--gs-line); }
.gs7-linklist a { display: block; padding: 18px 0; font-weight: 500; text-decoration: none; color: var(--gs-ink); }
.gs7-linklist a::after { content: " →"; color: var(--gs-forest-2); }
.gs7-linklist a:hover { color: var(--gs-forest-2); }

/* Closing band */
.gs7-cta { background: var(--gs-forest); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.gs7-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.gs7-cta h2 { font-size: clamp(1.625rem, 2.6vw, 2.375rem); line-height: 1.15; max-width: 26ch; }
.gs7-cta .gs7-btn { flex-shrink: 0; }

/* Enquiry form (markup from Core's gs_v06_enquiry_form) */
.gs7 .gs06-form-section { padding: var(--gs-section) 0; background: var(--gs-tint); }
.gs7 .gs06-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gs-pad); }
.gs7 .gs06-form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; }
.gs7 .gs06-form-grid h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.12; margin-bottom: 16px; }
.gs7 .gs06-form-grid > div:first-child p { color: var(--gs-ink-2); }
.gs7 .gs06-form-surface { background: var(--gs-paper); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); padding: clamp(24px, 3.5vw, 44px); }
.gs7 .gs06-form-surface form { display: grid; gap: 20px; }
.gs7 .gs06-form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gs7 .gs06-form-surface label { display: grid; gap: 6px; font-size: 0.9375rem; font-weight: 500; }
.gs7 .gs06-form-surface input[type=text], .gs7 .gs06-form-surface input[type=email], .gs7 .gs06-form-surface input[type=url], .gs7 .gs06-form-surface textarea { width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--gs-ink); background: #fff; border: 1px solid #b9c2b8; border-radius: 4px; padding: 12px 14px; }
.gs7 .gs06-form-surface input:focus, .gs7 .gs06-form-surface textarea:focus { outline: 3px solid var(--gs-wheat); outline-offset: 0; border-color: var(--gs-forest-2); }
.gs7 .gs06-form-surface .gs06-consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--gs-ink-2); }
.gs7 .gs06-consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--gs-forest); flex-shrink: 0; }
.gs7 .gs06-form-submit { justify-self: start; min-height: 50px; padding: 12px 28px; border: 0; border-radius: 4px; background: var(--gs-forest); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.gs7 .gs06-form-submit:hover { background: var(--gs-forest-2); }
.gs7 .gs06-form-fine { font-size: 0.875rem; color: var(--gs-ink-2); margin: 0; }
.gs7 .gs06-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gs7 .gs06-form-message { padding: 14px 16px; border-radius: 4px; background: #e6f0e4; color: #1d4a2a; margin-bottom: 20px; }
.gs7 .gs06-form-message--error { background: #fbe9e6; color: #8a2a1b; }

/* Responsive */
@media (max-width: 960px) {
  .gs7-section-head--split, .gs7-row, .gs7-split, .gs7 .gs06-form-grid { grid-template-columns: 1fr; }
  .gs7-split--reverse .gs7-split__media { order: 0; }
  .gs7-sectors { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .gs7-sectors .gs7-card-photo--tall { grid-row: auto; grid-column: 1 / -1; min-height: 340px; }
  .gs7-cards--3, .gs7-companies, .gs7-articles { grid-template-columns: 1fr 1fr; }
  .gs7-audiences { grid-template-columns: 1fr; }
  .gs7-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .gs7 { font-size: 1rem; }
  .gs7-sectors, .gs7-cards--2, .gs7-cards--3, .gs7-companies, .gs7-articles, .gs7-pair, .gs7 .gs06-form-pair { grid-template-columns: 1fr; }
  .gs7-card-photo { min-height: 240px; }
  .gs7-hero--photo { min-height: 560px; }
  .gs7-hero--home { min-height: 640px; }
  .gs7-search { flex-direction: column; background: transparent; box-shadow: none; gap: 8px; }
  .gs7-search input[type=search], .gs7-search button { border-radius: 4px; }
  .gs7-search input[type=search] { background: #fff; flex: none; width: 100%; }
  .gs7-stats p, .gs7-stats p + p { padding: 18px 0; border-left: 0; border-top: 1px solid var(--gs-line); }
  .gs7-stats p:first-child { border-top: 0; }
  .gs7-row { padding: 32px 0; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .gs7 *, .gs7 *::before, .gs7 *::after { transition: none !important; }
}
.gs7-after-figures { margin-top: 32px; }
.gs7-figures:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .gs7 .gs7-figures, .gs7 .gs7-figures:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gs7 .gs7-figures, .gs7 .gs7-figures:has(> div:nth-child(4):last-child) { grid-template-columns: 1fr; } }
