/* House style of https://climate-adapt4eosc.eu/ (Avada theme): palette and
   typography tokens copied from the site's generated stylesheet; spacing and
   radii approximated. Fonts are self-hosted (no third-party requests, which
   the node's privacy notice would otherwise have to cover):
   Quicksand 600 and Roboto (variable 400-700), both SIL Open Font License 1.1,
   from Google Fonts. */
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 600; font-display: swap;
             src: url("quicksand-600.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400 700; font-display: swap;
             src: url("roboto.woff2") format("woff2"); }

:root {
  --white: #ffffff;        /* awb-color1: page */
  --mist: #f9f9fb;         /* awb-color2: sections */
  --line: #ededed;         /* awb-color3: borders */
  --green: #5c915b;        /* awb-color4: links, accents */
  --gold: #dca51d;         /* awb-color5: buttons, link hover */
  --gold-dark: #b8860b;    /* button hover (site: color5, -10% lightness) */
  --slate: #434549;        /* awb-color6: secondary text */
  --night: #212326;        /* awb-color7: footer */
  --ink: #1e1e1e;          /* awb-color8: text, copyright bar */
  --heading: "Quicksand", Arial, Helvetica, sans-serif;
  --body: "Roboto", Arial, Helvetica, sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.72 var(--body);
       letter-spacing: .015em; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover, a:focus-visible { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 600; color: var(--ink); line-height: 1.2;
                 letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 2.6rem 0 .8rem; }
h3 { font-size: 1.25rem; margin: 1.6rem 0 .4rem; letter-spacing: 0; }
code { font: .9em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--mist);
       border: 1px solid var(--line); border-radius: 4px; padding: .1em .35em; overflow-wrap: anywhere; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* header: white bar, logo left, Roboto 500 navigation right */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem;
                flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand img { display: block; width: 260px; }
.brand-node { font: 600 1rem/1 var(--heading); color: var(--slate); padding-left: .75rem;
              border-left: 1px solid var(--line); white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem;
            font: 500 15px/1.2 var(--body); }
.site-nav a { color: var(--ink); padding: .4rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green); }
.site-nav a.button { color: var(--white); }

/* buttons: gold, white text, Roboto 500 */
.button { display: inline-block; background: var(--gold); color: var(--white); font: 500 16px/1.2 var(--body);
          letter-spacing: .015em; padding: 13px 29px; border-radius: 4px; border: 0; }
.button:hover, .button:focus-visible { background: var(--gold-dark); color: var(--white); }
.button.secondary { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.button.secondary:hover { background: var(--green); color: var(--white); }
.site-nav .button { padding: 10px 20px; font-size: 15px; }

/* notice strip and hero */
.notice { background: var(--mist); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.notice .wrap { padding-top: 10px; padding-bottom: 10px; }
.notice strong { color: var(--ink); }
.hero { background: var(--mist); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.eyebrow { font: 500 13px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--green);
           margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 46rem; margin: 0 0 1.8rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

main { padding-bottom: 72px; }
.page { padding-top: 48px; max-width: 52rem; }
.page h1 { margin-bottom: 1rem; }
.placeholder { background: #fdf6e3; border-left: 4px solid var(--gold); padding: .8rem 1rem; color: var(--slate); }
ol li, ul li { margin: .35rem 0; }
dt { font: 600 1.05rem/1.3 var(--heading); margin-top: 1.4rem; }
dd { margin: .3rem 0 0; }

/* cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 48px; }
.card { display: block; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green);
        border-radius: 8px; padding: 1.4rem 1.5rem 1.5rem; color: var(--ink); transition: box-shadow .15s, border-color .15s; }
.card:nth-child(even) { border-top-color: var(--gold); }
.card h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--slate); }
a.card:hover { color: var(--ink); box-shadow: 0 8px 24px rgba(33, 35, 38, .08); }
a.card:hover h3 { color: var(--green); }

/* footer: dark columns + copyright bar, as on the project site */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .6); font-size: 15px; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
               padding-top: 56px; padding-bottom: 48px; }
.site-footer h4 { color: var(--white); font-size: 1.1rem; margin: 0 0 .9rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: var(--green); }
.site-footer p { margin: 0; }
.copyright { background: var(--ink); font-size: 13px; }
.copyright .wrap { padding-top: 18px; padding-bottom: 18px; }

@media (max-width: 720px) {
  .brand img { width: 210px; }
  .hero { padding: 40px 0 36px; }
  .site-nav { gap: .25rem 1rem; }
}

/* "How this node works": architecture map following Handbook v2 section 4.2 */
.arch { display: grid; gap: 20px; margin: 32px 0 8px; }
.layer { border: 1px solid var(--line); border-radius: 8px; padding: 18px 18px 20px; background: var(--white); }
.layer.node { background: var(--mist); }
.layer > h3 { margin: 0 0 .2rem; }
.layer > p.what { margin: 0 0 14px; color: var(--slate); font-size: 15px; }
.caps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.cap { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.cap h4 { font: 600 1rem/1.25 var(--heading); margin: 0 0 .25rem; letter-spacing: 0; }
.cap p { margin: .2rem 0 0; color: var(--slate); }
.cap a { overflow-wrap: anywhere; }
.st { display: inline-block; font: 500 12px/1 var(--body); letter-spacing: .04em; text-transform: uppercase;
      padding: 4px 7px; border-radius: 3px; margin-bottom: .45rem; }
.st-run { background: #e3efe2; color: #2f5e2e; }
.st-dep { background: #fbf0d3; color: #6b4e00; }
.st-part { background: #e6eef6; color: #2c4a66; }
.st-no { background: #ededed; color: #434549; }
.st-ext { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1px var(--line); }
.flow { text-align: center; color: var(--slate); font-size: 14px; }
.flow::before { content: "\2193"; display: block; font-size: 22px; line-height: 1; color: var(--green); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--slate); margin-top: 8px; }
dl.glossary dt { font: 600 1.02rem/1.3 var(--heading); margin-top: 1.1rem; }
dl.glossary dd { margin: .25rem 0 0; color: var(--ink); }
.cite { color: var(--slate); font-size: 14px; }
