@font-face { font-family: Manrope; src: url('/assets/manrope.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --font: Manrope, 'Segoe UI', system-ui, sans-serif;
  --headline: var(--font);
  --ink: #10291b;
  --muted: #45534a;
  --surface: #fff;
  --paper: #fff;
  --line: #d8e0d9;
  --accent: #0c5630;
  --wash: #f6f1e6;
  --radius: 10px;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 var(--font);
}
[data-site='eee'] { --ink: #201336; --muted: #50455e; --paper: #f7f4ff; --line: #dcd3eb; --accent: #5933cb; --wash: #eaddfb; }
[data-site='news'] { --ink: #151512; --muted: #514d49; --line: #d6d1ca; --accent: #a3161e; --wash: #fff; --radius: 0; --headline: Georgia, 'Times New Roman', serif; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--headline); letter-spacing: -.055em; }
h1 { font-size: clamp(3.05rem, 5.48vw, 5.15rem); line-height: .99; font-weight: 800; }
h2 { font-size: clamp(2.1rem, 3.55vw, 3.15rem); line-height: 1.07; font-weight: 800; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
section[id], aside[id], .anchor { scroll-margin-top: 1rem; }
.wrap { width: min(calc(100% - 80px), 1392px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { z-index: 2; position: fixed; top: 10px; left: 10px; padding: 10px; background: white; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 70px; gap: clamp(24px, 4vw, 64px); }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; width: fit-content; text-decoration: none; font-size: clamp(1.1rem, 2.1vw, 1.6rem); font-weight: 800; letter-spacing: -.045em; }
.brand-mark { display: inline-flex; align-items: center; color: var(--accent); }
.brand-mark i { display: block; width: 25px; aspect-ratio: 1; border: 4px solid currentColor; border-radius: 50%; }
.brand-mark i + i { margin-left: -2px; }
[data-site='eee'] .brand-mark { transform: skewX(-32deg); }
[data-site='eee'] .brand-mark i { width: 18px; height: 26px; border-radius: 24px; }
nav { display: flex; align-self: stretch; gap: clamp(16px, 3vw, 40px); }
nav a { position: relative; display: inline-flex; gap: 7px; align-items: center; text-decoration: none; font-weight: 750; line-height: 1.2; }
nav a:hover { color: var(--accent); }
nav a[aria-current='true']::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--accent); }
nav svg { width: 20px; flex: none; }
[data-site='eee'] nav { justify-content: center; }
[data-site='news'] .brand { font-family: var(--headline); font-size: clamp(2rem, 4.25vw, 3.6rem); line-height: 1; }
[data-site='news'] .site-header { border-bottom: 3px solid var(--ink); }
[data-site='news'] nav { justify-content: end; }
[data-site='news'] nav a { font-family: var(--headline); font-size: 1.25rem; }
select {
  appearance: none; min-height: 40px; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 32px 0 12px; background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23151512' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 13px;
}
.hero { background: var(--wash); }
.hero-grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: clamp(24px, 3.2vw, 48px); align-items: stretch; padding-block: 28px; }
.hero-copy { align-self: center; min-width: 0; padding-block: 15px; }
.hero-copy p { margin-block: 18px 25px; font-size: clamp(1.05rem, 1.6vw, 1.37rem); line-height: 1.42; max-width: 38em; }
.hero-image { display: block; width: 100%; height: 100%; min-height: 280px; max-height: 480px; aspect-ratio: 1.77; object-fit: cover; border-radius: 18px; }
[data-site='eee'] .hero { background: linear-gradient(110deg, #efe5fa, #ddd0fa); }
[data-site='eee'] .hero-grid { padding-block: 34px; }
[data-site='eee'] .hero-image { border-radius: 14px; }
[data-site='news'] .hero-grid { grid-template-columns: .66fr 1.34fr; gap: 30px; padding-block: 0; }
[data-site='news'] .hero-copy { padding-block: 36px; }
[data-site='news'] h1 { font-size: clamp(3.35rem, 7vw, 6.5rem); }
[data-site='news'] .hero-copy p { font-family: var(--headline); font-size: clamp(1.25rem, 2.2vw, 2.15rem); line-height: 1.12; }
[data-site='news'] .hero-image { border-radius: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 9px 19px; border-radius: var(--radius); line-height: 1.2; font-weight: 800; border: 1px solid transparent; text-decoration: none; }
.primary { color: white; background: var(--accent); }
.primary:hover { filter: brightness(.88); }
.secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.secondary:hover { border-color: var(--accent); color: var(--accent); }
.search { display: flex; align-items: center; min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search input { min-width: 0; width: 100%; border: 0; outline: none; background: transparent; padding: 9px 12px; }
.search > svg { margin-left: 12px; width: 18px; flex: none; }
.search-submit { align-self: stretch; width: 51px; flex: none; display: grid; place-items: center; background: var(--accent); color: white; border: 0; border-radius: 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0; }
.hero .search { min-height: 54px; }
.catalogue { padding-block: 34px 52px; position: relative; }
.anchor { position: absolute; top: 0; }
.directory-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 17px 0 18px; }
.directory-tools .search { flex: 1 1 220px; max-width: 390px; margin-left: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-height: 39px; padding: 5px 14px; font-size: .93rem; font-weight: 750; }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed='true'] { color: #fff; border-color: var(--accent); background: var(--accent); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); }
.card-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; align-items: start; }
.card-top > svg { width: 31px; height: 31px; margin-top: 2px; color: var(--accent); }
.card h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 800; letter-spacing: -.025em; }
.card .provider, .provider-link { font-size: .82rem; color: var(--muted); }
.card p { flex: 1; margin-block: 12px 15px; font-size: .94rem; line-height: 1.5; }
.card-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
.card-foot span { font-size: .82rem; color: var(--muted); font-weight: 750; }
.text-link { font-size: .9rem; font-weight: 800; color: var(--accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.provider-link { margin-top: 5px; }
.provider-link a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.save-button { display: grid; place-items: center; width: 35px; height: 35px; margin: -4px -4px 0 0; padding: 0; border: 1px solid transparent; border-radius: 7px; color: var(--accent); background: none; }
.save-button:hover { border-color: var(--line); }
.save-button[aria-pressed='true'] svg { fill: var(--accent); stroke: var(--accent); }
.save-button svg { width: 19px; height: 19px; }
.tool-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; font-size: .85rem; font-weight: 800; }
.mint { color: #164c3a; background: #dbf2e9; }
.sky { color: #263f9e; background: #e3e8ff; }
.violet { color: #5933cb; background: #eee4ff; }
.sand { color: #8a3e21; background: #fae8d6; }
.rose { color: #a42b53; background: #fae3ed; }
.status { margin-block: 15px; color: var(--muted); }
.chat-section { padding-bottom: 60px; }
.chat-box { max-width: 850px; margin-inline: auto; background: var(--surface); padding: clamp(16px, 3.4vw, 38px); border: 1px solid var(--line); border-radius: 18px; }
.chat-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; justify-content: space-between; }
.chat-box > p { color: var(--muted); margin-top: 10px; }
.chat-form { display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; }
.chat-form textarea { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); padding: 10px; resize: vertical; }
.chat-box small { color: var(--muted); }
.messages:not(:empty) { display: grid; gap: 12px; padding: 20px 0 0; }
.message { background: var(--paper); padding: 12px 16px; border-radius: var(--radius); overflow-wrap: anywhere; max-width: 94%; }
.message.user { background: var(--wash); justify-self: end; }
.message p { white-space: pre-wrap; }
.chat-status:empty { display: none; }
.news-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); gap: 28px; border-top: 7px solid var(--ink); padding-block: 21px 65px; margin-top: 12px; }
.news-grid aside { padding-left: 24px; border-left: 1px solid var(--ink); }
.news-grid .directory-tools { margin-top: 14px; }
.news-grid .directory-tools .search { margin-left: 0; }
.headlines { list-style: none; padding: 0; margin: 0 0 18px; }
.headlines li { display: grid; grid-template-columns: minmax(110px, 22%) 1fr; gap: 10px 16px; align-items: start; border-top: 1px solid var(--line); padding: 12px 0; }
.headlines li:last-child { border-bottom: 1px solid var(--line); }
.headline-meta { font-size: .84rem; color: var(--muted); }
.headline-meta strong { display: block; color: var(--accent); }
.headlines a { font: 700 clamp(1.16rem, 1.8vw, 1.48rem)/1.22 var(--headline); text-decoration: none; }
.headlines a:hover, .publisher-list a:hover { color: var(--accent); text-decoration: underline; }
.publisher-list { padding: 0; margin: 10px 0 0; list-style: none; }
.publisher-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 12px; padding: 10px 0; align-items: baseline; border-bottom: 1px solid var(--line); }
.publisher-list a { font: 700 1.1rem/1.25 var(--headline); text-decoration: none; }
.publisher-list span { font-size: .75rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: minmax(180px, 2.5fr) 1fr 1fr; gap: 24px; padding-block: 28px; }
.footer-grid p { max-width: 55ch; font-size: .9rem; }
.footer-grid strong { color: var(--ink); }
.footer-languages, .footer-nav { display: flex; flex-wrap: wrap; align-content: start; gap: 6px 14px; font-size: .9rem; }
.footer-grid a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.footer-grid a[aria-current] { font-weight: 800; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .card { padding: 14px; }
  .header-grid { gap: 20px; }
  .directory-tools:has(.filters) .search { margin-left: 0; }
}
@media (max-width: 790px) {
  .header-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding-top: 10px; }
  .header-grid nav, [data-site='eee'] nav, [data-site='news'] nav { justify-content: start; grid-column: 1/-1; grid-row: 2; min-height: 47px; }
  .header-grid .language { grid-column: 2; grid-row: 1; }
  .hero-grid, [data-site='news'] .hero-grid { grid-template-columns: 1fr 1fr; gap: 17px; }
  .hero-image { min-height: 210px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: minmax(0, 1fr) minmax(155px, .42fr); gap: 15px; }
  .news-grid aside { padding-left: 13px; }
}
@media (max-width: 575px) {
  .wrap { width: calc(100% - 32px); }
  .brand { gap: 7px; }
  .brand-mark i { width: 18px; border-width: 3px; }
  [data-site='eee'] .brand-mark i { width: 13px; height: 19px; }
  .header-grid nav { gap: 14px; flex-wrap: wrap; }
  nav a { min-height: 42px; font-size: .89rem; }
  nav a svg { display: none; }
  [data-site='news'] nav a { font-size: 1.02rem; }
  .header-grid select { min-height: 37px; max-width: 125px; font-size: .88rem; }
  h1 { font-size: clamp(2.55rem, 10.3vw, 3.6rem); }
  [data-site='news'] h1 { font-size: clamp(2.7rem, 11vw, 3.7rem); }
  .hero-grid, [data-site='news'] .hero-grid, [data-site='eee'] .hero-grid { grid-template-columns: 1fr; padding-block: 22px 17px; gap: 17px; }
  .hero-copy, [data-site='news'] .hero-copy { padding-block: 3px; }
  .hero-copy p { margin-block: 13px 17px; }
  .hero-image { min-height: 0; height: auto; border-radius: 11px; }
  .catalogue { padding-block: 27px 35px; }
  .directory-tools .search { max-width: none; }
  .cards, .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .news-grid { padding-bottom: 36px; }
  .news-grid aside { padding: 15px 0 0; border-left: 0; border-top: 2px solid var(--ink); }
  .headlines li { grid-template-columns: 1fr; gap: 4px; }
  .headline-meta strong { display: inline; margin-right: 8px; }
  .chat-form { align-items: stretch; flex-direction: column; }
  .chat-form button { align-self: flex-end; }
}
