/* ===== VEZPYRE PORTFOLIO // Y2K FUTURISM ===== */
/* ===== PALETTE: #000000 #0D0D0D #202022 #C8F40F ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --accent: #C8F40F;
  --accent-dim: #6a8008;
  --accent-glow: rgba(200, 244, 15, 0.3);
  --bg: #000000;
  --panel: #0D0D0D;
  --surface: #202022;
  --border: #2a2a2c;
  --text: #D0D0D0;
  --text-dim: #666;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body, 'Share Tech Mono'), monospace;
  font-size: var(--font-size-body, 13px);
  overflow-x: hidden
}

::selection {
  background: var(--accent);
  color: #000
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: #111
}

::-webkit-scrollbar-thumb {
  background: var(--accent-dim);
  border-radius: 3px
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 111, 111, 1), transparent);
  margin: 20px 0;
}

/* ===== SPLASH PAGE (index.html) ===== */
.splash {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000
}

.splash canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0
}

#splash-whiteout {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

#splash-whiteout.is-active {
  pointer-events: all;
  background:
    var(--vezpyre-crt-filter),
    var(--vezpyre-crt-vignette),
    #fff;
}

.splash-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-content h1 {
  position: relative;
  font-size: var(--font-size-logo_3d, clamp(40px, 7vw, 80px));
  font-weight: var(--font-weight-logo_3d, 900);
  color: var(--white);
  letter-spacing: 10px;
  animation: glitch 4s infinite;
}

.splash-content h1::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;        /* più largo del logo */
  height: 50%;       /* più alto del logo */
  background: rgba(200, 244, 15, 0.1);
  filter: blur(60px); /* ← questo crea la sfumatura morbida */
  z-index: -1;        /* dietro al logo */
  pointer-events: none;
}

.splash-content h1 svg {
  width: auto;
  height: clamp(50px, 7vw, 90px);
  display: block;
}

.splash-content .tagline {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 6px;
  margin-top: 30px;
  text-transform: uppercase
}

.enter-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 40px;
  border: 1px solid rgba(200, 244, 15, 0.4);
  color: var(--accent);
  font-family: var(--font-buttons, 'Michroma'), sans-serif;
  font-size: var(--font-size-buttons, 13px);
  letter-spacing: 5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(55, 55, 55, 1) 0%, rgba(30, 30, 30, 1) 10%, rgba(15, 15, 15, 1) 100%);
  border-radius: 3px;
  animation: ps2Pulse 2.5s ease-in-out infinite;
}

.enter-btn:hover {
  text-decoration: none;
  background: linear-gradient(180deg, rgba(70, 70, 70, 1) 0%, rgba(40, 40, 40, 1) 10%, rgba(20, 20, 20, 1) 100%);
  box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(200, 244, 15, 0.1);
  border-color: var(--accent);
}

@keyframes ps2Pulse {

  0%,
  100% {
    border-color: rgba(200, 244, 15, 0.25);
    box-shadow: none;
  }

  50% {
    border-color: rgba(200, 244, 15, 0.5);
    box-shadow: 0 0 15px rgba(200, 244, 15, 0.4);
  }
}

.splash-hint {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 4px;
  text-transform: uppercase
}

.splash-lines {
  position: absolute;
  bottom: 45px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 30px
}

.s-line {
  height: 2px;
  background: var(--accent);
  flex: 1;
  max-width: 35px;
  opacity: 0.15;
  animation: scanPulse 3s ease-in-out infinite;
  box-shadow: 0 0 4px var(--accent-glow)
}

.s-line:nth-child(1) {
  animation-delay: 0s
}

.s-line:nth-child(2) {
  animation-delay: 0.2s;
  max-width: 12px
}

.s-line:nth-child(3) {
  animation-delay: 0.4s
}

.s-line:nth-child(4) {
  animation-delay: 0.6s;
  max-width: 12px
}

.s-line:nth-child(5) {
  animation-delay: 0.8s
}

.s-line:nth-child(6) {
  animation-delay: 1.0s;
  max-width: 12px
}

.s-line:nth-child(7) {
  animation-delay: 1.2s
}

.s-line:nth-child(8) {
  animation-delay: 1.4s;
  max-width: 12px
}

@keyframes scanPulse {

  0%,
  100% {
    opacity: 0.1;
    box-shadow: none;
    transform: scaleX(1)
  }

  50% {
    opacity: 0.8;
    box-shadow: 0 0 12px var(--accent-glow), 0 0 4px var(--accent);
    transform: scaleX(1.1)
  }
}

/* ===== PANELS ===== */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden
}

.panel-header {
  background: linear-gradient(180deg, var(--surface), #181818);
  padding: 5px 12px;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px
}

.panel-header::before {
  content: '++';
  color: var(--text-dim)
}

.panel-header::after {
  content: '¤';
  margin-left: auto;
  color: var(--text-dim)
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 30px;
  display: flex;
  align-items: center;
  height: 50px
}

#navbar .logo {
  font-family: var(--font-navbar, 'Michroma'), sans-serif;
  font-weight: 900;
  font-size: var(--font-size-navbar, 18px);
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
  letter-spacing: 3px;
  text-decoration: none
}

#navbar .logo span {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 12px
}

#navbar nav {
  margin-left: auto;
  display: flex;
  gap: 0
}

#navbar nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-navbar, 'Share Tech Mono'), monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 15px 14px;
  transition: all 0.3s;
  position: relative
}

#navbar nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow)
}

#navbar nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s;
  transform: translateX(-50%)
}

#navbar nav a:hover::after {
  width: 80%
}

.nav-sep {
  color: var(--text-dim);
  opacity: 0.3;
  padding: 15px 2px;
  font-size: 11px
}

/* ===== PORTFOLIO GRID — Masonry ===== */
.portfolio-grid {
  width: 100%;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  transition: all 0.4s;
  cursor: pointer;
  width: 100%;
}

.portfolio-item:hover {
  border-color: var(--accent);
}

.portfolio-item .item-img {
  width: 100%;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
  line-height: 0
}

.portfolio-item .item-img img {
  width: 100%;
  height: auto;
  display: block
}

.portfolio-item .item-info {
  padding: 12px 15px
}

.portfolio-item .item-info h3 {
  font-family: var(--font-headings, 'Michroma'), sans-serif;
  font-size: 12px;
  color: var(--white);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.4
}

.portfolio-item .item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px
}

.portfolio-item .item-tag {
  background: rgba(200, 244, 15, 0.15);
  color: var(--accent);
  font-size: 9px;
  padding: 2px 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(200, 244, 15, 0.1)
}

.portfolio-item .item-tag:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent)
}

/* Tag filter bar */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px
}

.tag-filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-body, 'Share Tech Mono'), monospace;
  font-size: 11px;
  padding: 5px 14px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s
}

.tag-filter-btn:hover,
.tag-filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200, 244, 15, 0.08)
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px
}

.about-text {
  line-height: 1.8;
  font-size: 13px;
  padding: 15px 0
}

.about-text ul,
.about-text ol {
  margin: 10px 0;
  padding-left: 0;
  list-style-position: inside
}

.about-text li {
  margin: 5px 0
}

.about-text .highlight {
  color: var(--accent)
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.stat-box {
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--panel)
}

.stat-box .stat-num {
  font-family: var(--font-headings, 'Michroma'), sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent)
}

.stat-box .stat-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px
}

/* ===== NEWS CARDS ===== */
.news-card {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.news-card:hover {
  border-color: var(--accent);
}

.news-card-thumb {
  width: 40%; /* Dynamic proportion */
  max-width: 260px; /* Limits maximum height */
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
  filter: brightness(0.85);
  display: block;
}

.news-card:hover .news-card-thumb img {
  filter: brightness(1);
}



.news-card-content {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: min(40%, 260px);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.news-card-content h3 {
  font-family: var(--font-headings, 'Michroma'), sans-serif;
  font-size: 17px;
  color: var(--accent);
  letter-spacing: 1px;
  margin: 0 0 5px 0;
  line-height: 1.3;
  white-space: normal;
  word-wrap: break-word;
  flex-shrink: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-card-content p {
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  margin: 5px 0 0 0;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.news-card-meta .date {
  font-family: var(--font-headings, 'Michroma'), sans-serif;
  font-size: 10px;
  color: var(--text);
  font-weight: 900;
  white-space: nowrap;
}

/* ===== CONTACT ===== */
.contact-form {
  max-width: 100%;
  width: 100%
}

.form-group {
  margin-bottom: 15px
}

.form-group label {
  display: block;
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px
}

.form-group label::before {
  content: '> '
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body, 'Share Tech Mono'), monospace;
  font-size: 13px;
  padding: 10px 12px;
  transition: border-color 0.3s;
  outline: none
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-dim);
  box-shadow: 0 0 10px rgba(200, 244, 15, 0.08)
}

.form-group textarea {
  height: 120px;
  resize: vertical
}

.submit-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-buttons, 'Michroma'), sans-serif;
  font-size: var(--font-size-buttons, 12px);
  letter-spacing: 3px;
  padding: 12px 30px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden
}

.submit-btn:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px var(--accent-glow)
}

/* ===== FOOTER ===== */
#footer {
  border-top: 1px solid var(--border);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-footer, 'Share Tech Mono'), monospace;
  font-size: var(--font-size-footer, 10px);
  color: var(--text-dim);
  letter-spacing: 1px
}

#footer a {
  color: var(--accent-dim);
  text-decoration: none
}

/* ===== ANIMATIONS ===== */
@keyframes glitch {

  0%,
  93% {
  filter: drop-shadow(0 0 40px rgba(200, 244, 15, 0.50))
          drop-shadow(0 0 20px rgba(200, 244, 15, 0.30));
    transform: translate(0px);
  }

  94% {
    filter: drop-shadow(2px 0 var(--accent)) drop-shadow(-2px 0 #ff0040);
    transform: translate(2px);
  }

  96% {
    filter: drop-shadow(2px 0 var(--accent)) drop-shadow(-2px 0 #ff0040);
    transform: translate(-2px);
  }

  98% {
  filter: drop-shadow(0 0 40px rgba(200, 244, 15, 0.40))
          drop-shadow(0 0 20px rgba(200, 244, 15, 0.30));
    transform: translate(0);
  }
}

@keyframes blink {

  0%,
  50% {
    opacity: 1
  }

  51%,
  100% {
    opacity: 0
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ===== PORTFOLIO IMAGES ===== */
.portfolio-item .item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s, filter 0.4s;
  filter: brightness(0.85)
}

.portfolio-item:hover .item-img img {
  filter: brightness(1)
}

/* ===== DETAIL MODAL ===== */
.detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s
}

.detail-modal.open {
  opacity: 1
}

.detail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px)
}

.detail-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  transform: translateY(20px);
  transition: transform 0.3s
}

.detail-modal.open .detail-content {
  transform: translateY(0)
}

.detail-header {
  display: flex;
  align-items: stretch
}

.detail-header .panel-header {
  flex: 1
}

.detail-close {
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  color: var(--accent);
  font-size: 22px;
  cursor: pointer;
  padding: 0 14px;
  transition: all 0.2s;
  line-height: 1;
  font-family: var(--font-headings, 'Michroma'), sans-serif;
  background: var(--surface)
}

.detail-close:hover {
  background: var(--accent);
  color: #000
}

.detail-media {
  width: 100%;
  background: transparent;
  position: relative
}

.detail-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block
}

.detail-canvas {
  width: 100%;
  height: 400px
}

.detail-desc {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word
}

.detail-body {
  padding: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word
}

.detail-date {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 2px
}

/* Desk detail columns */
.desktop-detail-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  height: 100% !important;
}

.desktop-detail-left {
  flex: 6.5;
  overflow-y: auto;
  height: 100%;
  padding: 20px 0 20px 20px;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.desktop-detail-left::-webkit-scrollbar {
  display: none;
}

.desktop-detail-left img,
.desktop-detail-left video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.desktop-detail-right {
  flex: 3.5;
  padding: 20px 20px 30px 0;
  overflow-y: auto;
  height: 100%;
}

/* Keep scrollbar visible for the right side, but thin */
.desktop-detail-right::-webkit-scrollbar {
  width: 5px;
}

.desktop-detail-right::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
}

.desktop-detail-right::-webkit-scrollbar-thumb {
  background: rgba(200, 244, 15, 0.12);
  border-radius: 3px;
}

.desktop-detail-right::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 244, 15, 0.25);
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    .splash-content .tagline {
      font-size: 11px;
      letter-spacing: 3px;
      margin-top: 17px;
  }
    
  .about-grid {
    grid-template-columns: 1fr
  }

  .portfolio-grid {
    width: 100%;
  }

  .portfolio-item {
    width: 100%;
  }

  #navbar {
    padding: 0 10px
  }

  #navbar nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
  }

  #navbar nav a {
    padding: 15px 6px;
    font-size: 9px;
    white-space: nowrap
  }

  .nav-sep {
    padding: 15px 1px
  }

  section {
    padding: 60px 15px
  }

  .splash-content h1 {
    letter-spacing: 6px
  }

  .splash-content h1 svg {
    max-width: 85vw;
    height: auto;
  }

  .enter-btn {
    margin-top: 30px;
    padding: 12px 30px;
    font-size: 12px;
    letter-spacing: 4px
  }

  .splash-lines {
    bottom: 35px;
    padding: 0 20px
  }

  .splash-hint {
    bottom: 15px;
    font-size: 8px
  }

  /* CRT filter on whiteout — use mobile pixel density to match #crt */
  html:not(.device-tablet) #splash-whiteout.is-active {
    background:
      var(--vezpyre-crt-filter-mobile),
      var(--vezpyre-crt-vignette),
      #fff;
  }

  /* ===== MOBILE: Reduce window body padding ===== */
  .window-body {
    padding: 18px !important;
  }
  .window-body .site-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* ===== MOBILE: News card redesign (inspired by multiplayer.it) ===== */
  .news-card {
    margin-bottom: 12px;
  }

  .news-card-thumb {
    width: 35%;
    max-width: none;
    aspect-ratio: 4 / 3;
  }

  .news-card-content {
    left: 35%;
    padding: 10px;
  }

  .news-card-content h3 {
    font-size: 14px;
    margin: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .news-card-meta {
    margin-bottom: 3px;
  }

  .news-card-meta .date {
    font-size: 9px;
  }

  /* Hide excerpt text on mobile — only date + title */
  .news-card-content p {
    display: none;
  }
}

/* Image percentage classes (TinyMCE) */
img.img-25 {
  width: 25%;
  height: auto
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  gap: 0;
  margin-left: 12px;
  border: 1px solid var(--border);
}

.lang-switcher a {
  padding: 4px 8px;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.3s;
}

.lang-switcher a:hover {
  color: var(--accent);
  background: rgba(200, 244, 15, 0.05);
}

.lang-switcher a.active-lang {
  background: var(--accent);
  color: #000;
}

.lang-switcher a+a {
  border-left: 1px solid var(--border);
}

img.img-33 {
  width: 33%;
  height: auto
}

img.img-50 {
  width: 50%;
  height: auto
}

img.img-75 {
  width: 75%;
  height: auto
}

img.img-100 {
  width: 100%;
  height: auto
}

/* ===== VIDEO BACKGROUND + 3D CANVAS ===== */
#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100vw;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* ===== QUILL RICH-TEXT ALIGNMENT (About + Blog posts) ===== */
.ql-align-center  { text-align: center; }
.ql-align-right   { text-align: right; }
.ql-align-justify { text-align: justify; }
.ql-align-left    { text-align: left; }

/* ===== QUILL FONT SIZE ===== */
/* Legacy preset names — kept for backward compatibility with existing content */
.ql-size-small { font-size: 0.75em; }
.ql-size-large { font-size: 1.5em; }
.ql-size-huge  { font-size: 2.5em; }
/* Numeric sizes (px) — selected from the admin editor */
.ql-size-10px { font-size: 10px; }
.ql-size-12px { font-size: 12px; }
.ql-size-14px { font-size: 14px; }
.ql-size-16px { font-size: 16px; }
.ql-size-18px { font-size: 18px; }
.ql-size-20px { font-size: 20px; }
.ql-size-24px { font-size: 24px; }
.ql-size-28px { font-size: 28px; }
.ql-size-32px { font-size: 32px; }
.ql-size-36px { font-size: 36px; }
.ql-size-48px { font-size: 48px; }
.ql-size-72px { font-size: 72px; }

/* ===== ABOUT (windowed view inside site.php) ===== */
.about-text img {
  max-width: 100%;
  height: auto;
}

/* Zero margin on every block tag — consecutive lines stay tight (Word-style).
   Empty paragraphs (<p><br></p>) still take exactly one line-height of vertical
   space, so users insert visible separations with empty lines. */
.about-text h1,
.about-text h2,
.about-text h3,
.about-text h4,
.about-text h5,
.about-text h6,
.about-text p,
.about-text ul,
.about-text ol,
.about-text blockquote {
  margin: 0;
}

