/* Add Elektratex Engineerings brand font: Circe */

@font-face {
  font-family: 'Circe';
  src: url('/wp-content/uploads/2025/03/CRC35.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Circe';
  src: url('/wp-content/uploads/2025/03/CRC55.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* Force text to use the brand font */

body,
p,
span,
a,
div {
  font-family: 'Circe', sans-serif !important;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Circe', sans-serif !important;
  font-weight: 400;
}

/* Style each post item */

.archive .entry {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  min-height: 350px;
  /* Adjust this value as needed */
  display: flex;
  align-items: flex-end;
  /* Ensures title is always positioned properly */
}

/* Ensure the featured image covers the full card */

.archive .entry .post-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Add the gradient overlay */

.archive .entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(23, 28, 143, 0.7), rgba(0, 145, 218, 0.7));
  z-index: 1;
}

/* Style the post title with wider background and padding */

.archive .entry-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 1);
  padding: 30px 20px;
  /* More padding top and bottom */
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  width: 90%;
  /* Covers 90% of the card width */
  border-radius: 5px;
  /* Rounded corners*/
  z-index: 2;
}

/* For tablets (around iPad size): 2 columns

@media (max-width: 1024px) {
  .archive .content-wrap {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns */
/*  }
} */

/* Make images on info boxes have rounded top corners */
.kt-blocks-info-box-media img {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}