@charset "UTF-8";
:root {
  color-scheme: light;
  --default-color: #100F0F;
  --color-bg: #FFFCF0;
  --color-bg-muted: #F2F0E5;
  --color-text: #100F0F;
  --color-text-muted: #878580;
  --color-heading: #100F0F;
  --color-border: #B7B5AC;
  --color-link: #100F0F;
  --color-link-hover: rgb(218, 112, 44);
  --color-title: var(--color-text, #100F0F);
  --color-title-hover: rgb(218, 112, 44);
  --color-shadow: rgba(0, 0, 0, 0.2);
  --color-pagination-bg: #F2F0E5;
  --color-pagination-hover-bg: #B7B5AC;
  --color-pagination-active-bg: #575653;
  --color-pagination-active-text: #FFFCF0;
  --color-portfolio-bg: #FFFFFF;
  --color-button-bg: var(--color-bg-muted);
  --project-pin-bg: rgba(240, 237, 225, 0.62);
  --project-pin-border: rgba(0, 0, 0, 0.1);
  --project-pin-icon: #2b2a28;
  /* Layout sizing */
  --container-max: 1300px;
  --container-vw: 96vw;
  --prose-max: 900px;
  --prose-vw: 92vw;
  --page-pad: clamp(0.75rem, 2vw, 1.5rem);
  --page-pad-mobile: clamp(0.75rem, 4vw, 1.25rem);
  /* Wrapper defaults (can be overridden per layout) */
  --wrapper-max: var(--prose-max);
  --wrapper-vw: var(--prose-vw);
  --wrapper-pad: var(--page-pad);
  --wrapper-pad-mobile: var(--page-pad-mobile);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    color-scheme: dark;
    --color-bg: #100F0F;
    --color-bg-muted: #1C1B1A;
    --default-color: #CECDC3;
    --color-text: #CECDC3;
    --color-text-muted: #b9b5a9;
    --color-heading: #fff8e6;
    --color-border: #2f333d;
    --color-link: #CECDC3;
    --color-link-hover: #4385BE;
    --color-title: var(--color-text);
    --color-title-hover: #4385BE;
    --color-shadow: rgba(0, 0, 0, 0.7);
    --color-pagination-bg: #1C1B1A;
    --color-pagination-hover-bg: #2f333d;
    --color-pagination-active-bg: #CECDC3;
    --color-pagination-active-text: #100F0F;
    --color-portfolio-bg: #FFFCF0;
    --color-button-bg: #262522;
    --project-pin-bg: rgba(16, 15, 15, 0.82);
    --project-pin-border: rgba(255, 255, 255, 0.18);
    --project-pin-icon: #f5f5f5;
  }
}
:root[data-theme=light] {
  color-scheme: light;
  --default-color: #100F0F;
  --color-bg: #FFFCF0;
  --color-bg-muted: #F2F0E5;
  --color-text: #100F0F;
  --color-text-muted: #878580;
  --color-heading: #100F0F;
  --color-border: #B7B5AC;
  --color-link: #100F0F;
  --color-link-hover: rgb(218, 112, 44);
  --color-title: var(--color-text, #100F0F);
  --color-title-hover: rgb(218, 112, 44);
  --color-shadow: rgba(0, 0, 0, 0.2);
  --color-pagination-bg: #F2F0E5;
  --color-pagination-hover-bg: #F2F0E5;
  --color-pagination-active-bg: #100F0F;
  --color-pagination-active-text: #FFFCF0;
  --color-portfolio-bg: #FFFCF0;
  --color-button-bg: var(--color-bg-muted);
  --project-pin-bg: rgba(240, 237, 225, 0.92);
  --project-pin-border: rgba(0, 0, 0, 0.1);
  --project-pin-icon: #2b2a28;
}

:root[data-theme=dark] {
  color-scheme: dark;
  --color-bg: #100F0F;
  --color-bg-muted: #1C1B1A;
  --default-color: #CECDC3;
  --color-text: #CECDC3;
  --color-text-muted: #b9b5a9;
  --color-heading: #fff8e6;
  --color-border: #2f333d;
  --color-link: #CECDC3;
  --color-link-hover: #4385BE;
  --color-title: var(--color-text);
  --color-title-hover: #4385BE;
  --color-shadow: rgba(0, 0, 0, 0.7);
  --color-pagination-bg: #1C1B1A;
  --color-pagination-hover-bg: #2f333d;
  --color-pagination-active-bg: #CECDC3;
  --color-pagination-active-text: #100F0F;
  --color-portfolio-bg: var(--color-bg);
  --color-button-bg: #262522;
  --project-pin-bg: rgba(16, 15, 15, 0.82);
  --project-pin-border: rgba(255, 255, 255, 0.18);
  --project-pin-icon: #f5f5f5;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.55;
}

html,
body {
  color: var(--color-text, #100F0F);
  margin: 0;
  padding: 0;
  background-color: var(--color-bg, #FFFCF0);
  height: 100%;
}

html {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica", "Arial", "Segoe UI", "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif;
  overflow-y: scroll;
  font-size: 17px;
}
@media (min-width: 748px) {
  html {
    font-size: clamp(17px, 1.4vw, 19px);
  }
}

body {
  -webkit-text-size-adjust: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* assegura altura mínima pantalla */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading, #100F0F);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica", "Arial", "Segoe UI", "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif;
  line-height: normal;
  font-weight: 400;
}

h1 {
  font-size: clamp(1.5rem, 1.4rem + 0.5vw, 3rem);
  margin-block-start: 1em;
  margin-block-end: 0.35em;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.2rem, 1.1rem + 0.35vw, 2rem);
  font-weight: 500;
  margin-block-start: 2em;
  margin-block-end: 2em;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.3vw, 1.8rem);
  font-weight: 400;
  margin-block-start: 1.5em;
  margin-block-end: 1.5em;
}

h4 {
  font-size: clamp(1.15rem, 1rem + 0.25vw, 1.5rem);
  margin-block-start: 1.5em;
  margin-block-end: 1.5em;
}

h5 {
  font-size: clamp(1.05rem, 0.9rem + 0.2vw, 1.3rem);
  margin-block-start: 1.5em;
  margin-block-end: 1.5em;
}

h6 {
  font-size: clamp(0.8rem, 0.6rem + 0.05vw, 0.9rem);
  text-transform: uppercase;
  font-weight: 500;
  margin-block-start: 1.5em;
  margin-block-end: 1.5em;
}

@media (min-width: 1024px) {
  h2 {
    font-size: clamp(1.15rem, 0.95rem + 0.65vw, 1.85rem);
    margin-block-start: 3rem;
    margin-block-end: 3rem;
  }
  h3 {
    font-size: clamp(1.15rem, 0.95rem + 0.65vw, 1.85rem);
    margin-block-start: 3rem;
    margin-block-end: 3rem;
  }
  h4 {
    font-size: clamp(1.15rem, 0.95rem + 0.65vw, 1.85rem);
    margin-block-start: 3rem;
    margin-block-end: 3rem;
  }
  h5 {
    font-size: clamp(1.05rem, 0.85rem + 0.45vw, 1.55rem);
    margin-block-start: 3rem;
    margin-block-end: 3rem;
  }
  h6 {
    font-size: clamp(0.8rem, 0.65rem + 0.25vw, 1.05rem);
    margin-block-start: 3rem;
    margin-block-end: 3rem;
  }
  :where(.card, .project-card) h2 {
    font-size: clamp(1.2rem, 1.1rem + 0.35vw, 2rem);
  }
  :where(.card, .project-card) h3 {
    font-size: clamp(1.25rem, 1.1rem + 0.3vw, 1.8rem);
  }
  :where(.card, .project-card) h4 {
    font-size: clamp(1.15rem, 1rem + 0.25vw, 1.5rem);
  }
  :where(.card, .project-card) h5 {
    font-size: clamp(1.05rem, 0.6rem + 0.2vw, 1.3rem);
  }
  :where(.card, .project-card) h6 {
    font-size: clamp(0.8rem, 0.5rem + 0.05vw, 0.9rem);
  }
}
.heading-anchor {
  opacity: 0;
  margin-left: 0.4em;
  color: var(--color-text-muted, #878580);
  transition: color 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
  font-size: 0.75em;
}
.heading-anchor svg {
  width: 0.9em;
  height: 0.9em;
  display: block;
}

.heading-anchor:focus,
.heading-anchor:hover,
h2:hover .heading-anchor,
h3:hover .heading-anchor,
h4:hover .heading-anchor,
h5:hover .heading-anchor,
h6:hover .heading-anchor {
  opacity: 1;
  color: var(--color-link-hover, #205EA6);
}

h2 .heading-anchor,
h3 .heading-anchor,
h4 .heading-anchor,
h5 .heading-anchor,
h6 .heading-anchor {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 2rem 0;
}

main {
  flex: 1 0 auto;
}
main a {
  color: var(--color-link, #100F0F);
  text-decoration: underline;
}
main .pagination a,
main .catalogue a {
  color: var(--color-link, #100F0F);
  text-decoration: none;
}

.footnotes {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 3rem;
  padding-top: 0.5rem;
  margin-bottom: 50px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.footnotes a {
  text-decoration: underline;
  color: var(--color-link, #100F0F);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

footer {
  flex-shrink: 0;
}
footer a {
  text-decoration: underline;
  color: var(--color-link, #100F0F);
}

a {
  color: var(--color-link, #100F0F);
  text-decoration: none;
  cursor: pointer !important;
  pointer-events: auto !important;
  text-decoration-thickness: 0.03em !important;
  text-underline-offset: 3px;
}

.small {
  font-size: 0.8em;
}

a:hover {
  color: var(--color-link-hover, #205EA6);
}

.project-text {
  margin-left: var(--content-text-side-margin, 0rem);
  margin-right: var(--content-text-side-margin, 0rem);
}

.project-text--full {
  margin: 0 !important;
}

button,
.button,
input[type=button],
input[type=submit],
input[type=reset] {
  display: inline-block;
  margin: 10px;
  border: 1px solid var(--default-color, #100F0F);
  color: var(--default-color, #100F0F);
  background: none;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  cursor: pointer;
  font: inherit;
  font-size: 0.8em;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  text-transform: uppercase;
}
button a,
.button a,
input[type=button] a,
input[type=submit] a,
input[type=reset] a {
  color: inherit;
  text-decoration: none;
}
button a:hover,
.button a:hover,
input[type=button] a:hover,
input[type=submit] a:hover,
input[type=reset] a:hover {
  color: var(--color-bg, #FFFCF0);
}
button:hover,
.button:hover,
input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
  color: var(--color-bg, #FFFCF0);
  background: var(--color-text, #100F0F);
  border-color: var(--color-text, #100F0F);
}

/* Reusable button wrapper */
.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
  margin: 3.5rem auto;
}

.contact-form {
  margin: 2rem 0 2.5rem;
  display: grid;
  gap: 0.75rem;
}
.contact-form label {
  font-weight: 600;
  color: var(--color-heading, #100F0F);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border, #B7B5AC);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text, #100F0F);
  font: inherit;
}
.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-link-hover, rgb(218, 112, 44));
  outline-offset: 2px;
}
.contact-form button {
  width: fit-content;
}
.contact-form .hidden {
  display: none !important;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-button-bg, var(--color-bg-muted));
  color: var(--color-text-muted);
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.contact-links a:hover, .contact-links a:focus-visible {
  transform: translateY(-1px);
  background: var(--color-link-hover);
  color: var(--color-bg, #FFFCF0);
  border-color: var(--color-link-hover);
  text-decoration: none;
}
.contact-links a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

blockquote {
  margin: 30px 0;
  padding: 0.75rem 1.25rem;
  font-style: italic;
  border-left: 1px solid var(--color-border, #B7B5AC);
}
blockquote p:first-child {
  margin-top: 0;
}
blockquote p:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  blockquote {
    padding: 1.25rem 2.5rem;
  }
}

.nolists ul > li {
  list-style-type: none;
  display: inline-block;
  margin-inline-start: 0;
}

iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}

img {
  display: block;
  margin: 0 0 1rem;
  max-width: 100%;
  width: stretch;
  border-radius: 8px;
}

img.center {
  display: block;
  margin: 0 auto;
}

.image-inline-grid,
p:has(> img + br + img) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
}
.image-inline-grid br,
p:has(> img + br + img) br {
  display: none;
}
.image-inline-grid img,
p:has(> img + br + img) img {
  margin: 0;
  width: 100%;
}

td {
  vertical-align: top;
}

.video-embed {
  margin: 2rem 0;
}
.video-embed iframe {
  margin: 0;
  border-radius: 0;
}

.embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--embed-ratio, 4/3);
  overflow: hidden;
  border-radius: 8px;
}
.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: inherit;
}

.embed-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}
.embed-grid > iframe {
  width: 100%;
  height: auto;
  aspect-ratio: var(--embed-ratio, 4/3);
}
.embed-grid > .embed-frame {
  height: 100%;
}

/* Cover layout */
.cover-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 0;
  max-width: none;
  width: 100vw;
}

.cover-hero {
  position: relative;
  min-height: 70vh;
  max-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4.5rem);
  background-image: var(--cover-image);
  background-size: cover;
  background-position: center;
  position: relative;
}

.cover-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
  clip-path: inset(0 round inherit);
}
.cover-hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  min-width: 300%;
  height: 280%;
  min-height: 280%;
  transform: translate(-50%, -50%);
  border: 0;
  margin: 0;
  padding: 0;
  object-fit: cover;
  border-radius: inherit;
  clip-path: inset(0 round inherit);
}

.cover-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.78) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
  border-radius: inherit;
  clip-path: inset(0 round inherit);
}

.cover-hero__content {
  position: relative;
  z-index: 2;
  color: #f8f8f5;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  opacity: 0.9;
}

.cover-hero__eyebrow {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8em;
  color: rgba(248, 248, 245, 0.8);
}

.cover-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.02em;
  color: #fff;
}

.cover-hero__subtitle {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: rgba(248, 248, 245, 0.92);
  line-height: 1.6;
}

.cover-hero__actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 720px) {
  .cover-hero {
    padding: clamp(1.5rem, 7vw, 3rem);
    min-height: 80vh;
    border-radius: 0;
  }
  .cover-hero__content {
    gap: 0.6rem;
  }
  .cover-hero__title {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }
  .cover-hero__subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
  .cover-hero__actions {
    flex-direction: column;
    width: min(100%, 20rem);
    gap: 0.65rem;
  }
  .cover-hero__actions .btn {
    width: 100%;
  }
  .cover-hero__video iframe {
    width: 380%;
    min-width: 380%;
    height: 320%;
    min-height: 320%;
  }
}
@media (orientation: landscape) {
  .cover-hero__video iframe {
    width: 360%;
    min-width: 360%;
    height: 240%;
    min-height: 240%;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(4px);
}
.btn--solid {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.btn--solid:hover {
  background: rgba(255, 255, 255, 0.26);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cover-body {
  margin: 0 auto;
  width: 100%;
  padding-inline: var(--page-pad, clamp(0.75rem, 2vw, 1.5rem));
  max-width: min(var(--container-vw, 96vw), var(--container-max, 1300px));
}
.cover-body p {
  margin-bottom: 1rem;
}
.cover-body li {
  line-height: 2rem;
}
@media (min-width: 1025px) {
  .cover-body {
    text-align: center;
  }
  .cover-body ul,
  .cover-body ol {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
  }
}

.diptych-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: stretch;
  margin: 2rem 0;
}

.diptych-frame {
  margin: 0;
}

.diptych-frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.video-embed__ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.video-embed__ratio iframe {
  border: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.caption {
  text-align: left;
  display: block;
  margin: 0px auto 35px;
  font-size: 0.8em;
}
.caption a {
  text-decoration-thickness: 1px;
}

pre,
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

code {
  background-color: #F2F0E5;
  border-radius: 3px;
  color: #bf616a;
  font-size: 85%;
  padding: 0.25em 0.5em;
}

pre {
  margin: 0 0 1rem;
}

pre code {
  background-color: transparent;
  color: inherit;
  font-size: 100%;
  padding: 0;
}

.highlight {
  background-color: #F2F0E5;
  border-radius: 18px;
  line-height: 1.4;
  margin: 0 0 1rem;
  padding: 1rem;
}
.highlight pre {
  margin-bottom: 0;
  overflow-x: auto;
}
.highlight .lineno {
  color: #B7B5AC;
  display: inline-block;
  padding: 0 0.75rem 0 0.25rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.post-info {
  color: var(--color-text-muted, #B7B5AC);
  margin: 0 0 3rem 0;
  font-size: 0.9em;
}
.post-info a {
  color: inherit;
  text-decoration: underline;
}
.post-info a:hover {
  color: var(--color-link-hover, #205EA6);
  text-decoration: underline;
}
.post-title {
  color: #878580;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica", "Arial", "Segoe UI", "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 1rem 0;
  text-transform: uppercase;
}
.post-line {
  display: block;
  margin: 0 auto 3rem;
  width: 4rem;
}
.post h1.post-title {
  display: block;
}
.post a {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.post a:hover {
  text-decoration: underline;
}
.post img {
  margin: 0 auto 0.5rem;
}
.post img + em {
  color: #B7B5AC;
  display: block;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica", "Arial", "Segoe UI", "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  text-align: center;
}
.post img.emoji {
  display: inline-block;
  left: 0;
  transform: none;
  width: 1rem;
  height: 1rem;
  vertical-align: text-top;
  padding: 0;
  margin: 0;
}

.blend {
  mix-blend-mode: multiply;
}

body.img-blend main img:not(.emoji) {
  mix-blend-mode: multiply;
}

:root.theme-dark body.img-blend main img:not(.emoji),
:root[data-theme=dark] body.img-blend main img:not(.emoji),
body.theme-dark.img-blend main img:not(.emoji) {
  mix-blend-mode: normal;
}

.invert {
  mix-blend-mode: multiply;
}

:root.theme-dark .blend,
:root[data-theme=dark] .blend,
body.theme-dark .blend {
  mix-blend-mode: normal;
}

.map-blend {
  display: block;
  background: var(--color-bg, #FFFCF0);
  mix-blend-mode: multiply;
}

:root.theme-dark .map-blend,
:root[data-theme=dark] .map-blend,
body.theme-dark .map-blend {
  mix-blend-mode: normal;
}

:root.theme-dark .invert,
:root[data-theme=dark] .invert,
body.theme-dark .invert {
  mix-blend-mode: normal;
  filter: invert(1) !important;
}

.boxed {
  padding: 15px;
  border: 1px solid var(--color-border, #B7B5AC);
  border-radius: 8px;
}

.boxed iframe,
iframe.boxed {
  padding: 0;
  border: 1px solid var(--color-border, #B7B5AC);
  border-radius: 8px;
}

.meta-collection {
  margin: -3.5rem 0 8rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-collection-link {
  color: var(--text-muted, #888);
  text-decoration: none;
  font-weight: 400;
}

.meta-collection-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.related-block {
  margin-top: 9rem;
}
@media (min-width: 1024px) {
  .related-block h5.cards-title {
    margin-block-end: 1.5rem;
  }
}
.related-block .cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.related-block .cards .card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-muted);
  background-image: none;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.8em;
}
.related-block .cards .card::before, .related-block .cards .card::after {
  content: none;
}
.related-block .cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}
.related-block .cards .card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.related-block .cards .card .card-content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  height: 100%;
}
.related-block .cards .card .card-content h5 {
  margin: 0 0 0.5rem 0;
}
.related-block .cards .card .card-content p {
  margin: 0;
  color: #878580;
}
.related-block .cards .card .card-content .card-topics {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8em;
  color: #878580;
  line-height: 1.4;
  padding-top: 0.5rem;
  margin-bottom: 0;
}
.related-block .cards .card .card-content .card-topics-label {
  color: var(--color-text, #100F0F);
  display: inline-flex;
  align-items: center;
}
.related-block .cards .card .card-content .card-topics-list {
  color: #878580;
  margin-top: 0;
}

.backlinks-block {
  margin: 4rem 0;
  color: inherit;
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  border: 0.5px solid var(--color-border, #B7B5AC);
}

.backlinks-title {
  margin: 0 0 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.backlinks-list {
  margin: 0;
  padding-left: 0;
  color: var(--color-text-muted);
  list-style-type: none;
  list-style-position: inside;
}
.backlinks-list li {
  margin: 0 0 0.35rem;
}
.backlinks-list a {
  color: inherit;
}
.backlinks-list a:hover, .backlinks-list a:focus {
  color: var(--color-link-hover, rgb(218, 112, 44));
}

@media (min-width: 768px) {
  .backlinks-block {
    width: fit-content;
    margin: 4rem auto;
    border-left: 0px;
    border-right: 0px;
    border-top: 0.5px solid var(--color-border, #B7B5AC);
    border-bottom: 0.5px solid var(--color-border, #B7B5AC);
    padding: 1.1rem 1.25rem;
    border-radius: 0;
  }
  .backlinks-title {
    margin: 0 0 1rem;
    text-align: center;
  }
  .backlinks-list {
    list-style-type: none;
    text-align: center;
    margin: 0 auto;
    padding-left: 0;
    color: var(--color-text-muted);
  }
}
.news-index {
  margin: 0 auto;
  max-width: min(var(--container-vw, 96vw), var(--container-max, 1300px));
  padding: var(--page-pad, clamp(0.75rem, 2vw, 1.5rem)) 0 3rem;
}

.news-index__header {
  margin-bottom: 1.5rem;
}

.news-index__title {
  margin: 0 0 0.35rem;
}

.news-index__description {
  margin: 0;
  color: var(--color-text-muted, #878580);
}

.news-list {
  display: grid;
  gap: 1.5rem;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 1.3fr;
  gap: 1rem;
  align-items: stretch;
  background: var(--color-bg-muted, #F2F0E5);
  border-radius: 18px;
  overflow: hidden;
  border: none;
}

.news-card__media {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--color-portfolio-bg, #FFFFFF);
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.news-card__body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
}

.news-card__meta {
  margin: 0;
  color: var(--color-text-muted, #B7B5AC);
  font-size: 0.8em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-card__title {
  margin: 0;
  line-height: 1.15;
}
.news-card__title a {
  color: inherit;
  text-decoration: none;
}
.news-card__title a:hover {
  color: var(--color-title-hover, rgb(218, 112, 44));
}

.news-card__excerpt {
  margin: 0;
  color: var(--color-text-muted, #878580);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 5.8em;
}

.news-card .button {
  margin-top: 0.5rem;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .news-card {
    grid-template-columns: 1fr;
  }
  .news-card__media {
    min-height: 220px;
  }
}
.obsidian-block-anchor {
  display: block;
  position: relative;
  height: 0;
  margin: 0;
  padding: 0;
  top: -80px;
  scroll-margin-top: 90px;
  pointer-events: none;
}

.highlight .hll {
  background-color: #ffc;
}

.highlight .c {
  color: #999;
} /* Comment */
.highlight .err {
  color: #a00;
  background-color: #faa;
} /* Error */
.highlight .k {
  color: #069;
} /* Keyword */
.highlight .o {
  color: #555;
} /* Operator */
.highlight .cm {
  color: #09f;
  font-style: italic;
} /* Comment.Multiline */
.highlight .cp {
  color: #099;
} /* Comment.Preproc */
.highlight .c1 {
  color: #999;
} /* Comment.Single */
.highlight .cs {
  color: #999;
} /* Comment.Special */
.highlight .gd {
  background-color: #fcc;
  border: 1px solid #c00;
} /* Generic.Deleted */
.highlight .ge {
  font-style: italic;
} /* Generic.Emph */
.highlight .gr {
  color: #f00;
} /* Generic.Error */
.highlight .gh {
  color: #030;
} /* Generic.Heading */
.highlight .gi {
  background-color: #cfc;
  border: 1px solid #0c0;
} /* Generic.Inserted */
.highlight .go {
  color: #aaa;
} /* Generic.Output */
.highlight .gp {
  color: #009;
} /* Generic.Prompt */
/* Generic.Strong */
.highlight .gu {
  color: #030;
} /* Generic.Subheading */
.highlight .gt {
  color: #9c6;
} /* Generic.Traceback */
.highlight .kc {
  color: #069;
} /* Keyword.Constant */
.highlight .kd {
  color: #069;
} /* Keyword.Declaration */
.highlight .kn {
  color: #069;
} /* Keyword.Namespace */
.highlight .kp {
  color: #069;
} /* Keyword.Pseudo */
.highlight .kr {
  color: #069;
} /* Keyword.Reserved */
.highlight .kt {
  color: #078;
} /* Keyword.Type */
.highlight .m {
  color: #f60;
} /* Literal.Number */
.highlight .s {
  color: #d44950;
} /* Literal.String */
.highlight .na {
  color: #4f9fcf;
} /* Name.Attribute */
.highlight .nb {
  color: #366;
} /* Name.Builtin */
.highlight .nc {
  color: #0a8;
} /* Name.Class */
.highlight .no {
  color: #360;
} /* Name.Constant */
.highlight .nd {
  color: #99f;
} /* Name.Decorator */
.highlight .ni {
  color: #999;
} /* Name.Entity */
.highlight .ne {
  color: #c00;
} /* Name.Exception */
.highlight .nf {
  color: #c0f;
} /* Name.Function */
.highlight .nl {
  color: #99f;
} /* Name.Label */
.highlight .nn {
  color: #0cf;
} /* Name.Namespace */
.highlight .nt {
  color: #2f6f9f;
} /* Name.Tag */
.highlight .nv {
  color: #033;
} /* Name.Variable */
.highlight .ow {
  color: #000;
} /* Operator.Word */
.highlight .w {
  color: #bbb;
} /* Text.Whitespace */
.highlight .mf {
  color: #f60;
} /* Literal.Number.Float */
.highlight .mh {
  color: #f60;
} /* Literal.Number.Hex */
.highlight .mi {
  color: #f60;
} /* Literal.Number.Integer */
.highlight .mo {
  color: #f60;
} /* Literal.Number.Oct */
.highlight .sb {
  color: #c30;
} /* Literal.String.Backtick */
.highlight .sc {
  color: #c30;
} /* Literal.String.Char */
.highlight .sd {
  color: #c30;
  font-style: italic;
} /* Literal.String.Doc */
.highlight .s2 {
  color: #c30;
} /* Literal.String.Double */
.highlight .se {
  color: #c30;
} /* Literal.String.Escape */
.highlight .sh {
  color: #c30;
} /* Literal.String.Heredoc */
.highlight .si {
  color: #a00;
} /* Literal.String.Interpol */
.highlight .sx {
  color: #c30;
} /* Literal.String.Other */
.highlight .sr {
  color: #3aa;
} /* Literal.String.Regex */
.highlight .s1 {
  color: #c30;
} /* Literal.String.Single */
.highlight .ss {
  color: #fc3;
} /* Literal.String.Symbol */
.highlight .bp {
  color: #366;
} /* Name.Builtin.Pseudo */
.highlight .vc {
  color: #033;
} /* Name.Variable.Class */
.highlight .vg {
  color: #033;
} /* Name.Variable.Global */
.highlight .vi {
  color: #033;
} /* Name.Variable.Instance */
.highlight .il {
  color: #f60;
} /* Literal.Number.Integer.Long */
.css .o,
.css .o + .nt,
.css .nt + .nt {
  color: #999;
}

.wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: min(var(--wrapper-vw, var(--prose-vw, 92vw)), var(--wrapper-max, var(--prose-max, 900px)));
  padding-inline: var(--wrapper-pad, var(--page-pad, clamp(0.75rem, 2vw, 1.5rem)));
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  --content-text-side-margin: 0rem;
}

body.layout-cover {
  --wrapper-max: 100vw;
  --wrapper-vw: 100vw;
  --wrapper-pad: 0;
  --wrapper-pad-mobile: 0;
}

body.layout-project,
body.layout-projects,
body.layout-series {
  --wrapper-max: var(--container-max, 1300px);
  --wrapper-vw: var(--container-vw, 96vw);
}

@media (min-width: 768px) {
  body.layout-project .wrapper {
    --content-text-side-margin: 5rem;
  }
}
@media (max-width: 768px) {
  .wrapper {
    max-width: 100%;
    padding-inline: var(--wrapper-pad-mobile, var(--page-pad-mobile, clamp(0.75rem, 4vw, 1.25rem)));
  }
  :is(.page-body, .post-body, .project-content) p:has(> button),
  :is(.page-body, .post-body, .project-content) p:has(> a.button),
  :is(.page-body, .post-body, .project-content) p:has(> a.btn) {
    margin: 3rem 0 !important;
  }
}
@media (orientation: landscape) and (max-width: 1024px) {
  .wrapper {
    max-width: 100vw;
    padding-inline: var(--wrapper-pad-mobile, clamp(0.5rem, 3vw, 1rem));
  }
}
.floating-top-button {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  height: 2.5rem;
  width: 2.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--color-bg-muted, #F2F0E5);
  color: var(--color-text, #100F0F);
  border: 0px solid var(--color-bg, #FFFCF0);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  font-size: 0.8em;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.floating-top-button.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.floating-top-button:hover, .floating-top-button:focus {
  background: var(--color-link-hover, rgb(218, 112, 44));
  color: var(--color-bg, #FFFCF0);
  border-color: var(--color-link-hover, rgb(218, 112, 44));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.floating-top-button {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 0.85rem;
  border-radius: 999px;
  background: var(--color-bg-muted, #F2F0E5);
  color: var(--color-text-muted, #878580);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  font-size: inherit;
  line-height: 1;
  opacity: 0.9;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.floating-top-button.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.floating-top-button:hover, .floating-top-button:focus {
  background: var(--color-link-hover, rgb(218, 112, 44));
  color: var(--color-bg, #FFFCF0);
  border-color: var(--color-link-hover, rgb(218, 112, 44));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.container,
main,
footer,
.nav-container {
  display: block;
  width: 100%;
}

div.nav-title {
  font-weight: 400;
  position: relative;
}
div.nav-title .nav-title__prefix {
  font-weight: 500;
}
div.nav-title .nav-title__separator {
  display: inline-block;
  animation: none;
}
div.nav-title .nav-title__separator.is-spinning {
  animation: nav-title-spin 0.6s ease;
}
div.nav-title:focus-within .nav-title__separator, div.nav-title:active .nav-title__separator {
  animation: nav-title-spin 0.6s ease;
}

@keyframes nav-title-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: initial;
}
.lang-switch__trigger, .lang-switch__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 0.75rem;
  border-radius: 18px;
  border: 1px solid var(--color-text-muted);
  color: var(--color-text-muted, #B7B5AC);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  background: transparent;
}
.lang-switch__trigger {
  cursor: pointer;
  padding-right: 1.4rem;
  position: relative;
  font-size: 0.9em;
  background: var(--color-bg, #FFFCF0);
  margin: 0;
}
.lang-switch__trigger:hover, .lang-switch__trigger:focus {
  border-color: var(--color-title-hover, rgb(218, 112, 44));
  color: var(--color-text-muted, #B7B5AC);
  background: transparent;
  box-shadow: 0 0 0 2px rgba(218, 112, 44, 0.15);
  text-decoration: none;
}
.lang-switch__option {
  font-size: 0.8em;
}
.lang-switch__option:hover, .lang-switch__option:focus {
  border-color: var(--color-title-hover, rgb(218, 112, 44));
  color: var(--color-text-muted, #B7B5AC);
  background: transparent;
  box-shadow: 0 0 0 2px rgba(218, 112, 44, 0.15);
  text-decoration: none;
}
.lang-switch__option.is-current {
  background: var(--color-text-muted, #B7B5AC);
  border-color: var(--color-text-muted, #B7B5AC);
  color: var(--color-bg, #FFFCF0);
  font-weight: 600;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}
.lang-switch__label {
  letter-spacing: 0.02em;
  margin-right: 0.35rem;
}
.lang-switch__chevron {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  transform: translateY(-50%);
  background-color: var(--color-text-muted, #B7B5AC);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='9 6 15 12 9 18' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/0.9rem no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='9 6 15 12 9 18' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/0.9rem no-repeat;
  transition: background-color 0.2s ease, mask-image 0.2s ease, -webkit-mask-image 0.2s ease;
  pointer-events: none;
}
.lang-switch.is-open .lang-switch__chevron {
  background-color: var(--color-title-hover, rgb(218, 112, 44));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/0.9rem no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/0.9rem no-repeat;
}
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 50%;
  right: auto;
  transform: translate(calc(-50% + var(--lang-menu-shift, 0)), -6px);
  width: max-content;
  min-width: 150px;
  max-width: calc(100vw - 1.5rem);
  background: var(--color-bg, #FFFCF0);
  border: 1px solid var(--color-bg-muted, #F2F0E5);
  border-radius: 18px;
  padding: 10px !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
  z-index: 20;
  display: none !important;
  opacity: 0;
  pointer-events: none;
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.lang-switch.is-open .lang-switch__menu {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
  transform: translate(calc(-50% + var(--lang-menu-shift, 0)), 0);
}
.lang-switch.is-floating .lang-switch__menu {
  position: fixed;
  left: var(--lang-menu-left, 50%);
  top: var(--lang-menu-top, 0);
  transform: translate(0, -6px);
  max-width: calc(100vw - 1.5rem);
}
.lang-switch.is-floating.is-open .lang-switch__menu {
  transform: translate(0, 0);
}
.lang-switch__menu li {
  list-style: none;
}
.lang-switch__menu .lang-switch__option {
  width: auto;
  min-width: 0;
}
.lang-switch__trigger--static {
  padding-right: 0.9rem;
  cursor: default;
  pointer-events: none;
}
.lang-switch__trigger--static .lang-switch__label {
  margin-right: 0;
}

.nav {
  padding: 2.5rem 0;
}
.nav-container {
  margin: 0.15rem auto 0.65rem;
  width: 100%;
  max-width: none;
  padding-inline: 0;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  position: relative;
}
.nav .nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav .nav-toggle {
  display: none;
  width: 30px;
  height: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav .nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text, #100F0F);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-title {
  color: var(--color-title, rgb(218, 112, 44));
  line-height: 1.3;
  align-items: center;
  margin: 0;
  padding-right: 0.2rem;
}
.nav-title a {
  color: var(--color-title, rgb(218, 112, 44));
}
.nav-title a:hover, .nav-title a:focus {
  color: var(--color-title-hover, var(--color-text, #100F0F));
}
.nav-title__suffix {
  color: var(--color-text-muted, #B7B5AC);
}
.nav-title__suffix a {
  color: inherit;
}
.nav-title__suffix a:hover, .nav-title__suffix a:focus {
  color: var(--color-title-hover, var(--color-text, #100F0F));
}
.nav-title .author {
  margin-right: 0px;
}
.nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: right;
  justify-content: flex-end;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav li {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  gap: 0.25rem;
  padding: 0;
}
.nav li:last-child {
  padding-right: 0;
}
.nav ul a {
  color: var(--color-text-muted, #B7B5AC);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav ul a:hover, .nav ul a:focus {
  color: var(--color-title-hover, var(--color-text, #100F0F));
  text-decoration: none;
}
.nav .nav-search-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav .nav-search-label {
  display: inline;
}
.nav .nav-search-icon {
  display: none;
  align-items: center;
  justify-content: center;
}
.nav .nav-search-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}
@media (min-width: 761px) {
  .nav .nav-search-label {
    display: none;
  }
  .nav .nav-search-icon {
    display: inline-flex;
  }
}
.nav .nav-theme-toggle {
  padding: 0;
}
.nav .nav-theme-toggle .theme-toggle {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-text-muted, #B7B5AC);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  line-height: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav .nav-theme-toggle .theme-toggle:hover, .nav .nav-theme-toggle .theme-toggle:focus {
  color: var(--color-title-hover, var(--color-text, #100F0F));
}
.nav .nav-theme-toggle .theme-toggle .theme-toggle-icon {
  display: none;
  width: 1.5rem;
  height: 1.5rem;
}
.nav .nav-theme-toggle .theme-toggle .theme-toggle-icon--sun {
  display: block;
}
.nav .nav-theme-toggle .theme-toggle[aria-pressed=true] .theme-toggle-icon--sun {
  display: none;
}
.nav .nav-theme-toggle .theme-toggle[aria-pressed=true] .theme-toggle-icon--moon {
  display: block;
}
.nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.nav .lang-switch__option {
  font-size: 0.9em;
  cursor: pointer;
}
.nav .lang-switch__option:hover, .nav .lang-switch__option:focus {
  color: var(--color-title-hover, rgb(218, 112, 44));
  border-color: var(--color-title-hover, rgb(218, 112, 44));
  box-shadow: 0 0 0 2px rgba(218, 112, 44, 0.15);
}
.nav__trigger--static {
  padding-right: 0.9rem;
  cursor: default;
  pointer-events: none;
}
.nav__trigger--static .lang-switch__label {
  margin-right: 0;
}
@media (max-width: 760px) {
  .nav-container {
    align-items: flex-start;
    position: inherit;
  }
  .nav .nav-toggle {
    display: inline-flex;
  }
  .nav .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    margin-top: 0rem;
    padding: 3rem 1rem 3.5rem;
    background: var(--color-bg, #FFFCF0);
    border-bottom: 2px solid white;
    border-radius: 18px;
    box-shadow: 0px 30px 25px rgba(0, 0, 0, 0.45);
    display: none;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    z-index: 10;
    font-size: 1.5rem;
  }
  .nav .nav-menu li {
    width: auto;
    justify-content: center;
    text-align: center;
  }
  .nav .nav-menu .lang-switch__options {
    gap: 0.35rem;
  }
  :root[data-theme=dark] .nav .nav-menu, :root.theme-dark .nav .nav-menu, body.theme-dark .nav .nav-menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 11px 20px 25px rgba(0, 0, 0, 0.55);
  }
  .nav .nav-toggle-input:checked ~ .nav-menu {
    display: flex;
  }
  .nav .nav-toggle-input:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav .nav-toggle-input:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav .nav-toggle-input:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Align cover nav with cover-body container */
body.layout-cover .nav-container {
  max-width: min(var(--container-vw, 96vw), var(--container-max, 1300px));
  margin-inline: auto;
  padding-inline: var(--page-pad, clamp(0.75rem, 2vw, 1.5rem));
}

/* Keep wider nav spacing on key landing pages */
body.layout-cover .nav ul,
body.layout-cover .nav .nav-menu,
body.layout-projects .nav ul,
body.layout-projects .nav .nav-menu,
body.layout-series .nav ul,
body.layout-series .nav .nav-menu {
  gap: 1.5rem;
}

body.layout-posts .projects-index__header,
body.layout-posts .collection-title,
body.layout-projects .projects-index__header,
body.layout-projects .collection-title,
body.layout-series .projects-index__header,
body.layout-series .collection-title,
body.layout-collection .projects-index__header,
body.layout-collection .collection-title {
  display: none;
  padding: 0;
}

section.home-intro {
  margin-bottom: 55px;
}
section.home-intro .home-featured-heading {
  margin-block-end: 1rem;
}
section.home-intro .home-featured-title {
  margin-bottom: 0.5rem;
}
section.home-intro .home-featured-title a {
  color: inherit;
  text-decoration: none;
}
section.home-intro .home-featured-title a:hover, section.home-intro .home-featured-title a:focus {
  color: var(--color-title-hover, var(--color-text, #100F0F));
  text-decoration: none;
}
section.home-intro .home-featured-item {
  margin-bottom: 1.5rem;
}
section.home-intro .home-featured-separator {
  border: 0;
  border-top: 1px solid var(--color-border, #B7B5AC);
  margin: 1.75rem auto;
  width: 100px;
}

.home-last-update {
  margin-bottom: 2rem;
  font-size: 0.9em;
  color: var(--color-text-muted, #B7B5AC);
}

.footer-note {
  margin: 50px auto 0;
  text-align: center;
  color: #878580;
  font-size: 0.9em;
}

footer {
  padding: 2rem 0;
  text-align: center;
  color: #878580;
  font-size: 0.8em;
  margin-top: 50px;
}

@media (min-width: 1024px) {
  body.layout-micro .page-body {
    margin: 3.5rem 5rem;
  }
}
/* 
@media (min-width: 1024px) {
  .layout-micro {

    main {
      margin: 40px auto;
    }

  h1 {
    display: inline;
    font-size: 1.025rem;
  }

  .post-info {
    display: inline-block;

    &:before {
      content: "·";
      display: inline-block;
      padding: 0 0.3rem 0 0;
      color: var(--color-text-muted, #B7B5AC);
    }

    &__line {
      display: block;

      &:not(:first-child) {
        margin-top: 0.1rem;
      }
    }

    &__projects {
      color: var(--color-text-muted, #B7B5AC);
    }
  }
}
} */
.page-info .post-info {
  display: none;
}

@media (min-width: 600px) {
  .nav-container {
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  section.home-intro {
    padding: 0px;
  }
}
.pagination {
  position: relative;
  text-align: center;
  margin-top: 3rem;
}
.pagination span {
  color: var(--color-text-muted, #878580);
  font-size: 1.1rem;
}
.pagination .back,
.pagination .top {
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  color: var(--color-link, #100F0F);
  font-size: 0.85rem;
  opacity: 0.6;
}
.pagination .back:hover,
.pagination .top:hover {
  opacity: 1;
}
.pagination .arrow {
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  color: var(--color-link, #100F0F);
  position: absolute;
}
.pagination .arrow:hover, .pagination .arrow:focus {
  opacity: 0.6;
  text-decoration: none;
}
.pagination .left {
  left: 0;
}
.pagination .right {
  right: 0;
}
.pagination .page-number {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0.2rem;
  min-width: 2rem;
  padding: 0.2rem 0.65rem;
  text-decoration: none;
  color: var(--color-text, #100F0F);
  border: 1px solid transparent;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.pagination .page-number:hover {
  background: var(--color-pagination-hover-bg, var(--color-border, #B7B5AC));
}
.pagination .page-number.current {
  background: var(--color-pagination-bg, #100F0F);
  color: #100F0F;
}

.pagination--arrows {
  border-top: none;
  display: flex;
  justify-content: flex-start;
  gap: 0.4rem;
}
.pagination--arrows .arrow {
  align-items: center;
  border-radius: 999px;
  color: var(--color-pagination-active-bg);
  background: var(--color-pagination-bg);
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  min-width: 2.5rem;
  opacity: 0.6;
  position: static;
  transition: background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
.pagination--arrows .arrow:hover, .pagination--arrows .arrow:focus {
  background: var(--color-pagination-hover-bg, var(--color-border, #B7B5AC));
  color: var(--color-text, #100F0F);
  opacity: 1;
}
.pagination--arrows .left {
  position: static;
}
.pagination--arrows .right {
  margin-left: auto;
  position: static;
}
.pagination--arrows span,
.pagination--arrows .page-number {
  display: none;
}

@media (min-width: 1024px) {
  .pagination.pagination--arrows {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0 1.5rem;
    height: 0;
    pointer-events: none;
    z-index: 50;
  }
  .pagination.pagination--arrows .arrow {
    position: relative;
    transform: none;
    z-index: 2;
    pointer-events: auto;
  }
  .pagination.pagination--arrows .left,
  .pagination.pagination--arrows .right {
    transform: none;
  }
}
.catalogue-item {
  border-bottom: 1px solid var(--color-border);
  color: #100F0F;
  display: block;
  padding: 2rem 0;
}
.catalogue-item:hover .catalogue-line, .catalogue-item:focus .catalogue-line {
  width: 5rem;
}
.catalogue-item:last-child {
  border: 0;
}
.catalogue-pinned {
  color: #B7B5AC;
  letter-spacing: 0.5px;
}
.catalogue-time {
  color: #B7B5AC;
  font-size: 0.9rem;
}
.catalogue-title {
  display: block;
  font-size: 1.25rem;
  margin: 0.5rem 0;
}
.catalogue-line {
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border-top: 0.2rem solid #878580;
  display: block;
  width: 2rem;
}

.collection {
  margin: 30px 0;
  border-radius: 18px;
  background-color: var(--color-bg-muted, #F2F0E5);
  padding: 20px;
  border: 1px solid transparent;
  transition: box-shadow 0.2s ease;
}
.collection .collection-title {
  display: block;
  font-weight: 600;
}
.collection .collection-title a {
  text-decoration: underline;
}
.collection .collection-links a {
  text-decoration: none;
}
.collection:hover, .collection[open] {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
}
:root[data-theme=dark] .collection:hover, :root[data-theme=dark] .collection[open], :root.theme-dark .collection:hover, :root.theme-dark .collection[open], body.theme-dark .collection:hover, body.theme-dark .collection[open] {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.05);
}

.collection-collapsible {
  --collection-accent: var(--color-text-muted, #878580);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.collection-collapsible summary {
  list-style: none;
  background: transparent;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.collection-collapsible .collection-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  color: var(--collection-accent);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: font-size 180ms ease, color 180ms ease;
  -moz-transition: font-size 180ms ease, color 180ms ease;
  transition: font-size 180ms ease, color 180ms ease;
}
.collection-collapsible .collection-summary * {
  -webkit-tap-highlight-color: transparent;
}
.collection-collapsible .collection-summary:active {
  background: transparent;
}
.collection-collapsible .collection-summary:focus {
  outline: none;
}
.collection-collapsible .collection-summary:focus-visible {
  outline: 2px solid var(--collection-accent);
  outline-offset: 4px;
}
.collection-collapsible .collection-summary::-webkit-details-marker {
  display: none;
}
.collection-collapsible .collection-summary::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  margin-left: auto;
  background-color: var(--collection-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='9 6 15 12 9 18' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/1rem no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='9 6 15 12 9 18' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/1rem no-repeat;
  -webkit-transition: mask-image 180ms ease, -webkit-mask-image 180ms ease;
  -moz-transition: mask-image 180ms ease, -webkit-mask-image 180ms ease;
  transition: mask-image 180ms ease, -webkit-mask-image 180ms ease;
}
.collection-collapsible[open] .collection-summary {
  font-size: 1.15rem;
  color: var(--color-text, #100F0F);
}
.collection-collapsible:hover .collection-summary {
  color: var(--color-text, #100F0F);
}
.collection-collapsible[open] .collection-summary::after {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/1rem no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/1rem no-repeat;
}
.collection-collapsible .collection-body {
  padding: 0.25rem 1rem 1rem;
  color: var(--color-text);
}
.collection-collapsible .collection-links {
  display: block;
  line-height: 1.6;
}
.collection-collapsible .collection-links a {
  text-decoration: none;
  padding: 0.1rem 0;
}
.collection-collapsible .collection-footer {
  margin-top: 2rem;
  font-size: 0.8em;
}
.collection-collapsible .collection-footer .collection-index-link {
  color: var(--color-text, #100F0F);
  text-decoration: underline;
  font-weight: 600;
}
.collection-collapsible .collection-footer .collection-index-link:hover, .collection-collapsible .collection-footer .collection-index-link:focus {
  color: var(--color-title-hover, rgb(218, 112, 44));
}

.collection-index {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.collection-index .collection-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.collection-index .collection-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  width: 100%;
}
.collection-index .collection-item a {
  flex: 1;
  text-decoration: none;
}
.collection-index .collection-date {
  flex-shrink: 0;
  width: 110px;
  display: inline-flex;
  justify-content: flex-end;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted, #B7B5AC);
}

.tags-clouds {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica", "Arial", "Segoe UI", "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif;
  margin-bottom: 100px;
  font-size: 0.8em;
}
.tags-clouds a {
  display: inline-block;
  margin: 0 0.1rem 0.2rem;
  padding: 0.2rem 0.5rem;
  background: var(--color-bg-muted, #F2F0E5);
  border-radius: 5px;
  color: var(--color-text, #100F0F);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tags-clouds a:hover, .tags-clouds a:active {
  background: var(--color-link-hover, rgb(218, 112, 44));
  color: var(--color-bg, #FFFCF0);
}
.tags-header {
  margin-block-end: 3rem;
}
.tags-item-icon {
  height: 1rem;
}
.tags-item-label {
  display: inline-block;
  margin: 2rem 0 0.5rem;
}
.tags-post {
  padding: 5px 0;
}
.tags-post-title {
  color: #100F0F;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tags-post-line {
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border-top: 0.1rem solid #878580;
  display: block;
  width: 0;
}
.tags-post-meta {
  color: #B7B5AC;
  text-align: right;
  white-space: nowrap;
}
.tags-post:hover .tags-post-line, .tags-post:active .tags-post-line {
  width: 3rem;
}
.tags-post:hover .tags-post-meta, .tags-post:active .tags-post-meta {
  color: #878580;
}

h3.tags-item-label {
  display: block !important;
  font-size: 1rem !important;
}

.tags-item-list {
  margin: 20px 0;
  border-radius: 8px;
  background-color: var(--color-bg-muted, #F2F0E5);
  padding: 20px;
}

/* a.hashtag {
    white-space: nowrap;
    text-decoration: none;
    text-decoration-color: var(--color-base-25);
    text-decoration-thickness: 5px;
    font-size: 0.85rem;
    padding:2px;
    border-radius: 5px;
    border: 1px solid var(--color-border, #B7B5AC);
    color: var(--color-text, #100F0F);
}

a.hashtag:hover {
    text-decoration: none;
    background-color: var(--color-bg-muted, #F2F0E5);
    color: var(--color-heading, #100F0F);
}
 */
.callout {
  --callout-accent: rgba(135, 133, 128, 0.8);
  --callout-background: var(--color-bg-muted);
  margin: 1.75rem 0;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background-color: var(--callout-background);
  overflow: hidden;
}
.callout .callout-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--callout-accent);
  gap: 0.75rem;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.callout .callout-title {
  flex: 1;
  position: relative;
  padding-left: 1.5rem;
}
.callout .callout-title a {
  color: inherit;
}
.callout .callout-title a:hover {
  color: var(--color-text);
}
.callout .callout-header::-webkit-details-marker {
  display: none;
}
.callout .callout-header::after {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  position: absolute;
  right: 0;
  background-color: var(--callout-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='9 6 15 12 9 18' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/1rem no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='9 6 15 12 9 18' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/1rem no-repeat;
}
.callout[open] .callout-header::after {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/1rem no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/1rem no-repeat;
}
.callout[data-callout-fold=static] .callout-header {
  cursor: default;
}
.callout[data-callout-fold=static] .callout-header::after {
  display: none;
}
.callout .callout-content {
  margin-top: 0.85rem;
  color: var(--color-text);
}
.callout .callout-content > p {
  white-space: pre-line;
}
.callout .callout-content p:last-child {
  margin-bottom: 0;
}
.callout .callout-content ul,
.callout .callout-content ol {
  list-style: initial;
  padding-left: 1.2rem;
  margin: 0.5rem 0 0.75rem;
}

.callout + .callout {
  margin-top: 2.25rem;
}

.callout[data-callout-fold=collapsed] .callout-content {
  animation: callout-slide-in 220ms ease;
}

.callout .callout-title::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--callout-accent);
  mask: var(--callout-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E")) center/1rem no-repeat;
  -webkit-mask: var(--callout-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E")) center/1rem no-repeat;
}

@keyframes callout-slide-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.callout[data-callout=info],
.callout.callout-info {
  --callout-accent: rgba(135, 133, 128, 0.8);
  --callout-background: var(--color-bg-muted);
}

.callout[data-callout=tip],
.callout.callout-tip {
  --callout-accent: rgba(36, 131, 123, 0.9);
  --callout-background: rgba(36, 131, 123, 0.1);
}

.callout[data-callout=success],
.callout.callout-success {
  --callout-accent: rgba(102, 128, 11, 0.92);
  --callout-background: rgba(102, 128, 11, 0.12);
}

.callout[data-callout=warning],
.callout.callout-warning {
  --callout-accent: rgba(188, 82, 21, 0.92);
  --callout-background: rgba(188, 82, 21, 0.14);
}

.callout[data-callout=danger],
.callout.callout-danger {
  --callout-accent: rgba(175, 48, 41, 0.92);
  --callout-background: rgba(175, 48, 41, 0.14);
}

.callout[data-callout=quote],
.callout.callout-quote {
  --callout-accent: rgba(173, 131, 1, 0.9);
  --callout-background: rgba(173, 131, 1, 0.12);
}

.callout[data-callout=question],
.callout.callout-question {
  --callout-accent: rgba(94, 64, 157, 0.92);
  --callout-background: rgba(94, 64, 157, 0.12);
}

.callout[data-callout=note],
.callout.callout-note {
  --callout-accent: rgba(160, 47, 111, 0.92);
  --callout-background: rgba(160, 47, 111, 0.14);
}

.callout[data-callout=links],
.callout.callout-links {
  --callout-accent: rgba(36, 131, 123, 0.9);
  --callout-background: rgba(36, 131, 123, 0.1);
}

.callout[data-callout=abstract],
.callout.callout-abstract {
  --callout-accent: rgba(32, 94, 166, 0.9);
  --callout-background: rgba(32, 94, 166, 0.09);
}

.callout[data-callout=summary],
.callout.callout-summary {
  --callout-accent: rgba(32, 94, 166, 0.9);
  --callout-background: rgba(32, 94, 166, 0.09);
}

.callout[data-callout=texts],
.callout.callout-texts {
  --callout-accent: rgba(173, 131, 1, 0.9);
  --callout-background: rgba(173, 131, 1, 0.12);
}

.callout[data-callout=cite],
.callout.callout-cite {
  --callout-accent: rgba(32, 94, 166, 0.92);
  --callout-background: rgba(32, 94, 166, 0.1);
}

:root[data-theme=dark] .callout[data-callout=info],
:root[data-theme=dark] .callout.callout-info,
.theme-dark .callout[data-callout=info],
.theme-dark .callout.callout-info {
  --callout-accent: rgba(135, 133, 128, 0.85);
  --callout-background: rgba(135, 133, 128, 0.15);
}

:root[data-theme=dark] .callout[data-callout=tip],
:root[data-theme=dark] .callout.callout-tip,
.theme-dark .callout[data-callout=tip],
.theme-dark .callout.callout-tip {
  --callout-accent: rgba(36, 131, 123, 0.95);
  --callout-background: rgba(36, 131, 123, 0.24);
}

:root[data-theme=dark] .callout[data-callout=success],
:root[data-theme=dark] .callout.callout-success,
.theme-dark .callout[data-callout=success],
.theme-dark .callout.callout-success {
  --callout-accent: rgba(102, 128, 11, 0.95);
  --callout-background: rgba(102, 128, 11, 0.24);
}

:root[data-theme=dark] .callout[data-callout=warning],
:root[data-theme=dark] .callout.callout-warning,
.theme-dark .callout[data-callout=warning],
.theme-dark .callout.callout-warning {
  --callout-accent: rgba(188, 82, 21, 0.95);
  --callout-background: rgba(188, 82, 21, 0.26);
}

:root[data-theme=dark] .callout[data-callout=danger],
:root[data-theme=dark] .callout.callout-danger,
.theme-dark .callout[data-callout=danger],
.theme-dark .callout.callout-danger {
  --callout-accent: rgba(175, 48, 41, 0.95);
  --callout-background: rgba(175, 48, 41, 0.26);
}

:root[data-theme=dark] .callout[data-callout=quote],
:root[data-theme=dark] .callout.callout-quote,
.theme-dark .callout[data-callout=quote],
.theme-dark .callout.callout-quote {
  --callout-accent: rgba(173, 131, 1, 0.95);
  --callout-background: rgba(173, 131, 1, 0.22);
}

:root[data-theme=dark] .callout[data-callout=question],
:root[data-theme=dark] .callout.callout-question,
.theme-dark .callout[data-callout=question],
.theme-dark .callout.callout-question {
  --callout-accent: rgba(94, 64, 157, 0.96);
  --callout-background: rgba(94, 64, 157, 0.24);
}

:root[data-theme=dark] .callout[data-callout=note],
:root[data-theme=dark] .callout.callout-note,
.theme-dark .callout[data-callout=note],
.theme-dark .callout.callout-note {
  --callout-accent: rgba(160, 47, 111, 0.96);
  --callout-background: rgba(160, 47, 111, 0.24);
}

:root[data-theme=dark] .callout[data-callout=links],
:root[data-theme=dark] .callout.callout-links,
.theme-dark .callout[data-callout=links],
.theme-dark .callout.callout-links {
  --callout-accent: rgba(36, 131, 123, 0.95);
  --callout-background: rgba(36, 131, 123, 0.24);
}

:root[data-theme=dark] .callout[data-callout=abstract],
:root[data-theme=dark] .callout.callout-abstract,
.theme-dark .callout[data-callout=abstract],
.theme-dark .callout.callout-abstract {
  --callout-accent: rgba(32, 94, 166, 0.95);
  --callout-background: rgba(32, 94, 166, 0.22);
}

:root[data-theme=dark] .callout[data-callout=summary],
:root[data-theme=dark] .callout.callout-summary,
.theme-dark .callout[data-callout=summary],
.theme-dark .callout.callout-summary {
  --callout-accent: rgba(32, 94, 166, 0.95);
  --callout-background: rgba(32, 94, 166, 0.22);
}

:root[data-theme=dark] .callout[data-callout=texts],
:root[data-theme=dark] .callout.callout-texts,
.theme-dark .callout[data-callout=texts],
.theme-dark .callout.callout-texts {
  --callout-accent: rgba(173, 131, 1, 0.95);
  --callout-background: rgba(173, 131, 1, 0.22);
}

:root[data-theme=dark] .callout[data-callout=cite],
:root[data-theme=dark] .callout.callout-cite,
.theme-dark .callout[data-callout=cite],
.theme-dark .callout.callout-cite {
  --callout-accent: rgba(32, 94, 166, 0.95);
  --callout-background: rgba(32, 94, 166, 0.22);
}

.callout[data-callout=tip],
.callout.callout-tip {
  --callout-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWZsYW1lLWljb24gbHVjaWRlLWZsYW1lIj48cGF0aCBkPSJNMTIgM3ExIDQgNCA2LjV0MyA1LjVhMSAxIDAgMCAxLTE0IDAgNSA1IDAgMCAxIDEtMyAxIDEgMCAwIDAgNSAwYzAtMi0xLjUtMy0xLjUtNXEwLTIgMi41LTQiLz48L3N2Zz4=");
}

.callout[data-callout=success],
.callout.callout-success {
  --callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E");
}

.callout[data-callout=warning],
.callout.callout-warning {
  --callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

.callout[data-callout=danger],
.callout.callout-danger {
  --callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

.callout[data-callout=quote],
.callout.callout-quote {
  --callout-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXF1b3RlLWljb24gbHVjaWRlLXF1b3RlIj48cGF0aCBkPSJNMTYgM2EyIDIgMCAwIDAtMiAydjZhMiAyIDAgMCAwIDIgMiAxIDEgMCAwIDEgMSAxdjFhMiAyIDAgMCAxLTIgMiAxIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMSA2IDYgMCAwIDAgNi02VjVhMiAyIDAgMCAwLTItMnoiLz48cGF0aCBkPSJNNSAzYTIgMiAwIDAgMC0yIDJ2NmEyIDIgMCAwIDAgMiAyIDEgMSAwIDAgMSAxIDF2MWEyIDIgMCAwIDEtMiAyIDEgMSAwIDAgMC0xIDF2MmExIDEgMCAwIDAgMSAxIDYgNiAwIDAgMCA2LTZWNWEyIDIgMCAwIDAtMi0yeiIvPjwvc3ZnPg==");
}

.callout[data-callout=cite],
.callout.callout-cite {
  --callout-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLW1lc3NhZ2Utc3F1YXJlLXRleHQtaWNvbiBsdWNpZGUtbWVzc2FnZS1zcXVhcmUtdGV4dCI+PHBhdGggZD0iTTIyIDE3YTIgMiAwIDAgMS0yIDJINi44MjhhMiAyIDAgMCAwLTEuNDE0LjU4NmwtMi4yMDIgMi4yMDJBLjcxLjcxIDAgMCAxIDIgMjEuMjg2VjVhMiAyIDAgMCAxIDItMmgxNmEyIDIgMCAwIDEgMiAyeiIvPjxwYXRoIGQ9Ik03IDExaDEwIi8+PHBhdGggZD0iTTcgMTVoNiIvPjxwYXRoIGQ9Ik03IDdoOCIvPjwvc3ZnPg==");
}

.callout[data-callout=question],
.callout.callout-question {
  --callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12' y2='17.01'/%3E%3C/svg%3E");
}

.callout[data-callout=note],
.callout.callout-note {
  --callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpolyline points='13 3 13 9 19 9'/%3E%3C/svg%3E");
}

.callout[data-callout=links],
.callout.callout-links {
  --callout-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxpbmstaWNvbiBsdWNpZGUtbGluayI+PHBhdGggZD0iTTEwIDEzYTUgNSAwIDAgMCA3LjU0LjU0bDMtM2E1IDUgMCAwIDAtNy4wNy03LjA3bC0xLjcyIDEuNzEiLz48cGF0aCBkPSJNMTQgMTFhNSA1IDAgMCAwLTcuNTQtLjU0bC0zIDNhNSA1IDAgMCAwIDcuMDcgNy4wN2wxLjcxLTEuNzEiLz48L3N2Zz4=");
}

.callout[data-callout=abstract],
.callout.callout-abstract {
  --callout-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWZpbGUtdGV4dC1pY29uIGx1Y2lkZS1maWxlLXRleHQiPjxwYXRoIGQ9Ik02IDIyYTIgMiAwIDAgMS0yLTJWNGEyIDIgMCAwIDEgMi0yaDhhMi40IDIuNCAwIDAgMSAxLjcwNC43MDZsMy41ODggMy41ODhBMi40IDIuNCAwIDAgMSAyMCA4djEyYTIgMiAwIDAgMS0yIDJ6Ii8+PHBhdGggZD0iTTE0IDJ2NWExIDEgMCAwIDAgMSAxaDUiLz48cGF0aCBkPSJNMTAgOUg4Ii8+PHBhdGggZD0iTTE2IDEzSDgiLz48cGF0aCBkPSJNMTYgMTdIOCIvPjwvc3ZnPg==");
}

.callout[data-callout=summary],
.callout.callout-summary {
  --callout-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxpc3QtaWNvbiBsdWNpZGUtbGlzdCI+PHBhdGggZD0iTTMgNWguMDEiLz48cGF0aCBkPSJNMyAxMmguMDEiLz48cGF0aCBkPSJNMyAxOWguMDEiLz48cGF0aCBkPSJNOCA1aDEzIi8+PHBhdGggZD0iTTggMTJoMTMiLz48cGF0aCBkPSJNOCAxOWgxMyIvPjwvc3ZnPg==");
}

.callout[data-callout=texts],
.callout.callout-texts {
  --callout-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWZpbGVzLWljb24gbHVjaWRlLWZpbGVzIj48cGF0aCBkPSJNMTUgMmgtNGEyIDIgMCAwIDAtMiAydjExYTIgMiAwIDAgMCAyIDJoOGEyIDIgMCAwIDAgMi0yVjgiLz48cGF0aCBkPSJNMTYuNzA2IDIuNzA2QTIuNCAyLjQgMCAwIDAgMTUgMnY1YTEgMSAwIDAgMCAxIDFoNWEyLjQgMi40IDAgMCAwLS43MDYtMS43MDZ6Ii8+PHBhdGggZD0iTTUgN2EyIDIgMCAwIDAtMiAydjExYTIgMiAwIDAgMCAyIDJoOGEyIDIgMCAwIDAgMS43MzItMSIvPjwvc3ZnPg==");
}

.callout[data-callout=noteinfo] {
  display: none;
}

.transclusion {
  padding-left: 0.75rem;
  border-left: 2px solid var(--color-border, rgba(135, 133, 128, 0.4));
  margin: 1.25rem 0;
}

.notfound {
  position: relative;
  text-align: center;
  margin: 4rem 0;
}
.notfound-error {
  font-size: 4rem;
  margin: 1rem 0;
}
.notfound-line {
  border-top: 0.4rem solid #878580;
  display: block;
  margin: 0 auto 3rem;
  width: 4rem;
}
.notfound-message {
  max-width: 25rem;
  margin: 0 auto;
}

.project {
  margin: 0 auto;
}
@media (min-width: 768px) {
  .project h2,
  .project h3,
  .project h4 {
    text-align: center;
  }
  .project-header {
    margin: 0 auto 2rem;
  }
  .project-content {
    margin: 5rem auto;
    font-size: larger;
  }
}
.project-header {
  margin-bottom: 2rem;
}
.project-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-bg-muted, #F2F0E5);
  background-image: var(--project-cover-image);
  background-size: cover;
  background-position: center;
  min-height: clamp(320px, 55vw, 640px);
}
.project-cover .project-cover__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.project-cover .project-cover__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  margin: 0;
  padding: 0;
  object-fit: cover;
}
.project-cover .project-cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.42) 100%);
  z-index: 1;
  pointer-events: none;
}
.project-cover .project-cover__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 1024px) {
  .project-cover {
    height: min(70vh, 900px);
    max-height: 900px;
  }
}
@media (min-width: 768px) {
  .project .project-header-wrapper {
    margin: 5rem 8rem;
    font-size: x-large;
  }
}
@media (min-width: 768px) {
  .project-title {
    font-size: 2rem;
  }
}
.project-meta {
  color: #B7B5AC;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.project-year {
  margin: 1.8rem auto 0.75rem;
  font-size: 0.8em;
}
.project-summary {
  margin: 30px auto 30px auto;
}
@media (min-width: 768px) {
  .project-summary {
    font-size: xx-large;
    font-weight: 100;
    line-height: 2.4rem;
  }
}
.project-highlight {
  margin: 0 auto 1.5rem;
  color: var(--color-text, #100F0F);
  font-size: 0.9em;
  font-weight: 500;
}
@media (min-width: 768px) {
  .project-highlight {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 2.4rem;
  }
}
.project-highlight p:last-child {
  margin-bottom: 0;
}
.project-ref-block {
  margin: 0 auto 1.75rem;
  border: 1px solid var(--color-border, #B7B5AC);
  border-radius: 18px;
  padding: 1rem;
}
.project-ref-title {
  margin: 0 auto 1rem;
  color: var(--color-text-muted, #878580);
  font-weight: 300;
}
.project-ref-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted, #878580);
  list-style-type: circle;
}
.project-ref-list a {
  color: inherit;
  text-decoration: none;
}
.project-ref-list a:hover, .project-ref-list a:focus {
  color: var(--color-link-hover, rgb(218, 112, 44));
}
.project-series-block {
  margin: 2rem auto 2rem;
}
.project-series-block--parent {
  margin-top: 4rem;
}
.project-series-title {
  margin: 0 auto 1rem;
  color: var(--color-text-muted, #878580);
  font-weight: 300;
}
.project-series-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 5rem;
}
@media (min-width: 640px) {
  .project-series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .project-series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0rem;
  }
}
.project-series-card {
  position: relative;
  display: block;
  background: var(--color-bg-muted, #F2F0E5);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  min-height: 170px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-series-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.72) 100%);
  z-index: 1;
}
.project-series-card:hover, .project-series-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  color: #fff;
}
.project-series-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  transform: scale(1.01);
}
.project-series-card__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.9rem 1rem;
  font-size: 0.9em;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
@media (min-width: 768px) {
  .project-content > :is(p, ul, ol, div.callout, blockquote):not(:has(img, picture, iframe, video)) {
    margin: 3.5rem 8rem;
    font-weight: 300;
  }
}
.project-content :is(p, div):has(> button) {
  text-align: center;
}
.project-gallery {
  margin: 2rem 0;
}
.project-gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(var(--project-gallery-columns, auto-fit), minmax(0, 1fr));
}
@media (min-width: 640px) {
  .project-gallery-grid {
    grid-template-columns: repeat(var(--project-gallery-columns-md, var(--project-gallery-columns, auto-fit)), minmax(160px, 1fr));
  }
}
@media (min-width: 1024px) {
  .project-gallery-grid {
    grid-template-columns: repeat(var(--project-gallery-columns-lg, var(--project-gallery-columns-md, var(--project-gallery-columns, auto-fit))), minmax(160px, 1fr));
  }
}
.project-gallery--grid .project-gallery-grid a {
  aspect-ratio: 5/4;
}
.project-gallery--grid .project-gallery-grid img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.project-gallery--masonry .project-gallery-grid {
  column-count: var(--project-gallery-columns, 1);
  column-gap: 1rem;
  display: block;
}
.project-gallery--masonry .project-gallery-grid:has(> a:last-child:only-child) {
  column-count: var(--project-gallery-columns, 1);
}
.project-gallery--masonry .project-gallery-grid:has(> a:nth-child(2):last-child) {
  column-count: var(--project-gallery-columns, 2);
}
@media (min-width: 640px) {
  .project-gallery--masonry .project-gallery-grid {
    column-count: var(--project-gallery-columns-md, var(--project-gallery-columns, 2));
  }
}
@media (min-width: 1024px) {
  .project-gallery--masonry .project-gallery-grid {
    column-count: var(--project-gallery-columns-lg, var(--project-gallery-columns-md, var(--project-gallery-columns, 3)));
  }
}
.project-gallery--masonry .project-gallery-grid a {
  break-inside: avoid;
  margin-bottom: 1rem;
}
.project-gallery--masonry .project-gallery-grid img {
  height: auto;
  width: 100%;
  object-fit: contain;
}
.project-gallery--collage .project-gallery-grid {
  grid-auto-flow: dense;
  grid-auto-rows: 180px;
}
@media (min-width: 640px) {
  .project-gallery--collage .project-gallery-grid {
    grid-auto-rows: 220px;
  }
}
.project-gallery--collage .project-gallery-grid a:nth-child(6n+1) {
  grid-row: span 2;
  grid-column: span 2;
}
.project-gallery--collage .project-gallery-grid a:nth-child(6n+3) {
  grid-column: span 2;
}
.project-gallery--collage .project-gallery-grid a:nth-child(6n+5) {
  grid-row: span 2;
}
.project-gallery--carousel {
  display: block;
}
.project-gallery--carousel .project-gallery-track {
  align-items: center;
}
.project-gallery--carousel .project-gallery-track a {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: min(85vh, 820px);
  max-width: 100%;
}
.project-gallery--carousel .project-gallery-track img {
  height: 100%;
  width: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 640px) {
  .project-gallery--carousel .project-gallery-track a {
    max-height: 75vh;
  }
}
.project-gallery-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}
.project-gallery-track a {
  flex: 0 0 clamp(220px, 60vw, 420px);
  scroll-snap-align: center;
}
.project-gallery-track::-webkit-scrollbar {
  height: 8px;
}
.project-gallery-track::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}
.project-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
}
.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.project-gallery a:hover img {
  transform: scale(1.03);
}
.project-gallery-title {
  grid-column: 1/-1;
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
  font-weight: 500;
}
.project-gallery-description {
  grid-column: 1/-1;
  margin: 0 0 1rem;
  color: #878580;
}
.project .pswp-md-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.project .pswp-md-grid img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.project .pswp-md-masonry {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 640px) {
  .project .pswp-md-masonry {
    column-count: 2;
  }
}
@media (min-width: 1024px) {
  .project .pswp-md-masonry {
    column-count: 3;
  }
}
.project .pswp-md-masonry img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  break-inside: avoid;
  margin-bottom: 1rem;
}
.project .pswp-md-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  align-items: center;
}
.project .pswp-md-carousel img {
  display: block;
  width: auto;
  height: auto;
  max-height: min(85vh, 820px);
  max-width: 100%;
  object-fit: contain;
  scroll-snap-align: center;
}
.project-gallery-empty {
  text-align: center;
  color: #B7B5AC;
  font-style: italic;
}
.project-gallery-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.project-content {
  margin-top: 2rem;
  margin: 0 auto;
}
.project-content p {
  margin-bottom: 1.2rem;
}

.pswp--open img {
  border-radius: 0px;
}

.pswp__caption,
.pswp__dynamic-caption,
.pswp__custom-caption {
  max-width: min(92vw, 1100px);
  width: 100%;
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  color: #f7f7f7;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-align: center;
}

@media (max-width: 768px) {
  .pswp__caption,
  .pswp__dynamic-caption,
  .pswp__custom-caption {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 1rem 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.9) 100%);
  }
}
.projects-index {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-block-start: 1.4em;
  width: 100%;
  box-sizing: border-box;
  margin: 4rem auto;
}
.projects-index__intro {
  max-width: 72ch;
  margin: 0.5rem auto 0;
  color: var(--color-text-muted, #B7B5AC);
}
@media (min-width: 768px) {
  .projects-index__intro {
    max-width: none;
    margin-left: var(--content-text-side-margin, 0rem);
    margin-right: var(--content-text-side-margin, 0rem);
  }
}
.projects-index__empty {
  text-align: center;
  color: var(--color-text-muted, #B7B5AC);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.project--two-column .project-two-column {
  width: 100%;
  margin: 2.5rem 0 3rem;
}
.project--two-column .project-two-column__inner {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .project--two-column .project-two-column__inner {
    grid-template-columns: 1fr 1fr;
  }
}
.project--two-column .project-two-column__col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--color-text, #100F0F);
}
.project--two-column .project-two-column__col p {
  margin: 0 0 0.9rem;
}

.project-card {
  background: var(--color-bg-muted, #F2F0E5);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  background: var(--color-portfolio-bg, #FFFFFF);
  overflow: hidden;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
  border-radius: 0;
}
.project-card__media:hover img {
  transform: scale(1.02);
}
.project-card__media--empty {
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  color: var(--color-text-muted, #B7B5AC);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-card__body {
  padding: 1rem 1.1rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  text-align: left;
  align-items: flex-start;
}
.project-card__meta {
  font-size: 0.8em;
  color: var(--color-text-muted, #B7B5AC);
  text-transform: uppercase;
}
.project-card__description {
  font-size: 0.9em;
  color: var(--color-text-muted, #B7B5AC);
}
.project-card__title {
  margin: 0;
}
.project-card__title a {
  color: var(--color-title, #100F0F);
  text-decoration: none;
}
.project-card__title a:hover {
  color: var(--color-title-hover, rgb(218, 112, 44));
}

.search-page {
  margin: 0 auto;
}
.search-page__header {
  margin-bottom: 1.5rem;
}
.search-page__title {
  margin-top: 1.25rem;
}
.search-page__input {
  margin: 0.75rem 0 0.5rem;
}
.search-page__input input[type=search] {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--color-border, #B7B5AC);
  background: var(--color-bg, #FFFCF0);
  color: var(--color-text, #100F0F);
  font-size: 1rem;
}
.search-page__status {
  font-size: 0.8em;
  color: var(--color-text-muted, #878580);
  min-height: 1.1em;
}

.search-result {
  padding: 0.9rem 0;
  border-top: 1px solid var(--color-border, #B7B5AC);
}
.search-result__title {
  margin: 0;
  font-size: 1.1rem;
}
.search-result__title a {
  color: inherit;
  text-decoration: none;
}
.search-result__title a:hover, .search-result__title a:focus {
  color: var(--color-link-hover, rgb(218, 112, 44));
}
.search-result__desc {
  margin: 0.5rem 0 0;
  color: var(--color-text-muted, #878580);
  font-size: 0.8em;
}

/* MIT License | Copyright (c) Stephan Ango (@kepano) 

Image Grid snippet for Obsidian

author: @kepano
version: 4.0.0

Support my work:
<a class="auto-link" href="https://github.com/sponsors/kepano">https://github.com/sponsors/kepano</a>

*/
/* Revamped for Obsidian 1.1.9+ using :has() */
body {
  --image-grid-fit: cover;
  --image-grid-background: transparent;
  --img-grid-gap: 0.5rem;
}

@media (max-width: 400pt) {
  body {
    --img-grid-gap: 0.25rem;
  }
}
.img-grid-ratio {
  --image-grid-fit: contain;
}

.img-grid-ratio {
  --image-grid-fit: contain;
}

.img-grid .image-embed.is-loaded {
  line-height: 0;
  display: flex;
  align-items: stretch;
}
.img-grid .image-embed.is-loaded img {
  background-color: var(--image-grid-background);
}
.img-grid .image-embed.is-loaded img:active {
  background-color: transparent;
}
.img-grid :is(.page-body, .post-body) > div:has(img) p:empty,
.img-grid :is(.page-body, .post-body) > div:has(img) img ~ br,
.img-grid :is(.page-body, .post-body) > div:has(img) .image-embed ~ br {
  display: none;
}
.img-grid :is(.page-body, .post-body) div:has(> .image-embed ~ .image-embed),
.img-grid :is(.page-body, .post-body) p:has(> .image-embed ~ .image-embed),
.img-grid :is(.page-body, .post-body) div:has(> img ~ img),
.img-grid :is(.page-body, .post-body) p:has(> .image-embed ~ img),
.img-grid :is(.page-body, .post-body) p:has(> img ~ .image-embed),
.img-grid :is(.page-body, .post-body) p:has(> img ~ img) {
  display: grid;
  margin-block-start: var(--img-grid-gap);
  margin-block-end: var(--img-grid-gap);
  grid-column-gap: var(--img-grid-gap);
  grid-row-gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}
.img-grid :is(.page-body, .post-body) div:has(> .image-embed ~ .image-embed) > img,
.img-grid :is(.page-body, .post-body) p:has(> .image-embed ~ .image-embed) > img,
.img-grid :is(.page-body, .post-body) div:has(> img ~ img) > img,
.img-grid :is(.page-body, .post-body) p:has(> .image-embed ~ img) > img,
.img-grid :is(.page-body, .post-body) p:has(> img ~ .image-embed) > img,
.img-grid :is(.page-body, .post-body) p:has(> img ~ img) > img {
  object-fit: var(--image-grid-fit);
  align-self: stretch;
}
.img-grid :is(.page-body, .post-body) div:has(> .image-embed ~ .image-embed) > .internal-embed img,
.img-grid :is(.page-body, .post-body) p:has(> .image-embed ~ .image-embed) > .internal-embed img,
.img-grid :is(.page-body, .post-body) div:has(> img ~ img) > .internal-embed img,
.img-grid :is(.page-body, .post-body) p:has(> .image-embed ~ img) > .internal-embed img,
.img-grid :is(.page-body, .post-body) p:has(> img ~ .image-embed) > .internal-embed img,
.img-grid :is(.page-body, .post-body) p:has(> img ~ img) > .internal-embed img {
  object-fit: var(--image-grid-fit);
  align-self: center;
}
.img-grid :is(.page-body, .post-body) > div:has(img) > p {
  display: grid;
  margin-block-start: var(--img-grid-gap);
  margin-block-end: var(--img-grid-gap);
  grid-column-gap: var(--img-grid-gap);
  grid-row-gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}
.img-grid :is(.page-body, .post-body) > div:has(img) > p > br {
  display: none;
}

/*# sourceMappingURL=main.css.map */