:root {
  --ink: #0b1b33;
  --muted: #5c6c80;
  --brand: #0f63d8;
  --brand-dark: #061d3b;
  --accent: #2f7df0;
  --paper: #f4f7fb;
  --white: #fff;
  --line: #dce5f1;
  --shadow: 0 20px 55px rgba(5, 29, 59, .16);
  --radius: 16px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: .75rem 1rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #061d3b;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .12);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 36px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #2f7df0, #0f63d8);
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 99, 216, .35);
  font-size: .56rem;
  letter-spacing: .05em;
}

.brand-text {
  font-size: 1.32rem;
}

.brand-text small {
  display: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 9px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 7px 18px rgba(0,0,0,.24);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
  border-radius: 9px;
  padding: .55rem .75rem;
  font: inherit;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  display: block;
  padding: .55rem .68rem;
  color: #fff;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
  border-radius: 9px;
}

.site-nav a:hover,
.site-nav a[aria-current=page] {
  background: rgba(255, 255, 255, .1);
}

.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  margin-left: .35rem;
  padding: .7rem 1.05rem !important;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  background: url('../images/sozopol-sunset_.png') center 55%/cover no-repeat;
  color: #fff;
}

/*.hero-shade {
  position: absolute;
  inset: 0;
  background: 
  	linear-gradient(
  		90deg, 
  		rgba(3, 19, 42, .55) 0%, 
  		rgba(3, 19, 42, .30) 45%, 
  		rgba(3, 19, 42, .12) 100%
  	), 
  	linear-gradient(
  		180deg, 
  		rgba(3, 19, 42, .05), 
  		rgba(3, 19, 42, .18)
  	);
}*/

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4,18,40,.45) 0%,
            rgba(4,18,40,.18) 50%,
            rgba(4,18,40,0) 100%
        );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  gap: 3.2rem;
  padding: 4.4rem 0 3.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 1.12rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.045em;
  margin: .55rem 0 1rem;
  color: #fff;
}

.hero-edition {
  font-size: 5.0rem;
  font-weight: 700;
  margin: .2rem 0 1.35rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.6rem;
  font-weight: 700;
}

.hero-meta span+span {
  border-left: 1px solid rgba(255, 255, 255, .6);
  padding-left: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.55rem;
}

    .hero-copy { max-width: 720px; }
    .hero-identity {
      display: flex;
      align-items: center;
      gap: 1.15rem;
      margin-bottom: 1rem;
    }
    .hero-logo-frame {
      flex: 0 0 auto;
      width: 142px;
      height: 142px;
      display: grid;
      place-items: center;
      padding: .45rem;
      border-radius: 18px;
      background: rgba(255,255,255,.94);
      border: 1px solid rgba(255,255,255,.72);
      box-shadow: 0 18px 44px rgba(0,0,0,.28);
      backdrop-filter: blur(8px);
    }
    .hero-logo-frame img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .hero-intro { min-width: 0; }
    .hero-intro .hero-kicker { display: block; margin-bottom: .22rem; }
    .hero-intro .hero-edition { margin: 0; }
    .hero h1 { margin-top: .4rem; }
    .hero-summary {
      max-width: 650px;
      margin: 0 0 1.1rem;
      color: rgba(255,255,255,.88);
      font-size: 1.5rem;
    }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .86rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.btn:hover {
  background: #0b52b8;
}

.btn.ghost {
  background: rgba(3, 19, 42, .15);
  border-color: #fff;
}

.btn.secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

.btn.secondary:hover {
  background: #edf4ff;
}

.hero-card {
  background: rgba(5, 29, 59, .86);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 1.35rem 1.45rem;
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
}

.hero-card h2 {
  font-size: 1.22rem;
  margin: 0 0 .75rem;
  color: #fff;
}

.deadline-list {
  display: grid;
}

.deadline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: .73rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  align-items: center;
}

.deadline span {
  display: grid;
}

.deadline strong {
  font-size: .91rem;
}

.deadline small {
  color: #c5d2e2;
}

.deadline time {
  font-weight: 800;
  background: rgba(255, 255, 255, .12);
  padding: .15rem .52rem;
  border-radius: 7px;
}

.dates-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #55a0ff;
  text-decoration: none;
}

.notice {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.notice .container {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.notice strong {
  color: var(--brand);
  margin-right: 1rem;
}

.notice-button {
  border: 1px solid var(--brand);
  border-radius: 8px;
  padding: .55rem .95rem;
  text-decoration: none;
  font-weight: 800;
}

.section {
  padding: 4.7rem 0;
}

.section.alt {
  background: var(--paper);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-header p {
  max-width: 650px;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  font-weight: 850;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: .65rem 0 1rem;
}

h3 {
  font-size: 1.22rem;
}

.split-overview {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
}

.split-overview>div+div {
  border-left: 1px solid var(--line);
  padding-left: 3rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.check-list li {
  margin: .65rem 0;
  padding-left: 1.65rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 900;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: #fff;
  box-shadow: 0 8px 26px rgba(19, 40, 58, .06);
}

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

.profile-card {
  text-align: center;
}

.portrait {
  margin: 0 auto 1rem;
  border-radius: 50% !important;
  background: linear-gradient(180deg, #dce4ee, #f5f7fa) !important;
  color: #8190a2 !important;
  font-size: 2.8rem;
}

.avatar {
  width: 88px;
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(135deg, #d9e9ed, #f1e4cf);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--brand);
}

.tag {
  display: inline-block;
  padding: .22rem .55rem;
  border-radius: 99px;
  background: #eaf2ff;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 750;
}

.icon-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #e7f0ff;
  border-radius: 12px;
  font-weight: 900;
  color: var(--brand);
}

.topic-list {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.2rem;
}

.topic-list li {
  break-inside: avoid;
  margin-bottom: .55rem;
}

.profile {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: center;
}

.page-hero {
  background: linear-gradient(135deg, #071f40, #0f63d8);
  padding: 4.2rem 0 3.4rem;
  border-bottom: 1px solid var(--line);
  color: #fff;
}

.page-hero .eyebrow {
  color: #b9d7ff;
}

.page-hero .eyebrow::before {
  background: #7fb3ff;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  margin-bottom: .7rem;
}

.page-hero .lead {
  color: #dce9f9;
}

.lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 720px;
}

.content {
  max-width: 820px;
}

.content h2 {
  margin-top: 2.5rem;
  font-size: 2rem;
}

.content h3 {
  margin-top: 1.8rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: .9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: #edf4ff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.callout {
  border-left: 4px solid var(--brand);
  background: #edf4ff;
  padding: 1rem 1.2rem;
  border-radius: 0 10px 10px 0;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 1rem;
}

.step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
}

.step::before {
  content: counter(steps);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.footer {
  background: #06172c;
  color: #d9e7f5;
  padding: 3.5rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer h3 {
  color: #fff;
}

.footer a {
  color: #d9e7f5;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin: .45rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 1rem;
  margin-top: 2rem;
  color: #9fb4ca;
  font-size: .9rem;
}

.placeholder {
  border: 2px dashed #9eb5ce;
  border-radius: 12px;
  padding: 1rem;
  color: #60768d;
  background: #f7faff;
}

@media(max-width:1000px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 66px;
    background: #061d3b;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: .6rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    display: block;
  }

  .hero-inner,
  .grid-3,
  .footer-grid,
  .split-overview {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 3.5rem 0;
  }

  .hero-card {
    max-width: 680px;
  }

  .split-overview>div+div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 2rem 0 0;
  }
}

@media(max-width:650px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.4rem 0;
  }

  .section-header {
    display: block;
  }

  .topic-list {
    columns: 1;
  }

  .notice .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile {
    grid-template-columns: 68px 1fr;
  }

  .avatar {
    width: 68px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-meta span+span {
    border-left: 0;
    padding-left: 0;
  }

  .brand-text {
    font-size: 1.15rem;
  }
}


/* Partner and sponsor footer */
.footer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 2rem;
  align-items: end;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-intro h2 {
  max-width: 680px;
  margin: 0.35rem 0 0.7rem;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.footer-intro p {
  max-width: 720px;
  margin: 0;
}

.footer-eyebrow {
  color: #7fb3ff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.partner-groups {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2rem;
  padding: 2.35rem 0 0.5rem;
}

.partner-group h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.logo-grid {
  display: grid;
  gap: 0.85rem;
}

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

.logo-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.logo-card {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.logo-card:hover,
.logo-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.logo-card:focus-visible {
  outline: 3px solid #7fb3ff;
  outline-offset: 3px;
}

.logo-card img {
  width: 100%;
  max-width: 190px;
  max-height: 72px;
  object-fit: contain;
}

.logo-card-wide img {
  max-width: 270px;
}

    .logo-note {
      margin: .45rem 0 0;
      font-size: .74rem;
      color: rgba(255,255,255,.7);
    }


@media (max-width: 1000px) {

  .footer-intro,
  .partner-groups {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 650px) {

  .footer-links,
  .logo-grid-organizers {
    grid-template-columns: 1fr;
  }

  .logo-card {
    min-height: 100px;
  }
}

/* Navigation page mesh headers */
.page-hero-mesh {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 310px;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 4rem;
  background-image:
    linear-gradient(90deg, rgba(2, 18, 42, 0.93), rgba(4, 35, 78, 0.75)),
    url("../images/navigation-mesh.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(127, 179, 255, 0.28);
  color: #fff;
}

.page-hero-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 28%, rgba(47, 125, 240, 0.2), transparent 34%),
    linear-gradient(180deg, transparent 55%, rgba(2, 15, 34, 0.28));
  pointer-events: none;
}

.page-hero-mesh .container {
  position: relative;
  z-index: 1;
}

.page-hero-mesh h1 {
  max-width: 850px;
  margin: 0.55rem 0 0.8rem;
  color: #fff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.22);
}

.page-hero-mesh .lead {
  max-width: 760px;
  margin: 0;
  color: rgba(233, 243, 255, 0.9);
}

.page-hero-mesh .eyebrow {
  color: #a9d1ff;
}

.page-hero-mesh .eyebrow::before {
  background: #5fa4ff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: rgba(225, 239, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: #a9d1ff;
}

@media (max-width: 650px) {
  .page-hero-mesh {
    min-height: 260px;
    padding: 3.4rem 0 3rem;
    background-position: 64% center;
  }

  .breadcrumb {
    margin-bottom: 1rem;
  }
}

    .home-quick-links {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 1rem;
      margin-top: 2rem;
    }
    .quick-link {
      display: block;
      padding: 1rem;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      text-decoration: none;
      box-shadow: 0 8px 24px rgba(19,40,58,.05);
    }
    .quick-link strong { display: block; color: var(--ink); margin-bottom: .2rem; }
    .quick-link span { color: var(--muted); font-size: .9rem; }
    @media (max-width: 1000px) {
      .hero-identity { align-items: flex-start; }
      .hero-logo-frame { width: 118px; height: 118px; }
    }
    @media (max-width: 650px) {
      .brand-logo { width: 40px; height: 40px; }
      .hero-identity { display: block; }
      .hero-logo-frame { width: 112px; height: 112px; margin-bottom: 1rem; }
      .home-quick-links { grid-template-columns: 1fr; }
      .hero h1 { font-size: 2.75rem; }
    }
    
.history-links {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 0;
    list-style: none;
}

.history-links li {
    margin: 0;
    border-bottom: 1px solid rgba(17, 58, 101, 0.12);
}

.history-links a {
    display: block;
    padding: 1rem 0;
    color: #123f73;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.history-links a:hover,
.history-links a:focus-visible {
    color: #0f6fc6;
    padding-left: 0.5rem;
}

