:root {
  --bg: #E8F5F5;
  --teal: #0F6E56;
  --teal-light: #1a9070;
  --dark: #0d1f1f;
  --mid: #1a2e2e;
  --muted: #4a7070;
  --border: rgba(15,110,86,0.15);
  --white: #ffffff;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html.access-font-large {
  font-size: 120%;
}

body {
  background-color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  color: var(--mid);
  min-height: 100vh;
}

.access-widget {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 1300;
}

.access-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 35px rgba(13,31,31,0.18);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.access-panel {
  position: absolute;
  left: 0;
  bottom: 58px;
  width: min(280px, calc(100vw - 2.2rem));
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 20px 55px rgba(13,31,31,0.16);
  backdrop-filter: blur(12px);
}

.access-panel[hidden] {
  display: none;
}

.access-panel p {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
}

.access-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.access-font-option {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.65rem 0.75rem;
  text-transform: uppercase;
}

.access-font-option.is-active {
  background: var(--teal);
  color: var(--white);
}

.access-panel small {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  line-height: 1.5;
}

.access-close {
  position: absolute;
  right: 0.75rem;
  top: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1250;
  display: none;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 35px rgba(13,31,31,0.08);
  backdrop-filter: blur(10px);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-left: 3.8rem;
}

.cookie-banner-inner p {
  color: var(--mid);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.55;
}

.cookie-banner-inner a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner-accept {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.72rem 1.15rem;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.cookie-banner-accept:hover {
  background: var(--teal-light);
}

body.cookie-banner-visible .access-widget {
  bottom: calc(5.2rem + env(safe-area-inset-bottom));
}

body.cookie-banner-visible footer {
  padding-bottom: 5.5rem;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 70px;
  background: rgba(232,245,245,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-brand {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.nav-brand span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
}

.nav-cta:hover,
.nav-cta.active { background: var(--teal-light) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: all 0.3s;
}

main {
  padding-top: 70px;
  min-height: calc(100vh - 70px);
}

.hero-main {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 2rem 4rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards 0.2s;
}

.hero-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1;
}

.hero-title span { color: var(--teal); }

.hero-tagline {
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.8s;
}

.hero-message {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s ease forwards 1s;
  max-width: 440px;
}

.hero-message p:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.55;
  color: var(--mid);
  margin-bottom: 0.8rem;
}

.hero-message p:last-child {
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-message p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--mid);
  margin-bottom: 0.9rem;
}

.hero-message p:first-child,
.hero-message p:last-child {
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--mid);
}

.hero-message p:last-child { margin-bottom: 0; }

.home-split {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
}

.home-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.home-split-left {
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
}

.home-split-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

.home-split-left p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.home-split-subtitle {
  font-size: 1.05rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark);
}

.home-split-cta {
  font-size: 1.4rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal);
}

.home-split-right {
  display: block;
}

.home-event-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 28px rgba(13,31,31,0.08);
}

.home-event-card p {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.home-event-card hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

.event-org {
  font-size: 0.82rem !important;
  color: var(--muted);
  margin-bottom: 0.4rem !important;
}

.home-poster {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.home-poster img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.forum-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.2rem 2rem 5rem;
}

.forum-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

.forum-label {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal) !important;
  margin-bottom: 1.9rem;
}

.forum-title-divider {
  width: 40px;
  height: 2px;
  margin: 2rem 0 1.2rem;
  background: var(--teal);
  border-radius: 2px;
}

.forum-header p {
  margin-top: 0.35rem;
  font-size: clamp(0.92rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--dark);
}

.forum-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.forum-left h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1.3;
  color: var(--dark);
  max-width: 720px;
}

.forum-left h4 {
  margin-top: 1.2rem;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  color: #238c85;
  font-weight: 700;
}

.forum-meta {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.8rem;
}

.forum-meta li {
  font-size: 0.95rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.forum-meta li span {
  color: var(--dark);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.forum-bottom {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.forum-qr .qr-box {
  width: 88px;
  height: 88px;
  border: 2px solid #0f1f1f;
  background-image: linear-gradient(90deg, #000 50%, #fff 50%), linear-gradient(#000 50%, #fff 50%);
  background-size: 10px 10px;
  background-position: 0 0, 5px 5px;
}

.forum-qr .qr-img {
  width: 88px;
  height: 88px;
  display: block;
  object-fit: contain;
}

.forum-qr p {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: #238c85;
  font-weight: 600;
}

.forum-contact .free {
  font-weight: 700;
  font-size: 0.95rem;
}

.forum-contact .ask {
  margin-top: 0.25rem;
  color: #238c85;
  font-weight: 700;
  font-size: 0.95rem;
}

.forum-contact .mail {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

.forum-right {
  display: flex;
  justify-content: center;
}

.forum-photo-link {
  display: block;
  width: min(280px, 100%);
  border-radius: 100% 0 0 100% / 50% 0 0 50%;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.forum-photo-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.forum-photo {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 100% 0 0 100% / 50% 0 0 50%;
  background-image: url("https://nas.pmscloud.pt/apps/files_sharing/publicpreview/XLyz7rn4P2qYxWW?file=/&fileId=3968600&x=5120&y=1440&a=true");
  background-size: cover;
  background-position: 62% center;
  background-repeat: no-repeat;
  border: 1px solid var(--border);
}

.forum-partners {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.forum-partners p {
  font-size: 0.78rem;
  color: var(--dark);
}

.partner-highlight {
  color: #238c85;
  font-weight: 600;
}

.partner-row {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.partner-row img {
  max-height: 69px;
  width: auto;
  display: block;
  object-fit: contain;
}

.partner-row img:nth-child(2) {
  max-height: 76px;
}

.funding-note {
  margin-top: 1.6rem;
  color: var(--dark) !important;
  line-height: 1.55;
  text-align: center;
}

.funding-logo {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
}

.funding-logo img {
  max-height: 59px;
  width: auto;
  display: block;
  object-fit: contain;
}

.dots-row {
  display: flex;
  gap: 6px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.3s; }
.dot:nth-child(3) { animation-delay: 0.6s; }

.page-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.wide-page {
  max-width: 1080px;
}

.resources-page {
  padding-top: 3.6rem;
}

.funding-page {
  padding-bottom: 1.5rem;
}

.page-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.content-panel .project-green-title {
  color: var(--teal);
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.page-divider {
  width: 40px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 2.5rem;
  border-radius: 2px;
}

.content-panel {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.7rem;
  margin-bottom: 1.4rem;
}

.content-panel h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1rem;
}

.content-panel p {
  font-size: 1.06rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 0.85rem;
}

.content-panel p:last-child { margin-bottom: 0; }

.presentation-more {
  opacity: 0;
  transform: translateY(12px);
}

.presentation-more.is-visible {
  animation: fadeUp 0.45s ease forwards;
}

.team-summary {
  margin-top: 1.1rem;
}

.team-summary p {
  margin: 1rem 0 0.35rem;
}

.team-summary ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--dark);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.65;
}

.content-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  background: var(--teal);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.content-cta:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

.clean-list {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.1rem;
  color: var(--mid);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.75;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.presentation-page .insight-grid {
  grid-template-columns: 1fr;
}

.presentation-ambitions-title {
  margin-top: 0.4rem;
  margin-bottom: 0.2rem;
}

.results-page .insight-grid,
.results-insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.results-insight-grid article {
  min-width: 0;
}

.team-grid-assistants {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.presentation-page .insight-grid .insight-card-image {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) 1fr;
  align-items: stretch;
}

.insight-grid article {
  min-height: 180px;
  background: rgba(255,255,255,0.48);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.45rem;
}

.insight-card-image {
  overflow: hidden;
  padding: 0 !important;
}

.insight-card-image img {
  width: 100%;
  height: 145px;
  display: block;
  object-fit: cover;
}

.presentation-page .insight-grid .insight-card-image img {
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  object-position: center;
}

.insight-card-body {
  padding: 1.25rem 1.45rem 1.45rem;
}

.insight-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15,110,86,0.1);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.insight-grid h3 {
  color: var(--dark);
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.insight-grid p {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.72;
}

.placeholder-block {
  background: rgba(15,110,86,0.05);
  border: 1px dashed rgba(15,110,86,0.25);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--muted);
}

.placeholder-block .ph-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.placeholder-block p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}

.placeholder-block strong {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.ph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.ph-card {
  background: rgba(15,110,86,0.05);
  border: 1px dashed rgba(15,110,86,0.2);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.ph-card .ph-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--teal);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

.ph-card p {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
}

.media-section {
  margin-top: 3rem;
}

.media-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.media-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
}

.media-card + .media-card {
  margin-top: 1rem;
}

.media-card h3 {
  font-size: 1.14rem;
  color: var(--dark);
  margin-bottom: 0.7rem;
  line-height: 1.45;
}

.media-card p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--mid);
  margin-bottom: 1rem;
}

.event-meta span:first-child {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(15,110,86,0.1);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.section-heading h1,
.section-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--dark);
  font-weight: 400;
}

.dissemination-section {
  margin-top: 2.4rem;
}

.resources-page .dissemination-section {
  margin-top: 0;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
}

.resource-event-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.resource-event-card {
  min-width: 0;
  display: grid;
  align-content: space-between;
  min-height: 280px;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border: 1px solid rgba(15,110,86,0.14);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.74), rgba(232,245,245,0.84));
  box-shadow: 0 18px 45px rgba(13,31,31,0.04);
}

@media (min-width: 681px) {
  .resources-page .resource-event-card:nth-child(1) { grid-column: 1 / 3; }
  .resources-page .resource-event-card:nth-child(2) { grid-column: 3 / 5; }
  .resources-page .resource-event-card:nth-child(3) { grid-column: 5 / 7; }
  .resources-page .resource-event-card:nth-child(4) { grid-column: 1 / 4; }
  .resources-page .resource-event-card:nth-child(5) { grid-column: 4 / 7; }
}

.resource-event-agenda,
.media-card .media-meta {
  display: inline-flex;
  width: fit-content;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(15,110,86,0.1);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.resource-event-card h3 {
  color: var(--dark);
  font-size: clamp(1.18rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.resource-event-card p:not(.resource-event-agenda) {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.resource-event-action,
.resource-popup-link,
.media-card a,
.media-card button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.resource-event-action {
  margin-top: 1.4rem;
}

.resource-event-action:hover,
.resource-popup-link:hover,
.media-card a:hover,
.media-card button:hover {
  background: #0b5c48;
  transform: translateY(-1px);
}

.dissemination-grid {
  display: grid;
  gap: 1rem;
}

.dissemination-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.35rem, 3vw, 1.8rem);
}

.dissemination-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--teal), rgba(15,110,86,0.12));
}

.dissemination-card.featured {
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(232,245,245,0.9));
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.event-meta span:first-child {
  margin-bottom: 0;
}

.event-meta span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dissemination-card h3 {
  color: var(--dark);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.communication-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.communication-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.42fr);
  gap: 1.1rem;
  align-items: stretch;
  border: 1px solid rgba(15,110,86,0.1);
  border-radius: 22px;
  background: rgba(255,255,255,0.38);
  padding: 1rem;
}

.communication-list strong {
  display: block;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

.communication-list p {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.68;
}

.author-subcard {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 150px;
  padding: 1.1rem;
  border: 1px solid rgba(15,110,86,0.14);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(232,245,245,0.9), rgba(207,232,229,0.82));
}

.author-subtitle {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.author-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.author-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.36rem 0.7rem 0.36rem 0.4rem;
  border: 1px solid rgba(15,110,86,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: var(--dark);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.2;
}

.author-photo {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15,110,86,0.18), rgba(26,144,112,0.08));
  color: var(--teal);
  flex: 0 0 34px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.author-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-photo img.team-photo-francisca {
  object-position: center 22%;
}

.dissemination-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dissemination-card a:hover {
  background: #0b5c48;
  transform: translateY(-1px);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.resource-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.58);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem;
  min-height: 170px;
}

.resource-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(15,110,86,0.08);
}

.resource-card span {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(15,110,86,0.1);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.resource-card.video span { background: rgba(35,140,133,0.13); }
.resource-card.audio span { background: rgba(13,31,31,0.1); color: var(--dark); }
.resource-card.image span { background: rgba(26,144,112,0.12); }
.resource-card.document span { background: rgba(15,110,86,0.1); }
.resource-card.link span { background: rgba(74,112,112,0.12); color: var(--muted); }

.resource-card h3 {
  color: var(--dark);
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.resource-card p {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.72;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.team-section {
  margin-bottom: 2.2rem;
}

.team-section:last-child {
  margin-bottom: 0;
}

.team-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1rem;
}

.team-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(260px, 0.5fr));
}

.team-grid article {
  background: rgba(255,255,255,0.58);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.45rem;
  text-align: center;
}

.team-grid .role {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.team-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  clip-path: circle(50% at 50% 50%);
  mask-image: radial-gradient(white, black);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(15,110,86,0.18), rgba(26,144,112,0.08));
  border: 1px solid rgba(15,110,86,0.2);
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.team-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.team-avatar img.team-photo-francisca {
  object-position: center 22%;
}

.team-grid h3 {
  color: var(--dark);
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.team-grid article > p:last-child {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.68;
}

.legal-content {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mid);
}

.legal-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dark);
  margin: 1.6rem 0 0.6rem;
}

.legal-content p {
  margin-bottom: 0.9rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,0.9);
}

.form-group textarea { min-height: 120px; }

.btn-submit {
  align-self: flex-start;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 40px;
  padding: 12px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--teal-light); }

.btn-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  min-height: 65px;
}

.form-status {
  min-height: 1.2rem;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--muted);
}

.form-status.success { color: var(--teal); }
.form-status.error { color: #9f2f2f; }

.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(13,31,31,0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.contact-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-popup-box {
  position: relative;
  width: min(420px, 100%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 2.3rem;
  box-shadow: 0 22px 60px rgba(13,31,31,0.18);
  text-align: center;
}

.contact-popup-box p {
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.6;
}

.funding-popup-box {
  width: min(520px, 100%);
}

.funding-popup-box h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1rem;
}

.resource-popup-box {
  width: min(880px, 100%);
  max-height: min(760px, 88vh);
  overflow: auto;
}

.resource-popup-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.08;
  margin-bottom: 0.8rem;
}

.resource-popup-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.resource-popup-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.resource-popup-communication {
  border: 1px solid rgba(15,110,86,0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.5);
  padding: 1rem;
}

.resource-popup-communication > strong {
  display: block;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 0.7rem;
}

.resource-popup-communication > p {
  color: var(--mid);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.72;
  margin-bottom: 1rem;
}

.focus-popup-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.08;
  margin-bottom: 0.8rem;
}

.focus-popup-image {
  display: block;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(15,110,86,0.12);
  margin: 0 0 1.2rem;
}

.focus-popup-content > p:not(.page-label):not(.resource-popup-meta) {
  color: var(--mid);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.funding-popup-text {
  background: rgba(232,245,245,0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  text-align: left;
}

.funding-popup-text p {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

.funding-popup-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 160px;
  margin: 0 auto 1.3rem;
  object-fit: contain;
}

.funding-page-card {
  max-width: 720px;
}

.funding-details-btn {
  margin: 0 auto;
}

.funding-details {
  margin-top: 1.3rem;
  animation: fadeInUp 0.45s ease both;
}

.funding-page-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1rem;
}

.contact-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.form-notice {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.form-notice a { color: var(--teal); text-decoration: none; }

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
}

.build-tag {
  font-size: 0.54rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a.active { color: var(--teal); }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.2); }
}
@keyframes loaderSpin {
  from { transform: rotate(0deg) scale(0.95); }
  to { transform: rotate(360deg) scale(1.05); }
}

.route-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(232,245,245,0.985);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.route-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.route-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.route-loader-inner img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  animation: loaderSpin 1s linear infinite;
}

.route-loader-inner p {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 980px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(232,245,245,0.97);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }
  .hamburger { display: flex; }
}

@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }
  .cookie-banner-accept {
    width: 100%;
  }
  footer { flex-direction: column; align-items: center; text-align: center; }
  .home-split { padding: 1rem 1.5rem 4rem; }
  .home-split-grid { grid-template-columns: 1fr; }
  .home-poster { padding: 0 1.5rem 4rem; }
  .forum-section { padding: 1.6rem 1.5rem 4rem; }
  .forum-grid { grid-template-columns: 1fr; }
  .forum-right { order: 2; }
  .forum-left { order: 1; }
  .forum-bottom { flex-direction: column; }
  .partner-row { gap: 1rem; flex-wrap: wrap; }
  .partner-row img { max-height: 44px; }
  .presentation-page .insight-grid .insight-card-image {
    grid-template-columns: 1fr;
  }
  .presentation-page .insight-grid .insight-card-image img {
    height: 190px;
    min-height: 0;
  }
  .results-page .insight-grid,
  .results-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-grid-assistants {
    grid-template-columns: 1fr;
  }
  .resource-event-grid {
    grid-template-columns: 1fr;
  }
  .resources-page .resource-event-card:nth-child(n) {
    grid-column: auto;
  }
  .team-grid,
  .team-grid-compact {
    grid-template-columns: 1fr;
  }
  .event-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .communication-list > div {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }
  .author-subcard {
    min-height: auto;
  }
}
