/*!
Theme Name: Adneuris
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Greg Falken
Author URI: https://www.webdancers.com/
Description: A child theme for Kadence. DO NOT REMOVE the Kadence theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* Kadence Gallery Fix to remove spacing around sliders */
.kb-gallery-ul.kb-gallery-type-slider .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic.kb-gallery-image-ratio-inherit img {
    position: relative !important;
}

.kb-gallery-ul.kb-gallery-type-slider .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic.kb-gallery-image-ratio-inherit {
    height: auto !important;
    padding-bottom: 0 !important;
}
/* Kadence Gallery Fix to remove spacing around sliders */
.kb-gallery-ul.kb-gallery-type-slider .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic.kb-gallery-image-ratio-inherit img {
    position: relative !important;
}

.kb-gallery-ul.kb-gallery-type-slider .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic.kb-gallery-image-ratio-inherit {
    height: auto !important;
    padding-bottom: 0 !important;
}

/* Class applied to all reference notes on site */
.smalltype {
	font-size: .75em;
}

/* ============================================================
   Pipeline Chart
   Add to child theme style.css
   All rules scoped to .pipeline-wrap and .pipeline-cards
   to avoid conflicts with Kadence theme styles.
   ============================================================ */

/*  Variables (pipeline-scoped, not :root, to avoid theme conflicts)  */
.pipeline-wrap,
.pipeline-cards {
  --pc-header-bg:    #1a1a1a;
  --pc-header-text:  #ffffff;
  --pc-border:       #d0d5dd;
  --pc-bar-fill:     #00aecc;
  --pc-bar-track:    #d6dde6;
  --pc-product-bg:   #f0f2f5;
  --pc-text-dark:    #1a1a1a;
  --pc-text-mid:     #444444;
  --pc-text-light:   #888888;
}

/*  Outer wrapper  */
.pipeline-wrap {
  width: 100%;
  font-size: 16px;
  box-sizing: border-box;
}

/*  Table reset (override any Kadence table styles)  */
.pipeline-wrap .pipeline-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  background: none;
}

/* Column widths */
.pipeline-wrap .pipeline-table col.col-product    { width: 14%; }
.pipeline-wrap .pipeline-table col.col-indication { width: 24%; }
.pipeline-wrap .pipeline-table col.col-phase      { width: calc(62% / 6); }

/*  Header row  */
.pipeline-wrap .pipeline-table thead th {
  background: var(--pc-header-bg);
  color: var(--pc-header-text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 10px;
  border-right: 1px solid #333333;
  border-bottom: none;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}
.pipeline-wrap .pipeline-table thead th:last-child {
  border-right: none;
}
.pipeline-wrap .pipeline-table thead th.col-h-phase {
  text-align: center;
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
}
.phase-th-break {
  display: block;
}

/*  Body rows  */
.pipeline-wrap .pipeline-table tbody tr {
  border-bottom: 1px solid var(--pc-border);
  background: none;
}
.pipeline-wrap .pipeline-table tbody tr:last-child {
  border-bottom: none;
}
.pipeline-wrap .pipeline-table td {
  padding: 0;
  vertical-align: middle;
  border-right: 1px solid var(--pc-border);
  box-sizing: border-box;
}
.pipeline-wrap .pipeline-table td:last-child {
  border-right: none;
}

/* Product cell - rotated label, spans all indication rows */
.pipeline-wrap .pipeline-table td.cell-product {
  background: var(--pc-product-bg);
  text-align: center;
  vertical-align: middle;
  border-right: 2px solid var(--pc-border);
  padding: 0;
}
.pipeline-wrap .product-cell-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 12px 4px;
}
.pipeline-wrap .product-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 15px;
  font-weight: 600;
  color: var(--pc-text-dark);
  letter-spacing: 0.04em;
  white-space: nowrap;
  gap: 6px;
}
.pipeline-wrap .product-sublabel {
  display: block;
  writing-mode: horizontal-tb;
  transform: rotate(180deg);
  font-size: 12px;
  font-weight: 400;
  color: var(--pc-text-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Indication cell */
.pipeline-wrap .pipeline-table td.cell-indication {
  padding: 12px;
  font-size: 15px;
  color: var(--pc-text-mid);
  background: #ffffff;
}

/* Phase bar cell */
.pipeline-wrap .pipeline-table td.cell-phase-bar {
  padding: 10px 6px;
  background: #ffffff;
  border-right: none;
}

/*  Progress bars (table version)  */
.pipeline-wrap .bar-track {
  position: relative;
  height: 22px;
  background: var(--pc-bar-track);
  border-radius: 11px;
  overflow: visible;
}
.pipeline-wrap .bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--pc-bar-fill);
  border-radius: 11px;
  transition: width 0.6s ease;
}

/*  Card layout (< 640px) - hidden by default  */
.pipeline-cards {
  display: none;
  box-sizing: border-box;
}

.pipeline-cards .chart-header {
  background: var(--pc-header-bg);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 14px;
  letter-spacing: 0.02em;
}
.pipeline-cards .product-group {
  border: 1px solid var(--pc-border);
  border-top: none;
}
.pipeline-cards .product-name {
  background: var(--pc-product-bg);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid var(--pc-border);
  letter-spacing: 0.04em;
}
.pipeline-cards .trn-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--pc-text-light);
  margin-left: 8px;
}
.pipeline-cards .indication-row {
  padding: 12px 14px;
  border-bottom: 1px solid var(--pc-border);
}
.pipeline-cards .indication-row:last-child {
  border-bottom: none;
}
.pipeline-cards .indication-name {
  font-size: 15px;
  color: var(--pc-text-mid);
  margin-bottom: 8px;
}
.pipeline-cards .phase-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.pipeline-cards .phase-label {
  font-size: 11px;
  color: var(--pc-text-light);
  text-align: center;
  flex: 1;
  line-height: 1.2;
}
.pipeline-cards .bar-track {
  position: relative;
  height: 18px;
  background: var(--pc-bar-track);
  border-radius: 9px;
  overflow: visible;
}
.pipeline-cards .bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--pc-bar-fill);
  border-radius: 9px;
}
.pipeline-cards .phase-reached {
  font-size: 13px;
  color: var(--pc-bar-fill);
  font-weight: 600;
  margin-top: 5px;
}

/*  Responsive breakpoint  */
@media (max-width: 640px) {
  .pipeline-wrap  { display: none; }
  .pipeline-cards { display: block; }
