/* NOERA 2027: O nama / About us and Mediji / Media pages. Header layout comes from navigation.css. */
:root {
  --ink: #102e43;
  --blue: #075887;
  --muted: #4a6579;
  --line: #dce8ef;
  --pale: #f3f8fb;
  --max: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--pale);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #0a8ec5;
  outline-offset: 5px;
}
svg {
  display: block;
  flex-shrink: 0;
}
.wrap {
  width: min(var(--max), calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 40;
  top: 12px;
  left: 16px;
  padding: 12px 18px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 6px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
}
.header-inner {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  flex-shrink: 0;
  display: inline-flex;
}
.brand img {
  display: block;
}
.header-actions {
  display: flex;
  align-items: center;
}
.icon {
  width: 24px;
  height: 24px;
}
.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
}
.icon-button:hover {
  background: #f0f6f9;
}
.mobile-nav[hidden] {
  display: none;
}
.main-nav > button,
.mobile-nav > button {
  cursor: pointer;
}

main {
  padding-top: 52px;
  padding-bottom: 32px;
}
.intro {
  margin-bottom: 36px;
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
}
h1 {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.lead {
  max-width: 68ch;
  margin-top: 18px;
  color: #3e5d71;
  font-size: 18px;
  line-height: 1.65;
}
.section-title {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.about-intro .intro {
  margin-bottom: 0;
}
.about-intro .intro p:not(.eyebrow) {
  max-width: 68ch;
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.72;
}
.about-intro h1 {
  margin-bottom: 5px;
}
.organizers {
  padding: 22px 22px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 26px #0f43640a;
}
.organizers h2,
.support-group h3 {
  font-size: 19px;
  line-height: 1.35;
}
.org-list,
.logo-grid,
.media-grid {
  list-style: none;
  padding: 0;
}
.org-list {
  margin-top: 9px;
}
.org-item {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 85px;
  padding-block: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.org-item + .org-item {
  border-top: 1px solid var(--line);
}
.org-item img {
  width: 100%;
  height: 61px;
  object-fit: contain;
}
.org-item a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.expertise {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.expertise h2,
.themes > h2,
.bridge h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.expertise p,
.bridge p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.75;
}
.themes {
  margin-top: 36px;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.theme {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--theme);
  border-radius: 12px;
}
.theme--water {
  --theme: #075887;
}
.theme--soil {
  --theme: #83623f;
}
.theme--waste {
  --theme: #347843;
}
.theme h3 {
  color: var(--theme);
  font-size: 17px;
  letter-spacing: 0.06em;
}
.theme p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.72;
}
.bridge {
  max-width: 1000px;
  margin-top: 34px;
}
.support {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.support > h2 {
  font-size: clamp(29px, 3vw, 36px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.support-group {
  margin-top: 27px;
}
.support-group:focus {
  outline: none;
}
.support-group h3 {
  margin-bottom: 12px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.logo-grid--patrons {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.logo-tile {
  display: grid;
  grid-template-rows: 88px 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 156px;
  padding: 13px 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.logo-tile img {
  width: min(100%, 152px);
  height: 100%;
  object-fit: contain;
}
.logo-tile span {
  max-width: 29ch;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.media-fair {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 24px;
  margin-top: 22px;
}
.media-partner {
  min-width: 0;
}
.media-partner-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.media-partner-link:hover {
  border-color: #3db5d6;
  box-shadow: 0 10px 30px #102e430d;
}
.media-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 42px 34px;
}
.media-partner-logo img {
  width: min(100%, 440px);
  max-height: 120px;
  object-fit: contain;
}
.media-partner-copy {
  padding: 28px 32px 32px;
  border-top: 1px solid #e7eff3;
}
.media-partner-copy h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.media-partner-copy p {
  max-width: 39ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.media-visit {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--blue);
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}
.media-partner:only-child .media-partner-link {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.media-partner:only-child .media-partner-logo {
  min-height: 245px;
  padding: 48px;
}
.media-partner:only-child .media-partner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 38px 46px;
  border-top: 0;
  border-left: 1px solid #e7eff3;
}
.media-updates {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.media-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  padding: 28px 32px;
  border-block: 1px solid var(--line);
}
.media-contact h2 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.35;
}
.media-contact p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.media-contact-link {
  display: inline-block;
  padding: 14px 20px;
  background: var(--blue);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.media-contact-link:hover {
  background: #104461;
}

.page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.event-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 15px;
  row-gap: 4px;
}
.event-date {
  font-weight: 700;
  color: var(--ink);
}
.event-location {
  padding-left: 15px;
  border-left: 1px solid #bfd0da;
}
.site-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  white-space: nowrap;
}
.site-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-footer .copyright {
  width: 100%;
}

.catalog-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 32px;
  color: var(--ink);
  border: 1px solid #d6e4eb;
  border-radius: 20px;
  box-shadow: 0 25px 100px #072c4d40;
}
.catalog-dialog::backdrop {
  background: #0b293982;
}
.catalog-dialog .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.catalog-dialog h2 {
  margin: 6px 0 14px;
  font-size: 26px;
  line-height: 1.25;
}
.catalog-dialog p:not(.eyebrow) {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 1120px) {
  .wrap {
    width: calc(100% - 64px);
  }
}
@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
  .org-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .org-item + .org-item {
    border-top: 0;
  }
  .expertise {
    gap: 24px;
  }
  .theme-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .logo-grid,
  .logo-grid--patrons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .media-partner:only-child .media-partner-logo,
  .media-partner:only-child .media-partner-copy {
    padding: 32px;
  }
  .media-contact {
    flex-wrap: wrap;
    gap: 20px;
    padding-inline: 0;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 40px);
  }
  main {
    padding-top: 36px;
    padding-bottom: 28px;
  }
  .lead {
    font-size: 16px;
  }
  .about-intro .intro p:not(.eyebrow),
  .expertise p,
  .bridge p {
    font-size: 15px;
  }
  .organizers {
    padding: 17px 16px 5px;
  }
  .org-list {
    display: block;
  }
  .org-item {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: 75px;
  }
  .org-item + .org-item {
    border-top: 1px solid var(--line);
  }
  .org-item img {
    height: 52px;
  }
  .expertise {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 28px;
    padding-top: 26px;
  }
  .expertise h2,
  .themes > h2,
  .bridge h2 {
    font-size: 21px;
  }
  .theme {
    padding: 20px;
  }
  .support {
    margin-top: 29px;
    padding-top: 26px;
  }
  .logo-grid,
  .logo-grid--patrons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .logo-tile {
    grid-template-rows: 70px 1fr;
    gap: 8px;
    min-height: 120px;
    padding: 11px 8px;
  }
  .logo-tile span {
    font-size: 13px;
  }
  .section-title {
    font-size: 24px;
  }
  .media-fair {
    flex-direction: column;
    gap: 7px;
  }
  .media-partner:only-child .media-partner-link {
    display: flex;
  }
  .media-partner:only-child .media-partner-logo {
    min-height: 145px;
    padding: 34px 26px;
  }
  .media-partner:only-child .media-partner-copy {
    padding: 25px 26px 28px;
    border-left: 0;
    border-top: 1px solid #e7eff3;
  }
  .media-partner-copy h3 {
    font-size: 23px;
  }
  .media-contact {
    margin-top: 28px;
  }
  .media-contact-link {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .page-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .event-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .event-location {
    padding: 0;
    border: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
