/* ===== Main Panchang Container ===== */
.hpc-pro{
  font-family: Poppins, Arial, sans-serif;
  background:#4d90fe;
  padding:15px;
  border-radius:12px;
}

/* ===== City Selector ===== */
#hpc-city{
    padding: 6px 10px;
    border-radius: 6px;
    border: 3px solid #ff0b0b;
    font-size: 18px;
}

/* ===== Daily Panchang Cards : Forced 3×3 Grid ===== */
.hpc-pro .hpc-cards{
  display:grid !important;
  grid-template-columns:repeat(3, 1fr) !important;
  gap:15px !important;
  margin-top:15px;
  margin-bottom:15px;
}

.hpc-pro .hpc-card{
  background: linear-gradient(135deg, #ff1a00, #edd000);
  color:#fff;
  padding:12px;
  border-radius:10px;
  text-align:center;
  font-weight:600;
  width:100% !important;
}

/* Responsive for Panchang cards */
@media(max-width:768px){
  .hpc-pro .hpc-cards{
    grid-template-columns:repeat(2,1fr) !important;
  }
}

@media(max-width:480px){
  .hpc-pro .hpc-cards{
    grid-template-columns:1fr !important;
  }
}

/* ===== Festival Badge ===== */
.hpc-festival{
  margin-top:10px;
  padding:8px;
  background:#ffe082;
  border-radius:8px;
  font-weight:bold;
}

/* ===== Monthly Calendar ===== */
.hpc-cal{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
}

.hpc-cal th,
.hpc-cal td{
  border:1px solid #ddd;
  padding:6px;
  text-align:center;
  vertical-align:top;
  font-size:14px;
}

.hpc-fest-day{
  background:#ffe082;
  font-weight:bold;
}

.hpc-fest-label{
  font-size:11px;
  color:#d84315;
  margin-top:3px;
}

/* ===== Horoscope Grid ===== */
.hpc-horo-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:15px;
  margin-top:15px;
  margin-bottom:20px;
}

@media(max-width:768px){
  .hpc-horo-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:480px){
  .hpc-horo-grid{
    grid-template-columns:1fr;
  }
}

/* ===== Horoscope Cards ===== */
.hpc-horo-card{
  background:#ffffff;
  border-radius:12px;
  padding:15px 12px;
  text-align:center;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.hpc-horo-icon{
  font-size:32px;
  margin-bottom:6px;
}

.hpc-horo-title{
  font-weight:700;
  margin-bottom:6px;
  color:#e65100;
}

.hpc-horo-text{
  font-size:14px;
  color:#444;
  line-height:1.5;
}


/* ===== Mobile Fix for Monthly Calendar ===== */
@media(max-width:768px){
  .hpc-cal{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }

  .hpc-cal th,
  .hpc-cal td{
    min-width:45px;
    font-size:13px;
    padding:5px;
  }
}

.hpc-festival a{
  color:#d84315;
  text-decoration:none;
  font-weight:bold;
}
.hpc-festival a:hover{
  text-decoration:underline;
}

.hpc-festival-box{
  background:#fff3e0;
  border-left:5px solid #ff9800;
  padding:10px 14px;
  margin-bottom:12px;
  border-radius:6px;
  font-weight:600;
}
.hpc-festival-box a{
  color:#d84315;
  text-decoration:none;
}
.hpc-festival-box a:hover{
  text-decoration:underline;
}
