/*
Theme Name: Infonic Training Theme
Theme URI: https://example.com/
Author: Infonic Training
Author URI: https://example.com/
Description: High-speed WordPress theme built from the Infonic HTML design with optimized asset loading, lazy image loading, and CLS-safe layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infonic-training-theme
Tags: custom-logo, custom-menu, featured-images, theme-options, accessibility-ready, responsive-layout
*/

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-700.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}

:root {
  --primary-color: #e4543d;
  --secondary-color: #12536d;
  --accent-color: #fef9c3;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-color: #ffffff;
  color: #1f2937;
}

.site-header {
  min-height: 64px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  background-color: #f8fafc;
  contain: layout;
}

/* Image CLS prevention */
img[loading="lazy"] {
  background-color: #f1f5f9;
}

.wp-post-image {
  aspect-ratio: 16 / 9;
  object-fit: fill;
}

 
button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header,
.site-footer {
  width: 100%;
}

.site-main {
  width: 100%;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}




    /* Add this to your CSS */
.bg-secondary.relative .absolute.inset-0 {
  pointer-events: none;
}
