@font-face {
  font-family: GowunDodum;
  src: url("../fonts/GowunDodum-Regular.woff2") format('woff2');
  font-weight: normal;
  font-style: normal;
}

:root {
  --background-color: rgba(0,128,128,.125);
  --background-image: linear-gradient(to bottom, rgba(0,128,128,.125), transparent);
  --border-color: rgba(0,128,128,.25);
  --border-radius: .25rem;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 100%;
  font-weight: normal;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  font-family: GowunDodum, serif;
  font-size: 1rem;
  /* letter-spacing: .0125em; */
  line-height: 1.5;
  word-break: keep-all;
  color: teal;
  background-color: white;
  cursor: default;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

button {
  appearance: none;
  padding: 0;
  font: inherit;
  color: inherit;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.panel {
  position: sticky;
  z-index: 999;
  top: 0;
  padding: 1rem;
  font-size: .875rem;
  background-color: var(--background-color);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  transition: opacity .125s;
}

@media screen and (min-width: 900px) {
  .panel {
    padding: 1rem 3rem;
  }
}

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

.panel-nav {
  display: flex;
  align-items: center;
  gap: 1em;
}

.header {
  flex: 0 0 auto;
  padding: 1rem;
  background-image: var(--background-image);
}

@media screen and (min-width: 900px) {
  .header {
    padding: 1.5rem 3rem;
  }
}

/* #home .header {
  min-height: 20svh;
} */

.header .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 0;
  width: 100%;
}

.header .container > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-title {
  font-size: 1rem;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.header-nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a,
.header-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -.125em -.5em;
  padding: .125em .5em;
  background-color: transparent;
  border-radius: var(--border-radius);
  color: teal;
}

.header-nav a:hover,
.header-nav a[aria-current="page"],
.header-nav button:hover,
.header-nav button.is-active {
  background-color: var(--background-color);
}

.toggle-menu-mobile {
  display: none !important;
}

@media screen and (max-width: 899px) {
  .menu-desktop {
    display: none !important;
  }
  .toggle-menu-mobile {
    display: block !important;
  }
}

.menu-mobile {
  padding: .75rem 1rem;
  font-size: .875rem;
  background-image: var(--background-image);
  border-radius: var(--border-radius);
}

.menu-mobile li:not(:last-child) {
  margin-bottom: .5rem;
}

.menu-mobile a {
  display: block;
}

.menu-mobile a:hover,
.menu-mobile a[aria-current="page"] {
  opacity: .5;
}

.menu-mobile.is-hidden {
  display: none;
}

@media screen and (min-width: 900px) {
  .menu-mobile {
    display: none !important;
  }
}

.toggle-search {
  appearance: none;
  padding: 0;
  font: inherit;
  color: white;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.search {
  position: sticky;
  bottom: 0;
  margin-top: -1rem;
  transition: opacity .125s, visibility .125s;
}

.search.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.search .container {
  border-bottom: 1px solid var(--border-color);
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.search-input {
  flex: 1 1 0;
  padding: 1rem 0;
  font: inherit;
  font-size: 1.25rem;
  text-align: center;
  color: teal;
  background-color: transparent;
  border: none;
  outline: none;
}

.search-input::placeholder {
  color: rgba(0,128,128,.5);
}

.search-button {
  height: 2rem;
  border-radius: 50%;
  color: white;
  background-color: teal;
  font: inherit;
  border: none;
  outline: none;
  display: none;
}

.main {
  flex: 1 1 auto;
  position: relative;
}

#home .main {
  top: 1rem;
  opacity: 0;
  transition: top .5s, opacity .5s;
}

#home.is-loaded .main {
  top: 0;
  opacity: 1;
}

.footer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  padding: 3rem 1rem;
  font-size: .875rem;
}

@media screen and (min-width: 900px) {
  .footer {
    padding: 3rem;
  }
}

.footer .container {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.clock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
  max-width: 10rem;
  width: 100%;
  height: auto;
  margin: 0 auto;
  font-variant-numeric: tabular-nums;
  text-align: center;
  background-color: var(--background-color);
  border-radius: 50%;
}

.container {
  position: relative;
  max-width: 75rem;
  width: 100%;
  margin: 0 auto;
}

.section {
  padding: 3rem 1rem;
}

@media screen and (min-width: 900px) {
  .section {
    padding: 3rem;
  }
}

.section .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 1rem;
}

@media screen and (min-width: 900px) {
  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.section-title {
  font-size: 1rem;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  min-height: 50svh;
}

.article-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title {
  position: relative;
  font-size: 1.5rem;
  line-height: 1.625;
}

.title a::after {
  content: ">";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding-left: .25em;
  font-size: .75em;
  opacity: .25;
  transition: opacity .25s;
}

.title a:hover::after {
  opacity: 1;
}

.content {
  --gap: 1em;
  position: relative;
  line-height: 1.75;
}

@media screen and (min-width: 900px) {
  .content.is-large {
    font-size: 1.25rem;
  }
}

.content:not(:last-child) {
  margin-bottom: 3rem;
}

.content > *:not(:last-child) {
  margin-bottom: var(--gap);
}

.content a:not([class]) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .125em;
  text-decoration-color: var(--border-color);
  transition: text-decoration-color .25s;
}

.content a:not([class]):hover {
  text-decoration-color: teal;
}

.content h1 {
  font-size: 1.25em;
}

.content h2 {
  font-size: 1.125em;
}

.content h3 {
  font-size: 1em
}

.content h2:not(:first-child),
.content h3:not(:first-child),
.content h4:not(:first-child),
.content h5:not(:first-child),
.content h6:not(:first-child) {
  margin-top: 1em;
}

.content ul,
.content ol {
  margin-left: 1.5em;
}

.content ul {
  list-style-type: disc;
}

.content blockquote {
  padding-left: 2em;
  border-left: .1em solid currentColor;
}

.content figure {
  margin: 0 auto;
}

.content figure:not(:first-child) {
  margin-top: 2em;
}

.content figure:not(:last-child) {
  margin-bottom: 2em;
}

.content figcaption {
  margin-top: .25em;
  font-size: .75em;
}

.content .video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.content .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content hr {
  border: 0;
}

.content hr::after {
  content: "* * *";
  display: block;
  position: relative;
  top: .125em;
  letter-spacing: .5rem;
  text-align: center;
  color: teal;
  opacity: .5;
}

.content sup,
.content sub {
  position: relative;
  font-size: .75em;
}

.content sup {
  top: .25em;
}

.content sub {
  bottom: .25em;
}

.footnote-ref {
  display: inline-block;
  padding: 0 .125em;
}

.footnotes {
  margin-top: 2rem;
  font-size: .75em;
}

.footnotes hr {
  display: none;
}

.footnote-backref {
  display: inline-block;
  position: relative;
  left: -.25em;
  width: 1rem;
  height: 1rem;
  color: transparent;
}

.footnote-backref::after {
  content: "↑";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: black;
  background-color: white;
}

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

@media screen and (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1200px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  --aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
  padding: .75rem 1rem;
  aspect-ratio: var(--aspect-ratio);
  width: 100%;
  height: auto;
  overflow: hidden;
  background-image: var(--background-image);
  border-radius: .25rem;
  transition: background-color .25s;
}

.card:hover {
  background-color: rgba(0,128,128,.125);
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.25rem;
  line-height: 1.625;
  text-wrap: balance;
  color: teal;
}

@media screen and (min-width: 900px) {
  .card-title {
    font-size: 1.5rem;
  }
}

.card-categories {
  margin-top: auto;
  font-size: .875rem;
}

.card-background {
  position: absolute;
  z-index: 999;
  right: 0;
  bottom: 0;
  transform: translate(50%, 50%);
  font-size: 20rem;
  line-height: 1;
  filter: blur(.125em);
  pointer-events: none;
}

/* Columns */

.columns {
  --gap: 1.5rem;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin: calc(var(--gap, 1rem) / 2 * -1);
}

.columns:last-child {
  margin-bottom: calc(var(--gap, 1rem) / 2 * -1);
}

.columns:not(:last-child) {
  margin-bottom: calc(var(--gap, 1rem) / 2);
}

.column {
  width: 100%;
  padding: calc(var(--gap, 1rem) / 2);
}

.column[class*="is-"] {
  flex: none;
}

.column.is-1-12 {
  width: calc(100% / 12 * 1);
}

.column.is-2-12 {
  width: calc(100% / 12 * 2);
}

.column.is-3-12 {
  width: calc(100% / 12 * 3);
}

.column.is-4-12 {
  width: calc(100% / 12 * 4);
}

.column.is-5-12 {
  width: calc(100% / 12 * 5);
}

.column.is-6-12 {
  width: calc(100% / 12 * 6);
}

.column.is-7-12 {
  width: calc(100% / 12 * 7);
}

.column.is-8-12 {
  width: calc(100% / 12 * 8);
}

.column.is-9-12 {
  width: calc(100% / 12 * 9);
}

.column.is-10-12 {
  width: calc(100% / 12 * 10);
}

.column.is-11-12 {
  width: calc(100% / 12 * 11);
}

.column.is-12-12 {
  width: calc(100% / 12 * 12);
}

@media screen and (min-width: 600px) {
  .columns {
    --gap: 3rem;
  }

  .column {
    flex: 1 1 0;
  }

  .column.is-1-12-600 {
    width: calc(100% / 12 * 1);
  }

  .column.is-2-12-600 {
    width: calc(100% / 12 * 2);
  }

  .column.is-3-12-600 {
    width: calc(100% / 12 * 3);
  }

  .column.is-4-12-600 {
    width: calc(100% / 12 * 4);
  }

  .column.is-5-12-600 {
    width: calc(100% / 12 * 5);
  }

  .column.is-6-12-600 {
    width: calc(100% / 12 * 6);
  }

  .column.is-7-12-600 {
    width: calc(100% / 12 * 7);
  }

  .column.is-8-12-600 {
    width: calc(100% / 12 * 8);
  }

  .column.is-9-12-600 {
    width: calc(100% / 12 * 9);
  }

  .column.is-10-12-600 {
    width: calc(100% / 12 * 10);
  }

  .column.is-11-12-600 {
    width: calc(100% / 12 * 11);
  }

  .column.is-12-12-600 {
    width: calc(100% / 12 * 12);
  }

  .column-sticky {
    position: sticky;
    top: 2rem;
  }
}

@media screen and (min-width: 900px) {
  .column.is-1-12-900 {
    width: calc(100% / 12 * 1);
  }

  .column.is-2-12-900 {
    width: calc(100% / 12 * 2);
  }

  .column.is-3-12-900 {
    width: calc(100% / 12 * 3);
  }

  .column.is-4-12-900 {
    width: calc(100% / 12 * 4);
  }

  .column.is-5-12-900 {
    width: calc(100% / 12 * 5);
  }

  .column.is-6-12-900 {
    width: calc(100% / 12 * 6);
  }

  .column.is-7-12-900 {
    width: calc(100% / 12 * 7);
  }

  .column.is-8-12-900 {
    width: calc(100% / 12 * 8);
  }

  .column.is-9-12-900 {
    width: calc(100% / 12 * 9);
  }

  .column.is-10-12-900 {
    width: calc(100% / 12 * 10);
  }

  .column.is-11-12-900 {
    width: calc(100% / 12 * 11);
  }

  .column.is-12-12-900 {
    width: calc(100% / 12 * 12);
  }
}

@media screen and (min-width: 1200px) {
  .column.is-1-12-1200 {
    width: calc(100% / 12 * 1);
  }

  .column.is-2-12-1200 {
    width: calc(100% / 12 * 2);
  }

  .column.is-3-12-1200 {
    width: calc(100% / 12 * 3);
  }

  .column.is-4-12-1200 {
    width: calc(100% / 12 * 4);
  }

  .column.is-5-12-1200 {
    width: calc(100% / 12 * 5);
  }

  .column.is-6-12-1200 {
    width: calc(100% / 12 * 6);
  }

  .column.is-7-12-1200 {
    width: calc(100% / 12 * 7);
  }

  .column.is-8-12-1200 {
    width: calc(100% / 12 * 8);
  }

  .column.is-9-12-1200 {
    width: calc(100% / 12 * 9);
  }

  .column.is-10-12-1200 {
    width: calc(100% / 12 * 10);
  }

  .column.is-11-12-1200 {
    width: calc(100% / 12 * 11);
  }

  .column.is-12-12-1200 {
    width: calc(100% / 12 * 12);
  }
}

@media screen and (min-width: 1500px) {
  .column.is-1-12-1500 {
    width: calc(100% / 12 * 1);
  }

  .column.is-2-12-1500 {
    width: calc(100% / 12 * 2);
  }

  .column.is-3-12-1500 {
    width: calc(100% / 12 * 3);
  }

  .column.is-4-12-1500 {
    width: calc(100% / 12 * 4);
  }

  .column.is-5-12-1500 {
    width: calc(100% / 12 * 5);
  }

  .column.is-6-12-1500 {
    width: calc(100% / 12 * 6);
  }

  .column.is-7-12-1500 {
    width: calc(100% / 12 * 7);
  }

  .column.is-8-12-1500 {
    width: calc(100% / 12 * 8);
  }

  .column.is-9-12-1500 {
    width: calc(100% / 12 * 9);
  }

  .column.is-10-12-1500 {
    width: calc(100% / 12 * 10);
  }

  .column.is-11-12-1500 {
    width: calc(100% / 12 * 11);
  }

  .column.is-12-12-1500 {
    width: calc(100% / 12 * 12);
  }
}

@media screen and (min-width: 1800px) {
  .column.is-1-12-1800 {
    width: calc(100% / 12 * 1);
  }

  .column.is-2-12-1800 {
    width: calc(100% / 12 * 2);
  }

  .column.is-3-12-1800 {
    width: calc(100% / 12 * 3);
  }

  .column.is-4-12-1800 {
    width: calc(100% / 12 * 4);
  }

  .column.is-5-12-1800 {
    width: calc(100% / 12 * 5);
  }

  .column.is-6-12-1800 {
    width: calc(100% / 12 * 6);
  }

  .column.is-7-12-1800 {
    width: calc(100% / 12 * 7);
  }

  .column.is-8-12-1800 {
    width: calc(100% / 12 * 8);
  }

  .column.is-9-12-1800 {
    width: calc(100% / 12 * 9);
  }

  .column.is-10-12-1800 {
    width: calc(100% / 12 * 10);
  }

  .column.is-11-12-1800 {
    width: calc(100% / 12 * 11);
  }

  .column.is-12-12-1800 {
    width: calc(100% / 12 * 12);
  }
}


.form {
  position: relative;
}

.field:not(:last-child) {
  margin-bottom: 1rem;
}

.label {
  display: block;
  font-size: .875rem;
}

.label:not(:last-child) {
  margin-bottom: .5rem;
}

.control {
  box-sizing: border-box;
  clear: both;
  font-size: 1rem;
  position: relative;
  text-align: inherit;
}

.help {
  display: block;
  margin-top: .5rem;
  font-size: .75rem;
}

.input:not([type="file"]) {
  -moz-appearance: none;
  -webkit-appearance: none;
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  padding: .5rem;
  font-size: 1rem;
  justify-content: flex-start;
  position: relative;
  vertical-align: top;
  max-width: 100%;
  width: 100%;
  border: 1px solid black;
  outline: none;
}

.textarea {
  display: block;
  width: 100%;
  font-size: 1rem;
  min-height: 6rem;
  padding: .5rem .75rem;
  border: 1px solid black;
  outline: none;
  resize: none;
}


.buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  width: 100%;
}

.buttons .button {
  flex: 1 1 0;
}

.button {
  appearance: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  line-height: 1.5;
  padding: .75rem 1rem;
  color: white;
  background-color: teal;
  border-radius: var(--border-radius);
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: none;
}

.button:hover {
  color: white;
  background-color: teal;
}


.breadcrumb {
  font-size: 1rem;
  white-space: nowrap;
}

.breadcrumb ol {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.breadcrumb li {
  align-items: center;
  display: flex;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin: 0 .25em;
}

.breadcrumb a {
  align-items: center;
  display: flex;
  justify-content: center;
  opacity: .5;
}

.breadcrumb a:hover,
.breadcrumb a[aria-current="page"] {
  opacity: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  opacity: .5;
}

.tag::before {
  content: "#";
}

.tag:hover,
.tag[aria-selected="true"] {
  opacity: 1;
}


.block:not(:last-child) {
  margin-bottom: 1.5rem;
}


.box {
  display: block;
  padding: 1rem;
  border: 1px solid black;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination a {
  padding: .75rem 1rem;
}

.list {
  margin-top: -1rem;
}

.list-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.list-item a {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 0;
}

.list-item a:hover {
  opacity: .5;
}

@media screen and (min-width: 900px) {
  .list-item a {
    flex-direction: row;
    gap: 1rem;
  }

  .list-item-title {
    flex: 1 1 0;
  }
  
  .list-item-categories {
    flex: 0 0 12rem;
    gap: .5rem;
    text-align: right;
  }
}

.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em 1em;
}

.filter a {
  opacity: .5;
}

.filter a:hover,
.filter a[aria-selected="true"] {
  opacity: 1;
}

.questions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.answer {
  display: flex;
  align-items: center;
  gap: .5rem;
  position: relative;
  padding: .75rem 3rem .75rem 1rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color .25s;
}

.answer:hover,
.answer:has(input:checked) {
  background-color: rgba(0,128,128,.25);
}

.answer::after {
  content: "●";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .25s;
}

.answer:hover::after {
  opacity: .25;
}

.answer:has(input:checked)::after {
  opacity: 1;
}

.answers .answer input {
  display: none;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result {
  padding: .75rem 1rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
}

.metadata {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: .75rem 1rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
}

.metadata dt {
  font-size: .875rem;
  opacity: .5;
}

.dropdown {
  position: relative;
}

.dropdown-title {
  list-style: none;
  cursor: pointer;
  opacity: .5;
}

.dropdown-title:hover,
.dropdown[open] .dropdown-title {
  opacity: 1;
}

.dropdown-title::-webkit-details-marker {
  display: none;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: -.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-top: .25rem;
  padding: .75rem 1rem;
  background-color: var(--background-color);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  border-radius: var(--border-radius);
}