:root {
  color-scheme: light;
  --color-error: 186 26 26;
  --color-primary-fixed: 255 219 199;
  --color-primary-container: 255 235 225;
  --color-primary-fixed-dim: 255 182 136;
  --color-outline: 112 112 112;
  --color-outline-variant: 214 214 214;
  --color-on-tertiary-fixed: 49 19 0;
  --color-surface-container: 255 255 255;
  --color-on-surface: 17 17 17;
  --color-on-secondary-fixed: 47 21 0;
  --color-surface-variant: 238 238 238;
  --color-on-tertiary-fixed-variant: 115 54 0;
  --color-on-primary-fixed: 49 19 0;
  --color-tertiary-fixed: 255 219 199;
  --color-background: 240 244 245;
  --color-on-secondary-container: 96 49 0;
  --color-on-primary-fixed-variant: 115 54 0;
  --color-surface-container-low: 255 255 255;
  --color-on-error-container: 65 0 2;
  --color-error-container: 255 218 214;
  --color-on-error: 255 255 255;
  --color-secondary-container: 255 220 195;
  --color-tertiary-fixed-dim: 255 182 136;
  --color-surface-tint: 239 95 44;
  --color-surface-container-lowest: 255 255 255;
  --color-inverse-on-surface: 245 245 245;
  --color-secondary-fixed: 255 220 195;
  --color-surface-dim: 224 224 224;
  --color-on-tertiary: 255 255 255;
  --color-on-tertiary-container: 71 30 0;
  --color-on-primary: 255 255 255;
  --color-on-background: 101 116 135;
  --color-tertiary: 137 65 0;
  --color-surface-container-high: 241 241 241;
  --color-inverse-surface: 48 48 48;
  --color-primary: 239 95 44;
  --color-on-secondary: 255 255 255;
  --color-tertiary-container: 255 219 199;
  --color-surface-bright: 255 255 255;
  --color-on-secondary-fixed-variant: 110 57 0;
  --color-surface: 255 255 255;
  --color-on-primary-container: 49 19 0;
  --color-surface-container-highest: 232 232 232;
  --color-secondary: 127 73 27;
  --color-secondary-fixed-dim: 255 183 125;
  --color-on-surface-variant: 74 74 74;
  --color-inverse-primary: 255 182 136;
}

html:not(.dark)::selection {
  background: rgb(var(--color-primary));
  color: rgb(var(--color-on-primary));
}

html:not(.dark)::-moz-selection {
  background: rgb(var(--color-primary));
  color: rgb(var(--color-on-primary));
}

.dark {
  color-scheme: dark;
  --color-error: 255 180 171;
  --color-primary-fixed: 255 219 199;
  --color-primary-container: 239 95 44;
  --color-primary-fixed-dim: 255 182 136;
  --color-outline: 138 145 159;
  --color-outline-variant: 64 71 83;
  --color-on-tertiary-fixed: 49 19 0;
  --color-surface-container: 32 31 31;
  --color-on-surface: 229 226 225;
  --color-on-secondary-fixed: 47 21 0;
  --color-surface-variant: 53 53 52;
  --color-on-tertiary-fixed-variant: 115 54 0;
  --color-on-primary-fixed: 49 19 0;
  --color-tertiary-fixed: 255 219 199;
  --color-background: 19 19 19;
  --color-on-secondary-container: 96 49 0;
  --color-on-primary-fixed-variant: 115 54 0;
  --color-surface-container-low: 28 27 27;
  --color-on-error-container: 255 218 214;
  --color-error-container: 147 0 10;
  --color-on-error: 105 0 5;
  --color-secondary-container: 253 139 0;
  --color-tertiary-fixed-dim: 255 182 136;
  --color-surface-tint: 239 95 44;
  --color-surface-container-lowest: 14 14 14;
  --color-inverse-on-surface: 49 48 48;
  --color-secondary-fixed: 255 220 195;
  --color-surface-dim: 19 19 19;
  --color-on-tertiary: 81 36 0;
  --color-on-tertiary-container: 71 30 0;
  --color-on-primary: 255 255 255;
  --color-on-background: 229 226 225;
  --color-tertiary: 255 182 136;
  --color-surface-container-high: 42 42 42;
  --color-inverse-surface: 229 226 225;
  --color-primary: 239 95 44;
  --color-on-secondary: 77 38 0;
  --color-tertiary-container: 227 113 3;
  --color-surface-bright: 57 57 57;
  --color-on-secondary-fixed-variant: 110 57 0;
  --color-surface: 19 19 19;
  --color-on-primary-container: 255 255 255;
  --color-surface-container-highest: 53 53 52;
  --color-secondary: 255 183 125;
  --color-secondary-fixed-dim: 255 183 125;
  --color-on-surface-variant: 192 199 214;
  --color-inverse-primary: 239 95 44;
}

@font-face {
  font-family: "OPPO Sans 4.0";
  src: local("OPPO Sans 4.0"), local("OPPOSans 4.0"), local("OPPOSans");
  font-display: swap;
}

@font-face {
  font-family: "Play";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("/fonts/play/play-regular.woff2") format("woff2"),
    url("/fonts/play/play-regular.woff") format("woff");
}

@font-face {
  font-family: "Play";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url("/fonts/play/play-bold.woff2") format("woff2"),
    url("/fonts/play/play-bold.woff") format("woff");
}

body {
  font-family: Play, "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC",
    "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  background-color: rgb(var(--color-background));
  color: rgb(var(--color-on-background));
  font-size: 14px;
  line-height: 1.42857143;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.auth-modal-open {
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(0, 0, 0, 0.52);
}

html.auth-modal-open::-webkit-scrollbar {
  width: 14px;
}

html.auth-modal-open::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.52);
}

html.auth-modal-open::-webkit-scrollbar-thumb {
  border: 3px solid rgba(0, 0, 0, 0.52);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

html.auth-modal-open::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid rgb(var(--color-primary));
  outline-offset: 3px;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.icon-size-14 {
  font-size: 14px;
}

.icon-size-16 {
  font-size: 16px;
}

.icon-size-18 {
  font-size: 18px;
}

.icon-size-20 {
  font-size: 20px;
}

.icon-size-22 {
  font-size: 22px;
}

.icon-size-28 {
  font-size: 28px;
}

.auth-notification {
  pointer-events: auto;
  display: inline-flex;
  max-width: min(calc(100vw - 2rem), 20rem);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

.auth-notification__message {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
}

.cghub-flowbite-toast {
  --toast-accent: #1688c7;
  --toast-accent-dark: #0f6fba;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--toast-accent);
  color: #fff;
  box-shadow: 0 20px 42px -20px rgba(15, 23, 42, 0.72);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.cghub-flowbite-toast--success {
  --toast-accent: #28a745;
  --toast-accent-dark: #1f8d38;
}

.cghub-flowbite-toast--warning {
  --toast-accent: #d88916;
  --toast-accent-dark: #b96f0d;
}

.cghub-flowbite-toast--info {
  --toast-accent: #1688c7;
  --toast-accent-dark: #0f6fba;
}

.cghub-flowbite-toast--error {
  --toast-accent: #d64040;
  --toast-accent-dark: #b92f2f;
}

.cghub-flowbite-toast__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.cghub-flowbite-toast__icon .material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
}

.cghub-flowbite-toast__message {
  min-width: 0;
  color: #fff;
  line-height: 1.45;
}

.cghub-flowbite-toast__close {
  border: 0;
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}

.cghub-flowbite-toast__close:hover,
.cghub-flowbite-toast__close:focus-visible {
  background: var(--toast-accent-dark);
  color: #fff;
  outline: none;
}

.cghub-flowbite-toast__close .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
}

.article-content .hugo-columns {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.article-content .hugo-columns--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-content .hugo-columns--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-content .hugo-column {
  min-width: 0;
}

.article-content .hugo-column > :first-child {
  margin-top: 0;
}

.article-content .hugo-column > :last-child {
  margin-bottom: 0;
}

.post-grid-card {
  transition: all 0.3s;
}

.resource-feed-card {
  min-width: 0;
}

.post-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 3rem rgba(31, 45, 61, 0.125);
}

.home-filter-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgb(var(--color-outline-variant) / 0.7);
  background: rgb(var(--color-surface));
  color: rgb(var(--color-on-surface-variant));
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.home-filter-button:hover {
  color: rgb(var(--color-on-surface));
  border-color: rgb(var(--color-primary) / 0.28);
  background: rgb(var(--color-surface-container-high) / 0.8);
}

.home-tabs {
  position: relative;
  isolation: isolate;
  padding: 0.25rem 0.5rem;
  margin: 0 -0.25rem;
  overflow: visible;
}

.site-accent-fill {
  background: rgb(var(--color-primary));
  box-shadow:
    0 14px 24px -18px rgba(239, 95, 44, 0.72),
    0 6px 18px -10px rgba(239, 95, 44, 0.8);
}

.home-tabs__indicator {
  position: absolute;
  top: 0.25rem;
  left: 0;
  z-index: 0;
  height: calc(100% - 0.5rem);
  border-radius: 0.25rem;
  opacity: 0;
  transition:
    left 0.7s cubic-bezier(0.3, 1.5, 0.5, 1),
    width 0.7s cubic-bezier(0.3, 1.5, 0.5, 1),
    opacity 0.25s ease;
  will-change: left, width, opacity;
}

[data-home-tabs-no-active="true"] .home-tabs__indicator {
  background: rgb(var(--color-primary) / 0.2);
  box-shadow:
    0 14px 24px -18px rgba(239, 95, 44, 0.5),
    0 6px 18px -10px rgba(239, 95, 44, 0.56);
}

[data-home-tabs-no-active="true"]
  [data-home-tab]:not([data-home-tab-current="true"]):hover {
  color: rgb(var(--color-primary));
}

[data-home-tabs-no-active="true"] [data-home-tab-current="true"] {
  color: rgb(var(--color-primary));
  text-shadow: none;
}

[data-home-tabs-no-active="true"]
  [data-home-tab-current="true"]
  .home-tabs__dot {
  background: rgb(var(--color-primary));
}

.home-tabs__link {
  position: relative;
  z-index: 1;
  color: rgb(var(--color-on-surface-variant));
}

.home-tabs__dot {
  background: rgb(var(--color-primary));
  transition: background-color 0.2s ease;
}

[data-home-tab-current="true"] {
  color: rgb(var(--color-on-primary));
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

[data-home-tab-current="true"] .home-tabs__dot {
  background: rgb(var(--color-on-primary));
}

[data-home-tab]:not([data-home-tab-current="true"]):hover {
  color: rgb(var(--color-on-surface));
  text-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-resource-view-trigger] {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
}

.resource-view-switcher {
  position: relative;
  height: 2.5rem;
  overflow: hidden;
}

.resource-view-switcher__indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgb(var(--color-surface-bright));
  box-shadow:
    0 10px 20px -16px rgba(15, 23, 42, 0.28),
    inset 0 0 0 1px rgb(var(--color-outline-variant) / 0.2);
  transform: translateX(0);
  transition: transform 0.6s cubic-bezier(0.3, 1.8, 0.5, 1);
  will-change: transform;
}

.resource-view-switcher__button {
  position: relative;
  z-index: 1;
  border-radius: 9999px;
  color: rgb(var(--color-on-surface-variant) / 0.7);
  opacity: 0.75;
  text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}

.resource-view-switcher__button[aria-pressed="true"] {
  color: rgb(var(--color-on-surface));
  opacity: 1;
}

.resource-view-switcher__button[aria-pressed="false"] {
  color: rgb(var(--color-on-surface-variant) / 0.7);
}

.resource-view-switcher__button[aria-pressed="false"]:hover {
  text-shadow:
    0 0 10px #fff,
    0 0 13px #fff;
}

.home-filter-button--active {
  color: rgb(var(--color-on-surface));
  border-color: rgb(var(--color-primary) / 0.22);
  background: linear-gradient(
    135deg,
    rgb(var(--color-primary) / 0.14),
    rgb(var(--color-surface)) 68%
  );
  box-shadow:
    inset 0 0 0 1px rgb(var(--color-primary) / 0.08),
    0 12px 24px -22px rgba(239, 95, 44, 0.65);
}

.resource-feed {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  transition:
    opacity 0.34s ease,
    transform 0.34s cubic-bezier(0.2, 0, 0, 1);
  will-change: opacity, transform;
}

.resource-feed.disappear {
  opacity: 0;
  transform: translateY(24px);
}

.resource-feed-card__list-shell {
  display: none;
}

.resource-feed-card__list-cover {
  align-self: stretch;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.25rem 0 0 0.25rem;
  background: rgb(var(--color-surface-container-high));
  margin: -1.125rem 0 -1.125rem -1.125rem;
}

.resource-feed-card__list-content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.resource-feed-card__list-title {
  margin: 0;
  color: rgb(var(--color-on-surface));
  font-size: 0.96875rem;
  font-weight: 700;
  line-height: 1.4;
}

.resource-feed-card__grid-title {
  color: rgb(var(--color-on-background));
  line-height: 1.4;
  text-shadow: 0 1px 0 #fff;
}

@supports (color: color-mix(in srgb, black 75%, white)) {
  .resource-feed-card__grid-title {
    color: color-mix(in srgb, rgb(var(--color-on-background)) 75%, black);
  }
}

.resource-feed-card__list-summary {
  margin: 0.75rem 0 0;
  color: rgb(var(--color-on-surface-variant));
  font-size: 0.875rem;
  line-height: 1.7;
  max-height: calc(1.7em * 3);
  overflow: hidden;
}

.resource-feed-card__summary-clamp {
}

.article-sidebar__title {
  display: block;
  line-height: 1.25;
}

@supports not (-webkit-line-clamp: 2) {
  .resource-feed-card__grid-title,
  .article-sidebar__title {
    max-height: calc(1.4em * 2);
    overflow: hidden;
  }

  .article-sidebar__title {
    max-height: calc(1.25em * 2);
  }
}

@supports not (-webkit-line-clamp: 3) {
  .resource-feed-card__summary-clamp {
    max-height: calc(1.7em * 3);
    overflow: hidden;
  }
}

.resource-feed-card__list-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgb(var(--color-outline));
  font-size: 0.8125rem;
  min-width: 0;
  margin-top: auto;
}

.resource-feed-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.resource-feed-card__list-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
}

.resource-feed-card__list-meta-spacer {
  flex: 1 1 auto;
  min-width: 0;
}

.resource-feed-card__list-meta-metrics {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.resource-feed[data-view="list"] {
  grid-template-columns: minmax(0, 1fr);
}

.resource-feed[data-view="list"] .resource-feed-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  height: 172px;
  overflow: hidden;
  border-radius: 0.25rem;
  background: rgb(var(--color-surface-container-low));
  box-shadow: 0 14px 36px -30px rgba(15, 23, 42, 0.32);
  padding: 1.125rem;
}

@media (prefers-reduced-motion: reduce) {
  .resource-view-switcher__indicator,
  .resource-feed {
    transition: none;
  }
}

.resource-feed[data-view="list"] .resource-feed-card__cover {
  display: none;
}

.resource-feed[data-view="list"] .resource-feed-card__grid-content {
  display: none;
}

.resource-feed[data-view="list"] .resource-feed-card__list-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  width: 100%;
  gap: 1rem;
}

@media (min-width: 992px) {
  .resource-feed[data-view="list"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@keyframes activeTabIn {
  0% {
    transform: translateY(2px) scale(0.98);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.tab-active-anim {
  box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0.25);
  animation: activeTabIn 0.2s ease-out;
  will-change: transform, opacity;
}

[data-comments-shell] {
  box-shadow: 0 14px 30px -28px rgba(15, 23, 42, 0.18);
}

[data-comment-form-shell] {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

[data-comment-user]:not(.hidden) [data-comment-form-shell]:focus-within {
  border-color: rgb(var(--color-primary) / 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 24px -22px rgba(239, 95, 44, 0.2);
}

[data-comments-message][data-comment-message-state="success"],
[data-comment-context]:not(.hidden) {
  animation: activeTabIn 0.22s ease-out;
}

[data-comment-reveal] {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    border-color 0.2s ease;
  transition-delay: var(--comment-reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-comment-reveal].is-comment-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .resource-feed[data-view="grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .resource-feed[data-view="grid"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .resource-feed[data-view="grid"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .resource-feed[data-view="grid"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.single-main-shell--drawer-open {
  transform: translateX(calc(-1 * min(88vw, 320px)));
}

.site-nav__ink {
  box-shadow: 0 3px 4px rgba(var(--color-primary), 0.35);
}

@supports (box-shadow: 0 3px 4px color-mix(in oklab, red 55%, transparent)) {
  .site-nav__ink {
    box-shadow: 0 3px 4px color-mix(in oklab, rgb(var(--color-primary)) 55%, transparent);
  }
}

.single-hero-bg .single-hero-bg-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.single-hero-bg .single-hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.single-hero-bg .single-hero-img-blur,
.single-hero-bg .single-hero-img-shade,
.single-hero-bg .single-hero-img-color {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.single-hero-bg .single-hero-img-blur {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(16px) saturate(1.02) brightness(0.94) contrast(1.06);
  transform: scale(1.34);
  opacity: 0;
}

.single-hero-bg .single-hero-img-shade {
  z-index: 1;
  background: radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.18),
      transparent 38%
    ),
    linear-gradient(135deg, rgba(7, 12, 20, 0.44), rgba(11, 17, 27, 0.24));
}

.single-hero-bg .single-hero-img-color {
  z-index: 1;
  opacity: 0;
  mix-blend-mode: soft-light;
}

.single-hero-bg .single-hero-img-blur.is-visible,
.single-hero-bg .single-hero-img-shade.is-visible {
  opacity: 1;
}

.single-hero-bg .single-hero-img-color.is-visible {
  opacity: 0.3;
}

.category-hero-copy-panel {
  position: relative;
  min-height: 220px;
}

.category-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.category-hero-slide[data-state="current"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.category-hero-coverflow-panel {
  position: relative;
  min-height: 220px;
}

.category-hero-coverflow-stage {
  position: relative;
  height: 220px;
  overflow: hidden;
  perspective: 450px;
  --cover-current-width: min(56%, 198px);
  --cover-side-width: min(50%, 180px);
  --cover-tile-height: 198px;
  --cover-side-offset: clamp(52px, 16vw, 82px);
  --cover-far-offset: clamp(132px, 30vw, 220px);
}

.category-hero-cover-item {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: var(--cover-side-width);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    width 0.45s ease;
  will-change: transform, opacity;
}

.category-hero-cover-item[data-state="current"] {
  z-index: 3;
  width: var(--cover-current-width);
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.category-hero-cover-item[data-state="prev"] {
  z-index: 2;
  opacity: 0.72;
  pointer-events: auto;
  transform: translate(calc(-50% - var(--cover-side-offset)), -50%) scaleX(0.54)
    rotateY(45deg) translateZ(-150px) scaleY(0.9);
}

.category-hero-cover-item[data-state="next"] {
  z-index: 2;
  opacity: 0.72;
  pointer-events: auto;
  transform: translate(calc(-50% + var(--cover-side-offset)), -50%) scaleX(0.54)
    rotateY(-45deg) translateZ(-150px) scaleY(0.9);
}

.category-hero-cover-item[data-state="before"] {
  z-index: 0;
  width: var(--cover-side-width);
  opacity: 0;
  transform: translate(calc(-50% - var(--cover-far-offset)), -50%) scaleX(0.48)
    rotateY(45deg) translateZ(-300px) scaleY(0.8);
}

.category-hero-cover-item[data-state="after"] {
  z-index: 0;
  width: var(--cover-side-width);
  opacity: 0;
  transform: translate(calc(-50% + var(--cover-far-offset)), -50%) scaleX(0.48)
    rotateY(-45deg) translateZ(-300px) scaleY(0.8);
}

.category-hero-cover-tile {
  overflow: hidden;
  height: var(--cover-tile-height);
  border-radius: 13px;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.category-hero-arrow {
  --arrow-size: 5rem;
  position: absolute;
  top: calc(50% - 38px);
  z-index: 10;
  display: inline-flex;
  width: 5rem;
  height: 5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.8125rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  padding: 0;
  transition:
    opacity 0.3s ease,
    transform 0.8s cubic-bezier(0, 0, 0.2, 1),
    background-color 0.3s ease;
}

.category-hero-arrow:hover,
.category-hero-arrow:focus-visible {
  background: rgba(0, 0, 0, 0.75);
  outline: none;
}

.category-hero-arrow > * {
  transform-origin: center;
}

.category-hero-arrow-prev {
  left: 0;
  transform: rotate(45deg) translateX(-60px) translateY(60px);
  border-radius: 0 10px 0 48px;
}

.category-hero-arrow-prev > * {
  transform: rotate(-45deg) translateX(34px);
}

.category-hero-arrow-next {
  right: 0;
  transform: rotate(-45deg) translateX(60px) translateY(60px);
  border-radius: 10px 0 48px 0;
}

.category-hero-arrow-next > * {
  transform: rotate(45deg) translateX(-34px);
}

.single-hero-shell:hover .category-hero-arrow-prev,
.single-hero-shell:focus-within .category-hero-arrow-prev {
  opacity: 0.65;
  pointer-events: auto;
  transform: rotate(45deg) translateX(-40px) translateY(40px);
}

.single-hero-shell:hover .category-hero-arrow-next,
.single-hero-shell:focus-within .category-hero-arrow-next {
  opacity: 0.65;
  pointer-events: auto;
  transform: rotate(-45deg) translateX(40px) translateY(40px);
}

.single-hero-shell:hover .category-hero-arrow:hover,
.single-hero-shell:focus-within .category-hero-arrow:focus-visible {
  opacity: 1;
}

.category-hero-dots {
  position: absolute;
  top: calc(1.5rem + 220px - 1.25rem);
  right: 0;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0;
  margin-bottom: 0;
}

.category-hero-dot {
  width: 0.75rem;
  height: 0.125rem;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  transition:
    width 0.2s ease,
    background-color 0.2s ease;
}

.category-hero-dot[data-active="true"] {
  width: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
}

[data-auth-nav-slot] {
  display: flex;
  inline-size: 2.5rem;
  min-inline-size: 2.5rem;
  min-height: 2.5rem;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

[data-auth-nav-shell] {
  inline-size: 100%;
}

[data-auth-nav-slot] > * {
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

[data-auth-nav-slot].htmx-request > * {
  opacity: 0.64;
  transform: translateY(-1px);
}

[data-auth-nav-slot].htmx-settling > * {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  [data-auth-nav-slot] {
    inline-size: 11rem;
    min-inline-size: 11rem;
  }

  .category-hero-copy-panel {
    min-height: 260px;
  }

  .category-hero-coverflow-panel {
    min-height: 260px;
  }

  .category-hero-coverflow-stage {
    height: 260px;
    --cover-current-width: min(38vw, 234px);
    --cover-side-width: min(40%, 207px);
    --cover-tile-height: 212px;
    --cover-side-offset: clamp(66px, 10vw, 104px);
    --cover-far-offset: clamp(176px, 24vw, 276px);
  }

  .category-hero-cover-tile {
    height: var(--cover-tile-height);
  }

  .category-hero-dots {
    position: absolute;
    right: 0;
    bottom: 3rem;
    left: 0;
    top: auto;
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .category-hero-coverflow-stage {
    --cover-current-width: min(60%, 207px);
    --cover-side-width: min(45%, 180px);
    --cover-tile-height: 193px;
    --cover-side-offset: clamp(56px, 9vw, 74px);
    --cover-far-offset: clamp(138px, 21vw, 210px);
  }
}

@media (min-width: 1024px) {
  .category-hero-coverflow-stage {
    --cover-current-width: 252px;
    --cover-side-width: min(43%, 234px);
    --cover-tile-height: 225px;
    --cover-side-offset: clamp(82px, 12vw, 132px);
    --cover-far-offset: clamp(220px, 18vw, 320px);
  }
}

@media (max-width: 768px) {
  .article-content .hugo-columns {
    grid-template-columns: 1fr;
  }
}
