/* Monthly Horoscope - Clean Premium CSS (Grid + Detail) */

/* =========================
   COMMON
========================= */
.edhw-wrap { width: 100%; }
.edhw-title {
  text-align: center;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

/* Notes */
.edhw-note{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,.18);
  background: rgba(255,255,255,.50);
}

/* =========================
   GRID (Open feel)
========================= */
.edhw-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.edhw-card{
  border: none;
  border-radius: 0;
  padding: 12px 10px;
  background: transparent;
  text-align: center;
  transition: transform .18s ease, opacity .18s ease;
}

.edhw-card:hover{
  transform: translateY(-2px);
  opacity: .98;
}

.edhw-sign-icon-wrap{
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.edhw-sign-icon{
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
}

.edhw-sign-icon-fallback{
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
}

.edhw-sign-name{
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 6px;
}

.edhw-sign-date{
  opacity: .75;
  font-size: .95rem;
  margin-top: 4px;
}

.edhw-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.35);
  text-decoration: none;
  font-weight: 600;
}
.edhw-btn.is-disabled{
  opacity: .55;
  cursor: not-allowed;
}

/* =========================
   DETAIL (Premium / Less boxy)
========================= */
.edhw-detail{
  width: 100%;
  max-width: 100%;
}

/* HERO open (not boxed) */
.edhw-detail-hero{
  display:flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  margin-bottom: 10px;
}

.edhw-d-hero-top{
  display:flex;
  gap: 14px;
  align-items: center;
}

.edhw-d-sign-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.edhw-d-sign-icon img{
  width: 64px;
  height: 64px;
  object-fit: contain;
  display:block;
}

.edhw-d-icon-fallback{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  display:inline-block;
}

.edhw-d-title{
  font-size: 2rem;
  line-height: 1.1;
  margin: 0;
}

.edhw-d-month{
  opacity: .75;
  margin-top: 6px;
  font-size: 1.05rem;
}

/* Word of the Month (only in hero) */
.edhw-word{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 220px;
}
.edhw-word-label{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}
.edhw-word-value{
  font-weight: 700;
  margin-top: 6px;
}

/* Row 1: Video left + Days right */
.edhw-top-row{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
  margin: 14px 0 16px;
}

/* Video 16:9 premium */
.edhw-video{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
.edhw-video iframe,
.edhw-video embed,
.edhw-video object{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Days chips (not boxy) */
.edhw-days{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.edhw-chip{
  border: 0;
  background: rgba(0,0,0,.04);
  border-radius: 14px;
  padding: 10px 12px;
  line-height: 1.3;
}
.edhw-chip.is-warn{
  background: rgba(180,0,0,.06);
}
.edhw-chip strong{
  font-weight: 700;
}

/* Description full width (soft) */
.edhw-desc{
  border: 0;
  border-radius: 16px;
  padding: 18px;
  background: rgba(0,0,0,.03);
}
.edhw-desc p:first-child{ margin-top: 0; }
.edhw-desc p:last-child{ margin-bottom: 0; }

/* CTA inside description */
.edhw-desc-cta{
  margin-top: 14px;
}
.edhw-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

/* Other signs */
.edhw-other{
  margin-top: 18px;
}
.edhw-other-title{
  font-weight: 700;
  margin-bottom: 10px;
}
.edhw-other-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.edhw-mini-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 10px 10px;
  background: rgba(255,255,255,.55);
  text-decoration: none;
  display: flex;
  gap: 10px;
  align-items: center;
}
.edhw-mini-card.is-disabled{
  opacity: .55;
}
.edhw-mini-icon{
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.edhw-mini-icon-fallback{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
  display: inline-block;
}
.edhw-mini-name{
  font-weight: 600;
  font-size: .95rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px){
  .edhw-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .edhw-other-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }

  .edhw-top-row{
    grid-template-columns: 1fr;
  }

  .edhw-detail-hero{
    flex-direction: column;
    align-items: flex-start;
  }

  .edhw-word{
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 767px){
  .edhw-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .edhw-other-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }

  .edhw-d-title{ font-size: 1.5rem; }
  .edhw-d-sign-icon img,
  .edhw-d-icon-fallback{ width: 52px; height: 52px; }
}