/*
  Theme Name: vyrade-theme
  Author: ahsan
  Version: 1.7.0
*/

@font-face {
  font-family: 'Geomanist';
  src: url('../vyrade-theme/src/font/geomanist-regular-webfont.woff2') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html, body {
  font-family: 'Geomanist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


/* h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-choices), system-ui;
  font-weight: var(--heading-font-weight) !important;
} */

/* p,li, .site-title, .site-description
{ 
  font-family: var(--body-font), system-ui; 
  font-weight: var(--body-font-weight); 
  font-size: var(--body-font-size); } */


/* .navbar-expand-lg .navbar-nav .nav-link {
  font-family: var(--font-choices), system-ui;
  font-weight: 500;
} */

.admin-bar header.sticky.top-0.z-50.bg-dimblack\/80.backdrop-blur-md {
  top: 30px;
}

.wp-block-kevinbatdorf-code-block-pro.padding-bottom-disabled pre {
  overflow-y: hidden !important;
}

html {
scroll-behavior: smooth;
}

.wp-block-embed iframe {
  max-width: 100%;
  width: 100%;
}

/* Base spacing for ordered lists */
.wp-block-list ol,
.wp-block-list ul {
margin: 1em 0;
padding-left: 1.5em;
}

/* Add spacing between top-level list items */
.wp-block-list > li {
margin-bottom: 10px;
}

.wp-block-list {
  list-style: initial;
}

/* Nested list spacing */
.wp-block-list li ul,
.wp-block-list li ol {
margin-top: 0.5em;
margin-bottom: 0.75em;
padding-left: 1.25em; /* keep nested indentation balanced */
}

/* Smaller font-size items get extra breathing room */
.wp-block-list li.has-small-font-size {
margin-top: 0.35em;
margin-bottom: 0.35em;
line-height: 1.6;
}


mark.has-inline-color.has-cyan-bluish-gray-color {
  background: #2a2a2a !important;
  padding: 3px 6px;
  border-radius: 5px;
}

 .wp-block-code code {
  direction: ltr;
  display: block;
  font-family: monospace;
  overflow-wrap: break-word;
  text-align: initial;
  white-space: pre-wrap ;

    background: #111;
    border: 1px solid #272727;
    border-radius: 20px;
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

:not(pre)>code[class*=language-], pre[class*=language-] {
    background: #171717 !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    max-height: 400px;
    border-radius: 15px !important;
    border: 1px solid #ffffff0f !important;
}

.wp-block-separator {
  display: none;
}


ul.wp-block-list {
  padding-left: 20px;
}


ol.wp-block-list {
  padding-left: 20px;
}

.single-content h2 {
  font-size: var(--text-3xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  font-weight: bold;
}

.single-content h3 {
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
  font-weight: bold;
}


@media (max-width: 768px) {
  .single-content h2 {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .single-content h3 {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
}


.single-content .wp-block-image img {
  background: #ffffff0a;
  border: 1px solid #ffffff0a;
  border-radius: 15px;
  width: 100% !important;
}

strong {
  font-weight: bold;
}

.badge {
  background: #ffffff0f;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 12px;
  margin-bottom: 10px;
}

ul.wp-block-social-links {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.wp-block-social-links .wp-block-social-link.wp-social-link {
  background: #ffffff24;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.ff-default .ff-el-form-control {
border: 1px solid #222222 !important
}

footer .footer-widget a:hover {
color:#1a7efb;
}

ul.dropdown-menu {
  background: #242424;
}


html {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
html:hover, html:focus {
  scrollbar-color: rgba(255,255,255,.25) transparent;
}
::-webkit-scrollbar { width: 5px; height: 5px; background: transparent; }
::-webkit-scrollbar-thumb {
  background-clip: padding-box; border: 2px solid transparent;
  border-radius: 9999px; background-color: transparent;
}
html:hover ::-webkit-scrollbar-thumb,
html:focus ::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,.25);
}
::-webkit-scrollbar-thumb:active { background-color: rgba(255,255,255,.35); }


.wp-block-embed iframe {
  max-width: 100%;
  width: 100%;
  height: 400px;
}

.ez-toc-widget-container ul.ez-toc-list li.active {
  background-color: #27262600;
  color: #fff;
}

div.ez-toc-widget-container ul.ez-toc-list {
  padding: 0px !important;
}

.ez-toc-widget-container ul.ez-toc-list li {
  color: #525252;
}


.ez-toc-widget-container ul li a {
  padding-left: 0;
  margin-bottom: 12px;
  line-height: 1.4;
  font-size: 14px;
  display: -webkit-box !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.ez-toc-widget-container li.active>a {
  font-weight: 600;
}

.single-content :where(figure) {
  margin: 0 0 3em;
}

figure.wp-block-embed {
  border-radius: 20px;
  overflow: hidden;
}

.featured_image {
  background-color: #0a0a0a;
  border: 1px solid #222222;
}

code {
  background: #7d818733;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  color: #ff6308;
}

.wp-block-table td, .wp-block-table th {
  border: initial;
  padding: 1em;
  border-bottom: 1px solid #ffffff14;
}

.wp-block-table thead {
  border-bottom: 0px solid;
  background: #ffffff0a;
}

.wp-block-quote {
  overflow-wrap: break-word;
  background: #0A1222;
  padding: 30px;
  border-radius: 15px;
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  border: 1px solid #1A306B;
}

