/*
Theme Name: Kinzie
Template: hello-elementor
Version: 1.0.1
*/

/* ========================================
   OFFICER INFOBOX - CLEAN VERSION
   ======================================== */

.officer-infobox {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0;
  padding: 0;
  text-align: center;
}

.officer-infobox h2.officer-name {
  font-size: 1.6em;
  font-weight: 700;
  margin: 0.2em 0 0.1em;
  text-align: center;
}

.officer-infobox h3.officer-usma {
  font-size: 1.1em;
  font-weight: 500;
  margin: 0 0 1em;
  text-align: center;
  font-style: italic;
}

.officer-infobox .moh-medal img {
  max-width: 60px;
  display: block;
  margin: 0 auto 0.5em;
}

.officer-infobox table.officer-data {
  width: auto;
  margin: 0 auto;
  border-collapse: collapse;
  background: transparent !important;
}

.officer-infobox table.officer-data th,
.officer-infobox table.officer-data td {
  border: none !important;
  background: transparent !important;
  padding: 0.25em 0.75em;
  text-align: left;
  vertical-align: top;
  font-size: 0.95em;
  line-height: 1.5em;
}

.officer-infobox table.officer-data th {
  font-weight: 600;
  text-transform: uppercase;
  width: 35%;
}

/* ===== Format multi-item fields ===== */
.officer-infobox td {
  white-space: normal;
  word-break: normal;
}

/* Split comma-separated entries onto new lines */
.officer-infobox td {
  display: block;
}

.officer-infobox td br,
.officer-infobox td span {
  display: block;
}

/* JS or backend PHP already returns comma-separated items, so split with CSS */
.officer-infobox td::after {
  content: "";
}

/* No indent — clean vertical stacking */
.officer-infobox td {
  text-indent: 0;
  padding-left: 0.5em;
}

/* ========================================
   COLUMN / CONTAINER STYLING (OUTER)
   ======================================== */

/* Apply this class to the Elementor column that holds the infobox */
.kinzie-officer-container {
  background: #ffffff;
  border: double 6px #000000;
  border-radius: 10px;
  padding: 2em;
  margin: 1em auto;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  max-width: 600px;
}

/* Make sure Elementor doesn't add internal gaps that mess with the box */
.kinzie-officer-container > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

/* Optional: subtle hover effect */
.kinzie-officer-container:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}
