/* Gemstone Suggestions calculator */

body.page-gemstone .gem-form-card {
  max-width: 460px;
  margin: 0 auto;
  overflow: visible;
}

body.page-gemstone .gem-hero {
  text-align: center;
  padding: 1.25rem 1rem 1rem;
  margin: 0 0 1rem;
  background: linear-gradient(180deg, rgba(122, 24, 52, 0.08) 0%, rgba(255, 205, 128, 0.2) 100%);
  border: 1px solid var(--cream-border);
  border-radius: 12px;
}

body.page-gemstone .gem-hero__label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

body.page-gemstone .gem-hero__name {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.75rem, 6vw, 2.35rem);
  font-weight: 700;
  color: var(--maroon, #7a1834);
  line-height: 1.15;
}

body.page-gemstone .gem-hero__meta {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

body.page-gemstone .gem-person {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

body.page-gemstone .gem-birth-line {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

body.page-gemstone .gem-birth-line--soft {
  margin-bottom: 1rem;
}

body.page-gemstone .gem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}

body.page-gemstone .gem-card {
  padding: 1rem;
  background: #fff;
  border: 2px solid var(--cream-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

body.page-gemstone .gem-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.1rem 0 0.4rem;
}

body.page-gemstone .gem-card__img {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 4px;
  background: #fff;
  border: 2px solid var(--cream-border);
  border-radius: 50%;
}

body.page-gemstone .gem-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.page-gemstone .gem-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

body.page-gemstone .gem-card__role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--maroon, #7a1834);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

body.page-gemstone .gem-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

body.page-gemstone .gem-card__name {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon, #7a1834);
}

body.page-gemstone .gem-card__hindi {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

body.page-gemstone .gem-card__reason {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  color: var(--ink);
}

body.page-gemstone .gem-card__benefit {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}

body.page-gemstone .gem-wear {
  list-style: none;
  margin: auto 0 0;
  padding: 0.6rem 0 0;
  border-top: 1px dashed var(--cream-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
}

body.page-gemstone .gem-wear li {
  display: flex;
  flex-direction: column;
}

body.page-gemstone .gem-wear__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

body.page-gemstone .gem-wear__value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

body.page-gemstone .gem-caution {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #fff6e8;
  border: 1px solid #e6cfa6;
  border-radius: 10px;
}

body.page-gemstone .gem-caution__intro {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}

body.page-gemstone .gem-caution__list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink);
}

body.page-gemstone .gem-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid var(--cream-border);
  border-radius: 10px;
}

body.page-gemstone .gem-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

body.page-gemstone .gem-table th,
body.page-gemstone .gem-table td {
  padding: 0.5rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-border);
  white-space: nowrap;
}

body.page-gemstone .gem-table th {
  background: var(--cream-card);
  font-weight: 700;
  color: var(--maroon, #7a1834);
}

body.page-gemstone .gem-table tr:last-child td {
  border-bottom: none;
}

body.page-gemstone .gem-table__hindi {
  color: var(--muted);
  font-weight: 600;
}

body.page-gemstone .gem-table__gem {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body.page-gemstone .gem-table__img {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 2px;
  object-fit: contain;
  background: #fff;
  border: 1.5px solid var(--cream-border);
  border-radius: 50%;
}

body.page-gemstone .gem-tips {
  margin: 0 0 1rem;
}

body.page-gemstone .gem-tips__list {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
}

body.page-gemstone .gem-tips__list li {
  margin-bottom: 0.35rem;
}
