:root {
    color-scheme: dark;

    font-family:
        system-ui,
        -apple-system,
        sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    background: #0d0d0d;
}

body {
    margin: 0;

    color: #dedede;
    background: #0d0d0d;

    line-height: 1.65;
}

a {
    color: inherit;
}

.site-header {
    max-width: 1000px;

    margin: auto;
    padding: 24px;

    display: flex;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    font-weight: 800;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 20px;
}

main {
    max-width: 1000px;

    margin: auto;

    padding:
        60px
        24px
        120px;
}

.intro {
    margin-bottom: 90px;
}

.intro h1 {
    margin: 0;

    font-size:
        clamp(3.5rem, 12vw, 8rem);

    line-height: .85;

    letter-spacing: -.06em;
}

.intro p {
    margin-top: 25px;

    opacity: .45;

    font-family: monospace;
}

.entry {
    padding: 42px 0;

    border-top:
        1px solid #333;
}

.entry h2 {
    margin: 4px 0 16px;

    font-size: 1.8rem;
}

.entry h2 a {
    text-decoration: none;
}

.date {
    margin-bottom: 5px;

    opacity: .45;

    font-family: monospace;
    font-size: .8rem;
}

.date a {
    text-decoration: none;
}

.summary {
    max-width: 700px;
}

.tags {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 20px;
}

.tags a {
    opacity: .6;

    font-family: monospace;
    font-size: .85rem;
}

.single {
    max-width: 760px;
}

.single h1 {
    margin-top: 15px;

    font-size:
        clamp(2.8rem, 8vw, 6rem);

    line-height: .95;

    letter-spacing: -.05em;
}

.content {
    margin-top: 55px;

    font-size: 1.12rem;
}

img,
video {
    display: block;

    max-width: 100%;
    height: auto;
}


/* =========================================================
   shantee.life — rich content blocks
   ========================================================= */

.sl-block {
  margin: 2rem 0;
}

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

.sl-center img,
.sl-center video {
  margin-left: auto;
  margin-right: auto;
}

.sl-wide {
  width: min(1200px, calc(100vw - 2rem));
  max-width: none;

  position: relative;
  left: 50%;

  transform: translateX(-50%);
}

.sl-callout {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;

  border-left: 4px solid #2463eb;
  background: #f3f6fb;

  border-radius: 8px;
}

.sl-callout-title {
  display: block;
  margin-bottom: 0.55rem;
}

.sl-callout-warning {
  border-left-color: #d38c20;
}

.sl-callout-danger {
  border-left-color: #c74343;
}

.sl-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 2rem;

  margin: 2rem 0;
}

.sl-column > :first-child {
  margin-top: 0;
}

.sl-gallery {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(min(220px, 100%), 1fr)
    );

  gap: 0.8rem;

  margin: 2rem 0;
}

.sl-gallery figure {
  margin: 0;
}

.sl-gallery img {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 6px;
}

.sl-video {
  display: block;

  width: 100%;
  max-width: 100%;

  margin: 2rem auto;
}

.sl-audio {
  display: block;

  width: min(100%, 700px);

  margin: 2rem 0;
}

.sl-file {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

  padding: 0.8rem 1rem;

  color: inherit;
  background: #f2f4f7;

  border: 1px solid #d5dae0;
  border-radius: 8px;

  text-decoration: none;
}

.sl-file:hover {
  background: #e8ecf2;
}

.sl-file-icon {
  font-size: 1.4rem;
}

@media (max-width: 720px) {
  .sl-columns {
    grid-template-columns: 1fr;
  }
}
