*, *::before, *::after {box-sizing: border-box;margin: 0;padding: 0;}
:root {
  /* --accent: #ffffff; */
  /* --accent-bright: #c2c2c2; */
  /* --accent-glow: #ffffff; */
  --bg-deep:       #0f0d20;
  --bg-navy:       #0f0d20;
  --text:          #e8e8f0;
  --text-muted: #ebe8e8;
  --nav-border: rgb(63 58 88 / 55%);
  --nav-bg:        rgba(5, 15, 50, 0.60);
  --bg-1: #2d2419;
  --bg-2: #3b2e20;
  --bg-3: #68543b;
  --bg-4: #9e8763;
  --bg-5: #b0a389;
  --bg-6: #c6c1b6;
  --wave-time: 42s;
}
html, body {
  width: 100%;
  height: 100%;
  background: #000000;
  color: #ffffff;
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  scrollbar-width: thin;
  scrollbar-color: #5e686c rgb(138 138 140);
}
body { position: relative; }

.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      var(--bg-1) 0%,
      var(--bg-2) 16%,
      var(--bg-3) 38%,
      var(--bg-4) 62%,
      var(--bg-5) 82%,
      var(--bg-6) 100%
    );
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 55%,
      rgba(0,10,35,0.08) 72%,
      rgba(0,12,40,0.16) 86%,
      rgba(0,14,44,0.30) 100%
    );
  z-index: 3;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.02) 0%,
      rgba(255,255,255,0.008) 30%,
      rgba(255,255,255,0) 70%
    );
  z-index: 2;
}

.wave-track {
  position: absolute;
  inset: -18% 0 -18% 0;
  width: 240vw;
  display: flex;
  animation: moveWaveTrack var(--wave-time) linear infinite;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.wave {
  position: relative;
  width: 120vw;
  height: 140vh;
  flex: 0 0 120vw;
  filter: blur(30px);
  opacity: 0.78;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.22) 8%,
    rgba(0,0,0,0.7) 18%,
    rgba(0,0,0,1) 34%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0.58) 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.22) 8%,
    rgba(0,0,0,0.7) 18%,
    rgba(0,0,0,1) 34%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0.58) 86%,
    transparent 100%
  );
}

.wave::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotate(-9deg) scale(1.08);
  background:
    radial-gradient(ellipse 48% 26% at 96% 10%,
      rgba(255,255,255,0.05) 0%,
      rgba(185,242,255,0.07) 14%,
      rgba(105,220,255,0.08) 32%,
      rgba(48,165,255,0.06) 50%,
      rgba(0,0,0,0) 74%),
    radial-gradient(ellipse 38% 20% at 86% 22%,
      rgba(180,238,255,0.06) 0%,
      rgba(92,214,255,0.08) 35%,
      rgba(34,145,255,0.05) 56%,
      rgba(0,0,0,0) 82%),
    radial-gradient(ellipse 34% 18% at 75% 34%,
      rgba(150,232,255,0.05) 0%,
      rgba(76,200,255,0.06) 32%,
      rgba(0,0,0,0) 78%),
    radial-gradient(ellipse 42% 22% at 92% 44%,
      rgba(120,220,255,0.04) 0%,
      rgba(55,168,255,0.045) 38%,
      rgba(0,0,0,0) 80%),
    linear-gradient(
      135deg,
      rgba(255,255,255,0.00) 0%,
      rgba(170,235,255,0.015) 18%,
      rgba(92,208,255,0.03) 42%,
      rgba(30,130,255,0.025) 58%,
      rgba(0,0,0,0) 78%
    );
}

.wave::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotate(-11deg) scale(1.12);
  background:
    radial-gradient(ellipse 58% 28% at 100% 4%,
      rgba(255,255,255,0.03) 0%,
      rgba(150,232,255,0.035) 20%,
      rgba(50,160,255,0.025) 46%,
      rgba(0,0,0,0) 74%);
  filter: blur(34px);
  opacity: 0.85;
}

nav {
  position: relative;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 52px;
  background: #52525278;
  border: 1px solid #5b50508c;
  border-radius: 14px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 0 30px rgb(78 68 122 / 18%), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {font-family: "IBM Plex Sans", sans-serif;,monospace;font-size: 0.78rem;font-weight: 400;color: #ffffff;text-decoration: none;letter-spacing: 0.06em;text-transform: uppercase;transition: color 0.2s;position: relative;}
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--accent-bright); transition: width 0.25s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {color: #ffffff;}
.nav-links a.active::after { width: 100%; }
.nav-lang {display: flex;align-items: center;gap: 8px;font-family: 'DM Mono', monospace;font-size: 0.78rem;color: #ffffff;text-decoration: none;letter-spacing: 0.06em;text-transform: uppercase;transition: color 0.2s;}
.nav-lang:hover { color: #fff; }
.nav-lang svg { opacity: 0.6; transition: opacity 0.2s; }
.nav-lang:hover svg { opacity: 1; }

.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.hero-tag { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 24px; }
.hero-tag span { display: inline-block; border: 1px solid rgba(91,63,224,0.4); padding: 4px 14px; border-radius: 100px; background: rgba(67,44,174,0.1); }
h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.8rem,8vw,6.5rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; color: #fff; }
h1 .accent-word {background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;background-clip: text;}
.hero-sub {margin-top: 20px;font-size: clamp(0.85rem,2vw,1rem);color: #c7e3ff;max-width: 480px;line-height: 1.7; }
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-primary {font-family: 'DM Mono', monospace;font-size: 0.8rem;letter-spacing: 0.08em;text-transform: uppercase;text-decoration: none;color: #fff;background: rgb(84 114 204 / 52%);border: 1px solid transparent;padding: 13px 28px;border-radius: 10px;transition: background 0.2s, box-shadow 0.2s, transform 0.15s;box-shadow: 0 0 20px rgba(67,44,174,0.4);}
.btn-primary:hover { background: var(--accent-bright); box-shadow: 0 0 32px rgba(91,63,224,0.6); transform: translateY(-2px); }
.btn-ghost {font-family: 'DM Mono', monospace;font-size: 0.8rem;letter-spacing: 0.08em;text-transform: uppercase;text-decoration: none;color: #fefefe;background: transparent;border: 1px solid rgb(255 255 255 / 62%);padding: 13px 28px;border-radius: 10px;transition: color 0.2s, border-color 0.2s, transform 0.15s;}
.btn-ghost:hover { color: #fff; border-color: var(--accent-bright); transform: translateY(-2px); }

.section { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 100px 24px; }
.projects-row { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
.project-card {background: rgb(48 70 135 / 47%);border: 1px solid rgba(67,44,174,0.2);border-radius: 14px;padding: 28px 24px;text-decoration: none;color: #ffffff;display: block;transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;position: relative;overflow: hidden;}
.project-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg,transparent,var(--accent-bright),transparent); opacity: 0; transition: opacity 0.3s; }
.project-card:hover { border-color: rgba(91,63,224,0.5); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(67,44,174,0.15); }
.project-card:hover::before { opacity: 1; }
.project-tag { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 12px; }
.project-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.project-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.project-arrow { margin-top: 20px; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--accent-bright); text-transform: uppercase; }

.no-posts {text-align: center;padding: 48px 24px;color: #c7e3ff;border: 1px dashed rgba(67,44,174,0.25);border-radius: 14px;font-size: 0.85rem;}

footer {position: relative;z-index: 1;padding: 32px 24px;text-align: center;}
footer p {font-size: 0.72rem;color: #c7e3ff;letter-spacing: 0.06em;}
footer a {color: #ffffff;text-decoration: none;}

@keyframes moveWaveTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-120vw); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 768px) {
  .bg {
    background:
      linear-gradient(
        90deg,
        var(--bg-3) 100%
      );
  }

  .wave {
    filter: blur(22px);
    opacity: 0.72;
  }

  nav {
    width: calc(100% - 24px);
    padding: 0 16px;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
  }
}


.page-wrap {position: relative;z-index: 1;max-width: 1100px;margin: 0 auto;padding: 50px 24px 80px;}
.page-header { margin-bottom: 52px; }
.page-title { font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif;font-size: clamp(2rem,5vw,3.5rem);font-weight: 800;line-height: 1.05;background: linear-gradient(135deg, #ffffff 0%, #ffffff 25%, #ffffff 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;background-clip: text;}


.posts-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 20px; }
.post-card-m { background: rgb(48 70 135 / 47%); border: 1px solid rgba(67,44,174,0.2); border-radius: 14px; padding: 28px 24px; text-decoration: none; color: inherit; display: block; transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s; position: relative; overflow: hidden; }
.post-card-m::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg,transparent,var(--accent-bright),transparent); opacity: 0; transition: opacity 0.3s; }
.post-card-m:hover { border-color: rgba(91,63,224,0.5); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(67,44,174,0.15); }
.post-card-m:hover::before { opacity: 1; }
.post-tag-m { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 12px; }
.post-title-m { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.post-excerpt-m { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.post-arrow-m { margin-top: 20px; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--accent-bright); text-transform: uppercase; }


.post-wrap { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 130px 24px 80px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb span { opacity: 0.4; }
.breadcrumb .current {color: #ffffff;}
.page-eyebrow {font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif; font-size: 0.79rem;;text-transform: uppercase;color: #ffffff;margin-bottom: 14px;}
.meta-row {display: flex;flex-wrap: wrap;gap: 16px;margin-bottom: 28px;font-size: 0.72rem;color: var(--text-muted);}
.post-meta-row {font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif; margin-top: 16px; }

.content-block { opacity: 1; }
.layout-right, .layout-left { display: grid; gap: 56px; align-items: start; }
.layout-right { grid-template-columns: 1fr 300px; }
.layout-left  { grid-template-columns: 1fr 300px; }
@media (max-width: 768px) { .layout-right, .layout-left { grid-template-columns: 1fr; } }
.layout-bottom { display: flex; flex-direction: column; gap: 36px; }
.content-image img {width: 100%;border-radius: 12px;}
.layout-right .content-image, .layout-left .content-image { position: sticky; top: 100px; }

.prose {font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif;/* font-size: 0.88rem; *//* color: #c7e3ff; */line-height: 1.85;}
.prose h1, .prose h2, .prose h3 { font-family: 'Syne', sans-serif; color: #fff; margin: 28px 0 12px; line-height: 1.2; }
.prose h1 { font-size: 1.5rem; }
.prose h2 { font-size: 1.2rem; }
.prose h3 { font-size: 1rem; color: var(--accent-bright); }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--accent-bright); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: #fff; font-weight: 600; }
.prose em {color: #e4e4e4;}
.prose img { max-width: 100%; border-radius: 10px; margin: 12px 0; }
.prose blockquote { border-left: 2px solid var(--accent-bright); padding-left: 16px; color: var(--text-muted); margin: 16px 0; }
.prose code { background: rgba(67,44,174,0.15); padding: 2px 6px; border-radius: 4px; font-size: 0.85em; }
.prose pre { background: rgba(67,44,174,0.1); border: 1px solid rgba(67,44,174,0.2); border-radius: 10px; padding: 16px; overflow-x: auto; margin-bottom: 16px; }

.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.back-link:hover { color: var(--accent-bright); }

.no-posts { text-align: center; padding: 48px 24px; color: #c7e3ff; border: 1px dashed rgba(67,44,174,0.25); border-radius: 14px; font-size: 0.85rem; }


.about-layout { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
@media (max-width: 768px) { .about-layout { grid-template-columns: 1fr; gap: 36px; } }

.about-image img { width: 100%; border-radius: 16px; box-shadow: 0 0 40px rgb(116 88 255 / 85%); position: sticky; top: 100px; }

.about-block { margin-bottom: 40px; }
.about-block:last-child { margin-bottom: 0; }
.about-question { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 12px; padding-left: 14px; border-left: 2px solid var(--accent-bright); }
.about-content p { font-size: 0.88rem; color: #c7e3ff; line-height: 1.85; }



.nav-hamburger {
  position: fixed;
  top: 18px;
  display: none;
  background: #52525278;
  border: 1px solid #5b50508c;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 12px;
  flex-direction: column;
  gap: 5px;
  z-index: 200;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: #40404078; }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


nav.drawer-open .nav-links,
nav.drawer-open .nav-lang { visibility: hidden; }


.nav-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 150;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}
.nav-drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-drawer-panel {
  position: absolute;
  top: 0; left: 0;
  width: 200px;
  height: 100%;
  background: #525252f0;
  border-right: 1px solid #5b505082;
  padding: 80px 0 32px;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}


.nav-drawer.open {
  pointer-events: all;
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.nav-drawer.open .nav-drawer-bg { opacity: 1; }
.nav-drawer.open .nav-drawer-panel { transform: translateX(0); }

.nav-drawer-links {
  list-style: none;
  padding: 0 24px;
  flex: 1;
}
.nav-drawer-links li { border-bottom: 1px solid rgba(67,44,174,0.15); }
.nav-drawer-links a {
  display: block;
  padding: 16px 8px;
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.active { color: #fff; }

.nav-drawer-lang {
  margin: 16px 24px 0;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.2s;
  border-top: 1px solid rgba(67,44,174,0.15);
}
.nav-drawer-lang:hover { color: #fff; }

@media (max-width: 540px) {
  .nav-links, .nav-lang { display: none; }
  .nav-hamburger {display: flex;}
}


@media (max-width: 540px) {
  nav {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: auto;
    height: auto;
    top: 16px;
    left: 16px;
    transform: none;
    padding: 0;
    justify-content: flex-start;
  }
}


.projects-section { margin-bottom: 64px; }
.projects-section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-bright);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.proj-card {
  background: rgb(48 70 135 / 47%);
  border: 1px solid rgba(67,44,174,0.2);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  position: relative;
}
.proj-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.proj-card:hover { border-color: rgba(91,63,224,0.5); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(67,44,174,0.15); }
.proj-card:hover::before { opacity: 1; }

.proj-img-wrap {
  position: relative;   
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(5,3,28,0.8);
}
.proj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.proj-img-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.proj-img-wrap1 {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(5,3,28,0.8);
}

.proj-img-wrap1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-card:hover .proj-img-wrap img   { transform: scale(1.05); opacity: 0; }
.proj-card:hover .proj-img-wrap video { opacity: 1; }

.proj-info { padding: 20px; }
.proj-tag { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 8px; }
.proj-name { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.proj-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }


.projects-year {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  padding-left: 14px;
}


.about-image img {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 50px rgb(116 88 255 / 100%);
}

.shots {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 56px auto 0;
  opacity: 1;
}
.shots-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-bright);
}

.shots-viewport { position: relative; }

.shots-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;         
  -ms-overflow-style: none;     
}
.shots-track::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 clamp(200px, 30%, 300px);
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(67, 44, 174, 0.25);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 3, 28, 0.6);
  cursor: zoom-in;
  scroll-snap-align: start;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.shot:hover {
  border-color: rgba(91, 63, 224, 0.6);
  box-shadow: 0 10px 30px rgba(67, 44, 174, 0.25);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.shot:hover img { transform: scale(1.06); }

.shots-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(67, 44, 174, 0.5);
  background: rgb(48 70 135 / 80%);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
}
.shots-nav:hover { background: var(--accent-bright); }
.shots-nav[disabled] { opacity: 0; pointer-events: none; }
.shots-prev { left: -14px; }
.shots-next { right: -14px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 2, 15, 0.93);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 10px;
  border: 1px solid rgba(67, 44, 174, 0.4);
  box-shadow: 0 0 60px rgba(67, 44, 174, 0.35);
}
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.lb-btn {
  position: absolute;
  background: rgb(48 70 135 / 70%);
  border: 1px solid rgba(67, 44, 174, 0.5);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-btn:hover { background: var(--accent-bright); }
.lb-close { top: 24px; right: 24px; }
.lb-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev[hidden], .lb-next[hidden] { display: none; }

@media (max-width: 768px) {
  .shot { flex: 0 0 78%; }
  .shots-prev { left: 4px; }
  .shots-next { right: 4px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; }
}



.hero-split {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 150px 24px 60px;
  display: grid;
  grid-template-columns: 665px 1fr;
  gap: 44px;
  align-items: center;
}
.hero-panel {
  background: #1e34701a;   
  border: 1px solid rgba(67, 44, 174, 0.22);
  border-radius: 18px;
  padding: 38px 34px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 1;
}
.hero-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 3rem);   
  font-weight: 650;
  line-height: 0.98;                        
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  opacity: 1;
}
.hero-text {
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  color: #c7e3ff;
  line-height: 1.85;
  margin-bottom: 0;
  text-align: justify;
}
.hero-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.hero-figure img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 42px rgba(116, 88, 255, 0.5));
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 4px 40px;
    gap: 34px;
  }
  .hero-panel { padding: 34px 26px; }
  .hero-figure img { max-width: 300px; }
}

/*MOTD*/
.top-wrap { position: relative; z-index: 1; padding-top: 108px; }   

.motd {
  max-width: 1100px;
  margin: 0 auto 6px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.motd-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}
.motd-viewport { flex: 1; overflow: hidden; }
.motd-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;               
  color: #c7e3ff;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  animation: motd-scroll 20s linear infinite;
}
@keyframes motd-scroll { to { transform: translateX(-100%); } }
.motd:hover .motd-track { animation-play-state: paused; }   
.motd-label, .motd-track, .nowplaying { -webkit-text-fill-color: currentColor; }

.nowplaying {
  max-width: 1100px;
  margin: 18px auto 0;
  padding: 0 24px;
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
  color: #9fb8d8;
}

.np-eq {
  vertical-align: -0.18em;
  margin-right: 8px;
}

.np-live .np-w1,
.np-live .np-w2,
.np-live .np-w3 {
  animation: np-wave 1.2s steps(1) infinite;
}
.np-live .np-w2 { animation-delay: 0.4s; }
.np-live .np-w3 { animation-delay: 0.8s; }

@keyframes np-wave {
  0%, 66%   { opacity: 0; }
  67%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .np-live .np-w1,
  .np-live .np-w2,
  .np-live .np-w3 { animation: none; opacity: 1; }
}

.hero-split { padding-top: 30px; }

.legacy-link {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 25%);
  padding: 7px 16px;
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}

.legacy-link:hover {
  color: #fff;
  border-color: rgb(32 32 32 / 50%);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 36px;
}

.section-actions {
  text-align: center;
  margin-top: 40px;
}

.footer-legacy {
  margin-top: 12px;
}

/* ==========================================================
   PUBLICACIONES MODERNAS V2
   Reglas estructurales añadidas al Read Mode existente.
   ========================================================== */

/* Layout moderno de publicaciones v2. */

.post-page {
  --post-content-width: 1100px;
  --post-reading-width: 900px;
  --post-media-border: rgba(255,255,255,.20);
  --post-quote-line: rgba(255,255,255,.28);
  --post-chip-bg: rgba(255,255,255,.06);
  --post-chip-border: rgba(255,255,255,.18);
}

.post-page.author-theme .bg {
  background: linear-gradient(90deg, var(--post-bg-start), var(--post-bg-end)) !important;
}
.post-page.post-bg-gradient .wave-track,
.post-page.post-bg-static .wave-track { display: none !important; }
.post-page.post-bg-static .bg { background: var(--post-bg-static) !important; }
.post-page.author-theme nav {
  border-color: color-mix(
    in srgb,
    var(--post-nav-border) 35%,
    transparent
  ) !important;
}
.post-page.author-theme .nav-hamburger { border-color: var(--post-hamburger-border) !important; }
.post-page.author-theme .post-back-link,
.post-page.author-theme .legacy-link,
.post-page.author-theme .post-lightbox-close { border-color: var(--post-button-border) !important; }

.post-page .post-shell {
  width: min(var(--post-content-width), calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding-top: 130px;
}

.post-page .post-breadcrumb { margin-bottom: 18px; }
.post-page .post-title {
  max-width: 980px;
  margin: 0;
  text-wrap: balance;
}

.post-header { margin-bottom: 34px; }
.post-header--stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.post-header--stack .post-title { order: 1; }
.post-header--stack .post-hero-full { order: 2; }
.post-header--stack .post-meta { order: 3; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: .78rem;
  color: var(--text-muted, #c7e3ff);
}

.post-header--side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
  gap: 42px;
  align-items: start;
}
.post-header-copy { min-width: 0; }
.post-header-copy .post-meta { margin-top: 14px; }
.post-hero-side { min-width: 0; }

.post-hero-full .post-hero-figure { margin: 0; }
.post-hero-full .post-image-link,
.post-hero-full picture,
.post-hero-full img { width: 100%; }
.post-hero-full.is-portrait .post-hero-figure { max-width: 520px; margin-inline: auto; }
.post-hero-side.is-portrait .post-hero-figure { max-width: 360px; margin-inline: auto; }

.post-body {
  width: min(var(--post-reading-width), 100%);
  margin-inline: auto;
}

.post-content-row { margin: 0 0 34px; }
.post-content-row--text { width: 100%; }
.post-content-row--left,
.post-content-row--right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: 28px;
  align-items: start;
}
.post-content-row--left .post-content-copy { grid-column: 2; }
.post-content-row--left .post-side-stack { grid-column: 1; grid-row: 1; }
.post-content-row--right .post-content-copy { grid-column: 1; }
.post-content-row--right .post-side-stack { grid-column: 2; grid-row: 1; }

.post-richtext { min-width: 0; }
.post-richtext > :first-child { margin-top: 0 !important; }
.post-richtext > :last-child { margin-bottom: 0 !important; }
.post-richtext p,
.post-richtext li { overflow-wrap: anywhere; }
.post-richtext img { max-width: 100%; height: auto; }

.post-side-stack { display: grid; gap: 18px; }
.post-figure { margin: 0; }
.post-image-link { display: block; cursor: zoom-in; }
.post-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--post-media-border);
  border-radius: 8px;
}
.post-figure figcaption {
  margin-top: 8px;
  font-size: .7rem;
  line-height: 1.5;
  color: var(--text-muted, #c7e3ff);
  text-align: center;
}
.post-figure--bottom {
  width: min(100%, 900px);
  margin: 10px auto 38px;
}
.post-figure--bottom .post-image { max-height: 78vh; object-fit: contain; }

.post-text-with-avatar {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.post-avatar { margin: 0; }
.post-avatar picture,
.post-avatar img { display: block; width: 100%; }
.post-avatar-img {
  border: 0 !important;
  border-radius: 0 !important;
  height: auto;
  object-fit: contain;
}

.post-quote {
  margin: 38px 0;
  padding: 22px 18px;
  border-top: 1px solid var(--post-quote-line);
  border-bottom: 1px solid var(--post-quote-line);
  border-left: 0 !important;
  color: inherit;
  text-align: center;
}
.post-quote p {
  margin: 0;
  font-style: italic;
  line-height: 1.7;
}
.post-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--text-muted, #c7e3ff);
  font-size: .78em;
  font-style: normal;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.post-tag-chip {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--post-chip-border);
  border-radius: 999px;
  background: var(--post-chip-bg);
  color: var(--text-muted, #c7e3ff);
  font-size: .68rem;
  line-height: 1;
}
.post-back-link {
  margin-top: 30px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
}

.post-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(0,0,0,.90);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.post-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.post-lightbox img {
  display: block;
  max-width: 85vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.post-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
body.post-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .post-page .post-shell { width: min(100% - 32px, 860px); }
  .post-header--side { grid-template-columns: minmax(0,1fr) minmax(220px, 32%); gap: 28px; }
  .post-content-row--left,
  .post-content-row--right { grid-template-columns: minmax(0,1fr) minmax(210px, 280px); gap: 22px; }
}

@media (max-width: 768px) {
  .post-page .post-shell {
    width: min(100% - 28px, 620px);
    padding-top: 92px;
  }

  .post-page .post-breadcrumb { margin-bottom: 12px; }
  .post-page .post-title { font-size: clamp(2rem, 10vw, 3.25rem); line-height: 1.05; }

  /* En móvil: título -> detalles -> encabezado. */
  .post-header--stack .post-title { order: 1; }
  .post-header--stack .post-meta { order: 2; }
  .post-header--stack .post-hero-full { order: 3; }

  .post-header--side {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .post-header--side .post-header-copy { display: contents; }
  .post-header--side .post-title { order: 1; }
  .post-header--side .post-meta { order: 2; margin-top: 0; }
  .post-header--side .post-hero-side { order: 3; width: 100%; }

  .post-hero-full.is-portrait .post-hero-figure,
  .post-hero-side.is-portrait .post-hero-figure {
    width: min(68vw, 390px);
    margin-inline: auto;
  }

  /* Las imágenes laterales pasan debajo del bloque de texto correspondiente. */
  .post-content-row--left,
  .post-content-row--right {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .post-content-row--left .post-content-copy,
  .post-content-row--right .post-content-copy { order: 1; }
  .post-content-row--left .post-side-stack,
  .post-content-row--right .post-side-stack { order: 2; width: 100%; }

  .post-side-stack .post-figure {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .post-figure--bottom { width: 100%; }
  .post-figure--bottom .post-image { max-height: 70vh; }

  /* Avatar: oculto si hay otras imágenes. Si no hay, aparece debajo del primer texto. */
  .post-page.has-body-media .post-avatar { display: none; }
  .post-page.no-body-media .post-text-with-avatar {
    display: flex;
    flex-direction: column;
  }
  .post-page.no-body-media .post-text-with-avatar .post-richtext { order: 1; }
  .post-page.no-body-media .post-text-with-avatar .post-avatar {
    order: 2;
    width: 96px;
    margin: 16px auto 0;
  }

  .post-quote { margin: 30px 0; padding-inline: 8px; }
  .post-lightbox { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .post-lightbox { transition: none; }
}


/* ==========================================================
   PUBLICACIONES MODERNAS V2.8
   Ajuste editorial: encabezado + cuerpo comparten eje central.
   ========================================================== */

.post-page {
  --post-reading-width: 900px;
  --post-side-media-width: 310px;
}

/* Breadcrumb, encabezado normal y cuerpo comparten el mismo eje editorial. */
.post-page .post-breadcrumb,
.post-page .post-header--stack,
.post-page .post-body {
  width: min(var(--post-reading-width), 100%);
  margin-inline: auto;
}

/* El título ya no queda pegado al borde del shell de 1100px. */
.post-page .post-title {
  width: 100%;
  max-width: none;
}

/* Encabezado lateral también queda centrado como una unidad editorial. */
.post-page .post-header--side {
  width: min(var(--post-reading-width), 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(250px, var(--post-side-media-width));
  gap: 34px;
}

/* Hero de ancho completo: se mantiene dentro de la columna de lectura. */
.post-page .post-hero-full,
.post-page .post-hero-full .post-hero-figure,
.post-page .post-hero-full .post-image-link,
.post-page .post-hero-full picture {
  width: 100%;
}

.post-page .post-hero-full .post-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

/* Hero a la derecha / poster. */
.post-page .post-hero-side {
  width: 100%;
}
.post-page .post-hero-side .post-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

/* Tipografía real de lectura: igual espíritu que el Read Mode anterior. */
.post-page .post-richtext {
  width: 100%;
  max-width: none;
  font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif;
  font-size: 1.04rem;
  line-height: 1.72;
  color: #fff;
}

.post-page .post-richtext p {
  margin: 0 0 1.15em;
}

.post-page .post-richtext h1,
.post-page .post-richtext h2,
.post-page .post-richtext h3,
.post-page .post-richtext h4 {
  color: #fff;
  line-height: 1.2;
  margin: 1.45em 0 .55em;
}

.post-page .post-richtext h1 { font-size: 1.65rem; }
.post-page .post-richtext h2 { font-size: 1.4rem; }
.post-page .post-richtext h3 { font-size: 1.18rem; }
.post-page .post-richtext h4 { font-size: 1.05rem; }

.post-page .post-richtext strong { color: #fff; font-weight: 700; }
.post-page .post-richtext em { color: #f0ece6; }
.post-page .post-richtext ul,
.post-page .post-richtext ol {
  margin: 0 0 1.15em;
  padding-left: 1.5em;
}
.post-page .post-richtext a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/*
 * Publicaciones migradas desde el editor anterior pueden conservar wrappers
 * como .layout-right/.layout-left dentro del HTML de un bloque de texto.
 * Dentro de post-richtext esos wrappers ya NO deben crear otro layout.
 */
.post-page .post-richtext section,
.post-page .post-richtext .content-block,
.post-page .post-richtext .layout-right,
.post-page .post-richtext .layout-left,
.post-page .post-richtext .layout-bottom,
.post-page .post-richtext .content-text,
.post-page .post-richtext .prose {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

.post-page .post-richtext .content-image {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 1.1em auto !important;
}

.post-page .post-richtext .content-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

/* Filas con imagen lateral: texto e imagen viven dentro de los mismos 900px. */
.post-page .post-content-row--left,
.post-page .post-content-row--right {
  gap: 30px;
}

/* Izquierda: imagen angosta + texto flexible. */
.post-page .post-content-row--left {
  grid-template-columns:
    minmax(250px, var(--post-side-media-width))
    minmax(0, 1fr);
}

/* Derecha: texto flexible + imagen angosta. */
.post-page .post-content-row--right {
  grid-template-columns:
    minmax(0, 1fr)
    minmax(250px, var(--post-side-media-width));
}

/* Bloque de texto sin imagen: usa todo el ancho editorial. */
.post-page .post-content-row--text,
.post-page .post-content-row--text .post-content-copy,
.post-page .post-content-row--text .post-richtext {
  width: 100%;
  max-width: none;
}

/* Imagen inferior: puede aprovechar toda la columna central. */
.post-page .post-figure--bottom {
  width: 100%;
  max-width: var(--post-reading-width);
  margin: 12px auto 42px;
}

.post-page .post-figure--bottom .post-image {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

/* Separación editorial más consistente. */
.post-page .post-header {
  margin-bottom: 38px;
}

.post-page .post-content-row {
  margin-bottom: 38px;
}

.post-page .post-meta {
  font-family: "Sitka Text", "Sitka Small", Sitka, Georgia, serif;
  font-size: .82rem;
}

/* Cita con ancho visual agradable y centrado. */
.post-page .post-quote {
  width: min(100%, 820px);
  margin: 42px auto;
}

/* Móvil conserva el orden solicitado: título -> meta -> hero. */
@media (max-width: 768px) {
  .post-page {
    --post-reading-width: 100%;
  }

  .post-page .post-breadcrumb,
  .post-page .post-header--stack,
  .post-page .post-header--side,
  .post-page .post-body {
    width: 100%;
  }

  .post-page .post-richtext {
    font-size: 1rem;
    line-height: 1.68;
  }

  .post-page .post-hero-full .post-image {
    max-height: 66vh;
  }

  .post-page .post-figure--bottom .post-image {
    max-height: 72vh;
  }
}


/* ==========================================================
   AVATAR EDITORIAL
   Escritorio:
   - Sin imagen en primer párrafo: avatar 34% junto al primer texto.
   - Con imagen en primer párrafo: avatar pequeño junto al autor.
   Móvil:
   - Avatar pequeño junto al autor siempre.
   ========================================================== */

.post-page .post-meta-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.post-page .post-meta-avatar {
  display: none;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  overflow: hidden;
  vertical-align: middle;
}

.post-page .post-meta-avatar picture,
.post-page .post-meta-avatar img {
  display: block;
  width: 100%;
  height: 100%;
}

.post-page .post-meta-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0 !important;
  border-radius: 50% !important;
}

/* Si el primer párrafo ya tiene imagen, el avatar se mueve al nombre del autor. */
.post-page.first-text-has-media .post-meta-avatar {
  display: inline-flex;
}

/* Sin imagen en el primer párrafo: texto + avatar editorial al 34%. */
.post-page.first-text-no-media .post-text-with-avatar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  gap: 28px;
  align-items: start;
}

.post-page.first-text-no-media .post-text-with-avatar .post-richtext {
  min-width: 0;
}

.post-page.first-text-no-media .post-text-with-avatar .post-avatar {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  justify-self: end;
}

.post-page.first-text-no-media .post-text-with-avatar .post-avatar picture,
.post-page.first-text-no-media .post-text-with-avatar .post-avatar img {
  display: block;
  width: 100%;
  height: auto;
}

.post-page.first-text-no-media .post-avatar-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0 !important;
  border-radius: 0 !important;
}

/* Con imagen en primer párrafo no debe existir un segundo avatar grande. */
.post-page.first-text-has-media .post-content-row .post-avatar {
  display: none !important;
}

@media (max-width: 768px) {
  /* En móvil el avatar siempre vive junto al nombre del autor. */
  .post-page .post-meta-avatar {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .post-page .post-text-with-avatar {
    display: block !important;
  }

  .post-page .post-text-with-avatar .post-avatar {
    display: none !important;
  }

  .post-page .post-meta-author {
    gap: 6px;
  }
}


/* ==========================================================
   AVATAR + ENCABEZADO
   - Avatar usa esquinas de 8px.
   - Si existe encabezado, se muestra pequeño junto al autor.
   ========================================================== */

/* Avatar pequeño junto al autor: rounded square, no círculo. */
.post-page .post-meta-avatar,
.post-page .post-meta-avatar-img {
  border-radius: 8px !important;
}

/* Si existe encabezado, mostrar el avatar junto al nombre del autor. */
.post-page.has-hero .post-meta-avatar {
  display: inline-flex;
}

/* Si existe encabezado, nunca usar el avatar grande de 34% en el cuerpo. */
.post-page.has-hero .post-text-with-avatar {
  display: block !important;
}

.post-page.has-hero .post-text-with-avatar .post-avatar {
  display: none !important;
}

/* Solo usar avatar grande de 34% cuando:
   - NO hay encabezado
   - NO hay imagen lateral en el primer párrafo
*/
.post-page.no-hero.first-text-no-media .post-text-with-avatar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  gap: 28px;
  align-items: start;
}

.post-page.no-hero.first-text-no-media .post-text-with-avatar .post-avatar {
  display: block;
}

/* Avatar grande también con border-radius de 8px. */
.post-page .post-avatar,
.post-page .post-avatar picture,
.post-page .post-avatar-img {
  border-radius: 8px !important;
  overflow: hidden;
}

/* Móvil: pequeño junto al nombre, igualmente con 8px. */
@media (max-width: 768px) {
  .post-page .post-meta-avatar,
  .post-page .post-meta-avatar-img {
    border-radius: 8px !important;
  }
}


/* ==========================================================
   COLOR DE TEXTO DEL AUTOR
   Hace que --post-text-color tenga prioridad sobre los colores
   blancos/muted heredados del Read Mode anterior.
   ========================================================== */

.post-page.author-theme {
  color: var(--post-text-color);
  --text-muted: var(--post-text-color);
}

/* Título: .page-title usaba text-fill transparente con gradiente blanco. */
.post-page.author-theme .post-title {
  color: var(--post-text-color) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Breadcrumb y metadatos. */
.post-page.author-theme .post-breadcrumb,
.post-page.author-theme .post-breadcrumb a,
.post-page.author-theme .post-breadcrumb .current,
.post-page.author-theme .post-meta,
.post-page.author-theme .post-meta span {
  color: var(--post-text-color) !important;
}

/* Contenido editorial. */
.post-page.author-theme .post-richtext,
.post-page.author-theme .post-richtext p,
.post-page.author-theme .post-richtext li,
.post-page.author-theme .post-richtext h1,
.post-page.author-theme .post-richtext h2,
.post-page.author-theme .post-richtext h3,
.post-page.author-theme .post-richtext h4,
.post-page.author-theme .post-richtext h5,
.post-page.author-theme .post-richtext h6,
.post-page.author-theme .post-richtext strong,
.post-page.author-theme .post-richtext em,
.post-page.author-theme .post-richtext a {
  color: var(--post-text-color) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Citas, pies de imagen, tags y enlaces inferiores. */
.post-page.author-theme .post-quote,
.post-page.author-theme .post-quote p,
.post-page.author-theme .post-quote cite,
.post-page.author-theme .post-figure figcaption,
.post-page.author-theme .post-tag-chip,
.post-page.author-theme .post-back-link,
.post-page.author-theme .legacy-link {
  color: var(--post-text-color) !important;
}

/* Navegación de la publicación: debe mantener contraste con el fondo elegido. */
.post-page.author-theme .nav-links a,
.post-page.author-theme .nav-links a.active,
.post-page.author-theme .nav-links a:hover,
.post-page.author-theme .nav-lang,
.post-page.author-theme .nav-lang:hover,
.post-page.author-theme .nav-drawer-links a,
.post-page.author-theme .nav-drawer-links a.active,
.post-page.author-theme .nav-drawer-lang,
.post-page.author-theme .nav-drawer-lang:hover {
  color: var(--post-text-color) !important;
}

/* Footer de la publicación. */
.post-page.author-theme footer,
.post-page.author-theme footer p,
.post-page.author-theme footer a {
  color: var(--post-text-color) !important;
}

/*
 * No tocamos el botón de cerrar del lightbox: su fondo siempre es negro
 * y debe conservar texto blanco independientemente del tema del artículo.
 */


/* ==========================================================
   TEMA PREDETERMINADO DE PUBLICACIONES
   Desktop: #e9e1ce → #fef3e1 + ola.
   Móvil:   mismo gradiente, sin ola.
   ========================================================== */

.post-page:not(.author-theme) {
  --post-default-bg-start: #e9e1ce;
  --post-default-bg-end: #fef3e1;
  --post-default-text: #111111;
  --post-default-border: #2b2b2b;
  --post-chip-border: rgb(43 43 43 / 42%);
  --post-chip-bg: rgb(255 255 255 / 14%);
  --post-quote-line: rgb(43 43 43 / 28%);
  --post-media-border: rgb(43 43 43 / 24%);
  color: var(--post-default-text);
  --text-muted: #37322c;
}

/* Fondo predeterminado del artículo. La ola sigue visible en escritorio. */
.post-page:not(.author-theme) .bg {
  background: linear-gradient(
    90deg,
    var(--post-default-bg-start) 0%,
    var(--post-default-bg-end) 100%
  ) !important;
}

/* El texto predeterminado debe contrastar con el nuevo fondo claro. */
.post-page:not(.author-theme) .post-title {
  color: var(--post-default-text) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
}

.post-page:not(.author-theme) .post-breadcrumb,
.post-page:not(.author-theme) .post-breadcrumb a,
.post-page:not(.author-theme) .post-breadcrumb .current,
.post-page:not(.author-theme) .post-meta,
.post-page:not(.author-theme) .post-meta span,
.post-page:not(.author-theme) .post-richtext,
.post-page:not(.author-theme) .post-richtext p,
.post-page:not(.author-theme) .post-richtext li,
.post-page:not(.author-theme) .post-richtext h1,
.post-page:not(.author-theme) .post-richtext h2,
.post-page:not(.author-theme) .post-richtext h3,
.post-page:not(.author-theme) .post-richtext h4,
.post-page:not(.author-theme) .post-richtext h5,
.post-page:not(.author-theme) .post-richtext h6,
.post-page:not(.author-theme) .post-richtext strong,
.post-page:not(.author-theme) .post-richtext em,
.post-page:not(.author-theme) .post-richtext a,
.post-page:not(.author-theme) .post-quote,
.post-page:not(.author-theme) .post-quote p,
.post-page:not(.author-theme) .post-quote cite,
.post-page:not(.author-theme) .post-figure figcaption,
.post-page:not(.author-theme) .post-tag-chip,
.post-page:not(.author-theme) .post-back-link,
.post-page:not(.author-theme) .legacy-link,
.post-page:not(.author-theme) footer,
.post-page:not(.author-theme) footer p,
.post-page:not(.author-theme) footer a {
  color: var(--post-default-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Botones/chips del tema claro usan borde oscuro de forma predeterminada. */
.post-page:not(.author-theme) .post-tag-chip,
.post-page:not(.author-theme) .post-back-link,
.post-page:not(.author-theme) .legacy-link {
  border-color: var(--post-default-border) !important;
}

.post-page:not(.author-theme) .post-tags {
  border-top-color: rgb(43 43 43 / 28%) !important;
}

/* ==========================================================
   NAV: SU TEXTO TIENE SU PROPIO CONTRASTE
   El fondo del nav es una superficie oscura/translúcida y no debe heredar
   el color del cuerpo del artículo.
   ========================================================== */

.post-page .nav-links a,
.post-page .nav-links a.active,
.post-page .nav-links a:hover,
.post-page .nav-lang,
.post-page .nav-lang:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Corrige la regla anterior que hacía que author-theme heredara text_color. */
.post-page.author-theme .nav-links a,
.post-page.author-theme .nav-links a.active,
.post-page.author-theme .nav-links a:hover,
.post-page.author-theme .nav-lang,
.post-page.author-theme .nav-lang:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Categoría/etiquetas usan el mismo borde elegido por el autor. */
.post-page.author-theme .post-tag-chip {
  border-color: var(--post-border-color) !important;
}

.post-page.author-theme .post-tags {
  border-top-color: color-mix(in srgb, var(--post-border-color) 32%, transparent) !important;
}

/* ==========================================================
   DRAWER MÓVIL — PREDETERMINADO
   Estilo solicitado para el menú hamburguesa.
   ========================================================== */

.post-page:not(.author-theme) .nav-drawer-panel {
  width: 225px;
  background: #303030;
  border-right: 1px solid #73809d3d;
  padding: 80px 0 32px;
}

.post-page:not(.author-theme) .nav-drawer-links {
  padding: 0 24px;
}

.post-page:not(.author-theme) .nav-drawer-links li {
  border-bottom: 1px solid rgb(255 255 255 / 13%);
}

.post-page:not(.author-theme) .nav-drawer-links a {
  display: block;
  padding: 18px 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdbdbd !important;
  -webkit-text-fill-color: #bdbdbd !important;
  text-decoration: none;
  transition: color 0.2s;
}

.post-page:not(.author-theme) .nav-drawer-links a:hover,
.post-page:not(.author-theme) .nav-drawer-links a.active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.post-page:not(.author-theme) .nav-drawer-lang {
  font-family: "IBM Plex Sans", sans-serif;
  color: #bdbdbd !important;
  -webkit-text-fill-color: #bdbdbd !important;
  border-top-color: rgb(255 255 255 / 13%) !important;
}

.post-page:not(.author-theme) .nav-drawer-lang:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/*
 * Si el autor personaliza el fondo, el drawer usa ese mismo fondo.
 * Así "Texto y bordes automáticos" vuelve a ser realmente automático
 * dentro del drawer: texto y separadores usan las variables del tema.
 */
.post-page.author-theme.post-bg-static .nav-drawer-panel {
  background: var(--post-bg-static);
}

.post-page.author-theme:not(.post-bg-static) .nav-drawer-panel {
  background: linear-gradient(180deg, var(--post-bg-start), var(--post-bg-end));
}

.post-page.author-theme .nav-drawer-panel {
  border-right-color: var(--post-border-color) !important;
}

.post-page.author-theme .nav-drawer-links li,
.post-page.author-theme .nav-drawer-lang {
  border-color: color-mix(in srgb, var(--post-border-color) 28%, transparent) !important;
}

.post-page.author-theme .nav-drawer-links a,
.post-page.author-theme .nav-drawer-links a:hover,
.post-page.author-theme .nav-drawer-links a.active,
.post-page.author-theme .nav-drawer-lang,
.post-page.author-theme .nav-drawer-lang:hover {
  color: var(--post-text-color) !important;
  -webkit-text-fill-color: var(--post-text-color) !important;
}

/* En móvil, el tema predeterminado conserva los mismos dos colores,
   pero desactiva la ola animada. */
@media (max-width: 768px) {
  .post-page:not(.author-theme) .bg {
    background: linear-gradient(
      90deg,
      var(--post-default-bg-start) 0%,
      var(--post-default-bg-end) 100%
    ) !important;
  }

  .post-page:not(.author-theme) .wave-track {
    display: none !important;
  }
}


/* ==========================================================
   FONDO DE IMÁGENES DE PUBLICACIONES
   - Imágenes del cuerpo: sin borde, conservan radius.
   - Fondo adaptativo al color de texto/fondo de la publicación.
   - Encabezados: conservan un borde para separarlos del fondo.
   ========================================================== */

/* Base: ya no dibujamos borde alrededor de cada imagen del artículo. */
.post-page .post-image {
  border: 0 !important;
  border-radius: 8px;
}

/*
 * Tema personalizado:
 * usamos una pequeña cantidad del color de texto como overlay translúcido.
 * Resultado:
 * - fondo claro + texto oscuro -> gris suave;
 * - fondo negro + texto blanco -> gris oscuro;
 * - fondos de color -> una variante teñida del mismo fondo.
 */
.post-page.author-theme .post-image {
  background-color: color-mix(
    in srgb,
    var(--post-text-color) 22%,
    transparent
  );
}

/* Tema predeterminado claro. */
.post-page:not(.author-theme) .post-image {
  background-color: rgb(43 43 43 / 18%);
}

/*
 * El encabezado sí conserva borde.
 * Aplica tanto al hero centrado/ancho completo como al hero lateral.
 */
.post-page .post-hero-full .post-image,
.post-page .post-hero-side .post-image {
  border: 1px solid var(
    --post-border-color,
    var(--post-default-border, #2b2b2b)
  ) !important;
}

/* El enlace/picture del hero respeta el mismo redondeo visual. */
.post-page .post-hero-full .post-image-link,
.post-page .post-hero-full picture,
.post-page .post-hero-side .post-image-link,
.post-page .post-hero-side picture {
  border-radius: 8px;
}


/* ==========================================================
   AJUSTES FINALES DE TEMA / MÓVIL
   ========================================================== */

/* En móvil nunca se dibuja la ola, incluso con tema personalizado. */
@media (max-width: 768px) {
  .post-page .wave-track {
    display: none !important;
    animation: none !important;
  }
}

/*
 * El drawer es una superficie de navegación independiente.
 * El fondo personalizado de la publicación NO debe teñirlo.
 */
.post-page .nav-drawer-panel,
.post-page.author-theme.post-bg-static .nav-drawer-panel,
.post-page.author-theme:not(.post-bg-static) .nav-drawer-panel {
  width: 225px;
  background: #303030 !important;
  border-right: 1px solid #73809d3d !important;
  padding: 80px 0 32px;
}

.post-page .nav-drawer-links {
  padding: 0 24px;
}

.post-page .nav-drawer-links li {
  border-bottom: 1px solid rgb(255 255 255 / 13%) !important;
}

.post-page .nav-drawer-links a,
.post-page.author-theme .nav-drawer-links a {
  display: block;
  padding: 18px 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdbdbd !important;
  -webkit-text-fill-color: #bdbdbd !important;
  text-decoration: none;
  transition: color 0.2s;
}

.post-page .nav-drawer-links a:hover,
.post-page .nav-drawer-links a.active,
.post-page.author-theme .nav-drawer-links a:hover,
.post-page.author-theme .nav-drawer-links a.active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.post-page .nav-drawer-lang,
.post-page.author-theme .nav-drawer-lang {
  font-family: "IBM Plex Sans", sans-serif;
  color: #bdbdbd !important;
  -webkit-text-fill-color: #bdbdbd !important;
  border-top-color: rgb(255 255 255 / 13%) !important;
}

.post-page .nav-drawer-lang:hover,
.post-page.author-theme .nav-drawer-lang:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Scrollbar de la publicación. Firefox/Chromium moderno usa scrollbar-color. */
html.post-html,
html.post-html body {
  scrollbar-width: thin;
  scrollbar-color: var(--post-scrollbar-color) var(--post-scrollbar-track);
}

/* Fallback para motores WebKit/Blink con pseudo-elementos. */
html.post-html::-webkit-scrollbar,
html.post-html body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html.post-html::-webkit-scrollbar-thumb,
html.post-html body::-webkit-scrollbar-thumb {
  background: var(--post-scrollbar-color);
  border-radius: 999px;
}

html.post-html::-webkit-scrollbar-track,
html.post-html body::-webkit-scrollbar-track {
  background: var(--post-scrollbar-track);
}


/* Imágenes colocadas "Abajo": tamaño configurable solo en escritorio. */
@media (min-width: 769px) {
  .post-page .post-figure--bottom {
    width: min(var(--post-bottom-media-width, 100%), 100%);
    margin-left: auto;
    margin-right: auto;
  }
}

/* En móvil conservan el comportamiento responsivo normal. */
@media (max-width: 768px) {
  .post-page .post-figure--bottom {
    width: 100% !important;
  }
}

/* Opción del autor para PNG/WebP transparentes. */
.post-page .post-figure--no-bg .post-image {
  background-color: transparent !important;
}


/* Seguridad: las imágenes laterales sin fondo conservan transparencia. */
.post-page .post-figure--side.post-figure--no-bg .post-image,
.post-page .post-figure--bottom.post-figure--no-bg .post-image {
  background-color: transparent !important;
}


/* ==========================================================
   ACCIONES AL FINAL DE LA PUBLICACIÓN
   Botón a la izquierda, etiquetas a la derecha.
   ========================================================== */

.post-page .post-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid color-mix(
    in srgb,
    currentColor 20%,
    transparent
  );
}

.post-page .post-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0 !important;
}

.post-page .post-tag-chip {
  border: 0 !important;
}

.post-page .post-back-link {
  margin: 0;
  border: 0 !important;
}

/* El botón de versión clásica también queda sin borde. */
.post-page .legacy-link {
  border: 0 !important;
}

/* Evita que reglas antiguas de tema vuelvan a dibujar esos bordes. */
.post-page.author-theme .post-tag-chip,
.post-page.author-theme .post-back-link,
.post-page.author-theme .legacy-link,
.post-page:not(.author-theme) .post-tag-chip,
.post-page:not(.author-theme) .post-back-link,
.post-page:not(.author-theme) .legacy-link {
  border: 0 !important;
}

/* En móvil las etiquetas vuelven arriba del botón. */
@media (max-width: 600px) {
  .post-page .post-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .post-page .post-tags {
    order: 1;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
  }

  .post-page .post-back-link {
    order: 2;
  }
}


/* ==========================================================
   LIGHTBOX: ZOOM, PAN Y CONTROLES + − ×
   ========================================================== */

.post-lightbox {
  overflow: hidden;
  padding: 0;
}

.post-lightbox-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 5vh 5vw;
  touch-action: none;
}

.post-lightbox-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
 * Pan + zoom viven en el MISMO compositing layer.
 * El desplazamiento se escribe ya ajustado a píxeles físicos desde JS.
 */
.post-lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  transform:
    translate3d(
      var(--post-lightbox-pan-x, 0),
      var(--post-lightbox-pan-y, 0),
      0
    )
    scale(var(--post-lightbox-zoom, 1));
  transform-origin: center center;
  transition: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
  touch-action: none;
}

.post-lightbox img.is-zoomed {
  cursor: grab;
}

.post-lightbox img.is-dragging {
  cursor: grabbing;
}

.post-lightbox img.is-dragging {
  transition: none;
}

.post-lightbox-controls {
  position: absolute;
  z-index: 4;
  top: max(14px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Sin círculos, fondos o bordes: +  −  × */
.post-lightbox-control,
.post-lightbox-close {
  position: static;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 2px;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: none !important;
  box-shadow: none !important;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font: 700 2rem/1 Arial, sans-serif;
  cursor: pointer;
  opacity: 0.92;
  text-shadow: 0 1px 5px rgb(0 0 0 / 65%);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.post-lightbox-control:hover,
.post-lightbox-control:focus-visible {
  background: none !important;
  opacity: 1;
  transform: scale(1.08);
}

.post-lightbox-control:focus-visible {
  outline: 2px solid rgb(255 255 255 / 72%);
  outline-offset: 5px;
}

.post-lightbox-control:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.post-page.author-theme .post-lightbox-close {
  border: 0 !important;
  background: none !important;
}

@media (max-width: 768px) {
  .post-lightbox-stage {
    padding: 7vh 5vw 5vh;
  }

  .post-lightbox img {
    max-width: 85vw;
    max-height: 85vh;
  }

  .post-lightbox-controls {
    top: max(10px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    gap: 16px;
  }

  .post-lightbox-control,
  .post-lightbox-close {
    font-size: 1.85rem;
    padding: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-lightbox-control {
    transition: none;
  }
}
