.elementor-kit-616{--e-global-color-primary:#0B0A15;--e-global-color-secondary:#0E0D1B;--e-global-color-text:#969EA8;--e-global-color-accent:#D74452;--e-global-color-40e36de:#FFFFFF;--e-global-color-2d5062f:#FFFFFF24;--e-global-color-ace1ea9:#0B0A15BA;--e-global-color-f0330ec:#0B0F14;--e-global-typography-primary-font-family:"Inter";--e-global-typography-primary-font-size:16px;--e-global-typography-primary-font-weight:400;--e-global-typography-secondary-font-family:"Inter";--e-global-typography-secondary-font-size:55px;--e-global-typography-secondary-font-weight:400;--e-global-typography-secondary-line-height:1.2em;--e-global-typography-secondary-letter-spacing:1px;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Play";--e-global-typography-accent-font-size:14px;--e-global-typography-accent-font-weight:400;--e-global-typography-c3dbc50-font-family:"Inter";--e-global-typography-c3dbc50-font-size:15px;--e-global-typography-c3dbc50-font-weight:400;--e-global-typography-c3dbc50-text-transform:uppercase;--e-global-typography-c3dbc50-letter-spacing:3px;--e-global-typography-0e6b15a-font-family:"Play";--e-global-typography-0e6b15a-font-size:14px;--e-global-typography-0e6b15a-font-weight:400;--e-global-typography-0e6b15a-text-transform:uppercase;--e-global-typography-0e6b15a-letter-spacing:2px;--e-global-typography-a948b91-font-family:"Inter";--e-global-typography-a948b91-font-size:18px;--e-global-typography-a948b91-font-weight:400;--e-global-typography-a948b91-letter-spacing:3px;--e-global-typography-101d805-font-family:"Orbitron";--e-global-typography-101d805-font-size:80px;--e-global-typography-101d805-font-weight:500;--e-global-typography-101d805-text-transform:uppercase;--e-global-typography-101d805-letter-spacing:5px;--e-global-typography-9335d61-font-family:"Play";--e-global-typography-9335d61-font-size:18px;--e-global-typography-9335d61-font-weight:400;--e-global-typography-1331f66-font-family:"Girassol";--e-global-typography-1331f66-font-size:36px;--e-global-typography-1331f66-font-weight:400;--e-global-typography-cdd5bfa-font-family:"Girassol";--e-global-typography-cdd5bfa-font-size:32px;--e-global-typography-cdd5bfa-font-weight:400;--e-global-typography-cdd5bfa-letter-spacing:0.5px;--e-global-typography-f51a723-font-family:"Inter";--e-global-typography-f51a723-font-size:30px;--e-global-typography-f51a723-font-weight:600;--e-global-typography-e13e8bc-font-family:"Girassol";--e-global-typography-e13e8bc-font-size:45px;--e-global-typography-e13e8bc-font-weight:400;--e-global-typography-9b2cd07-font-family:"Play";--e-global-typography-9b2cd07-font-size:14px;--e-global-typography-9b2cd07-font-weight:400;--e-global-typography-9b2cd07-text-transform:uppercase;--e-global-typography-9b2cd07-letter-spacing:3px;--e-global-typography-fb90bf4-font-family:"Inter";--e-global-typography-fb90bf4-font-size:22px;--e-global-typography-fb90bf4-font-weight:400;--e-global-typography-fb90bf4-letter-spacing:1.5px;--e-global-typography-8bcf1d1-font-family:"Inter";--e-global-typography-8bcf1d1-font-size:36px;--e-global-typography-8bcf1d1-font-weight:400;--e-global-typography-176d804-font-family:"Inter";--e-global-typography-176d804-font-size:30px;--e-global-typography-176d804-font-weight:400;--e-global-typography-176d804-letter-spacing:2px;--e-global-typography-e42171e-font-family:"Girassol";--e-global-typography-e42171e-font-size:30px;--e-global-typography-e42171e-font-weight:400;--e-global-typography-3f545b0-font-family:"Inter";--e-global-typography-3f545b0-font-size:24px;--e-global-typography-3f545b0-font-weight:400;--e-global-typography-752df20-font-family:"Inter";--e-global-typography-752df20-font-size:80px;--e-global-typography-752df20-font-weight:400;--e-global-typography-4ea8f3b-font-family:"Inter";--e-global-typography-4ea8f3b-font-size:32px;--e-global-typography-4ea8f3b-font-weight:400;--e-global-typography-4ea8f3b-line-height:1em;--e-global-typography-472286f-font-family:"Inter";--e-global-typography-472286f-font-size:30px;--e-global-typography-472286f-font-weight:400;--e-global-typography-e7b081d-font-family:"Inter";--e-global-typography-e7b081d-font-size:24px;--e-global-typography-e7b081d-font-weight:400;--e-global-typography-c66df8c-font-family:"Inter";--e-global-typography-c66df8c-font-size:22px;--e-global-typography-c66df8c-font-weight:400;--e-global-typography-765a3aa-font-family:"Inter";--e-global-typography-765a3aa-font-size:20px;--e-global-typography-765a3aa-font-weight:400;--e-global-typography-a34e755-font-family:"Inter";--e-global-typography-a34e755-font-size:16px;--e-global-typography-a34e755-font-weight:600;--e-global-typography-c899622-font-family:"Inter";--e-global-typography-c899622-font-size:20px;--e-global-typography-c899622-font-weight:400;--e-global-typography-c899622-letter-spacing:1px;background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-616 button,.elementor-kit-616 input[type="button"],.elementor-kit-616 input[type="submit"],.elementor-kit-616 .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-c3dbc50-font-family ), Sans-serif;font-size:var( --e-global-typography-c3dbc50-font-size );font-weight:var( --e-global-typography-c3dbc50-font-weight );text-transform:var( --e-global-typography-c3dbc50-text-transform );letter-spacing:var( --e-global-typography-c3dbc50-letter-spacing );color:var( --e-global-color-40e36de );border-style:solid;border-width:1px 1px 1px 1px;border-color:var( --e-global-color-accent );border-radius:0px 0px 0px 0px;padding:20px 30px 20px 30px;}.elementor-kit-616 button:hover,.elementor-kit-616 button:focus,.elementor-kit-616 input[type="button"]:hover,.elementor-kit-616 input[type="button"]:focus,.elementor-kit-616 input[type="submit"]:hover,.elementor-kit-616 input[type="submit"]:focus,.elementor-kit-616 .elementor-button:hover,.elementor-kit-616 .elementor-button:focus{background-color:#02010100;}.elementor-kit-616 e-page-transition{background-color:#FFBC7D;}.elementor-kit-616 a{color:var( --e-global-color-text );}.elementor-kit-616 a:hover{color:var( --e-global-color-40e36de );}.elementor-kit-616 h1{color:var( --e-global-color-40e36de );font-family:var( --e-global-typography-752df20-font-family ), Sans-serif;font-size:var( --e-global-typography-752df20-font-size );font-weight:var( --e-global-typography-752df20-font-weight );}.elementor-kit-616 h2{color:var( --e-global-color-40e36de );font-family:var( --e-global-typography-4ea8f3b-font-family ), Sans-serif;font-size:var( --e-global-typography-4ea8f3b-font-size );font-weight:var( --e-global-typography-4ea8f3b-font-weight );line-height:var( --e-global-typography-4ea8f3b-line-height );}.elementor-kit-616 h3{color:var( --e-global-color-40e36de );font-family:var( --e-global-typography-472286f-font-family ), Sans-serif;font-size:var( --e-global-typography-472286f-font-size );font-weight:var( --e-global-typography-472286f-font-weight );}.elementor-kit-616 h4{color:var( --e-global-color-40e36de );font-family:var( --e-global-typography-e7b081d-font-family ), Sans-serif;font-size:var( --e-global-typography-e7b081d-font-size );font-weight:var( --e-global-typography-e7b081d-font-weight );}.elementor-kit-616 h5{color:var( --e-global-color-40e36de );font-family:var( --e-global-typography-c66df8c-font-family ), Sans-serif;font-size:var( --e-global-typography-c66df8c-font-size );font-weight:var( --e-global-typography-c66df8c-font-weight );}.elementor-kit-616 h6{color:var( --e-global-color-40e36de );font-family:var( --e-global-typography-765a3aa-font-family ), Sans-serif;font-size:var( --e-global-typography-765a3aa-font-size );font-weight:var( --e-global-typography-765a3aa-font-weight );}.elementor-kit-616 label{color:var( --e-global-color-40e36de );font-family:var( --e-global-typography-c899622-font-family ), Sans-serif;font-size:var( --e-global-typography-c899622-font-size );font-weight:var( --e-global-typography-c899622-font-weight );line-height:var( --e-global-typography-c899622-line-height );letter-spacing:var( --e-global-typography-c899622-letter-spacing );}.elementor-kit-616 input:not([type="button"]):not([type="submit"]),.elementor-kit-616 textarea,.elementor-kit-616 .elementor-field-textual{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-40e36de );background-color:#02010100;border-style:solid;border-width:1px 1px 1px 1px;border-color:var( --e-global-color-2d5062f );border-radius:0px 0px 0px 0px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-kit-616{--e-global-typography-primary-font-size:15px;--e-global-typography-secondary-font-size:48px;--e-global-typography-text-font-size:15px;--e-global-typography-accent-font-size:13px;--e-global-typography-c3dbc50-font-size:15px;--e-global-typography-0e6b15a-font-size:13px;--e-global-typography-a948b91-font-size:17px;--e-global-typography-101d805-font-size:70px;--e-global-typography-101d805-line-height:1.2em;--e-global-typography-9335d61-font-size:17px;--e-global-typography-1331f66-font-size:34px;--e-global-typography-cdd5bfa-font-size:30px;--e-global-typography-f51a723-font-size:28px;--e-global-typography-e13e8bc-font-size:40px;--e-global-typography-9b2cd07-font-size:13px;--e-global-typography-fb90bf4-font-size:21px;--e-global-typography-8bcf1d1-font-size:34px;--e-global-typography-176d804-font-size:28px;--e-global-typography-e42171e-font-size:28px;--e-global-typography-3f545b0-font-size:23px;--e-global-typography-752df20-font-size:70px;--e-global-typography-4ea8f3b-font-size:31px;--e-global-typography-472286f-font-size:28px;--e-global-typography-e7b081d-font-size:23px;--e-global-typography-c66df8c-font-size:21px;--e-global-typography-765a3aa-font-size:19px;--e-global-typography-a34e755-font-size:15px;--e-global-typography-c899622-font-size:23px;font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-616 h1{font-size:var( --e-global-typography-752df20-font-size );}.elementor-kit-616 h2{font-size:var( --e-global-typography-4ea8f3b-font-size );line-height:var( --e-global-typography-4ea8f3b-line-height );}.elementor-kit-616 h3{font-size:var( --e-global-typography-472286f-font-size );}.elementor-kit-616 h4{font-size:var( --e-global-typography-e7b081d-font-size );}.elementor-kit-616 h5{font-size:var( --e-global-typography-c66df8c-font-size );}.elementor-kit-616 h6{font-size:var( --e-global-typography-765a3aa-font-size );}.elementor-kit-616 button,.elementor-kit-616 input[type="button"],.elementor-kit-616 input[type="submit"],.elementor-kit-616 .elementor-button{font-size:var( --e-global-typography-c3dbc50-font-size );letter-spacing:var( --e-global-typography-c3dbc50-letter-spacing );}.elementor-kit-616 label{font-size:var( --e-global-typography-c899622-font-size );line-height:var( --e-global-typography-c899622-line-height );letter-spacing:var( --e-global-typography-c899622-letter-spacing );}.elementor-kit-616 input:not([type="button"]):not([type="submit"]),.elementor-kit-616 textarea,.elementor-kit-616 .elementor-field-textual{font-size:var( --e-global-typography-text-font-size );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-616{--e-global-typography-primary-font-size:14px;--e-global-typography-secondary-font-size:40px;--e-global-typography-text-font-size:14px;--e-global-typography-accent-font-size:13px;--e-global-typography-c3dbc50-font-size:14px;--e-global-typography-0e6b15a-font-size:13px;--e-global-typography-a948b91-font-size:16px;--e-global-typography-101d805-font-size:55px;--e-global-typography-101d805-line-height:1.2em;--e-global-typography-9335d61-font-size:16px;--e-global-typography-1331f66-font-size:32px;--e-global-typography-cdd5bfa-font-size:28px;--e-global-typography-f51a723-font-size:26px;--e-global-typography-e13e8bc-font-size:35px;--e-global-typography-9b2cd07-font-size:13px;--e-global-typography-fb90bf4-font-size:20px;--e-global-typography-8bcf1d1-font-size:32px;--e-global-typography-176d804-font-size:26px;--e-global-typography-e42171e-font-size:26px;--e-global-typography-3f545b0-font-size:22px;--e-global-typography-752df20-font-size:55px;--e-global-typography-4ea8f3b-font-size:30px;--e-global-typography-472286f-font-size:26px;--e-global-typography-e7b081d-font-size:22px;--e-global-typography-c66df8c-font-size:20px;--e-global-typography-765a3aa-font-size:18px;--e-global-typography-a34e755-font-size:14px;--e-global-typography-c899622-font-size:22px;font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-616 h1{font-size:var( --e-global-typography-752df20-font-size );}.elementor-kit-616 h2{font-size:var( --e-global-typography-4ea8f3b-font-size );line-height:var( --e-global-typography-4ea8f3b-line-height );}.elementor-kit-616 h3{font-size:var( --e-global-typography-472286f-font-size );}.elementor-kit-616 h4{font-size:var( --e-global-typography-e7b081d-font-size );}.elementor-kit-616 h5{font-size:var( --e-global-typography-c66df8c-font-size );}.elementor-kit-616 h6{font-size:var( --e-global-typography-765a3aa-font-size );}.elementor-kit-616 button,.elementor-kit-616 input[type="button"],.elementor-kit-616 input[type="submit"],.elementor-kit-616 .elementor-button{font-size:var( --e-global-typography-c3dbc50-font-size );letter-spacing:var( --e-global-typography-c3dbc50-letter-spacing );}.elementor-kit-616 label{font-size:var( --e-global-typography-c899622-font-size );line-height:var( --e-global-typography-c899622-line-height );letter-spacing:var( --e-global-typography-c899622-letter-spacing );}.elementor-kit-616 input:not([type="button"]):not([type="submit"]),.elementor-kit-616 textarea,.elementor-kit-616 .elementor-field-textual{font-size:var( --e-global-typography-text-font-size );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */.entry-title, .page-title, .elementor-page-title, h1.wp-block-post-title { 
  display: none !important; 
}

/* =========================================================
   CODEQUEST NEWS PAGE
   Elementor Loop Grid + Loop Item CSS
   Safe version with globally defined variables and fallbacks
   ========================================================= */


/* ================================
   GLOBAL VARIABLES
   ================================ */

:root {
  --cq-bg: #0B0F14;
  --cq-bg-raised: #10161E;
  --cq-bg-card: #121920;

  --cq-fg1: #E6F1FF;
  --cq-fg2: #A8B3CF;
  --cq-fg3: #6C7587;
  --cq-fg4: #3D4555;

  --cq-cyan: #4FB3B8;
  --cq-cyan-bright: #00F0FF;
  --cq-magenta: #FF00E5;
  --cq-red: #FF2D55;
  --cq-amber: #FFB800;
  --cq-green: #10B981;
  --cq-purple: #8B5CF6;

  --cq-border: rgba(79,179,184,0.18);
  --cq-border-strong: rgba(79,179,184,0.35);
  --cq-border-subtle: rgba(138,146,161,0.08);
  --cq-glass: rgba(20,27,35,0.7);

  --cq-font-display: 'Orbitron', sans-serif;
  --cq-font-body: 'Exo 2', sans-serif;
  --cq-font-mono: 'JetBrains Mono', monospace;
}


/* ================================
   PAGE WRAPPER
   ================================ */

.cq-news {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--cq-bg, #0B0F14);
  color: var(--cq-fg1, #E6F1FF);
  font-family: var(--cq-font-body, 'Exo 2', sans-serif);
  overflow: hidden;
  min-height: 100vh;
}

.cq-news * {
  box-sizing: border-box;
}

.cq-news::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,179,184,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,179,184,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cq-news__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}


/* ================================
   PAGE HEADER
   ================================ */

.cq-news__header {
  margin-bottom: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cq-news__header-text {
  max-width: 560px;
}

.cq-news__label {
  font-family: var(--cq-font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cq-cyan, #4FB3B8);
  margin-bottom: 10px;
}

.cq-news__label::before {
  content: '// ';
  opacity: 0.5;
}

.cq-news__page-title,
.cq-news__page-title .elementor-heading-title {
  font-family: var(--cq-font-display, 'Orbitron', sans-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cq-fg1, #E6F1FF);
  margin: 0;
}

.cq-news__page-title span,
.cq-news__page-title .elementor-heading-title span {
  color: var(--cq-cyan, #4FB3B8);
}

.cq-news__page-sub {
  font-family: var(--cq-font-body, 'Exo 2', sans-serif);
  font-size: 15px;
  color: var(--cq-fg3, #6C7587);
  margin-top: 10px;
  max-width: 500px;
  line-height: 1.6;
}

.cq-news__page-sub p {
  margin: 0;
}


/* ================================
   CATEGORY FILTER PILLS
   Static links and Elementor Taxonomy Filter
   ================================ */

.cq-news__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.cq-news__filter,
.cq-news .e-filter-item,
.cq-news .elementor-widget-taxonomy-filter button,
.cq-news .elementor-widget-taxonomy-filter a {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--cq-border-subtle, rgba(138,146,161,0.08));
  background: transparent;
  color: var(--cq-fg3, #6C7587);
  font-family: var(--cq-font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1;
}

.cq-news__filter:hover,
.cq-news__filter--active,
.cq-news .e-filter-item:hover,
.cq-news .e-filter-item[aria-pressed="true"],
.cq-news .e-filter-item.elementor-active,
.cq-news .elementor-widget-taxonomy-filter button:hover,
.cq-news .elementor-widget-taxonomy-filter button[aria-pressed="true"],
.cq-news .elementor-widget-taxonomy-filter a:hover {
  border-color: var(--cq-cyan, #4FB3B8);
  color: var(--cq-cyan, #4FB3B8);
  background: rgba(79,179,184,0.08);
}


/* ================================
   FEATURED ARTICLE
   ================================ */

.cq-news__featured {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--cq-border, rgba(79,179,184,0.18));
  margin-bottom: 48px;
  min-height: 420px;
  background: var(--cq-bg-card, #121920);
  transition: all 0.4s ease;
}

.cq-news__featured:hover {
  border-color: var(--cq-border-strong, rgba(79,179,184,0.35));
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.cq-news__featured-img {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  height: 100%;
}

/* Elementor image widget inside featured image column */
.cq-news__featured-img .elementor-widget-image,
.cq-news__featured-img .elementor-widget-container {
  height: 100%;
}

/* Actual image */
.cq-news__featured-img img {
  width: 100%;
  height: 100% !important;
  min-height: 420px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.cq-news__featured:hover .cq-news__featured-img img {
  transform: scale(1.03);
    transition: transform 0.6s ease !important;
  will-change: transform;
}

.cq-news__featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 60%,
    var(--cq-bg-card, #121920) 100%
  );
  pointer-events: none;
}

.cq-news__featured-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cq-news__featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cq-font-mono, 'JetBrains Mono', monospace);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cq-bg, #0B0F14);
  background: var(--cq-cyan, #4FB3B8);
  padding: 4px 12px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.cq-news__featured-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cq-news__meta-item {
  font-family: var(--cq-font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--cq-fg3, #6C7587);
  text-transform: uppercase;
}

.cq-news__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cq-fg4, #3D4555);
}

.cq-news__featured-title,
.cq-news__featured-title .elementor-heading-title {
  font-family: var(--cq-font-display, 'Orbitron', sans-serif);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--cq-fg1, #E6F1FF);
}

.cq-news__featured-title a,
.cq-news__featured-title .elementor-heading-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cq-news__featured-title a:hover,
.cq-news__featured-title .elementor-heading-title a:hover {
  color: var(--cq-cyan, #4FB3B8);
}

.cq-news__featured-excerpt {
  font-family: var(--cq-font-body, 'Exo 2', sans-serif);
  font-size: 14px;
  color: var(--cq-fg2, #A8B3CF);
  line-height: 1.75;
  margin-bottom: 24px;
}

.cq-news__featured-excerpt p {
  margin: 0;
}

.cq-news__read-link,
.cq-news__read-link a,
.cq-news__read-link .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cq-font-body, 'Exo 2', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--cq-cyan, #4FB3B8);
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.cq-news__read-link:hover,
.cq-news__read-link a:hover,
.cq-news__read-link .elementor-button:hover {
  gap: 14px;
  color: var(--cq-cyan-bright, #00F0FF);
}


/* ================================
   GRID HEADER
   ================================ */

.cq-news__grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cq-border-subtle, rgba(138,146,161,0.08));
}

.cq-news__grid-title {
  font-family: var(--cq-font-display, 'Orbitron', sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cq-fg2, #A8B3CF);
}

.cq-news__grid-count {
  font-family: var(--cq-font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  color: var(--cq-fg4, #3D4555);
}


/* ================================
   ELEMENTOR LOOP GRID FIXES
   ================================ */

.cq-news .elementor-loop-container,
.cq-news .e-loop__load-more {
  position: relative;
  z-index: 2;
}

.cq-news .elementor-loop-container {
  gap: 24px;
}

.cq-news .elementor-grid,
.cq-news .elementor-loop-container {
  align-items: stretch;
}

.cq-news .e-loop-item,
.cq-news .elementor-grid-item {
  height: 100%;
}


/* ================================
   NEWS CARD LOOP ITEM
   ================================ */

.cq-news__card {
  background: var(--cq-bg-card, #121920);
  border: 1px solid var(--cq-border-subtle, rgba(138,146,161,0.08));
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}

.cq-news__card:hover {
  border-color: var(--cq-border, rgba(79,179,184,0.18));
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.cq-news__card-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.cq-news__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.cq-news__card:hover .cq-news__card-img img {
  transform: scale(1.05);
}

.cq-news__card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    transparent,
    var(--cq-bg-card, #121920)
  );
  pointer-events: none;
  z-index: 1;
}

/* Category badge / Post Terms widget */
.cq-news__card-cat {
  position: absolute !important;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: calc(100% - 28px);
  padding: 6px 10px !important;
  border-radius: 4px;
  font-family: var(--cq-font-mono, 'JetBrains Mono', monospace) !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cq-news__card-cat a {
  color: inherit;
  text-decoration: none;
}

.cq-news__card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cq-news__card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.cq-news__card-title {
  margin-bottom: 10px;
}

.cq-news__card-title,
.cq-news__card-title a,
.cq-news__card-title .elementor-heading-title,
.cq-news__card-title .elementor-heading-title a {
  font-family: var(--cq-font-display, 'Orbitron', sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cq-fg1, #E6F1FF);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cq-news__card-title a:hover,
.cq-news__card-title .elementor-heading-title:hover,
.cq-news__card-title .elementor-heading-title a:hover {
  color: var(--cq-cyan, #4FB3B8);
}

.cq-news__card-excerpt {
  font-family: var(--cq-font-body, 'Exo 2', sans-serif);
  font-size: 13px;
  color: var(--cq-fg3, #6C7587);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.cq-news__card-excerpt p {
  margin: 0;
}

.cq-news__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--cq-border-subtle, rgba(138,146,161,0.08));
  margin-top: auto;
}

.cq-news__card-readtime {
  font-family: var(--cq-font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  color: var(--cq-fg4, #3D4555);
  letter-spacing: 1px;
}

.cq-news__card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--cq-border-subtle, rgba(138,146,161,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cq-fg3, #6C7587);
  transition: all 0.3s ease;
  text-decoration: none;
  background: transparent;
}

.cq-news__card:hover .cq-news__card-arrow {
  border-color: var(--cq-cyan, #4FB3B8);
  color: var(--cq-cyan, #4FB3B8);
  background: rgba(79,179,184,0.08);
}

.cq-news__card-arrow svg,
.cq-news__card-arrow i {
  width: 14px;
  height: 14px;
  font-size: 14px;
}


/* ================================
   CATEGORY BADGE COLOURS
   Works if Elementor/WordPress outputs category classes
   ================================ */

.category-quantum .cq-news__card-cat,
.post-category-quantum .cq-news__card-cat,
.cq-news__card-cat--quantum {
  background: rgba(139,92,246,0.8);
  color: #ffffff;
}

.category-ai-ml .cq-news__card-cat,
.category-ai .cq-news__card-cat,
.post-category-ai-ml .cq-news__card-cat,
.cq-news__card-cat--ai {
  background: rgba(79,179,184,0.8);
  color: var(--cq-bg, #0B0F14);
}

.category-security .cq-news__card-cat,
.post-category-security .cq-news__card-cat,
.cq-news__card-cat--security {
  background: rgba(255,45,85,0.8);
  color: #ffffff;
}

.category-web-dev .cq-news__card-cat,
.category-web .cq-news__card-cat,
.post-category-web-dev .cq-news__card-cat,
.cq-news__card-cat--web {
  background: rgba(255,184,0,0.8);
  color: var(--cq-bg, #0B0F14);
}

.category-careers .cq-news__card-cat,
.category-career .cq-news__card-cat,
.post-category-careers .cq-news__card-cat,
.cq-news__card-cat--career {
  background: rgba(16,185,129,0.8);
  color: var(--cq-bg, #0B0F14);
}

.category-hardware .cq-news__card-cat,
.post-category-hardware .cq-news__card-cat,
.cq-news__card-cat--hardware {
  background: rgba(99,102,241,0.8);
  color: #ffffff;
}


/* ================================
   LOAD MORE BUTTON
   ================================ */

.cq-news .e-loop__load-more {
  text-align: center;
  margin-top: 48px;
}

.cq-news .e-loop__load-more .elementor-button,
.cq-news__loadmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid var(--cq-border, rgba(79,179,184,0.18));
  border-radius: 8px;
  background: transparent;
  color: var(--cq-fg2, #A8B3CF);
  font-family: var(--cq-font-body, 'Exo 2', sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cq-news .e-loop__load-more .elementor-button:hover,
.cq-news__loadmore-btn:hover {
  border-color: var(--cq-cyan, #4FB3B8);
  color: var(--cq-cyan, #4FB3B8);
  box-shadow: 0 0 20px rgba(79,179,184,0.12);
}


/* ================================
   ELEMENTOR EDITOR VISIBILITY HELPERS
   ================================ */

.elementor-editor-active .cq-news {
  min-height: 100vh;
}

.elementor-editor-active .cq-news__inner {
  outline: 1px dashed rgba(79,179,184,0.12);
}


/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 960px) {
  .cq-news__inner {
    padding: 40px 24px 60px;
  }

  .cq-news__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cq-news__filters {
    justify-content: flex-start;
  }

  .cq-news__featured {
    grid-template-columns: 1fr;
  }

  .cq-news__featured-img {
    min-height: 240px;
    height: 240px;
  }

  .cq-news__featured-img::after {
    background: linear-gradient(
      0deg,
      var(--cq-bg-card, #121920) 10%,
      transparent 60%
    );
  }

  .cq-news__featured-content {
    padding: 28px 24px;
  }
}

@media (max-width: 600px) {
  .cq-news__inner {
    padding: 32px 18px 48px;
  }

  .cq-news__filters {
    gap: 6px;
  }

  .cq-news__filter,
  .cq-news .e-filter-item,
  .cq-news .elementor-widget-taxonomy-filter button,
  .cq-news .elementor-widget-taxonomy-filter a {
    padding: 6px 12px;
    font-size: 9px;
  }

  .cq-news__grid-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cq-news__featured-title,
  .cq-news__featured-title .elementor-heading-title {
    font-size: 22px;
  }

  .cq-news__card-body {
    padding: 22px;
  }

  .cq-news__card-img {
    height: 190px;
  }
}

/* Footer row inside each news card */
.cq-news__card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--cq-border-subtle, rgba(138,146,161,0.08)) !important;
  margin-top: auto !important;
}

/* Arrow button reset */
.cq-news__card-arrow,
.cq-news__card-arrow a,
.cq-news__card-arrow .elementor-button,
.cq-news__card-arrow .elementor-button-link,
.cq-news__card-arrow .elementor-icon,
.cq-news__card-arrow button {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;

  padding: 0 !important;
  margin: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 6px !important;
  border: 1px solid rgba(138,146,161,0.08) !important;

  background: rgba(255,255,255,0.025) !important;
  background-color: rgba(255,255,255,0.025) !important;
  background-image: none !important;

  color: #6C7587 !important;
  box-shadow: none !important;
  text-decoration: none !important;

  transition: all 0.3s ease !important;
}

/* Icon inside arrow button */
.cq-news__card-arrow svg,
.cq-news__card-arrow i,
.cq-news__card-arrow .elementor-button-icon,
.cq-news__card-arrow .elementor-icon svg {
  width: 14px !important;
  height: 14px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: currentColor !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Remove button text if using a Button widget */
.cq-news__card-arrow .elementor-button-text {
  display: none !important;
}

/* Hover state */
.cq-news__card:hover .cq-news__card-arrow,
.cq-news__card:hover .cq-news__card-arrow a,
.cq-news__card:hover .cq-news__card-arrow .elementor-button,
.cq-news__card:hover .cq-news__card-arrow .elementor-icon {
  border-color: var(--cq-cyan, #4FB3B8) !important;
  color: var(--cq-cyan, #4FB3B8) !important;
  background: rgba(79,179,184,0.08) !important;
  background-color: rgba(79,179,184,0.08) !important;
}/* End custom CSS */