﻿:root {
  --bg: #f5f8fb;
  --bg-alt: #e9eff3;
  --ink: #13212b;
  --muted: #4a5b68;
  --accent: #0f6b8f;
  --accent-dark: #0b3a5b;
  --teal: #0f6b8f;
  --card: #ffffff;
  --shadow: 0 12px 28px rgba(19, 33, 43, 0.12);
  --shadow-soft: 0 6px 18px rgba(19, 33, 43, 0.08);
  --radius: 12px;
  --border: rgba(19, 33, 43, 0.12);
  --border-strong: rgba(19, 33, 43, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 900px at 15% -10%, #ffffff 0%, var(--bg) 60%, #eef3f7 100%),
    linear-gradient(rgba(15, 107, 143, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 107, 143, 0.05) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  line-height: 1.7;
  min-width: 1100px;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 20;
}

.skip-link:focus {
  left: 10px;
}

.wrap {
  width: 1100px;
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 240px;
}

.brand__name {
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
}

.brand__tagline {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 300px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.site-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.site-badge img {
  max-height: 72px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-list a {
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 999px;
}

.nav-list a:hover {
  background: rgba(15, 107, 143, 0.12);
}

.site-main {
  animation: fadeUp 0.8s ease-out;
}

.hero {
  padding: 70px 0 40px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.hero h1 {
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  margin: 0 0 12px;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero__actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: #fff;
}

.button--ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid rgba(15, 107, 143, 0.35);
  box-shadow: none;
}

.button--ghost:hover {
  color: var(--accent-dark);
}

.hero__card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.card-sci {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 14px 30px rgba(15, 107, 143, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 250, 0.92)),
    linear-gradient(90deg, rgba(15, 107, 143, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(15, 107, 143, 0.06) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
}

.card-sci::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(15, 107, 143, 0.75), rgba(15, 107, 143, 0.2), transparent);
}

.hero__card-title {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent-dark);
}

.hero__card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.logo-bar {
  padding: 0 0 30px;
}

.logo-bar__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.logo-bar__group {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.logo-bar__logo {
  max-height: 56px;
  width: auto;
  display: block;
}

.logo-bar__logo--bme {
  max-height: 44px;
}

.logo-bar.footer-logo-bar {
  width: 100%;
  flex: 0 0 100%;
  padding: 0 0 16px;
}

.logo-bar.footer-logo-bar .logo-bar__inner {
  justify-content: center;
}

.page-header {
  padding: 50px 0 10px;
}

.page-header h1 {
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  margin: 0 0 12px;
}

.muted {
  color: var(--muted);
}

.page-content {
  padding: 10px 0 70px;
}

.prose {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.prose.card-sci {
  background-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 250, 0.92)),
    linear-gradient(90deg, rgba(15, 107, 143, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(15, 107, 143, 0.06) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  border-color: var(--border-strong);
  box-shadow:
    0 14px 30px rgba(15, 107, 143, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.prose h2,
.prose h3,
.prose h4 {
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  color: var(--ink);
}

.prose-academic {
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose-academic h2,
.prose-academic h3 {
  letter-spacing: 0.015em;
  font-weight: 600;
}

.prose-academic strong {
  font-weight: 600;
}

.prose a {
  text-decoration: underline;
  text-decoration-color: rgba(15, 107, 143, 0.35);
}

.prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.prose th {
  background: var(--bg-alt);
  font-weight: 600;
}

.prose figure {
  margin: 20px 0;
}

.wp-caption {
  padding: 12px;
  border-left: 3px solid rgba(15, 107, 143, 0.4);
  background: rgba(15, 107, 143, 0.06);
  border-radius: 10px;
}

.aligncenter {
  display: block;
  margin: 16px auto;
}

.alignnone {
  display: block;
  margin: 16px 0;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.news-list__item {
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.news-list__date {
  font-weight: 600;
  color: var(--teal);
}

.news-list__title a {
  color: var(--ink);
}

.news-academic {
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.7;
}

.news-academic .news-list__date {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.news-academic .news-list__title a {
  font-weight: 600;
}

.back-link {
  font-weight: 600;
}

.site-footer {
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

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