/* =========================================================
   Webfonts: Status Quo
   (CSS file is inside /assets so paths are ./fonts/...)
   ========================================================= */
@font-face{
  font-family: "Status Quo";
  src: url("./fonts/StatusQuo200.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Status Quo";
  src: url("./fonts/StatusQuo400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Status Quo";
  src: url("./fonts/StatusQuo600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Status Quo";
  src: url("./fonts/StatusQuo800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Quick helpers (optional) */
.sq200 { font-family: "Status Quo", sans-serif; font-weight: 200; }
.sq400 { font-family: "Status Quo", sans-serif; font-weight: 400; }
.sq600 { font-family: "Status Quo", sans-serif; font-weight: 600; }
.sq800 { font-family: "Status Quo", sans-serif; font-weight: 800; }


/* =========================================================
   Mini-site base
   ========================================================= */
.is-horoscope-mini-site .hz-wrap{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}


/* page background wrapper */
main.hz-main{
  padding: 20px;
  background: #fef5ec;
}

.hz-hero{
  padding: 28px 0 12px;
}

.hz-subtitle{
  margin: 0;
  opacity: .8;
  font-size: 16px;
  text-align: center;
}

.hz-empty{
  padding: 20px 0;
  opacity: .8;
}

.hz-list{
  padding: 12px 0 32px;
}


/* =========================================================
   Header (centered)
   ========================================================= */
.hz-header--center{
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.hz-header__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hz-brand{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hz-brand__logo{
  display: block;
  width: 160px;
  height: auto;
}

.hz-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  background: #ffde59;
  color: #111;
  transition: transform .12s ease, filter .12s ease;
  font-size: 18px;
  font-family: "Status Quo", sans-serif;
  font-weight: 600 !important;
}

.hz-cta:hover{
  filter: brightness(0.98);
  color: rgb(91,192,76);
  transform: translateY(-1px);
}
.hz-cta:active{ transform: translateY(0); }
.hz-cta:focus-visible{
  outline: 3px solid rgba(0,0,0,.22);
  outline-offset: 3px;
}

@media (min-width: 900px){
  .hz-header--center{ padding: 0 0 10px; }
}


/* =========================================================
   Title line (text with side lines + 4 dots)
   ========================================================= */
.hz-title-line{
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 20px;
}

.hz-title-line__text{
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.hz-title-line__line{
  flex: 1;
  height: 2px;
  background: rgba(0,0,0,.35);
  position: relative;
}

.hz-title-line__line::before,
.hz-title-line__line::after{
  content:"";
  width: 6px;
  height: 6px;
  background: #111;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* right line: far right + near title */
.hz-title-line__line--right::before{ right: 0; }
.hz-title-line__line--right::after{ left: 0; }

/* left line: far left + near title */
.hz-title-line__line--left::before{ left: 0; }
.hz-title-line__line--left::after{ right: 0; }

@media (max-width: 520px){
  .hz-title-line{ gap: 10px; }
  .hz-title-line__text{ font-size: 22px; }
}


/* =========================================================
   Archive title image (Horoscope-title.png)
   ========================================================= */
.hz-archive-title-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 20px;
}

.hz-archive-title-img{
  display: block;
  max-width: min(520px, 70vw);
  max-height: 80px;
  height: auto;
  object-fit: contain;
}


/* =========================================================
   Zodiac grid (archive /horoscopes/)
   ========================================================= */
.hz-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
  padding: 18px 0 40px;
}

.hz-card{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  text-decoration: none;
}

.hz-zimg{
  display: block;
  width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0.9;
}



/* =========================================================
   Taxonomy title image (Sign_xxx.png) + fade-in
   ========================================================= */
.hz-ztitle-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 0 18px;
  text-align: center;
}

.hz-ztitle-img{
  display: block;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(6px);
  animation: hzFadeIn .6s ease-out forwards;
}

@keyframes hzFadeIn{
  to{ opacity: 1; transform: none; }
}

/* Back link */
.hz-back-wrap{
  text-align: center;
  margin: 8px 0 20px;
}
.hz-back-link{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
  color: #333;
}
.hz-back-link:hover{
  background: #ececec;
  border-color: rgba(0,0,0,.25);
  color: #111;
}


/* =========================================================
   Featured (latest post) + Older list
   ========================================================= */
.hz-featured{
  margin: 14px auto 18px;
  max-width: 920px;
}

.hz-featured__inner{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden; /* safety */
}

.hz-featured__icon{
  display: flex;
  align-items: center;
  justify-content: center;
}

.hz-featured__icon img{
  width: min(140px, 28vw);
  height: auto;
  object-fit: contain;
  display: block;
}

.hz-featured__content{
  min-width: 0; /* critical for grid */
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.hz-featured__title{
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.hz-featured__meta{
  margin: 0 0 10px;
  font-size: 13px;
  opacity: .75;
}

.hz-featured__excerpt{
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hz-featured__divider{
  margin-top: 10px;
}
.hz-featured__divider img{
  width: 100%;
  height: auto;
  display: block;
  max-width: 250px;
  margin: 0 auto;
}

.hz-older{
  max-width: 920px;
  margin: 0 auto 30px;
}

.hz-older__item{
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.hz-older__link{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 6px;
  text-decoration: none;
  color: inherit;
}

.hz-older__title{ font-weight: 400; font-size: 22px; }
.hz-older__meta{
  font-size: 13px;
  opacity: .7;
  white-space: nowrap;
}

/* Keep featured horizontal on mobile */
@media (max-width: 680px){
  .hz-featured__inner{
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }
  .hz-featured__icon img{
    width: 92px;
    max-width: 92px;
  }
  .hz-featured__excerpt{ font-size: 18px; line-height: 1.4; }
}

@media (max-width: 420px){
  .hz-featured__inner{ grid-template-columns: 74px 1fr; }
  .hz-featured__icon img{ width: 74px; max-width: 74px; }
}


/* =========================================================
   Footer (mini-site) + dividers + share
   ========================================================= */
.hz-footer--mini{
  border-top: 1px solid rgba(0,0,0,.10);
  background: #fff;
  padding: 6px 0 16px !important;
}

.hz-foot-section{
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section.hz-foot-section.hz-share{
  display: flex;
  flex-direction: row-reverse;
}

.hz-share-icons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-bottom: 12px;
}

.hz-icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border: 1px solid rgba(0,0,0,.10);
}

.hz-icon svg{
  width: 22px;
  height: 22px;
  fill: #111;
}

.hz-share-title{
  text-align:center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  margin-left: 12px;
}

/* Divider line with dots */
.hz-divider{
  height: 0;
  border-top: 2px solid rgba(0,0,0,.35);
  margin: 8px 0;
  position: relative;
}
.hz-divider::before,
.hz-divider::after{
  content:"";
  position:absolute;
  top:-4px;
  width: 6px;
  height: 6px;
  background: #111;
  border-radius: 50%;
}
.hz-divider::before{ left: 0; }
.hz-divider::after{ right: 0; }


/* =========================================================
   Newsletter form (keep button on side always)
   ========================================================= */
.hz-nl-title{
  text-align:center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hz-nl-form{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
  box-sizing: border-box;
  flex-direction: column;
      margin: 0;
	  max-width: 450px;
}

/* עטיפה פנימית — כאן שומרים על השורה */
.hz-nl-rowwrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap; /* חשוב */
  box-sizing: border-box;
}

/* הודעה — שורה חדשה תמיד */
.hz-nl-msg {
  margin-top: 10px;
  text-align: center;
}

.hz-nl-fields{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.hz-nl-row{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hz-nl-label{
  width: 70px;
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
}

.hz-nl-input{
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  height: 40px;
  border-radius: 14px;
  border: 2px solid rgba(0,0,0,.25);
  padding: 0 12px;
  outline: none;
  background: #fff;
}

.hz-nl-input:focus{
  border-color: rgba(0,0,0,.55);
}

.hz-nl-submit{
  flex: 0 0 auto;
  white-space: nowrap;

  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  margin-bottom: 3px;

  font-family: "Status Quo", sans-serif;
  font-weight: 600 !important;
}

/* Theme/global buttons override (keep as you had, but scoped is safer) */
.is-horoscope-mini-site .x-btn,
.is-horoscope-mini-site .button,
.is-horoscope-mini-site [type="submit"]{
  color: rgb(0 0 0) !important;
  background-color: rgb(250 218 87) !important;
}

input[type=tel]{ margin-bottom: 0; }

@media (max-width: 520px){
  .hz-nl-label{ width: 58px; }
  .hz-nl-row{ gap: 10px; }
}

/* About text */
.hz-about-title{
  text-align:center;
  margin: 6px 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.hz-about-text{
  text-align:center;
  margin: 0 auto;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.85;
}

.hz-foot-cta{
  display:flex;
  justify-content:center;
  padding: 14px 0 6px;
}

.hz-foot-bottom{
  text-align:center;
  font-size: 13px;
  opacity: .8;
  padding: 10px 0 4px;
}






/* Archive zodiac grid: force 4 columns on ALL widths */
.hz-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important; /* אפשר לכוונן */
}

/* Make cards smaller/denser on small screens */
@media (max-width: 680px){
  .hz-card{
    min-height: 64px;
    padding: 6px;
    border-radius: 12px;
	    border: none;
  }

}

@media (max-width: 420px){
  .hz-card{
    min-height: 56px;
    padding: 3px;
    border-radius: 10px;
  }

}


.hz-nl-msg {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.hz-nl-msg[data-ok="1"] { color: #1a7f37; }
.hz-nl-msg[data-ok="0"] { color: #b42318; }

button.hz-icon.hz-copy {
    background: none;
}

.visible {
	font-size: 14px;
	color: rgb(91,192,76);
	font-weight: 600;
}