1420 pound 20/*
Theme Name: GeneratePress Child
Theme URI: https://periodictablehub.in
Template: generatepress
Author: Murali Krishna
Author URI: https://periodictablehub.in
Description: Child theme for Periodic Table Hub
Tags: education, science, periodic-table
Version: 1.0.0
*/

/* ================================
   GLOBAL STYLES
================================ */

/* ===== Element Page Layout ===== */

/* ===== Element Page Layout ===== */

/* ===== Element Page Layout ===== */

/* ===== Element Page Layout ===== */

/* ========== ELEMENT PAGE LAYOUT ========== */

/* ========== ELEMENT PAGE LAYOUT ========== */

.element-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: #cfd8e6;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Title */
.element-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 40px;
}

/* Two main columns */
.element-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Each column */
.element-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Section box */
.element-section {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border-left: 6px solid #3b82f6;
}

/* Section headings */
.element-section h2 {
  font-weight: 800;      /* makes heading bold */    
  font-size: 20px;
  margin-bottom: 14px;
  color: #1e40af;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 6px;
}

/* Row layout: label + value */
.row {
  display: grid;
  grid-template-columns: 2fr 1fr; /* label wider */
  padding: 6px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.row:last-child {
  border-bottom: none;
}

/* Labels */
.row span {
  color: #222222;
  font-weight: 600;
}

/* Values */
.row strong {
  text-align: right;
  color: #111111;
  font-weight: 800;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .element-columns {
    grid-template-columns: 1fr;
  }

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

  .row strong {
    text-align: left;
  }
}

}
/* ========== CATEGORY COLOR SYSTEM ========== */

/* Alkali metals */
.category-alkali-metal .element-section {
  border-left-color: #dc2626;
}

/* Alkaline earth metals */
.category-alkaline-earth-metal .element-section {
  border-left-color: #ea580c;
}

/* Transition metals */
.category-transition-metal .element-section {
  border-left-color: #2563eb;
}

/* Metalloids */
.category-metalloid .element-section {
  border-left-color: #16a34a;
}

/* Nonmetals */
.category-nonmetal .element-section {
  border-left-color: #7c3aed;
}

/* Noble gases */
.category-noble-gas .element-section {
  border-left-color: #ca8a04;
}

/* Halogens */
.category-halogen .element-section {
  border-left-color: #0891b2;
}

/* Lanthanides */
.category-lanthanide .element-section {
  border-left-color: #be185d;
}

/* Actinides */
.category-actinide .element-section {
  border-left-color: #4f46e5;
}

