/* 
Theme Name: DYNA Theme
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Theme for DYNA based on Hello Elementor Child which is a child theme of Hello Elementor.
Author: Dyalog
Author URI: https://www.dyalog.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: dyna-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html

/* Add your custom styles here */

html {font-size: 106.3%;} /*17px*/

.elementor-widget-text-editor p:last-child{ margin-bottom:0px;}

strong {
	font-weight: 700!important;
}

ul {
  margin-bottom: 20px;
}

ul li {
  line-height: 32px;
}


.gradient-bg {
	background: 
  	linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 1) 100%
  ),
  	linear-gradient(
    to right,
    #FF6A13 0%,
    #FFA300 20%,
    #CA2E51 50%,
    #8986CA 100%
  );
}

@media (prefers-reduced-motion: reduce) {
    .reduce-video video {
        display: none !important;
    }
}

/* Use APL385 for all code blocks, even when Prism/Highlight.js or theme styles are present */
@font-face {
  font-family: 'APL385 Unicode';
  src: url('https://dyna.dyalog.com/wp-content/uploads/2025/08/APL385.woff2') format('woff2'),
       url('https://dyna.dyalog.com/wp-content/uploads/2025/08/APL385.woff') format('woff'),
       url('https://dyna.dyalog.com/wp-content/uploads/2025/08/Apl385.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

pre,
code,
pre code,
code pre,
pre[class*="language-"],
code[class*="language-"] {
  font-family: 'APL385 Unicode', monospace !important;
  font-weight: 400;
  font-style: normal;
}

/* Force default monospace font for code/pre inside .normal-code */
.normal-code code,
.normal-code pre,
.normal-code pre code,
.normal-code code pre {
  font-family: monospace !important;
  font-weight: normal;
  font-style: normal;
}

/* Faux italic for APL385 code */
.apl-code-italic {
  font-family: 'APL385 Unicode', monospace;
  font-style: normal; /* ensure browser isn't trying to load an italic file */
  font-weight: 400;
  transform: skewX(-10deg); /* slant text */
  display: inline-block;    /* needed so transform applies cleanly */
}


