/*
Theme Name: FEIS
Theme URI: https://feis.org.pl/
Author: FEIS
Description: Motyw Fundacji Europejskich Inicjatyw na Śląsku: ciemny hero, fioletowy akcent, logo wektorowe, stylowe wpisy, strony i lista aktualności. Dwujęzyczny (PL/EN), responsywny.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: feis
Tags: blog, news, custom-menu, featured-images, translation-ready, accessibility-ready, one-column
*/
/* ===== WORDPRESS ISOLATION: stops the theme from restyling the page ===== */
#feis {
  display: block; position: relative;
  width: 100vw; max-width: 100vw;
  left: 50%; margin: 0 0 0 -50vw; padding: 0;   /* full-width, break out of theme container */
  overflow-x: clip; text-align: left; font-size: 16px;
}
#feis *, #feis *:before, #feis *:after { box-sizing: border-box; }
#feis h1, #feis h2, #feis h3, #feis h4, #feis p, #feis ul, #feis li, #feis a, #feis div, #feis section, #feis nav, #feis span, #feis button {
  margin: 0; padding: 0; border: 0;
  color: inherit; font-family: inherit; line-height: inherit;
  text-transform: none; text-shadow: none; box-shadow: none;
}
#feis li { list-style: none; }
#feis img { max-width: 100%; height: auto; box-shadow: none; border-radius: 0; }
#feis a { text-decoration: none; }
#feis button { letter-spacing: normal; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body:has(#feis) { overflow-x: clip; }
.admin-bar #feis .fhd { top: 44px; }
@media (max-width: 782px) { .admin-bar #feis .fhd { top: 58px; } }


/* ===== VARIABLES & BASE ===== */
#feis {
  --a: #6d52a2;
  --ad: #553d88;
  --al: #b9a6f0;
  --tint: #f5f2fb;
  --tint2: #e8e1f6;
  --ink: #15111f;
  --mut: #645f77;
  --line: #e6e1f0;
  --r: 10px;
  --max: 1200px;
  --hd: 'Space Grotesk',system-ui,sans-serif;
}
#feis * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#feis {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
#feis {
  font-family: Inter,system-ui,sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
#feis h1,
#feis h2,
#feis h3 {
  font-family: var(--hd);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.03em;
}
#feis a {
  color: inherit;
  text-decoration: none;
}
#feis img {
  max-width: 100%;
  display: block;
}
#feis .wrap {
  max-width: var(--max);
  margin: auto;
  padding: 0 24px;
}
#feis section {
  padding: 100px 0;
}

/* ===== SHARED: eyebrow, headings, buttons ===== */
#feis .eyebrow {
  font: 600 .78rem var(--hd);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--a);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#feis .eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--a);
}
#feis h2 {
  font-size: clamp(2rem,4.4vw,3.3rem);
  margin-bottom: 18px;
}
#feis .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid var(--ink);
  background: #fff;
  transition: .25s;
}
#feis .btn:hover {
  background: var(--ink);
  color: #fff;
}
#feis .btn.p {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
}
#feis .btn.p:hover {
  background: var(--ad);
  border-color: var(--ad);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(109,82,162,.35);
}

/* ===== HEADER & NAVIGATION (dark over hero, light after) ===== */
#feis .fhd {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0 16px;
  padding-top: env(safe-area-inset-top,0);
}
#feis .nav {
  max-width: 1120px;
  margin: auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 22px;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(21,17,31,.08);
  backdrop-filter: blur(16px);
  transition: background .35s,color .35s,border-color .35s,box-shadow .35s;
}
#feis .fhd.dk .nav {
  background: rgba(20,13,36,.55);
  color: #fff;
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
#feis .logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  transition: color .35s;
}
#feis .fhd.dk .logo {
  color: #fff;
}
#feis .logo .mark {
  display: block;
  height: 36px;
  width: auto;
  overflow: visible;
}
#feis nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
}
#feis nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .9rem;
  transition: background .2s;
}
#feis nav a:hover {
  background: var(--tint);
}
#feis .fhd.dk nav a:hover {
  background: rgba(255,255,255,.12);
}
#feis .tools {
  display: flex;
  gap: 8px;
  align-items: center;
}
#feis .lang {
  display: flex;
  background: var(--tint);
  border-radius: 8px;
  padding: 3px;
  transition: .35s;
}
#feis .fhd.dk .lang {
  background: rgba(255,255,255,.12);
}
#feis .lang button {
  background: none;
  border: 0;
  padding: 6px 12px;
  border-radius: 6px;
  font: 700 .76rem Inter, system-ui, sans-serif;
  cursor: pointer;
  color: inherit;
  opacity: .7;
}
#feis .lang button.on {
  background: var(--ink);
  color: #fff;
  opacity: 1;
}
#feis .fhd.dk .lang button.on {
  background: #fff;
  color: var(--ink);
}
#feis .hc {
  padding: 10px 18px;
  font-size: .85rem;
}
#feis .burger {
  color: inherit;
  display: none;
  width: 42px;
  height: 42px;
  background: var(--tint);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  transition: .35s;
}
#feis .fhd.dk .burger {
  background: rgba(255,255,255,.12);
}
#feis .burger i {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: .3s;
}
#feis .burger.open i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#feis .burger.open i:nth-child(2) {
  opacity: 0;
}
#feis .burger.open i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO (dark) ===== */
#feis .hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 0;
  text-align: center;
  color: #fff;
  background: radial-gradient(ellipse 70% 45% at 50% 100%,rgba(109,82,162,.5),transparent 70%),#09060f;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
#feis .ht {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#feis .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 6px 14px 6px 7px;
  font-size: .84rem;
  font-weight: 500;
}
#feis .pill i {
  background: var(--a);
  color: #fff;
  font-style: normal;
  border-radius: 5px;
  padding: 2px 9px;
  font-size: .72rem;
  font-weight: 600;
}
#feis .hero h1 {
  font-size: clamp(2.5rem,5.6vw,4.9rem);
  max-width: 940px;
  margin: 22px 0 16px;
  text-wrap: balance;
}
#feis .hero h1 .gr {
  background: linear-gradient(95deg,#d9ceff,#9a83ea 60%,#7f62d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#feis .hero .sub {
  max-width: 560px;
  color: #b9b2cc;
  font-size: 1.08rem;
  margin-bottom: 26px;
}
#feis .dock {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
#feis .dock a {
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  transition: .25s;
}
#feis .dock a:hover {
  background: rgba(255,255,255,.12);
}
#feis .dock a.p {
  background: var(--a);
}
#feis .dock a.p:hover {
  background: #7d62b8;
}
#feis .gstage {
  --gw: min(1500px,150vw);
  position: relative;
  flex: 1;
  min-height: clamp(300px,40vw,540px);
  margin-top: 24px;
}
#feis .gstage:before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--gw) * -.25);
  width: calc(var(--gw) * 1.5);
  height: calc(var(--gw) * 1.5);
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle closest-side,rgba(124,94,225,.24) 0,rgba(124,94,225,.24) 58%,rgba(124,94,225,.2) 61%,rgba(122,92,224,.16) 65%,rgba(118,88,218,.12) 70%,rgba(114,85,210,.085) 76%,rgba(110,82,190,.055) 83%,rgba(109,82,162,.03) 91%,rgba(109,82,162,0) 100%);
}
#feis .stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
#feis .st1,
#feis .st2 {
  position: absolute;
  display: block;
  animation: tw var(--d,5s) ease-in-out var(--l,0s) infinite;
  will-change: opacity;
}
#feis .st1 {
  border-radius: 50%;
  background: var(--c,#fff);
  box-shadow: 0 0 calc(var(--s) * 3px) rgba(190,165,255,.55);
}
#feis .st2 {
  color: var(--c,#fff);
  filter: drop-shadow(0 0 5px rgba(190,165,255,.85));
}
#feis .st2 svg {
  display: block;
  width: 100%;
  height: 100%;
}
@keyframes tw {
  0%,100%{opacity:var(--o1,.35);transform:scale(.9)}
  50%{opacity:var(--o2,.95);transform:scale(1.08)}
}
#feis #feis-globe {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: var(--gw);
  max-width: none;
  aspect-ratio: 1/1;
  display: block;
  pointer-events: none;
}
#feis .hero .ht>* {
  opacity: 0;
  transform: translateY(18px);
  animation: in .9s cubic-bezier(.2,.8,.2,1) forwards;
}
#feis .hero .ht>*:nth-child(2) {
  animation-delay: .1s;
}
#feis .hero .ht>*:nth-child(3) {
  animation-delay: .2s;
}
#feis .hero .ht>*:nth-child(4) {
  animation-delay: .3s;
}
@keyframes in {
  to{opacity:1;transform:none}
}

/* ===== NUMBERS ===== */
#feis .nums {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
#feis .nums div {
  padding: 8px 28px;
  border-left: 2px solid var(--tint2);
}
#feis .nums div:first-child {
  border-left: 0;
  padding-left: 0;
}
#feis .nums b {
  display: block;
  font: 600 clamp(3rem,7vw,5.6rem)/1 var(--hd);
  letter-spacing: -.05em;
}
#feis .nums b em {
  font-style: normal;
  color: var(--a);
}
#feis .nums span {
  color: var(--mut);
}

/* ===== WHAT WE DO ===== */
#feis .soft {
  background: var(--tint);
}
#feis .split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
#feis .sticky {
  position: sticky;
  top: 110px;
}
#feis .sticky p {
  color: var(--mut);
  margin-bottom: 24px;
  max-width: 420px;
}
#feis .pillars {
  display: grid;
  gap: 16px;
}
#feis .pl {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  transition: .3s;
}
#feis .pl:hover {
  border-color: #cfc3ea;
  transform: translateX(8px);
  box-shadow: 0 20px 44px rgba(70,45,120,.12);
}
#feis .pl .n {
  font: 600 2.2rem var(--hd);
  color: var(--tint2);
  transition: .3s;
}
#feis .pl:hover .n {
  color: var(--a);
}
#feis .pl h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
#feis .pl p {
  color: var(--mut);
  font-size: .96rem;
  margin-bottom: 14px;
}
#feis .tg {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 11px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ad);
  background: var(--tint);
}

/* ===== PROJECTS ===== */
#feis .ph {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
#feis .ph h2 {
  margin: 0;
}
#feis .more {
  font-weight: 600;
  color: var(--a);
  border-bottom: 2px solid var(--a);
}
#feis .pb {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-template-rows: repeat(2,300px);
  gap: 16px;
}
#feis .pc {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  background: #1b1430;
}
#feis .pc.big {
  grid-column: 1/8;
  grid-row: 1/3;
}
#feis .pc.s1 {
  grid-column: 8/13;
}
#feis .pc.s2 {
  grid-column: 8/13;
}
#feis .pc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .9s;
}
#feis .pc:hover img {
  transform: scale(1.06);
}
#feis .pc:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top,rgba(12,8,22,.92),rgba(12,8,22,.05) 65%);
}
#feis .pc .in {
  padding: 30px;
  width: 100%;
}
#feis .pc.big .in {
  padding: 40px;
}
#feis .pt {
  display: inline-block;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: .74rem;
  font-weight: 600;
  margin-bottom: 12px;
}
#feis .pc h3 {
  font-size: clamp(1.4rem,2.4vw,1.9rem);
  margin-bottom: 6px;
}
#feis .pc.big h3 {
  font-size: clamp(2rem,3.8vw,3.2rem);
  margin-bottom: 10px;
}
#feis .pc p {
  opacity: .88;
  font-size: .95rem;
  max-width: 460px;
}
#feis .ar {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: .3s;
  z-index: 2;
}
#feis .pc:hover .ar {
  background: var(--a);
  color: #fff;
  transform: rotate(-45deg);
}
#feis .pc.think {
  background: linear-gradient(135deg,#2a1d4d,#6d52a2);
}
#feis .pc.think img {
  object-fit: contain;
  padding: 30px 30px 90px;
  opacity: .95;
}
#feis .rows {
  margin-top: 24px;
  border-top: 1px solid var(--ink);
}
#feis .rw {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font: 600 1.2rem var(--hd);
  letter-spacing: -.02em;
  transition: .3s;
}
#feis .rw span {
  color: var(--a);
  transition: .3s;
}
#feis .rw:hover {
  padding-left: 14px;
  color: var(--a);
}
#feis .rw:hover span {
  transform: translateX(6px);
}

/* ===== ABOUT ===== */
#feis .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
#feis .ph2 {
  position: relative;
}
#feis .ph2 img {
  width: 100%;
  aspect-ratio: 4/4.4;
  object-fit: cover;
  border-radius: var(--r);
}
#feis .badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  background: var(--a);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--r);
  box-shadow: 0 20px 40px rgba(109,82,162,.4);
}
#feis .badge b {
  display: block;
  font: 600 2.4rem/1 var(--hd);
}
#feis .badge span {
  font-size: .82rem;
  opacity: .9;
}
#feis .two p {
  color: var(--mut);
  margin-bottom: 16px;
}
#feis .units {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 64px;
}
#feis .unit {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  background: #fff;
  transition: .3s;
}
#feis .unit:hover {
  border-color: var(--a);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(70,45,120,.12);
}
#feis .unit h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
#feis .unit p {
  color: var(--mut);
  font-size: .93rem;
  margin: 0;
}

/* ===== STEPS ===== */
#feis .steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  position: relative;
  margin-top: 44px;
}
#feis .steps:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 2px;
  background: repeating-linear-gradient(90deg,var(--a) 0 8px,transparent 8px 16px);
  opacity: .35;
}
#feis .st {
  position: relative;
}
#feis .st i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--a);
  color: #fff;
  font: 600 1rem var(--hd);
  font-style: normal;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px #fff;
  position: relative;
  margin-bottom: 22px;
}
#feis .st h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
#feis .st p {
  color: var(--mut);
  font-size: .95rem;
  max-width: 300px;
}

/* ===== PARTNERS MARQUEE ===== */
#feis .marq {
  overflow: hidden;
  margin-top: 26px;
  mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
#feis .track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll 34s linear infinite;
}
#feis .marq:hover .track {
  animation-play-state: paused;
}
#feis .track span {
  white-space: nowrap;
  font: 600 clamp(1.7rem,3.2vw,2.6rem) var(--hd);
  letter-spacing: -.04em;
  color: #cbc3dd;
  transition: color .2s;
}
#feis .track span:hover {
  color: var(--a);
}

/* ===== CTA BLOCK ===== */
#feis .cta {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  background: radial-gradient(ellipse 60% 80% at 50% 120%,rgba(139,108,224,.6),transparent 70%),#0d0919;
}
#feis .cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(175,150,250,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(175,150,250,.1) 1px,transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%,#000,transparent);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%,#000,transparent);
}
#feis .cta>* {
  position: relative;
}
#feis .cta h2 {
  max-width: 640px;
  margin: 0 auto 14px;
}
#feis .cta p {
  color: #b9b2cc;
  max-width: 480px;
  margin: 0 auto 28px;
}
#feis .cta .btn {
  background: #fff;
  color: var(--a);
  border-color: #fff;
}
#feis .cta .btn:hover {
  background: var(--al);
  border-color: var(--al);
  color: var(--ink);
}

/* ===== FOOTER ===== */
#feis .fft {
  padding: 64px 0 30px;
  font-size: .93rem;
  color: var(--mut);
}
#feis .fft .g {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}
#feis .fft h4 {
  color: var(--ink);
  font: 600 1.05rem var(--hd);
  margin-bottom: 12px;
}
#feis .fft a:hover {
  color: var(--a);
}
#feis .fft li {
  list-style: none;
  margin-bottom: 8px;
}
#feis .copy {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: .82rem;
}

/* ===== SCROLL REVEAL ===== */
#feis .rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s,transform .8s;
}
#feis .rv.in {
  opacity: 1;
  transform: none;
}
@keyframes scroll {
  to{transform:translateX(-50%)}
}

/* ===== RESPONSIVE (up to 900px) ===== */
@media(max-width:900px) {
  #feis section {
    padding: 68px 0;
  }
  #feis .burger {
    display: flex;
  }
  #feis .hc {
    display: none;
  }
  #feis nav {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(21,17,31,.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: .35s;
  }
  #feis .fhd.dk nav {
    background: rgba(18,12,32,.97);
    color: #fff;
    border-color: rgba(255,255,255,.14);
  }
  #feis nav.open {
    max-height: 480px;
    opacity: 1;
  }
  #feis nav ul {
    flex-direction: column;
    padding: 8px;
  }
  #feis nav a {
    padding: 13px 16px;
  }
  #feis .hero {
    padding-top: 100px;
    min-height: 0;
  }
  #feis .hero .sub {
    font-size: 1rem;
  }
  #feis .dock a {
    padding: 12px 20px;
    font-size: .88rem;
  }
  #feis .gstage {
    min-height: clamp(250px,70vw,420px);
    margin-top: 20px;
    flex: none;
    height: clamp(250px,70vw,420px);
  }
  #feis .gstage {
    --gw: 230vw;
  }
  #feis .nums {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #feis .nums div {
    border-left: 0;
    border-top: 2px solid var(--tint2);
    padding: 18px 0 0;
  }
  #feis .nums div:first-child {
    border-top: 0;
    padding-top: 0;
  }
  #feis .split,
  #feis .two {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  #feis .sticky {
    position: static;
  }
  #feis .pl {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 26px;
  }
  #feis .pl:hover {
    transform: none;
  }
  #feis .pb {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  #feis .pc.big,
  #feis .pc.s1,
  #feis .pc.s2 {
    grid-column: auto;
    grid-row: auto;
    min-height: 340px;
  }
  #feis .pc.big {
    min-height: 420px;
  }
  #feis .badge {
    right: 12px;
  }
  #feis .units,
  #feis .steps {
    grid-template-columns: 1fr;
  }
  #feis .steps:before {
    display: none;
  }
  #feis .st i {
    box-shadow: none;
  }
  #feis .fft .g {
    grid-template-columns: 1fr;
  }
  #feis .cta {
    padding: 60px 22px;
  }
}

/* ===== REDUCED MOTION ===== */
@media(prefers-reduced-motion:reduce) {
  #feis * {
    animation: none!important;
    transition: none!important;
  }
  #feis .rv,
  #feis .hero .ht>* {
    opacity: 1;
    transform: none;
  }
}
/* ===== NAV: current page ===== */
#feis nav a[aria-current="page"] { background: var(--tint2); color: var(--ad); }
#feis .fhd.dk nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }

/* ===== language switch as links ===== */
#feis .lang a {
  background: none;
  border: 0;
  padding: 6px 12px;
  border-radius: 6px;
  font: 700 .76rem Inter, system-ui, sans-serif;
  cursor: pointer;
  color: inherit;
  opacity: .7;
}
#feis .lang a.on {
  background: var(--ink);
  color: #fff;
  opacity: 1;
}
#feis .fhd.dk .lang a.on {
  background: #fff;
  color: var(--ink);
}


/* ===== SUB PAGES ===== */
#feis .hero.s-hero { min-height: 0; display: block; padding: 150px 0 92px; }
#feis .s-hero h1 { font-size: clamp(2.4rem,5.2vw,4.4rem); margin-left: auto; margin-right: auto; }
#feis .s-hero .sub { margin-left: auto; margin-right: auto; margin-bottom: 0; }
#feis .s-lead { font: 500 clamp(1.2rem,2.1vw,1.55rem)/1.5 var(--hd); letter-spacing: -.01em; max-width: 860px; color: var(--ink); }
#feis .sh { max-width: 720px; margin-bottom: 40px; }
#feis .sh p:not(.eyebrow) { color: var(--mut); }
#feis .grid2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
#feis .grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
#feis .unit .tg { margin-bottom: 14px; }
#feis .unit h3 { font-size: 1.25rem; margin-bottom: 8px; }
#feis .unit p + p { margin-top: 10px; }
#feis .go { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--a); border-bottom: 2px solid var(--a); }
#feis .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
#feis .av { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg,#8c6fe3,#4a3484); color: #fff; font: 700 1.6rem var(--hd); display: grid; place-items: center; margin-bottom: 20px; }
#feis .av.ph { width: 96px; height: 96px; display: block; object-fit: cover; object-position: 50% 20%; background: var(--tint2); }
#feis .role { font: 600 .78rem var(--hd); letter-spacing: .12em; text-transform: uppercase; color: var(--a); margin: 2px 0 14px; }
#feis .bn { display: block; font: 700 2.6rem/1 var(--hd); color: var(--al); margin-bottom: 16px; }
#feis .s-photo img { width: 100%; border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; }
#feis .cta .btn { margin-top: 8px; }
@media(max-width:900px) {
  #feis .grid2, #feis .grid3 { grid-template-columns: 1fr; }
  #feis .hero.s-hero { padding: 112px 0 64px; }
}


/* ===== THEME: base ===== */
html, body { margin: 0; }
#feis { width: auto; max-width: none; left: auto; margin: 0; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }
#feis .skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
#feis .skip:focus { left: 16px; }
#feis .wrap.narrow { max-width: 760px; }

/* ===== THEME: post hero and cover ===== */
#feis .s-hero.post h1 { font-size: clamp(2rem,4.4vw,3.5rem); max-width: 900px; }
#feis .post-meta { margin-top: 22px; color: #b9b2cc; font-size: .92rem; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
#feis .post-meta span + span:before { content: "\00b7"; margin-right: 10px; opacity: .6; }
#feis .post-cover { margin-top: -40px; position: relative; z-index: 3; }
#feis .post-cover img { display: block; width: 100%; border-radius: 16px; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 24px 60px rgba(21,17,31,.18); background: var(--tint2); }
#feis .post-body { padding: 64px 0 72px; }

/* ===== THEME: article text (posts and pages) ===== */
#feis .prose { font-size: 1.12rem; line-height: 1.78; color: var(--ink); }
#feis .prose > * + * { margin-top: 1.3em; }
#feis .prose h2 { font-size: clamp(1.6rem,3vw,2.1rem); margin-top: 2.2em; }
#feis .prose h3 { font-size: 1.4rem; margin-top: 1.9em; }
#feis .prose h4 { font-size: 1.15rem; margin-top: 1.6em; }
#feis .prose h2 + *, #feis .prose h3 + *, #feis .prose h4 + * { margin-top: .7em; }
#feis .prose a { color: var(--a); border-bottom: 1.5px solid var(--al); transition: border-color .2s; }
#feis .prose a:hover { border-color: var(--a); }
#feis .prose ul { list-style: disc; padding-left: 1.4em; }
#feis .prose ol { list-style: decimal; padding-left: 1.4em; }
#feis .prose li { list-style: inherit; margin: .45em 0; }
#feis .prose blockquote { border-left: 4px solid var(--a); background: var(--tint); padding: 20px 26px; border-radius: 0 var(--r) var(--r) 0; font: 500 1.2rem/1.55 var(--hd); }
#feis .prose blockquote p { margin: 0; }
#feis .prose blockquote cite { display: block; margin-top: 10px; font-size: .9rem; font-weight: 500; color: var(--mut); font-style: normal; }
#feis .prose img { height: auto; max-width: 100%; border-radius: var(--r); }
#feis .prose figure { margin-left: 0; margin-right: 0; }
#feis .prose figcaption, #feis .prose .wp-caption-text { font-size: .88rem; color: var(--mut); margin-top: 10px; text-align: center; }
#feis .prose pre { background: #0d0919; color: #e6dcff; padding: 20px; border-radius: var(--r); overflow-x: auto; font-size: .92rem; line-height: 1.6; }
#feis .prose code { background: var(--tint); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
#feis .prose pre code { background: none; padding: 0; }
#feis .prose table { width: 100%; border-collapse: collapse; font-size: .98rem; }
#feis .prose .wp-block-table { overflow-x: auto; }
#feis .prose th, #feis .prose td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
#feis .prose th { background: var(--tint); font-family: var(--hd); }
#feis .prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
#feis .prose iframe, #feis .prose video { max-width: 100%; border-radius: var(--r); }
#feis .prose .alignwide, #feis .prose .alignfull { margin-left: -60px; margin-right: -60px; max-width: none; width: auto; }
#feis .prose .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
#feis .prose .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
#feis .prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
#feis .prose .wp-block-button__link { display: inline-flex; padding: 14px 26px; border-radius: 8px; background: var(--a); color: #fff; font-weight: 600; font-size: .95rem; border: 0; }
#feis .prose .wp-block-columns { display: flex; gap: 28px; flex-wrap: wrap; }
#feis .prose .wp-block-column { flex: 1 1 220px; }
#feis .prose .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 12px; }
#feis .prose .wp-block-gallery figure { flex: 1 1 200px; margin: 0; }
#feis .prose .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; }
#feis .prose .wp-block-embed__wrapper { position: relative; }
#feis .prose::after { content: ""; display: table; clear: both; }

/* ===== THEME: after the article (tags, share, prev/next) ===== */
#feis .post-tags { margin-top: 36px; }
#feis .share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-weight: 600; }
#feis .sbtn { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: .88rem; background: #fff; cursor: pointer; transition: .2s; }
#feis .sbtn:hover { border-color: var(--a); color: var(--a); }
#feis .pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 64px; }
#feis .pnav a { display: block; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 22px 26px; transition: .3s; }
#feis .pnav a:hover { border-color: var(--a); transform: translateY(-3px); }
#feis .pnav small { display: block; color: var(--a); font: 600 .74rem var(--hd); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
#feis .pnav .next { text-align: right; }
#feis .pnav b { font: 600 1.05rem var(--hd); }

/* ===== THEME: post cards (news list, related posts) ===== */
#feis .post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
#feis .post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,17,31,.08); }
#feis .pc-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--tint2); }
#feis .pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
#feis .post-card:hover .pc-img img { transform: scale(1.04); }
#feis .ph-fallback { display: block; width: 100%; height: 100%; background: radial-gradient(ellipse 70% 80% at 50% 125%, rgba(140,111,227,.55), transparent 70%), #0d0919; }
#feis .pc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
#feis .pc-body .tg { align-self: flex-start; margin-bottom: 12px; }
#feis .pc-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
#feis .pc-body h3 a:hover { color: var(--a); }
#feis .pc-body p { color: var(--mut); font-size: .95rem; flex: 1; }
#feis .pc-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: .85rem; color: var(--mut); }
#feis .pc-meta .go { margin-top: 0; font-size: .9rem; }
#feis .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
#feis .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; background: #fff; }
#feis a.page-numbers:hover { border-color: var(--a); color: var(--a); }
#feis .page-numbers.current { background: var(--a); border-color: var(--a); color: #fff; }

/* ===== THEME: search form, comments, 404 ===== */
#feis .sform { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 0; }
#feis .sform input[type="search"], #feis .comment-form input[type="text"], #feis .comment-form input[type="email"], #feis .comment-form input[type="url"], #feis .comment-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; }
#feis .sform input[type="search"] { flex: 1; }
#feis .sform input:focus, #feis .comment-form input:focus, #feis .comment-form textarea:focus { outline: 2px solid var(--al); border-color: var(--a); }
#feis .sform button, #feis .comment-form .submit { display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 8px; background: var(--a); color: #fff; font-weight: 600; border: 0; cursor: pointer; font-size: .95rem; }
#feis .comments { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
#feis .comments h2 { font-size: 1.6rem; margin-bottom: 20px; }
#feis .comment-list { margin-bottom: 36px; }
#feis .comment-body { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; background: #fff; margin-bottom: 14px; }
#feis .comment-meta { font-size: .85rem; color: var(--mut); margin-bottom: 8px; }
#feis .comment-form p { margin-bottom: 14px; }
#feis .comment-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
#feis .e404 { text-align: center; }
#feis .e404 .btn { margin: 8px 6px 0; }

@media(max-width:900px) {
  #feis .prose .alignwide, #feis .prose .alignfull { margin-left: 0; margin-right: 0; }
  #feis .pnav { grid-template-columns: 1fr; }
  #feis .post-body { padding: 44px 0 56px; }
  #feis .prose { font-size: 1.05rem; }
  #feis .prose .alignleft, #feis .prose .alignright { float: none; max-width: 100%; margin: 1em 0; }
}
