/* Global base + WordPress content styling */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Source+Sans+3:wght@400;500;600&family=Stick+No+Bills:wght@200..800&display=swap");

:root{
  color-scheme: dark;
  --bg: #0B0F1A;
  --bg-soft: #0E1324;
  --surface: rgba(12, 20, 38, 0.72);
  --surface-strong: rgba(10, 18, 34, 0.92);
  --text: rgba(245, 250, 255, 0.92);
  --text-soft: rgba(210, 225, 255, 0.78);
  --muted: rgba(170, 190, 230, 0.55);
  --accent: #8C6EFF;
  --accent-2: #5AD2FF;
  --accent-3: #AEEBFF;
  --border: rgba(150, 180, 255, 0.16);
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  background: #081a30;
  color: var(--text);
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

::selection{
  background: rgba(140, 110, 255, 0.45);
  color: rgba(255, 255, 255, 0.98);
}

img, video{
  max-width: 100%;
  height: auto;
}

main#site-content{
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(120px, 12vh, 160px) clamp(20px, 6vw, 80px) clamp(9px, 1.5vh, 24px);
  font-size: clamp(16px, 1.3vw, 19px);
}

main#site-content > * + *{
  margin-top: clamp(18px, 2.5vh, 28px);
}

main#site-content ul,
main#site-content ol{
  padding-left: 1.2em;
  margin: 0;
}

main#site-content li + li{
  margin-top: 6px;
}

main#site-content figure{
  margin: 0;
}

/* Elementor divider: animated wave */
.elementor-widget-divider .elementor-divider-separator {
  position: relative;
  display: block;
  border-top: 0 !important;
  border-color: transparent !important;
  height: 14px;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}

.elementor-widget-divider .elementor-divider-separator::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -50%;
  width: 200%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.0) 12%,
    rgba(0, 0, 0, 0.85) 32%,
    rgba(0, 0, 0, 1) 52%,
    rgba(0, 0, 0, 0.85) 72%,
    rgba(0, 0, 0, 0.0) 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.0) 12%,
    rgba(0, 0, 0, 0.85) 32%,
    rgba(0, 0, 0, 1) 52%,
    rgba(0, 0, 0, 0.85) 72%,
    rgba(0, 0, 0, 0.0) 88%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: 24% 100%;
  -webkit-mask-size: 24% 100%;
  mask-position: 0 0;
  -webkit-mask-position: 0 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'><path d='M0 6 C 10 2 20 2 30 6 S 50 10 60 6 80 2 90 6 110 10 120 6' fill='none' stroke='rgba(140,110,255,0.8)' stroke-width='2' stroke-linecap='round'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16'><path d='M0 12 C 12 2 24 2 36 12 S 60 16 72 12 96 2 108 12 120 16 120 12' fill='none' stroke='rgba(120,190,255,0.55)' stroke-width='1' stroke-linecap='round'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16'><path d='M0 2 C 12 1 24 1 36 2 S 60 6 72 2 96 1 108 2 120 6 120 2' fill='none' stroke='rgba(160,135,255,0.5)' stroke-width='1' stroke-linecap='round'/></svg>");
  background-repeat: repeat-x;
  background-size: 120px 12px;
  animation: divider-wave 9s linear 1 forwards, divider-pack 9s ease-in-out 1 forwards;
  animation-play-state: paused;
  filter: drop-shadow(0 0 8px rgba(90, 210, 255, 0.18));
}

.elementor-widget-divider .elementor-divider-separator::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -50%;
  width: 200%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.0) 12%,
    rgba(0, 0, 0, 0.85) 32%,
    rgba(0, 0, 0, 1) 52%,
    rgba(0, 0, 0, 0.85) 72%,
    rgba(0, 0, 0, 0.0) 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.0) 12%,
    rgba(0, 0, 0, 0.85) 32%,
    rgba(0, 0, 0, 1) 52%,
    rgba(0, 0, 0, 0.85) 72%,
    rgba(0, 0, 0, 0.0) 88%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: 24% 100%;
  -webkit-mask-size: 24% 100%;
  mask-position: 0 0;
  -webkit-mask-position: 0 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'><path d='M0 5 C 10 1 20 1 30 5 S 50 9 60 5 80 1 90 5 110 9 120 5' fill='none' stroke='rgba(90,210,255,0.6)' stroke-width='1' stroke-linecap='round'/></svg>");
  background-repeat: repeat-x;
  background-size: 120px 12px;
  animation: divider-wave 8s linear 1 forwards, divider-pack 9s ease-in-out 1 forwards;
  animation-play-state: paused;
  filter: drop-shadow(0 0 6px rgba(90, 210, 255, 0.12));
}

.elementor-widget-divider.is-wave-start .elementor-divider-separator::before,
.elementor-widget-divider.is-wave-start .elementor-divider-separator::after {
  animation-play-state: running;
}


@keyframes divider-wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(120px);
  }
}

@keyframes divider-pack {
  0% {
    mask-position: -50% 0;
    -webkit-mask-position: -50% 0;
  }
  100% {
    mask-position: 150% 0;
    -webkit-mask-position: 150% 0;
  }
}

h1, h2, h3, h4, h5, h6{
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: rgba(245, 250, 255, 0.97);
  text-shadow: 0 0 18px rgba(120, 140, 255, 0.12);
}

h1{ font-size: clamp(34px, 4vw, 56px); }
h2{ font-size: clamp(28px, 3.2vw, 44px); }
h3{ font-size: clamp(22px, 2.4vw, 32px); }
h4{ font-size: clamp(18px, 2vw, 26px); }
h5, h6{ font-size: clamp(16px, 1.6vw, 22px); }

/* Respect WordPress editor text alignment classes */
.wp-block-heading,
.wp-block-paragraph{
  text-align: inherit;
}

.has-text-align-center{ text-align: center; }
.has-text-align-left{ text-align: left; }
.has-text-align-right{ text-align: right; }

/* Elementor icon box card style */
.elementor-widget-icon-box .elementor-icon-box-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.elementor-widget-icon-box .elementor-icon-box-wrapper:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 110, 255, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.elementor-widget-icon-box .elementor-icon-box-icon {
  margin-bottom: 14px;
}

.elementor-widget-icon-box .elementor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(140, 110, 255, 0.18);
  box-shadow: 0 0 14px rgba(90, 210, 255, 0.18);
}

.elementor-widget-icon-box .elementor-icon svg {
  width: 20px;
  height: 20px;
  fill: rgba(210, 230, 255, 0.95);
}

.elementor-widget-icon-box .elementor-icon-box-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.elementor-widget-icon-box .elementor-icon-box-description {
  margin: 0;
  color: var(--text-soft);
}

.pl-soluzione {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px !important;
  overflow: hidden !important;
  padding: clamp(22px, 3vw, 36px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.pl-soluzione .e-con-inner {
  border-radius: 18px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px) !important;
}

.pl-soluzione:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 110, 255, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.pl-soluzione h1,
.pl-soluzione h2,
.pl-soluzione h3,
.pl-soluzione .elementor-heading-title,
.pl-soluzione .elementor-icon-box-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "Space Grotesk", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.98);
  text-shadow:
    0 0 14px rgba(90, 210, 255, 0.32),
    0 0 26px rgba(140, 110, 255, 0.22);
}

.pl-soluzione button,
.pl-soluzione .elementor-button,
.pl-soluzione .elementor-icon-box-description button,
.pl-button .elementor-button {
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(140, 110, 255, 0.55);
  background: linear-gradient(120deg, rgba(140, 110, 255, 0.32), rgba(90, 210, 255, 0.18));
  color: rgba(245, 250, 255, 0.96);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.pl-soluzione button:hover,
.pl-soluzione .elementor-button:hover,
.pl-button .elementor-button:hover {
  transform: translateY(-1px);
  border-color: rgba(90, 210, 255, 0.7);
  box-shadow: 0 10px 24px rgba(90, 210, 255, 0.18);
}

.pl-soluzione button:active,
.pl-soluzione .elementor-button:active,
.pl-button .elementor-button:active {
  transform: translateY(0);
}

.elementor-widget-icon-box .elementor-icon-box-description button,
.elementor-widget-icon-box .elementor-icon-box-description .elementor-button,
.pl-soluzione .elementor-button,
.pl-soluzione button,
.pl-button .elementor-button {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(140, 110, 255, 0.55) !important;
  background: linear-gradient(120deg, rgba(140, 110, 255, 0.32), rgba(90, 210, 255, 0.18)) !important;
  color: rgba(245, 250, 255, 0.96) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.elementor-widget-icon-box .elementor-icon-box-description button:hover,
.elementor-widget-icon-box .elementor-icon-box-description .elementor-button:hover,
.pl-soluzione .elementor-button:hover,
.pl-soluzione button:hover,
.pl-button .elementor-button:hover {
  transform: translateY(-1px);
  border-color: rgba(90, 210, 255, 0.7);
  box-shadow: 0 10px 24px rgba(90, 210, 255, 0.18);
}

.elementor-widget-icon-box .elementor-icon-box-description button:active,
.elementor-widget-icon-box .elementor-icon-box-description .elementor-button:active,
.pl-soluzione .elementor-button:active,
.pl-soluzione button:active,
.pl-button .elementor-button:active {
  transform: translateY(0);
}

.PL-section4 {
  margin-top: clamp(40px, 8vw, 90px);
  padding: clamp(28px, 5vw, 60px) 0;
  position: relative;
  overflow: visible;
}

.PL-section4 .e-con-inner {
  position: relative;
  padding: clamp(10px, 2vw, 20px) 0;
  text-align: center;
}


.PL-section4 .elementor-heading-title {
  margin: 0;
  font-family: "Space Grotesk", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.98);
  text-shadow:
    0 0 18px rgba(90, 210, 255, 0.3),
    0 0 30px rgba(140, 110, 255, 0.22);
}

.PL-section4 .elementor-heading-title::after {
  content: "";
  display: block;
  height: 2px;
  width: min(140px, 60%);
  margin: 14px auto 0;
  background: linear-gradient(
    90deg,
    rgba(140, 110, 255, 0.1),
    rgba(140, 110, 255, 0.75),
    rgba(90, 210, 255, 0.55),
    rgba(140, 110, 255, 0.1)
  );
  background-size: 200% 100%;
  animation: section4-rule 5s linear infinite;
  border-radius: 999px;
}


@keyframes section4-rule {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.PL-section4 .elementor-widget-text-editor p {
  margin: 12px 0 0;
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(210, 225, 255, 0.82);
}
.solution-disabled .elementor-icon-box-wrapper,
.solution-disabled.pl-soluzione {
  opacity: 0.55;
  border-color: rgba(140, 160, 210, 0.2);
  box-shadow: none;
  filter: grayscale(0.2);
}

.solution-disabled .elementor-icon-box-description button,
.solution-disabled .elementor-icon-box-description .elementor-button,
.solution-disabled.pl-soluzione .elementor-button,
.solution-disabled.pl-soluzione button {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* Stack blocks can shrink children; force full width when centered */
.wp-block-stack.has-text-align-center > .wp-block-heading,
.wp-block-stack.has-text-align-center > .wp-block-paragraph{
  width: 100%;
}

/* Group -> Stack nesting: keep centered blocks full width */
.wp-block-group.has-text-align-center .wp-block-stack > .wp-block-heading,
.wp-block-group.has-text-align-center .wp-block-stack > .wp-block-paragraph{
  width: 100%;
}

:where(p, li){
  color: var(--text-soft);
  font-size: inherit;
}

/* Scroll-reveal phrases for Elementor PL-section1 */
.PL-section1 p{
  opacity: 0;
  transform: translateX(var(--phrase-offset, -40px));
  transition: transform 2200ms ease, opacity 2200ms ease;
  will-change: transform, opacity;
}

.PL-section1 p:nth-of-type(even){
  --phrase-offset: 40px;
}

.PL-section1 p.is-inview{
  opacity: 1;
  transform: translateX(0);
}

.PL-section1 p.is-exit-right{
  opacity: 0;
  transform: translateX(40px);
}

@media (prefers-reduced-motion: reduce){
  .PL-section1 p{
    transition: none;
    opacity: 1;
    transform: none;
  }
}

a{
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 210, 255, 0.4);
  transition: color 160ms ease, border-color 160ms ease;
}

a:hover,
a:focus-visible{
  color: var(--accent-3);
  border-color: rgba(174, 235, 255, 0.8);
}

strong{ color: rgba(245, 250, 255, 0.98); }
small{ color: var(--muted); }

hr,
.wp-block-separator{
  border: none;
  height: 2px;
  background: linear-gradient(90deg, rgba(140,110,255,0.0), rgba(140,110,255,0.7), rgba(90,210,255,0.5), rgba(140,110,255,0.0));
  margin: clamp(18px, 4vh, 40px) 0;
}

blockquote,
.wp-block-quote{
  margin: 0;
  padding: 18px 22px;
  border-left: 3px solid rgba(140, 110, 255, 0.75);
  background: rgba(8, 16, 32, 0.6);
  border-radius: 14px;
  color: rgba(220, 235, 255, 0.9);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.wp-block-pullquote{
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(90, 210, 255, 0.12), rgba(140, 110, 255, 0.18));
  border: 1px solid rgba(140, 110, 255, 0.22);
}

code, kbd, samp{
  font-family: "SFMono-Regular", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(12, 22, 44, 0.85);
  color: rgba(174, 235, 255, 0.95);
  padding: 2px 6px;
  border-radius: 8px;
}

pre,
.wp-block-code,
.wp-block-preformatted{
  background: rgba(8, 14, 28, 0.9);
  border: 1px solid rgba(140, 110, 255, 0.22);
  border-radius: 16px;
  padding: 16px 18px;
  overflow-x: auto;
  color: rgba(220, 235, 255, 0.9);
}

table,
.wp-block-table table{
  width: 100%;
  border-collapse: collapse;
  background: rgba(8, 16, 32, 0.55);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(140, 110, 255, 0.12);
}

.wp-block-table{
  overflow-x: auto;
}

th, td{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(140, 110, 255, 0.10);
}

thead th{
  text-align: left;
  font-weight: 600;
  color: rgba(230, 240, 255, 0.92);
  background: rgba(12, 22, 44, 0.92);
}

button,
input[type="submit"],
input[type="button"],
.wp-element-button,
.wp-block-button__link,
.wp-block-file__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(140, 110, 255, 0.35);
  border-bottom: none;
  background: linear-gradient(120deg, rgba(90, 210, 255, 0.9), rgba(140, 110, 255, 0.92));
  color: rgba(10, 18, 34, 0.92);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.wp-block-file__button:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible{
  outline: 2px solid rgba(174, 235, 255, 0.55);
  outline-offset: 2px;
}

input,
textarea,
select{
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(150, 180, 255, 0.16);
  background: rgba(10, 18, 34, 0.72);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(90, 210, 255, 0.06);
}

textarea{ min-height: 140px; }
label{ color: var(--muted); font-size: 14px; }

.wp-block-jetpack-contact-form-container{
  --jetpack--contact-form--background-color: var(--surface-strong) !important;
  --jetpack--contact-form--text-color: var(--text) !important;
  --jetpack--contact-form--body-text-color: var(--text) !important;
  --jetpack--contact-form--border: 1px solid var(--border) !important;
  --jetpack--contact-form--border-color: var(--border) !important;
  --jetpack--contact-form--input-background: var(--surface) !important;
  --jetpack--contact-form--input-background-fallback: var(--surface) !important;
  --jetpack--contact-form--font-family: inherit !important;
  --jetpack--contact-form--button-outline--border: 1px solid rgba(140, 110, 255, 0.35) !important;
  --jetpack--contact-form--button-outline--text-color: rgba(10, 18, 34, 0.92) !important;
  --jetpack--contact-form--button-outline--background-color-fallback: transparent !important;
}

.wp-block-jetpack-contact-form,
.wp-block-jetpack-contact-form *{
  font-family: inherit !important;
}

.wp-block-jetpack-contact-form label{
  color: var(--text) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

.wp-block-jetpack-contact-form .contact-form__error,
.wp-block-jetpack-contact-form .contact-form-submission,
.wp-block-jetpack-contact-form .grunion-field-label{
  color: var(--text) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
}

.wp-block-jetpack-contact-form input.grunion-field,
.wp-block-jetpack-contact-form textarea.grunion-field,
.wp-block-jetpack-contact-form select.grunion-field{
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(150, 180, 255, 0.16) !important;
  background: rgba(10, 18, 34, 0.72) !important;
  color: var(--text) !important;
  font-size: 1rem !important;
  box-shadow: inset 0 0 0 1px rgba(90, 210, 255, 0.06) !important;
}

.wp-block-jetpack-contact-form .wp-block-button__link,
.wp-block-jetpack-contact-form button[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(140, 110, 255, 0.55) !important;
  background: linear-gradient(120deg, rgba(140, 110, 255, 0.32), rgba(90, 210, 255, 0.18)) !important;
  color: rgba(245, 250, 255, 0.96) !important;
  font-size: 1rem !important;
  font-weight: 600;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.wp-block-jetpack-contact-form .wp-block-button__link:hover,
.wp-block-jetpack-contact-form button[type="submit"]:hover{
  transform: translateY(-1px);
  border-color: rgba(90, 210, 255, 0.7) !important;
  box-shadow: 0 10px 24px rgba(90, 210, 255, 0.18) !important;
}

.wp-block-search__inside-wrapper{
  display: flex;
  gap: 12px;
  align-items: center;
}

.wp-block-search input{
  flex: 1;
}

.wp-block-image img,
.wp-block-media-text__media img,
.wp-block-cover img,
.wp-block-gallery img{
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

figcaption,
.wp-caption-text{
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.wp-block-cover{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(140, 110, 255, 0.16);
  box-shadow: 0 18px 50px rgba(0,0,0,0.38);
}

.wp-block-gallery{
  gap: 12px;
}

.wp-block-columns{
  gap: 24px;
}

.wp-block-column{
  background: rgba(8, 14, 28, 0.35);
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(140, 110, 255, 0.10);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.wp-block-group{
  padding: 22px;
  border-radius: 22px;
  background: rgba(8, 14, 28, 0.42);
  border: 1px solid rgba(140, 110, 255, 0.10);
  box-shadow: 0 12px 30px rgba(0,0,0,0.24);
}

/* Vertical flex stacks should stretch so text-align can work */
main#site-content .is-layout-flex.is-vertical{
  align-items: stretch;
}

main#site-content .is-layout-flex.is-vertical > .wp-block-heading,
main#site-content .is-layout-flex.is-vertical > .wp-block-paragraph{
  width: 100%;
}

.wp-block-latest-posts,
.wp-block-categories,
.wp-block-archives{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.wp-block-latest-posts li,
.wp-block-categories li,
.wp-block-archives li{
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8, 14, 28, 0.5);
  border: 1px solid rgba(140, 110, 255, 0.10);
}

.wp-block-tag-cloud a{
  display: inline-flex;
  margin: 6px 8px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(140, 110, 255, 0.12);
  border: 1px solid rgba(140, 110, 255, 0.18);
  color: rgba(220, 235, 255, 0.9);
}

.wp-block-social-links{
  gap: 12px;
}

.wp-block-social-links .wp-social-link{
  border-radius: 14px;
  background: rgba(140, 110, 255, 0.14);
  border: 1px solid rgba(140, 110, 255, 0.2);
}

.wp-block-calendar table{
  text-align: center;
}

.wp-block-calendar caption{
  color: var(--text-soft);
  margin-bottom: 8px;
}

.wp-block-calendar th,
.wp-block-calendar td{
  padding: 10px;
}

.wp-block-post-title{
  margin-bottom: 10px;
}

.wp-block-post-date,
.wp-block-post-author{
  color: var(--muted);
  font-size: 14px;
}

.wp-block-buttons{
  gap: 12px;
}

.wp-block-file{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(8, 14, 28, 0.5);
  border: 1px solid rgba(140, 110, 255, 0.12);
}

.wp-block-embed iframe,
.wp-block-embed video,
.wp-block-embed audio{
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

@media (max-width: 720px){
  main#site-content{
    padding-top: 110px;
  }

  .wp-block-columns{
    gap: 16px;
  }

  .wp-block-column{
    padding: 16px;
  }
}
.prediction-lab-h2 .elementor-heading-title,
.prediction-lab-h2 h2 {
  font-family: "Space Grotesk", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(28px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff !important;
  text-shadow:
    0 0 12px rgba(90, 210, 255, 0.45),
    0 0 28px rgba(140, 110, 255, 0.28);
  animation: prediction-h2-glow 2.6s ease-in-out infinite;
}

.prediction-lab-h2::after { content: none; }

@keyframes prediction-h2-glow {
  0% {
    text-shadow:
      0 0 10px rgba(90, 210, 255, 0.35),
      0 0 24px rgba(140, 110, 255, 0.22);
  }
  50% {
    text-shadow:
      0 0 16px rgba(90, 210, 255, 0.55),
      0 0 34px rgba(140, 110, 255, 0.32);
  }
  100% {
    text-shadow:
      0 0 10px rgba(90, 210, 255, 0.35),
      0 0 24px rgba(140, 110, 255, 0.22);
  }
}

/* Footer */
.site-footer{
  margin-top: clamp(12px, 2.4vh, 32px);
  padding: clamp(28px, 4vh, 56px) 0 clamp(44px, 7vh, 90px);
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.2), rgba(8, 14, 28, 0.85));
  border-top: 1px solid var(--border);
  position: relative;
}

.site-footer::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(90, 210, 255, 0.2), rgba(140, 110, 255, 0.85), rgba(90, 210, 255, 0.2));
  box-shadow: 0 0 18px rgba(90, 210, 255, 0.25);
}

.site-footer__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
}

.site-footer__columns{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(18px, 4vw, 44px);
  align-items: start;
}

.site-footer__col{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-widget{
  margin: 0;
}

.footer-widget__title{
  margin: 0 0 10px;
  font-family: "Montserrat", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

.site-footer h4{
  margin: 0 0 12px;
  font-family: "Montserrat", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-3);
  text-shadow: 0 0 16px rgba(90, 210, 255, 0.28);
}

.footer-widget p{
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}

.site-footer a{
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover{
  color: var(--accent-2);
}

.site-footer .wp-block-image img,
.site-footer .wp-block-media-text__media img,
.site-footer .wp-block-cover img,
.site-footer .wp-block-gallery img,
.site-footer img{
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-footer .wp-block-cover{
  border: 0;
  box-shadow: none;
}

@media (max-width: 720px){
  .site-footer{
    padding-top: 36px;
  }

  .site-footer__columns{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__col{
    align-items: center;
  }
}
