/*
Theme Name: CRMD Premium 4.44.0
Author: CRMD
Description: A WordPress 6 block theme for the CRMD website.
Version: 4.44.0
Requires at least: 6.0
Tested up to: 6.3
Requires PHP: 7.4
Text Domain: crmd-premium-v125
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: block-theme, full-site-editing, custom-logo, featured-images
*/

/* ============================================================
   CRMD presentation system
   ============================================================ */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-400.ttf") format("truetype");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-600.ttf") format("truetype");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-700.ttf") format("truetype");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-800.ttf") format("truetype");
}

:root {
  --gd-terracotta: #bc535d;
  --gd-terracotta-dk: #923c45;
  --gd-ocean: #000000;
  --gd-teal: #262626;
  --gd-slate: #303030;
  --gd-sand: #d9c9a8;
  --gd-paper: #f7f3ee;
  --gd-ink: #000000;
  --gd-muted: #4a4a4a;
  --gd-line: rgba(28, 42, 56, 0.13);
  --gd-white-soft: rgba(255, 255, 255, 0.82);
  --gd-shadow: 0 22px 60px rgba(12, 27, 37, 0.18);
  --gd-site-width: 980px;
  --gd-page-hero-min-height: 280px;

  /* v37 enhancement tokens */
  --gd-transition-fast: 160ms ease;
  --gd-transition-base: 240ms ease;
  --gd-transition-slow: 380ms ease;
  --gd-radius-sm: 3px;
  --gd-radius-md: 6px;
  --gd-shadow-card: 0 4px 18px rgba(0, 0, 0, 0.08);
  --gd-shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.14);
  --gd-focus-ring: 0 0 0 3px rgba(188, 83, 93, 0.22);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gd-paper);
  color: var(--gd-slate);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.62;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 1rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--gd-ocean);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gd-sand);
  outline-offset: 3px;
}

.gd-skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.65rem 0.85rem;
  background: #fff;
  color: var(--gd-ocean);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}

.gd-skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */
.gd-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  overflow: visible;
  background: #fff;
  color: var(--gd-ocean);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--gd-terracotta);
}

.gd-banner::before {
  display: none;
}

.gd-banner__content {
  position: relative;
  z-index: 1;
  width: min(var(--gd-site-width), calc(100% - 40px));
  margin: 0 auto;
}

.gd-banner__nav a {
  text-decoration: none;
}

.gd-banner__nav a:hover {
  color: var(--gd-terracotta);
}

.gd-banner__main {
  display: grid;
  grid-template-areas: "crmd institution language";
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 0;
}

.gd-banner__institution {
  grid-area: institution;
  display: block;
  width: 100%;
  min-width: 0;
}

.gd-banner__ub-logo {
  display: block;
  width: 100%;
  max-width: 330px;
  height: 78px;
  margin-left: auto;
  overflow: hidden;
}

.gd-banner__ub-logo a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.gd-banner__ub-logo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.gd-banner__logo {
  grid-area: crmd;
  display: grid;
  width: min(520px, 100%);
  height: 78px;
  place-items: stretch;
  overflow: hidden;
  background: #fff;
}

.gd-banner__logo a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.gd-banner__logo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.gd-language-switch {
  grid-area: language;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  color: var(--gd-muted);
}

.gd-language-switch > a,
.gd-language-switch > span {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  place-items: center;
  text-decoration: none;
}

.gd-language-switch [aria-current="page"] {
  border-color: var(--gd-terracotta);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(188, 83, 93, 0.22);
}

.gd-language-switch a:hover,
.gd-language-switch a:focus-visible {
  border-color: var(--gd-ocean);
  background: rgba(0, 0, 0, 0.05);
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.16);
}

.gd-language-flag {
  display: block;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.gd-language-name {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0 !important;
}

.gd-banner__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  min-height: 38px;
  padding: 0;
  background: var(--gd-ocean);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 3px 10px rgba(0, 0, 0, 0.25);
}

.gd-menu-toggle {
  display: none;
}

.gd-banner__nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0.68rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
}

.gd-banner__nav a:hover,
.gd-banner__nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-bottom: 2px solid var(--gd-terracotta);
}

.gd-banner.scrolled {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

/* ---------- Shared UI ---------- */
.gd-container {
  width: min(var(--gd-site-width), calc(100% - 40px));
  margin: 0 auto;
}

.gd-heading-light {
  margin-bottom: 1.2rem;
  color: var(--gd-ocean);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 500;
  text-align: left;
}

/* ---------- Section Pages ---------- */
.gd-subpage-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.76)),
    url("assets/geodinamic-hero-topographic-site.png") center / cover no-repeat;
  color: #fff;
  min-height: var(--gd-page-hero-min-height);
  padding: clamp(1.9rem, 3vw, 2.25rem) 0;
}

.gd-subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(217, 201, 168, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 201, 168, 0.04) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
}

.gd-subpage-hero .gd-container {
  position: relative;
  z-index: 1;
}

.gd-subpage-hero h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.gd-subpage-hero p:not(.gd-eyebrow) {
  max-width: 660px;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.95rem, 1.25vw, 1.06rem);
}

.gd-subpage-hero--compact {
  min-height: auto;
  padding: 3.5rem 0 1rem;
  display: grid;
  align-items: center;
}

.gd-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gd-sand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
}

.gd-page-shell {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gd-page-shell--flat {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gd-section--tight-top {
  padding-top: 1.5rem;
}

.gd-eyebrow--dark {
  color: var(--gd-terracotta-dk);
}

.gd-section-intro {
  max-width: 74ch;
  margin-bottom: 1.8rem;
}

.gd-section-intro h2,
.gd-page-shell h2,
.gd-side-panel h3 {
  margin-bottom: 0.75rem;
}

.gd-member-grid,
.gd-project-grid,
.gd-course-grid,
.gd-gallery-grid {
  display: grid;
  gap: 1rem;
}

.gd-member-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gd-members-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gd-member-card {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.gd-member-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.gd-member-card p:last-child {
  margin-bottom: 0;
}

.gd-person-card,
.gd-project-card,
.gd-course-card,
.gd-news-card,
.gd-side-panel,
.gd-contact-panel {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.gd-person-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.gd-person-card--expanded {
  align-items: start;
}

.gd-person-card img {
  width: 92px;
  height: 112px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: var(--gd-paper);
}

.gd-person-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.gd-person-card p,
.gd-project-card p,
.gd-course-card p,
.gd-news-card p,
.gd-contact-panel p {
  font-size: 0.94rem;
}

.gd-profile-details {
  margin-top: 0.8rem;
  border-top: 1px solid var(--gd-line);
  padding-top: 0.7rem;
}

.gd-profile-details summary {
  color: var(--gd-ocean);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gd-profile-details dl {
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}

.gd-profile-details dt {
  color: var(--gd-terracotta-dk);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gd-profile-details dd {
  margin: 0 0 0.65rem;
  color: var(--gd-slate);
  font-size: 0.9rem;
  text-align: left;
}

.gd-profile-details a,
.gd-person-cvs a {
  display: inline-block;
  margin: 0.15rem 0.35rem 0.15rem 0;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(188, 83, 93, 0.24);
  background: #fff;
  color: var(--gd-ocean);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

.gd-role {
  margin-bottom: 0.55rem;
  color: var(--gd-terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.gd-two-column,
.gd-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.2rem;
  align-items: start;
}

.gd-news-card,
.gd-side-panel,
.gd-contact-panel {
  padding: 1.3rem;
}

.gd-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gd-project-grid--detailed {
  grid-template-columns: 1fr;
}

.gd-project-card,
.gd-course-card {
  overflow: hidden;
}

.gd-project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--gd-paper);
}

.gd-project-card--detailed {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
}

.gd-project-card--detailed img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 260px;
}

.gd-project-card--detailed .gd-gallery-link {
  min-height: 100%;
}

.gd-project-card div,
.gd-course-card div {
  padding: 1.1rem;
}

.gd-project-card h2,
.gd-course-card h2,
.gd-news-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.gd-topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.gd-topic-strip span {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(188, 83, 93, 0.25);
  background: rgba(255, 255, 255, 0.7);
  color: var(--gd-ocean);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.gd-course-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gd-course-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: var(--gd-paper);
}

.gd-journal-banner {
  display: block;
  width: 100%;
  aspect-ratio: 1140 / 164;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  object-fit: contain;
}

.gd-journal-layout {
  display: grid;
  gap: 1.4rem;
}

.gd-journal-masthead,
.gd-master-callout,
.gd-master-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.3rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #fff, rgba(217, 201, 168, 0.22));
}

.gd-journal-masthead h2,
.gd-master-callout h2,
.gd-master-hero h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.gd-journal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gd-journal-nav a,
.gd-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(188, 83, 93, 0.28);
  background: #fff;
  color: var(--gd-ocean);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.gd-journal-nav a[aria-current="page"] {
  border-color: var(--gd-terracotta);
  background: var(--gd-ocean);
  color: #fff;
}

.gd-journal-article {
  padding-top: 0.4rem;
}

.gd-journal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.25rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gd-line);
  font-size: 0.9rem;
}

.gd-journal-meta p {
  margin: 0;
}

.gd-journal-meta span {
  margin-right: 0.35rem;
  color: var(--gd-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gd-journal-meta a {
  color: var(--gd-terracotta-dk);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.gd-side-panel--journal {
  background: #fbf7f0;
}

.gd-project-index {
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

/* Project list: image-left, text-right layout matching original site */
.gd-project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gd-project-item {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
  align-items: start;
}

.gd-project-item:first-child {
  padding-top: 0;
}

.gd-project-item__img {
  display: block;
  flex-shrink: 0;
}

.gd-project-item__img img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.gd-project-item__img--cover {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
}

.gd-project-item__img--cover img {
  width: auto;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  border: 0;
}

.gd-project-item__img--contain {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
}

.gd-project-item__img--contain img {
  width: auto;
  max-width: 88%;
  max-height: 180px;
  object-fit: contain;
  border: 0;
}

.gd-project-item__body {
  padding: 0 0 0 1.8rem;
}

.gd-project-item__body h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--gd-terracotta);
  font-weight: 700;
  display: inline-block;
  position: relative;
  padding-bottom: 0.35rem;
}

/* Red underline accent â€” like picture 4 */
.gd-project-item__body h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gd-terracotta);
  border-radius: 2px;
}

.gd-project-item__body p {
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  color: #333;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.gd-master-callout {
  margin-top: 1.4rem;
}

.gd-master-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  margin-bottom: 1.4rem;
}

.gd-master-hero img {
  width: 100%;
  max-width: 320px;
  justify-self: end;
}

.gd-master-hero--refined {
  margin-bottom: 2.5rem;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.gd-master-hero--refined p:last-child {
  margin-bottom: 0;
}

.gd-master-hero--refined img {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.gd-master-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.gd-master-content {
  display: grid;
  gap: 2rem;
}

.gd-master-section {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.gd-master-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.gd-master-section h2,
.gd-master-panel h2 {
  font-size: 1.25rem;
  color: var(--gd-ocean);
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: inline-block;
  position: relative;
  padding-bottom: 0.3rem;
}

/* Red underline accent on section headings */
.gd-master-section h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--gd-terracotta);
  border-radius: 2px;
}

.gd-master-sidebar {
  display: grid;
  gap: 1rem;
}

/* Enhanced master panel */
.gd-master-panel {
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid #303030;
  background: #fff;
  border-radius: 0 0 4px 4px;
  transition: box-shadow 0.2s ease;
}

.gd-master-panel:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.gd-master-panel--accent {
  border-top-color: var(--gd-terracotta);
  background: linear-gradient(135deg, #fff 80%, rgba(188, 83, 93, 0.04));
}

/* Polished master panel h2 â€” no underline, keeps it clean in sidebar */
.gd-master-panel h2 {
  font-size: 1.05rem;
  color: var(--gd-ocean);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 900;
  padding-bottom: 0;
  margin-bottom: 0.6rem;
}
.gd-master-panel h2::after {
  display: none;
}

.gd-master-panel .gd-document-list {
  margin-top: 1rem;
}

.gd-master-panel .gd-document-list a {
  overflow-wrap: anywhere;
}

/* Enhanced master hero block */
.gd-master-hero--refined {
  margin-bottom: 2.5rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--gd-terracotta);
  border-radius: 4px;
  background: linear-gradient(135deg, #fff 70%, rgba(217, 201, 168, 0.18));
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.gd-master-hero--refined p.gd-eyebrow,
.gd-master-hero--refined p.gd-eyebrow--dark {
  display: block !important;
  color: var(--gd-terracotta) !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.4rem !important;
}

.gd-master-hero--refined h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  color: var(--gd-ocean);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.gd-master-hero--refined p:last-child {
  margin-bottom: 0;
  color: var(--gd-slate);
  font-size: 0.97rem;
  line-height: 1.65;
}

.gd-master-hero--refined img {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}



.gd-course-resource-placeholder {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--gd-paper);
}

.gd-document-symbol {
  display: grid;
  width: 64px;
  aspect-ratio: 4 / 5;
  place-items: center;
  border: 2px solid rgba(0, 0, 0, 0.3);
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gd-resource-list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-master-callout--spaced {
  margin-top: 2rem;
}

.gd-separator {
  margin: 1.4rem 0;
  border: 0;
  border-top: 1px solid var(--gd-line);
}

.gd-action-button {
  border: 0;
  cursor: pointer;
}

.gd-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.gd-feature-grid article {
  padding: 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.gd-two-column--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gd-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gd-gallery-grid figure {
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.gd-gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.14);
  border-color: rgba(188, 83, 93, 0.3);
}

.gd-gallery-link {
  display: block;
  color: inherit;
  overflow: hidden;
}

.gd-gallery-link img {
  transition: transform 0.38s ease;
}

.gd-gallery-grid figure:hover .gd-gallery-link img {
  transform: scale(1.05);
}

.gd-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gd-gallery-grid figcaption {
  min-height: 52px;
  padding: 0.65rem;
  color: var(--gd-slate);
  font-size: 0.82rem;
  font-weight: 700;
}

.gd-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gd-contact-panel--quiet {
  background: #fbf7f0;
}

.gd-file-link,
.gd-document-list a,
.gd-document-grid a {
  display: block;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(188, 83, 93, 0.24);
  background: #fff;
  color: var(--gd-ocean);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.gd-file-link {
  display: inline-block;
}

.gd-file-link:hover,
.gd-document-list a:hover,
.gd-document-grid a:hover {
  border-color: var(--gd-terracotta);
  color: var(--gd-terracotta);
}

.gd-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.gd-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.gd-hub-card {
  display: grid;
  align-content: start;
  padding: 1.35rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-top: 3px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: var(--gd-slate);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-top-color 0.18s ease;
}

.gd-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  border-top-color: var(--gd-terracotta);
}

.gd-hub-card__index {
  display: block;
  width: max-content;
  margin-bottom: 0.9rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(188, 83, 93, 0.28);
  color: var(--gd-terracotta);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.gd-hub-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gd-ocean);
  margin-bottom: 0.55rem;
  line-height: 1.3;
  display: inline-block;
  position: relative;
  padding-bottom: 0.35rem;
}

.gd-hub-card h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gd-terracotta);
  border-radius: 2px;
}

.gd-hub-card p {
  margin: 0.55rem 0 0;
  color: #303030;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Card 03 â€” SROF flagship: terracotta top-accent, no dark background */
.gd-hub-card--srof {
  border-top-color: var(--gd-terracotta);
  background: linear-gradient(160deg, #fff 70%, rgba(188, 83, 93, 0.04));
}

.gd-hub-card--srof h2 {
  color: var(--gd-terracotta);
}

/* Legacy â€” suppress old featured dark card in case it's still referenced */
.gd-hub-card--featured {
  background: #fff;
  border-top-color: var(--gd-terracotta);
}
.gd-hub-card--featured h2,
.gd-hub-card--featured p {
  color: inherit;
}
.gd-hub-card__visual {
  display: none;
}
.gd-hub-card__copy {
  display: contents;
}

.gd-srof-hero {
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.94), rgba(18, 57, 90, 0.86)),
    url("assets/geodinamic-hero-topographic-site.png") center / cover no-repeat;
  color: #fff;
}

.gd-srof-hero h1 {
  max-width: 840px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.gd-srof-hero p:not(.gd-eyebrow) {
  max-width: 760px;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
}

.gd-srof-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1rem 0 0;
}

.gd-srof-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--gd-ocean);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.gd-srof-nav a.active,
.gd-srof-nav a:hover {
  border-color: var(--gd-terracotta);
  color: var(--gd-terracotta);
}

.gd-srof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.3rem;
  align-items: start;
}

.gd-srof-layout,
.gd-srof-article {
  min-width: 0;
}

.gd-srof-layout--tier {
  grid-template-columns: 1fr;
}

.gd-srof-layout--wide {
  grid-template-columns: 1fr;
}

.gd-srof-layout--tier .gd-srof-sidebar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gd-srof-layout--wide .gd-srof-sidebar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gd-srof-layout--tier .gd-srof-sidebar .gd-qr-block,
.gd-srof-layout--tier .gd-srof-sidebar .gd-citation,
.gd-srof-layout--tier .gd-srof-sidebar h2,
.gd-srof-layout--wide .gd-srof-sidebar h2 {
  grid-column: 1 / -1;
}

.gd-srof-article h2 {
  margin: 1.4rem 0 0.75rem;
}

.gd-srof-article h2:first-child {
  margin-top: 0;
}

.gd-srof-article p {
  max-width: 78ch;
}

.gd-lead {
  color: #202020;
  font-size: 1.08rem;
  font-weight: 700;
}

.gd-manuscript-figure {
  margin: 1.25rem 0;
}

.gd-manuscript-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.gd-manuscript-figure figcaption {
  margin-top: 0.55rem;
  color: #3a3a3a;
  font-size: 0.84rem;
  line-height: 1.5;
}

.gd-srof-section-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.gd-srof-section-list a,
.gd-srof-sidebar a {
  display: block;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--gd-ocean);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.gd-srof-sidebar {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fbf7f0;
}

.gd-srof-sidebar h2 {
  margin-top: 0.7rem;
  font-size: 1rem;
}

.gd-srof-sidebar h2:first-child {
  margin-top: 0;
}

.gd-srof-sidebar a.active,
.gd-srof-sidebar a:hover,
.gd-srof-section-list a:hover {
  border-color: var(--gd-terracotta);
  color: var(--gd-terracotta);
}

.gd-srof-table {
  width: 100%;
  margin: 1.2rem 0;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9rem;
}

.gd-srof-table th,
.gd-srof-table td {
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  text-align: left;
  vertical-align: top;
}

.gd-srof-table th {
  background: var(--gd-ocean);
  color: #fff;
}

.gd-tier-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.2rem;
}

.gd-tier-stats span {
  padding: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #303030;
  font-size: 0.84rem;
}

.gd-tier-stats strong {
  display: block;
  color: var(--gd-terracotta);
  font-size: 1.35rem;
}

.gd-tier-card {
  margin: 0.8rem 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
}

.gd-tier-card summary {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem 1rem;
  color: var(--gd-ocean);
  cursor: pointer;
  font-weight: 900;
}

.gd-tier-card summary span {
  padding: 0.2rem 0.45rem;
  background: var(--gd-terracotta);
  color: #fff;
  font-size: 0.76rem;
}

.gd-tier-card p {
  padding: 0 1rem;
}

.gd-tier-card p:last-child {
  padding-bottom: 1rem;
}

.gd-matrix-header {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1.15rem 0;
  padding: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-top: 3px solid #000000;
  background: #fff;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gd-matrix-header span {
  padding: 0.52rem 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #f7f8f8;
}

.gd-tier-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0 1.6rem;
  border: 0;
  background: transparent;
}

.gd-tier-source-note {
  margin: 0 0 1.2rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid #000000;
  background: #eef3f6;
  color: #202020;
  font-weight: 700;
}

.gd-tier-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  color: #000000;
}

.gd-tier-panel + .gd-tier-panel {
  border-left: 1px solid rgba(0, 0, 0, 0.16);
}

.gd-tier-panel header {
  position: relative;
  min-height: 118px;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.gd-tier-panel--high header {
  background: #df2529;
  color: #fff;
}

.gd-tier-panel--medium header {
  background: #17191e;
  color: #fff;
}

.gd-tier-panel--low header {
  background: #fff;
  color: #000000;
}

.gd-tier-code {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.gd-tier-panel h3 {
  margin: 0.55rem 0 0;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gd-tier-panel header p {
  margin: 0.35rem 0 0;
  font-family: "Courier New", monospace;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gd-tier-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.18rem 0.44rem;
  border: 1px solid currentColor;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gd-tier-panel__body {
  padding: 1rem;
  font-size: 0.88rem;
  line-height: 1.58;
}

.gd-tier-panel__body h4 {
  margin: 0.95rem 0 0.28rem;
  padding-bottom: 0.16rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.14);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gd-tier-panel__body h4:first-child {
  margin-top: 0;
}

.gd-tier-panel__body p {
  max-width: none;
  margin: 0;
}

.gd-tier-panel__body ul {
  margin: 0;
  padding-left: 1.05rem;
}

.gd-tier-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.85rem 0 0.2rem;
}

.gd-tier-tags span {
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #f7f8f8;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gd-tier-panel--high .gd-tier-tags span:nth-child(2),
.gd-tier-panel--high .gd-tier-signature span {
  color: #df2529;
}

.gd-tier-panel--medium .gd-tier-tags span:nth-child(2),
.gd-tier-panel--medium .gd-tier-signature span {
  color: #c76b18;
}

.gd-tier-panel--low .gd-tier-tags span:nth-child(2),
.gd-tier-panel--low .gd-tier-signature span {
  color: #0b7c50;
}

.gd-tier-signature {
  margin-top: 1rem !important;
  padding: 0.72rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #f7f8f8;
  color: #000000;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gd-tier-signature span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.62rem;
}

.gd-systemic-effect {
  margin: 1.4rem 0 1.6rem;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-left: 4px solid #df2529;
  background: #fff;
  color: #000000;
}

.gd-systemic-effect h2 {
  margin: 0 0 0.7rem;
  color: #000000;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.gd-systemic-effect div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.gd-systemic-effect p {
  max-width: none;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f7f8f8;
  font-size: 0.78rem;
}

.gd-systemic-effect strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #000000;
  text-transform: uppercase;
}

.gd-visual-model {
  margin: 0.85rem 0 0.25rem;
  padding: 0.72rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fbfbfa;
}

.gd-visual-model strong {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0;
  background: transparent;
  color: #000000;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.gd-visual-model ol {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-visual-model li {
  position: relative;
  padding: 0.48rem 0.5rem 0.48rem 1.65rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.gd-visual-model li::before {
  content: counter(list-item);
  position: absolute;
  left: 0.35rem;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  transform: translateY(-50%);
  background: #000000;
  color: #fff;
  font-size: 0.55rem;
  line-height: 0.9rem;
  text-align: center;
}

.gd-visual-model li + li::after {
  content: none;
}

.gd-tier-scheme {
  min-height: 150px;
  overflow: hidden;
}

.gd-scheme-flow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  align-items: center;
}

.gd-scheme-flow span {
  padding: 0.48rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.gd-scheme-flow i {
  color: #df2529;
  font-style: normal;
  font-weight: 900;
}

.gd-loading-bars {
  display: flex;
  height: 72px;
  gap: 0.35rem;
  align-items: end;
  padding: 0.45rem;
  border-bottom: 2px solid #17191e;
  background: linear-gradient(to top, rgba(199, 107, 24, 0.08), transparent);
}

.gd-loading-bars i {
  flex: 1;
  height: 24%;
  background: #c76b18;
}

.gd-loading-bars i:nth-child(2) { height: 38%; }
.gd-loading-bars i:nth-child(3) { height: 54%; }
.gd-loading-bars i:nth-child(4) { height: 72%; }
.gd-loading-bars i:nth-child(5) { height: 94%; }

.gd-tier-scheme--loading p {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.gd-buffer-flow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  align-items: center;
}

.gd-buffer-flow span,
.gd-buffer-flow b {
  padding: 0.55rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  font-size: 0.7rem;
}

.gd-buffer-flow b {
  border-color: #0b7c50;
  background: #edf8f2;
  color: #0b6844;
}

.gd-buffer-flow i {
  color: #0b7c50;
  font-style: normal;
  font-weight: 900;
}

.gd-cube-grid,
.gd-type-grid,
.gd-application-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

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

.gd-cube-grid div,
.gd-application-list article {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.gd-cube-grid strong,
.gd-cube-grid span {
  display: block;
}

.gd-cube-grid strong,
.gd-application-list h3 {
  margin-bottom: 0.45rem;
  color: var(--gd-ocean);
  font-size: 1rem;
}

.gd-cube-grid span,
.gd-application-list p {
  color: #3a3a3a;
  font-size: 0.9rem;
}

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

.gd-type-grid span {
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--gd-ocean);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.gd-editorial-note {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gd-terracotta);
  background: #fff4f1;
}

.gd-editorial-note p {
  margin: 0;
}

.gd-editorial-note p + p {
  margin-top: 0.45rem;
}

.gd-editorial-note .gd-source-provenance {
  margin-top: 0.7rem;
  color: #3a3a3a;
  font-size: 0.8rem;
}

.gd-type-map {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.gd-orthogonal-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(350px, 1fr));
  gap: 1.2rem;
  min-width: 1100px;
}

.gd-interaction-tier {
  --tier-accent: #3a3a3a;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-top: 4px solid var(--tier-accent);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gd-interaction-tier--high {
  --tier-accent: #b8323d;
}

.gd-interaction-tier--medium {
  --tier-accent: #b06f27;
}

.gd-interaction-tier > header {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0.7rem 0.9rem;
  background: #000000;
}

.gd-interaction-tier > header span {
  color: var(--tier-accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gd-interaction-tier > header h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.gd-interaction-matrix {
  display: grid;
  grid-template-columns: 74px repeat(3, minmax(0, 1fr));
  grid-template-rows: auto repeat(3, minmax(0, 1fr));
  flex: 1;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.16);
  gap: 1px;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

.gd-matrix-corner,
.gd-matrix-axis,
.gd-matrix-cell {
  min-width: 0;
  background: #fff;
}

.gd-matrix-corner,
.gd-matrix-axis {
  display: grid;
  align-content: center;
  gap: 0.18rem;
  min-height: 64px;
  padding: 0.45rem 0.35rem;
  background: #f0f3f5;
  color: #202020;
  font-size: 0.66rem;
  line-height: 1.2;
  text-align: center;
}

.gd-matrix-corner {
  color: #3a3a3a;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.gd-matrix-axis b {
  color: #000000;
  font-size: 0.82rem;
}

.gd-matrix-axis--row {
  min-height: 105px;
  text-align: left;
  padding: 0.6rem 0.45rem;
  background: #f7f9fa;
}

.gd-matrix-cell {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.4rem;
  min-height: 105px;
  min-width: 0;
  background: #fff;
}

.gd-matrix-cell--multi {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gd-matrix-cell--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfc;
  background-image: radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 8px 8px;
  color: #a8b5c0;
  font-size: 1.3rem;
  font-weight: 300;
}

.gd-empty-label {
  user-select: none;
  opacity: 0.5;
}

.gd-type-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  padding: 0.5rem 0.45rem;
  background: #fcfdfe;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  color: #000000;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.gd-type-cell small {
  color: #4a4a4a;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.gd-type-cell b {
  padding: 0.15rem 0.38rem;
  background: var(--tier-accent);
  color: #fff;
  font-size: 0.68rem;
  border-radius: 2px;
  font-weight: 700;
}

.gd-type-cell span {
  font-size: 0.72rem;
  line-height: 1.28;
  font-weight: 500;
  color: #111111;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.gd-type-cell:hover {
  background: #fff;
  border-color: var(--tier-accent);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1), 0 0 0 1.5px var(--tier-accent);
  transform: translateY(-1.5px);
}

.gd-type-cell:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid var(--gd-sand);
  outline-offset: -3px;
}

.gd-type-catalogue {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.gd-type-catalogue-header {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 1rem;
  align-items: end;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.gd-type-catalogue-header h2,
.gd-type-catalogue-header p {
  margin-bottom: 0;
}

.gd-type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.gd-type-filters button {
  min-height: 38px;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 2px;
  background: #fff;
  color: #202020;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.gd-type-filters button:hover,
.gd-type-filters button.is-active {
  border-color: #000000;
  background: #000000;
  color: #fff;
}

.gd-type-count {
  min-width: 64px;
  color: #3a3a3a;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: right;
}

.gd-type-catalogue details {
  scroll-margin-top: 7rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
}

.gd-type-catalogue details:target {
  border-color: var(--gd-terracotta);
  box-shadow: 0 0 0 3px rgba(188, 83, 93, 0.12);
}

.gd-type-catalogue summary {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 54px;
  padding: 0.75rem 0.85rem;
  color: #000000;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
}

.gd-type-catalogue summary b {
  flex: 0 0 auto;
  padding: 0.2rem 0.42rem;
  background: #000000;
  color: #fff;
  font-size: 0.7rem;
}

.gd-type-catalogue details p {
  margin: 0;
  padding: 0 0.9rem 0.75rem;
  font-size: 0.84rem;
}

.gd-reference-list {
  max-width: 78ch;
}

.gd-qr-block {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 0.9rem;
  border: 1px solid rgba(188, 83, 93, 0.24);
  background: #fff;
  text-align: center;
}

.gd-qr-block img {
  width: min(220px, 100%);
  height: auto;
  image-rendering: crisp-edges;
}

.gd-qr-block p,
.gd-citation p {
  margin: 0;
  color: #3a3a3a;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
  text-align: left;
}

/* ---------- Research Hub v2 ---------- */
.gd-research-main,
.gd-research-hero,
.gd-research-nav {
  --gd-research-wide: 1180px;
}

.gd-research-main {
  background: var(--gd-paper);
}

.gd-research-main p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.gd-research-main > .gd-section .gd-container,
.gd-research-hero .gd-container,
.gd-research-nav__inner {
  width: min(var(--gd-research-wide), calc(100% - 40px));
  margin-inline: auto;
}

.gd-research-hero {
  display: grid;
  min-height: var(--gd-page-hero-min-height);
  align-items: center;
  padding: clamp(1.9rem, 3vw, 2.25rem) 0;
  border-top: 1px solid rgba(217, 201, 168, 0.16);
  border-bottom: 1px solid rgba(217, 201, 168, 0.16);
}

.gd-research-hero h1 {
  max-width: 900px;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  letter-spacing: 0;
}

.gd-research-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
}

.gd-research-breadcrumbs a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 0.22em;
}

.gd-research-breadcrumbs a:hover {
  text-decoration-color: var(--gd-sand);
}

.gd-research-nav {
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.045);
}

.gd-research-nav__inner {
  display: grid;
}

.gd-research-nav--hub .gd-research-nav__inner {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gd-research-nav--framework .gd-research-nav__inner {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.gd-research-nav a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 60px;
  place-items: center;
  padding: 0.72rem 0.6rem;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  color: #202020;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.gd-research-nav a:first-child {
  font-weight: 900;
}

.gd-research-nav a:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.gd-research-nav a::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  height: 3px;
  background: transparent;
}

.gd-research-nav a:hover {
  background: #f6f3ef;
  color: var(--gd-terracotta-dk);
}

.gd-research-nav a.active,
.gd-research-nav a[aria-current="page"] {
  background: #f8f5f1;
  color: var(--gd-terracotta-dk);
}

.gd-research-nav a.active::after,
.gd-research-nav a[aria-current="page"]::after {
  background: var(--gd-terracotta);
}

.gd-research-main .gd-section {
  padding: clamp(2.8rem, 5vw, 4.5rem) 0;
}

.gd-research-main .gd-section--paper {
  background: var(--gd-paper);
  border-top: 1px solid rgba(217, 201, 168, 0.22);
}

.gd-research-main .gd-page-shell {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gd-reading-column,
.gd-research-main .gd-srof-article.gd-reading-column {
  width: min(100%, 780px);
  margin-inline: auto;
}

.gd-research-main .gd-srof-layout--wide .gd-srof-article,
.gd-research-main .gd-srof-layout--tier .gd-srof-article {
  width: 100%;
  max-width: none;
}

.gd-research-main .gd-srof-article h2 {
  margin-top: 2rem;
  padding-top: 0.15rem;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.gd-research-main .gd-srof-article h2:first-child {
  margin-top: 0;
}

.gd-research-main .gd-srof-article p,
.gd-research-main .gd-srof-article li {
  color: #303030;
  line-height: 1.72;
}

.gd-hub-intro {
  max-width: 760px;
  margin-bottom: 1.8rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gd-terracotta);
}

.gd-hub-intro .gd-role {
  margin-bottom: 0.4rem;
}

.gd-hub-intro h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.gd-research-main .gd-hub-grid {
  gap: 0.85rem;
}

.gd-research-main .gd-hub-card {
  position: relative;
  min-height: 190px;
  grid-template-rows: auto auto 1fr;
  padding: 1.25rem 3rem 1.25rem 1.25rem;
  overflow: hidden;
  border-color: rgba(0, 0, 0, 0.16);
  border-radius: 4px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gd-research-main .gd-hub-card::after {
  content: "\\2192";
  position: absolute;
  right: 1.15rem;
  bottom: 1.05rem;
  color: var(--gd-terracotta);
  font-size: 1.15rem;
  font-weight: 900;
}

.gd-research-main .gd-hub-card:hover {
  border-color: rgba(188, 83, 93, 0.48);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.gd-research-main .gd-hub-card:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--gd-sand);
  outline-offset: 3px;
}

.gd-research-main .gd-hub-card__index {
  width: max-content;
  margin-bottom: 0.75rem;
  padding: 0.18rem 0.42rem;
  border: 1px solid rgba(188, 83, 93, 0.3);
  color: var(--gd-terracotta-dk);
  font-size: 0.68rem;
  font-weight: 900;
}

.gd-research-main .gd-hub-card h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
}

.gd-research-main .gd-hub-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 1.2rem;
  min-height: 260px;
  padding: 0;
  background: var(--gd-ocean);
}

.gd-research-main .gd-hub-card--featured::after {
  color: #fff;
}

.gd-hub-card__copy {
  align-self: center;
  padding: 1.5rem 3.2rem 1.5rem 1.5rem;
}

.gd-research-main .gd-hub-card--featured .gd-hub-card__index {
  border-color: rgba(217, 201, 168, 0.48);
  color: var(--gd-sand);
}

.gd-hub-card__visual {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.gd-research-main .gd-application-list article {
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  background: transparent;
}

.gd-research-main .gd-application-list article:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.gd-research-main .gd-manuscript-figure img {
  border-radius: 3px;
}

.gd-research-main .gd-type-map {
  scrollbar-color: var(--gd-terracotta) rgba(0, 0, 0, 0.08);
  scrollbar-width: thin;
}

.gd-research-main .gd-type-catalogue details {
  border-radius: 3px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.gd-research-main .gd-type-catalogue details[open] {
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.gd-research-main .gd-type-catalogue summary {
  list-style: none;
}

.gd-research-main .gd-type-catalogue summary::-webkit-details-marker {
  display: none;
}

.gd-research-main .gd-type-catalogue summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gd-terracotta-dk);
  font-size: 1rem;
}

.gd-research-main .gd-type-catalogue details[open] summary::after {
  content: "-";
}

.gd-research-main .gd-type-catalogue summary:hover {
  background: #f8f5f1;
}

.gd-research-main summary:focus-visible {
  outline: 3px solid var(--gd-sand);
  outline-offset: -3px;
}

.gd-srof-tools {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.gd-srof-tools .gd-qr-block,
.gd-srof-tools .gd-citation {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 3px;
  background: #fff;
}

.gd-srof-tools .gd-citation h2 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.gd-research-main .gd-reference-list li {
  padding: 0.8rem 0 0.8rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  line-height: 1.62;
}

.gd-research-main .gd-reference-list li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.gd-research-main .gd-reference-list a {
  color: var(--gd-terracotta-dk);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.gd-document-list {
  display: grid;
  gap: 0.55rem;
}

.gd-doc-panel {
  margin-top: 1.4rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fbf7f0;
}

.gd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.92);
}

.gd-lightbox[hidden] {
  display: none;
}

.gd-lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.gd-lightbox__caption {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.gd-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

/* ---------- Hero ---------- */
.gd-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 38vh, 440px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 100%),
    url("assets/geodinamic-hero-topographic-site.png") center / cover no-repeat;
  color: #fff;
}

.gd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(217, 201, 168, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 201, 168, 0.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px;
  opacity: 0.28;
  pointer-events: none;
}

.gd-hero::after {
  display: none;
}

.gd-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  width: min(var(--gd-site-width), calc(100% - 40px));
  min-height: clamp(320px, 38vh, 440px);
  margin: 0 auto;
  padding: 2.35rem 0 2.8rem;
}

.gd-hero__inner--minimal {
  align-items: center;
}

.gd-hero__copy {
  max-width: 650px;
  padding: 1.35rem 1.5rem 1.45rem;
  border-left: 4px solid var(--gd-sand);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.gd-hero h1 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(1.85rem, 3.8vw, 3.2rem);
  letter-spacing: -0.01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.gd-hero__label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--gd-sand);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
}

.gd-hero__lead {
  max-width: 610px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.72;
  text-align: left;
}

/* ---------- Sections ---------- */
.gd-section {
  padding: 4.25rem 0;
}

main#continut > .gd-section:first-child,
main#continut > .gd-section--paper:first-child,
#informatii.gd-section--paper {
  padding-top: 0 !important;
}

.gd-section--paper {
  background:
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    var(--gd-paper);
  background-size: 96px 96px, 96px 96px, auto;
  padding-top: 3.4rem;
}

.gd-section--ink {
  background: var(--gd-ink);
  color: #e8ecef;
}

.gd-section--ink h2,
.gd-section--ink h3 {
  color: #fff;
}

.gd-blockquote {
  max-width: 72ch;
  margin: 1.7rem 0 1.45rem;
  padding: 1.5rem 1.7rem;
  border-left: 4px solid var(--gd-teal);
  border-radius: 0 6px 6px 0;
  background: #fff;
  box-shadow: 0 14px 36px rgba(12, 27, 37, 0.08);
}

.gd-blockquote p {
  margin: 0;
  color: #3a3a3a;
  font-size: 1.03rem;
  font-style: italic;
  font-weight: 500;
  text-align: justify;
  text-justify: inter-word;
}

.gd-content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 232px;
  gap: 22px;
  align-items: start;
  border: 1px solid rgba(217, 201, 168, 0.48);
  background: #fbf7f0;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.gd-content-shell--single {
  display: block;
  max-width: var(--gd-site-width);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gd-subpage-hero .gd-post-date {
  color: var(--gd-sand);
}

.gd-page-title {
  margin-bottom: 1.3rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.gd-post-date {
  margin-bottom: 1.2rem;
  color: var(--gd-muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gd-listing {
  margin-top: 1.8rem;
}

.gd-listing__item {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--gd-line);
}

.gd-listing__item h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.gd-listing__item a {
  text-decoration: none;
}

.gd-listing__item a:hover {
  color: var(--gd-terracotta);
}

.gd-content-shell--single .wp-block-search {
  max-width: 680px;
  margin: 0 0 1.25rem;
}

.gd-content-shell--single .wp-block-search__inside-wrapper {
  display: flex;
  gap: 0.55rem;
  padding: 0;
  border: 0;
}

.gd-content-shell--single .wp-block-search__input {
  min-width: 0;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: #fff;
  color: var(--gd-ocean);
  font: inherit;
}

.gd-content-shell--single .wp-block-search__button {
  min-height: 44px;
  margin: 0;
  padding: 0.65rem 1rem;
  border: 1px solid var(--gd-ocean);
  border-radius: 3px;
  background: var(--gd-ocean);
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.gd-not-found h2 {
  margin-bottom: 0.8rem;
}

.gd-main-panel {
  min-width: 0;
  padding-right: 22px;
  border-right: 1px solid #d6d6d6;
}

.gd-publications {
  background: linear-gradient(180deg, #262626 0%, #111 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 14px;
}

.gd-publications h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gd-book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gd-book-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border: 2px solid #eee;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gd-book-grid img:hover {
  border-color: var(--gd-sand);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

ul.clean {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

ul.clean li {
  position: relative;
  padding: 0.78rem 0 0.78rem 2rem;
  border-bottom: 1px solid var(--gd-line);
  font-size: 0.96rem;
}

ul.clean li::before {
  content: ">";
  position: absolute;
  top: 0.82rem;
  left: 0;
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border: 1px solid rgba(188, 83, 93, 0.34);
  border-radius: 50%;
  color: var(--gd-terracotta);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.gd-cdi-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.35rem;
}

/* ---------- Tabs ---------- */
.gd-tabs {
  margin: 0;
}

.gd-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.45rem;
  margin-bottom: 1.8rem;
  border-bottom: 2px solid var(--gd-line);
}

.gd-tab-btn {
  margin-bottom: -2px;
  padding: 1rem 1.3rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #303030;
  cursor: pointer;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.gd-tab-btn:focus-visible {
  position: relative;
  z-index: 1;
}

.gd-tab-btn:hover,
.gd-tab-btn:focus-visible {
  color: var(--gd-ocean);
}

.gd-tab-btn.active,
.gd-tab-btn[aria-selected="true"] {
  border-top-color: var(--gd-terracotta);
  color: var(--gd-terracotta);
}

.gd-tab-pane {
  display: none;
  max-width: none;
  margin: 0;
  animation: gdFadeIn 0.35s ease;
}

.gd-tab-pane.active {
  display: block;
}

.gd-tab-pane p {
  max-width: 70ch;
  margin-bottom: 1.05rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.gd-tab-pane p:last-child {
  margin-bottom: 0;
}

@keyframes gdFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 1;
  transform: none;
}

.has-js .fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.has-js .fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Footer ---------- */
.gd-footer {
  background: linear-gradient(180deg, #000000 0%, #000000 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.2rem 2rem 1.25rem;
  font-size: 0.9rem;
  border-top: 3px solid var(--gd-terracotta);
}

.gd-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 0.8fr 0.75fr;
  gap: 2.1rem;
  max-width: var(--gd-site-width);
  margin: 0 auto;
  padding-bottom: 2.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gd-footer__grid > div {
  padding-top: 0.2rem;
}

.gd-footer__identity p {
  max-width: 380px;
  text-align: left;
}

.gd-footer__mark {
  position: relative;
  display: block;
  width: min(330px, 100%);
  height: 54px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
}

.gd-footer__mark img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  object-fit: contain;
  object-position: left center;
}

.gd-footer__address {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.gd-footer h4 {
  margin: 0 0 1.2rem;
  color: var(--gd-sand);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gd-footer a {
  display: block;
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  text-decoration: none;
}

.gd-footer a:hover {
  color: var(--gd-sand);
}

.gd-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  max-width: var(--gd-site-width);
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* ---------- GDPR banner ---------- */
.gd-gdpr {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: auto;
  z-index: 999;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem 1rem;
  width: min(440px, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  border: 1px solid rgba(217, 201, 168, 0.32);
  border-top: 3px solid var(--gd-terracotta);
  background: rgba(0, 0, 0, 0.97);
  color: #fff;
  font-size: 0.78rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.gd-gdpr span {
  grid-column: 1 / -1;
}

.gd-gdpr[hidden] {
  display: none;
}

.gd-gdpr a {
  color: var(--gd-sand);
  text-decoration: underline;
}

.gd-gdpr button {
  min-height: 32px;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--gd-terracotta);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wp-block-search__inside-wrapper {
  display: flex;
  gap: 0.5rem;
  max-width: 560px;
}

.wp-block-search__input {
  min-height: 42px;
  border: 1px solid var(--gd-line);
  padding: 0.65rem 0.75rem;
}

.wp-block-search__button {
  min-height: 42px;
  border: 0;
  background: var(--gd-ocean);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Pagination ---------- */
.wp-block-query-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--gd-line);
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  color: var(--gd-ocean);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-numbers a:hover {
  background: var(--gd-ocean);
  color: #fff;
  border-color: var(--gd-ocean);
}

.wp-block-query-pagination-numbers .current,
.wp-block-query-pagination-numbers span {
  background: var(--gd-terracotta);
  border-color: var(--gd-terracotta);
  color: #fff;
  pointer-events: none;
}

/* ---------- Member group labels ---------- */
.gd-member-group-label {
  margin: 2rem 0 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--gd-terracotta);
  color: var(--gd-ocean);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Contact form ---------- */
.gd-contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.gd-form-row {
  display: grid;
  gap: 0.35rem;
}

.gd-form-row label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gd-ocean);
  letter-spacing: 0.04em;
}

.gd-form-row input,
.gd-form-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: var(--gd-slate);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.gd-form-row input:focus,
.gd-form-row textarea:focus {
  outline: none;
  border-color: var(--gd-terracotta);
  box-shadow: 0 0 0 3px rgba(188, 83, 93, 0.12);
}

.gd-form-row textarea {
  resize: vertical;
  min-height: 110px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .gd-orthogonal-map {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .gd-type-catalogue {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-type-catalogue-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .gd-type-count {
    text-align: left;
  }
}

@media (max-width: 980px) {

  .gd-banner__main {
    grid-template-columns: minmax(0, 1fr) 250px auto;
    gap: 0.6rem;
  }

  .gd-banner__logo {
    width: min(400px, 100%);
    height: 64px;
  }

  .gd-banner__logo img {
    max-width: none;
  }

  .gd-banner__institution {
    padding-left: 0;
  }

  .gd-banner__ub-logo {
    height: 64px;
  }

  .gd-banner__ub-logo img {
    height: 100%;
  }

  .gd-language-switch > a,
  .gd-language-switch > span {
    width: 32px;
    height: 32px;
    padding: 3px;
  }

  .gd-language-flag {
    width: 22px;
    height: 22px;
  }

  .gd-members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-research-nav--hub .gd-research-nav__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gd-research-nav--framework .gd-research-nav__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gd-research-main .gd-hub-card--featured {
    grid-template-columns: 1fr;
  }

  .gd-hub-card__visual {
    min-height: 210px;
    max-height: 280px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .gd-hero,
  .gd-hero__inner {
    min-height: auto;
  }

  .gd-hero__inner {
    grid-template-columns: 1fr;
    padding: 2.6rem 0 3rem;
  }

  .gd-content-shell {
    grid-template-columns: 1fr;
  }

  .gd-main-panel {
    padding-right: 0;
    border-right: 0;
  }

  .gd-book-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gd-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gd-member-grid,
  .gd-project-grid,
  .gd-project-card--detailed,
  .gd-course-grid,
  .gd-course-grid--wide,
  .gd-hub-grid,
  .gd-srof-layout,
  .gd-cube-grid,
  .gd-master-layout,
  .gd-two-column,
  .gd-two-column--balanced,
  .gd-feature-grid,
  .gd-contact-grid {
    grid-template-columns: 1fr;
  }

  .gd-project-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gd-project-item__body {
    min-width: 0;
    padding-left: 0;
  }

  .gd-project-item__body a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .gd-journal-masthead,
  .gd-master-callout,
  .gd-master-hero {
    grid-template-columns: 1fr;
  }

  .gd-master-hero img {
    justify-self: start;
  }

  .gd-project-card--detailed img {
    min-height: 220px;
  }

  .gd-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-tier-matrix,
  .gd-matrix-header,
  .gd-systemic-effect div,
  .gd-srof-layout--tier .gd-srof-sidebar,
  .gd-srof-layout--wide .gd-srof-sidebar {
    grid-template-columns: 1fr;
  }

  .gd-tier-panel + .gd-tier-panel {
    border-left: 0;
    border-top: 2px solid #000000;
  }
}

@media (min-width: 721px) and (max-width: 820px) {
  .gd-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 38px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .gd-menu-toggle__icon {
    font-size: 1rem;
    line-height: 1;
  }

  .gd-banner__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .has-js .gd-banner__nav {
    display: none;
  }

  .has-js .gd-banner.nav-open .gd-banner__nav {
    display: grid;
  }

  .gd-banner__nav a {
    justify-content: center;
    min-width: 0;
    padding: 0.62rem 0.3rem;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  :root {
    --gd-page-hero-min-height: 300px;
  }

  .gd-members-grid {
    grid-template-columns: 1fr;
  }

  .gd-interaction-matrix {
    grid-template-columns: 80px repeat(3, minmax(0, 1fr));
  }

  .gd-matrix-corner,
  .gd-matrix-axis {
    min-height: 60px;
    padding: 0.4rem;
    font-size: 0.62rem;
  }

  .gd-matrix-axis--row,
  .gd-matrix-cell,
  .gd-type-cell {
    min-height: 90px;
  }

  .gd-matrix-cell {
    padding: 0.45rem;
    gap: 0.45rem;
  }

  .gd-type-cell {
    padding: 0.5rem;
  }

  .gd-type-cell small {
    font-size: 0.56rem;
  }

  .gd-type-cell span {
    font-size: 0.68rem;
  }

  .gd-type-filters button {
    flex: 1 1 calc(50% - 0.35rem);
  }

  .gd-research-main > .gd-section .gd-container,
  .gd-research-hero .gd-container,
  .gd-research-nav__inner {
    width: min(calc(100% - 28px), var(--gd-research-wide));
  }

  .gd-research-nav--hub .gd-research-nav__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-research-nav--framework .gd-research-nav__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-research-nav a {
    min-height: 56px;
    font-size: 0.7rem;
  }

  .gd-research-main .gd-hub-card--featured {
    min-height: 0;
  }

  .gd-hub-card__copy {
    padding: 1.25rem 3rem 1.25rem 1.25rem;
  }

  .gd-hub-card__visual {
    min-height: 180px;
  }

  .gd-srof-tools {
    grid-template-columns: 1fr;
  }
  .gd-banner {
    position: relative;
  }

  .gd-banner__main {
    grid-template-areas: "crmd institution language";
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) auto;
    justify-items: stretch;
    gap: 0.35rem;
    overflow: hidden;
    text-align: center;
  }

  .gd-banner__logo {
    width: 100%;
    height: 38px;
    place-items: stretch;
  }

  .gd-banner__institution {
    width: 100%;
    min-height: 0;
    padding-left: 0;
    border-left: 0;
  }

  .gd-banner__ub-logo {
    display: block;
    width: 100%;
    height: 38px;
  }

  .gd-banner__ub-logo img {
    max-width: none;
    height: 100%;
    margin-inline: 0;
  }

  .gd-language-switch {
    width: auto;
    justify-content: flex-end;
    gap: 0.2rem;
  }

  .gd-language-switch > a,
  .gd-language-switch > span {
    width: 30px;
    height: 30px;
    padding: 3px;
  }

  .gd-language-flag {
    width: 22px;
    height: 22px;
  }

  .gd-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 38px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .gd-menu-toggle__icon {
    font-size: 1rem;
    line-height: 1;
  }

  .gd-hero {
    background-position: 66% center;
  }

  .gd-banner__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .has-js .gd-banner__nav {
    display: none;
  }

  .has-js .gd-banner.nav-open .gd-banner__nav {
    display: grid;
  }

  .gd-banner__nav a {
    justify-content: center;
    min-width: 0;
    padding: 0.62rem 0.3rem;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gd-hero__inner,
  .gd-container,
  .gd-banner__content {
    width: min(100% - 28px, var(--gd-site-width));
  }

  .gd-hero__inner {
    padding: 2rem 0 2.4rem;
  }

  .gd-hero__copy {
    max-width: calc(100vw - 32px);
    padding: 1.1rem 1rem 1.2rem;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
  }

  .gd-hero h1 {
    max-width: calc(100vw - 62px);
    font-size: clamp(1.42rem, 6.3vw, 1.9rem);
    overflow-wrap: anywhere;
  }

  .gd-hero__label {
    display: flex;
    width: auto;
    max-width: calc(100vw - 62px);
    font-size: 0.68rem;
    overflow-wrap: anywhere;
  }

  .gd-hero__lead {
    max-width: calc(100vw - 62px);
    font-size: 0.94rem;
  }

  .gd-footer__grid {
    grid-template-columns: 1fr;
  }

  .gd-gdpr {
    right: 0.75rem;
    bottom: 0.75rem;
    grid-template-columns: 1fr;
    width: calc(100% - 1.5rem);
    padding: 0.85rem 0.95rem;
  }

  .gd-gdpr button {
    width: 100%;
  }

  .gd-content-shell {
    padding: 14px;
  }

  .gd-page-shell {
    padding: 0;
  }

  .gd-person-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.85rem;
  }

  .gd-person-card img {
    width: 76px;
    height: 96px;
  }

  .gd-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gd-document-grid {
    grid-template-columns: 1fr;
  }

  .gd-tier-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Hub grid: collapse from five to three columns on tablet. */
  .gd-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gd-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-type-catalogue {
    grid-template-columns: 1fr;
  }

  .gd-cdi-list {
    grid-template-columns: 1fr;
  }

  .gd-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-section {
    padding: 3.2rem 0;
  }

  .gd-tabs__nav {
    align-items: stretch;
    flex-direction: column;
    border-bottom: 0;
  }

  .gd-tab-btn {
    border: 1px solid var(--gd-line);
    border-radius: 4px;
    background: #fff;
    text-align: left;
  }

  .gd-tab-btn.active,
  .gd-tab-btn[aria-selected="true"] {
    border-color: var(--gd-terracotta);
  }
}

@media (max-width: 560px) {
  /* Hub cards contain long academic labels; one column preserves readable words. */
  .gd-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .has-js .fade-in-up,
  .has-js .fade-in-up.is-visible,
  .gd-tab-pane,
  .gd-book-grid img,
  .gd-gallery-grid figure,
  .gd-gallery-link img {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* ============================================================
   v4.8.0 Home-page editorial rhythm
   ============================================================ */
.gd-home-page {
  padding: clamp(1.25rem, 2.4vw, 2rem) 0 clamp(1.75rem, 3vw, 2.75rem) !important;
}

.gd-home-page .gd-container {
  width: min(100ch, calc(100% - 48px));
}

.gd-home-layout {
  display: block;
}

.gd-home-narrative {
  width: 100%;
  border-top: 2px solid var(--gd-terracotta);
}

.gd-home-narrative__header {
  display: flex;
  min-height: clamp(150px, 20vw, 205px);
  align-items: flex-end;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--gd-line);
  text-align: left;
}

.gd-home-narrative__header--topographic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(252, 249, 248, 0.98) 0%, rgba(252, 249, 248, 0.9) 58%, rgba(252, 249, 248, 0.7) 100%);
}

.gd-home-narrative__header--topographic::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/geodinamic-hero-topographic-site.png") right center / cover no-repeat;
  opacity: 0.32;
  content: "";
}

.gd-home-narrative h1 {
  max-width: 28ch;
  margin: 0;
  color: var(--gd-ocean);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  text-align: left;
}

.gd-home-section {
  padding: clamp(1.1rem, 2.2vw, 1.55rem) 0;
  border-bottom: 1px solid var(--gd-line);
  text-align: left;
}

.gd-home-section--tint {
  margin-inline: -1.25rem;
  padding-inline: 1.25rem;
  background: rgba(0, 0, 0, 0.038);
}

.gd-home-section h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
  color: var(--gd-ocean);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  text-align: left;
}

.gd-home-section h2::after {
  width: clamp(2.5rem, 8vw, 5rem);
  height: 2px;
  flex: 0 0 auto;
  border-radius: 1px;
  background: var(--gd-terracotta);
  content: "";
}

.gd-home-section p {
  max-width: 100ch;
  margin: 0 0 0.75rem;
  text-align: justify;
  text-justify: inter-word;
}

.gd-home-cdi-list {
  display: grid;
  max-width: 100ch;
  gap: 0;
  margin: 0.1rem 0 0;
  padding: 0;
  border-left: 2px solid rgba(189, 9, 44, 0.28);
  counter-reset: research-direction;
  list-style: none;
}

.gd-home-cdi-list li {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 2.85rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gd-line);
  color: var(--gd-slate);
  font-size: 0.96rem;
  line-height: 1.45;
  counter-increment: research-direction;
}

.gd-home-cdi-list li::before {
  position: static;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: var(--gd-terracotta-dk);
  content: counter(research-direction, decimal-leading-zero);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 760px) {
  .gd-home-page .gd-container {
    width: min(100ch, calc(100% - 32px));
  }

  .gd-home-narrative__header {
    min-height: 145px;
    padding: 1.15rem;
  }

  .gd-home-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .gd-home-section--tint {
    margin-inline: -0.65rem;
    padding-inline: 0.65rem;
  }

  .gd-home-cdi-list li {
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.6rem;
    padding-right: 0.35rem;
    padding-left: 0.6rem;
  }
}

/* ============================================================
   v4.5.0 Continuous home-page editorial layout
   The institutional overview is intentionally all visible without
   JavaScript-controlled tabs, so it remains complete in print and search.
   ============================================================ */
.gd-home-page {
  padding: clamp(2.5rem, 5vw, 4.75rem) 0 clamp(3.5rem, 6vw, 5.75rem) !important;
}

.gd-home-page .gd-container {
  padding: 0 !important;
}

.gd-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 232px;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.gd-home-narrative {
  min-width: 0;
  width: min(100%, 100ch);
  justify-self: center;
  border-top: 3px solid var(--gd-terracotta);
}

.gd-home-narrative__header {
  grid-column: 1 / -1;
  padding: clamp(1.7rem, 3.5vw, 3rem) 0 clamp(1.8rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--gd-line);
  text-align: center;
}

.gd-home-narrative__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gd-terracotta-dk);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
}

.gd-home-narrative h1 {
  max-width: 100ch;
  margin: 0 auto;
  color: var(--gd-ocean);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  text-align: center;
}

.gd-home-narrative__lead {
  max-width: 60ch;
  margin: 1rem 0 0;
  color: var(--gd-teal);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 600;
  line-height: 1.65;
  text-align: left;
}

.gd-home-section {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--gd-line);
  text-align: center;
}

.gd-home-section h2 {
  display: inline-block;
  margin: 0 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--gd-terracotta);
  color: var(--gd-ocean);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.2;
}

.gd-home-section p {
  max-width: 100ch;
  margin: 0 auto 0.95rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.gd-home-section p:last-child {
  margin-bottom: 0;
}

.gd-home-section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.55fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.gd-home-governance {
  align-self: start;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--gd-ocean);
  background: rgba(0, 0, 0, 0.045);
}

.gd-home-governance h2 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.gd-home-governance p {
  margin-bottom: 0.75rem;
  font-size: 0.94rem;
  line-height: 1.55;
}

.gd-home-governance ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.gd-home-governance li {
  padding-top: 0.45rem;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  color: var(--gd-ocean);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.gd-home-section--mission {
  position: relative;
  padding-left: clamp(1.1rem, 2vw, 1.75rem);
}

.gd-home-section--mission::before {
  position: absolute;
  top: clamp(1.75rem, 3.5vw, 2.75rem);
  bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  left: 0;
  width: 4px;
  background: var(--gd-terracotta);
  content: "";
}

.gd-home-section--mission .gd-home-narrative__eyebrow {
  margin-bottom: 0.45rem;
}

.gd-home-cdi-list {
  max-width: 100ch;
  margin: 0.1rem auto 0;
  text-align: left;
}

.gd-home-cdi-list li {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.gd-home-section--dissemination {
  border-bottom: 0;
}

.gd-home-publications {
  position: sticky;
  top: 1.5rem;
  padding: 1rem;
}

.gd-home-publications h2 {
  margin-bottom: 1rem;
}

.gd-home-publications .gd-book-grid {
  gap: 0.6rem;
}

@media (max-width: 920px) {
  .gd-home-layout {
    grid-template-columns: minmax(0, 1fr) 196px;
    gap: 1.5rem;
  }

  .gd-home-publications {
    padding: 0.8rem;
  }
}

@media (max-width: 760px) {
  .gd-home-page {
    padding: 2rem 0 3rem !important;
  }

  .gd-home-page .gd-container {
    width: min(var(--gd-site-width), calc(100% - 32px));
  }

  .gd-home-layout,
  .gd-home-section--split {
    grid-template-columns: 1fr;
  }

  .gd-home-narrative__header {
    grid-column: auto;
  }

  .gd-home-narrative__header {
    padding: 1.45rem 0 1.75rem;
  }

  .gd-home-narrative h1 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .gd-home-section p {
    hyphens: manual;
  }

  .gd-home-governance {
    padding: 1.1rem;
  }

  .gd-home-publications {
    position: static;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .gd-home-publications h2 {
    margin: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .gd-home-publications .gd-book-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .gd-home-publications {
    grid-template-columns: 1fr;
  }

  .gd-home-publications h2 {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

/* ============================================================
   v4.7.0 Home-page reading rhythm and publication index
   ============================================================ */
.gd-home-page {
  padding: clamp(1.35rem, 2.8vw, 2.25rem) 0 clamp(2rem, 3.5vw, 3rem) !important;
}

.gd-home-page .gd-container {
  width: min(100ch, calc(100% - 48px));
}

.gd-home-layout {
  display: block;
}

.gd-home-narrative {
  width: 100%;
  border-top-width: 2px;
}

.gd-home-narrative__header {
  display: block;
  padding: 1.15rem 0 1.35rem;
  text-align: left;
}

.gd-home-narrative h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  text-align: left;
}

.gd-home-section {
  padding: clamp(1.15rem, 2.3vw, 1.65rem) 0;
  text-align: left;
}

.gd-home-section h2 {
  margin-bottom: 0.65rem;
  text-align: left;
}

.gd-home-section p {
  max-width: 100ch;
  margin: 0 0 0.8rem;
}

.gd-home-cdi-list {
  margin: 0.1rem 0 0;
}

.gd-home-cdi-list li {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.gd-publications-page {
  width: min(100%, var(--gd-site-width));
}

.gd-publications-page__section + .gd-publications-page__section {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--gd-line);
}

.gd-publications-page__section h2 {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--gd-terracotta);
}

.gd-publication-book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
}

.gd-publication-book-grid figure {
  margin: 0;
  padding: 0.65rem;
  border: 1px solid rgba(144, 111, 110, 0.22);
  background: #fff;
}

.gd-publication-book-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.gd-publications-page__intro {
  max-width: 80ch;
  margin: -0.45rem 0 1.1rem;
}

.gd-publication-records {
  display: grid;
  gap: 0;
  max-width: 100ch;
  margin: 0;
  padding-left: 1.5rem;
}

.gd-publication-records li {
  padding: 1rem 0 1rem 0.25rem;
  border-top: 1px solid var(--gd-line);
}

.gd-publication-records li:last-child {
  border-bottom: 1px solid var(--gd-line);
}

.gd-publication-records a {
  font-weight: 800;
}

@media (max-width: 760px) {
  .gd-home-page .gd-container {
    width: min(100ch, calc(100% - 32px));
  }

  .gd-home-narrative__header,
  .gd-home-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .gd-publication-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Keep long-form editorial copy aligned while preserving compact data displays. */
p,
main p,
main.gd-research-main p,
.gd-research-hero p,
.gd-srof-hero p,
.gd-subpage-hero p:not(.gd-eyebrow),
.gd-type-modal__body p,
.gd-type-modal__body .gd-refs,
.gd-type-catalogue details p,
.gd-project-item__body p,
.gd-app-item__body p,
.gd-course-card p,
.gd-person-card p,
.gd-news-card p,
.gd-tab-pane p,
.gd-blockquote p,
.gd-content-shell p,
.gd-section p,
.gd-page-shell p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

main .gd-eyebrow,
main .gd-role,
main .gd-course-attachments,
main .gd-type-count,
main .gd-tier-matrix p,
main .gd-systemic-effect p,
main .gd-srof-tools p,
main .gd-citation p {
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

/* Ensure full-width layout coherence and centering in Research Hub and SROF pages */
.gd-research-main .gd-srof-layout--wide .gd-srof-article p,
.gd-research-main .gd-srof-layout--tier .gd-srof-article p,
.gd-srof-layout--wide .gd-srof-article p,
.gd-srof-layout--tier .gd-srof-article p {
  max-width: 100%;
}

.gd-srof-nav,
.gd-research-nav__inner {
  justify-content: center;
}

/* Centering overrides removed for clean left-aligned headers */


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Terminal cascade overrides for the home-page editorial treatment. */
.gd-home-page {
  padding: clamp(1.25rem, 2.4vw, 2rem) 0 clamp(1.75rem, 3vw, 2.75rem) !important;
}

ul.gd-home-cdi-list.clean {
  display: grid;
  max-width: 100ch;
  gap: 0;
  margin: 0.1rem 0 0;
  padding: 0;
  border-left: 2px solid rgba(189, 9, 44, 0.28);
  counter-reset: research-direction;
  list-style: none;
}

ul.gd-home-cdi-list.clean li {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 2.85rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gd-line);
  color: var(--gd-slate);
  font-size: 0.96rem;
  line-height: 1.45;
  counter-increment: research-direction;
}

ul.gd-home-cdi-list.clean li::before {
  position: static;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: var(--gd-terracotta-dk);
  content: counter(research-direction, decimal-leading-zero);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 760px) {
  .gd-home-page .gd-container {
    width: min(100ch, calc(100% - 32px));
  }

  ul.gd-home-cdi-list.clean li {
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.6rem;
    padding-right: 0.35rem;
    padding-left: 0.6rem;
  }
}

/* Final v4.9 home-page refinement. */
.gd-home-narrative__header {
  min-height: 0;
  padding: clamp(1.15rem, 2.2vw, 1.6rem) 0 clamp(1rem, 2vw, 1.4rem);
  border-bottom: 1px solid var(--gd-line);
  background: transparent;
}

.gd-home-narrative h1 {
  max-width: none;
  padding-left: 0.85rem;
  border-left: 3px solid var(--gd-terracotta);
  font-size: clamp(1.8rem, 3.25vw, 2.55rem);
}

.gd-home-section--tint {
  background: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

.gd-home-section h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border: 0;
}

.gd-home-section h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 2.65rem;
  height: 2px;
  border-radius: 1px;
  background: var(--gd-terracotta);
  content: "";
}

.gd-home-section:first-of-type p {
  color: var(--gd-ocean);
  font-size: 1.02rem;
  line-height: 1.72;
}

.gd-home-section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .gd-home-narrative__header {
    padding-top: 1rem;
    padding-bottom: 1.1rem;
  }

  .gd-home-narrative h1 {
    padding-left: 0.7rem;
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }
}

/* v4.9.0 Home-page refinement: plain title band and heading underlines. */
.gd-home-narrative__header {
  min-height: 0;
  padding: clamp(1.15rem, 2.2vw, 1.6rem) 0 clamp(1rem, 2vw, 1.4rem);
  border-bottom: 1px solid var(--gd-line);
  background: transparent;
}

.gd-home-narrative h1 {
  max-width: none;
  padding-left: 0.85rem;
  border-left: 3px solid var(--gd-terracotta);
  font-size: clamp(1.8rem, 3.25vw, 2.55rem);
}

.gd-home-section--tint {
  background: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

.gd-home-section h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border: 0;
}

.gd-home-section h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 2.65rem;
  height: 2px;
  border-radius: 1px;
  background: var(--gd-terracotta);
  content: "";
}

.gd-home-section:first-of-type p {
  color: var(--gd-ocean);
  font-size: 1.02rem;
  line-height: 1.72;
}

.gd-home-section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .gd-home-narrative__header {
    padding-top: 1rem;
    padding-bottom: 1.1rem;
  }

  .gd-home-narrative h1 {
    padding-left: 0.7rem;
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }
}

/* Final home-page precedence: legacy style blocks above remain for other pages. */
.gd-home-page {
  padding: clamp(1.25rem, 2.4vw, 2rem) 0 clamp(1.75rem, 3vw, 2.75rem) !important;
}

.gd-home-page .gd-container {
  width: min(100ch, calc(100% - 48px));
}

.gd-home-layout {
  display: block;
}

.gd-home-narrative {
  width: 100%;
  border-top: 2px solid var(--gd-terracotta);
}

.gd-home-narrative__header {
  display: flex;
  min-height: clamp(150px, 20vw, 205px);
  align-items: flex-end;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--gd-line);
  text-align: left;
}

.gd-home-narrative__header--topographic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(252, 249, 248, 0.98) 0%, rgba(252, 249, 248, 0.9) 58%, rgba(252, 249, 248, 0.7) 100%);
}

.gd-home-narrative__header--topographic::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/geodinamic-hero-topographic-site.png") right center / cover no-repeat;
  opacity: 0.32;
  content: "";
}

.gd-home-narrative h1 {
  max-width: 28ch;
  margin: 0;
  color: var(--gd-ocean);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  text-align: left;
}

.gd-home-section {
  padding: clamp(1.1rem, 2.2vw, 1.55rem) 0;
  border-bottom: 1px solid var(--gd-line);
  text-align: left;
}

.gd-home-section--tint {
  margin-inline: -1.25rem;
  padding-inline: 1.25rem;
  background: rgba(0, 0, 0, 0.038);
}

.gd-home-section h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
  color: var(--gd-ocean);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  text-align: left;
}

.gd-home-section h2::after {
  width: clamp(2.5rem, 8vw, 5rem);
  height: 2px;
  flex: 0 0 auto;
  border-radius: 1px;
  background: var(--gd-terracotta);
  content: "";
}

.gd-home-section p {
  max-width: 100ch;
  margin: 0 0 0.75rem;
  text-align: justify;
  text-justify: inter-word;
}

.gd-home-cdi-list {
  display: grid;
  max-width: 100ch;
  gap: 0;
  margin: 0.1rem 0 0;
  padding: 0;
  border-left: 2px solid rgba(189, 9, 44, 0.28);
  counter-reset: research-direction;
  list-style: none;
}

.gd-home-cdi-list li {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 2.85rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gd-line);
  color: var(--gd-slate);
  font-size: 0.96rem;
  line-height: 1.45;
  counter-increment: research-direction;
}

.gd-home-cdi-list li::before {
  position: static;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: var(--gd-terracotta-dk);
  content: counter(research-direction, decimal-leading-zero);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 760px) {
  .gd-home-page .gd-container {
    width: min(100ch, calc(100% - 32px));
  }

  .gd-home-narrative__header {
    min-height: 145px;
    padding: 1.15rem;
  }

  .gd-home-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .gd-home-section--tint {
    margin-inline: -0.65rem;
    padding-inline: 0.65rem;
  }

  .gd-home-cdi-list li {
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.6rem;
    padding-right: 0.35rem;
    padding-left: 0.6rem;
  }
}

@media (max-width: 720px) {
  .gd-banner__main {
    grid-template-areas: "crmd institution language";
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) auto;
    gap: 0.35rem;
  }

  .gd-banner__logo {
    display: block;
    min-width: 0;
    overflow: visible;
  }

  .gd-banner__logo img {
    position: static;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }
}

/* ============================================================
   27 Interaction Types Modal Pop-up System
   ============================================================ */
.gd-type-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gd-type-modal[hidden] {
  display: none !important;
}

.gd-type-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: gdFadeIn 0.2s ease-out;
}

.gd-type-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gd-line);
  overflow: hidden;
  animation: gdSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gdFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gdSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.gd-type-modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gd-line);
  border-radius: 50%;
  background: #f7f9fa;
  color: var(--gd-ocean);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s ease;
}

.gd-type-modal__close:hover {
  background: var(--gd-terracotta);
  color: #fff;
  border-color: var(--gd-terracotta);
}

.gd-type-modal__header {
  padding: 2rem 2.2rem 1.2rem;
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--gd-line);
}

.gd-type-modal__badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.gd-type-modal__tier {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #eef2f6;
  color: var(--gd-ocean);
}

.gd-type-modal__tier.gd-tier-tag--ti1 {
  background: #fde8e8;
  color: #c53030;
}

.gd-type-modal__tier.gd-tier-tag--ti2 {
  background: #fefcbf;
  color: #975a16;
}

.gd-type-modal__tier.gd-tier-tag--ti3 {
  background: #e6fffa;
  color: #262626;
}

.gd-type-modal__code {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: monospace;
  background: var(--gd-ocean);
  color: #fff;
}

.gd-type-modal__header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gd-ocean);
  line-height: 1.3;
  padding-right: 2rem;
}

.gd-type-modal__body {
  padding: 1.8rem 2.2rem;
  overflow-y: auto;
  flex: 1;
}

.gd-type-modal__body p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--gd-slate);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.gd-type-modal__body p:last-child {
  margin-bottom: 0;
}

.gd-type-modal__body p strong {
  color: var(--gd-ocean);
  display: inline-block;
  margin-right: 0.2rem;
}

.gd-type-modal__body .gd-refs {
  margin-top: 1.4rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--gd-terracotta);
  background: #fcf8f8;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #3a3a3a;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.gd-type-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.2rem;
  background: #f7f9fa;
  border-top: 1px solid var(--gd-line);
}

.gd-type-modal__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--gd-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--gd-ocean);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.gd-type-modal__nav-btn:hover {
  background: var(--gd-ocean);
  color: #ffffff;
  border-color: var(--gd-ocean);
}

@media (max-width: 640px) {
  .gd-type-modal {
    padding: 0.8rem;
  }
  .gd-type-modal__header,
  .gd-type-modal__body,
  .gd-type-modal__footer {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }
  .gd-type-modal__header h3 {
    font-size: 1.15rem;
  }
}

/* ============================================================
   UNIVERSAL HERO REMOVAL & CLEAN INTRO HEADER
   Make EVERY page like the main page!
   Strip all dark blue banners, background images, gradients,
   and centering across all subpages, research pages, and tools.
   Transform all hero sections into clean, compact intro headers.
   ============================================================ */
.gd-home-intro,
.gd-subpage-hero,
.gd-srof-hero,
.gd-research-hero,
.gd-hero,
.gd-master-hero {
  position: relative !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--gd-slate) !important;
  min-height: auto !important;
  padding: 1.5rem 0 1.2rem !important;
  margin-bottom: 0.75rem !important;
  border-top: none !important;
  border-bottom: 2px solid var(--gd-line) !important;
  box-shadow: none !important;
  text-align: center !important;
}

/* Remove all dark grid overlays, gradients, and topographic maps */
.gd-subpage-hero::before,
.gd-subpage-hero::after,
.gd-srof-hero::before,
.gd-srof-hero::after,
.gd-research-hero::before,
.gd-research-hero::after,
.gd-hero::before,
.gd-hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Style inner container cleanly and center-aligned */
.gd-subpage-hero .gd-container,
.gd-srof-hero .gd-container,
.gd-research-hero .gd-container,
.gd-hero .gd-container,
.gd-hero__inner,
.gd-hero__copy {
  max-width: var(--gd-container-max, 1200px) !important;
  width: min(100% - 40px, var(--gd-site-width, 1200px)) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: center !important;
}

/* Eyebrow tag DELETED above titles across all pages */
.gd-home-intro .gd-eyebrow,
.gd-subpage-hero .gd-eyebrow,
.gd-srof-hero .gd-eyebrow,
.gd-research-hero .gd-eyebrow,
.gd-hero .gd-eyebrow,
.gd-hero__eyebrow,
.gd-hero__label,
.gd-master-hero .gd-eyebrow,
.gd-master-hero .gd-eyebrow--dark,
[class*="gd-master-hero"] [class*="gd-eyebrow"],
.gd-master-hero--refined p.gd-eyebrow,
.gd-master-hero--refined .gd-eyebrow--dark {
  display: none !important;
}

/* Main title in bold Ocean Blue - CENTERED across all pages */
.gd-home-intro h1,
.gd-subpage-hero h1,
.gd-srof-hero h1,
.gd-research-hero h1,
.gd-hero h1,
.gd-master-hero h1 {
  color: var(--gd-ocean) !important;
  font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 auto 0.6rem auto !important;
  max-width: 860px !important;
  text-align: center !important;
  text-shadow: none !important;
}

/* Subtitle description in Slate Gray - CENTERED across all pages */
.gd-home-intro p:not(.gd-eyebrow),
.gd-subpage-hero p:not(.gd-eyebrow),
.gd-srof-hero p:not(.gd-eyebrow),
.gd-research-hero p:not(.gd-eyebrow),
.gd-hero p:not(.gd-eyebrow),
.gd-hero__lead,
.gd-master-hero p:not(.gd-eyebrow) {
  color: var(--gd-slate) !important;
  font-size: clamp(1rem, 1.25vw, 1.1rem) !important;
  line-height: 1.6 !important;
  margin: 0 auto !important;
  max-width: 780px !important;
  text-align: center !important;
  text-justify: auto !important;
  hyphens: none !important;
}

/* Eliminate excessive vertical space between the new clean header and the section below */
/* Content sections that follow a stripped hero get some breathing room */
.gd-subpage-hero + .gd-section,
.gd-subpage-hero + .gd-section--paper,
.gd-research-hero + .gd-section,
.gd-research-hero + .gd-section--paper,
.gd-srof-hero + .gd-section,
.gd-srof-hero + .gd-section--paper,
.gd-hero + .gd-section,
.gd-hero + .gd-section--paper {
  padding-top: 1.5rem !important;
}

/* The home page #informatii section must NOT have extra top padding â€” keeps it flush below nav */
#informatii.gd-section--paper {
  padding-top: 0 !important;
  padding-bottom: 3.5rem !important;
}

/* Lower font size globally across all pages and paragraphs */
body,
p,
.gd-tab-pane p,
.gd-content-shell p,
.gd-section p,
.gd-page-shell p,
.gd-research-main p,
main p {
  font-size: 0.95rem !important;
  line-height: 1.62 !important;
}

.gd-blockquote p {
  font-size: 0.98rem !important;
  line-height: 1.58 !important;
}

/* Ensure redundant inner headings in tab panes are suppressed */
.gd-tab-pane h2.gd-heading-light,
.gd-tab-pane > h2:first-child {
  display: none !important;
}

/* ==========================================================================
   USER ANNOTATION OVERRIDES (APPLIED GLOBALLY TO ALL PAGES/SUBPAGES)
   1. BIGGER Header & Navigation
   2. SMALLER Content & Cards
   ========================================================================== */

/* 1. BIGGER Header & Navigation */
.gd-banner__logo {
  height: 94px !important;
  width: min(580px, 100%) !important;
}
.gd-banner__ub-logo {
  height: 94px !important;
  max-width: 360px !important;
}
.gd-banner__content {
  padding: 1.1rem 0 !important;
}
.gd-banner__nav {
  min-height: 46px !important;
  font-size: 0.86rem !important;
}
.gd-banner__nav a {
  min-height: 46px !important;
  padding: 0.8rem 1.25rem !important;
}
.gd-language-switch > a,
.gd-language-switch > span {
  width: 40px !important;
  height: 40px !important;
}
.gd-language-flag {
  width: 26px !important;
  height: 26px !important;
}

/* 2. SMALLER Content & Cards across all pages */
.gd-person-card {
  grid-template-columns: 74px minmax(0, 1fr) !important;
  gap: 0.75rem !important;
  padding: 0.75rem !important;
}
.gd-person-card img {
  width: 74px !important;
  height: 92px !important;
}
.gd-person-card h3 {
  font-size: 1.04rem !important;
  margin-bottom: 0.15rem !important;
}
.gd-person-card .gd-eyebrow,
.gd-person-card .gd-role {
  font-size: 0.72rem !important;
  margin-bottom: 0.25rem !important;
}
.gd-person-card p,
.gd-project-card p,
.gd-course-card p,
.gd-news-card p,
.gd-hub-card p {
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  margin-bottom: 0.45rem !important;
}
.gd-project-card,
.gd-course-card,
.gd-news-card,
.gd-hub-card {
  padding: 0.85rem !important;
}
.gd-project-card h3,
.gd-course-card h3,
.gd-news-card h3,
.gd-hub-card h3 {
  font-size: 1.06rem !important;
  margin-bottom: 0.3rem !important;
}
.gd-profile-details {
  margin-top: 0.5rem !important;
  padding-top: 0.4rem !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CONTACT â€” centered form-only layout
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.gd-contact-form-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.gd-contact-form-card {
  width: 100%;
  max-width: 640px;
  padding: 2.2rem 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--gd-terracotta);
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.gd-contact-form-card h2 {
  font-size: 1.45rem;
  color: var(--gd-ocean);
  margin-bottom: 0.4rem;
}

.gd-contact-meta {
  font-size: 0.87rem;
  color: var(--gd-slate);
  margin-bottom: 1.6rem !important;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 1.2rem;
}

.gd-contact-form {
  display: grid;
  gap: 1rem;
}

.gd-form-row {
  display: grid;
  gap: 0.3rem;
}

.gd-form-row label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gd-ocean);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gd-form-row input,
.gd-form-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-bottom: 2px solid rgba(0, 0, 0, 0.22);
  background: #fafbfc;
  color: var(--gd-ocean);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}

.gd-form-row input:focus,
.gd-form-row textarea:focus {
  border-color: rgba(0, 0, 0, 0.1);
  border-top-color: var(--gd-terracotta);
  background: #fff;
}

.gd-form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.gd-form-row .gd-action-button {
  margin-top: 0.4rem;
  width: 100%;
  justify-content: center;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOME PAGE â€” fix "TOO MUCH SPACE" (excess horizontal padding and top greenish gap)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.gd-content-shell {
  padding: 1.5rem !important;
}

/* â”€â”€ HOME PAGE GREENISH GAP FIX â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   #informatii is the first section on every home page variant.
   Zero its padding-top so there is no visible gap between the
   nav bar and the content-shell card.
   (This wins over the rule at line ~2767 that sets 0.75rem,
    and the rule above that sets 2rem â€“ later + !important wins)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#informatii.gd-section--paper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Make gd-content-shell on the home page completely transparent and borderless */
#informatii .gd-content-shell {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 1rem 0 0 0 !important;
  gap: 28px !important;
}

/* Reduce side gutters so the home page tab content doesn't feel narrowed */
#informatii .gd-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TERRACOTTA ACCENT LINE FOR HEADINGS across all pages
   (Projects, Courses, Master, News, Members, Hub cards)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.gd-project-item__body h2,
.gd-course-card h3,
.gd-course-content h3,
.gd-master-section h2,
.gd-disaster-section h2,
.gd-disaster-section h3,
.gd-news-card h3,
.gd-member-card h3,
.gd-person-card h3,
.gd-hub-card h2,
.gd-publications h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 0.35rem;
}

.gd-project-item__body h2::after,
.gd-course-card h3::after,
.gd-course-content h3::after,
.gd-master-section h2::after,
.gd-disaster-section h2::after,
.gd-disaster-section h3::after,
.gd-news-card h3::after,
.gd-member-card h3::after,
.gd-person-card h3::after,
.gd-hub-card h2::after,
.gd-publications h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gd-terracotta);
  border-radius: 2px;
}

/* ---------- v4.2.5 responsive polish ----------
   The preceding desktop adjustments are intentionally retained, while these
   breakpoints prevent them from overriding the compact tablet and phone header. */
main [id] {
  scroll-margin-top: 9rem;
}

textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gd-sand);
  outline-offset: 3px;
}

/* Compact cards are interface summaries, not long-form copy. */
.gd-project-card p,
.gd-course-card p,
.gd-news-card p,
.gd-hub-card p {
  text-align: left;
  hyphens: none;
}

/* Current Director profile: concise scholarly records within the existing member card. */
.gd-profile-publications {
  display: grid;
  gap: 0.55rem;
  margin: 0.15rem 0 0;
  padding-left: 1.15rem;
}

.gd-profile-publications li::marker {
  color: var(--gd-terracotta);
}

.gd-profile-publications a {
  white-space: nowrap;
}

/* Approved Tier Classification matrix: preserve the authored three-column composition. */
.gd-tier-reference-page {
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
}

.gd-tier-reference-figure {
  margin: 0;
}

.gd-tier-reference-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  scrollbar-color: var(--gd-terracotta) var(--gd-paper);
  scrollbar-width: thin;
}

.gd-tier-reference-scroll:focus-visible {
  outline: 3px solid var(--gd-sand);
  outline-offset: 3px;
}

.gd-tier-reference-scroll img {
  display: block;
  width: 100%;
  min-width: 1120px;
  height: auto;
}

.gd-tier-reference-caption {
  margin-top: 0.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gd-tier-reference-caption span {
  color: var(--gd-muted);
  font-size: 0.8rem;
  text-align: left;
}

.gd-tier-qr {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 720px) {
  .gd-tier-reference-page {
    width: min(100% - 28px, 1440px);
  }

  .gd-tier-reference-scroll img {
    min-width: 960px;
  }
}

@media (max-width: 980px) {
  .gd-banner__content {
    padding: 0.75rem 0 !important;
  }

  .gd-banner__logo {
    width: min(400px, 100%) !important;
    height: 64px !important;
  }

  .gd-banner__ub-logo {
    max-width: 250px !important;
    height: 64px !important;
  }

  .gd-banner__nav {
    min-height: 40px !important;
    font-size: 0.75rem !important;
  }

  .gd-banner__nav a {
    min-height: 40px !important;
    padding: 0.68rem 0.8rem !important;
  }
}

@media (max-width: 720px) {
  main [id] {
    scroll-margin-top: 1rem;
  }

  .gd-banner__content {
    padding: 0.55rem 0 !important;
  }

  .gd-banner__main {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) auto;
    gap: 0.35rem;
  }

  .gd-banner__logo,
  .gd-banner__ub-logo {
    height: 42px !important;
  }

  .gd-banner__ub-logo {
    max-width: none !important;
  }

  .gd-language-switch > a,
  .gd-language-switch > span {
    width: 32px !important;
    height: 32px !important;
    padding: 3px !important;
  }

  .gd-language-flag {
    width: 22px !important;
    height: 22px !important;
  }

  .gd-banner__nav {
    min-height: 38px !important;
  }

  .gd-banner__nav a {
    min-height: 38px !important;
    padding: 0.62rem 0.3rem !important;
    font-size: 0.6rem !important;
  }
}

/* ---------- v4.2.8 conservative layout polish ---------- */
/* Preserve the established home, member and project layouts. */
#informatii .gd-tab-pane {
  animation: none;
}

.gd-project-item__img {
  align-self: start;
}

/* The contact route is intentionally concise; the email hand-off is clear. */
.gd-contact-form-wrap {
  align-items: start;
  padding: clamp(0.25rem, 1vw, 0.75rem) 0 1.25rem;
}

.gd-contact-form-card {
  max-width: 700px;
  padding: clamp(1.35rem, 3vw, 2.2rem);
}

.gd-contact-form-card h2 {
  margin-bottom: 0.55rem;
}

.gd-gdpr {
  width: min(370px, calc(100% - 2rem));
  padding: 0.75rem 0.85rem;
  gap: 0.55rem 0.75rem;
  font-size: 0.74rem;
}

.gd-form-row .gd-action-button {
  width: auto;
  min-width: 170px;
}

@media (max-width: 640px) {
  .gd-contact-form-card {
    padding: 1.25rem;
  }

  .gd-form-row .gd-action-button {
    width: 100%;
  }
}

/* ---------- v4.2.10 Disaster Management brochure layout ---------- */
.gd-master-brochure {
  display: grid;
  gap: clamp(1.7rem, 3.5vw, 3rem);
  padding: clamp(0.5rem, 1vw, 0.9rem) 0 clamp(2.5rem, 4vw, 4rem);
}

.gd-master-brochure__intro {
  display: block;
  padding: clamp(1.25rem, 3vw, 2.1rem) 0;
  border-top: 3px solid var(--gd-terracotta);
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.gd-master-brochure__intro > div {
  max-width: 760px;
}

.gd-master-brochure__intro h2 {
  margin: 0 0 0.45rem;
  color: var(--gd-ocean);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.14;
}

.gd-master-brochure__intro > div > p:last-child {
  max-width: 68ch;
  margin: 0;
  color: var(--gd-slate);
  font-size: 1rem;
}

.gd-master-brochure__kicker {
  margin: 0 0 0.45rem;
  color: var(--gd-terracotta-dk);
  font-size: 0.76rem !important;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: left !important;
  text-transform: uppercase;
}

.gd-master-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.gd-master-facts div {
  min-width: 0;
  padding: 1rem clamp(0.8rem, 2vw, 1.35rem);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.gd-master-facts div:last-child {
  border-right: 0;
}

.gd-master-facts dt {
  margin: 0 0 0.12rem;
  color: var(--gd-ocean);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 900;
  line-height: 1;
}

.gd-master-facts dd {
  margin: 0;
  color: var(--gd-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.gd-master-brochure__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3.5vw, 3rem);
}

.gd-master-brochure__section {
  min-width: 0;
}

.gd-master-brochure__section h2 {
  display: inline-block;
  position: relative;
  margin: 0 0 0.8rem;
  padding-bottom: 0.35rem;
  color: var(--gd-ocean);
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.gd-master-brochure__section h2::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gd-terracotta);
  content: "";
}

.gd-master-brochure__section > p {
  max-width: 74ch;
}

.gd-master-brochure__signal {
  margin: 1rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--gd-ocean);
  font-size: 0.84rem !important;
  font-weight: 800;
  text-align: left !important;
}

.gd-master-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-master-list li {
  position: relative;
  padding-left: 1.1rem;
}

.gd-master-list li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border: 1px solid var(--gd-terracotta);
  border-radius: 50%;
  content: "";
}

.gd-master-axes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.gd-master-axes article {
  position: relative;
  min-width: 0;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-top: 3px solid var(--gd-ocean);
  background: #fff;
}

.gd-master-axes article:last-child {
  grid-column: 1 / -1;
}

.gd-master-axes span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gd-terracotta);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.gd-master-axes h3 {
  margin: 0 0 0.5rem;
  color: var(--gd-ocean);
  font-size: 1rem;
  line-height: 1.28;
}

.gd-master-axes p {
  margin: 0;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

.gd-master-brochure__contact {
  padding-left: clamp(1.1rem, 2.5vw, 1.8rem);
  border-left: 2px solid var(--gd-terracotta);
}

.gd-master-brochure__contact p {
  text-align: left !important;
}

.gd-master-brochure__contact a {
  color: var(--gd-ocean);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

@media (max-width: 820px) {
  .gd-master-brochure__split {
    grid-template-columns: 1fr;
  }

  .gd-master-brochure__contact {
    padding-top: 1rem;
    padding-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
    border-left: 0;
  }

  .gd-master-brochure__contact {
    border-top-width: 2px;
    border-top-color: var(--gd-terracotta);
  }
}

@media (max-width: 620px) {
  .gd-master-facts,
  .gd-master-axes {
    grid-template-columns: 1fr;
  }

  .gd-master-facts div {
    display: grid;
    grid-template-columns: minmax(88px, 0.4fr) 1fr;
    align-items: baseline;
    gap: 0.45rem;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  .gd-master-facts div:last-child {
    border-bottom: 0;
  }

  .gd-master-axes article:last-child {
    grid-column: auto;
  }
}

/* ---------- v4.3.0 Evergreen Master programme dossier ---------- */
.gd-master-dossier {
  display: grid;
  gap: clamp(2.1rem, 4vw, 4rem);
  padding: clamp(0.75rem, 1.4vw, 1.15rem) 0 clamp(3rem, 5vw, 5rem);
}

.gd-master-dossier__lead {
  max-width: 900px;
  padding: clamp(1.45rem, 3.2vw, 2.55rem) 0;
  border-top: 3px solid var(--gd-terracotta);
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.gd-master-dossier__kicker,
.gd-master-dossier__label {
  margin: 0 0 0.55rem;
  color: var(--gd-terracotta-dk);
  font-size: 0.74rem !important;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: left !important;
  text-transform: uppercase;
}

.gd-master-dossier__lead h2 {
  max-width: 24ch;
  margin: 0 0 0.7rem;
  color: var(--gd-ocean);
  font-size: clamp(1.75rem, 3.8vw, 3rem);
  line-height: 1.08;
}

.gd-master-dossier__lead > p:last-child {
  max-width: 69ch;
  margin: 0;
  color: var(--gd-slate);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.68;
}

.gd-master-dossier__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.gd-master-dossier__facts div {
  min-width: 0;
  padding: 1.1rem clamp(0.85rem, 2.3vw, 1.5rem);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.gd-master-dossier__facts div:last-child {
  border-right: 0;
}

.gd-master-dossier__facts dt {
  margin: 0 0 0.25rem;
  color: var(--gd-ocean);
  font-size: clamp(1rem, 1.65vw, 1.25rem);
  font-weight: 900;
  line-height: 1.2;
}

.gd-master-dossier__facts dd {
  margin: 0;
  color: var(--gd-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.gd-master-dossier__overview {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(260px, 1fr) minmax(270px, 1.08fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.3rem, 2.8vw, 2rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.gd-master-dossier h2 {
  margin: 0;
  color: var(--gd-ocean);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.gd-master-dossier__overview > div:nth-child(2) > p:first-child {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.gd-master-dossier__annotation {
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 2px solid var(--gd-terracotta);
  color: var(--gd-ocean);
  font-size: 0.82rem !important;
  font-weight: 800;
  line-height: 1.55;
  text-align: left !important;
}

.gd-master-dossier__list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.gd-master-dossier__list li {
  position: relative;
  padding-left: 1.05rem;
  line-height: 1.55;
}

.gd-master-dossier__list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border: 1px solid var(--gd-terracotta);
  border-radius: 50%;
  content: "";
}

.gd-master-dossier__curriculum {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 4vw, 4.25rem);
  align-items: start;
}

.gd-master-dossier__section-head {
  position: sticky;
  top: 1rem;
}

.gd-master-dossier__section-head > p:last-child {
  margin: 1rem 0 0;
  color: var(--gd-slate);
  line-height: 1.65;
}

.gd-master-dossier__map {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: curriculum;
}

.gd-master-dossier__map li {
  display: grid;
  grid-template-columns: minmax(3rem, 4.4rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 0 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.gd-master-dossier__map li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.gd-master-dossier__map span {
  display: grid;
  place-items: start;
  color: var(--gd-terracotta);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.gd-master-dossier__map h3 {
  margin: 0 0 0.35rem;
  color: var(--gd-ocean);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.34;
}

.gd-master-dossier__map p {
  margin: 0;
  color: var(--gd-slate);
  font-size: 0.92rem !important;
  line-height: 1.58 !important;
  text-align: left !important;
}

.gd-master-dossier__outcomes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.gd-master-dossier__outcomes > div {
  padding-top: 1.25rem;
  border-top: 3px solid var(--gd-ocean);
}

.gd-master-dossier__outcomes > div:last-child {
  border-top-color: var(--gd-terracotta);
}

.gd-master-dossier__contact {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.72fr) minmax(200px, 0.86fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.35rem, 3vw, 2.1rem);
  border-left: 3px solid var(--gd-terracotta);
  background: var(--gd-ocean);
  color: #fff;
}

.gd-master-dossier__contact .gd-master-dossier__label,
.gd-master-dossier__contact h2,
.gd-master-dossier__contact p {
  color: #fff;
}

.gd-master-dossier__contact .gd-master-dossier__label {
  color: #f2c5c6;
}

.gd-master-dossier__contact h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.gd-master-dossier__contact p {
  margin: 0;
  line-height: 1.6;
  text-align: left !important;
}

.gd-master-dossier__contact a {
  color: #fff;
  font-weight: 800;
  text-underline-offset: 0.18em;
}

@media (max-width: 920px) {
  .gd-master-dossier__overview,
  .gd-master-dossier__curriculum {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-master-dossier__overview > div:last-child,
  .gd-master-dossier__curriculum .gd-master-dossier__map {
    grid-column: 1 / -1;
  }

  .gd-master-dossier__section-head {
    position: static;
  }

  .gd-master-dossier__contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-master-dossier__contact > p:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .gd-master-dossier {
    gap: 2.3rem;
  }

  .gd-master-dossier__facts,
  .gd-master-dossier__overview,
  .gd-master-dossier__curriculum,
  .gd-master-dossier__outcomes,
  .gd-master-dossier__contact {
    grid-template-columns: 1fr;
  }

  .gd-master-dossier__facts div {
    display: grid;
    grid-template-columns: minmax(120px, 0.74fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: baseline;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  .gd-master-dossier__facts div:last-child {
    border-bottom: 0;
  }

  .gd-master-dossier__overview > div:last-child,
  .gd-master-dossier__curriculum .gd-master-dossier__map,
  .gd-master-dossier__contact > p:last-child {
    grid-column: auto;
  }

  .gd-master-dossier__map li {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.6rem;
  }
}

/* ============================================================
   v4.4.0 Academic Precision visual system
   DESIGN.md adaptation: shared tokens and component behaviour.
   ============================================================ */
:root {
  --gd-terracotta: #bd092c;
  --gd-terracotta-dk: #9a0021;
  --gd-ocean: #000000;
  --gd-teal: #303030;
  --gd-slate: #303030;
  --gd-sand: #d7c0a3;
  --gd-paper: #fcf9f8;
  --gd-ink: #1c1b1b;
  --gd-muted: #4a4a4a;
  --gd-line: rgba(0, 0, 0, 0.14);
  --gd-surface-low: #f6f3f2;
  --gd-surface: #f0eded;
  --gd-surface-high: #eae7e7;
  --gd-outline: #906f6e;
  --gd-radius-sm: 4px;
  --gd-radius: 8px;
  --gd-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --gd-site-width: 1200px;
}

body,
button,
input,
textarea,
select {
  font-family: "Hanken Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--gd-paper);
  color: var(--gd-slate);
  font-size: 1rem;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Hanken Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.42);
  outline-offset: 3px;
}

.gd-container {
  width: min(var(--gd-site-width), calc(100% - 48px));
}

.gd-section {
  padding: clamp(3.25rem, 6vw, 5.25rem) 0;
}

.gd-section--paper {
  background:
    linear-gradient(rgba(0, 0, 0, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.018) 1px, transparent 1px),
    var(--gd-paper);
  background-size: 96px 96px, 96px 96px, auto;
}

.gd-banner {
  border-top-width: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gd-banner__main {
  grid-template-columns: minmax(0, 1fr) minmax(275px, 360px) auto;
  gap: 1rem;
  padding: 0.95rem 0;
}

.gd-banner__nav {
  min-height: 44px;
  border-radius: var(--gd-radius-sm);
  box-shadow: none;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
}

.gd-banner__nav a {
  min-height: 44px;
  padding: 0.78rem clamp(0.85rem, 1.6vw, 1.2rem);
  border-top: 4px solid transparent; border-bottom: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.gd-banner__nav a:hover,
.gd-banner__nav a.active {
  border-top-color: var(--gd-terracotta);
}

.gd-language-switch > a,
.gd-language-switch > span {
  width: 34px;
  height: 34px;
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: none;
}

.gd-language-switch [aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(189, 9, 44, 0.24);
}

.gd-subpage-hero {
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.gd-subpage-hero h1,
.gd-home-intro h1,
.gd-research-hero h1 {
  font-weight: 800;
}

.gd-page-shell,
.gd-page-shell--flat {
  border-radius: var(--gd-radius);
}

.gd-content-shell {
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(144, 111, 110, 0.24);
  border-radius: var(--gd-radius);
  background: var(--gd-surface-low);
  box-shadow: none;
}

.gd-main-panel {
  padding-right: 24px;
  border-right-color: rgba(0, 0, 0, 0.12);
}

.gd-blockquote {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-left-color: var(--gd-ocean);
  border-radius: 0 var(--gd-radius) var(--gd-radius) 0;
  background: #fff;
  box-shadow: none;
}

.gd-person-card,
.gd-member-card,
.gd-project-card,
.gd-course-card,
.gd-news-card,
.gd-side-panel,
.gd-contact-panel,
.gd-research-main .gd-hub-card,
.gd-research-main .gd-application-list article,
.gd-research-main .gd-type-catalogue details {
  border: 1px solid rgba(144, 111, 110, 0.22);
  border-radius: var(--gd-radius);
  background: var(--gd-surface-low);
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.gd-person-card,
.gd-member-card,
.gd-project-card,
.gd-course-card,
.gd-news-card,
.gd-side-panel,
.gd-contact-panel {
  overflow: hidden;
}

@media (hover: hover) {
  .gd-person-card:hover,
  .gd-member-card:hover,
  .gd-project-card:hover,
  .gd-course-card:hover,
  .gd-news-card:hover,
  .gd-research-main .gd-hub-card:hover,
  .gd-research-main .gd-application-list article:hover {
    border-color: rgba(0, 0, 0, 0.28);
    background: #fff;
    box-shadow: var(--gd-shadow);
    transform: translateY(-2px);
  }
}

.gd-project-card div,
.gd-course-card div,
.gd-news-card,
.gd-side-panel,
.gd-contact-panel {
  padding: clamp(1rem, 2.1vw, 1.5rem);
}

.gd-project-card img,
.gd-course-card img {
  background: #fff;
}

.gd-topic-strip span,
.gd-profile-details a,
.gd-person-cvs a {
  border-color: rgba(189, 9, 44, 0.26);
  border-radius: 999px;
  background: rgba(189, 9, 44, 0.06);
  color: var(--gd-terracotta-dk);
}

.gd-action-link,
.gd-action-button,
.gd-form-row .gd-action-button,
.gd-content-shell--single .wp-block-search__button {
  min-height: 42px;
  border-radius: var(--gd-radius-sm);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gd-action-link {
  border-color: var(--gd-ocean);
  background: #fff;
  color: var(--gd-ocean);
}

.gd-action-button,
.gd-form-row .gd-action-button,
.gd-content-shell--single .wp-block-search__button {
  border-color: var(--gd-ocean);
  background: var(--gd-ocean);
  color: #fff;
}

@media (hover: hover) {
  .gd-action-link:hover {
    border-color: var(--gd-ocean);
    background: var(--gd-ocean);
    color: #fff;
    box-shadow: var(--gd-shadow);
  }

  .gd-action-button:hover,
  .gd-form-row .gd-action-button:hover,
  .gd-content-shell--single .wp-block-search__button:hover {
    border-color: var(--gd-ocean);
    background: var(--gd-ocean);
    box-shadow: var(--gd-shadow);
    transform: translateY(-1px);
  }
}

.gd-tabs__nav {
  gap: 0.2rem;
  border-bottom-color: rgba(0, 0, 0, 0.16);
}

.gd-tab-btn {
  border-radius: var(--gd-radius-sm) var(--gd-radius-sm) 0 0;
  color: var(--gd-teal);
  letter-spacing: 0.06em;
}

.gd-tab-btn:hover,
.gd-tab-btn:focus-visible {
  background: rgba(74, 96, 124, 0.08);
}

.gd-tab-btn.active,
.gd-tab-btn[aria-selected="true"] {
  border-bottom-width: 4px;
  border-top-color: var(--gd-terracotta);
  color: var(--gd-terracotta-dk);
}

.gd-form-row label {
  color: var(--gd-ocean);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.gd-form-row input,
.gd-form-row textarea,
.gd-content-shell--single .wp-block-search__input {
  border-color: rgba(0, 0, 0, 0.18);
  border-radius: var(--gd-radius-sm);
  background: #fff;
}

.gd-form-row input:focus,
.gd-form-row textarea:focus,
.gd-content-shell--single .wp-block-search__input:focus {
  border-color: var(--gd-ocean);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.16);
  outline: 0;
}

.gd-publications {
  border-radius: var(--gd-radius);
  background: var(--gd-ocean);
}

.gd-book-grid img {
  border-color: rgba(255, 255, 255, 0.64);
  box-shadow: none;
}

.gd-footer {
  background: var(--gd-ocean);
  border-top-width: 2px;
}

.gd-footer__mark {
  border-radius: var(--gd-radius-sm);
}

.gd-gdpr {
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--gd-radius);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

@media (max-width: 760px) {
  .gd-container,
  .gd-banner__content {
    width: min(var(--gd-site-width), calc(100% - 32px));
  }

  .gd-section {
    padding: 3rem 0;
  }

  .gd-content-shell {
    padding: 16px;
    border-radius: var(--gd-radius-sm);
  }

  .gd-banner__main {
    grid-template-areas: "crmd institution language";
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) auto;
    gap: 0.35rem;
  }

  .gd-banner__logo {
    display: block;
    min-width: 0;
    overflow: visible;
  }

  .gd-banner__logo img {
    position: static;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Terminal cascade overrides for the home-page editorial treatment. */
.gd-home-page {
  padding: clamp(1.25rem, 2.4vw, 2rem) 0 clamp(1.75rem, 3vw, 2.75rem) !important;
}

ul.gd-home-cdi-list.clean {
  display: grid;
  max-width: 100ch;
  gap: 0;
  margin: 0.1rem 0 0;
  padding: 0;
  border-left: 2px solid rgba(189, 9, 44, 0.28);
  counter-reset: research-direction;
  list-style: none;
}

ul.gd-home-cdi-list.clean li {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 2.85rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gd-line);
  color: var(--gd-slate);
  font-size: 0.96rem;
  line-height: 1.45;
  counter-increment: research-direction;
}

ul.gd-home-cdi-list.clean li::before {
  position: static;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: var(--gd-terracotta-dk);
  content: counter(research-direction, decimal-leading-zero);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 760px) {
  .gd-home-page .gd-container {
    width: min(100ch, calc(100% - 32px));
  }

  ul.gd-home-cdi-list.clean li {
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.6rem;
    padding-right: 0.35rem;
    padding-left: 0.6rem;
  }
}

/* Volume Page Layout */
.gd-volume-page-layout {
  display: block;
}



.gd-volume-sidebar {
  float: left;
  width: 180px;
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.gd-volume-cover {
  width: 100%;
  height: auto;
  border-radius: var(--gd-radius-sm);
  box-shadow: var(--gd-shadow-md);
  display: block;
}

.gd-volume-content {
  flex-grow: 1;
  width: 100%;
}

.gd-gp-article {
  background: #fff;
  border: 1px solid var(--gd-gray-200);
  border-radius: var(--gd-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--gd-shadow-sm);
  transition: box-shadow 0.2s ease;
}

.gd-gp-article:hover {
  box-shadow: var(--gd-shadow-md);
}

.gd-gp-article h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.gd-gp-article h3 a {
  color: var(--gd-ocean);
  text-decoration: none;
  font-weight: 800;
}

.gd-gp-article h3 a:hover {
  color: var(--gd-ocean);
  opacity: 0.85;
  text-decoration: underline;
}

.gd-gp-article-author {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(189, 9, 44, 0.06);
  color: var(--gd-terracotta-dk);
  padding: 0.35rem 0.6rem;
  border-radius: var(--gd-radius-sm);
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 800;
}

.gd-gp-article-abstract {
  color: var(--gd-gray-800);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.gd-gp-article-keywords {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--gd-gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gd-keyword-pill {
  background: rgba(0, 0, 0, 0.08);
  color: var(--gd-ocean);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  font-style: normal;
}

.gd-gp-article-link {
  background: #ffffff;
  color: var(--gd-ocean);
  border: 1px solid var(--gd-ocean);
  padding: 0.5rem 1rem;
  border-radius: var(--gd-radius-sm);
  display: inline-block;
  font-weight: 800;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gd-gp-article-link:hover {
  background: var(--gd-ocean);
  color: #fff;
}

.gd-gp-issue-link {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--gd-ocean);
  color: var(--gd-ocean);
  background: #ffffff;
  border-radius: var(--gd-radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.gd-gp-issue-link:hover {
  background: var(--gd-ocean);
  color: #ffffff;
}

.gd-gp-content .gd-action-button {
  background: #ffffff;
  color: var(--gd-ocean);
  border: 1px solid var(--gd-ocean);
}

.gd-gp-content .gd-action-button:hover {
  background: var(--gd-ocean);
  color: #ffffff;
}


