/*
Theme Name:   Nirvata Child
Theme URI:    https://devahuti.in
Description:  A child theme of Nirvata
Author:       Sushil Singh
Author URI:   https://devahuti.in/sushil
Template:     nirvata
Version:      1.0.0
*/

/* You can add custom styles below */

.sitehead-menu-side #site-logo {
    margin-top: 10px;
    margin-bottom: 10px;
}

#site-logo {
    margin: 25px 0;
    background-color: transparent;
}

.panchang-details p label {
    width:150px;
    color: #007cba;
    font-weight: 600;
}

/* Astrologer Card */
.astrologer-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* Firefox */
}

.astrologer-slider::-webkit-scrollbar {
    display: none;                /* Chrome / Safari */
}

.astrologer-slider-wrapper {
    position: relative;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
}

.astro-prev,
.astro-next {
	pointer-events: auto;
    touch-action: manipulation;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    border: none;
    padding: 5px 14px;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0.8;
    z-index: 5;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.astro-prev:hover,
.astro-next:hover {
    background: #000;
    opacity: 1;
}

.astro-prev {
    left: 10px;
}

.astro-next {
    right: 10px;
}

.astro-list {
	display: flex;
    gap: 20px;
	width: max-content; /* VERY IMPORTANT */
    padding: 0;
    margin: 0;
    list-style: none;
}

.astro-card {
    flex: 0 0 220px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.astro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.astro-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.astro-img {
    width: 100%;
    height: 170px;
    text-align: center;
    margin: 20px 0;
    padding-top: 10px;
    overflow: hidden;    
}

.astro-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(223, 157, 0, 0.3);
    transition: transform 0.3s ease;
}

.astro-card:hover .astro-img img {
    transform: scale(1.05);
}

.astro-info {
    padding: 14px;
    text-align: center;
}

.astro-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 6px 0;
    color: #333;
}

.astro-rating {
    font-size: 0.9rem;
    color: #f39c12;
}

.stars {
    font-size: 1.1rem;
}

/* Astrologer Card */
.planet_panchang .head {
    width: 25%; /* Default (desktop) */
}

@media only screen and (max-width: 969px) {
    .planet_panchang .head {
        width: 40%; /* Mobile override */
    }
}

.planet_panchang h3 {
    margin: 0 0;
}

.planet_panchang ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
.planet_panchang li{
    margin-bottom: 5px;
}

.planet_panchang label{
    min-width: 160px;
}
.planet_panchang span{
}


/* Kundali */
.kundali-wrapper {
  position: relative;
  display: inline-block;
  max-width: 500px; /* adjust size */
  width: 100%;
}
.kundali-img {
  display: block;
  width: 100%;
  height: auto;
}
.house {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 18%;
  height: 18%;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre-line;
  pointer-events: none;
}

/* Exact diamond positions for ascendant.png */
#house-1  { top: 72%; left: 50%; }
#house-2  { top: 90%; left: 75%; }
#house-3  { top: 75%; left: 90%; }
#house-4  { top: 50%; left: 75%; }
#house-5  { top: 25%; left: 90%; }
#house-6  { top: 10%; left: 75%; }
#house-7  { top: 25%; left: 50%; }
#house-8  { top: 10%; left: 25%; }
#house-9  { top: 25%; left: 10%; }
#house-10 { top: 50%; left: 25%; }
#house-11 { top: 75%; left: 10%; }
#house-12 { top: 90%; left: 25%; }
