/* ============================================================
   QUIZZ YOUR WIIZE / BY SITUATION — standalone section
   Extracted from the NP-G3 Bricks custom CSS.

   Background image paths below are RELATIVE to this .css file.
   This assumes the layout:
       wp-content/themes/wiize/quize_your_wiize.css   <- this file
       wp-content/themes/wiize/assets/img/quizz-bg.jpg
       wp-content/themes/wiize/assets/img/situation-bg.jpg
   If you move this file into a subfolder, adjust the ../ accordingly.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Red+Hat+Display:wght@700&display=swap');

/* SECTION ---------------------------------------------------- */
.np-g3-actions {
  padding: 80px 120px 60px;
}

.np-g3-actions-row {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
}

/* CARDS ------------------------------------------------------ */
.np-g3-action-card {
  flex: 1 1 50%;
  min-height: 220px;
  border: none;
  border-radius: 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
}

.np-g3-action-card--quiz {
  background:
    linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.10)),
    url('../img/quize_wiize.png') center / cover no-repeat,
    #a6032f;
}

.np-g3-action-card--situation {
  background:
    linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.20)),
    url('../img/situation_wiize.png') center / cover no-repeat,
    #8c0335;
}

/* Inner row: text column left, button right (vertically centred) */
.np-g3-action-card-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 32px 40px;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.np-g3-action-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  flex: 1 1 auto;
}

/* Small title (prefix / suffix line) */
.np-g3-action-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin: 0;
}

/* WIIZE wordmark image — tune the height to match your asset */
.np-g3-action-wordmark {
  display: block;
  width: auto;
  height: 34px;
}
/* Quiz wordmark indented to match the Figma stagger */
.np-g3-action-card--quiz .np-g3-action-wordmark {
  margin-left: 140px;
}

.np-g3-action-card--situation .np-g3-action-title { margin-left:100px;    margin-top: 5px;}
.np-g3-action-card--quiz .np-g3-action-text-col { margin-top: -32px; }

/* BUTTON ----------------------------------------------------- */
.np-g3-action-btn-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.np-g3-action-btn {
  display: inline-block;
  min-width: 180px;
  padding: 18px 24px;
  border: none;
  border-radius: 5px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
}
.np-g3-action-btn--quiz      { background: #8c0335; }
.np-g3-action-btn--situation { background: #a6032f; }

/* RESPONSIVE ------------------------------------------------- */
@media (max-width: 1024px) {
  .np-g3-actions { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 767px) {
  .np-g3-actions      { padding: 24px 16px; }
  .np-g3-actions-row  { flex-direction: column; gap: 16px; }
  .np-g3-action-card  { width: 100%; }

  .np-g3-action-card-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
  }

  .np-g3-action-title { font-size: 28px; white-space: normal; }
  .np-g3-action-wordmark { height: 48px; }
  .np-g3-action-card--quiz .np-g3-action-wordmark { margin-left: 0; }

  .np-g3-action-btn-wrap { width: 100%; }
  .np-g3-action-btn      { width: 100%; }
}