.q {
  background: var(--q-bg);
  color: var(--q-ink);
  font-family: var(--q-font);
  width: 100%;
}

/* — כותרת עסק — */
.q-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  padding: 13px 15px;
  background: var(--q-head);
  color: var(--q-head-ink);
  border-bottom: 1px solid var(--q-headline);
}
.q-biz {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.q-biz > div {
  min-width: 0;
}
.q-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--q-acc);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  font-family: "Heebo", sans-serif;
}
.q-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 3px;
}
.q-biz b {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
.q-biz small {
  display: block;
  font-size: 11.5px;
  color: var(--q-head-mut);
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
}
.q-no {
  text-align: left;
  flex: none;
  font-size: 10.5px;
  color: var(--q-head-mut);
  font-weight: 700;
}
.q-no b {
  display: block;
  font-size: 12.5px;
  color: var(--q-head-ink);
}

/* — הירו: overlay — */
.q-hero {
  position: relative;
  height: 150px;
  overflow: hidden;
}
.q-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.q-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--q-veil) 0%,
    rgba(10, 10, 10, 0.55) 55%,
    transparent 94%
  );
}
.q-hero .t {
  position: absolute;
  inset-inline: 15px;
  bottom: 12px;
  color: #fff;
  z-index: 1;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}
.q-hero .t span {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}
.q-hero .t b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  margin-top: 2px;
}
.q-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.q-pills i {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 3px 8px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

/* — הירו: above (כותרת מעל התמונה) — */
.q-above {
  padding: 16px 15px 14px;
  background: var(--q-head);
  color: var(--q-head-ink);
}
.q-above span {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--q-acc);
}
.q-above b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  margin-top: 5px;
  line-height: 1.25;
}
.q-above p {
  font-size: 12.5px;
  color: var(--q-head-mut);
  font-weight: 600;
  margin-top: 6px;
}
.q-strip {
  height: 120px;
  overflow: hidden;
}
.q-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* — הירו: below (עיתונאי) — */
.q-photo {
  height: 145px;
  overflow: hidden;
}
.q-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.q-title {
  padding: 18px 15px 14px;
}
.q-title span {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--q-mut);
}
.q-title b {
  display: block;
  font-size: 23px;
  font-weight: 400;
  margin-top: 8px;
  line-height: 1.24;
}
.q-facts {
  margin-top: 13px;
  border-top: 1px solid var(--q-line);
}
.q-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--q-line);
  font-size: 12px;
}
.q-facts i {
  font-style: normal;
  color: var(--q-mut);
  font-weight: 700;
}
.q-facts b {
  font-weight: 500;
}

/* — הירו: band (טכני) — */
.q-band {
  padding: 16px 15px 15px;
  background: var(--q-band);
  color: #fff;
}
.q-band span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--q-acc-l);
}
.q-band b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-top: 5px;
  line-height: 1.25;
}
.q-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.q-kpis i {
  font-style: normal;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  padding: 8px 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--q-acc-l);
}
.q-kpis i s {
  display: block;
  text-decoration: none;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  margin-bottom: 2px;
}
.q-cardimg {
  margin: -24px 13px 0;
  border-radius: 12px;
  overflow: hidden;
  height: 112px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 22px rgba(10, 27, 46, 0.22);
  border: 1px solid var(--q-line);
}
.q-cardimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* — הירו: framed (פרימיום) — */
.q-cover {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #000;
}
.q-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.q-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--q-veil),
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.42)
  );
}
.q-cover .fr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  z-index: 1;
  padding: 0 18px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}
.q-cover .fr .in {
  border-top: 1px solid var(--q-acc);
  border-bottom: 1px solid var(--q-acc);
  padding: 16px 8px;
}
.q-cover .fr span {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--q-acc-l);
}
.q-cover .fr b {
  display: block;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-top: 7px;
  line-height: 1.3;
}

/* — הירו: tiles (כחול נקי) — */
.q-tiles {
  padding: 18px 15px 0;
  text-align: center;
}
.q-tiles span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--q-acc);
  background: var(--q-acc-soft);
  border: 1px solid var(--q-acc-line);
  padding: 4px 11px;
  border-radius: 99px;
}
.q-tiles b {
  display: block;
  font-size: 21px;
  font-weight: 900;
  margin-top: 10px;
  line-height: 1.25;
}
.q-tiles .im {
  margin-top: 13px;
  border-radius: 14px;
  overflow: hidden;
  height: 118px;
  border: 1px solid var(--q-line);
}
.q-tiles .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.q-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 13px 15px 0;
}
.q-grid i {
  font-style: normal;
  background: var(--q-head);
  border: 1px solid var(--q-line);
  border-radius: 11px;
  padding: 10px 5px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  color: var(--q-acc);
}
.q-grid i s {
  display: block;
  text-decoration: none;
  font-size: 9.5px;
  color: var(--q-mut);
  font-weight: 700;
  margin-top: 2px;
}

/* — הירו: none (פשוט) — */
.q-plain {
  padding: 18px 15px 4px;
}
.q-plain span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--q-mut);
}
.q-plain b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-top: 5px;
  line-height: 1.3;
}

/* — גוף — */
.q-sec {
  padding: 14px 15px;
  border-bottom: 1px solid var(--q-line);
}
.q-sec:last-child {
  border-bottom: 0;
}
.q-lbl {
  font-size: 10px;
  font-weight: 800;
  color: var(--q-mut);
}
.q-cl {
  font-size: 14px;
  font-weight: 700;
  margin-top: 3px;
}
.q-cl s {
  display: block;
  font-size: 12.5px;
  color: var(--q-mut);
  font-weight: 600;
  text-decoration: none;
  margin-top: 1px;
}

/* פריטים: rows */
.q-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--q-line);
}
.q-row:last-of-type {
  border-bottom: 0;
}
.q-row span {
  color: var(--q-txt);
  font-weight: 600;
}
.q-row b {
  flex: none;
  font-weight: 800;
}
/* פריטים: numbered */
.q-num {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--q-line);
}
.q-num:last-of-type {
  border-bottom: 0;
}
.q-num .k {
  width: 23px;
  height: 23px;
  flex: none;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--q-acc-soft);
  color: var(--q-acc);
  font-size: 11px;
  font-weight: 900;
  font-family: "Heebo", sans-serif;
}
.q-num .c {
  flex: 1;
  min-width: 0;
}
.q-num .c b {
  display: block;
  font-size: 14px;
  font-weight: 800;
}
.q-num .c p {
  font-size: 11.5px;
  color: var(--q-mut);
  font-weight: 600;
  margin-top: 2px;
  line-height: 1.5;
}
.q-num .v {
  flex: none;
  font-size: 14px;
  font-weight: 800;
}
/* פריטים: serif */
.q-ser {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--q-line);
}
.q-ser:last-of-type {
  border-bottom: 0;
}
.q-ser .k {
  font-size: 11px;
  color: var(--q-acc);
  flex: none;
  width: 20px;
  padding-top: 3px;
  font-weight: 700;
}
.q-ser .c {
  flex: 1;
  min-width: 0;
}
.q-ser .c b {
  display: block;
  font-size: 15px;
  font-weight: 400;
}
.q-ser .c p {
  font-size: 11.5px;
  color: var(--q-mut);
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.5;
  font-family: "Assistant", sans-serif;
}
.q-ser .v {
  flex: none;
  font-size: 15px;
  font-weight: 400;
}
/* פריטים: grouped */
.q-grp {
  border: 1px solid var(--q-line);
  border-radius: 11px;
  overflow: hidden;
  margin-bottom: 9px;
}
.q-grp .gh {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--q-acc-soft);
  border-bottom: 1px solid var(--q-acc-line);
  font-size: 12px;
  font-weight: 800;
  color: var(--q-acc);
}
.q-grp .gr {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--q-line);
}
.q-grp .gr:last-child {
  border-bottom: 0;
}
.q-grp .gr span {
  color: var(--q-txt);
  font-weight: 600;
}
.q-grp .gr b {
  flex: none;
  font-weight: 700;
}

/* סה"כ */
.q-tot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 11px;
  padding: 12px 13px;
  border-radius: 11px;
  background: var(--q-acc);
  color: #fff;
}
.q-tot span {
  font-size: 13.5px;
  font-weight: 800;
}
.q-tot b {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.q-tot.dark {
  background: var(--q-dark);
  color: #fff;
}
.q-tot.dark b {
  color: var(--q-acc-l);
}
.q-tot.soft {
  background: var(--q-acc-soft);
  border: 1.5px solid var(--q-acc-line);
  color: var(--q-ink);
}
.q-tot.soft b {
  color: var(--q-acc);
}
.q-tot.band {
  border-radius: 0;
  margin: 11px -15px 8px;
  padding: 16px 15px;
  background: var(--q-dark);
  color: #fff;
}
.q-tot.band b {
  color: var(--q-acc-l);
}
.q-tot.center {
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: var(--q-dark);
  border-radius: 0;
  margin: 11px -15px 8px;
  padding: 20px 15px;
}
.q-tot.center b {
  color: var(--q-acc-l);
  font-size: 28px;
  font-weight: 400;
}
.q-tot.line {
  background: transparent;
  color: var(--q-ink);
  border-top: 2px solid var(--q-ink);
  border-radius: 0;
  padding: 11px 0 0;
}
.q-tot.line b {
  color: var(--q-ink);
}

/* תנאים + חתימה */
.q-terms div {
  display: flex;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.6;
  margin-top: 8px;
}
.q-terms div:first-of-type {
  margin-top: 5px;
}
.q-terms i {
  flex: none;
  font-style: normal;
  font-weight: 800;
  color: var(--q-acc);
  min-width: 74px;
}
.q-terms p {
  color: var(--q-txt);
  font-weight: 600;
}
.q-sign {
  border: 1.5px dashed var(--q-line);
  border-radius: 11px;
  padding: 13px;
  text-align: center;
  margin-top: 5px;
}
.q-sign span {
  font-size: 11.5px;
  color: var(--q-mut);
  font-weight: 700;
}
.q-sign .ln {
  height: 1px;
  background: var(--q-line);
  margin: 20px 14px 7px;
}
.q-btn {
  margin-top: 10px;
  height: 44px;
  border-radius: 11px;
  background: var(--q-acc);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14.5px;
  font-weight: 800;
  font-family: "Heebo", sans-serif;
}

.q {
  font-family: var(--q-font), Assistant, Arial, sans-serif;
  max-width: 840px;
  margin: auto;
  font-size: 16px;
}
.q-sec {
  padding: 24px;
}
.q-row,
.q-num,
.q-ser,
.q-grp {
  break-inside: avoid;
}
.q-row,
.q-num .c b,
.q-num .v,
.q-ser .c b,
.q-ser .v {
  font-size: 16px;
}
.q-top {
  padding: 24px;
}
.q-hero,
.q-cover {
  height: 260px;
}
.q-hero .t b,
.q-cover .fr b {
  font-size: 32px;
}
.q-hero .t {
  inset-inline: 24px;
  bottom: 24px;
}
.q-terms p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.q-terms div {
  font-size: 15px;
}
.q-cl {
  font-size: 20px;
}
.q-sign img {
  max-width: 320px;
  height: 110px;
  object-fit: contain;
  margin: auto;
}
.q-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.q-gallery img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}
.q-body-text {
  white-space: pre-wrap;
}
.q-no {
  direction: ltr;
}
.q-title b,
.q-above b,
.q-band > b {
  font-size: 30px;
}
.q-tot b {
  font-size: 30px;
}
@media print {
  body {
    background: white !important;
    margin: 0;
  }
  .q {
    border: 0;
    border-radius: 0;
  }
  .q-sec {
    break-inside: auto;
  }
  .q-sign {
    break-inside: avoid;
  }
  .q-top {
    break-after: avoid;
  }
  a {
    color: inherit;
  }
}
