@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Page layout and typography. Fonts and images are served locally. */
:root {
  color-scheme: light;
  --text: #2a2a2a;
  --heading: #6ec1e4;
  --register: #61ce70;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 16px/1.7 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.course-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: calc(100% - 20px);
  max-width: 1140px;
  margin-inline: auto;
  padding-block: 80px 40px;
}

section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

h1, h2 {
  margin: 0;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 40px; text-align: center; }
h2 { font-size: 32px; text-align: center; }
.subheading { font-size: 24px; text-align: left; }
p { margin: 0 0 0.9rem; }
strong { font-weight: 700; }
img { max-width: 100%; height: auto; vertical-align: middle; }
figure { margin: 0; }
figure img { display: block; margin-inline: auto; }
figcaption { font-style: italic; text-align: center; }
a { color: var(--heading); text-decoration: underline; }
a:hover { color: #333366; }
a:focus-visible { outline: 3px solid #333366; outline-offset: 4px; }

.course-details, .spaced-section { margin-top: 70px; }

.portrait-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 10px;
}

.portrait-layout > .prose { grid-column: span 2; min-width: 0; }
.portrait-layout > figure, .portrait-layout > img { align-self: center; }

.register-button {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  padding: 12px 24px;
  border-radius: 3px;
  background: var(--register);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.register-button:hover { color: #fff; opacity: 0.9; }
#registration .prose > p:first-child { margin-bottom: 34.4px; }
.testimonial-credit { margin: 16px 40px; padding-left: 450px; }

.book-covers, .book-editions {
  display: grid;
  gap: 20px;
  align-items: start;
}

.book-covers { grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 10px; }
.book-editions { grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: 0; }
.book-links p { margin-bottom: 1em; color: #444; }
.book-links p:first-child { color: #000; }
.book-link { color: #1bb0ce; }

.sponsors { display: flex; flex-direction: column; gap: 20px; }
.sponsor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 10.666667fr);
  align-items: center;
  gap: 20px;
}
.sponsor > .prose { min-width: 0; }
.sponsor > img { width: 100%; }

@media (max-width: 767px) {
  h1, h2, .prose { overflow-wrap: anywhere; }
  .portrait-layout { grid-template-columns: minmax(0, 1fr); }
  .portrait-layout > .prose { grid-column: 1; }
  .portrait-layout > figure, .portrait-layout > img {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    justify-self: center;
  }
  .testimonial-credit {
    margin-inline: 0;
    padding-left: 0;
    text-align: right;
  }
  .book-covers, .book-editions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .sponsors { gap: 24px; }
  .sponsor {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }
  .register-button { min-height: 44px; }
}

@media print {
  .course-page { max-width: none; padding-block: 0; }
  .register-button { color: #000; border: 1px solid #000; background: none; }
  h1, h2 { break-after: avoid; }
  img, .sponsor { break-inside: avoid; }
}
