:root {
  --color-meteorite-dark: #2f1c6a;
  --color-meteorite-dark-2: #1f1346;
  --color-meteorite: #8c85ff;
  --color-meteorite-light: #d5dfff;
  --color-primary-dark: #5025d1;
  --color-primary: #673de6;
  --color-primary-light: #ebe4ff;
  --color-primary-charts: #b39ef3;
  --color-danger-dark: #d63163;
  --color-danger: #fc5185;
  --color-danger-light: #ffe8ef;
  --color-danger-charts: #fea8c2;
  --color-warning-dark: #fea419;
  --color-warning-dark-2: #9f6000;
  --color-warning-charts: #ffd28c;
  --color-warning: #ffcd35;
  --color-warning-light: #fff8e2;
  --color-success-dark: #008361;
  --color-success: #00b090;
  --color-success-light: #def4f0;
  --color-dark: #1d1e20;
  --color-black: #18181a;
  --color-gray-dark: #36344d;
  --color-gray: #727586;
  --color-gray-border: #dadce0;
  --color-gray-light: #f2f3f6;
  --color-light: #fff;
  --color-azure: #357df9;
  --color-azure-light: #e3ebf9;
  --color-azure-dark: #265ab2;
  --color-indigo: #6366f1;
  --color-neutral-200: #d8dae0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #1d1e20;
  overflow-x: hidden;
}

/* Ensure all Zyro transition blocks and elements are immediately visible without requiring Vue hydration */
.transition,
.transition.transition--fade,
.transition.transition--slide,
.transition.transition--scale,
.transition.transition--slide-left,
.transition.transition--slide-right,
.transition.transition--blur,
.transition.transition--rise,
.transition [data-animation-role="block-element"],
.transition [data-animation-role="image"] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Offset sticky header when WordPress Admin Bar is visible */
body.admin-bar .top-blocks--sticky {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .top-blocks--sticky {
    top: 46px;
  }
}

/* Ensure header dropdown stays interactive across gap and z-index sits cleanly above hero blocks */
.top-blocks {
  z-index: 990;
}
.block-header-item__dropdown-area[data-v-f7e431f3] {
  z-index: 995;
}
@media screen and (min-width: 921px) {
  .block-header-layout-desktop .block-header-item:hover .block-header-item__dropdown-area[data-v-f7e431f3],
  .block-header-layout-desktop .block-header-item:focus-within .block-header-item__dropdown-area[data-v-f7e431f3] {
    display: block !important;
  }
}

/* Responsive blog list grid on tablet & mobile */
@media screen and (max-width: 1024px) {
  .block-blog-list__list[data-v-2c301135] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media screen and (max-width: 640px) {
  .block-blog-list[data-v-2c301135] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .block-blog-list__list[data-v-2c301135] {
    grid-template-columns: 1fr !important;
    grid-gap: 28px !important;
  }
}

/* Blog card link clean reset */
.block-blog-list-item a.ptv-card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.block-blog-list-item:hover .block-blog-list-item__title {
  color: #0070bf;
}
.categories__item a {
  color: inherit;
  text-decoration: none;
}
.categories__item a:hover {
  color: #0070bf;
  text-decoration: underline;
}

/* Pagination links styled identically to Zyro buttons */
.pagination a.pagination__button,
.pagination span.pagination__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-secondary, Inter, sans-serif);
  font-size: 14px;
  min-width: 36px;
  min-height: 36px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #1d1e20;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.pagination a.pagination__button:hover {
  color: #0070bf;
  background-color: rgba(0, 112, 191, 0.08);
}
.pagination span.pagination__trigger--current {
  color: #673de6;
  font-weight: 600;
  background-color: rgba(103, 61, 230, 0.08);
}
.pagination span.pagination__button--disabled {
  opacity: 0.35;
  cursor: default;
}
.block-blog-list__pagination[data-v-2c301135] {
  margin-top: 40px;
}

/* Click-to-play YouTube iframe inside GridVideo */
.layout-element__component--GridVideo {
  position: relative;
  overflow: hidden;
}
.layout-element__component--GridVideo iframe.ptv-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 5;
}

/* Form feedback notice */
.ptv-form-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-secondary, Inter, sans-serif);
  font-size: 14px;
  font-weight: 500;
}
.ptv-form-feedback--ok {
  background: #def4f0;
  color: #00664b;
}
.ptv-form-feedback--err {
  background: #ffe8ef;
  color: #b4234e;
}

/* Gallery lightbox modal */
.ptv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(12, 16, 24, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.ptv-lightbox[hidden] {
  display: none !important;
}
.ptv-lightbox__img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.ptv-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Clean layout for newly-authored Gutenberg posts & pages */
.ptv-wp-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  font-family: var(--font-secondary, Inter, sans-serif);
  font-size: 16px;
  line-height: 1.7;
  color: #1d1e20;
}
.ptv-wp-article h1,
.ptv-wp-article h2,
.ptv-wp-article h3,
.ptv-wp-article h4 {
  font-family: var(--font-primary, Outfit, sans-serif);
  line-height: 1.3;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  color: #18181a;
}
.ptv-wp-article p,
.ptv-wp-article ul,
.ptv-wp-article ol {
  margin-bottom: 1.1em;
}
.ptv-wp-article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.ptv-wp-article__cover {
  margin-bottom: 32px;
}
.ptv-wp-article__cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

/* Status pages (404 / 410) */
.ptv-status-page {
  max-width: 680px;
  margin: 80px auto 100px;
  padding: 0 24px;
  text-align: center;
  font-family: var(--font-secondary, Inter, sans-serif);
}
.ptv-status-page__code {
  font-family: var(--font-primary, Outfit, sans-serif);
  font-size: 64px;
  font-weight: 700;
  color: #0070bf;
  margin: 0 0 12px;
}
.ptv-status-page__title {
  font-family: var(--font-primary, Outfit, sans-serif);
  font-size: 28px;
  margin: 0 0 16px;
}
.ptv-status-page__desc {
  color: #555a66;
  margin: 0 0 28px;
  line-height: 1.6;
}
.ptv-status-page__btn {
  display: inline-block;
  padding: 14px 32px;
  background: #0070bf;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
}
.ptv-status-page__btn:hover {
  background: #005999;
}

/* The older pages' sticky bar (pythaverse-net-site#24, theme 1.5.9). Its text colour is an inline style in the stored bar
   (#eb710d on white, 3.04:1 at 18 px); only that orange is changed, the bar's blue text passes. The darker orange is 5.18:1, the same as the review pin of 1.5.8. */
.block-sticky-bar__element [style*="235, 113, 13"],
.block-sticky-bar__element [style*="#eb710d" i] {
  color: #c2410c !important;
}
