@font-face {
  font-family: "Source Sans Pro";
  src: url("/assets/SourceSansPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("/assets/SourceSansPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  font-family: "Source Sans Pro", system-ui, sans-serif;
  color: #1b3761;
  background: #fff;
  --text-secondary: #505b64;
  --line: #ced5d6;
  --green: #006935;
  --aqua: #2dcccd;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: .1875rem solid var(--green); outline-offset: .1875rem; }
.container { width: min(100% - 3rem, 66rem); margin-inline: auto; }
.header { background: #fff; }
.masthead { display: flex; align-items: center; min-height: 4.75rem; }
.wordmark { display: block; width: 11.25rem; height: auto; }

.hero { position: relative; isolation: isolate; background: #f5f5f5; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 45%;
  z-index: -1;
  background: linear-gradient(90deg, #f5f5f5 0%, #f5f5f500 32%),
    url("/assets/seminer-dunya.jpg") 72% center / cover no-repeat;
}
.hero-inner { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.hero h1 {
  max-width: 15ch;
  color: var(--green);
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: .99;
  letter-spacing: -.038em;
}
.hero p { margin-top: 1.125rem; color: #1b3761; font-size: clamp(1.125rem, 2.2vw, 1.375rem); }
.library { padding-block: clamp(2.6rem, 5.8vw, 4.25rem); }
.library h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.13; letter-spacing: -.025em; }
.notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.125rem;
  padding: 1.375rem;
  background: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: .5rem;
}
.notice img { flex: 0 0 auto; margin-top: .1rem; }
.status-title { font-size: 1.125rem; line-height: 1.25; font-weight: 700; }
.status-description { margin-top: .25rem; color: var(--text-secondary); line-height: 1.45; }
.catalog { list-style: none; padding: 0; margin: 1.125rem 0 0; border-top: 1px solid var(--line); }
.presentation {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.125rem;
  border-bottom: 1px solid var(--line);
}
.presentation h3 { font-size: 1.18rem; line-height: 1.24; overflow-wrap: anywhere; }
.speaker { color: var(--text-secondary); margin-top: .25rem; }
.download, #reload-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .375rem .95rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  background: var(--aqua);
  color: #153450;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.download:hover, #reload-catalog:hover { background: #82e2e2; }
#reload-catalog { cursor: pointer; margin-top: .6rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1rem 1.5rem; color: var(--text-secondary); }
.footer a { display: inline-flex; align-items: center; min-height: 2.75rem; text-underline-offset: .2em; }

@media (max-width: 47rem) {
  .hero::after { left: 49%; }
}

@media (max-width: 36rem) {
  .container { width: calc(100% - 2rem); }
  .masthead { min-height: 4rem; }
  .wordmark { width: 9.5rem; }
  .hero::after {
    position: static;
    display: block;
    height: clamp(6rem, 28vw, 9rem);
    background: url("/assets/seminer-dunya.jpg") center 38% / cover no-repeat;
  }
  .hero-inner { padding-block: 2rem 1.75rem; }
  .hero h1 { font-size: clamp(2.15rem, 9vw, 3.25rem); }
  .hero p { margin-top: .65rem; }
  .notice { padding: 1rem; }
}

@media (max-width: 27rem) {
  .presentation { grid-template-columns: 1fr; gap: .65rem; }
  .download { justify-self: start; }
}
