/* Basic reset and font */
body:not(.wp-admin) {
  margin: 0;
  background-color: #ffffff;
  color: #333333;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  user-select: none;
}

body:not(.wp-admin) #board-wrapper,
body:not(.wp-admin) #grid,
body:not(.wp-admin) .plg-industry-page {
  font-family: inherit;
}

/* -- Frontend: Hide Column & Row label trackers -- */
/* !-- Remove this styles later, after RWD Rebranding --! */
body:not(.wp-admin) #board-wrapper {
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
}
body:not(.wp-admin) #grid {
  grid-column: 1 / -1 !important;
  grid-row: 1 / -1 !important;
  max-width: none !important;
  width: auto !important;
  touch-action: pan-x pan-y;
  scrollbar-gutter: stable;
}
body:not(.wp-admin) #col-labels,
body:not(.wp-admin) #row-labels,
body:not(.wp-admin) .corner-cell {
  display: none !important;
}
body > div.wp-site-blocks > div,
.has-global-padding {
  padding: 0 !important;
  margin: 0 auto !important;
}

/* -- Frontend: Hide Column & Row label trackers -- */
/* !-- Remove this styles later, after RWD Rebranding --! */

#board-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 40px auto;
  grid-template-rows: 40px auto;
  height: calc(100vh - 60px);
  /* height: auto; */
  width: 100%;
  background: #ffffff;
  touch-action: pan-x pan-y;
  overflow: hidden;
  opacity: 1;
  filter: none;
  transform: none;
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

#board-wrapper.plg-grid-is-loading {
  opacity: 0;
  transform: translateY(2px);
}

#board-wrapper.plg-grid-preload-hidden {
  opacity: 0;
  transform: translateY(2px);
}

/* Corner empty cell */
.corner-cell {
  background-color: #f4f4f4;
  border: 1px solid #cccccc;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

/* Column labels container */
#col-labels {
  display: grid;
  grid-auto-flow: column;
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  background: #f4f4f4;
  border-left: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding-top: 5px;
  overflow: hidden;
  user-select: none;
}

/* Row labels container */
#row-labels {
  display: grid;
  grid-auto-flow: row;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  background: #f4f4f4;
  border-top: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  overflow-y: hidden;
  padding-left: 10px;
  user-select: none;
}

/* Label styles */
.col-label,
.row-label {
  font-size: 10px;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10px;
  width: 10px;
  line-height: 10px;
  pointer-events: none;
}

/* Grid container (polish) */
#grid {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: grid;
  overflow: auto;
  background: #ffffff;
  align-content: start;
  -webkit-overflow-scrolling: touch;
  /* scrollbar-gutter: stable both-edges; */
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  position: relative;
  isolation: isolate;
  grid-auto-flow: dense;
}

/* -------------------------------------------------------------------------- */
/*             Grid background + marker layers (lightweight scrolling)        */
/* -------------------------------------------------------------------------- */
.plg-grid-spacer {
  pointer-events: none;
  z-index: 0;
  background-color: #fafafa;
  background-image:
    linear-gradient(to right, rgba(229, 231, 235, 0.9) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(229, 231, 235, 0.9) 1px, transparent 1px);
  background-size: var(--plg-cell, 10px) var(--plg-cell, 10px);
  background-position: 0 0;
}

.plg-grid-layer {
  pointer-events: none;
  z-index: 1;
  position: relative;
}

.plg-grid-marker {
  position: absolute;
  width: var(--plg-cell, 10px);
  height: var(--plg-cell, 10px);
  left: calc((var(--plg-col, 1) - 1) * var(--plg-cell, 10px));
  top: calc((var(--plg-row, 1) - 1) * var(--plg-cell, 10px));
  border-radius: 3px;
  box-sizing: border-box;
}

.plg-grid-marker--active {
  background: rgba(43, 108, 176, 0.14);
  box-shadow: inset 0 0 0 1px rgba(43, 108, 176, 0.35);
}

.plg-grid-marker--hot {
  background: rgba(43, 108, 176, 0.08);
  box-shadow: inset 0 0 0 2px rgba(43, 108, 176, 0.52);
}

.plg-cube-view-trigger {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 2;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.plg-video-wrap {
  position: absolute;
  inset: 0;
}

.plg-cube-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  border: 0;
  object-fit: cover;
  border-radius: 2px;
}

.plg-cube-readability-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(34px, 48%, 92px);
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.48) 28%,
    rgba(0, 0, 0, 0.22) 58%,
    rgba(0, 0, 0, 0) 100%
  );
}

.plg-cube-discount-label {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: calc(100% - 24px);
  min-height: 26px;
  height: 26px;
  padding: 0 9px;
  border: 0.5px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
  white-space: nowrap;
  pointer-events: none;
  box-sizing: border-box;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.plg-cube-discount-label__value {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.plg-cube-discount-label__icon {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  color: #ef4444;
}

.plg-cube-discount-label__sparkles {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  flex-basis: 18px;
  color: currentColor;
}

.plg-cube-discount-label__star {
  position: absolute;
  line-height: 1;
}

.plg-cube-discount-label__star--large {
  top: 1px;
  right: 1px;
  font-size: 14px;
}

.plg-cube-discount-label__star--small {
  left: 1px;
  bottom: 1px;
  font-size: 9px;
  opacity: 0.9;
}

.plg-cube-discount-label__value {
  font-variant-numeric: tabular-nums;
}

.plg-cube-discount-label--frosted-purple {
  color: #ffffff;
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
  border-color: rgba(196, 181, 253, 0.62);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.2),
    0 0 18px rgba(139, 92, 246, 0.45);
}

.plg-cube-discount-label--cyan-blue {
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border-color: rgba(125, 211, 252, 0.62);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.2),
    0 0 18px rgba(14, 165, 233, 0.45);
}

.plg-cube-discount-label--neon-pink {
  color: #ffffff;
  background: linear-gradient(135deg, #db2777 0%, #ff2ea6 100%);
  border-color: rgba(251, 182, 218, 0.62);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.2),
    0 0 20px rgba(255, 46, 166, 0.55);
}

.plg-cube-discount-label--emerald-green {
  color: #ffffff;
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  border-color: rgba(110, 231, 183, 0.62);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.2),
    0 0 18px rgba(16, 185, 129, 0.45);
}

.plg-cube-discount-label--golden-premium {
  color: #fff7ed;
  background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
  border-color: rgba(253, 230, 138, 0.62);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.2),
    0 0 20px rgba(245, 158, 11, 0.5);
}

.plg-cube-discount-label--pik-gradient {
  color: #ffffff;
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(255, 255, 255, 0.32),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      rgba(240, 68, 160, 0.92),
      rgba(255, 138, 61, 0.88) 36%,
      rgba(33, 212, 253, 0.88) 68%,
      rgba(124, 60, 255, 0.92)
    );
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 12px 32px rgba(124, 60, 255, 0.28),
    0 0 30px rgba(240, 68, 160, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  text-shadow: 0 1px 10px rgba(15, 23, 42, 0.2);
}

.plg-countdown-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: calc(100% - 116px);
  min-height: 26px;
  height: 26px;
  padding: 0 9px;
  border: 0.5px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff4d6;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.plg-countdown-badge[hidden] {
  display: none !important;
}

.plg-countdown-badge__icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.plg-countdown-badge__text {
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
}

.plg-countdown-badge--frosted-purple {
  color: #ffffff;
  background: rgba(92, 56, 180, 0.28);
  border-color: #9b6cff;
  box-shadow:
    0 8px 22px rgba(92, 56, 180, 0.2),
    0 0 18px rgba(155, 108, 255, 0.22);
}

.plg-countdown-badge--frosted-purple .plg-countdown-badge__icon {
  color: #c9b6ff;
}

.plg-countdown-badge--cyan-blue {
  color: #eaffff;
  background: rgba(12, 90, 140, 0.3);
  border-color: #21d4ff;
  box-shadow:
    0 8px 22px rgba(12, 90, 140, 0.18),
    0 0 18px rgba(33, 212, 255, 0.24);
}

.plg-countdown-badge--cyan-blue .plg-countdown-badge__icon {
  color: #5de8ff;
}

.plg-countdown-badge--neon-pink {
  color: #ffffff;
  background: rgba(90, 12, 52, 0.35);
  border-color: #ff2ea6;
  box-shadow:
    0 8px 22px rgba(90, 12, 52, 0.22),
    0 0 20px rgba(255, 46, 166, 0.26);
}

.plg-countdown-badge--neon-pink .plg-countdown-badge__icon {
  color: #ff6fbd;
}

.plg-countdown-badge--emerald-green {
  color: #ffffff;
  background: rgba(5, 90, 57, 0.32);
  border-color: #1fd68f;
  box-shadow:
    0 8px 22px rgba(5, 90, 57, 0.18),
    0 0 18px rgba(31, 214, 143, 0.22);
}

.plg-countdown-badge--emerald-green .plg-countdown-badge__icon {
  color: #5affbd;
}

.plg-countdown-badge--golden-premium {
  color: #fff4d6;
  background: rgba(90, 58, 8, 0.34);
  border-color: #f5b942;
  box-shadow:
    0 8px 22px rgba(90, 58, 8, 0.2),
    0 0 18px rgba(245, 185, 66, 0.22);
}

.plg-countdown-badge--golden-premium .plg-countdown-badge__icon {
  color: #ffd76a;
}

.plg-company-name-overlay,
.company-name-overlay {
  --company-name-glow-color: rgba(245, 158, 11, 0.82);
  --company-name-glow-soft: rgba(245, 158, 11, 0.28);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0) scale(1);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 86%;
  min-width: min(140px, 86%);
  padding: 10px 18px;
  border: 1px solid var(--company-name-glow-color);
  border-radius: 16px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.52);
  box-shadow:
    0 0 6px var(--company-name-glow-soft),
    0 0 12px var(--company-name-glow-color),
    inset 0 0 8px rgba(255, 255, 255, 0.08);
  font-family:
    "Inter",
    "Noto Sans Georgian",
    "Noto Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  pointer-events: none;
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 0s linear 0s;
  backface-visibility: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@supports not (
  (backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px))
) {
  .plg-company-name-overlay,
  .company-name-overlay {
    background: rgba(15, 23, 42, 0.72);
  }
}

.grid-cell.plg-has-company-name-overlay:hover .plg-company-name-overlay,
.grid-cell.plg-has-company-name-overlay:hover .company-name-overlay,
.grid-cell.plg-has-company-name-overlay.plg-hover-active
  .plg-company-name-overlay,
.grid-cell.plg-has-company-name-overlay.plg-hover-active .company-name-overlay,
.grid-cell.plg-has-company-name-overlay:focus .plg-company-name-overlay,
.grid-cell.plg-has-company-name-overlay:focus .company-name-overlay,
.grid-cell.plg-has-company-name-overlay:focus-visible .plg-company-name-overlay,
.grid-cell.plg-has-company-name-overlay:focus-visible .company-name-overlay,
.grid-cell.plg-has-company-name-overlay:focus-within .plg-company-name-overlay,
.grid-cell.plg-has-company-name-overlay:focus-within .company-name-overlay {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, -50%, 0) scale(0.96);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 0s linear 160ms;
}

.plg-company-name-overlay--frosted-purple,
.company-name-overlay--frosted-purple {
  --company-name-glow-color: rgba(139, 92, 246, 0.9);
  --company-name-glow-soft: rgba(139, 92, 246, 0.26);
}

.plg-company-name-overlay--cyan-blue,
.company-name-overlay--cyan-blue {
  --company-name-glow-color: rgba(14, 165, 233, 0.84);
  --company-name-glow-soft: rgba(14, 165, 233, 0.26);
}

.plg-company-name-overlay--neon-pink,
.company-name-overlay--neon-pink {
  --company-name-glow-color: rgba(236, 72, 153, 0.84);
  --company-name-glow-soft: rgba(236, 72, 153, 0.28);
}

.plg-company-name-overlay--emerald-green,
.company-name-overlay--emerald-green {
  --company-name-glow-color: rgba(16, 185, 129, 0.84);
  --company-name-glow-soft: rgba(16, 185, 129, 0.26);
}

.plg-company-name-overlay--golden-premium,
.company-name-overlay--golden-premium {
  --company-name-glow-color: rgba(245, 158, 11, 0.82);
  --company-name-glow-soft: rgba(245, 158, 11, 0.28);
}

.plg-running-line {
  --plg-running-line-bg: rgba(7, 61, 43, 0.78);
  --plg-running-line-edge-bg: rgba(7, 61, 43, 0.36);
  --plg-running-line-border: rgba(31, 214, 143, 0.72);
  --plg-running-line-text: #ffffff;
  --plg-running-line-muted: rgba(203, 255, 232, 0.86);
  --plg-running-line-prefix-bg: rgba(16, 185, 129, 0.72);
  --plg-running-line-prefix-text: #ffffff;
  --plg-running-line-shadow:
    0 6px 18px rgba(5, 90, 57, 0.15), 0 0 20px rgba(31, 214, 143, 0.16);
  position: absolute;
  left: 0 !important;
  bottom: 0px;
  margin-left: 0px !important;
  margin-bottom: 1px !important;
  z-index: 8;
  display: flex;
  align-items: center;
  max-width: min(620px, 70%);
  min-height: 26px;
  height: 26px;
  overflow: hidden;
  border-left: 1px solid var(--plg-running-line-border);
  border-radius: 0;
  color: var(--plg-running-line-text);
  background: linear-gradient(
    90deg,
    var(--plg-running-line-edge-bg) 0%,
    var(--plg-running-line-bg) 16%,
    var(--plg-running-line-bg) 64%,
    var(--plg-running-line-edge-bg) 82%,
    transparent 100%
  );
  box-shadow: var(--plg-running-line-shadow);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: none;
  -webkit-mask-image: none;
  box-sizing: border-box;
}

.plg-running-line__inner {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 8px;
  gap: 0;
}

.plg-running-line__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14.4px;
  height: 14.4px;
  margin-right: 10px;
  margin-bottom: 1px;
  flex: 0 0 14.4px;
  color: var(--plg-running-line-border);
}

.plg-running-line__icon svg {
  display: block;
  width: 14.4px;
  height: 14.4px;
}

.plg-running-line__prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 7px;
  margin-right: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--plg-running-line-prefix-text);
  background: var(--plg-running-line-prefix-bg);
  box-shadow:
    0 0 18px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-weight: 900;
  white-space: nowrap;
}

.plg-running-line__separator {
  width: 0px;
  height: 14px;
  flex: 0 0 0px;
  background: var(--plg-running-line-muted);
  opacity: 0.72;
}

.plg-running-line__viewport {
  display: block;
  min-width: 0;
  overflow: hidden;
}

.plg-running-line__track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  white-space: nowrap;
  animation-name: plgRunningLineMove;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.plg-running-line__text,
.plg-running-line__dot,
.plg-running-line__spark {
  display: inline-flex;
  align-items: center;
  color: currentColor;
  white-space: nowrap;
}

.plg-running-line__dot,
.plg-running-line__spark {
  color: var(--plg-running-line-muted);
}

.plg-running-line--speed-slow .plg-running-line__track {
  animation-duration: 18s;
}

.plg-running-line--speed-normal .plg-running-line__track {
  animation-duration: 12s;
}

.plg-running-line--speed-fast .plg-running-line__track {
  animation-duration: 7s;
}

.plg-running-line--frosted-purple.plg-running-line--glass {
  --plg-running-line-bg: rgba(75, 45, 130, 0.68);
  --plg-running-line-edge-bg: rgba(75, 45, 130, 0.28);
  --plg-running-line-border: rgba(196, 167, 255, 0.55);
  --plg-running-line-text: #ffffff;
  --plg-running-line-muted: rgba(224, 208, 255, 0.88);
  --plg-running-line-prefix-bg: rgba(139, 92, 246, 0.76);
  --plg-running-line-shadow:
    0 6px 18px rgba(75, 45, 130, 0.15), 0 0 20px rgba(196, 167, 255, 0.14);
}

.plg-running-line--frosted-purple.plg-running-line--solid {
  --plg-running-line-bg: rgba(42, 18, 84, 0.86);
  --plg-running-line-edge-bg: rgba(42, 18, 84, 0.3);
  --plg-running-line-border: rgba(196, 167, 255, 0.95);
  --plg-running-line-text: #ffffff;
  --plg-running-line-muted: #d8c8ff;
  --plg-running-line-prefix-bg: rgba(124, 58, 237, 0.84);
  --plg-running-line-shadow:
    0 6px 18px rgba(45, 20, 90, 0.2), 0 0 20px rgba(168, 85, 247, 0.18);
}

.plg-running-line--cyan-blue.plg-running-line--glass {
  --plg-running-line-bg: rgba(8, 94, 112, 0.7);
  --plg-running-line-edge-bg: rgba(8, 94, 112, 0.28);
  --plg-running-line-border: rgba(76, 226, 255, 0.68);
  --plg-running-line-text: #eaffff;
  --plg-running-line-muted: rgba(151, 246, 255, 0.9);
  --plg-running-line-prefix-bg: rgba(8, 145, 178, 0.78);
  --plg-running-line-shadow:
    0 6px 18px rgba(8, 94, 112, 0.15), 0 0 20px rgba(34, 211, 238, 0.17);
}

.plg-running-line--cyan-blue.plg-running-line--solid {
  --plg-running-line-bg: rgba(6, 37, 54, 0.88);
  --plg-running-line-edge-bg: rgba(6, 37, 54, 0.3);
  --plg-running-line-border: rgba(34, 211, 238, 0.95);
  --plg-running-line-text: #f0fdff;
  --plg-running-line-muted: #67e8f9;
  --plg-running-line-prefix-bg: rgba(6, 182, 212, 0.82);
  --plg-running-line-shadow:
    0 6px 18px rgba(6, 37, 54, 0.2), 0 0 20px rgba(34, 211, 238, 0.2);
}

.plg-running-line--neon-pink.plg-running-line--glass {
  --plg-running-line-bg: rgba(111, 16, 70, 0.72);
  --plg-running-line-edge-bg: rgba(111, 16, 70, 0.28);
  --plg-running-line-border: rgba(255, 80, 171, 0.75);
  --plg-running-line-text: #ffffff;
  --plg-running-line-muted: rgba(255, 184, 220, 0.92);
  --plg-running-line-prefix-bg: rgba(219, 39, 119, 0.8);
  --plg-running-line-shadow:
    0 6px 18px rgba(111, 16, 70, 0.18), 0 0 20px rgba(255, 46, 166, 0.18);
}

.plg-running-line--neon-pink.plg-running-line--solid {
  --plg-running-line-bg: rgba(63, 6, 41, 0.88);
  --plg-running-line-edge-bg: rgba(63, 6, 41, 0.3);
  --plg-running-line-border: rgba(255, 46, 166, 0.98);
  --plg-running-line-text: #ffffff;
  --plg-running-line-muted: #f9a8d4;
  --plg-running-line-prefix-bg: rgba(225, 29, 72, 0.84);
  --plg-running-line-shadow:
    0 6px 18px rgba(63, 6, 41, 0.21), 0 0 20px rgba(255, 46, 166, 0.21);
}

.plg-running-line--emerald-green.plg-running-line--glass {
  --plg-running-line-bg: rgba(7, 61, 43, 0.78);
  --plg-running-line-edge-bg: rgba(7, 61, 43, 0.3);
  --plg-running-line-border: rgba(68, 236, 160, 0.7);
  --plg-running-line-text: #ffffff;
  --plg-running-line-muted: rgba(184, 255, 221, 0.9);
  --plg-running-line-prefix-bg: rgba(16, 185, 129, 0.72);
  --plg-running-line-shadow:
    0 6px 18px rgba(5, 90, 57, 0.15), 0 0 20px rgba(31, 214, 143, 0.17);
}

.plg-running-line--emerald-green.plg-running-line--solid {
  --plg-running-line-bg: rgba(5, 46, 34, 0.88);
  --plg-running-line-edge-bg: rgba(5, 46, 34, 0.3);
  --plg-running-line-border: rgba(52, 211, 153, 0.95);
  --plg-running-line-text: #ffffff;
  --plg-running-line-muted: #86efac;
  --plg-running-line-prefix-bg: rgba(5, 150, 105, 0.84);
  --plg-running-line-shadow:
    0 6px 18px rgba(5, 46, 34, 0.21), 0 0 20px rgba(16, 185, 129, 0.21);
}

.plg-running-line--golden-premium.plg-running-line--glass {
  --plg-running-line-bg: rgba(90, 58, 8, 0.74);
  --plg-running-line-edge-bg: rgba(90, 58, 8, 0.28);
  --plg-running-line-border: rgba(255, 210, 96, 0.76);
  --plg-running-line-text: #fff4d6;
  --plg-running-line-muted: rgba(255, 229, 154, 0.92);
  --plg-running-line-prefix-bg: rgba(146, 64, 14, 0.78);
  --plg-running-line-shadow:
    0 6px 18px rgba(90, 58, 8, 0.18), 0 0 20px rgba(245, 185, 66, 0.17);
}

.plg-running-line--golden-premium.plg-running-line--solid {
  --plg-running-line-bg: rgba(23, 17, 10, 0.9);
  --plg-running-line-edge-bg: rgba(23, 17, 10, 0.34);
  --plg-running-line-border: rgba(252, 211, 77, 0.98);
  --plg-running-line-text: #fff7d1;
  --plg-running-line-muted: #fde68a;
  --plg-running-line-prefix-bg: rgba(251, 191, 36, 0.82);
  --plg-running-line-prefix-text: #1f1300;
  --plg-running-line-shadow:
    0 6px 18px rgba(23, 17, 10, 0.22), 0 0 20px rgba(245, 185, 66, 0.2);
}

@keyframes plgRunningLineMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .plg-running-line__track {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .plg-running-line--hide-mobile {
    display: none !important;
  }
  .plg-company-profile__hero-inner {
    align-items: center;
    justify-content: center;
  }
}

/* Base cell — light tile with faint gridline */
.grid-cell {
  --plg-glass-passive-opacity: 0;
  --plg-glass-active-opacity: 0.88;
  --plg-glass-accent-strength: 46%;
  background-color: #fafafa;
  border-radius: 3px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  z-index: 2;
  isolation: isolate;
  contain: layout paint style;
  content-visibility: auto;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.grid-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      circle at 16% 12%,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 58%,
          rgba(255, 255, 255, 0.16)
        )
        0%,
      rgba(2, 6, 23, 0.08) 40%
    ),
    radial-gradient(
      circle at 88% 22%,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 34%,
          rgba(255, 255, 255, 0.1)
        )
        0%,
      rgba(2, 6, 23, 0.08) 42%
    ),
    radial-gradient(
      circle at 42% 94%,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 28%,
          rgba(2, 6, 23, 0.18)
        )
        0%,
      rgba(2, 6, 23, 0.08) 48%
    ),
    linear-gradient(
      145deg,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8)
            var(--plg-glass-accent-strength),
          rgba(2, 6, 23, 0.82)
        )
        0%,
      rgba(15, 23, 42, 0.72) 48%,
      rgba(2, 6, 23, 0.58) 100%
    );
  border-radius: inherit;
  border: 1px solid
    color-mix(
      in srgb,
      var(--plg-cube-overlay-color, #38bdf8) 62%,
      rgba(255, 255, 255, 0.18)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -24px 38px rgba(2, 6, 23, 0.24);
  transition: opacity 180ms ease;
}

.grid-cell:hover::before,
.grid-cell.plg-hover-active::before,
.grid-cell:focus::before,
.grid-cell:focus-visible::before,
.grid-cell:focus-within::before {
  opacity: var(--plg-glass-active-opacity);
}

body.plg-scrolling .grid-cell::before,
body.plg-perf-lite .grid-cell::before {
  transition: none;
}

/* Hover — keep it lightweight */
.grid-cell:hover,
.grid-cell.plg-hover-active,
.grid-cell:focus,
.grid-cell:focus-visible,
.grid-cell:focus-within {
  background-color: #f0f7ff;
  box-shadow:
    inset 0 0 0 1px
      color-mix(
        in srgb,
        var(--plg-cube-overlay-color, #38bdf8) 58%,
        rgba(255, 255, 255, 0.12)
      ),
    inset 0 0 22px rgba(2, 6, 23, 0.12);
  z-index: 10010;
}

/* Active/selected — clear “on” state */
.grid-cell.active {
  background-color: #e6f0ff !important;
  box-shadow: inset 0 0 0 1px #84a9ff !important;
}

/* Keyboard focus — accessible focus ring */
.grid-cell:focus {
  outline: none;
}

/* Clickable blocks (image anchors) fill the tile */
.grid-cell > a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

/* Image cells — rounded corners + gentle shadow */
.grid-cell > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
  border-radius: 4px;
  box-shadow: none;
}

.grid-cell:hover > a img,
.grid-cell.plg-hover-active > a img,
.grid-cell:focus > a img,
.grid-cell:focus-visible > a img,
.grid-cell:focus-within > a img {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.grid-cell.plg-cell-animate {
  animation: plgCellZoom 520ms ease-out both;
  will-change: transform, opacity;
}

@keyframes plgCellZoom {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }
  65% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scrollbar styling */
#grid::-webkit-scrollbar {
  width: 8px;
}
#grid::-webkit-scrollbar-track {
  background: #f4f4f4;
}
#grid::-webkit-scrollbar-thumb {
  background-color: #cccccc;
  border-radius: 4px;
}

/* Theme toggle button */
#theme-toggle {
  padding: 5px 10px;
  font-size: 12px;
  border: 1px solid #cccccc;
  background: transparent;
  color: #333333;
  cursor: pointer;
  border-radius: 4px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
#theme-toggle:hover {
  background-color: rgba(100, 100, 255, 0.1);
}

/* Push content below the WordPress admin bar */
body.admin-bar #board-wrapper {
  box-sizing: border-box;
}

#plg-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 2147483000;
  isolation: isolate;
  overflow: visible;
}

#plg-loader.is-visible {
  opacity: 1;
}

#plg-loader.plg-loader--variant-2 {
  --plg-loader-brand-primary: #e31b54;
  --plg-loader-brand-accent: #20c7d9;
  --plg-loader-brand-yellow: #ffd43b;
  --plg-loader-brand-purple: #8b5cf6;
  --plg-loader-bg: #050712;
  --plg-loader-panel: #0a1020;
  --plg-loader-cube-duration: 5s;
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  #plg-loader::before,
  #plg-loader.plg-loader--variant-2::before {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .plg-bg-particles .particle,
  .plg-bg-particles .particle::before,
  .plg-bg-particles .particle::after {
    animation: none !important;
  }

  #plg-loader.plg-loader--variant-2 .plg-loader__cube2-box,
  #plg-loader.plg-loader--variant-2 .plg-loader__brand span,
  #plg-loader.plg-loader--variant-2 .plg-loader__caption {
    animation: none !important;
  }

  #plg-loader.plg-loader--variant-2 .plg-loader__cube2-box {
    transform: rotateX(-15deg) rotateY(25deg);
  }

  #plg-loader.plg-loader--variant-2 .plg-loader__cube2-blur {
    filter: blur(8px);
    opacity: 0.2;
  }

  #plg-loader.plg-loader--variant-2 .plg-bg-particles .particle,
  #plg-loader.plg-loader--variant-2 .plg-bg-particles .particle::before,
  #plg-loader.plg-loader--variant-2 .plg-bg-particles .particle::after {
    opacity: 0.1;
  }

  #plg-loader.plg-loader--variant-2 .plg-loader__caption {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%);
  }

  #plg-loader.plg-loader--variant-2 .plg-loader__caption--front {
    opacity: 1;
    visibility: visible;
  }

  #plg-loader.plg-loader--variant-2 .plg-loader__brand span {
    background-position: 50% 50%;
  }
}

#plg-loader::before {
  content: "";
  position: fixed;
  inset: 0;
  background: none;
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  z-index: 0;
  pointer-events: none;
}

#plg-loader > * {
  position: relative;
  z-index: 1;
}

#plg-loader.plg-loader--variant-2::before {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035) 0 1px,
      transparent 1px 18px
    ),
    radial-gradient(
      circle at 50% 48%,
      color-mix(in srgb, var(--plg-loader-brand-accent) 18%, transparent) 0%,
      transparent 32%
    ),
    radial-gradient(
      circle at 38% 30%,
      color-mix(in srgb, var(--plg-loader-brand-primary) 13%, transparent) 0%,
      transparent 26%
    ),
    radial-gradient(
      circle at 66% 34%,
      color-mix(in srgb, var(--plg-loader-brand-purple) 12%, transparent) 0%,
      transparent 28%
    ),
    radial-gradient(circle, #12183c 0%, var(--plg-loader-bg, #070816) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.plg-loader__cube2 {
  --size-cube: 302px;
  --margin-cube: 25px;
  --time-anim: 0.75s;
  --plg-loader-brand-offset: -58px;
  --plg-loader-brand-gap: 10px;
  --plg-loader-caption-cube-gap: 28px;
  position: relative;
  min-width: calc(var(--size-cube) + 216px);
  min-height: calc(var(--size-cube) + 282px);
  max-width: 100vw;
  box-sizing: border-box;
  padding-top: clamp(20px, 4vh, 34px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.plg-bg-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.plg-bg-particles .particle,
.plg-bg-particles .particle::before,
.plg-bg-particles .particle::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 999px;
  opacity: 0.34;
  transform-origin: top center;
}

.plg-bg-particles .particle {
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  animation: driftA 34s linear infinite alternate;
}

.plg-bg-particles .particle::before {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  background: currentColor;
  opacity: 0.58;
  animation: driftB 24s linear infinite alternate;
}

.plg-bg-particles .particle::after {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  animation: driftC 28s linear infinite alternate;
}

.plg-bg-particles .purple {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-purple, #8b5cf6) 70%,
    #050712
  );
  left: 10%;
  top: 8%;
  animation-name: driftA;
  animation-delay: -2s;
}

.plg-bg-particles .medium-blue {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-accent, #20c7d9) 72%,
    #050712
  );
  left: 24%;
  top: 20%;
  animation-name: driftB;
  animation-delay: -8s;
}

.plg-bg-particles .light-blue {
  color: color-mix(in srgb, var(--plg-loader-brand-accent, #20c7d9) 82%, white);
  left: 40%;
  top: 12%;
  animation-name: driftC;
  animation-delay: -4s;
}

.plg-bg-particles .red {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-primary, #e31b54) 70%,
    #050712
  );
  left: 62%;
  top: 18%;
  animation-name: driftD;
  animation-delay: -12s;
}

.plg-bg-particles .orange {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-yellow, #ffd43b) 56%,
    #e31b54
  );
  left: 78%;
  top: 14%;
  animation-name: driftE;
  animation-delay: -6s;
}

.plg-bg-particles .yellow {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-yellow, #ffd43b) 78%,
    #050712
  );
  left: 88%;
  top: 28%;
  animation-name: driftA;
  animation-direction: alternate-reverse;
  animation-delay: -14s;
}

.plg-bg-particles .cyan {
  color: color-mix(in srgb, var(--plg-loader-brand-accent, #20c7d9) 72%, white);
  left: 14%;
  top: 56%;
  animation-name: driftE;
  animation-delay: -10s;
}

.plg-bg-particles .light-green {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-accent, #20c7d9) 48%,
    #ffd43b
  );
  left: 28%;
  top: 70%;
  animation-name: driftD;
  animation-direction: alternate-reverse;
  animation-delay: -18s;
}

.plg-bg-particles .lime {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-yellow, #ffd43b) 62%,
    #20c7d9
  );
  left: 46%;
  top: 62%;
  animation-name: driftB;
  animation-direction: alternate-reverse;
  animation-delay: -16s;
}

.plg-bg-particles .magenta {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-purple, #8b5cf6) 64%,
    #e31b54
  );
  left: 60%;
  top: 74%;
  animation-name: driftC;
  animation-direction: alternate-reverse;
  animation-delay: -20s;
}

.plg-bg-particles .lightish-red {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-primary, #e31b54) 78%,
    white
  );
  left: 76%;
  top: 64%;
  animation-name: driftD;
  animation-delay: -9s;
}

.plg-bg-particles .pink {
  color: color-mix(
    in srgb,
    var(--plg-loader-brand-primary, #e31b54) 72%,
    white
  );
  left: 90%;
  top: 54%;
  animation-name: driftE;
  animation-direction: alternate-reverse;
  animation-delay: -13s;
}

.plg-bg-particles .shape-rectangle,
.plg-bg-particles .shape-cube,
.plg-bg-particles .shape-triangle {
  opacity: 0.32;
}

.plg-bg-particles .shape-rectangle {
  width: 22px;
  height: 8px;
  border-radius: 3px;
  animation-duration: 32s;
}

.plg-bg-particles .shape-rectangle::before {
  width: 9px;
  height: 4px;
  border-radius: 3px;
  background: currentColor;
}

.plg-bg-particles .shape-rectangle::after {
  width: 7px;
  height: 3px;
  border-radius: 2px;
}

.plg-bg-particles .shape-cube {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  animation-duration: 36s;
}

.plg-bg-particles .shape-cube::before {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: currentColor;
}

.plg-bg-particles .shape-cube::after {
  width: 5px;
  height: 5px;
  border-radius: 2px;
}

.plg-bg-particles .shape-triangle {
  width: 16px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.36;
  animation-duration: 34s;
}

.plg-bg-particles .shape-triangle::before,
.plg-bg-particles .shape-triangle::after {
  width: 7px;
  height: 6px;
  background: currentColor;
  border: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.46;
}

.plg-bg-particles .rectangle-blue {
  color: #38bdf8;
  left: 16%;
  top: 34%;
  animation-name: driftC;
  animation-delay: -5s;
}

.plg-bg-particles .rectangle-orange {
  color: #fb923c;
  left: 70%;
  top: 46%;
  animation-name: driftD;
  animation-delay: -11s;
}

.plg-bg-particles .cube-violet {
  color: #8b5cf6;
  left: 34%;
  top: 42%;
  animation-name: driftE;
  animation-delay: -7s;
}

.plg-bg-particles .cube-green {
  color: #22c55e;
  left: 82%;
  top: 82%;
  animation-name: driftB;
  animation-delay: -15s;
}

.plg-bg-particles .triangle-yellow {
  color: #facc15;
  left: 52%;
  top: 28%;
  animation-name: driftD;
  animation-delay: -3s;
}

.plg-bg-particles .triangle-pink {
  color: #ec4899;
  left: 8%;
  top: 82%;
  animation-name: driftE;
  animation-direction: alternate-reverse;
  animation-delay: -17s;
}

@keyframes driftA {
  0% {
    transform: translate3d(0vw, 0vh, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate3d(18vw, 22vh, 0) scale(1.2) rotate(120deg);
  }
  100% {
    transform: translate3d(-12vw, 46vh, 0) scale(0.9) rotate(240deg);
  }
}

@keyframes driftB {
  0% {
    transform: translate3d(0vw, 0vh, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-16vw, 10vh, 0) rotate(180deg);
  }
  100% {
    transform: translate3d(22vw, -8vh, 0) rotate(300deg);
  }
}

@keyframes driftC {
  0% {
    transform: translate3d(0vw, 0vh, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(10vw, -16vh, 0) rotate(140deg);
  }
  100% {
    transform: translate3d(-20vw, 14vh, 0) rotate(320deg);
  }
}

@keyframes driftD {
  0% {
    transform: translate3d(0vw, 0vh, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate3d(-14vw, 24vh, 0) scale(1.08) rotate(-150deg);
  }
  100% {
    transform: translate3d(16vw, -18vh, 0) scale(0.94) rotate(-300deg);
  }
}

@keyframes driftE {
  0% {
    transform: translate3d(0vw, 0vh, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate3d(8vw, -24vh, 0) scale(1.16) rotate(96deg);
  }
  100% {
    transform: translate3d(-18vw, 26vh, 0) scale(0.88) rotate(260deg);
  }
}

.plg-loader__cube2-blur {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 38% 34%,
      color-mix(in srgb, var(--plg-loader-brand-accent) 22%, transparent) 0%,
      color-mix(in srgb, var(--plg-loader-brand-purple) 14%, transparent) 28%,
      rgba(15, 23, 42, 0) 62%
    ),
    radial-gradient(
      circle at 66% 62%,
      color-mix(in srgb, var(--plg-loader-brand-yellow) 18%, transparent) 0%,
      color-mix(in srgb, var(--plg-loader-brand-primary) 15%, transparent) 26%,
      rgba(15, 23, 42, 0) 70%
    );
  filter: blur(16px);
  opacity: 0.5;
  z-index: 1;
}

.plg-loader__brand {
  position: relative;
  order: 1;
  z-index: 3;
  max-width: min(92vw, 760px);
  margin-bottom: var(--plg-loader-brand-gap);
  text-align: center;
  color: #ffffff;
  font-family:
    "Orbitron", "Rajdhani", "Exo 2", "Segoe UI", "Inter", "Helvetica Neue",
    Arial, sans-serif;
  font-size: clamp(38px, 4.8vw, 58px);
  font-stretch: expanded;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(var(--plg-loader-brand-offset));
}

.plg-loader__brand span {
  display: inline-block;
  padding: 3px 10px 9px 18px;
  color: #ffffff;
  background: linear-gradient(
    90deg,
    #ff3d8f 0%,
    #ff9b32 25%,
    #21d4fd 50%,
    #7c3cff 75%,
    #ff3d8f 100%
  );
  background-size: 104% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 6px rgba(255, 61, 143, 0.42),
    0 0 14px rgba(33, 212, 253, 0.22),
    0 0 20px rgba(124, 60, 255, 0.18);
  transform: scaleX(1.1);
  transform-origin: center;
  animation: plgLoaderBrandGradient 7s ease-in-out infinite;
}

.plg-loader__brand span::after {
  content: "";
  display: block;
  width: 62%;
  height: 1px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 61, 143, 0) 0%,
    #ff3d8f 14%,
    #ff9b32 34%,
    #21d4fd 54%,
    #7c3cff 74%,
    #ff3d8f 88%,
    rgba(255, 61, 143, 0) 100%
  );
  box-shadow:
    0 0 8px rgba(255, 61, 143, 0.34),
    0 0 10px rgba(33, 212, 253, 0.28);
  opacity: 0.86;
}

.plg-loader__cube2-space {
  order: 3;
  perspective: 1000px;
  width: var(--size-cube);
  height: var(--size-cube);
  position: relative;
  z-index: 2;
  filter: drop-shadow(
    0 16px 26px
      color-mix(in srgb, var(--plg-loader-brand-accent) 12%, transparent)
  );
}

.plg-loader__cube2-box {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: plgLoaderCube2Rotate var(--plg-loader-cube-duration, 5s) infinite;
  animation-timing-function: cubic-bezier(0.5, -0.75, 0.2, 1.5);
  transform: rotateX(-15deg) rotateY(25deg);
}

.plg-loader__cube2-box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 113%;
  width: 78%;
  height: 15%;
  transform: translateX(-50%);
  border-radius: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.18) 44%,
    rgba(15, 23, 42, 0) 74%
  );
  filter: blur(5px);
}

.plg-loader__cube2-face {
  width: var(--size-cube);
  height: var(--size-cube);
  overflow: hidden;
  position: absolute;
  border: 1px solid
    color-mix(
      in srgb,
      var(--plg-loader-brand-accent) 32%,
      rgba(255, 255, 255, 0.22)
    );
  border-radius: 2px;
  --plg-loader-face-image: none;
  --plg-loader-face-gradient: radial-gradient(
    circle at 34% 24%,
    color-mix(in srgb, var(--plg-loader-brand-accent) 62%, #ffffff) 0%,
    color-mix(in srgb, var(--plg-loader-brand-primary) 48%, #12182d) 46%,
    var(--plg-loader-panel, #0a1020) 100%
  );
  background-color: #070816;
  background-image:
    var(--plg-loader-face-image), var(--plg-loader-face-gradient);
  background-size: cover;
  background-position: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 22px rgba(255, 255, 255, 0.035),
    0 0 14px color-mix(in srgb, var(--plg-loader-brand-accent) 12%, transparent),
    0 10px 20px rgba(0, 0, 0, 0.18);
}

.plg-loader__cube2-face::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.055) 22%,
    rgba(255, 255, 255, 0) 52%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.075);
  pointer-events: none;
}

.plg-loader__cube2-face::after {
  content: none;
}

.plg-loader__cube2-face--front {
  --plg-loader-face-image: var(--plg-loader-cube-front-image, none);
  --plg-loader-face-gradient: radial-gradient(
    circle at 30% 24%,
    color-mix(in srgb, var(--plg-loader-brand-primary) 58%, white) 0%,
    color-mix(in srgb, var(--plg-loader-brand-accent) 42%, #11162f) 46%,
    var(--plg-loader-panel, #0a1020) 100%
  );
  transform: translate3d(0, 0, calc(var(--size-cube) / 2 + var(--margin-cube)));
}

.plg-loader__cube2-face--top {
  --plg-loader-face-image: var(--plg-loader-cube-top-image, none);
  --plg-loader-face-gradient: radial-gradient(
    circle at 34% 30%,
    color-mix(in srgb, var(--plg-loader-brand-accent) 60%, white) 0%,
    color-mix(in srgb, #2563eb 42%, #151636) 52%,
    var(--plg-loader-panel, #0a1020) 100%
  );
  transform: rotateX(90deg)
    translate3d(0, 0, calc(var(--size-cube) / 2 + var(--margin-cube)));
}

.plg-loader__cube2-face--bottom {
  --plg-loader-face-image: var(--plg-loader-cube-bottom-image, none);
  --plg-loader-face-gradient: radial-gradient(
    circle at 38% 32%,
    color-mix(in srgb, var(--plg-loader-brand-yellow) 58%, white) 0%,
    color-mix(in srgb, var(--plg-loader-brand-primary) 38%, #151636) 54%,
    var(--plg-loader-panel, #0a1020) 100%
  );
  transform: rotateX(-90deg)
    translate3d(0, 0, calc(var(--size-cube) / 2 + var(--margin-cube)));
}

.plg-loader__cube2-face--left {
  left: 50%;
  margin-left: calc(-1 * var(--size-cube) / 2);
  --plg-loader-face-image: var(--plg-loader-cube-left-image, none);
  --plg-loader-face-gradient: radial-gradient(
    circle at 32% 28%,
    color-mix(in srgb, var(--plg-loader-brand-purple) 56%, white) 0%,
    color-mix(in srgb, var(--plg-loader-brand-primary) 38%, #151636) 52%,
    var(--plg-loader-panel, #0a1020) 100%
  );
  transform: rotateY(-90deg)
    translate3d(0, 0, calc(var(--size-cube) / 2 + var(--margin-cube)));
}

.plg-loader__cube2-face--right {
  left: 50%;
  margin-left: calc(-1 * var(--size-cube) / 2);
  --plg-loader-face-image: var(--plg-loader-cube-right-image, none);
  --plg-loader-face-gradient: radial-gradient(
    circle at 36% 28%,
    color-mix(in srgb, #22c55e 48%, white) 0%,
    color-mix(in srgb, var(--plg-loader-brand-accent) 38%, #151636) 52%,
    var(--plg-loader-panel, #0a1020) 100%
  );
  transform: rotateY(90deg)
    translate3d(0, 0, calc(var(--size-cube) / 2 + var(--margin-cube)));
}

.plg-loader__cube2-face--back {
  --plg-loader-face-image: var(--plg-loader-cube-back-image, none);
  --plg-loader-face-gradient: radial-gradient(
    circle at 38% 26%,
    color-mix(in srgb, #f97316 48%, white) 0%,
    color-mix(in srgb, var(--plg-loader-brand-primary) 42%, #151636) 54%,
    var(--plg-loader-panel, #0a1020) 100%
  );
  transform: rotateY(180deg)
    translate3d(0, 0, calc(var(--size-cube) / 2 + var(--margin-cube)));
}

.plg-loader__captions {
  position: relative;
  order: 2;
  z-index: 3;
  width: min(84vw, 520px);
  height: 50px;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-family:
    "Orbitron", "Rajdhani", "Exo 2", "Segoe UI", "Inter", "Helvetica Neue",
    Arial, sans-serif;
  font-size: clamp(12px, 1.45vw, 16px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 var(--plg-loader-caption-cube-gap);
  padding-top: 0;
  transform: translateY(var(--plg-loader-brand-offset));
  isolation: isolate;
  text-shadow:
    0 0 6px rgba(255, 61, 143, 0.3),
    0 0 12px rgba(180, 107, 255, 0.18),
    0 0 16px rgba(53, 219, 255, 0.2);
}

.plg-loader__captions::before {
  content: none;
}

.plg-loader__captions::after {
  content: none;
}

.plg-loader__caption {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  max-width: calc(100% - 96px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 6px));
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    #ff3b9f 0%,
    #ff7a8a 24%,
    #ffb38a 40%,
    #b46bff 68%,
    #35dbff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation-duration: var(--plg-loader-cube-duration, 5s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.plg-loader__caption--front {
  animation-name: plgLoaderCaptionFront;
}

.plg-loader__caption--top {
  animation-name: plgLoaderCaptionTop;
}

.plg-loader__caption--right {
  animation-name: plgLoaderCaptionRight;
}

.plg-loader__caption--bottom {
  animation-name: plgLoaderCaptionBottom;
}

.plg-loader__caption--left {
  animation-name: plgLoaderCaptionLeft;
}

.plg-loader__caption--back {
  animation-name: plgLoaderCaptionBack;
}

@keyframes plgLoaderBrandGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes plgLoaderCaptionFront {
  0%,
  10% {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
  }
  14%,
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% - 6px));
  }
}

@keyframes plgLoaderCaptionTop {
  0%,
  12%,
  30%,
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 6px));
  }
  16%,
  26% {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
  }
}

@keyframes plgLoaderCaptionRight {
  0%,
  28%,
  46%,
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 6px));
  }
  32%,
  42% {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
  }
}

@keyframes plgLoaderCaptionBottom {
  0%,
  44%,
  62%,
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 6px));
  }
  48%,
  58% {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
  }
}

@keyframes plgLoaderCaptionLeft {
  0%,
  60%,
  78%,
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 6px));
  }
  64%,
  74% {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
  }
}

@keyframes plgLoaderCaptionBack {
  0%,
  76% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 6px));
  }
  80%,
  90% {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
  }
  96%,
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% - 6px));
  }
}

@keyframes plgLoaderCube2Rotate {
  0%,
  10% {
    transform: rotateX(-15deg) rotateY(25deg);
  }
  16%,
  26% {
    transform: rotateX(-90deg);
  }
  32%,
  42% {
    transform: rotateY(90deg);
  }
  48%,
  58% {
    transform: rotateX(90deg);
  }
  64%,
  74% {
    transform: rotateY(-90deg);
  }
  80%,
  90% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateX(-15deg) rotateY(25deg);
  }
}

.plg-loader__glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 5;
}

.plg-loader__rings {
  position: absolute;
  inset: 50%;
  pointer-events: none;
  z-index: 0;
}

.plg-ring {
  position: absolute;
  border-radius: 10px;
  border: 2px solid rgba(37, 99, 235, 0.35);
  mix-blend-mode: screen;
}

.plg-ring.ring-1 {
  width: 198px;
  height: 198px;
  margin-left: -99px;
  margin-top: -99px;
  animation: plgRingOrbit 5.5s linear infinite;
}
.plg-ring.ring-2 {
  width: 270px;
  height: 270px;
  margin-left: -135px;
  margin-top: -135px;
  border-color: rgba(251, 191, 36, 0.22);
  animation: plgRingOrbit 7.5s linear infinite reverse;
}
.plg-ring.ring-3 {
  width: 324px;
  height: 324px;
  margin-left: -162px;
  margin-top: -162px;
  border-color: rgba(37, 99, 235, 0.18);
  animation: plgRingOrbit 9s linear infinite;
}

@media (max-width: 640px) {
  #plg-loader.plg-loader--variant-1,
  #plg-loader:not([class]) {
    transform: scale(0.62);
    transform-origin: center center;
  }

  .plg-loader__cube2 {
    --size-cube: 198px;
    --margin-cube: 18px;
    --plg-loader-brand-offset: -30px;
    --plg-loader-brand-gap: 8px;
    --plg-loader-caption-cube-gap: 20px;
    width: min(100vw, calc(var(--size-cube) + 126px));
    min-width: 0;
    min-height: calc(var(--size-cube) + 182px);
    padding-top: clamp(14px, 3vh, 22px);
  }

  .plg-loader__brand {
    max-width: min(88vw, 360px);
    font-size: clamp(27px, 8.4vw, 38px);
    letter-spacing: 0.15em;
  }

  .plg-loader__brand span {
    transform: scaleX(1.04);
  }

  .plg-loader__brand span::after {
    margin-top: 9px;
  }

  .plg-loader__captions {
    width: min(86vw, 330px);
    height: 42px;
    font-size: 10.5px;
    letter-spacing: 0.16em;
  }

  .plg-loader__caption {
    max-width: calc(100% - 58px);
    white-space: normal;
  }
}

.plg-loader__fill {
  position: absolute;
  inset: -120px;
  pointer-events: none;
  z-index: 0;
}

.plg-fill-cube {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 5px;
  background: rgba(37, 99, 235, 0.5);
  border: 1px solid rgba(251, 191, 36, 0.7);
  animation: plgFillSpread 3s ease-in-out infinite;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
}

.plg-loader__orbit {
  position: absolute;
  width: 216px;
  height: 216px;
  inset: 50%;
  margin-left: -108px;
  margin-top: -108px;
  pointer-events: none;
  animation: plgOrbitSpin 7s linear infinite;
  z-index: 4;
}

.plg-orbit-cube {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: rgba(37, 99, 235, 0.75);
  opacity: 0.15;
  animation: plgOrbitBlink 1.6s ease-in-out infinite;
}

.plg-orbit-cube:nth-child(odd) {
  background: rgba(251, 191, 36, 0.8);
}

.plg-orbit-cube.cube-1 {
  transform: translate(-50%, -50%) rotate(0deg) translateX(118px) rotate(0deg);
  animation-delay: 0s;
}
.plg-orbit-cube.cube-2 {
  transform: translate(-50%, -50%) rotate(60deg) translateX(118px)
    rotate(-60deg);
  animation-delay: 0.12s;
}
.plg-orbit-cube.cube-3 {
  transform: translate(-50%, -50%) rotate(120deg) translateX(118px)
    rotate(-120deg);
  animation-delay: 0.24s;
}
.plg-orbit-cube.cube-4 {
  transform: translate(-50%, -50%) rotate(180deg) translateX(118px)
    rotate(-180deg);
  animation-delay: 0.36s;
}
.plg-orbit-cube.cube-5 {
  transform: translate(-50%, -50%) rotate(240deg) translateX(118px)
    rotate(-240deg);
  animation-delay: 0.48s;
}
.plg-orbit-cube.cube-6 {
  transform: translate(-50%, -50%) rotate(300deg) translateX(118px)
    rotate(-300deg);
  animation-delay: 0.6s;
}

.plg-loader__field {
  position: absolute;
  inset: -40px;
  overflow: hidden;
  pointer-events: none;
}

.plg-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(251, 191, 36, 0.45);
  opacity: 0;
  animation: plgSparkMove var(--dur, 2.4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transform: translate3d(0, 0, 0);
}

.plg-spark {
  z-index: 3;
}

@keyframes plgSparkMove {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
  }
  30% {
    opacity: 0.7;
  }
  60% {
    opacity: 0.9;
    transform: translate3d(var(--dx, 0), var(--dy, 0), 0) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translate3d(
        calc(var(--dx, 0) * 1.4),
        calc(var(--dy, 0) * 1.4),
        0
      )
      scale(0.9);
  }
}

@keyframes plgFillSpread {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  25% {
    opacity: 0.8;
  }
  65% {
    opacity: 0.9;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy)))
      scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translate(
        calc(-50% + var(--dx) * 1.18),
        calc(-50% + var(--dy) * 1.18)
      )
      scale(0.85);
  }
}

@keyframes plgRingOrbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes plgOrbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes plgOrbitBlink {
  0% {
    opacity: 0.15;
  }
  40% {
    opacity: 0.8;
  }
  70% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.15;
  }
}

.plg-loader__cubes {
  position: relative;
  width: 162px;
  height: 162px;
  display: grid;
  place-items: center;
  perspective: 600px;
  border-radius: 22px;
  border: 2px solid rgba(37, 99, 235, 0.75);
  background: transparent;
  overflow: visible;
  position: relative;
}

.plg-loader__cubes::before,
.plg-loader__cubes::after {
  content: "";
  position: absolute;
  width: 162px;
  height: 162px;
  border-radius: 22px;
  border: 2px dashed rgba(251, 191, 36, 0.8);
  inset: 0;
  margin: auto;
  animation: plgRingSpin 2.2s linear infinite;
  pointer-events: none;
}
.plg-loader__cubes::after {
  border-color: rgba(37, 99, 235, 0.8);
  width: 135px;
  height: 135px;
  animation-duration: 1.6s;
  animation-direction: reverse;
}

.plg-cube {
  --plg-accent: #2563eb;
  --plg-accent-2: #fbbf24;
  width: 60px;
  height: 60px;
  position: absolute;
  transform-style: preserve-3d;
  animation: plgCubeFlip 1.6s ease-in-out infinite;
  filter: none;
  mix-blend-mode: normal;
}

.plg-cube::before,
.plg-cube::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--plg-accent), #60a5fa, #fbbf24 95%);
  transform: translateZ(16px);
  opacity: 0.9;
}

.plg-cube::after {
  background: linear-gradient(
    135deg,
    var(--plg-accent-2),
    #f59e0b,
    #fbbf24 90%
  );
  transform: rotateY(90deg) translateZ(16px);
  opacity: 0.7;
}

.plg-cube.cube-a {
  animation-delay: 0s;
}
.plg-cube.cube-b {
  animation-delay: 0.12s;
  transform: translateX(-54px);
}
.plg-cube.cube-c {
  animation-delay: 0.24s;
  transform: translateX(54px);
}

@keyframes plgCubeFlip {
  0% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(0.98);
    opacity: 0.8;
  }
  35% {
    transform: translateY(-8px) rotateX(18deg) rotateY(-12deg) scale(1.02);
    opacity: 1;
  }
  70% {
    transform: translateY(6px) rotateX(-16deg) rotateY(10deg) scale(0.96);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(0.98);
    opacity: 0.85;
  }
}

@keyframes plgRingSpin {
  from {
    transform: rotate(0deg);
    opacity: 0.9;
  }
  to {
    transform: rotate(360deg);
    opacity: 0.9;
  }
}

/* Make grid and labels responsive */
#board-wrapper {
  height: calc(100vh - 60px);
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 40px auto;
  grid-template-rows: 40px auto;
}

/* On smaller widths, adjust label sizes */
@media screen and (max-width: 600px) {
  #board-wrapper {
    grid-template-columns: 30px auto;
    grid-template-rows: 30px auto;
  }
  #col-labels,
  #row-labels {
    font-size: 8px;
  }
  .col-label,
  .row-label {
    height: 8px;
    width: 8px;
    line-height: 8px;
  }
}

/* Slightly larger touch target on very small screens */
@media (max-width: 480px) {
  .grid-cell {
    border-radius: 2px;
  }
}

/* Make grid scroll nicely on mobile */
#grid {
  overflow-x: auto;
  overflow-y: scroll;
  max-width: 100vw;
  max-height: calc(100vh - 106px);
}

/* Ensure labels scroll sync */
.col-label,
.row-label {
  font-size: 10px;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10px;
  width: 10px;
  line-height: 10px;
  pointer-events: none;
}

/* Reduced-motion friendly */
@media (prefers-reduced-motion: reduce) {
  .grid-cell {
    transition: none;
  }
}

/* -------------------------------------------------------------------------- */
/*                                    Pulse                                   */
/* -------------------------------------------------------------------------- */
@keyframes plgPulseField {
  0% {
    opacity: 0;
    transform: scale(0.78);
    box-shadow:
      inset 0 0 0 1px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 0%,
          transparent
        ),
      0 0 0 0
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 0%,
          transparent
        );
  }
  16% {
    opacity: 1;
    transform: scale(1.02);
    box-shadow:
      inset 0 0 0 1px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 46%,
          rgba(255, 255, 255, 0.06)
        ),
      0 0 0 0
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 58%,
          transparent
        ),
      0 0 52px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 34%,
          transparent
        );
  }
  62% {
    opacity: 0.56;
    transform: scale(1.11);
    box-shadow:
      inset 0 0 0 1px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 20%,
          transparent
        ),
      0 0 0 18px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 0%,
          transparent
        ),
      0 0 68px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 16%,
          transparent
        );
  }
  100% {
    opacity: 0;
    transform: scale(1.16);
    box-shadow:
      inset 0 0 0 1px rgba(0, 0, 0, 0),
      0 0 0 26px rgba(0, 0, 0, 0),
      0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes plgPulseCore {
  0% {
    opacity: 0;
    transform: scale(0.62);
    filter: blur(12px);
  }
  18% {
    opacity: 1;
    transform: scale(1.04);
    filter: blur(0px);
  }
  58% {
    opacity: 0.42;
    transform: scale(1.24);
    filter: blur(9px);
  }
  100% {
    opacity: 0;
    transform: scale(1.34);
    filter: blur(14px);
  }
}

@keyframes plgPulseSweep {
  0% {
    opacity: 0;
    transform: translate3d(-85%, -22%, 0) rotate(18deg);
  }
  12% {
    opacity: 0.12;
  }
  34% {
    opacity: 0.88;
  }
  72% {
    opacity: 0.16;
    transform: translate3d(78%, 16%, 0) rotate(18deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(92%, 22%, 0) rotate(18deg);
  }
}

@keyframes plgPulseShake {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  10% {
    transform: translate3d(-1px, 0, 0) scale(1.012) rotate(-0.24deg);
  }
  18% {
    transform: translate3d(1.6px, -0.4px, 0) scale(1.018) rotate(0.28deg);
  }
  28% {
    transform: translate3d(-2.2px, 0.9px, 0) scale(1.024) rotate(-0.38deg);
  }
  38% {
    transform: translate3d(2.4px, -1px, 0) scale(1.024) rotate(0.42deg);
  }
  48% {
    transform: translate3d(-1.7px, 0.7px, 0) scale(1.02) rotate(-0.26deg);
  }
  58% {
    transform: translate3d(1.2px, -0.5px, 0) scale(1.014) rotate(0.18deg);
  }
  72% {
    transform: translate3d(-0.8px, 0.2px, 0) scale(1.008) rotate(-0.1deg);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.grid-cell.plg-pulse-capable {
  isolation: isolate;
}

.plg-pulse-signal {
  position: absolute;
  inset: -6%;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: normal;
  background:
    radial-gradient(
      circle at 18% 20%,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 18%,
          transparent
        )
        0%,
      transparent 54%
    ),
    linear-gradient(
      155deg,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 24%,
          rgba(2, 6, 23, 0.92)
        )
        0%,
      rgba(2, 6, 23, 0.32) 100%
    );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.plg-pulse-signal::before,
.plg-pulse-signal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}

.plg-pulse-signal::before {
  inset: 5%;
  background:
    radial-gradient(
      circle at 28% 24%,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 38%,
          rgba(255, 255, 255, 0.08)
        )
        0%,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 14%,
          rgba(2, 6, 23, 0.06)
        )
        26%,
      transparent 58%
    ),
    linear-gradient(
      155deg,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 28%,
          rgba(255, 255, 255, 0.08)
        )
        0%,
      color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 10%,
          transparent
        )
        42%,
      transparent 82%
    );
}

.plg-pulse-signal::after {
  inset: -12%;
  background: linear-gradient(
    112deg,
    transparent 22%,
    color-mix(in srgb, var(--plg-cube-overlay-color, #38bdf8) 0%, transparent)
      38%,
    color-mix(
        in srgb,
        var(--plg-cube-overlay-color, #38bdf8) 56%,
        rgba(255, 255, 255, 0.22)
      )
      50%,
    color-mix(in srgb, var(--plg-cube-overlay-color, #38bdf8) 0%, transparent)
      62%,
    transparent 78%
  );
  filter: blur(10px);
}

.grid-cell.is-pulsing {
  border-radius: 4px;
  z-index: 10;
}

.grid-cell.is-pulsing > .plg-cube-media,
.grid-cell.is-pulsing > .plg-video-wrap,
.grid-cell.is-pulsing > .plg-cube-readability-gradient,
.grid-cell.is-pulsing > .plg-cube-badge-stack,
.grid-cell.is-pulsing > .plg-view-trigger,
.grid-cell.is-pulsing > .plg-reserved-tile {
  will-change: transform;
  animation: plgPulseShake 1450ms cubic-bezier(0.16, 1, 0.3, 1) 1;
}

.grid-cell.is-pulsing .plg-pulse-signal {
  animation: plgPulseField 1450ms cubic-bezier(0.16, 1, 0.3, 1) 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.grid-cell.is-pulsing .plg-pulse-signal::before {
  animation: plgPulseCore 1450ms cubic-bezier(0.16, 1, 0.3, 1) 1;
}

body.plg-dark .grid-cell.is-pulsing {
  z-index: 10;
}

body.plg-dark .grid-cell.is-pulsing .plg-pulse-signal {
  filter: none;
}

.grid-cell.is-pulsing .plg-pulse-signal::after {
  animation: plgPulseSweep 1450ms cubic-bezier(0.16, 1, 0.3, 1) 1;
}

@media (prefers-reduced-motion: reduce) {
  .grid-cell.is-pulsing > .plg-cube-media,
  .grid-cell.is-pulsing > .plg-video-wrap,
  .grid-cell.is-pulsing > .plg-cube-readability-gradient,
  .grid-cell.is-pulsing > .plg-cube-badge-stack,
  .grid-cell.is-pulsing > .plg-view-trigger,
  .grid-cell.is-pulsing > .plg-reserved-tile,
  .grid-cell.is-pulsing .plg-pulse-signal,
  .grid-cell.is-pulsing .plg-pulse-signal::before,
  .grid-cell.is-pulsing .plg-pulse-signal::after {
    animation: none !important;
  }
}

body.plg-perf-lite .grid-cell.is-pulsing {
  animation: none !important;
  filter: none !important;
  will-change: auto !important;
}
body.plg-perf-lite .grid-cell.is-pulsing > .plg-cube-media,
body.plg-perf-lite .grid-cell.is-pulsing > .plg-video-wrap,
body.plg-perf-lite .grid-cell.is-pulsing > .plg-cube-readability-gradient,
body.plg-perf-lite .grid-cell.is-pulsing > .plg-cube-badge-stack,
body.plg-perf-lite .grid-cell.is-pulsing > .plg-view-trigger,
body.plg-perf-lite .grid-cell.is-pulsing > .plg-reserved-tile,
body.plg-perf-lite .grid-cell.is-pulsing .plg-pulse-signal,
body.plg-perf-lite .grid-cell.is-pulsing .plg-pulse-signal::before,
body.plg-perf-lite .grid-cell.is-pulsing .plg-pulse-signal::after {
  animation: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

/* -------------------------------------------------------------------------- */
/*                                 Video cubes                                */
/* -------------------------------------------------------------------------- */
.plg-video-wrap {
  position: absolute;
  inset: 0;
}
.plg-video-wrap iframe {
  border: none;
}
.plg-video-overlay {
  position: absolute;
  inset: 0;
  display: block;
  background: transparent;
  z-index: 2;
}
.plg-video-wrap video,
.plg-video-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* -------------------------------------------------------------------------- */
/*                      Grid View Number Labels Highlighting                  */
/* -------------------------------------------------------------------------- */
.col-label,
.row-label {
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.col-label {
  padding: 10px 0;
}
.row-label {
  padding: 0 10px;
}

.col-label.is-hot,
.row-label.is-hot {
  background: #ff0000;
  color: #000000;
}

/* -------------------------------------------------------------------------- */
/*                          RESERVED — legacy visual                          */
/* -------------------------------------------------------------------------- */
.plg-reserved-cell {
  /* (kept for back-compat, not used directly now) */
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  outline: 1px dashed #b3c7ff;
  background: #f6f9ff;
  z-index: 3;
}
.plg-reserved-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 6%;
  box-sizing: border-box;
}
.plg-reserved-stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(47, 124, 246, 0.12) 0,
    rgba(47, 124, 246, 0.12) 10px,
    rgba(47, 124, 246, 0.04) 10px,
    rgba(47, 124, 246, 0.04) 20px
  );
  animation: plgReservedStripes 2.3s linear infinite;
  pointer-events: none;
}
@keyframes plgReservedStripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}
.plg-reserved-badge {
  position: relative;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: clamp(10px, 1.2vw, 14px);
  background: #0f58b1;
  color: #fff;
  border: 1px solid #0b4892;
  box-shadow: 0 2px 10px rgba(15, 88, 177, 0.25);
  text-transform: uppercase;
  user-select: none;
}
.plg-reserved-sub {
  margin-top: 8px;
  font-size: clamp(9px, 1vw, 12px);
  color: #153e75;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  user-select: none;
}
@keyframes plgReservedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 124, 246, 0.45);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(47, 124, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 124, 246, 0);
  }
}
.plg-reserved-pulsing .plg-reserved-badge {
  animation: plgReservedPulse 1.8s ease-out infinite;
  animation-delay: var(--plg-pulse-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .plg-reserved-stripes {
    animation: none;
  }
  .plg-reserved-pulsing .plg-reserved-badge {
    animation: none;
  }
}
.grid-cell.is-reserved {
  position: relative;
  background: #fff !important;
}
.grid-cell.is-reserved .plg-reserved-stamp {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 3;
}
.grid-cell.is-reserved .plg-reserved-stamp::after {
  content: "RESERVED";
  padding: 6px 14px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: clamp(10px, 2.2vw, 22px);
  color: #c62828;
  border: 4px solid #c62828;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(-10deg);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.05),
    inset 0 0 0 2px rgba(198, 40, 40, 0.08);
  opacity: 0.92;
}

/* -------------------------------------------------------------------------- */
/*                       CTA buttons (static centered)                        */
/* -------------------------------------------------------------------------- */
.plg-cta-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
  z-index: 10001;
  padding: 0;
}

.plg-cta-wrap::before {
  content: none;
}

body.plg-scrolling .grid-cell.is-pulsing,
body.plg-scrolling .grid-cell.is-pulsing > .plg-cube-media,
body.plg-scrolling .grid-cell.is-pulsing > .plg-video-wrap,
body.plg-scrolling .grid-cell.is-pulsing > .plg-cube-readability-gradient,
body.plg-scrolling .grid-cell.is-pulsing > .plg-cube-badge-stack,
body.plg-scrolling .grid-cell.is-pulsing > .plg-view-trigger,
body.plg-scrolling .grid-cell.is-pulsing > .plg-reserved-tile,
body.plg-scrolling .grid-cell.is-pulsing .plg-pulse-signal,
body.plg-scrolling .grid-cell.is-pulsing .plg-pulse-signal::before,
body.plg-scrolling .grid-cell.is-pulsing .plg-pulse-signal::after {
  animation: none !important;
}

.plg-cube-badge-stack {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  max-width: calc(100% - 20px);
  pointer-events: none;
}

.plg-cube-rank-badge {
  --plg-rank-edge-1: #d7deea;
  --plg-rank-edge-2: #97a7bc;
  --plg-rank-edge-3: #526174;
  --plg-rank-core-1: rgba(26, 33, 45, 0.95);
  --plg-rank-core-2: rgba(44, 55, 71, 0.88);
  --plg-rank-core-3: rgba(75, 90, 110, 0.62);
  --plg-rank-icon: rgba(248, 250, 252, 0.96);
  --plg-rank-glow: rgba(255, 255, 255, 0.06);
  --plg-rank-shadow: rgba(15, 23, 42, 0.16);
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  isolation: isolate;
  animation:
    plgBadgeFloat 11s ease-in-out infinite,
    plgBadgeGlow 9.4s ease-in-out infinite;
}

.plg-cube-badge-stack.is-dual .plg-cube-rank-badge + .plg-cube-rank-badge {
  margin-left: 0;
}

.plg-cube-rank-badge.is-gold {
  --plg-rank-edge-1: #f8e2a0;
  --plg-rank-edge-2: #cd9b33;
  --plg-rank-edge-3: #81521a;
  --plg-rank-core-1: rgba(44, 28, 8, 0.96);
  --plg-rank-core-2: rgba(79, 49, 12, 0.9);
  --plg-rank-core-3: rgba(126, 80, 20, 0.58);
  --plg-rank-icon: #fff7dc;
  --plg-rank-glow: rgba(245, 158, 11, 0.12);
  --plg-rank-shadow: rgba(146, 64, 14, 0.2);
}

.plg-cube-rank-badge.is-silver {
  --plg-rank-edge-1: #f5f8fc;
  --plg-rank-edge-2: #bbc7d4;
  --plg-rank-edge-3: #75869b;
  --plg-rank-core-1: rgba(24, 31, 42, 0.96);
  --plg-rank-core-2: rgba(47, 58, 76, 0.9);
  --plg-rank-core-3: rgba(88, 106, 130, 0.56);
  --plg-rank-icon: #f8fbff;
  --plg-rank-glow: rgba(148, 163, 184, 0.1);
  --plg-rank-shadow: rgba(51, 65, 85, 0.18);
}

.plg-cube-rank-badge.is-bronze {
  --plg-rank-edge-1: #e6bea5;
  --plg-rank-edge-2: #b87a58;
  --plg-rank-edge-3: #76452f;
  --plg-rank-core-1: rgba(37, 20, 15, 0.96);
  --plg-rank-core-2: rgba(68, 38, 26, 0.9);
  --plg-rank-core-3: rgba(115, 69, 47, 0.56);
  --plg-rank-icon: #fff7f3;
  --plg-rank-glow: rgba(194, 101, 52, 0.1);
  --plg-rank-shadow: rgba(120, 53, 15, 0.18);
}

.plg-cube-rank-badge__shadow,
.plg-cube-rank-badge__surface,
.plg-cube-rank-badge__inner,
.plg-cube-rank-badge__glint,
.plg-cube-rank-badge__sheen,
.plg-cube-rank-badge__icon-wrap {
  position: absolute;
  pointer-events: none;
}

.plg-cube-rank-badge__shadow {
  inset: 7px 3px -1px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(2, 6, 23, 0.16),
    transparent 72%
  );
  filter: blur(4px);
  opacity: 0.62;
  z-index: 0;
}

.plg-cube-rank-badge__surface {
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    var(--plg-rank-edge-1),
    var(--plg-rank-edge-2) 52%,
    var(--plg-rank-edge-3)
  );
  box-shadow:
    0 4px 10px var(--plg-rank-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 3px rgba(15, 23, 42, 0.12);
  z-index: 1;
}

.plg-cube-rank-badge__inner {
  inset: 2px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 22%,
      rgba(255, 255, 255, 0.18),
      transparent 32%
    ),
    linear-gradient(
      160deg,
      var(--plg-rank-core-1),
      var(--plg-rank-core-2) 58%,
      var(--plg-rank-core-3)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 3px rgba(15, 23, 42, 0.16);
  z-index: 2;
}

.plg-cube-rank-badge__glint {
  left: 5px;
  right: 5px;
  top: 4px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.26),
    rgba(255, 255, 255, 0.04)
  );
  filter: blur(1.8px);
  opacity: 0.54;
  z-index: 3;
}

.plg-cube-rank-badge__sheen {
  inset: 1px;
  border-radius: 50%;
  background: linear-gradient(
    110deg,
    transparent 18%,
    rgba(255, 255, 255, 0.03) 42%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.06) 58%,
    transparent 82%
  );
  transform: translateX(-130%);
  mix-blend-mode: screen;
  animation: plgBadgeSheen 13.5s linear infinite;
  z-index: 4;
}

.plg-cube-rank-badge__icon-wrap {
  inset: 5px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at 30% 28%,
      rgba(255, 255, 255, 0.08),
      transparent 50%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.015)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 2px rgba(15, 23, 42, 0.12);
  z-index: 5;
}

.plg-cube-rank-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9px;
  height: 9px;
  color: var(--plg-rank-icon);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.08))
    drop-shadow(0 1px 1px rgba(15, 23, 42, 0.12));
}

.plg-cube-rank-badge__icon svg {
  width: 9px;
  height: 9px;
}

.grid-cell.plg-has-dual-badges::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 4px;
  pointer-events: none;
  border: 1px solid rgba(251, 191, 36, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(245, 158, 11, 0.14);
}

.plg-cta-meta {
  position: absolute;
  right: 12px;
  bottom: 5px;
  z-index: 1;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.18s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.plg-cube-views,
.plg-cube-downloads {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  color: #e5eefc;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.78),
    0 4px 14px rgba(0, 0, 0, 0.58);
}

.plg-cube-views svg,
.plg-cube-downloads svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.plg-cube-views svg {
  color: color-mix(in srgb, var(--plg-cube-overlay-color, #38bdf8) 42%, white);
}

.plg-cube-downloads svg {
  color: color-mix(in srgb, #22c55e 72%, white);
}

.plg-cube-views__count,
.plg-cube-downloads__count {
  font-variant-numeric: tabular-nums;
}

@keyframes plgBadgeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-1.5px) rotate(-1deg);
  }
}

@keyframes plgBadgeGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 var(--plg-rank-glow));
  }
  50% {
    filter: drop-shadow(0 0 8px var(--plg-rank-glow))
      drop-shadow(0 0 16px rgba(255, 255, 255, 0.05));
  }
}

@keyframes plgBadgeSheen {
  0%,
  18% {
    transform: translateX(-130%);
  }
  34%,
  100% {
    transform: translateX(140%);
  }
}

.plg-vis-row {
  padding-top: 10px;
}
.plg-vis-dot.plg-vis-pulse {
  position: relative;
  bottom: 8px;
  left: 15px;
}
.plg-vis-count {
  margin-left: 17px;
}

.plg-cta-btn {
  --plg-cta-accent: #94a3b8;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--plg-cta-button-size, 40px);
  height: var(--plg-cta-button-size, 40px);
  min-width: var(--plg-cta-button-size, 40px);
  min-height: var(--plg-cta-button-size, 40px);
  flex: 0 0 var(--plg-cta-button-size, 40px);
  padding: 0;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: var(--plg-cta-button-radius, 8px);
  background: rgba(255, 252, 246, 0.96);
  color: var(--plg-cta-accent);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  opacity: 1;
  box-shadow: 0 8px 18px rgba(30, 20, 10, 0.16);
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
  z-index: 10002;
  overflow: hidden;
}

.plg-cta-action {
  pointer-events: auto;
}

.plg-cta-window.plg-cta-actions {
  --plg-cta-button-size: 34px;
  --plg-cta-button-radius: 8px;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  max-width: calc(100% - 24px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.96);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  backface-visibility: hidden;
}

.plg-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.plg-cta-buttons.plg-cta-layout-horizontal,
.plg-cta-window.plg-cta-actions.plg-cta-layout-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.plg-cta-buttons.plg-cta-layout-vertical,
.plg-cta-window.plg-cta-actions.plg-cta-layout-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.plg-cta-buttons.plg-cta-layout-grid-2x2,
.plg-cta-window.plg-cta-actions.plg-cta-layout-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  justify-content: center;
  justify-items: center;
}

.plg-cta-window.plg-cta-actions::before,
.plg-cta-window.plg-cta-actions::after {
  content: none;
}

.grid-cell.plg-has-company-name-overlay .plg-cta-window.plg-cta-actions {
  visibility: hidden;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 0s linear 160ms;
}

.grid-cell:hover .plg-cta-window.plg-cta-actions,
.grid-cell.plg-hover-active .plg-cta-window.plg-cta-actions,
.grid-cell:focus .plg-cta-window.plg-cta-actions,
.grid-cell:focus-visible .plg-cta-window.plg-cta-actions,
.grid-cell:focus-within .plg-cta-window.plg-cta-actions {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate3d(-50%, -50%, 0) scale(1) !important;
}

.grid-cell.plg-has-company-name-overlay:hover .plg-cta-window.plg-cta-actions,
.grid-cell.plg-has-company-name-overlay.plg-hover-active
  .plg-cta-window.plg-cta-actions,
.grid-cell.plg-has-company-name-overlay:focus .plg-cta-window.plg-cta-actions,
.grid-cell.plg-has-company-name-overlay:focus-visible
  .plg-cta-window.plg-cta-actions,
.grid-cell.plg-has-company-name-overlay:focus-within
  .plg-cta-window.plg-cta-actions {
  visibility: visible;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 0s linear 0s;
}

.plg-cta-window.plg-cta-actions .plg-cta-btn:hover {
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-2px) scale(1.04);
}

.plg-cta-window.plg-cta-actions .plg-cta-btn svg {
  width: 13px;
  height: 13px;
  display: block;
  opacity: 1;
  filter: none;
}

.plg-cta-window.plg-cta-actions .plg-cta-btn__icon {
  transition: transform 0.16s ease;
}

.plg-cta-window.plg-cta-actions .plg-cta-download:hover .plg-cta-btn__icon {
  transform: scale(1.12) rotate(3deg);
}

.plg-cta-window.plg-cta-actions .plg-cta-info:hover .plg-cta-btn__icon {
  transform: scale(1.12) rotate(-2deg);
}

.plg-cta-window.plg-cta-actions .plg-cta-copy:hover .plg-cta-btn__icon {
  transform: scale(1.12) rotate(2deg);
}

.plg-cta-window.plg-cta-actions .plg-cta-share:hover .plg-cta-btn__icon {
  transform: scale(1.12) rotate(2deg);
}

.plg-cta-window.plg-cta-actions .plg-cta-info {
  box-shadow: 0 8px 18px rgba(30, 20, 10, 0.16);
}

.plg-cta-download {
  --plg-cta-accent: #16a34a;
  border-color: rgba(22, 163, 74, 0.48);
}

.plg-cta-info {
  --plg-cta-accent: #d97706;
  border-color: rgba(217, 119, 6, 0.48);
}

.plg-cta-copy {
  --plg-cta-accent: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.5);
}

.plg-cta-share {
  --plg-cta-accent: #9333ea;
  border-color: rgba(147, 51, 234, 0.48);
}

.plg-cta-window.plg-cta-actions .plg-cta-download:hover {
  border-color: rgba(22, 163, 74, 0.78);
  transform: translateY(-2px) scale(1.04);
}

.plg-cta-window.plg-cta-actions .plg-cta-info:hover {
  border-color: rgba(217, 119, 6, 0.78);
  transform: translateY(-2px) scale(1.04);
}

.plg-cta-window.plg-cta-actions .plg-cta-copy:hover {
  border-color: rgba(14, 165, 233, 0.8);
  transform: translateY(-2px) scale(1.04);
}

.plg-cta-window.plg-cta-actions .plg-cta-share:hover {
  border-color: rgba(147, 51, 234, 0.78);
  transform: translateY(-2px) scale(1.04);
}

.plg-cta-window.plg-cta-actions .plg-cta-download svg {
  color: #16a34a;
  fill: currentColor;
}

.plg-cta-window.plg-cta-actions .plg-cta-info svg {
  color: #d97706;
  fill: currentColor;
}

.plg-cta-window.plg-cta-actions .plg-cta-copy svg {
  color: #0ea5e9;
  fill: currentColor;
}

.plg-cta-window.plg-cta-actions .plg-cta-share svg {
  color: #9333ea;
  fill: currentColor;
}

.grid-cell:hover .plg-cta-meta,
.grid-cell.plg-hover-active .plg-cta-meta,
.grid-cell:focus .plg-cta-meta,
.grid-cell:focus-visible .plg-cta-meta,
.grid-cell:focus-within .plg-cta-meta {
  opacity: 1;
  transform: translateY(0);
}

.grid-cell.plg-cta-dismissed .plg-cta-window,
.grid-cell.plg-cta-dismissed .plg-cta-actions,
.grid-cell.plg-cta-dismissed .plg-cta-meta {
  opacity: 0 !important;
  pointer-events: none !important;
}

.grid-cell.plg-cta-no-return-fade .plg-cta-meta,
.grid-cell.plg-cta-no-return-fade .plg-cta-window {
  transition: none !important;
}

@media (max-width: 560px) {
  .plg-cube-discount-label {
    top: 10px;
    right: 10px;
    gap: 4px;
    min-height: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 10px;
  }

  .plg-cube-discount-label__sparkles {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .plg-cube-discount-label__icon {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }

  .plg-cube-discount-label__star--large {
    font-size: 12px;
  }

  .plg-cube-discount-label__star--small {
    font-size: 8px;
  }

  .plg-countdown-badge {
    top: 10px;
    left: 10px;
    gap: 6px;
    max-width: calc(100% - 96px);
    min-height: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 10px;
  }

  .plg-countdown-badge__icon {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
  }

  .plg-company-name-overlay,
  .company-name-overlay {
    min-width: min(140px, 86%);
    max-width: 86%;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 13px;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .grid-cell[data-width="1"] .plg-company-name-overlay,
  .grid-cell[data-height="1"] .plg-company-name-overlay,
  .grid-cell[data-width="1"] .company-name-overlay,
  .grid-cell[data-height="1"] .company-name-overlay,
  .card--small .company-name-overlay,
  .cube--small .company-name-overlay,
  .pixels-card--small .company-name-overlay {
    min-width: min(110px, 90%);
    max-width: 90%;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .plg-running-line {
    left: 0;
    bottom: 12px;
    max-width: calc(100% - 12px);
    min-height: 22px;
    height: 22px;
    font-size: 10px;
  }

  .plg-running-line__inner {
    gap: 6px;
    padding: 0 6px 0 16px;
  }

  .plg-running-line__icon,
  .plg-running-line__icon svg {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }

  .plg-running-line__prefix {
    min-height: 18px;
    padding: 0 6px;
  }

  .plg-running-line__track {
    gap: 10px;
  }

  .plg-running-line--hide-mobile {
    display: none !important;
  }

  .plg-cta-window.plg-cta-actions {
    --plg-cta-button-size: 30px;
    --plg-cta-button-radius: 10px;
    flex-wrap: nowrap;
    gap: 5px;
  }

  .plg-cta-window.plg-cta-actions .plg-cta-btn {
    width: var(--plg-cta-button-size);
    height: var(--plg-cta-button-size);
    min-width: var(--plg-cta-button-size);
    min-height: var(--plg-cta-button-size);
    flex-basis: var(--plg-cta-button-size);
    border-radius: var(--plg-cta-button-radius);
  }

  .plg-cta-window.plg-cta-actions .plg-cta-btn svg {
    width: 13px;
    height: 13px;
  }
}

@media (hover: none), (pointer: coarse) {
  .grid-cell::before,
  .grid-cell > .plg-cube-media,
  .grid-cell > .plg-video-wrap {
    transition: none;
  }

  .plg-cta-window.plg-cta-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }

  .grid-cell.plg-has-company-name-overlay .plg-cta-window.plg-cta-actions {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0) scale(0.96);
  }

  .grid-cell.plg-has-company-name-overlay.plg-hover-active
    .plg-cta-window.plg-cta-actions,
  .grid-cell.plg-has-company-name-overlay:focus .plg-cta-window.plg-cta-actions,
  .grid-cell.plg-has-company-name-overlay:focus-visible
    .plg-cta-window.plg-cta-actions,
  .grid-cell.plg-has-company-name-overlay:focus-within
    .plg-cta-window.plg-cta-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }

  .plg-company-name-overlay,
  .company-name-overlay,
  .grid-cell.plg-has-company-name-overlay .plg-cta-window.plg-cta-actions {
    transition: none;
  }
}

@media (max-width: 767px) {
  .plg-cube-badge-stack {
    top: 9px;
    left: 9px;
    gap: 4px;
    max-width: calc(100% - 18px);
  }

  .plg-cube-rank-badge {
    width: 22px;
    height: 22px;
  }

  .plg-cube-badge-stack.is-dual .plg-cube-rank-badge + .plg-cube-rank-badge {
    margin-left: 0;
  }

  .plg-cube-rank-badge__icon-wrap {
    inset: 5px;
  }

  .plg-cube-rank-badge__icon,
  .plg-cube-rank-badge__icon svg {
    width: 8px;
    height: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plg-cube-rank-badge,
  .plg-cube-rank-badge__sheen {
    animation: none !important;
  }

  .grid-cell::before,
  .plg-cta-wrap::before,
  .plg-cta-meta,
  .plg-cta-actions,
  .plg-company-name-overlay,
  .company-name-overlay,
  .plg-cube-media,
  .plg-video-wrap {
    transition: none !important;
  }
}

.plg-cta-btn__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.plg-cta-btn__shine {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  background: linear-gradient(
    to right,
    transparent,
    color-mix(in srgb, var(--plg-cta-accent) 20%, transparent),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.7s ease-out;
}

.plg-cta-btn:hover {
  background: linear-gradient(
    to top right,
    color-mix(in srgb, var(--plg-cta-accent) 12%, #050505),
    #0a0a0a
  );
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.34),
    0 0 18px color-mix(in srgb, var(--plg-cta-accent) 30%, transparent);
  color: color-mix(in srgb, var(--plg-cta-accent) 86%, white);
  transform: scale(1.08);
}

.plg-cta-btn:hover .plg-cta-btn__shine {
  transform: translateX(100%);
}

.plg-cta-action:active {
  transform: scale(0.96);
}

/* Different accents per action */
.plg-cta-download {
  --plg-cta-accent: #22c55e;
}
.plg-cta-info {
  --plg-cta-accent: #f59e0b;
}
.plg-cta-share {
  --plg-cta-accent: #a855f7;
}
.plg-cta-copy {
  --plg-cta-accent: #38bdf8;
}

.plg-cta-btn svg {
  width: 16px;
  height: 16px;
  display: block;
  transition: color 0.3s ease;
}

.plg-cta-download svg {
  color: #22c55e;
}

.plg-cta-copy svg {
  color: #38bdf8;
}

.plg-cta-info svg {
  color: #f59e0b;
}

.plg-cta-share svg {
  color: #8b5cf6;
}

.plg-cta-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--plg-cta-accent) 72%, white);
  outline-offset: 3px;
}

.plg-cta-btn.plg-copied {
  border-color: color-mix(in srgb, var(--plg-cta-accent) 84%, white);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.34),
    0 0 22px color-mix(in srgb, var(--plg-cta-accent) 42%, transparent);
}

.grid-cell .plg-cta-buttons.plg-cta-layout-horizontal {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
}

.grid-cell .plg-cta-buttons.plg-cta-layout-vertical {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
}

.grid-cell .plg-cta-buttons.plg-cta-layout-grid-2x2 {
  display: grid !important;
  grid-template-columns: repeat(2, auto) !important;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

.grid-cell[data-cta-layout="horizontal"] .plg-cta-buttons,
.grid-cell .plg-cta-buttons[data-cta-layout="horizontal"] {
  display: flex !important;
  flex-direction: row !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: center;
}

.grid-cell[data-cta-layout="vertical"] .plg-cta-buttons,
.grid-cell .plg-cta-buttons[data-cta-layout="vertical"] {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: center;
}

.grid-cell[data-cta-layout="grid_2x2"] .plg-cta-buttons,
.grid-cell .plg-cta-buttons[data-cta-layout="grid_2x2"] {
  display: grid !important;
  grid-template-columns: repeat(2, auto) !important;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

.plg-voucher-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 255, 255, 0.58),
      rgba(255, 255, 255, 0.18) 42%,
      rgba(231, 238, 255, 0.2) 100%
    ),
    rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
  backdrop-filter: blur(14px) saturate(1.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.plg-voucher-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.plg-voucher-loader-active {
  cursor: wait;
}

.plg-voucher-loader__inner {
  width: min(330px, 88vw);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 30px 90px rgba(80, 94, 140, 0.18),
    0 0 70px rgba(33, 212, 253, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.plg-voucher-loader__visual {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
}

.plg-voucher-loader__visual::before {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 36% 70%,
      rgba(33, 212, 253, 0.18),
      transparent 36%
    ),
    radial-gradient(
      circle at 62% 30%,
      rgba(255, 61, 143, 0.16),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.14);
  filter: blur(12px);
}

.plg-voucher-loader__orbit {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(124, 60, 255, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(33, 212, 253, 0.12),
    0 0 34px rgba(124, 60, 255, 0.12);
  animation: plgVoucherOrbit 3.4s linear infinite;
}

.plg-voucher-loader__orbit::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid transparent;
  border-top-color: rgba(255, 88, 110, 0.34);
  border-left-color: rgba(33, 212, 253, 0.26);
  border-right-color: rgba(124, 60, 255, 0.24);
}

.plg-voucher-loader__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 999px;
  transform: rotate(var(--plg-loader-angle)) translateX(102px);
}

.plg-voucher-loader__dot--pink {
  --plg-loader-angle: -90deg;
  background: linear-gradient(135deg, #ff3d8f 0%, #ff9b32 100%);
  box-shadow: 0 0 24px rgba(255, 61, 143, 0.58);
}

.plg-voucher-loader__dot--cyan {
  --plg-loader-angle: 150deg;
  background: linear-gradient(135deg, #21d4fd 0%, #008cff 100%);
  box-shadow: 0 0 24px rgba(33, 212, 253, 0.58);
}

.plg-voucher-loader__dot--purple {
  --plg-loader-angle: 30deg;
  background: linear-gradient(135deg, #9b5cff 0%, #5b21f6 100%);
  box-shadow: 0 0 24px rgba(124, 60, 255, 0.58);
}

.plg-voucher-loader__logo-wrap {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 18px 45px rgba(65, 72, 120, 0.14),
    0 0 38px rgba(255, 61, 143, 0.12);
}

.plg-voucher-loader__logo {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: contain;
  transform-origin: center center;
  animation: plgVoucherCubeSpinReverse 6s linear infinite;
  filter: drop-shadow(0 16px 22px rgba(55, 65, 110, 0.18));
  will-change: transform;
}

.plg-voucher-loader__text {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0;
  background: linear-gradient(
    90deg,
    #ff3d8f 0%,
    #ff9b32 25%,
    #21d4fd 50%,
    #7c3cff 75%,
    #ff3d8f 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: plgVoucherTextGradientFlow 3.8s ease-in-out infinite;
  text-shadow: 0 1px 10px rgba(124, 60, 255, 0.12);
}

@keyframes plgVoucherOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes plgVoucherCubeSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes plgVoucherTextGradientFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 560px) {
  .plg-voucher-loader__inner {
    width: min(300px, 90vw);
    min-height: 270px;
    gap: 22px;
  }

  .plg-voucher-loader__visual {
    width: 190px;
    height: 190px;
  }

  .plg-voucher-loader__dot {
    transform: rotate(var(--plg-loader-angle)) translateX(87px);
  }

  .plg-voucher-loader__logo-wrap {
    width: 92px;
    height: 92px;
  }

  .plg-voucher-loader__logo {
    width: 84px;
    height: 84px;
  }

  .plg-voucher-loader__text {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plg-voucher-loader__orbit,
  .plg-voucher-loader__logo,
  .plg-voucher-loader__text {
    animation: none !important;
  }
}

.plg-cta-info svg {
  color: #f59e0b;
}

.plg-cta-share svg {
  color: #8b5cf6;
}

/* -------------------------------------------------------------------------- */
/*                               CTA tooltips                                 */
/* -------------------------------------------------------------------------- */

/* CTA tooltips – visible on hover OR when JS adds .show-tip */
.plg-cta-btn[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  background: rgba(8, 8, 8, 0.95);
  color: #f8fafc;
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  z-index: 100000;
}

.plg-cta-btn[data-tooltip]::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: rgba(8, 8, 8, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  z-index: 11;
}

/* Show on hover */
.plg-cta-btn[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.plg-cta-btn[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

/* Show when JS marks this button as the active one */
.plg-cta-btn.show-tip::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.plg-cta-btn.show-tip::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

/* Hide CTA buttons inside reserved cubes */
.grid-cell .plg-reserved-tile ~ .plg-cta-wrap {
  display: none !important;
}

/* ============================
   Company Info Popup - Concept 3
   ============================ */

:root {
  --plg-modal-backdrop: rgba(17, 24, 39, 0.38);
  --plg-panel-bg: #fffdfa;
  --plg-panel-text: #14213d;
  --plg-panel-border: rgba(168, 85, 247, 0.18);
  --plg-shadow: 0 24px 70px rgba(35, 25, 64, 0.2);
  --plg-title: #101c35;
  --plg-close-bg: rgba(255, 255, 255, 0.86);
  --plg-close-bg-hover: #ffffff;
  --plg-close-icon: #1f2937;
  --plg-close-icon-hover: #5b21b6;
  --plg-accent: #7c3aed;
}

body.plg-info-modal-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

.plg-info-modal.plg-info-modal--fullscreen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      circle at 22% 12%,
      rgba(250, 232, 255, 0.34),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 82%,
      rgba(254, 215, 170, 0.28),
      transparent 30%
    ),
    var(--plg-modal-backdrop);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 160ms ease-out,
    transform 160ms ease-out;
}

.plg-info-modal.is-open {
  opacity: 1;
  transform: translateY(0);
}

.plg-info-modal__panel {
  position: relative;
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--plg-panel-bg);
  color: var(--plg-panel-text);
  border: 1px solid var(--plg-panel-border);
  border-radius: 22px;
  box-shadow: var(--plg-shadow);
  outline: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 180ms ease-out,
    transform 180ms ease-out;
}

.plg-info-modal.is-open .plg-info-modal__panel {
  opacity: 1;
  transform: translateY(0);
}

.plg-info-modal--company .plg-info-modal__panel {
  width: min(1040px, calc(100vw - 64px));
  max-height: calc(100vh - 56px);
  isolation: isolate;
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(237, 233, 254, 0.5),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 94%,
      rgba(254, 243, 199, 0.55),
      transparent 30%
    ),
    linear-gradient(180deg, #fffefe 0%, #fffaf3 100%), #ffffff;
  border-color: rgba(168, 85, 247, 0.2);
}

.plg-info-modal--company .plg-info-modal__panel::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -120px;
  width: 68%;
  height: 255px;
  z-index: 0;
  pointer-events: none;
  border-radius: 58% 42% 0 0;
  background:
    radial-gradient(
      circle at 20% 46%,
      rgba(254, 226, 226, 0.64),
      transparent 35%
    ),
    radial-gradient(
      circle at 58% 32%,
      rgba(255, 237, 213, 0.8),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      rgba(255, 247, 237, 0.72),
      rgba(253, 230, 138, 0.18)
    );
  opacity: 0.9;
}

.plg-info-modal__center {
  padding: 34px;
  text-align: center;
}

.plg-info-modal--company .plg-info-modal__center,
.plg-info-modal--company .plg-info-modal__content {
  position: relative;
  z-index: 1;
}

.plg-info-modal--company .plg-info-modal__center {
  padding: 24px 30px;
  text-align: left;
}

.plg-info-title {
  margin: 0;
  color: var(--plg-title);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.plg-info-modal--company .plg-info-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.plg-company-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  text-align: left;
  color: #172033;
}

.plg-company-preview--state {
  text-align: center;
  color: #4b5563;
  font-weight: 700;
  padding: 24px 0;
}

.plg-company-preview__header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  min-height: 180px;
  margin: 0 42px 28px;
  padding: 34px 72px 28px;
  overflow: hidden;
  border: 1px solid rgba(221, 214, 254, 0.55);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 18% 38%,
      rgba(221, 214, 254, 0.56),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 30%,
      rgba(255, 255, 255, 0.86),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(245, 243, 255, 0.8) 48%,
      rgba(255, 247, 237, 0.82) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 18px 42px rgba(88, 28, 135, 0.07);
}

.plg-company-preview__header::before {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -52%;
  height: 112%;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 26% 22%,
      rgba(196, 181, 253, 0.34),
      transparent 42%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(221, 214, 254, 0.32));
  border-radius: 50% 46% 0 0;
  transform: rotate(-2deg);
}

.plg-company-preview__header-sparkle {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  color: #a855f7;
  pointer-events: none;
}

.plg-company-preview__header-sparkle::before,
.plg-company-preview__header-sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  border-radius: 999px;
}

.plg-company-preview__header-sparkle::before {
  width: 2px;
  height: 12px;
}

.plg-company-preview__header-sparkle::after {
  width: 12px;
  height: 2px;
}

.plg-company-preview__header-sparkle--one {
  left: 38px;
  top: 56px;
  opacity: 0.6;
}

.plg-company-preview__header-sparkle--two {
  right: 42px;
  top: 82px;
  opacity: 0.42;
}

.plg-company-preview__logo-frame {
  position: relative;
  z-index: 2;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  padding: 15px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 20px 44px rgba(109, 40, 217, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.plg-company-preview__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plg-company-preview__identity {
  position: relative;
  z-index: 2;
  min-width: 0;
  text-align: center;
}

.plg-company-preview__name {
  margin: 0;
  color: #1c0f66;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.plg-company-preview__tagline {
  margin: 10px auto 0;
  max-width: 560px;
  color: #5f6688;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.plg-company-preview__tagline::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, rgba(216, 180, 254, 0));
}

.plg-company-preview__icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.plg-company-preview__offer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(238px, 290px);
  grid-template-rows: auto;
  gap: 20px 24px;
  min-height: 0;
  margin: 0 0 26px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 8% 4%,
      rgba(237, 233, 254, 0.55),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 250, 253, 0.94) 52%,
      rgba(255, 248, 237, 0.9) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 42px rgba(88, 28, 135, 0.08);
}

.plg-company-preview__offer::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -18%;
  width: 48%;
  height: 52%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.88),
    transparent 62%
  );
  opacity: 0.78;
}

.plg-company-preview__offer-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plg-company-preview__offer-sidebar {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: start;
}

.plg-company-preview__offer-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 30px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(237, 233, 254, 0.94);
  color: #5b21b6;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.1);
}

.plg-company-preview__offer-label .plg-company-preview__icon {
  width: 15px;
  height: 15px;
}

.plg-company-preview__offer-title {
  display: block;
  max-width: 650px;
  color: #37178f;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.plg-company-preview__offer-description {
  color: #344054;
  font-size: 15px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: normal;
}

.plg-company-preview__offer-description > :first-child {
  margin-top: 0;
}

.plg-company-preview__offer-description > :last-child {
  margin-bottom: 0;
}

.plg-company-preview__offer-description p,
.plg-company-preview__offer-description ul,
.plg-company-preview__offer-description ol {
  margin: 0 0 14px;
}

.plg-company-preview__offer-description h1,
.plg-company-preview__offer-description h2,
.plg-company-preview__offer-description h3,
.plg-company-preview__offer-description h4,
.plg-company-preview__offer-description h5,
.plg-company-preview__offer-description h6 {
  margin: 0 0 14px;
  color: #581c87;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.plg-company-preview__offer-description ul,
.plg-company-preview__offer-description ol {
  padding-left: 22px;
}

.plg-company-preview__offer-description a {
  color: #5b21b6;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.plg-company-preview__offer-scroll {
  position: relative;
  width: 100%;
  max-width: 650px;
  max-height: 420px;
  margin: 20px 0 0;
  padding: 0 14px 0 0;
  border-right: 3px solid rgba(237, 233, 254, 0.9);
  color: #667085;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(124, 58, 237, 0.48) rgba(237, 233, 254, 0.66);
  scrollbar-width: thin;
}

.plg-company-preview__offer-scroll::after {
  content: "";
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  height: 28px;
  margin-top: -28px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 253, 250, 0.94)
  );
}

.plg-company-preview__offer-scroll::-webkit-scrollbar {
  width: 7px;
}

.plg-company-preview__offer-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(237, 233, 254, 0.7);
}

.plg-company-preview__offer-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.46);
}

.plg-company-preview__offer-scroll:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.22);
  outline-offset: 4px;
  border-radius: 12px;
}

.plg-company-preview__offer-tabs {
  width: 100%;
  max-width: 650px;
  margin-top: 18px;
}

.plg-company-preview__offer-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
}

.plg-company-preview__offer-tab {
  box-sizing: border-box;
  min-height: 42px;
  min-width: 144px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(221, 214, 254, 0.9);
  border-radius: 12px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.58);
  color: #a78bfa;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.plg-company-preview__offer-tab .plg-company-preview__icon {
  width: 16px;
  height: 16px;
}

.plg-company-preview__offer-tab.is-active {
  border-color: rgba(124, 58, 237, 0.72);
  background: rgba(255, 255, 255, 0.82);
  color: #5b21b6;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.1);
}

.plg-company-preview__offer-tab:hover,
.plg-company-preview__offer-tab:focus-visible {
  border-color: rgba(124, 58, 237, 0.5);
  color: #6d28d9;
}

.plg-company-preview__offer-tab:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.22);
  outline-offset: 3px;
}

.plg-company-preview__offer-tabpanel[hidden] {
  display: none;
}

.plg-company-preview__offer-tabs .plg-company-preview__offer-scroll {
  margin-top: 0;
}

.plg-company-preview__terms-card {
  box-sizing: border-box;
  width: 100%;
  max-height: 420px;
  margin-top: 6px;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(221, 214, 254, 0.96);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: #344054;
  scrollbar-color: rgba(124, 58, 237, 0.42) rgba(237, 233, 254, 0.66);
  scrollbar-width: thin;
}

.plg-company-preview__terms-card::-webkit-scrollbar {
  width: 7px;
}

.plg-company-preview__terms-card::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(237, 233, 254, 0.7);
}

.plg-company-preview__terms-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.44);
}

.plg-company-preview__terms-rule {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 4px 0;
}

.plg-company-preview__terms-rule + .plg-company-preview__terms-rule {
  margin-top: 12px;
}

.plg-company-preview__terms-rule-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(237, 233, 254, 0.94);
  color: #7c3aed;
}

.plg-company-preview__terms-rule-icon .plg-company-preview__icon {
  width: 16px;
  height: 16px;
}

.plg-company-preview__terms-rule-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: start;
}

.plg-company-preview__terms-rule-number,
.plg-company-preview__terms-rule-text {
  color: #26324a;
  font-size: 14px;
  line-height: 1.55;
}

.plg-company-preview__terms-rule-number {
  font-weight: 900;
}

.plg-company-preview__terms-rule-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.plg-company-preview__terms-rule-text > :first-child {
  margin-top: 0;
}

.plg-company-preview__terms-rule-text > :last-child {
  margin-bottom: 0;
}

.plg-company-preview__terms-rule-text p,
.plg-company-preview__terms-rule-text ul,
.plg-company-preview__terms-rule-text ol {
  margin: 0 0 8px;
}

.plg-company-preview__terms-rule-text ul,
.plg-company-preview__terms-rule-text ol {
  padding-left: 18px;
}

.plg-company-preview__terms-rule-text strong,
.plg-company-preview__terms-rule-text b {
  color: #182033;
  font-weight: 900;
}

.plg-company-preview__terms-rule-text a {
  color: #5b21b6;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.plg-company-preview__offer-visual {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-height: 118px;
  display: flex;
  align-items: center;
  align-self: end;
  justify-self: center;
  overflow: visible;
  pointer-events: none;
}

.plg-company-preview__ticket {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(167, 139, 250, 0.98),
      rgba(109, 40, 217, 0.98)
    ),
    #7c3aed;
  box-shadow:
    0 24px 34px rgba(109, 40, 217, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.plg-company-preview__ticket::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff7fb;
  box-shadow: calc(100% + 298px) 0 0 #fff7fb;
  transform: translateY(-50%);
}

.plg-company-preview__ticket::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 56px;
  bottom: 14px;
  border-left: 2px dashed rgba(255, 255, 255, 0.55);
}

.plg-company-preview__ticket strong,
.plg-company-preview__ticket em {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-transform: uppercase;
  font-style: normal;
  line-height: 1;
  text-shadow: 0 4px 14px rgba(35, 15, 84, 0.22);
}

.plg-company-preview__ticket strong {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
}

.plg-company-preview__ticket em {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.plg-company-preview__confetti {
  position: absolute;
  display: block;
  width: 10px;
  height: 18px;
  border-radius: 999px;
  background: #c084fc;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.14);
}

.plg-company-preview__confetti--one {
  left: 16px;
  right: auto;
  top: 50%;
  width: 13px;
  height: 13px;
  background: #fb7185;
  transform: translateY(-50%);
}

.plg-company-preview__confetti--two {
  right: 48px;
  top: 4px;
  transform: rotate(-24deg);
}

.plg-company-preview__confetti--three {
  right: 10px;
  bottom: 8px;
  height: 22px;
  background: #f472b6;
  transform: rotate(-32deg);
}

.plg-company-preview__confetti--four {
  left: 38px;
  bottom: 8px;
  width: 11px;
  height: 11px;
  background: #fb7185;
  transform: none;
}

.plg-company-preview__offer-action {
  position: relative;
  z-index: 2;
  grid-column: auto;
  grid-row: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: none;
}

.plg-company-preview__offer-button {
  box-sizing: border-box;
  min-height: 46px;
  min-width: 0;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 15px;
  padding: 0 18px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(109, 40, 217, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.plg-company-preview__offer-button.plg-cta-download .plg-company-preview__icon {
  color: #ffffff;
  fill: none;
}

.plg-company-preview__offer-button:hover,
.plg-company-preview__offer-button:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  box-shadow: 0 18px 32px rgba(109, 40, 217, 0.34);
}

.plg-company-preview__offer-button:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.28);
  outline-offset: 3px;
}

.plg-company-preview__offer-button--secondary {
  border: 1px solid rgba(168, 85, 247, 0.34);
  background:
    linear-gradient(
      135deg,
      rgba(250, 245, 255, 0.98) 0%,
      rgba(237, 233, 254, 0.96) 100%
    ),
    #f5f0ff;
  color: #5b21b6;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.1);
}

.plg-company-preview__offer-button--secondary:hover,
.plg-company-preview__offer-button--secondary:focus-visible {
  border-color: rgba(124, 58, 237, 0.58);
  background:
    linear-gradient(
      135deg,
      rgba(245, 243, 255, 1) 0%,
      rgba(237, 233, 254, 1) 100%
    ),
    #ede9fe;
  color: #4c1d95;
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.15);
}

.plg-company-preview__offer-details {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.plg-company-preview__offer-details-title {
  display: block;
  margin: 0 0 10px;
  color: #5b21b6;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.plg-company-preview__offer-details-panel {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(221, 214, 254, 0.88);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 28px rgba(88, 28, 135, 0.05);
}

.plg-company-preview__offer-detail {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  color: #26324a;
}

.plg-company-preview__offer-detail + .plg-company-preview__offer-detail {
  border-left: 0;
  border-top: 1px solid rgba(221, 214, 254, 0.9);
}

.plg-company-preview__offer-detail > .plg-company-preview__icon {
  width: 22px;
  height: 22px;
  color: #7c3aed;
}

.plg-company-preview__offer-detail-copy {
  min-width: 0;
}

.plg-company-preview__offer-detail-copy strong,
.plg-company-preview__offer-detail-copy span {
  display: block;
  overflow-wrap: anywhere;
}

.plg-company-preview__offer-detail-copy strong {
  color: #26324a;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  display: flex;
}

.plg-company-preview__offer-detail-copy > span {
  margin-top: 2px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.plg-company-preview__price-original,
.plg-company-preview__price-discounted,
.plg-company-preview__price-arrow {
  display: inline;
}

.plg-company-preview__price-original {
  color: #667085;
  text-decoration: line-through;
}

.plg-company-preview__price-arrow {
  margin: 0 7px;
  color: #7c3aed;
  text-decoration: none;
}

.plg-company-preview__price-discounted {
  color: #6d28d9;
}

.plg-company-preview__validity {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 22px rgba(51, 65, 85, 0.05);
}

.plg-company-preview__validity .plg-company-preview__icon {
  color: #6d28d9;
}

.plg-company-preview__gallery {
  position: relative;
  contain: layout paint;
  margin: 0 0 26px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(221, 214, 254, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.plg-company-preview__gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
}

.plg-company-preview__gallery-label {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5b21b6;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.plg-company-preview__gallery-label .plg-company-preview__icon {
  width: 16px;
  height: 16px;
}

.plg-company-preview__gallery-controls {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plg-company-preview__gallery-button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: #5b21b6;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.plg-company-preview__gallery-button--prev .plg-company-preview__icon {
  transform: rotate(180deg);
}

.plg-company-preview__gallery-button:hover,
.plg-company-preview__gallery-button:focus-visible {
  border-color: rgba(124, 58, 237, 0.5);
  background: #f5f0ff;
  color: #4c1d95;
  transform: translateY(-1px);
}

.plg-company-preview__gallery-button:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.24);
  outline-offset: 2px;
}

.plg-company-preview__gallery-track {
  display: flex;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(124, 58, 237, 0.34) rgba(237, 233, 254, 0.56);
  scrollbar-width: thin;
}

.plg-company-preview__gallery-slide {
  flex: 0 0 clamp(220px, 32%, 320px);
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  background: #f8fafc;
}

.plg-company-preview__gallery-trigger {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.plg-company-preview__gallery-trigger:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.24);
  outline-offset: -3px;
}

.plg-company-preview__gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.plg-company-preview__contact {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 24px 26px;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 36px rgba(88, 28, 135, 0.06);
}

.plg-company-preview__contact-title {
  margin: 0 0 22px;
  color: #5b21b6;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.plg-company-preview__contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plg-company-preview__contact-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
}

.plg-company-preview__contact-item:first-child {
  padding-left: 0;
}

.plg-company-preview__contact-item:last-child {
  padding-right: 0;
}

.plg-company-preview__contact-item + .plg-company-preview__contact-item {
  border-left: 1px solid rgba(221, 214, 254, 0.86);
}

.plg-company-preview__contact-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(237, 233, 254, 0.66);
  color: #6d28d9;
}

.plg-company-preview__contact-icon .plg-company-preview__icon {
  width: 20px;
  height: 20px;
}

.plg-company-preview__contact-copy {
  min-width: 0;
}

.plg-company-preview__contact-label,
.plg-company-preview__contact-value {
  display: block;
  overflow-wrap: anywhere;
}

.plg-company-preview__contact-label {
  color: #344054;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.plg-company-preview__contact-value {
  margin-top: 8px;
  color: #26324a;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  text-decoration: none;
}

.plg-company-preview__contact-value:hover {
  color: #5b21b6;
}

.plg-company-preview__contact-value:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.22);
  outline-offset: 3px;
  border-radius: 6px;
}

.plg-info-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 999px;
  background: var(--plg-close-bg);
  color: var(--plg-close-icon);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  transition:
    background 160ms ease,
    transform 140ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.plg-info-close:hover {
  background: var(--plg-close-bg-hover);
  color: var(--plg-close-icon-hover);
  transform: scale(1.05);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.plg-info-close:active {
  transform: scale(0.96);
}

.plg-info-close:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.28);
  outline-offset: 3px;
}

.plg-info-modal__panel::-webkit-scrollbar {
  width: 8px;
}

.plg-info-modal__panel::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.18);
  border-radius: 6px;
}

.plg-info-modal__panel::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.3);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .plg-info-modal.plg-info-modal--fullscreen {
    padding: 22px;
  }

  .plg-info-modal--company .plg-info-modal__panel {
    width: min(560px, calc(100vw - 44px));
    max-height: calc(100vh - 44px);
  }

  .plg-info-modal--company .plg-info-modal__center {
    padding: 24px;
  }

  .plg-company-preview__header {
    min-height: 188px;
    margin: 0 26px 24px;
    padding: 28px 54px 24px;
    gap: 12px;
    border-radius: 20px;
  }

  .plg-company-preview__logo-frame {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
    padding: 11px;
    border-radius: 999px;
  }

  .plg-company-preview__name {
    font-size: 27px;
  }

  .plg-company-preview__tagline {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  .plg-company-preview__tagline::after {
    width: 54px;
    height: 2px;
    margin: 9px auto 0;
  }

  .plg-company-preview__offer {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 18px;
    min-height: 0;
    margin-bottom: 20px;
    padding: 18px;
  }

  .plg-company-preview__offer-copy {
    grid-column: 1;
    grid-row: 1;
    padding-right: 0;
  }

  .plg-company-preview__offer-sidebar {
    display: contents;
  }

  .plg-company-preview__offer-title {
    font-size: 27px;
  }

  .plg-company-preview__offer-label {
    max-width: calc(100% - 176px);
  }

  .plg-company-preview__offer-scroll {
    max-width: none;
    max-height: 320px;
  }

  .plg-company-preview__offer-tabs {
    max-width: none;
  }

  .plg-company-preview__terms-card {
    max-height: 320px;
  }

  .plg-company-preview__offer-details {
    grid-column: 1;
    grid-row: 2;
  }

  .plg-company-preview__offer-details-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }

  .plg-company-preview__offer-detail {
    min-height: 62px;
    justify-content: center;
    gap: 10px;
    padding: 12px 10px;
    text-align: center;
  }

  .plg-company-preview__offer-detail + .plg-company-preview__offer-detail {
    border-left: 1px solid rgba(221, 214, 254, 0.9);
    border-top: 0;
  }

  .plg-company-preview__offer-detail:nth-child(2n + 1) {
    border-left: 0;
  }

  .plg-company-preview__offer-detail:nth-child(n + 3) {
    border-top: 1px solid rgba(221, 214, 254, 0.9);
  }

  .plg-company-preview__offer-detail > .plg-company-preview__icon {
    width: 18px;
    height: 18px;
  }

  .plg-company-preview__offer-detail-copy strong {
    display: flex;
    font-size: 13px;
  }

  .plg-company-preview__offer-detail-copy > span {
    font-size: 11px;
  }

  .plg-company-preview__offer-visual {
    position: absolute;
    grid-column: auto;
    grid-row: auto;
    right: 28px;
    top: 20px;
    width: 136px;
    min-height: 44px;
    z-index: 3;
  }

  .plg-company-preview__ticket {
    right: auto;
    top: auto;
    width: 136px;
    height: 44px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow:
      0 12px 22px rgba(109, 40, 217, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.34);
  }

  .plg-company-preview__ticket::before {
    left: -6px;
    top: 50%;
    width: 12px;
    height: 12px;
    box-shadow: 130px 0 0 #fff7fb;
  }

  .plg-company-preview__ticket::after {
    top: 8px;
    left: 34px;
    bottom: 8px;
    border-left-width: 1px;
  }

  .plg-company-preview__ticket strong {
    font-size: 22px;
  }

  .plg-company-preview__ticket em {
    margin-top: 1px;
    font-size: 7px;
  }

  .plg-company-preview__confetti--one {
    left: -12px;
    right: auto;
    top: 50%;
    width: 9px;
    height: 9px;
    transform: translateY(-50%);
  }

  .plg-company-preview__confetti--two {
    right: 16px;
    top: -8px;
    width: 8px;
    height: 14px;
    transform: rotate(-22deg);
  }

  .plg-company-preview__confetti--three {
    right: -7px;
    bottom: -8px;
    width: 8px;
    height: 16px;
    transform: rotate(-30deg);
  }

  .plg-company-preview__confetti--four {
    left: 18px;
    bottom: -7px;
    width: 8px;
    height: 8px;
    transform: none;
  }

  .plg-company-preview__offer-action {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .plg-company-preview__offer-button {
    width: 100%;
  }

  .plg-company-preview__gallery {
    margin-bottom: 20px;
    padding: 14px;
  }

  .plg-company-preview__gallery-slide {
    flex-basis: clamp(220px, 58%, 300px);
  }

  .plg-company-preview__contact {
    padding: 20px;
    border-radius: 16px;
  }

  .plg-company-preview__contact-list {
    grid-template-columns: 1fr;
  }

  .plg-company-preview__contact-item {
    min-height: 50px;
    padding: 12px 0;
  }

  .plg-company-preview__contact-item:first-child {
    padding-top: 0;
  }

  .plg-company-preview__contact-item:last-child {
    padding-bottom: 0;
  }

  .plg-company-preview__contact-item + .plg-company-preview__contact-item {
    border-left: 0;
    border-top: 1px solid rgba(221, 214, 254, 0.72);
  }

  .plg-company-preview__contact-copy {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .plg-company-preview__contact-value {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .plg-info-modal.plg-info-modal--fullscreen {
    padding: 12px;
  }

  .plg-info-modal--company .plg-info-modal__panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 20px;
  }

  .plg-info-modal--company .plg-info-modal__panel::before {
    right: 0;
    bottom: -58px;
    width: 92%;
    height: 118px;
    opacity: 0.42;
  }

  .plg-info-modal--company .plg-info-modal__center {
    padding: 14px;
  }

  .plg-info-close {
    top: 16px;
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 23px;
  }

  .plg-company-preview__header {
    flex-direction: column;
    justify-content: center;
    min-height: 142px;
    gap: 8px;
    margin: 0 0 14px;
    padding: 18px 54px 16px 22px;
    text-align: center;
    border-radius: 18px;
  }

  .plg-company-preview__header::before {
    bottom: -70%;
    height: 96%;
    opacity: 0.62;
  }

  .plg-company-preview__header-sparkle {
    transform: scale(0.74);
  }

  .plg-company-preview__header-sparkle--one {
    left: 30px;
    top: 44px;
  }

  .plg-company-preview__header-sparkle--two {
    right: 70px;
    top: 54px;
  }

  .plg-company-preview__logo-frame {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    padding: 9px;
    border-radius: 999px;
    box-shadow:
      0 12px 28px rgba(109, 40, 217, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .plg-company-preview__name {
    font-size: 21px;
    line-height: 1.08;
  }

  .plg-company-preview__tagline {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.32;
  }

  .plg-company-preview__tagline::after {
    width: 40px;
    height: 2px;
    margin: 7px auto 0;
  }

  .plg-company-preview__offer {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 14px;
    min-height: 0;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 18px;
  }

  .plg-company-preview__offer-copy {
    grid-column: 1;
    grid-row: 1;
    padding-right: 0;
  }

  .plg-company-preview__offer-sidebar {
    display: contents;
  }

  .plg-company-preview__offer-label {
    max-width: calc(100% - 128px);
    margin-bottom: 12px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .plg-company-preview__offer-title {
    max-width: none;
    font-size: 21px;
    line-height: 1.2;
  }

  .plg-company-preview__offer-description {
    max-width: none;
    padding-right: 0;
    font-size: 13px;
    line-height: 1.62;
  }

  .plg-company-preview__offer-description h1,
  .plg-company-preview__offer-description h2,
  .plg-company-preview__offer-description h3,
  .plg-company-preview__offer-description h4,
  .plg-company-preview__offer-description h5,
  .plg-company-preview__offer-description h6 {
    font-size: 16px;
    line-height: 1.38;
  }

  .plg-company-preview__offer-scroll {
    max-width: none;
    max-height: min(420px, 44vh);
    margin-top: 14px;
    padding-right: 10px;
  }

  .plg-company-preview__offer-tabs {
    max-width: none;
    margin-top: 14px;
  }

  .plg-company-preview__offer-tablist {
    gap: 7px;
  }

  .plg-company-preview__offer-tab {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }

  .plg-company-preview__offer-tab .plg-company-preview__icon {
    width: 14px;
    height: 14px;
  }

  .plg-company-preview__offer-tabs .plg-company-preview__offer-scroll {
    margin-top: 0;
  }

  .plg-company-preview__terms-card {
    max-height: min(420px, 44vh);
    padding: 12px;
    border-radius: 14px;
  }

  .plg-company-preview__terms-rule {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .plg-company-preview__terms-rule-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .plg-company-preview__terms-rule-number,
  .plg-company-preview__terms-rule-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .plg-company-preview__offer-details {
    grid-column: 1;
    grid-row: 2;
  }

  .plg-company-preview__offer-details-title {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .plg-company-preview__offer-details-panel {
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: 14px;
  }

  .plg-company-preview__offer-detail {
    min-height: 54px;
    gap: 10px;
    padding: 10px 12px;
  }

  .plg-company-preview__offer-detail + .plg-company-preview__offer-detail {
    border-left: 0;
    border-top: 1px solid rgba(221, 214, 254, 0.9);
  }

  .plg-company-preview__offer-detail > .plg-company-preview__icon {
    width: 18px;
    height: 18px;
  }

  .plg-company-preview__offer-detail-copy strong {
    font-size: 13px;
    display: flex;
  }

  .plg-company-preview__offer-detail-copy > span {
    font-size: 11px;
  }

  .plg-company-preview__offer-visual {
    position: absolute;
    grid-column: auto;
    grid-row: auto;
    right: 18px;
    top: 10px;
    width: 104px;
    min-height: 36px;
    z-index: 3;
  }

  .plg-company-preview__ticket {
    right: auto;
    top: auto;
    width: 104px;
    height: 36px;
    margin: 0 auto;
    border-radius: 11px;
    box-shadow:
      0 10px 18px rgba(109, 40, 217, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.34);
  }

  .plg-company-preview__ticket::before {
    left: -5px;
    top: 50%;
    width: 10px;
    height: 10px;
    box-shadow: 99px 0 0 #fff7fb;
  }

  .plg-company-preview__ticket::after {
    top: 7px;
    left: 26px;
    bottom: 7px;
    border-left-width: 1px;
  }

  .plg-company-preview__ticket strong {
    font-size: 17px;
  }

  .plg-company-preview__ticket em {
    margin-top: 1px;
    font-size: 6.5px;
  }

  .plg-company-preview__confetti--one {
    left: 10px;
    right: auto;
    top: 32%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
  }

  .plg-company-preview__confetti--two {
    right: 12px;
    top: -7px;
    width: 7px;
    height: 13px;
    transform: rotate(-22deg);
  }

  .plg-company-preview__confetti--three {
    right: -7px;
    bottom: -8px;
    width: 7px;
    height: 15px;
    transform: rotate(-30deg);
  }

  .plg-company-preview__confetti--four {
    left: 10px;
    bottom: 10px;
    width: 7px;
    height: 7px;
    transform: none;
    display: none;
  }

  .plg-company-preview__offer-action {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .plg-company-preview__offer-button {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    font-size: 13px;
  }

  .plg-company-preview__gallery {
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 16px;
  }

  .plg-company-preview__gallery-head {
    margin-bottom: 10px;
  }

  .plg-company-preview__gallery-button {
    width: 34px;
    height: 34px;
  }

  .plg-company-preview__gallery-track {
    gap: 10px;
  }

  .plg-company-preview__gallery-slide {
    flex-basis: min(78vw, 260px);
    border-radius: 12px;
  }

  .plg-company-preview__contact {
    padding: 16px;
    border-radius: 15px;
  }

  .plg-company-preview__contact-list {
    grid-template-columns: 1fr;
  }

  .plg-company-preview__contact-item {
    min-height: 44px;
    gap: 10px;
    padding: 10px 0;
  }

  .plg-company-preview__contact-item:first-child {
    padding-top: 0;
  }

  .plg-company-preview__contact-item:last-child {
    padding-bottom: 0;
  }

  .plg-company-preview__contact-item + .plg-company-preview__contact-item {
    border-left: 0;
    border-top: 1px solid rgba(221, 214, 254, 0.72);
  }

  .plg-company-preview__contact-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  .plg-company-preview__contact-icon .plg-company-preview__icon {
    width: 14px;
    height: 14px;
  }

  .plg-company-preview__contact-label {
    font-size: 11px;
  }

  .plg-company-preview__contact-value {
    margin-top: 4px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plg-info-modal,
  .plg-info-modal__panel,
  .plg-info-close,
  .plg-company-preview__contact-value,
  .plg-company-preview__offer-tab,
  .plg-company-preview__offer-button,
  .plg-company-preview__gallery-button {
    transition: none !important;
  }
}

/* ======================================================================
   Global Fullscreen Lightbox (Slider opened from Company Info gallery)
   ====================================================================== */

body.plg-lbx-open {
  overflow: hidden; /* lock page scroll while slider is open */
  overscroll-behavior: contain;
}

.plg-lbx {
  position: fixed;
  inset: 0;
  z-index: 1000000; /* above everything, incl. modal */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background: rgba(17, 24, 39, 0.46);
  opacity: 0;
  transition: opacity 140ms ease-out;
}
.plg-lbx.is-open {
  opacity: 1;
}

.plg-lbx__stage {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: min(var(--plg-lbx-dialog-width, 90vw), calc(100vw - 40px));
  max-height: calc(100vh - 108px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  backdrop-filter: blur(14px) saturate(1.12);
  overflow: hidden;
}

/* Image area */
.plg-lbx__img {
  max-width: 100%;
  max-height: calc(100vh - 148px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  background: transparent;
}

/* Controls */
.plg-lbx__close,
.plg-lbx__prev,
.plg-lbx__next {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(76, 29, 149, 0.9);
  cursor: pointer;
  transition:
    transform 120ms ease,
    background 140ms ease,
    opacity 140ms ease;
}

.plg-lbx__close {
  top: 14px;
  right: 14px;
  font-size: 30px;
  line-height: 1;
}
.plg-lbx__prev,
.plg-lbx__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  line-height: 1;
}
.plg-lbx__prev {
  left: 14px;
}
.plg-lbx__next {
  right: 14px;
}

.plg-lbx__close:hover,
.plg-lbx__prev:hover,
.plg-lbx__next:hover {
  /* transform: scale(1.06) translateY(var(--y, 0)); */
  background: rgba(91, 33, 182, 0.98);
}
.plg-lbx__close:active,
.plg-lbx__prev:active,
.plg-lbx__next:active {
  /* transform: scale(0.96) translateY(var(--y, 0)); */
  background: rgba(76, 29, 149, 0.98);
}

.plg-lbx.is-single .plg-lbx__prev,
.plg-lbx.is-single .plg-lbx__next {
  display: none;
}

/* Footer (counter + caption) */
.plg-lbx__footer {
  box-sizing: border-box;
  width: min(var(--plg-lbx-dialog-width, 90vw), calc(100vw - 40px));
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.34);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  backdrop-filter: blur(10px) saturate(1.08);
  color: #ffffff;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 32px;
}
.plg-lbx__counter {
  font-weight: 700;
  margin-right: 8px;
}
.plg-lbx__caption {
  opacity: 0.9;
}

/* Touch sizing */
@media (max-width: 420px) {
  .plg-lbx {
    padding: 12px;
  }

  .plg-lbx__stage,
  .plg-lbx__footer {
    width: calc(100vw - 24px);
  }

  .plg-lbx__img {
    max-height: calc(100vh - 128px);
  }

  .plg-lbx__close,
  .plg-lbx__prev,
  .plg-lbx__next {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .plg-lbx,
  .plg-lbx__img,
  .plg-lbx__close,
  .plg-lbx__prev,
  .plg-lbx__next {
    transition: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/*                           Share Panel (fallback)                           */
/* -------------------------------------------------------------------------- */
/* Modern share panel - circular brand icons */
.plg-share-panel {
  position: absolute;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}

.plg-share-panel.is-open {
  opacity: 1;
  transform: translateY(0);
}

.plg-share-item {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  text-decoration: none;
  background: #e5e7eb;
  color: #ffffff;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    opacity 0.12s ease;
}

.plg-share-item svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

/* Hover and active states */
.plg-share-item:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}
.plg-share-item:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

/* Copy state */
.plg-share-item.copied {
  background: #16a34a !important;
  color: #ffffff !important;
}

/* Brand colors (background) */
.plg-share-fb {
  background: #1877f2;
}
.plg-share-x {
  background: #000000;
}
.plg-share-in {
  background: #0a66c2;
}
.plg-share-wa {
  background: #25d366;
}
.plg-share-tg {
  background: #229ed9;
}
.plg-share-em {
  background: #f97316;
}
.plg-share-cp {
  background: #374151;
}

/* Small screens - keep everything finger friendly */
@media (max-width: 480px) {
  .plg-share-panel {
    gap: 6px;
    padding: 6px 8px;
  }
  .plg-share-item {
    width: 30px;
    height: 30px;
  }
  .plg-share-item svg {
    width: 15px;
    height: 15px;
  }
}

.plg-cta-share.plg-copied {
  transform: scale(1.05);
  transition: transform 0.15s ease;
}

/* -------------------------------------------------------------------------- */
/* Shared cube highlight (pop + shake + soft pulse)                           */
/* -------------------------------------------------------------------------- */
.grid-cell.plg-cube-highlight {
  position: relative;
  z-index: 5;
  /* base glow around cube */
  box-shadow:
    0 0 0 2px
      color-mix(
        in srgb,
        var(--plg-cube-overlay-color, #38bdf8) 88%,
        rgba(255, 255, 255, 0.12)
      ),
    0 0 24px
      color-mix(
        in srgb,
        var(--plg-cube-overlay-color, #38bdf8) 64%,
        transparent
      );
  transform-origin: center center;
  animation:
    plg-cube-pop 0.22s ease-out,
    plg-cube-shake 1.1s ease-in-out 0.22s 2,
    plg-cube-pulse 2.4s ease-out 1.5s 3;
}

/* quick “pop in” when page loads from shared link */
@keyframes plg-cube-pop {
  0% {
    transform: scale(0.94);
    opacity: 0.4;
    box-shadow:
      0 0 0 1px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 36%,
          transparent
        ),
      0 0 8px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 30%,
          transparent
        );
  }
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow:
      0 0 0 2px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 88%,
          rgba(255, 255, 255, 0.12)
        ),
      0 0 24px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 64%,
          transparent
        );
  }
}

/* subtle horizontal+vertical shake – no crazy zoom */
@keyframes plg-cube-shake {
  0% {
    transform: translateX(0) translateY(0) scale(1);
  }
  12% {
    transform: translateX(-3px) translateY(-1px) scale(1.01);
  }
  25% {
    transform: translateX(3px) translateY(1px) scale(1.01);
  }
  37% {
    transform: translateX(-3px) translateY(0) scale(1.01);
  }
  50% {
    transform: translateX(3px) translateY(-1px) scale(1.01);
  }
  62% {
    transform: translateX(-2px) translateY(1px) scale(1.005);
  }
  75% {
    transform: translateX(2px) translateY(0) scale(1.005);
  }
  100% {
    transform: translateX(0) translateY(0) scale(1);
  }
}

/* soft breathing glow while highlighted */
@keyframes plg-cube-pulse {
  0% {
    box-shadow:
      0 0 0 2px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 84%,
          rgba(255, 255, 255, 0.1)
        ),
      0 0 18px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 54%,
          transparent
        );
  }
  50% {
    box-shadow:
      0 0 0 4px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 22%,
          transparent
        ),
      0 0 32px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 38%,
          transparent
        );
  }
  100% {
    box-shadow:
      0 0 0 2px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 84%,
          rgba(255, 255, 255, 0.1)
        ),
      0 0 18px
        color-mix(
          in srgb,
          var(--plg-cube-overlay-color, #38bdf8) 54%,
          transparent
        );
  }
}

/* -------------------------------------------------------------------------- */
/* Category Hero - Template B                                                 */
/* -------------------------------------------------------------------------- */
body:not(.wp-admin) .et_pb_section:has(.plg-category-hero),
body:not(.wp-admin) .et_pb_row:has(.plg-category-hero),
body:not(.wp-admin) .et_pb_column:has(.plg-category-hero),
body:not(.wp-admin) .et_pb_module:has(.plg-category-hero),
body:not(.wp-admin) .et_pb_code_inner:has(.plg-category-hero) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.plg-category-hero {
  --plg-hero-accent: #8a4dff;
  --plg-hero-overlay: 0.45;
  --plg-hero-bg-position: center center;
  --plg-hero-bg-attachment: scroll;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  min-height: clamp(170px, 18vw, 232px);
  margin: 0;
  padding-top: clamp(24px, 2.7vw, 38px);
  padding-right: clamp(22px, 3.2vw, 62px);
  padding-bottom: clamp(5px, 0.65vw, 9px);
  padding-left: clamp(22px, 3.2vw, 62px);
  border-top: none;
  border-bottom: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 236, 249, 0.6) 0%, transparent 34%),
    linear-gradient(115deg, #f5f6ff 0%, #f8f9ff 46%, #eef7ff 100%);
  box-shadow: 0 12px 26px rgba(124, 92, 255, 0.08);
  contain: paint;
  transition:
    min-height 0.24s ease,
    padding 0.24s ease;
}

.plg-category-hero::before,
.plg-category-hero::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(244, 114, 182, 0),
    rgba(244, 114, 182, 0.36),
    rgba(34, 211, 238, 0.32),
    rgba(34, 211, 238, 0)
  );
  z-index: 1;
}

.plg-category-hero::before {
  top: 0;
}

.plg-category-hero::after {
  bottom: 0;
}

.plg-category-hero__bg,
.plg-category-hero__overlay,
.plg-category-hero__pattern {
  position: absolute;
  inset: 0;
  border-radius: 0;
  pointer-events: none;
}

.plg-category-hero__bg {
  z-index: -3;
  background-image:
    radial-gradient(
      circle at 0% 100%,
      rgba(244, 114, 182, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 8%,
      rgba(34, 211, 238, 0.16),
      transparent 34%
    ),
    linear-gradient(
      120deg,
      rgba(247, 248, 255, 0.98) 0%,
      rgba(243, 245, 255, 0.98) 48%,
      rgba(239, 248, 255, 0.96) 100%
    );
  background-position:
    center center,
    center center,
    center center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto, auto, cover;
  background-attachment: var(--plg-hero-bg-attachment, scroll);
}

.plg-category-hero--has-bg .plg-category-hero__bg {
  background-image:
    linear-gradient(
      120deg,
      rgba(247, 248, 255, calc(var(--plg-hero-overlay, 0.45) * 1.7)) 0%,
      rgba(247, 248, 255, calc(var(--plg-hero-overlay, 0.45) * 1.55)) 42%,
      rgba(238, 247, 255, calc(var(--plg-hero-overlay, 0.45) * 1.55)) 100%
    ),
    var(--plg-hero-bg-image);
  background-position:
    center center,
    var(--plg-hero-bg-position, center center);
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-attachment: var(--plg-hero-bg-attachment, scroll);
}

.plg-category-hero__overlay {
  z-index: -2;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, calc(var(--plg-hero-overlay, 0.45) * 0.28)) 0%,
    rgba(247, 248, 255, calc(var(--plg-hero-overlay, 0.45) * 0.42)) 100%
  );
}

.plg-category-hero__pattern {
  z-index: -1;
  opacity: 0.7;
  background-image:
    radial-gradient(circle, rgba(124, 92, 255, 0.18) 1px, transparent 1.5px),
    radial-gradient(
      circle at 18% 52%,
      rgba(34, 211, 238, 0.16),
      transparent 16%
    ),
    repeating-linear-gradient(
      166deg,
      transparent 0,
      transparent 18px,
      rgba(124, 92, 255, 0.045) 19px,
      transparent 20px
    );
  background-position:
    left top,
    center bottom,
    center bottom;
  background-size:
    22px 22px,
    54% 82%,
    100% 100%;
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.28) 44%,
    rgba(0, 0, 0, 0.18)
  );
}

.plg-category-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.4fr) minmax(600px, 0.6fr);
  gap: clamp(22px, 3.8vw, 60px);
  align-items: center;
  max-width: 1720px;
  margin: 0 auto;
}

.plg-category-hero__content {
  min-width: 0;
}

.plg-category-hero__copy,
.plg-category-hero__side-panel {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    max-height 0.24s ease;
}

.plg-category-hero__copy {
  max-height: 540px;
  overflow: hidden;
}

.plg-category-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: #344054;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  transition: margin 0.24s ease;
}

.plg-category-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(124, 92, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.07);
}

.plg-category-hero__crumb[aria-hidden="true"] {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(52, 64, 84, 0.58);
  box-shadow: none;
}

.plg-category-hero__crumb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.1);
  color: #344054;
  flex: 0 0 auto;
}

.plg-category-hero__current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(124, 92, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.86),
    rgba(243, 240, 255, 0.84)
  );
  color: #6f35ff;
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.08);
  box-sizing: border-box;
}

.plg-category-hero__current .plg-category-hero__crumb-icon {
  background: var(--plg-hero-category-icon-bg, rgba(124, 92, 255, 0.12));
  color: var(--plg-hero-category-icon-color, #6f35ff);
}

.plg-category-hero__title {
  margin: 0;
  color: #101828;
  /* Reduced size for compact light hero (≈15-25% smaller) */
  font-size: clamp(2rem, 3.35vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
  max-width: 100%;
  overflow-wrap: anywhere;
  background-image: linear-gradient(
    96deg,
    #f02f93 0%,
    #a449ef 45%,
    #2b66f4 74%,
    #21cbe3 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plg-category-hero__accent-line {
  width: clamp(70px, 14vw, 122px);
  height: 3px;
  margin: 14px 0 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f472b6 0%, #c084fc 55%, #22d3ee 100%);
  box-shadow: none;
}

.plg-category-hero__description {
  max-width: 58ch;
  margin: 0;
  padding: 0 !important;
  color: #344054;
  font-size: clamp(0.8rem, 0.9vw, 0.94rem);
  line-height: 1.35;
}

.plg-category-hero__description:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}

.plg-category-hero__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0;
}

.plg-category-hero__side-panel {
  display: grid;
  gap: 6px;
  max-height: none;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.plg-category-hero__badge,
.plg-category-hero__stat {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(124, 92, 255, 0.14);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 8px 18px rgba(124, 92, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.plg-category-hero__badge::before,
.plg-category-hero__stat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 5% 8%,
      color-mix(
        in srgb,
        var(
            --plg-hero-badge-accent,
            var(--plg-hero-stat-accent, var(--plg-hero-accent))
          )
          16%,
        transparent
      ),
      transparent 38%
    ),
    radial-gradient(
      circle at 2px 3px,
      rgba(244, 114, 182, 0.24) 1px,
      transparent 1.5px
    );
  background-size:
    auto,
    28px 28px;
  opacity: 0.42;
}

.plg-category-hero__badge > *,
.plg-category-hero__stat > * {
  position: relative;
  z-index: 1;
}

.plg-category-hero__badge {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 12px 15px;
  border-radius: 0;
}

.plg-category-hero__badge > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.plg-category-hero__badge strong,
.plg-category-hero__stat-value {
  color: #101828;
}

.plg-category-hero__badge strong {
  font-size: clamp(0.75rem, 0.8vw, 0.92rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: none;
}

.plg-category-hero__badge > span:last-child span {
  color: #526070;
  font-size: clamp(0.66rem, 0.72vw, 0.78rem);
  line-height: 1.25;
}

.plg-category-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.plg-category-hero__stat {
  /* More compact stat cards */
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  min-height: 61px;
  padding: 11px 13px;
  border-radius: 0;
  align-content: center;
  background: rgba(255, 255, 255, 0.78);
}

.plg-category-hero__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* slightly smaller icon circle for stat cards */
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: color-mix(
    in srgb,
    var(
        --plg-hero-stat-accent,
        var(--plg-hero-badge-accent, var(--plg-hero-accent))
      )
      24%,
    #ffffff
  );
  color: color-mix(
    in srgb,
    var(
        --plg-hero-stat-accent,
        var(--plg-hero-badge-accent, var(--plg-hero-accent))
      )
      78%,
    #081120
  );
  box-shadow: none;
}

.plg-category-hero__badge .plg-category-hero__stat-icon {
  width: 38px;
  height: 38px;
  border: 0;
  background: color-mix(
    in srgb,
    var(--plg-hero-badge-accent, var(--plg-hero-accent)) 24%,
    #ffffff
  );
  color: color-mix(
    in srgb,
    var(--plg-hero-badge-accent, var(--plg-hero-accent)) 78%,
    #081120
  );
  box-shadow: none;
}

.plg-category-hero__stat-main {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
}

.plg-category-hero__stat-value {
  display: inline;
  margin-top: 0;
  font-size: clamp(0.76rem, 0.8vw, 0.86rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: none;
}

.plg-category-hero__stat-label {
  display: inline;
  color: #101828;
  font-size: clamp(0.68rem, 0.74vw, 0.8rem);
  font-weight: 700;
  line-height: 1.25;
}

.plg-category-hero__stat-note {
  display: block;
  grid-column: 2;
  color: #526070;
  font-size: clamp(0.66rem, 0.72vw, 0.78rem);
  line-height: 1.15;
  min-height: 0;
}

.plg-category-hero__stat-note:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--plg-hero-stat-accent, var(--plg-hero-accent));
  box-shadow: none;
  vertical-align: 0.08em;
}

.plg-category-hero svg {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.plg-category-hero__badge svg,
.plg-category-hero__stat-icon svg,
.plg-category-hero__crumb-icon svg {
  width: 15px;
  height: 15px;
}

.plg-category-hero__stat-icon svg {
  width: 14px;
  height: 14px;
}

.plg-category-hero.is-collapsed {
  min-height: 0;
  padding-block: 12px;
}

.plg-category-hero.is-collapsed .plg-category-hero__inner {
  align-items: start;
  gap: 0;
}

.plg-category-hero.is-collapsed .plg-category-hero__breadcrumb {
  margin-bottom: 0;
}

.plg-category-hero.is-collapsed .plg-category-hero__copy,
.plg-category-hero.is-collapsed .plg-category-hero__side-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.99);
}

.plg-category-hero.is-collapsed .plg-category-hero__side-panel {
  padding-block: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.plg-category-hero + #board-wrapper {
  margin-top: 0 !important;
}

.plg-category-hero + #board-wrapper.plg-grid-preload-hidden,
.plg-category-hero + #board-wrapper.plg-grid-is-loading {
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .plg-category-hero__badge,
  .plg-category-hero__stat,
  .plg-category-hero__crumb,
  .plg-category-hero__current {
    transition:
      transform 0.16s ease,
      border-color 0.16s ease,
      box-shadow 0.16s ease,
      background-color 0.16s ease;
  }

  .plg-category-hero__badge:hover,
  .plg-category-hero__stat:hover {
    transform: translateY(-1px);
    border-color: rgba(124, 92, 255, 0.2);
    box-shadow:
      0 12px 24px rgba(124, 92, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  .plg-category-hero__crumb:hover {
    border-color: rgba(124, 92, 255, 0.24);
    background: rgba(255, 255, 255, 0.92);
  }
}

@media (max-width: 1280px) {
  .plg-category-hero__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .plg-category-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .plg-category-hero__bg,
  .plg-category-hero--has-bg .plg-category-hero__bg {
    background-attachment: scroll;
  }
}

@media (max-width: 820px) {
  .plg-category-hero {
    padding-top: 24px;
    padding-right: 18px;
    padding-bottom: 6px;
    padding-left: 18px;
    border-radius: 0;
    min-height: 0;
  }

  .plg-category-hero__badges,
  .plg-category-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plg-category-hero__stat:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .plg-category-hero {
    margin: 0;
    padding-top: 16px;
    padding-right: 12px;
    padding-bottom: 4px;
    padding-left: 12px;
    border-radius: 0;
  }

  .plg-category-hero__bg,
  .plg-category-hero--has-bg .plg-category-hero__bg {
    background-attachment: scroll;
  }

  .plg-category-hero::before,
  .plg-category-hero::after {
    left: 12px;
    right: 12px;
  }

  .plg-category-hero__breadcrumb {
    gap: 6px;
    margin-bottom: 12px;
  }

  .plg-category-hero__crumb,
  .plg-category-hero__current {
    min-height: 26px;
    padding: 4px 8px;
  }

  .plg-category-hero__title {
    max-width: none;
    font-size: clamp(1.6rem, 7vw, 2.24rem);
  }

  .plg-category-hero__accent-line {
    margin: 12px 0 10px;
  }

  .plg-category-hero__description {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .plg-category-hero__badges,
  .plg-category-hero__stats {
    grid-template-columns: 1fr;
  }

  .plg-category-hero__side-panel {
    padding: 0;
    border-radius: 0;
  }

  .plg-category-hero__badge,
  .plg-category-hero__stat {
    padding: 12px;
  }

  .plg-category-hero__stat {
    min-height: 0;
  }

  .plg-category-hero__stat:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plg-category-hero,
  .plg-category-hero__breadcrumb,
  .plg-category-hero__copy,
  .plg-category-hero__side-panel,
  .plg-category-hero__badge,
  .plg-category-hero__stat,
  .plg-category-hero__crumb,
  .plg-category-hero__current {
    transition: none;
  }
}

/* Company profile classic template */
.plg-company-profile {
  --plg-company-accent: #6f3ff5;
  --plg-company-accent-strong: #4f27c8;
  --plg-company-ink: #1d1b2f;
  --plg-company-muted: #6f6a7f;
  --plg-company-line: #e8e3f3;
  --plg-company-panel: #ffffff;
  --plg-company-soft: #f8f6fc;
  background: #fbfaff;
  color: var(--plg-company-ink);
  font-family: inherit;
  scroll-behavior: smooth;
}

.plg-company-profile *,
.plg-company-profile *::before,
.plg-company-profile *::after {
  box-sizing: border-box;
}

.plg-company-profile__hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(111, 63, 245, 0.12), rgba(32, 171, 171, 0.08)),
    #ffffff;
  isolation: isolate;
}

.plg-company-profile__hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7)),
    var(--plg-company-cover);
  background-position: center;
  background-size: cover;
}

.plg-company-profile__hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--plg-company-line);
}

.plg-company-profile__hero-inner,
.plg-company-profile__topnav,
.plg-company-profile__nav-inner,
.plg-company-profile__section,
.plg-company-profile__social {
  width: min(1120px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.plg-company-profile__topnav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0 14px;
}

.plg-company-breadcrumbs {
  min-width: 0;
}

.plg-company-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  color: var(--plg-company-muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.plg-company-breadcrumbs__item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.plg-company-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: #b7afc5;
  font-weight: 700;
}

.plg-company-breadcrumbs__item a {
  color: var(--plg-company-accent-strong);
  text-decoration: none;
}

.plg-company-breadcrumbs__home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  vertical-align: middle;
}

.plg-company-breadcrumbs__home-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.plg-company-breadcrumbs__item a:hover,
.plg-company-breadcrumbs__item a:focus {
  color: var(--plg-company-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.plg-company-breadcrumbs__home-icon:hover,
.plg-company-breadcrumbs__home-icon:focus {
  text-decoration: none;
}

.plg-company-breadcrumbs__item[aria-current="page"] {
  color: var(--plg-company-ink);
}

.plg-company-breadcrumbs__item[aria-current="page"] span {
  overflow: hidden;
  max-width: min(34vw, 360px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plg-company-breadcrumbs__item a:focus-visible {
  outline: 3px solid rgba(111, 63, 245, 0.3);
  outline-offset: 2px;
}

.plg-company-profile__hero-inner {
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 56px 0;
}

.plg-company-profile__identity {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 760px;
}

.plg-company-profile__logo-wrap {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(111, 63, 245, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(42, 27, 89, 0.1);
}

.plg-company-profile__logo {
  display: block;
  max-width: 86px;
  max-height: 86px;
  object-fit: contain;
}

.plg-company-profile__logo-placeholder {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 8px;
  background: var(--plg-company-accent);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
}

.plg-company-profile__eyebrow,
.plg-company-profile__section-kicker {
  margin: 0 0 8px;
  color: var(--plg-company-accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.plg-company-profile__title {
  margin: 0;
  color: var(--plg-company-ink);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.plg-company-profile__tagline {
  max-width: 680px;
  margin: 14px 0 0;
  color: #4c465d;
  font-size: 1.08rem;
  line-height: 1.55;
}

.plg-company-profile__summary {
  max-width: 680px;
  margin: 18px 0 0;
  color: #4c465d;
  font-size: 1.08rem;
  line-height: 1.65;
}

.plg-company-profile__hero-actions,
.plg-company-profile__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.plg-company-profile__button,
.plg-company-profile__social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease;
}

.plg-company-profile__button--primary,
.plg-company-profile__button--download {
  border-color: var(--plg-company-accent);
  background: var(--plg-company-accent);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(111, 63, 245, 0.22);
}

.plg-company-profile__button--secondary,
.plg-company-profile__social-links a {
  background: #ffffff;
  color: var(--plg-company-accent-strong);
}

.plg-company-profile__social-link {
  gap: 8px;
  white-space: nowrap;
}

.plg-company-profile__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.plg-company-profile__social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.plg-company-profile__social-text {
  min-width: 0;
}

.plg-company-profile__button--download {
  width: 100%;
  margin-top: auto;
  cursor: pointer;
}

.plg-company-profile__button:hover,
.plg-company-profile__button:focus,
.plg-company-profile__social-links a:hover,
.plg-company-profile__social-links a:focus {
  transform: translateY(-1px);
  border-color: rgba(111, 63, 245, 0.42);
  box-shadow: 0 12px 28px rgba(42, 27, 89, 0.12);
}

.plg-company-profile__button--primary:hover,
.plg-company-profile__button--primary:focus,
.plg-company-profile__button--download:hover,
.plg-company-profile__button--download:focus {
  background: var(--plg-company-accent-strong);
  color: #ffffff;
}

.plg-company-profile__nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--plg-company-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

body.admin-bar .plg-company-profile__nav {
  top: 32px;
}

.plg-company-profile__nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  scroll-padding-inline: 16px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.plg-company-profile__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--plg-company-muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.plg-company-profile__nav-link::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--plg-company-accent);
  opacity: 0;
}

.plg-company-profile__nav-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
}

.plg-company-profile__nav-icon::before {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}

.plg-company-profile__nav-text {
  display: inline-block;
}

.plg-company-profile__nav-link:hover,
.plg-company-profile__nav-link:focus {
  border-color: transparent;
  background: transparent;
  color: var(--plg-company-accent-strong);
}

.plg-company-profile__nav-link.is-active {
  color: var(--plg-company-accent-strong);
}

.plg-company-profile__nav-link:hover::after,
.plg-company-profile__nav-link:focus::after,
.plg-company-profile__nav-link.is-active::after {
  opacity: 1;
}

.plg-company-profile__nav-link:focus-visible {
  outline: 3px solid rgba(111, 63, 245, 0.3);
  outline-offset: 2px;
}

.plg-company-profile__section {
  padding: 44px 0;
  scroll-margin-top: 96px;
}

.plg-company-profile__section + .plg-company-profile__section {
  border-top: 1px solid var(--plg-company-line);
}

.plg-company-profile__section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.plg-company-profile__section-heading h2 {
  margin: 0;
  color: var(--plg-company-ink);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.plg-company-profile__voucher-grid,
.plg-company-profile__service-grid,
.plg-company-profile__contact-grid,
.plg-company-profile__gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plg-company-profile__voucher-card,
.plg-company-profile__service-card,
.plg-company-profile__contact-card,
.plg-company-profile__map-card,
.plg-company-profile__video-card,
.plg-company-profile__empty {
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: var(--plg-company-panel);
  box-shadow: 0 14px 34px rgba(42, 27, 89, 0.06);
}

.plg-company-profile__voucher-card,
.plg-company-profile__service-card {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 18px;
}

.plg-company-profile__voucher-card h3,
.plg-company-profile__service-card h3 {
  margin: 8px 0;
  color: var(--plg-company-ink);
  font-size: 1.14rem;
  line-height: 1.25;
}

.plg-company-profile__service-card h3 {
  margin-top: 0;
}

.plg-company-profile__service-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.plg-company-profile__service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--plg-company-muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.plg-company-profile__service-check {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--plg-company-accent);
}

.plg-company-profile__service-check svg {
  display: block;
  width: 18px;
  height: 18px;
}

.plg-company-profile__voucher-card p,
.plg-company-profile__service-card p,
.plg-company-profile__map-card p,
.plg-company-profile__muted {
  color: var(--plg-company-muted);
  line-height: 1.55;
}

.plg-company-profile__voucher-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(111, 63, 245, 0.1);
  color: var(--plg-company-accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.plg-company-profile__voucher-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 12px 0;
}

.plg-company-profile__voucher-price strong {
  color: var(--plg-company-accent-strong);
  font-size: 1.35rem;
}

.plg-company-profile__voucher-original {
  color: #90899e;
  text-decoration: line-through;
}

.plg-company-profile__voucher-expiry {
  margin-top: auto;
  font-size: 0.92rem;
}

.plg-company-profile__voucher-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.plg-company-profile__voucher-actions .plg-company-profile__button--download {
  margin-top: 0;
}

.plg-company-profile__button--details {
  width: 100%;
  border-color: rgba(111, 63, 245, 0.28);
  background: #ffffff;
  color: var(--plg-company-accent-strong);
  cursor: pointer;
}

.plg-company-profile__button--details:hover,
.plg-company-profile__button--details:focus {
  background: var(--plg-company-soft);
  color: var(--plg-company-accent-strong);
}

body.plg-company-profile-voucher-modal-open {
  overflow: hidden;
}

.plg-company-profile__voucher-modal[hidden],
.plg-company-profile__voucher-detail-templates[hidden] {
  display: none;
}

.plg-company-profile__voucher-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(29, 27, 47, 0.56);
}

.plg-company-profile__voucher-modal-panel {
  width: min(720px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(29, 27, 47, 0.28);
}

.plg-company-profile__voucher-modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--plg-company-line);
  background: #ffffff;
}

.plg-company-profile__voucher-modal-header h2 {
  margin: 0;
  color: var(--plg-company-ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.plg-company-profile__voucher-modal-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--plg-company-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.plg-company-profile__voucher-modal-close:hover,
.plg-company-profile__voucher-modal-close:focus {
  border-color: rgba(111, 63, 245, 0.42);
  color: var(--plg-company-accent-strong);
}

.plg-company-profile__voucher-modal-body {
  padding: 20px;
}

.plg-company-profile__voucher-detail {
  display: grid;
  gap: 18px;
}

.plg-company-profile__voucher-detail-image {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: var(--plg-company-soft);
}

.plg-company-profile__voucher-detail-image img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.plg-company-profile__voucher-gallery {
  min-width: 0;
}

.plg-company-profile__voucher-slider {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.plg-company-profile__voucher-slider-main {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: var(--plg-company-soft);
  aspect-ratio: 16 / 9;
}

.plg-company-profile__voucher-slider-slide {
  width: 100%;
  height: 100%;
  margin: 0;
}

.plg-company-profile__voucher-slider-slide[hidden] {
  display: none;
}

.plg-company-profile__voucher-slider-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plg-company-profile__voucher-slider-prev,
.plg-company-profile__voucher-slider-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(29, 27, 47, 0.62);
  color: #ffffff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.plg-company-profile__voucher-slider-prev {
  left: 12px;
}

.plg-company-profile__voucher-slider-next {
  right: 12px;
}

.plg-company-profile__voucher-slider-prev:hover,
.plg-company-profile__voucher-slider-prev:focus,
.plg-company-profile__voucher-slider-next:hover,
.plg-company-profile__voucher-slider-next:focus {
  background: var(--plg-company-accent-strong);
  color: #ffffff;
}

.plg-company-profile__voucher-slider-thumbs {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.plg-company-profile__voucher-slider-thumb {
  flex: 0 0 76px;
  overflow: hidden;
  width: 76px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  opacity: 0.72;
}

.plg-company-profile__voucher-slider-thumb.is-active,
.plg-company-profile__voucher-slider-thumb:focus {
  border-color: var(--plg-company-accent);
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(111, 63, 245, 0.16);
}

.plg-company-profile__voucher-slider-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plg-company-profile__voucher-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.plg-company-profile__voucher-meta div {
  padding: 14px;
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: var(--plg-company-soft);
}

.plg-company-profile__voucher-meta dt {
  margin-bottom: 5px;
  color: var(--plg-company-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.plg-company-profile__voucher-meta dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  margin: 0;
  color: var(--plg-company-ink);
  font-weight: 800;
}

.plg-company-profile__voucher-meta dd span {
  color: #90899e;
  text-decoration: line-through;
}

.plg-company-profile__voucher-meta dd em {
  color: var(--plg-company-accent-strong);
  font-style: normal;
}

.plg-company-profile__voucher-detail-section {
  padding-top: 16px;
  border-top: 1px solid var(--plg-company-line);
}

.plg-company-profile__voucher-detail-section h3 {
  margin: 0 0 10px;
  color: var(--plg-company-ink);
  font-size: 1rem;
  line-height: 1.25;
}

.plg-company-profile__voucher-rich-text {
  color: #373247;
  line-height: 1.7;
}

.plg-company-profile__voucher-rich-text p {
  margin: 0 0 1rem;
}

.plg-company-profile__voucher-rich-text h1,
.plg-company-profile__voucher-rich-text h2,
.plg-company-profile__voucher-rich-text h3,
.plg-company-profile__voucher-rich-text h4,
.plg-company-profile__voucher-rich-text h5,
.plg-company-profile__voucher-rich-text h6 {
  margin: 1.1rem 0 0.55rem;
  color: var(--plg-company-ink);
  line-height: 1.25;
}

.plg-company-profile__voucher-rich-text ul,
.plg-company-profile__voucher-rich-text ol {
  margin: 0 0 1rem 1.5rem;
  padding-left: 1.25rem;
  list-style-position: outside;
}

.plg-company-profile__voucher-rich-text ul {
  list-style-type: disc;
}

.plg-company-profile__voucher-rich-text ol {
  list-style-type: decimal;
}

.plg-company-profile__voucher-rich-text li {
  margin: 0.35rem 0;
}

.plg-company-profile__voucher-rich-text strong,
.plg-company-profile__voucher-rich-text b {
  font-weight: 800;
}

.plg-company-profile__voucher-rich-text a {
  color: var(--plg-company-accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.plg-company-profile__voucher-rich-text a:hover,
.plg-company-profile__voucher-rich-text a:focus {
  color: var(--plg-company-accent);
}

.plg-company-profile__voucher-rich-text > *:first-child {
  margin-top: 0;
}

.plg-company-profile__voucher-rich-text > *:last-child {
  margin-bottom: 0;
}

.plg-company-profile__voucher-detail-actions {
  padding-top: 4px;
}

.plg-company-profile__voucher-detail-actions
  .plg-company-profile__button--download {
  margin-top: 0;
}

.plg-company-profile__content,
.plg-company-profile__map-card,
.plg-company-profile__video-card,
.plg-company-profile__empty {
  padding: 22px;
}

.plg-company-profile__empty {
  color: var(--plg-company-muted);
  line-height: 1.55;
}

.plg-company-profile__content {
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: #ffffff;
  color: #373247;
  line-height: 1.72;
}

.plg-company-profile__about-content p {
  margin: 0 0 1rem;
}

.plg-company-profile__about-content h1,
.plg-company-profile__about-content h2,
.plg-company-profile__about-content h3,
.plg-company-profile__about-content h4,
.plg-company-profile__about-content h5,
.plg-company-profile__about-content h6 {
  margin: 1.25rem 0 0.65rem;
  color: var(--plg-company-ink);
  line-height: 1.25;
  letter-spacing: 0;
}

.plg-company-profile__about-content h1 {
  font-size: 1.65rem;
}

.plg-company-profile__about-content h2 {
  font-size: 1.45rem;
}

.plg-company-profile__about-content h3 {
  font-size: 1.25rem;
}

.plg-company-profile__about-content h4,
.plg-company-profile__about-content h5,
.plg-company-profile__about-content h6 {
  font-size: 1.08rem;
}

.plg-company-profile__about-content ul,
.plg-company-profile__about-content ol {
  margin: 0 0 1rem 1.5rem;
  padding-left: 1.25rem;
  list-style-position: outside;
}

.plg-company-profile__about-content ul {
  list-style-type: disc;
}

.plg-company-profile__about-content ol {
  list-style-type: decimal;
}

.plg-company-profile__about-content li {
  margin: 0.35rem 0;
}

.plg-company-profile__about-content blockquote {
  margin: 1.15rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--plg-company-accent);
  border-radius: 0 8px 8px 0;
  background: var(--plg-company-soft);
  color: #373247;
  font-size: 1.03rem;
  line-height: 1.65;
}

.plg-company-profile__about-content blockquote p {
  margin-bottom: 0.75rem;
}

.plg-company-profile__about-content blockquote > *:first-child {
  margin-top: 0;
}

.plg-company-profile__about-content blockquote > *:last-child {
  margin-bottom: 0;
}

.plg-company-profile__about-content a {
  color: var(--plg-company-accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.plg-company-profile__about-content a:hover,
.plg-company-profile__about-content a:focus {
  color: var(--plg-company-accent);
}

.plg-company-profile__about-content strong,
.plg-company-profile__about-content b {
  font-weight: 800;
}

.plg-company-profile__content > *:first-child,
.plg-company-profile__map-card > *:first-child {
  margin-top: 0;
}

.plg-company-profile__content > *:last-child,
.plg-company-profile__map-card > *:last-child {
  margin-bottom: 0;
}

.plg-company-profile__contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 18px;
  color: var(--plg-company-ink);
  text-decoration: none;
}

.plg-company-profile__contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--plg-company-accent);
}

.plg-company-profile__contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plg-company-profile__contact-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.plg-company-profile__contact-label {
  color: var(--plg-company-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.plg-company-profile__contact-value {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.plg-company-profile__map-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  align-items: stretch;
  gap: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(111, 63, 245, 0.05),
      rgba(255, 255, 255, 0) 42%
    ),
    var(--plg-company-panel);
}

.plg-company-map-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.plg-company-map-card__info p {
  margin: 0;
}

.plg-company-map-card__info .plg-company-profile__button {
  width: fit-content;
}

.plg-company-map-card__embed {
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: var(--plg-company-soft);
}

.plg-company-map-card__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

.plg-company-profile__gallery-grid figure {
  overflow: hidden;
  min-height: 180px;
  margin: 0;
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: #ffffff;
}

.plg-company-profile__gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.plg-company-profile__video-card {
  overflow: hidden;
}

.plg-company-profile__video-frame {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--plg-company-soft);
}

.plg-company-video__iframe {
  width: 100%;
  height: 100%;
}

.plg-company-profile__video-card iframe,
.plg-company-profile__video-card video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 11;
  border: 0;
  border-radius: inherit;
}

.plg-company-profile__social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--plg-company-line);
}

.plg-company-profile__social-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.plg-company-profile__social-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  width: 46px;
  height: 46px;
  border: 1px solid var(--plg-company-line);
  border-radius: 8px;
  background: #ffffff;
}

.plg-company-profile__social-logo img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.plg-company-profile__social-logo span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 8px;
  background: var(--plg-company-accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.plg-company-profile__social-copy {
  min-width: 0;
}

.plg-company-profile__social strong,
.plg-company-profile__social span {
  display: block;
}

.plg-company-profile__social span {
  margin-top: 4px;
  color: var(--plg-company-muted);
}

.plg-company-profile__social-logo span {
  color: #ffffff;
}

.plg-company-profile__social-links {
  justify-content: flex-end;
  margin-top: 0;
}

.plg-company-profile__social .plg-company-profile__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.plg-company-profile__social .plg-company-profile__social-link:hover,
.plg-company-profile__social .plg-company-profile__social-link:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.plg-company-profile__social .plg-company-profile__social-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.plg-company-profile__social .plg-company-profile__social-icon,
.plg-company-profile__social .plg-company-profile__social-text {
  color: currentColor;
}

.plg-company-profile__social .plg-company-profile__social-icon {
  display: inline-flex;
  margin-top: 0;
}

.plg-company-profile__social .plg-company-profile__social-text {
  display: inline;
  margin-top: 0;
}

body.single-plg_company #main-footer #footer-widgets,
body.single-plg_company #main-footer #footer-bottom,
body.single-plg_company #main-footer #footer-info,
body.single-plg_company #main-footer .footer-widget,
body.single-plg_company #main-footer .et_pb_widget,
body.single-plg_company .et-l--footer #footer-widgets,
body.single-plg_company .et-l--footer #footer-bottom,
body.single-plg_company .et-l--footer .footer-widget,
body.single-plg_company .et-l--footer .et_pb_widget {
  display: none;
}

body.single-plg_company #main-footer,
body.single-plg_company .et-l--footer {
  padding: 0;
}

@media (min-width: 1025px) {
  body.single-plg_company #main-content {
    background: #f7f8fe;
  }

  .plg-company-profile {
    --plg-company-accent: #6338f2;
    --plg-company-accent-strong: #4b27c5;
    --plg-company-ink: #111a3b;
    --plg-company-muted: #69708a;
    --plg-company-line: #e4e8f3;
    --plg-company-soft: #f5f6fc;
    padding-bottom: 42px;
    background: linear-gradient(180deg, #f8faff 0, #ffffff 320px, #f7f8fe 100%);
  }

  .plg-company-profile__hero-inner,
  .plg-company-profile__topnav,
  .plg-company-profile__nav-inner,
  .plg-company-profile__section,
  .plg-company-profile__social {
    width: min(1240px, calc(100% - 48px));
  }

  .plg-company-profile__topnav {
    padding: 14px 0 12px;
  }

  .plg-company-breadcrumbs__list {
    gap: 7px;
    font-size: 0.78rem;
  }

  .plg-company-breadcrumbs__item {
    gap: 7px;
  }

  .plg-company-breadcrumbs__home-icon {
    width: 18px;
    height: 18px;
  }

  .plg-company-breadcrumbs__home-icon img {
    width: 16px;
    height: 16px;
  }

  .plg-company-profile__hero {
    width: min(1240px, calc(100% - 48px));
    min-height: 390px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: #173985;
    box-shadow: 0 22px 60px rgba(24, 39, 94, 0.18);
  }

  .plg-company-profile__hero-bg {
    background-image:
      radial-gradient(
        circle at 72% 30%,
        rgba(162, 129, 255, 0.46),
        transparent 26%
      ),
      linear-gradient(
        103deg,
        rgba(10, 31, 91, 0.94) 0%,
        rgba(39, 85, 191, 0.86) 48%,
        rgba(101, 61, 226, 0.68) 100%
      ),
      var(--plg-company-cover, linear-gradient(135deg, #173985, #6c42ee));
    background-position: center;
    background-size: cover;
  }

  .plg-company-profile__hero::after {
    display: none;
  }

  .plg-company-profile__hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 390px;
    padding: 74px 78px 76px;
  }

  .plg-company-profile__identity {
    grid-template-columns: minmax(0, 700px) auto;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    gap: 48px;
  }

  .plg-company-profile__logo-wrap {
    order: 2;
    justify-self: end;
    align-self: center;
    width: 132px;
    height: 132px;
    border-color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px rgba(4, 16, 52, 0.18);
  }

  .plg-company-profile__logo {
    max-width: 98px;
    max-height: 98px;
  }

  .plg-company-profile__logo-placeholder {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #5ed8e8, #6f52ff);
    font-size: 2.35rem;
  }

  .plg-company-profile__hero-copy {
    order: 1;
    min-width: 0;
  }

  .plg-company-profile__title {
    max-width: 700px;
    color: #ffffff;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 3px 16px rgba(4, 16, 52, 0.2);
  }

  .plg-company-profile__tagline {
    max-width: 620px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
  }

  .plg-company-profile__summary {
    max-width: 620px;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .plg-company-profile__hero-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .plg-company-profile__button,
  .plg-company-profile__social-links a {
    min-height: 38px;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 0.82rem;
  }

  .plg-company-profile__hero .plg-company-profile__button--secondary {
    border-color: rgba(255, 255, 255, 0.82);
    background: #ffffff;
    color: var(--plg-company-accent-strong);
    box-shadow: 0 12px 26px rgba(4, 16, 52, 0.12);
  }

  .plg-company-profile__nav {
    position: relative;
    top: auto;
    z-index: 4;
    width: min(1240px, calc(100% - 48px));
    margin: -17px auto 18px;
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
  }

  body.admin-bar .plg-company-profile__nav {
    top: auto;
  }

  .plg-company-profile__nav-inner {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(218, 224, 241, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 100);
    box-shadow: 0 14px 38px rgba(24, 39, 94, 0.12);
    gap: 4px;
  }

  .plg-company-profile__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 6px;
    color: #727890;
    font-size: 0.8rem;
  }

  .plg-company-profile__nav-icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
  }

  .plg-company-profile__nav-icon::before {
    width: 16px;
    height: 16px;
    font-size: 16px;
  }

  .plg-company-profile__nav-link::after {
    right: 10px;
    bottom: -9px;
    left: 10px;
  }

  .plg-company-profile__nav-link:hover,
  .plg-company-profile__nav-link:focus {
    border-color: transparent;
    background: transparent;
    color: var(--plg-company-accent-strong);
    box-shadow: none;
  }

  .plg-company-profile__nav-link.is-active {
    border-color: transparent;
    background: transparent;
    color: var(--plg-company-accent-strong);
    box-shadow: none;
  }

  .plg-company-profile__nav-link.is-active:hover,
  .plg-company-profile__nav-link.is-active:focus {
    border-color: transparent;
    background: transparent;
  }

  .plg-company-profile__section {
    padding: 50px 0 0;
    scroll-margin-top: 86px;
  }

  .plg-company-profile__section + .plg-company-profile__section {
    border-top: 0;
  }

  .plg-company-profile__section-heading {
    align-items: center;
    margin-bottom: 14px;
  }

  .plg-company-profile__section-kicker {
    display: none;
  }

  .plg-company-profile__section-heading h2 {
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.25;
  }

  .plg-company-profile__voucher-grid,
  .plg-company-profile__service-grid,
  .plg-company-profile__gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .plg-company-profile__contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .plg-company-profile__voucher-card,
  .plg-company-profile__service-card,
  .plg-company-profile__contact-card,
  .plg-company-profile__map-card,
  .plg-company-profile__video-card,
  .plg-company-profile__empty,
  .plg-company-profile__content {
    border-color: var(--plg-company-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(24, 39, 94, 0.08);
  }

  .plg-company-profile__voucher-card {
    min-height: 300px;
    padding: 20px;
  }

  .plg-company-profile__voucher-card h3 {
    margin: 10px 0 8px;
    font-size: 1rem;
    line-height: 1.34;
  }

  .plg-company-profile__voucher-card p {
    margin: 0 0 10px;
    font-size: 0.82rem;
  }

  .plg-company-profile__voucher-badge {
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #ede8ff;
    color: var(--plg-company-accent-strong);
    font-size: 0.7rem;
  }

  .plg-company-profile__voucher-price {
    margin: 10px 0 6px;
  }

  .plg-company-profile__voucher-price strong {
    color: #3f2dda;
    font-size: 1.42rem;
  }

  .plg-company-profile__voucher-original,
  .plg-company-profile__voucher-expiry {
    font-size: 0.78rem;
  }

  .plg-company-profile__voucher-expiry {
    margin-top: 8px;
  }

  .plg-company-profile__voucher-actions {
    gap: 8px;
    padding-top: 12px;
  }

  .plg-company-profile__voucher-actions .plg-company-profile__button {
    min-height: 34px;
    font-size: 0.76rem;
  }

  .plg-company-profile__button--details {
    box-shadow: none;
  }

  .plg-company-profile__content {
    padding: 22px 24px;
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .plg-company-profile__about-content blockquote {
    padding: 14px 18px 14px 22px;
    border-left-width: 4px;
    border-radius: 0 8px 8px 0;
    background: #f2efff;
    font-size: 0.86rem;
  }

  .plg-company-profile__service-card {
    min-height: 132px;
    padding: 20px;
  }

  .plg-company-profile__service-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    text-transform: capitalize;
  }

  .plg-company-profile__service-list {
    gap: 8px;
    margin-top: 12px;
  }

  .plg-company-profile__service-list li {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .plg-company-profile__service-check,
  .plg-company-profile__service-check svg {
    width: 16px;
    height: 16px;
  }

  .plg-company-profile__service-check {
    margin-top: 2px;
  }

  .plg-company-profile__service-card p {
    margin: 0;
    font-size: 0.8rem;
  }

  .plg-company-profile__gallery-grid figure {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .plg-company-profile__gallery-grid img {
    height: 100%;
    min-height: 0;
  }

  .plg-company-profile__video-card {
    padding: 0;
    overflow: hidden;
  }

  .plg-company-profile__video-card .plg-company-profile__muted {
    margin: 0;
    padding: 20px;
  }

  .plg-company-profile__video-frame {
    border-radius: 8px;
  }

  .plg-company-profile__contact-card {
    align-items: center;
    justify-content: flex-start;
    min-height: 84px;
    padding: 17px 18px;
    gap: 16px;
  }

  .plg-company-profile__contact-icon {
    width: 30px;
    height: 30px;
  }

  .plg-company-profile__contact-label {
    font-size: 0.72rem;
  }

  .plg-company-profile__contact-value {
    font-size: 0.82rem;
  }

  .plg-company-profile__map-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    padding: 0;
  }

  .plg-company-map-card__info {
    display: none;
  }

  .plg-company-map-card__embed {
    min-height: 320px;
    border: 0;
    border-radius: 0;
  }

  .plg-company-map-card__embed iframe {
    min-height: 320px;
  }

  .plg-company-profile__social {
    margin-top: 24px;
    padding: 22px 24px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #071642 0%, #102e78 58%, #321d83 100%);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(7, 22, 66, 0.24);
  }

  .plg-company-profile__social-brand {
    gap: 14px;
  }

  .plg-company-profile__social-logo {
    width: 44px;
    height: 44px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.96);
  }

  .plg-company-profile__social-copy span {
    color: rgba(229, 235, 255, 0.78);
  }

  .plg-company-profile__social-links {
    gap: 8px;
  }

  .plg-company-profile__social-links a {
    min-height: 34px;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    box-shadow: none;
  }

  .plg-company-profile__social-links a:hover,
  .plg-company-profile__social-links a:focus {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
  }
}

@media (max-width: 900px) {
  .plg-company-profile__identity {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
  }

  .plg-company-profile__logo-wrap {
    width: 88px;
    height: 88px;
  }

  .plg-company-profile__logo {
    max-width: 66px;
    max-height: 66px;
  }

  .plg-company-profile__logo-placeholder {
    width: 58px;
    height: 58px;
    font-size: 1.55rem;
  }

  .plg-company-profile__voucher-grid,
  .plg-company-profile__service-grid,
  .plg-company-profile__contact-grid,
  .plg-company-profile__gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plg-company-profile__map-card {
    grid-template-columns: 1fr;
  }

  .plg-company-map-card__embed,
  .plg-company-map-card__embed iframe {
    min-height: 320px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.single-plg_company #main-content {
    background: #f7f8fe;
  }

  .plg-company-profile {
    --plg-company-accent: #6338f2;
    --plg-company-accent-strong: #4b27c5;
    --plg-company-ink: #111a3b;
    --plg-company-muted: #69708a;
    --plg-company-line: #e4e8f3;
    --plg-company-soft: #f5f6fc;
    padding-bottom: 36px;
    overflow-x: hidden;
    background: linear-gradient(180deg, #f8faff 0, #ffffff 280px, #f7f8fe 100%);
  }

  .plg-company-profile__hero-inner,
  .plg-company-profile__topnav,
  .plg-company-profile__nav-inner,
  .plg-company-profile__section,
  .plg-company-profile__social {
    width: min(100% - 48px, 1024px);
  }

  .plg-company-profile__topnav {
    padding: 14px 0 12px;
  }

  .plg-company-breadcrumbs__list {
    flex-wrap: nowrap;
    gap: 7px;
    overflow: hidden;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .plg-company-breadcrumbs__item {
    gap: 7px;
    flex: 0 0 auto;
  }

  .plg-company-breadcrumbs__item[aria-current="page"] {
    flex: 1 1 auto;
  }

  .plg-company-breadcrumbs__item[aria-current="page"] span {
    max-width: 100%;
  }

  .plg-company-breadcrumbs__home-icon {
    width: 18px;
    height: 18px;
  }

  .plg-company-breadcrumbs__home-icon img {
    width: 16px;
    height: 16px;
  }

  .plg-company-profile__hero {
    width: min(100% - 48px, 1024px);
    min-height: 340px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: #173985;
    box-shadow: 0 20px 52px rgba(24, 39, 94, 0.17);
  }

  .plg-company-profile__hero-bg {
    background-image:
      radial-gradient(
        circle at 72% 30%,
        rgba(162, 129, 255, 0.42),
        transparent 27%
      ),
      linear-gradient(
        103deg,
        rgba(10, 31, 91, 0.94) 0%,
        rgba(39, 85, 191, 0.86) 50%,
        rgba(101, 61, 226, 0.68) 100%
      ),
      var(--plg-company-cover, linear-gradient(135deg, #173985, #6c42ee));
    background-position: center;
    background-size: cover;
  }

  .plg-company-profile__hero::after {
    display: none;
  }

  .plg-company-profile__hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 340px;
    padding: 54px 48px 56px;
    justify-content: center;
  }

  .plg-company-profile__identity {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 18px;
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .plg-company-profile__logo-wrap {
    width: 86px;
    height: 86px;
    margin-bottom: 2px;
    border-color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 15px 36px rgba(4, 16, 52, 0.18);
  }

  .plg-company-profile__logo {
    max-width: 64px;
    max-height: 64px;
  }

  .plg-company-profile__logo-placeholder {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #5ed8e8, #6f52ff);
    font-size: 1.65rem;
  }

  .plg-company-profile__title {
    max-width: 620px;
    color: #ffffff;
    font-size: clamp(2.35rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.06;
    text-shadow: 0 3px 16px rgba(4, 16, 52, 0.2);
  }

  .plg-company-profile__tagline {
    max-width: 560px;
    margin-top: 11px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.5;
  }

  .plg-company-profile__summary {
    max-width: 560px;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .plg-company-profile__hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
  }

  .plg-company-profile__button,
  .plg-company-profile__social-links a {
    min-height: 38px;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
  }

  .plg-company-profile__hero .plg-company-profile__button--secondary {
    border-color: rgba(255, 255, 255, 0.82);
    background: #ffffff;
    color: var(--plg-company-accent-strong);
    box-shadow: 0 12px 26px rgba(4, 16, 52, 0.12);
  }

  .plg-company-profile__nav {
    position: relative;
    top: auto;
    z-index: 4;
    width: min(100% - 48px, 1024px);
    margin: -15px auto 18px;
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
  }

  body.admin-bar .plg-company-profile__nav {
    top: auto;
  }

  .plg-company-profile__nav-inner {
    width: 100%;
    gap: 4px;
    overflow-x: auto;
    padding: 8px 10px;
    border: 1px solid rgba(218, 224, 241, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 100);
    box-shadow: 0 14px 38px rgba(24, 39, 94, 0.12);
    scrollbar-width: thin;
  }

  .plg-company-profile__nav-link {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 6px;
    color: #727890;
    font-size: 0.78rem;
  }

  .plg-company-profile__nav-icon,
  .plg-company-profile__nav-icon::before {
    width: 16px;
    height: 16px;
    font-size: 16px;
  }

  .plg-company-profile__nav-link::after {
    right: 10px;
    bottom: -9px;
    left: 10px;
  }

  .plg-company-profile__nav-link:hover,
  .plg-company-profile__nav-link:focus,
  .plg-company-profile__nav-link.is-active {
    border-color: transparent;
    background: transparent;
    color: var(--plg-company-accent-strong);
    box-shadow: none;
  }

  .plg-company-profile__section {
    padding: 48px 0 0;
    scroll-margin-top: 86px;
  }

  .plg-company-profile__section + .plg-company-profile__section {
    border-top: 0;
  }

  .plg-company-profile__section-heading {
    align-items: center;
    margin-bottom: 14px;
  }

  .plg-company-profile__section-kicker {
    display: none;
  }

  .plg-company-profile__section-heading h2 {
    font-size: 1.24rem;
    font-weight: 800;
    line-height: 1.25;
  }

  .plg-company-profile__voucher-grid,
  .plg-company-profile__service-grid,
  .plg-company-profile__gallery-grid,
  .plg-company-profile__contact-grid {
    gap: 18px;
  }

  .plg-company-profile__voucher-grid,
  .plg-company-profile__service-grid,
  .plg-company-profile__gallery-grid,
  .plg-company-profile__contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plg-company-profile__voucher-card,
  .plg-company-profile__service-card,
  .plg-company-profile__contact-card,
  .plg-company-profile__map-card,
  .plg-company-profile__video-card,
  .plg-company-profile__empty,
  .plg-company-profile__content {
    border-color: var(--plg-company-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(24, 39, 94, 0.08);
  }

  .plg-company-profile__voucher-card {
    min-height: 280px;
    padding: 20px;
  }

  .plg-company-profile__voucher-card h3 {
    margin: 10px 0 8px;
    font-size: 1rem;
    line-height: 1.34;
  }

  .plg-company-profile__voucher-card p {
    margin: 0 0 10px;
    font-size: 0.82rem;
  }

  .plg-company-profile__voucher-badge {
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #ede8ff;
    color: var(--plg-company-accent-strong);
    font-size: 0.7rem;
  }

  .plg-company-profile__voucher-price {
    margin: 10px 0 6px;
  }

  .plg-company-profile__voucher-price strong {
    color: #3f2dda;
    font-size: 1.36rem;
  }

  .plg-company-profile__voucher-original,
  .plg-company-profile__voucher-expiry {
    font-size: 0.78rem;
  }

  .plg-company-profile__voucher-expiry {
    margin-top: 8px;
  }

  .plg-company-profile__voucher-actions {
    gap: 8px;
    padding-top: 12px;
  }

  .plg-company-profile__voucher-actions .plg-company-profile__button {
    min-height: 36px;
    font-size: 0.76rem;
  }

  .plg-company-profile__button--details {
    box-shadow: none;
  }

  .plg-company-profile__content {
    padding: 22px 24px;
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .plg-company-profile__about-content blockquote {
    padding: 14px 18px 14px 22px;
    border-left-width: 4px;
    border-radius: 0 8px 8px 0;
    background: #f2efff;
    font-size: 0.86rem;
  }

  .plg-company-profile__service-card {
    min-height: 132px;
    padding: 20px;
  }

  .plg-company-profile__service-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    text-transform: capitalize;
  }

  .plg-company-profile__service-list {
    gap: 8px;
    margin-top: 12px;
  }

  .plg-company-profile__service-list li {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .plg-company-profile__service-check,
  .plg-company-profile__service-check svg {
    width: 16px;
    height: 16px;
  }

  .plg-company-profile__service-check {
    margin-top: 2px;
  }

  .plg-company-profile__gallery-grid figure {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .plg-company-profile__gallery-grid img {
    height: 100%;
    min-height: 0;
  }

  .plg-company-profile__video-card {
    overflow: hidden;
    padding: 0;
  }

  .plg-company-profile__video-card .plg-company-profile__muted {
    margin: 0;
    padding: 20px;
  }

  .plg-company-profile__video-frame {
    border-radius: 8px;
  }

  .plg-company-profile__contact-card {
    align-items: center;
    justify-content: flex-start;
    min-height: 84px;
    padding: 17px 18px;
    gap: 16px;
  }

  .plg-company-profile__contact-icon {
    width: 30px;
    height: 30px;
  }

  .plg-company-profile__contact-label {
    font-size: 0.72rem;
  }

  .plg-company-profile__contact-value {
    font-size: 0.82rem;
    overflow-wrap: anywhere;
  }

  .plg-company-profile__map-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    padding: 0;
  }

  .plg-company-map-card__info {
    display: none;
  }

  .plg-company-map-card__embed {
    min-height: 340px;
    border: 0;
    border-radius: 0;
  }

  .plg-company-map-card__embed iframe {
    min-height: 340px;
  }

  .plg-company-profile__social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding: 22px 24px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #071642 0%, #102e78 58%, #321d83 100%);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(7, 22, 66, 0.24);
  }

  .plg-company-profile__social-brand {
    gap: 14px;
  }

  .plg-company-profile__social-logo {
    width: 44px;
    height: 44px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.96);
  }

  .plg-company-profile__social-copy span {
    color: rgba(229, 235, 255, 0.78);
  }

  .plg-company-profile__social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 0;
  }

  .plg-company-profile__social-links a {
    min-height: 34px;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    box-shadow: none;
  }

  .plg-company-profile__social .plg-company-profile__social-text {
    position: static;
    overflow: visible;
    width: auto;
    height: auto;
    margin-top: 0;
    clip: auto;
    white-space: nowrap;
  }

  .plg-company-profile__social-links a:hover,
  .plg-company-profile__social-links a:focus {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
  }
}

@media (min-width: 900px) and (max-width: 1024px) {
  .plg-company-profile__service-grid,
  .plg-company-profile__gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .plg-company-profile__nav {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .plg-company-profile__hero-inner,
  .plg-company-profile__topnav,
  .plg-company-profile__nav-inner,
  .plg-company-profile__section,
  .plg-company-profile__social {
    width: min(100% - 24px, 1120px);
  }

  .plg-company-profile__topnav {
    padding: 14px 0 12px;
  }

  .plg-company-breadcrumbs__list {
    font-size: 0.88rem;
  }

  .plg-company-breadcrumbs__item[aria-current="page"] span {
    max-width: calc(100vw - 96px);
  }

  .plg-company-profile__hero,
  .plg-company-profile__hero-inner {
    min-height: 0;
  }

  .plg-company-profile__hero-inner {
    padding: 34px 0;
  }

  .plg-company-profile__identity {
    grid-template-columns: 1fr;
  }

  .plg-company-profile__summary {
    font-size: 1rem;
  }

  .plg-company-profile__hero-actions,
  .plg-company-profile__button,
  .plg-company-profile__social-links,
  .plg-company-profile__social-links a {
    width: 100%;
  }

  .plg-company-profile__section {
    padding: 32px 0;
  }

  .plg-company-profile__section-heading {
    display: block;
  }

  .plg-company-profile__voucher-grid,
  .plg-company-profile__service-grid,
  .plg-company-profile__contact-grid,
  .plg-company-profile__gallery-grid {
    grid-template-columns: 1fr;
  }

  .plg-company-profile__social {
    display: block;
  }

  .plg-company-profile__map-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plg-company-map-card__embed,
  .plg-company-map-card__embed iframe {
    min-height: 280px;
  }

  .plg-company-map-card__info .plg-company-profile__button {
    width: 100%;
  }

  .plg-company-profile__social-links {
    margin-top: 16px;
  }

  .plg-company-profile__voucher-modal {
    align-items: end;
    padding: 12px;
  }

  .plg-company-profile__voucher-modal-panel {
    max-height: calc(100vh - 24px);
  }

  .plg-company-profile__voucher-modal-header,
  .plg-company-profile__voucher-modal-body {
    padding: 16px;
  }

  .plg-company-profile__voucher-meta {
    grid-template-columns: 1fr;
  }

  .plg-company-profile__voucher-slider-main {
    aspect-ratio: 4 / 3;
  }

  .plg-company-profile__voucher-slider-prev,
  .plg-company-profile__voucher-slider-next {
    width: 36px;
    height: 36px;
    font-size: 1.65rem;
  }

  .plg-company-profile__voucher-slider-thumb {
    flex-basis: 68px;
    width: 68px;
    height: 52px;
  }
}

@media (max-width: 767px) {
  .plg-company-profile {
    overflow-x: hidden;
    background: #f7f8fe;
  }

  .plg-company-profile__hero-inner,
  .plg-company-profile__topnav,
  .plg-company-profile__section {
    width: min(100% - 32px, 1120px);
  }

  .plg-company-profile__social {
    width: 100%;
  }

  .plg-company-profile__topnav {
    padding: 12px 0 10px;
  }

  .plg-company-breadcrumbs {
    width: 100%;
  }

  .plg-company-breadcrumbs__list {
    flex-wrap: nowrap;
    gap: 6px;
    overflow: hidden;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .plg-company-breadcrumbs__item {
    gap: 6px;
    flex: 0 0 auto;
  }

  .plg-company-breadcrumbs__item[aria-current="page"] {
    flex: 1 1 auto;
  }

  .plg-company-breadcrumbs__item[aria-current="page"] span {
    max-width: 100%;
  }

  .plg-company-breadcrumbs__home-icon {
    width: 22px;
    height: 22px;
  }

  .plg-company-breadcrumbs__home-icon img {
    width: 20px;
    height: 20px;
  }

  .plg-company-profile__hero {
    width: min(100% - 32px, 1120px);
    min-height: 0;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: #173985;
    box-shadow: 0 18px 42px rgba(24, 39, 94, 0.16);
  }

  .plg-company-profile__hero-bg {
    background-image:
      linear-gradient(
        180deg,
        rgba(10, 31, 91, 0.88) 0%,
        rgba(39, 85, 191, 0.78) 52%,
        rgba(101, 61, 226, 0.78) 100%
      ),
      var(--plg-company-cover, linear-gradient(135deg, #173985, #6c42ee));
    background-position: center;
  }

  .plg-company-profile__hero::after {
    display: none;
  }

  .plg-company-profile__hero-inner {
    width: 100%;
    min-height: 0;
    padding: 28px 18px 30px;
  }

  .plg-company-profile__identity {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    gap: 16px;
    max-width: none;
    text-align: center;
  }

  .plg-company-profile__logo-wrap {
    width: 82px;
    height: 82px;
    border-color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(4, 16, 52, 0.18);
  }

  .plg-company-profile__logo {
    max-width: 62px;
    max-height: 62px;
  }

  .plg-company-profile__logo-placeholder {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #5ed8e8, #6f52ff);
    font-size: 1.45rem;
  }

  .plg-company-profile__hero-copy {
    display: grid;
    justify-items: center;
    width: 100%;
    min-width: 0;
  }

  .plg-company-profile__title {
    width: fit-content;
    max-width: 100%;
    color: #ffffff;
    font-size: clamp(1.75rem, 9.2vw, 2.25rem);
    font-weight: 800;
    line-height: 1.06;
    overflow-wrap: anywhere;
    text-shadow: 0 3px 14px rgba(4, 16, 52, 0.22);
  }

  .plg-company-profile__tagline,
  .plg-company-profile__summary {
    max-width: none;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .plg-company-profile__tagline {
    margin-top: 10px;
  }

  .plg-company-profile__summary {
    margin-top: 8px;
  }

  .plg-company-profile__hero-actions {
    display: grid;
    justify-items: center;
    align-content: stretch;
    grid-auto-flow: column;
    width: min(100%, 330px);
    gap: 10px;
    margin: 20px auto 0;
  }

  .plg-company-profile__hero-actions .plg-company-profile__button {
    width: 100%;
    min-height: 46px;
  }

  .plg-company-profile__hero .plg-company-profile__button--secondary {
    border-color: rgba(255, 255, 255, 0.82);
    background: #ffffff;
    color: var(--plg-company-accent-strong);
  }

  .plg-company-profile__nav {
    top: 0;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid var(--plg-company-line);
    background: rgba(255, 255, 255, 0.96);
  }

  .plg-company-profile__nav-inner {
    width: 100%;
    padding: 10px 16px;
    gap: 8px;
    scrollbar-width: none;
  }

  .plg-company-profile__nav-inner::-webkit-scrollbar {
    display: none;
  }

  .plg-company-profile__nav-link {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .plg-company-profile__nav-icon,
  .plg-company-profile__nav-icon::before {
    width: 17px;
    height: 17px;
    font-size: 17px;
  }

  .plg-company-profile__section {
    padding: 34px 0 0;
    scroll-margin-top: 76px;
  }

  .plg-company-profile__section + .plg-company-profile__section {
    border-top: 0;
  }

  .plg-company-profile__section-heading {
    display: block;
    margin-bottom: 14px;
  }

  .plg-company-profile__section-kicker {
    margin-bottom: 6px;
    font-size: 0.72rem;
  }

  .plg-company-profile__section-heading h2 {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .plg-company-profile__voucher-grid,
  .plg-company-profile__service-grid,
  .plg-company-profile__contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .plg-company-profile__gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .plg-company-profile__voucher-card,
  .plg-company-profile__service-card {
    min-height: 0;
    padding: 16px;
  }

  .plg-company-profile__voucher-card h3,
  .plg-company-profile__service-card h3 {
    font-size: 1.02rem;
    overflow-wrap: anywhere;
  }

  .plg-company-profile__voucher-card p,
  .plg-company-profile__service-card p {
    overflow-wrap: anywhere;
  }

  .plg-company-profile__voucher-actions {
    gap: 9px;
  }

  .plg-company-profile__voucher-actions .plg-company-profile__button {
    min-height: 44px;
    width: 100%;
  }

  .plg-company-profile__content,
  .plg-company-profile__video-card,
  .plg-company-profile__empty {
    padding: 16px;
  }

  .plg-company-profile__content {
    overflow-wrap: anywhere;
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .plg-company-profile__about-content h1 {
    font-size: 1.45rem;
  }

  .plg-company-profile__about-content h2 {
    font-size: 1.3rem;
  }

  .plg-company-profile__about-content h3 {
    font-size: 1.16rem;
  }

  .plg-company-profile__about-content ul,
  .plg-company-profile__about-content ol,
  .plg-company-profile__voucher-rich-text ul,
  .plg-company-profile__voucher-rich-text ol {
    margin-left: 1rem;
    padding-left: 1rem;
  }

  .plg-company-profile__about-content blockquote {
    margin: 1rem 0;
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
  }

  .plg-company-profile__about-content img,
  .plg-company-profile__about-content iframe,
  .plg-company-profile__about-content table {
    max-width: 100%;
  }

  .plg-company-profile__service-list li {
    gap: 9px;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .plg-company-profile__service-check,
  .plg-company-profile__service-check svg {
    width: 17px;
    height: 17px;
  }

  .plg-company-profile__gallery-grid figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .plg-company-profile__gallery-grid img {
    height: 100%;
    min-height: 0;
  }

  .plg-company-profile__video-card {
    overflow: hidden;
    padding: 0;
  }

  .plg-company-profile__video-card .plg-company-profile__muted {
    margin: 0;
    padding: 16px;
  }

  .plg-company-profile__video-frame {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }

  .plg-company-profile__video-card iframe,
  .plg-company-profile__video-card video {
    aspect-ratio: auto;
  }

  .plg-company-profile__contact-card {
    min-height: 86px;
    padding: 16px;
    gap: 12px;
  }

  .plg-company-profile__contact-icon {
    width: 28px;
    height: 28px;
  }

  .plg-company-profile__contact-body,
  .plg-company-profile__contact-value {
    min-width: 0;
    max-width: 100%;
  }

  .plg-company-profile__contact-value {
    overflow-wrap: anywhere;
  }

  .plg-company-profile__map-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    padding: 0;
  }

  .plg-company-profile__map-card:has(.plg-company-map-card__embed)
    .plg-company-map-card__info {
    display: none;
  }

  .plg-company-map-card__info {
    padding: 16px;
  }

  .plg-company-map-card__info .plg-company-profile__button {
    width: 100%;
  }

  .plg-company-map-card__embed {
    min-height: 280px;
    border: 0;
    border-radius: 0;
  }

  .plg-company-map-card__embed iframe {
    min-height: 280px;
  }

  .plg-company-profile__social {
    display: grid;
    gap: 16px;
    margin-top: 34px;
    padding: 18px;
    border: 0;
    border-radius: 0px;
    background: linear-gradient(135deg, #071642 0%, #102e78 58%, #321d83 100%);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(7, 22, 66, 0.24);
    justify-content: center;
  }

  .plg-company-profile__social-brand {
    align-items: flex-start;
  }

  .plg-company-profile__social-copy {
    overflow-wrap: anywhere;
  }

  .plg-company-profile__social-copy span {
    color: rgba(229, 235, 255, 0.78);
  }

  .plg-company-profile__social-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto;
    margin-top: 0;
  }

  .plg-company-profile__social-links a {
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    box-shadow: none;
  }

  .plg-company-profile__social-link {
    flex: 0 0 auto;
    white-space: normal;
  }

  .plg-company-profile__social .plg-company-profile__social-icon {
    width: 21px;
    height: 21px;
  }

  .plg-company-profile__social .plg-company-profile__social-text {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Company profile Variant B header/footer polish */
.plg-company-profile {
  --plg-company-accent: #7c3aed;
  --plg-company-accent-strong: #5b21b6;
  --plg-company-ink: #24126a;
  --plg-company-muted: #64748b;
  --plg-company-line: rgba(139, 92, 246, 0.22);
  --plg-company-soft: #fbf8ff;
  background: linear-gradient(180deg, #fffaff 0, #ffffff 48%, #fbf8ff 100%);
}

.plg-company-profile__hero {
  width: min(1240px, calc(100% - 48px));
  min-height: 390px;
  margin: 0 auto;
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 28%, rgba(216, 180, 254, 0.42), transparent 30%),
    radial-gradient(circle at 66% 72%, rgba(236, 72, 153, 0.12), transparent 28%),
    linear-gradient(135deg, #fffaff 0%, #fbf7ff 48%, #f2eaff 100%);
  box-shadow: 0 20px 52px rgba(124, 58, 237, 0.12);
}

.plg-company-profile__hero-bg {
  background-image:
    radial-gradient(circle at 64% 25%, rgba(255, 255, 255, 0.88) 0 9px, transparent 10px),
    radial-gradient(circle at 72% 90%, rgba(255, 255, 255, 0.78) 0 7px, transparent 8px),
    linear-gradient(162deg, transparent 0 58%, rgba(216, 180, 254, 0.28) 58% 100%),
    linear-gradient(170deg, transparent 0 68%, rgba(196, 181, 253, 0.34) 68% 100%);
  background-position: center;
  background-size: cover;
}

.plg-company-profile__hero--has-cover .plg-company-profile__hero-bg {
  background-image:
    radial-gradient(circle at 76% 24%, rgba(162, 129, 255, 0.24), transparent 32%),
    linear-gradient(103deg, rgba(8, 20, 52, 0.72) 0%, rgba(35, 70, 150, 0.48) 52%, rgba(88, 50, 180, 0.42) 100%),
    var(--plg-company-cover);
  background-position: center;
  background-size: auto, cover, cover;
}

.plg-company-profile__hero--has-cover .plg-company-profile__title {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(8, 20, 52, 0.42);
}

.plg-company-profile__hero--has-cover .plg-company-profile__tagline,
.plg-company-profile__hero--has-cover .plg-company-profile__summary {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 14px rgba(8, 20, 52, 0.34);
}

.plg-company-profile__hero::before,
.plg-company-profile__hero::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.plg-company-profile__hero::before {
  content: "+";
  top: 24%;
  right: 29%;
  color: rgba(124, 58, 237, 0.6);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.plg-company-profile__hero::after {
  content: "+";
  display: block;
  top: 18%;
  right: 6%;
  bottom: auto;
  left: auto;
  width: auto;
  height: auto;
  background: none;
  color: rgba(236, 72, 153, 0.55);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.plg-company-profile__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 390px;
  padding: 72px 72px 78px;
}

.plg-company-profile__identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
}

.plg-company-profile__hero-copy {
  order: 1;
  min-width: 0;
}

.plg-company-profile__logo-wrap {
  order: 2;
  justify-self: center;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 48px rgba(124, 58, 237, 0.18);
}

.plg-company-profile__logo {
  max-width: 118px;
  max-height: 118px;
}

.plg-company-profile__logo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 58%, #f97316 100%);
  color: #ffffff;
  font-size: 2.45rem;
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.18);
}

.plg-company-profile__title {
  max-width: 760px;
  color: #24126a;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 0 2px 14px rgba(124, 58, 237, 0.1);
}

.plg-company-profile__tagline {
  max-width: 720px;
  margin-top: 16px;
  color: #667085;
  font-size: 1.16rem;
  font-weight: 650;
  line-height: 1.5;
}

.plg-company-profile__summary {
  max-width: 720px;
  margin-top: 8px;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.plg-company-profile__hero-actions {
  gap: 16px;
  margin-top: 28px;
}

.plg-company-profile__button,
.plg-company-profile__social-links a {
  border-radius: 10px;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.plg-company-profile__hero-actions .plg-company-profile__button {
  min-height: 54px;
  padding: 13px 24px;
  font-size: 1rem;
}

.plg-company-profile__button--primary,
.plg-company-profile__button--download {
  border-color: rgba(124, 58, 237, 0.7);
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.26);
}

.plg-company-profile__hero .plg-company-profile__button--secondary {
  border-color: rgba(124, 58, 237, 0.34);
  background: rgba(255, 255, 255, 0.72);
  color: #6d28d9;
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.1);
}

.plg-company-profile__hero .plg-company-profile__button--secondary:hover,
.plg-company-profile__hero .plg-company-profile__button--secondary:focus {
  background: rgba(255, 255, 255, 0.92);
  color: #5b21b6;
}

.plg-company-profile__social {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 34px;
  padding: 52px 44px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-left: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 13% 14%, rgba(244, 114, 182, 0.28), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(196, 181, 253, 0.42), transparent 34%),
    linear-gradient(135deg, #f8d8ff 0%, #c084fc 46%, #6d28d9 100%);
  color: #24126a;
  box-shadow: 0 20px 48px rgba(124, 58, 237, 0.16);
}

.plg-company-profile__social::before,
.plg-company-profile__social::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.plg-company-profile__social::before {
  z-index: 1;
  inset: 34px 36px;
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(76, 29, 149, 0.1);
}

.plg-company-profile__social::after {
  z-index: 0;
  right: -8%;
  bottom: -42%;
  width: 58%;
  height: 70%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 0.24) 0 2px,
      transparent 3px 15px
    );
  opacity: 0.8;
}

.plg-company-profile__social-brand,
.plg-company-profile__social-links {
  position: relative;
  z-index: 2;
}

.plg-company-profile__social-brand {
  gap: 18px;
  padding-right: 32px;
}

.plg-company-profile__social-logo {
  width: 64px;
  height: 64px;
  border-color: rgba(139, 92, 246, 0.18);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.12);
}

.plg-company-profile__social-logo img {
  width: 46px;
  height: 46px;
}

.plg-company-profile__social-logo span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 58%, #f97316 100%);
  color: #ffffff;
}

.plg-company-profile__social-copy strong {
  color: #24126a;
  font-size: 1.2rem;
}

.plg-company-profile__social-copy span {
  color: #667085;
}

.plg-company-profile__social-links {
  gap: 16px;
  padding-left: 32px;
  border-left: 1px solid rgba(139, 92, 246, 0.18);
}

.plg-company-profile__social .plg-company-profile__social-link,
.plg-company-profile__social-links a {
  min-height: 48px;
  padding: 11px 20px;
  border-color: rgba(124, 58, 237, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  color: #6d28d9;
  box-shadow: none;
}

.plg-company-profile__social .plg-company-profile__social-link:hover,
.plg-company-profile__social .plg-company-profile__social-link:focus,
.plg-company-profile__social-links a:hover,
.plg-company-profile__social-links a:focus {
  border-color: rgba(124, 58, 237, 0.42);
  background: rgba(245, 243, 255, 0.95);
  color: #5b21b6;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.12);
}

@media (max-width: 900px) {
  .plg-company-profile__hero {
    width: min(100% - 32px, 1120px);
  }

  .plg-company-profile__hero-inner {
    padding: 48px 34px 52px;
  }

  .plg-company-profile__identity {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 28px;
  }

  .plg-company-profile__logo-wrap {
    width: 134px;
    height: 134px;
  }

  .plg-company-profile__logo {
    max-width: 94px;
    max-height: 94px;
  }

  .plg-company-profile__title {
    font-size: clamp(2.2rem, 7vw, 3.4rem);
  }

  .plg-company-profile__social {
    width: min(100% - 32px, 1120px);
    padding: 42px 30px;
  }

  .plg-company-profile__social::before {
    inset: 24px;
  }

  .plg-company-profile__social-brand {
    padding-right: 22px;
  }

  .plg-company-profile__social-links {
    gap: 10px;
    padding-left: 22px;
  }
}

@media (max-width: 767px) {
  .plg-company-profile__hero {
    min-height: 0;
    border-radius: 16px;
  }

  .plg-company-profile__hero-bg {
    background-image:
      radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.82) 0 7px, transparent 8px),
      linear-gradient(160deg, transparent 0 62%, rgba(216, 180, 254, 0.28) 62% 100%);
  }

  .plg-company-profile__hero-inner {
    min-height: 0;
    padding: 34px 22px 38px;
  }

  .plg-company-profile__identity {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 18px;
    text-align: center;
  }

  .plg-company-profile__logo-wrap {
    order: 1;
    width: 96px;
    height: 96px;
  }

  .plg-company-profile__logo {
    max-width: 70px;
    max-height: 70px;
  }

  .plg-company-profile__logo-placeholder {
    width: 62px;
    height: 62px;
    font-size: 1.6rem;
  }

  .plg-company-profile__hero-copy {
    order: 2;
    display: grid;
    justify-items: center;
  }

  .plg-company-profile__title {
    color: #24126a;
    font-size: clamp(2rem, 9vw, 2.7rem);
    text-shadow: 0 2px 12px rgba(124, 58, 237, 0.1);
  }

  .plg-company-profile__tagline,
  .plg-company-profile__summary {
    color: #667085;
  }

  .plg-company-profile__hero-actions {
    grid-auto-flow: row;
    width: min(100%, 320px);
  }

  .plg-company-profile__social {
    display: grid;
    justify-content: stretch;
    width: min(100% - 32px, 1120px);
    padding: 34px 22px;
    border-radius: 16px;
  }

  .plg-company-profile__social::before {
    inset: 18px;
    border-radius: 14px;
  }

  .plg-company-profile__social-brand {
    justify-content: center;
    padding-right: 0;
    text-align: left;
  }

  .plg-company-profile__social-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-left: 0;
    border-left: 0;
  }

  .plg-company-profile__social .plg-company-profile__social-link,
  .plg-company-profile__social-links a {
    width: auto;
    min-width: 52px;
    height: auto;
    min-height: 48px;
    padding: 11px 16px;
  }

  .plg-company-profile__social .plg-company-profile__social-text {
    position: static;
    overflow: visible;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plg-company-profile {
    scroll-behavior: auto;
  }

  .plg-company-profile__button,
  .plg-company-profile__nav-link,
  .plg-company-profile__social-links a {
    transition: none;
  }
}
