/* Aliases for copihue-* classes mapping to Tailwind brand palette */
:root {
  --copihue-50:  #fef2f2;
  --copihue-100: #fee2e2;
  --copihue-200: #fecaca;
  --copihue-300: #fca5a5;
  --copihue-400: #f87171;
  --copihue-500: #dc2626; /* brand-500 */
  --copihue-600: #b91c1c; /* brand-600 */
  --copihue-700: #991b1b;
  --copihue-800: #7f1d1d;
  --copihue-900: #6b1d1d;
}

/* Background */
.bg-copihue-50  { background-color: var(--copihue-50) !important; }
.bg-copihue-100 { background-color: var(--copihue-100) !important; }
.bg-copihue-200 { background-color: var(--copihue-200) !important; }
.bg-copihue-400 { background-color: var(--copihue-400) !important; }
.bg-copihue-500 { background-color: var(--copihue-500) !important; }
.bg-copihue-600 { background-color: var(--copihue-600) !important; }
.bg-copihue-700 { background-color: var(--copihue-700) !important; }
.bg-copihue-800 { background-color: var(--copihue-800) !important; }
.bg-copihue-900 { background-color: var(--copihue-900) !important; }

/* Text */
.text-copihue-50  { color: var(--copihue-50) !important; }
.text-copihue-100 { color: var(--copihue-100) !important; }
.text-copihue-200 { color: var(--copihue-200) !important; }
.text-copihue-400 { color: var(--copihue-400) !important; }
.text-copihue-500 { color: var(--copihue-500) !important; }
.text-copihue-600 { color: var(--copihue-600) !important; }
.text-copihue-700 { color: var(--copihue-700) !important; }
.text-copihue-800 { color: var(--copihue-800) !important; }
.text-copihue-900 { color: var(--copihue-900) !important; }

/* Border */
.border-copihue-500 { border-color: var(--copihue-500) !important; }
.border-copihue-600 { border-color: var(--copihue-600) !important; }

/* Hover variants */
.hover\:text-copihue-600:hover { color: var(--copihue-600) !important; }
.hover\:bg-copihue-600:hover { background-color: var(--copihue-600) !important; }
.hover\:bg-copihue-700:hover { background-color: var(--copihue-700) !important; }

/* Focus ring color */
.focus\:ring-copihue-500:focus { --tw-ring-color: var(--copihue-500) !important; }

/* Group hover text */
.group:hover .group-hover\:text-copihue-600 { color: var(--copihue-600) !important; }

/* Gradients */
.from-copihue-500 { 
  --tw-gradient-from: var(--copihue-500) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(220 38 38 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-copihue-600 {
  --tw-gradient-to: var(--copihue-600) var(--tw-gradient-to-position);
}
.from-copihue-600 { 
  --tw-gradient-from: var(--copihue-600) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(185 28 28 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-copihue-700 {
  --tw-gradient-to: var(--copihue-700) var(--tw-gradient-to-position);
}

/* Share button pop animation */
.share-pop-animate {
  animation: share-pop 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.share-modal-panel {
  transform-origin: center;
}

.share-modal-pop {
  animation: share-modal-pop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes share-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes share-modal-pop {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Newsletter toast */
/* Sitewide toast notifications */
.site-toast-stack {
  position: fixed;
  top: 4.75rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10000;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 2rem));
}

.site-toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 280px;
  max-width: 360px;
  padding: 0.95rem 1rem 0.95rem 1.1rem;
  border-radius: 1rem;
  border-inline-start: 5px solid var(--toast-accent, #2563eb);
  box-shadow: 0 28px 56px -28px rgba(15, 23, 42, 0.55);
  pointer-events: auto;
  opacity: 0;
  --toast-surface: #ffffff;
  --toast-text: #0f172a;
  --toast-text-secondary: #1f2937;
  --toast-text-muted: #475569;
  transform: translate3d(120%, 0, 0);
  animation: site-toast-enter 0.55s cubic-bezier(0.22, 0.78, 0.24, 1) forwards;
  transition: transform 0.28s ease, opacity 0.24s ease;
  touch-action: pan-y;
  background: var(--toast-surface);
  color: var(--toast-text);
}

.site-toast > * {
  position: relative;
  z-index: 1;
}

.site-toast--info {
  --toast-accent: #2563eb;
  --toast-surface: #eef4ff;
  --toast-text: #0f172a;
  --toast-text-secondary: #1d4ed8;
  --toast-text-muted: #1e3a8a;
}

.site-toast--success {
  --toast-accent: #16a34a;
  --toast-surface: #ecfdf3;
  --toast-text: #064e3b;
  --toast-text-secondary: #15803d;
  --toast-text-muted: #0f5132;
}

.site-toast--warning {
  --toast-accent: #f97316;
  --toast-surface: #fff7ed;
  --toast-text: #7c2d12;
  --toast-text-secondary: #b45309;
  --toast-text-muted: #92400e;
}

.site-toast--error {
  --toast-accent: #dc2626;
  --toast-surface: #fee2e2;
  --toast-text: #7f1d1d;
  --toast-text-secondary: #b91c1c;
  --toast-text-muted: #991b1b;
}

.site-toast--system {
  --toast-accent: #7c3aed;
  --toast-surface: #f5f3ff;
  --toast-text: #4c1d95;
  --toast-text-secondary: #6d28d9;
  --toast-text-muted: #5b21b6;
}

.site-toast--leaving {
  opacity: 0;
  transform: translate3d(140%, 0, 0);
}

.site-toast__icon {
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.15rem;
  color: var(--toast-accent, #2563eb);
}

.site-toast__icon svg {
  width: 100%;
  height: 100%;
}

.site-toast__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.site-toast__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--toast-text);
}

.site-toast__message {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--toast-text-secondary);
}

.site-toast__description {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--toast-text-muted);
}

.site-toast__controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.25rem;
}

.site-toast__action {
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: var(--toast-accent, #2563eb);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 20px -12px rgba(15, 23, 42, 0.35);
}

.site-toast__action:hover,
.site-toast__action:focus-visible {
  background: rgba(15, 23, 42, 0.16);
  color: var(--toast-accent, #2563eb);
}

.site-toast__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: none;
  background: rgba(15, 23, 42, 0.05);
  color: var(--toast-text-muted, #475569);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-toast__dismiss:hover,
.site-toast__dismiss:focus-visible {
  background: rgba(15, 23, 42, 0.12);
  color: var(--toast-text, #0f172a);
  transform: translateY(-1px);
}

@keyframes site-toast-enter {
  0% {
    opacity: 0;
    transform: translate3d(120%, 0, 0);
  }
  70% {
    opacity: 1;
    transform: translate3d(-12px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 640px) {
  .site-toast-stack {
    top: 4.25rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    align-items: stretch;
  }

  .site-toast {
    width: 100%;
    min-width: unset;
  }
}

[data-notification-trigger].notification-trigger--highlight {
  animation: notification-trigger-pulse 1.1s ease-in-out 2;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.18);
}

@keyframes notification-trigger-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 9px rgba(37, 99, 235, 0.16);
  }
}

[data-marquee-container] {
  position: relative;
}

[data-marquee-container] [data-marquee-text] {
  display: inline-block;
  min-width: 100%;
  padding-right: 1rem;
  will-change: transform;
}

[data-marquee-container].marquee-active [data-marquee-text] {
  animation-name: admin-title-marquee;
  animation-duration: var(--marquee-duration, 12s);
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-timing-function: linear;
}

@keyframes admin-title-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--marquee-distance, 0px)));
  }
}

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--animate-delay, 0ms);
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

[data-toolbar-button] {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

[data-toolbar-button].is-active,
[data-toolbar-button][aria-pressed="true"] {
  background-color: var(--copihue-600);
  color: #fff;
  border-color: var(--copihue-600);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

.hero-cta {
  border-radius: 0.95rem;
}

@media (max-width: 640px) {
  .hero-cta {
    font-size: 1.05rem;
    padding: 1.05rem 2.75rem;
    border-radius: 1.2rem;
    letter-spacing: 0.01em;
    box-shadow: 0 28px 48px -24px rgba(15, 23, 42, 0.35);
  }
}

.hero-headline-text {
  position: relative;
  display: inline-block;
}

.hero-headline-text::after {
  content: '';
  display: inline-block;
  width: 0.4rem;
  height: 1em;
  margin-left: 0.28rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  opacity: 0;
  vertical-align: bottom;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-headline-text[data-caret-active="true"]::after {
  opacity: 1;
}

.hero-headline-text[data-caret-active="true"][data-caret-blink="true"]::after {
  opacity: 1;
  animation: hero-caret-beat 0.95s steps(2, start) infinite;
}

@keyframes hero-caret-beat {
  0%,
  45% {
    opacity: 0.85;
    transform: scaleY(1);
  }
  55%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.4);
  }
}

.share-copy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.55rem 1rem;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, filter 0.18s ease;
  box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.75);
}

.share-copy-button svg {
  width: 1.1rem;
  height: 1.1rem;
  color: inherit;
}

.share-copy-button:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -18px rgba(15, 23, 42, 0.8);
}

.share-copy-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px -18px rgba(15, 23, 42, 0.75);
}

.share-copy-button:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.7);
  outline-offset: 3px;
}

.share-network-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.95) 100%);
  color: #1f2937;
  box-shadow: 0 16px 42px -20px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.share-network-badge:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 46px -20px rgba(15, 23, 42, 0.4);
}

.share-network-badge:focus-visible {
  outline: 2px solid rgba(79, 70, 229, 0.45);
  outline-offset: 3px;
}

.share-network-badge[data-theme="dark"] {
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 24px 52px -24px rgba(15, 23, 42, 0.7);
}

.share-network-badge[data-theme="dark"]:hover {
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 28px 60px -24px rgba(15, 23, 42, 0.75);
}

.share-network-button {
  --share-brand-color: #2563eb;
  --share-brand-hover: #1d4ed8;
  --share-brand-active: #1e40af;
  --share-brand-shadow: rgba(37, 99, 235, 0.35);
  --share-icon-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 1.1rem;
  border: none;
  background: var(--share-brand-color);
  color: var(--share-icon-color);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, filter 0.18s ease;
  box-shadow: 0 18px 38px -18px var(--share-brand-shadow);
  text-decoration: none;
}

.share-network-button svg {
  width: 1.55rem;
  height: 1.55rem;
  color: var(--share-icon-color);
}

.share-network-button:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--share-brand-hover);
  box-shadow: 0 24px 54px -20px var(--share-brand-shadow);
}

.share-network-button:active {
  transform: translateY(0) scale(0.97);
  background: var(--share-brand-active);
  box-shadow: 0 18px 38px -20px var(--share-brand-shadow);
}

.share-network-button:focus-visible {
  outline: 2px solid rgba(15, 23, 42, 0.35);
  outline-offset: 3px;
}

.share-network-button--whatsapp {
  --share-brand-color: #25d366;
  --share-brand-hover: #21c85e;
  --share-brand-active: #1fa851;
  --share-brand-shadow: rgba(37, 211, 102, 0.5);
  --share-icon-color: #ffffff;
}

.share-network-button--facebook {
  --share-brand-color: #1877f2;
  --share-brand-hover: #0f6ae5;
  --share-brand-active: #0c5ed4;
  --share-brand-shadow: rgba(24, 119, 242, 0.5);
  --share-icon-color: #ffffff;
}

.share-network-button--x {
  --share-brand-color: #000000;
  --share-brand-hover: #0a0a0a;
  --share-brand-active: #050505;
  --share-brand-shadow: rgba(0, 0, 0, 0.5);
  --share-icon-color: #ffffff;
}

.share-network-button--linkedin {
  --share-brand-color: #0a66c2;
  --share-brand-hover: #0b5aa8;
  --share-brand-active: #0a4c8b;
  --share-brand-shadow: rgba(10, 102, 194, 0.5);
  --share-icon-color: #ffffff;
}

.share-network-button--instagram {
  --share-brand-shadow: rgba(221, 42, 123, 0.45);
  --share-icon-color: #ffffff;
  background: linear-gradient(135deg, #f58529 0%, #f77737 22%, #dd2a7b 48%, #962fbf 74%, #4f5bd5 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 24px 52px -22px rgba(221, 42, 123, 0.42);
}

.share-network-button--instagram:hover {
  background: linear-gradient(135deg, #fb8c3c 0%, #ff5f6d 30%, #e03688 58%, #8f3bbe 82%, #5f66e4 100%);
  box-shadow: 0 28px 56px -22px rgba(221, 42, 123, 0.5);
}

.share-network-button--instagram:active {
  background: linear-gradient(135deg, #e97a24 0%, #d7286a 36%, #b72ca9 68%, #474ad3 100%);
  box-shadow: 0 22px 48px -22px rgba(221, 42, 123, 0.45);
}

.share-network-button--instagram svg {
  color: #ffffff;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

.share-network-button--email {
  --share-brand-color: #ea4335;
  --share-brand-hover: #d73c30;
  --share-brand-active: #b6322a;
  --share-brand-shadow: rgba(234, 67, 53, 0.45);
  --share-icon-color: #ffffff;
}

.share-icon-button {
  --share-icon-size: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--share-icon-size);
  height: var(--share-icon-size);
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.93);
  color: #2563eb;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  box-shadow: 0 20px 40px -22px rgba(37, 99, 235, 0.45);
  backdrop-filter: saturate(160%) blur(6px);
}

.share-icon-button svg {
  width: 1.25rem;
  height: 1.25rem;
  color: inherit;
}

.share-icon-button:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.55);
  color: #1d4ed8;
  box-shadow: 0 24px 52px -20px rgba(59, 130, 246, 0.6);
}

.share-icon-button:active {
  transform: translateY(0);
  box-shadow: 0 16px 32px -20px rgba(37, 99, 235, 0.5);
}

.share-icon-button:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.7);
  outline-offset: 3px;
}

.share-icon-button[data-size="sm"] {
  --share-icon-size: 2.25rem;
}

.share-icon-button[data-surface="dark"] {
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(255, 255, 255, 0.4);
  color: #f8fafc;
  box-shadow: 0 28px 56px -26px rgba(15, 23, 42, 0.9);
}

.share-icon-button[data-surface="dark"]:hover {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.share-icon-button[data-surface="dark"]:active {
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.85);
}

.filter-field-modern {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6b7280;
}

.filter-control {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

.filter-control input,
.filter-control select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  color: #1f2937;
}

.filter-control select {
  padding-right: 1.75rem;
  appearance: none;
}

.filter-control:focus-within {
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 18px 40px -24px rgba(79, 70, 229, 0.45);
  transform: translateY(-1px);
}

.filter-control svg {
  flex-shrink: 0;
  color: #9ca3af;
}

[data-news-filter-toggle][aria-expanded="true"] {
  border-color: rgba(79, 70, 229, 0.45);
  color: var(--copihue-600);
  background: rgba(79, 70, 229, 0.06);
}



.news-richtext p {
  color: #1f2937;
  margin-bottom: 1rem;
}

.news-richtext h2,
.news-richtext h3,
.news-richtext h4 {
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.news-richtext ul,
.news-richtext ol {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  color: #1f2937;
}

.news-richtext > *:first-child {
  margin-top: 0;
}

.news-richtext a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
}

.news-richtext a:hover {
  color: #1d4ed8;
}

.news-richtext blockquote {
  border-left: 3px solid rgba(37, 99, 235, 0.3);
  padding-left: 1rem;
  color: #334155;
  font-style: italic;
}

.news-richtext table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  font-size: 0.95rem;
  background: #ffffff;
  box-shadow: 0 18px 42px -24px rgba(15, 23, 42, 0.18);
}

.news-richtext thead th {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  padding: 0.85rem 1.25rem;
  text-align: left;
}

.news-richtext tbody td {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  color: #1f2937;
}

.news-richtext tbody tr:nth-child(even) {
  background: #f8fafc;
}

.news-richtext img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.5rem 0;
  box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.45);
}

.news-richtext figure {
  margin: 2rem 0;
  text-align: center;
}

.news-richtext figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #64748b;
}

.news-richtext code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  padding: 0.15rem 0.4rem;
  border-radius: 0.4rem;
}

.news-richtext pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.25rem 1.5rem;
  border-radius: 1.1rem;
  margin: 1.75rem 0;
  overflow-x: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.news-richtext hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2.25rem 0;
}
.adaptive-grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.adaptive-grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.adaptive-grid-loose {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 1280px) {
  .adaptive-grid-3 {
    gap: 1.5rem;
  }
  .adaptive-grid-loose {
    gap: 1.75rem;
  }
}
