/* ==========================================================================
   procedure.css — Reza Nassab Plastic Surgery
   Shared component styles for procedure pages
   Author: Reza Nassab Plastic Surgery
   Version: 1.0 — May 2026
   Usage: <link rel="stylesheet" href="/assets/css/procedure.css">
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables (mirrors site palette)
   -------------------------------------------------------------------------- */
:root {
  --gold:    #c9a84c;
  --navy:    #1b3a5c;
  --black:   #000000;
  --white:   #ffffff;
  --body:    #2d3748;
  --muted:   #555555;
  --subtle:  #aaaaaa;
  --divider: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   At-a-Glance Table (.ata-table)
   Used in: breast augmentation, and any procedure with a quick-facts table
   -------------------------------------------------------------------------- */
.ata-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background: var(--black);
}

.ata-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--divider);
  font-size: 15px;
  vertical-align: top;
  background: var(--black);
}

.ata-table td:first-child {
  font-weight: 700;
  color: var(--gold);
  width: 42%;
  white-space: nowrap;
}

.ata-table td:last-child {
  color: var(--white);
}

.ata-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .ata-table td:first-child {
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   Recovery / Data Table (.rn-table)
   Used in: recovery timelines, comparison tables, data grids
   -------------------------------------------------------------------------- */
.rn-table {
  width: 100%;
  border-collapse: collapse;
}

.rn-table th {
  background: var(--black);
  color: var(--gold);
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.rn-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
  vertical-align: top;
  color: var(--white);
}

.rn-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.04);
}

.rn-table tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   Pill Badge (.rn-pill)
   Used in: tag clouds, keyword lists
   -------------------------------------------------------------------------- */
.rn-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: 4px;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Related Procedures Cluster Grid (.rn-cluster-grid / .rn-cluster-card)
   Used in: related procedures section, procedure hub pages
   -------------------------------------------------------------------------- */
.rn-cluster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .rn-cluster-grid {
    grid-template-columns: 1fr;
  }
}

.rn-cluster-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 6px;
  padding: 20px;
}

.rn-cluster-card h4 {
  color: var(--gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.rn-cluster-card a {
  display: block;
  color: var(--white);
  font-size: 14px;
  padding: 4px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rn-cluster-card a:hover {
  color: var(--gold);
}

.rn-cluster-card a:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   Location Cards (.rn-loc-card)
   Used in: location sections, clinic listings
   -------------------------------------------------------------------------- */
.rn-loc-card {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin-bottom: 20px;
  border-radius: 0 6px 6px 0;
}

.rn-loc-card h3 {
  color: var(--gold);
  margin-bottom: 8px;
}

.rn-loc-card p,
.rn-loc-card a {
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.7;
}

.rn-loc-card a {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Medically Reviewed Notice (.rn-reviewed)
   Used in: footer of all procedure pages
   -------------------------------------------------------------------------- */
.rn-reviewed {
  text-align: center;
  padding: 18px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 6px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--subtle);
}

.rn-reviewed strong {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Credential Chips Bar (.rn-cred-bar / .rn-cred-chip)
   Used in: answer-first intro, surgeon credential sections
   -------------------------------------------------------------------------- */
.rn-cred-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.rn-cred-chip {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
}
