/* Header */
:root {
  --dfl-font-sans: "Helvetica Neue", Arial, sans-serif;
  --dfl-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --dfl-text-xs: 0.75rem;
  --dfl-text-sm: 0.875rem;
  --dfl-text-base: 1rem;
  --dfl-text-md: 1.0625rem;
  --dfl-text-lg: 1.125rem;
  --dfl-text-xl: 1.375rem;
  --dfl-text-2xl: 1.75rem;
  --dfl-text-3xl: 2.25rem;
  --dfl-text-4xl: 2.6rem;
  --dfl-leading-tight: 1.2;
  --dfl-leading-snug: 1.35;
  --dfl-leading-normal: 1.5;
  --dfl-leading-relaxed: 1.7;
  --dfl-leading-loose: 1.8;
  --dfl-tracking-tight: -0.01em;
  --dfl-tracking-normal: 0;
  --dfl-tracking-wide: 0.08em;
  --dfl-tracking-wider: 0.1em;
  --dfl-image-edge-shadow: 0 0 0 1px rgba(17, 17, 17, 0.06), 0 8px 20px rgba(17, 17, 17, 0.06);

  --heading-font-font-family: var(--dfl-font-sans);
  --heading-font-font-style: normal;
  --heading-font-font-weight: 700;
  --heading-font-text-transform: none;
  --heading-font-letter-spacing: 0.0em;
  --heading-font-line-height: 1.4em;

  --body-font-font-family: var(--dfl-font-sans);
  --body-font-font-style: normal;
  --body-font-font-weight: 400;
  --body-font-text-transform: none;
  --body-font-letter-spacing: 0.0em;
  --body-font-line-height: 1.6em;

  --site-title-font-font-family: var(--heading-font-font-family);
  --site-title-font-font-style: var(--heading-font-font-style);
  --site-title-font-font-weight: var(--heading-font-font-weight);
  --site-title-font-text-transform: var(--heading-font-text-transform);
  --site-title-font-letter-spacing: var(--heading-font-letter-spacing);
  --site-title-font-line-height: var(--heading-font-line-height);
  --site-title-font-font-size: 2.0rem;
  --site-title-font-font-size-value: 2.0;

  --site-navigation-font-font-family: var(--body-font-font-family);
  --site-navigation-font-font-style: var(--body-font-font-style);
  --site-navigation-font-font-weight: var(--body-font-font-weight);
  --site-navigation-font-text-transform: var(--body-font-text-transform);
  --site-navigation-font-letter-spacing: var(--body-font-letter-spacing);
  --site-navigation-font-line-height: var(--body-font-line-height);

  --header-bg: #000000;
  --header-text: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #111111;
  font-family: var(--body-font-font-family);
  line-height: var(--dfl-leading-normal);
  background: #ffffff;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: relative;
  background: var(--header-bg);
  color: var(--header-text);
  height: 120px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  width: 100%;
}

.site-header__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.site-header__logo {
  height: min(6vw, 48px);
  width: auto;
  display: block;
  filter: invert(1);
}

@media (max-width: 768px) {
  .site-header {
    height: 96px;
  }

  .site-header__logo {
    height: min(12vw, 54px);
  }
}

/* Observatory Index */
.observatory-index {
  background: #ffffff;
}

.observatory-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.observatory-phase + .observatory-phase {
  margin-top: 4rem;
}

.observatory-phase__header {
  margin-bottom: 1.75rem;
}

.observatory-phase__label {
  margin: 0;
  font-size: var(--dfl-text-sm);
  line-height: var(--dfl-leading-normal);
  letter-spacing: var(--dfl-tracking-wide);
  text-transform: uppercase;
  color: #3c3c3c;
}

.observatory-phase__title {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: var(--dfl-leading-tight);
  letter-spacing: var(--dfl-tracking-tight);
  color: #111111;
}

.observatory-phase__description {
  margin: 0 0 0.9rem;
  font-size: var(--dfl-text-base);
  line-height: var(--dfl-leading-normal);
  color: #555555;
}

.observatory-phase__rule {
  border: 0;
  border-top: 2px solid #111111;
  margin: 0;
}

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

.blog-basic-grid--container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-basic-grid--image {
  width: 100%;
}

.image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}

.image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  box-shadow: none;
}

.blog-basic-grid--text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-meta-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--dfl-text-sm);
  line-height: var(--dfl-leading-normal);
  text-transform: uppercase;
  letter-spacing: var(--dfl-tracking-wide);
  color: #6a6a6a;
}

.blog-meta-primary,
.blog-meta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-meta-delimiter {
  width: 2px;
  height: 18px;
  background: #bdbdbd;
  display: inline-block;
}

.blog-title {
  font-size: var(--dfl-text-xl);
  line-height: var(--dfl-leading-tight);
  letter-spacing: var(--dfl-tracking-tight);
  margin: 0;
}

.blog-title a {
  color: #111111;
  text-decoration: none;
}

.blog-title a:hover,
.blog-title a:focus {
  text-decoration: underline;
}

.blog-excerpt {
  font-size: var(--dfl-text-base);
  line-height: var(--dfl-leading-relaxed);
  color: #333333;
}

.blog-excerpt p {
  margin: 0;
}

.blog-more-link {
  font-size: var(--dfl-text-sm);
  text-transform: uppercase;
  letter-spacing: var(--dfl-tracking-wider);
  color: #111111;
  text-decoration: none;
}

.blog-more-link:hover,
.blog-more-link:focus {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .blog-basic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .observatory-inner {
    padding: 2.5rem 1.25rem 4rem;
  }

  .blog-basic-grid {
    grid-template-columns: 1fr;
  }

  .blog-title {
    font-size: 1.5rem;
  }
}

/* 404 */
.error-404 {
  min-height: 100vh;
  background: #ececef;
}

.error-404__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.35rem 3.25rem;
}

.error-404__title {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: var(--dfl-tracking-tight);
  color: #111111;
}

.error-404__message {
  margin: 6.25rem 0 0;
  font-size: clamp(1.15rem, 1.4vw, 2rem);
  line-height: 1.4;
  color: #1a1a1a;
}

@media (max-width: 700px) {
  .error-404__inner {
    padding: 2rem 1.25rem;
  }

  .error-404__message {
    margin-top: 3rem;
  }
}

/* Home */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: #ffffff;
  color: #111111;
}

.home-hero__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.home-hero__text {
  font-size: var(--dfl-text-xl);
  font-weight: 600;
  line-height: var(--dfl-leading-snug);
  letter-spacing: var(--dfl-tracking-tight);
  margin: 0;
}

.home-hero__text a,
.home-hero__text a:visited,
.home-hero__text a:hover,
.home-hero__text a:focus {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.home-hero__divider {
  font-size: var(--dfl-text-xl);
  line-height: 1;
  color: #111111;
}

.home-hero__logo {
  height: 48px;
  width: auto;
  display: block;
  filter: none;
}

@media (max-width: 640px) {
  .home-hero__inner {
    flex-direction: column;
  }

  .home-hero__divider {
    display: none;
  }

  .home-hero__text {
    font-size: var(--dfl-text-lg);
  }

  .home-hero__logo {
    height: 40px;
  }
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  background: #ffffff;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer__meta {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  width: 100%;
  font-size: var(--dfl-text-sm);
  line-height: var(--dfl-leading-normal);
  color: #666666;
  text-align: center;
}

.site-footer__brand {
  font-weight: 600;
  color: #333333;
}

.site-footer__brand-link,
.site-footer__brand-link:link,
.site-footer__brand-link:visited,
.site-footer__brand-link:hover,
.site-footer__brand-link:focus {
  font-weight: 600;
  color: #333333;
  text-decoration: none;
}

.site-footer__brand-link:active {
  color: #333333;
  text-decoration: none;
}

.site-footer__sep {
  color: #999999;
}

.site-footer__link {
  color: inherit;
  text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (max-width: 700px) {
  .site-footer {
    padding: 1.5rem 1rem 2rem;
  }
}

/* DFL blog overrides */
.site-main {
  flex: 1 0 auto;
  background: #ffffff;
  color: #111111;
}

.content {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  color: #111111;
  font-family: var(--dfl-font-sans);
  text-align: left;
}

.content h1 {
  font-size: var(--dfl-text-3xl);
  line-height: var(--dfl-leading-tight);
  letter-spacing: var(--dfl-tracking-tight);
  margin: 0 0 2rem;
}

.content--post .post-header {
  text-align: center;
  margin: 0 0 1.25rem;
}

.content--post .post-title {
  font-size: var(--dfl-text-4xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
}

.content--post .post-nav {
  margin: 2.75rem calc(50% - 50vw) 0;
  width: 100vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  background: #ffffff;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.content--post .post-nav__item {
  min-width: 0;
}

.content--post .post-nav__item--empty {
  visibility: hidden;
}

.content--post .post-nav__item--next {
  border-left: 1px solid rgba(17, 17, 17, 0.08);
}

.content--post .post-nav__link {
  display: grid;
  align-items: center;
  padding: 0.9rem 0.9rem;
  color: inherit;
  text-decoration: none;
  background: transparent;
}

.content--post .post-nav__link--prev {
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
}

.content--post .post-nav__link--next {
  grid-template-columns: minmax(0, 1fr) 2rem;
  gap: 0.7rem;
}

.content--post .post-nav__title {
  display: block;
  font-size: clamp(1rem, 1.05vw + 0.55rem, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content--post .post-nav__link--prev .post-nav__title {
  text-align: left;
}

.content--post .post-nav__link--next .post-nav__title {
  text-align: right;
}

.content--post .post-nav__arrow {
  display: block;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: #111111;
  text-align: center;
}

.content--post .post-nav__link:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.28);
  outline-offset: -2px;
}

.content--post .post-nav__link:hover .post-nav__title,
.content--post .post-nav__link:focus-visible .post-nav__title {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.content h2 {
  font-size: var(--dfl-text-2xl);
  line-height: 1.25;
  margin: 2.2rem 0 1rem;
}

.content h3 {
  font-size: 1.3rem;
  line-height: var(--dfl-leading-snug);
  margin: 1.8rem 0 0.75rem;
}

.content p,
.content li {
  font-size: var(--dfl-text-lg);
  line-height: 1.75;
}

.content ul,
.content ol {
  padding-left: 1.25rem;
  margin: 0 0 1.5rem;
}

.content ul[data-rte-list="default"],
.content ol[data-rte-list="default"] {
  list-style: disc;
  list-style-position: outside;
}

.content li + li {
  margin-top: 0.5rem;
}

.content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.content figure {
  margin: 2rem 0;
}

.content figcaption {
  font-size: var(--dfl-text-sm);
  line-height: var(--dfl-leading-normal);
  color: #555555;
  margin-top: 0.5rem;
}

.dfl-layout {
  color: inherit;
}

.dfl-block {
  margin: 1.2rem 0;
  color: inherit;
}

.content .dfl-block {
  padding-left: 0;
  padding-right: 0;
}

.dfl-block[class*="vsize-"] .dfl-block-content {
  height: auto !important;
}

.dfl-block-spacer,
.spacer-block {
  height: 1.5rem;
}

.dfl-html-content {
  color: inherit;
}

.dfl-html-content p,
.dfl-html-content h1,
.dfl-html-content h2,
.dfl-html-content h3,
.dfl-html-content h4,
.dfl-html-content li {
  white-space: normal !important;
}

.dfl-html-content p {
  margin: 0 0 1.1rem;
}

.dfl-block-quote blockquote {
  margin: 0;
  padding: 0;
  border-left: none;
  font-style: italic;
  background: transparent;
  border-radius: 0;
}

.dfl-block-quote blockquote p {
  margin: 0;
}

.dfl-block-quote .source {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #555555;
  text-align: right;
}

.dfl-block-quote figure {
  background: var(--tweak-quote-block-background-color, #f8e6e1);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.content .dfl-block-quote.quote-box--recap {
  padding-top: 0;
  padding-bottom: 0;
}

.content .dfl-block-quote.quote-box--recap.dfl-background-enabled {
  background: transparent;
}

.content .dfl-block-quote.quote-box--recap figure {
  margin: 0;
  border-radius: 12px;
  padding: 1rem 1.35rem;
}

.content .dfl-block-quote.quote-box--recap blockquote {
  font-style: normal;
}

.content .dfl-block-quote.quote-box--recap blockquote p {
  margin: 0 0 0.65rem;
}

.content .dfl-block-quote.quote-box--recap blockquote p:last-child {
  margin-bottom: 0;
}

.dfl-block-horizontalrule hr {
  border: 0;
  height: 1px;
  background: #111111;
  margin: 2rem auto;
  width: min(700px, 88%);
  border-radius: 0;
  transform: none;
}

.content--post .dfl-block-horizontalrule:first-of-type hr {
  margin-top: 0.6rem;
}

.dfl-block-image {
  margin: 2rem 0;
}

.dfl-block-image .image-caption-wrapper,
.dfl-block-image figcaption {
  font-size: 0.9rem;
  color: #555555;
}

.dfl-block-image img {
  border-radius: 4px;
}

.content .dfl-block-image img,
.content .dfl-carousel__slide img,
.content .image-split__media img,
.content .figure-center img {
  box-shadow: var(--dfl-image-edge-shadow);
}

.content .highlight {
  margin: 1.5rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.content .highlight pre {
  margin: 0;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--dfl-font-mono);
  font-size: 0.95rem;
  line-height: 1.55;
}

.content code {
  font-family: var(--dfl-font-mono);
  font-size: 0.92em;
}

.content pre code {
  font-family: inherit;
  font-size: 1em;
  line-height: inherit;
}

.dfl-carousel {
  position: relative;
  margin: 2rem 0;
}

.dfl-carousel__viewport {
  overflow: hidden;
}

.dfl-info {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #0f6d86;
  background: #e9f7fb;
  border-radius: 8px;
}

.dfl-info__title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.dfl-info__content > :first-child {
  margin-top: 0;
}

.dfl-info__content > :last-child {
  margin-bottom: 0;
}

.dfl-info__content p {
  margin: 0 0 0.9rem;
}

.dfl-info__content ul,
.dfl-info__content ol {
  margin: 0.5rem 0 0.9rem 1.25rem;
}

.dfl-info__content li {
  margin: 0 0 0.35rem;
}

.dfl-carousel__track {
  position: relative;
}

.dfl-carousel__slide {
  display: none;
  margin: 0;
}

.dfl-carousel__slide.is-active {
  display: block;
}

.dfl-carousel__image {
  position: relative;
  width: 100%;
  padding-top: calc(var(--dfl-carousel-aspect, 56.25) * 1%);
  overflow: hidden;
  border-radius: 4px;
  background: #f6f6f6;
}

.dfl-carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.dfl-carousel__caption {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #555555;
  margin-top: 0.75rem;
  text-align: center;
}

.dfl-carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #111111;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

.dfl-carousel__control--prev {
  left: 0.5rem;
}

.dfl-carousel__control--next {
  right: 0.5rem;
}

.dfl-carousel__icon {
  font-size: 1.4rem;
  line-height: 1;
  color: #111111;
  display: block;
}

.dfl-carousel__control:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.dfl-carousel.is-single .dfl-carousel__control {
  display: none;
}

@media (max-width: 640px) {
  .dfl-carousel__control {
    width: 32px;
    height: 32px;
  }
}

.dfl-accordion-block {
  margin: 2rem 0;
  background: var(--dfl-accordion-bg, #e9f7fb);
  padding: 1.4rem 1.6rem;
  border-radius: 10px;
}

.dfl-accordion {
  border-top: 1px solid #111111;
}

.dfl-accordion__item {
  border-bottom: 1px solid #111111;
  padding: 0;
}

.dfl-accordion__summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0.2rem;
}

.dfl-accordion__summary::-webkit-details-marker {
  display: none;
}

.dfl-accordion__summary::after {
  content: none;
}

.dfl-accordion__summary::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}

.dfl-accordion__item[open] .dfl-accordion__summary::before {
  transform: rotate(-135deg);
}

.dfl-accordion__content {
  padding: 0 0.2rem 1rem 0.6rem;
  text-align: left !important;
}

.dfl-accordion__content > :first-child {
  margin-top: 0;
}

.dfl-accordion__content > :last-child {
  margin-bottom: 0;
}

.dfl-accordion__content p {
  white-space: normal !important;
  text-align: left !important;
}

.dfl-accordion__content p:last-child {
  margin-bottom: 0;
}

.dfl-accordion__content ul,
.dfl-accordion__content ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 0;
  list-style: none;
  text-align: left !important;
}

.dfl-accordion__content li {
  margin: 0 0 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left !important;
  white-space: normal;
}

.dfl-accordion__content li:last-child {
  margin-bottom: 0;
}

.dfl-accordion__content li > p {
  margin: 0;
  display: block;
  text-align: left !important;
  flex: 1 1 auto;
  width: 100%;
  white-space: normal !important;
}

.dfl-accordion__content li::before {
  content: "•";
  position: static;
  font-size: 1.1em;
  line-height: 1;
}

.observatory-header {
  margin: 0 0 2.75rem;
}

.observatory-header__rule {
  border: 0;
  height: 1px;
  background: #111111;
  margin: 1.6rem auto;
  width: min(760px, 90%);
  border-radius: 0;
}

.observatory-header__rule:first-of-type {
  margin-top: 0.75rem;
}

.observatory-header__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 2.25rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.observatory-header__grid--single {
  grid-template-columns: 1fr;
}

.observatory-header__abstract p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333333;
}

.observatory-header__image {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.observatory-header__image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  display: block;
  border-radius: 10px;
  background: #f6f6f6;
  object-fit: contain;
  box-shadow: none;
}

.observatory-header__meta {
  max-width: 880px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #111111;
}

.observatory-header__meta .sqsrte-small {
  margin: 0;
}

@media (max-width: 700px) {
  .observatory-header__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .observatory-header__abstract p {
    font-size: 1.1rem;
  }

  .observatory-header__image {
    justify-self: start;
    max-width: 100%;
  }

  .observatory-header__image img {
    max-height: none;
  }
}

.content figcaption,
.content .image-caption,
.content .dfl-image-caption,
.content .dfl-carousel__caption {
  font-style: italic;
}

.content .text-center {
  text-align: center;
}

.content .text-large {
  font-size: var(--dfl-text-lg);
  line-height: 1.7;
}

.content .text-small {
  font-size: var(--dfl-text-sm);
  line-height: 1.65;
}

@media (max-width: 700px) {
  .content {
    padding: 2.25rem 1.15rem 3rem;
  }

  .content h1 {
    font-size: 2rem;
    margin-bottom: 1.4rem;
  }

  .content--post .post-title {
    font-size: 2.15rem;
    line-height: 1.15;
  }

  .content--post .post-nav {
    margin-top: 2.2rem;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .content--post .post-nav__item--empty {
    display: none;
  }

  .content--post .post-nav__item--next {
    border-left: 0;
  }

  .content--post .post-nav__item + .post-nav__item {
    border-top: 1px solid rgba(17, 17, 17, 0.08);
  }

  .content--post .post-nav__link {
    padding: 0.75rem 0.75rem;
  }

  .content--post .post-nav__link--prev,
  .content--post .post-nav__link--next {
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: 0.6rem;
  }

  .content--post .post-nav__link--next {
    grid-template-columns: minmax(0, 1fr) 1.6rem;
  }

  .content--post .post-nav__title {
    font-size: 1.12rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .content--post .post-nav__link--next .post-nav__title {
    text-align: left;
  }

  .content--post .post-nav__arrow {
    font-size: 1.6rem;
  }

  .content h2 {
    font-size: 1.55rem;
    margin: 1.9rem 0 0.9rem;
  }

  .content h3 {
    font-size: 1.18rem;
    margin: 1.45rem 0 0.65rem;
  }

  .content p,
  .content li {
    font-size: 1.05rem;
    line-height: 1.72;
  }

  .content .text-large {
    font-size: 1.05rem;
    line-height: 1.68;
  }

  .content .text-small {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .content .highlight pre {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
  }
  .content .image-split {
    grid-template-columns: 1fr;
  }

  .content .image-split__media {
    order: 1;
  }

  .content .image-split__content {
    order: 2;
  }
}

.content .image-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
}

.content .image-split--valign-top {
  align-items: start;
}

.content .image-split--valign-center {
  align-items: center;
}

.content .image-split--valign-bottom {
  align-items: end;
}

.content .image-split__media {
  margin: 0;
}

.content .image-split__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.content .image-split__content > *:first-child {
  margin-top: 0;
}

.content .image-split__content > *:last-child {
  margin-bottom: 0;
}

.content .figure-center {
  margin: 2rem auto;
  text-align: center;
}

.content .figure-center img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.content .fancy-underline {
  --underline-color: #111111;
  --underline-thickness: 2px;
  --underline-offset: 0.05em;
  color: #111111;
  display: inline-block;
  padding-bottom: 0.25em;
}

.content .fancy-underline--swish {
  background-image: var(--underline-svg);
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: 0 100%;
}

.content .fancy-underline--solid,
.content .fancy-underline--straight {
  background-image: linear-gradient(var(--underline-color), var(--underline-color));
  background-repeat: no-repeat;
  background-size: 100% var(--underline-thickness);
  background-position: 0 calc(100% - var(--underline-offset));
}

.content .fancy-underline--squiggle {
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--underline-color);
  text-decoration-thickness: var(--underline-thickness);
  text-underline-offset: var(--underline-offset);
}

.content .image-split--right .image-split__media {
  order: 2;
}

.content .image-split--right .image-split__content {
  order: 1;
}
