/* Provider hub, city, and brand pages (Wave 3) */

.wk-provider-page {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .wk-provider-page {
    padding-bottom: 90px;
  }
}

/* Override .biz-section { padding: 64px 0 } — header is sticky but in-flow; small gap only */
.wk-provider-page .wk-provider-hero.biz-section {
  padding: 1.5rem 0 2rem;
}

@media (max-width: 767px) {
  .wk-provider-page .wk-provider-hero.biz-section {
    padding: 1.25rem 0 1.25rem;
  }
}

.wk-provider-hero .zip-form {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Provider city pages: reuse ZIP weather hero (community-hub.css + wk-weather.js) */
#wk-community-preview.wk-provider-city-weather {
  --wk-paper: #faf9f6;
}

#wk-community-preview.wk-provider-city-weather .wk-breadcrumbs--below-hero {
  max-width: 1032px;
  margin: 0 auto;
  padding: 10px 5% 6px;
  font-size: 12px;
  color: var(--wk-muted, #666c78);
  background: var(--wk-paper, #faf9f6);
}

#wk-community-preview.wk-provider-city-weather .wk-breadcrumbs--below-hero ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wk-provider-page #wk-community-preview.wk-provider-city-weather .wk-weather-copy .zip-form {
  margin-top: 1.25rem;
  max-width: 28rem;
}

.wk-provider-page .wk-provider-city-catalog.biz-section {
  padding-top: 1.25rem;
}

.wk-provider-page .wk-provider-city-catalog .wk-jumpbar {
  margin: 0 0 1.25rem;
}

/* Hub index: reuse .lp-hero from css/pages/lp.css (see texas-electricity-plans.html) */
.wk-provider-page .wk-provider-lp-hero .wk-breadcrumbs {
  margin: 0 0 0.5rem;
  text-align: left;
}

.wk-provider-page .wk-provider-lp-hero .wk-breadcrumbs ol {
  justify-content: flex-start;
}

.wk-provider-hub-jump {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 24px 0;
}

/* In-page jump nav — same pattern as texas.html / areas-served (community-hub .wk-jumpbar) */
.wk-provider-page .wk-jumpbar {
  display: flex;
  gap: 21px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 16px 20px;
  font-size: 12px;
  background: var(--wk-white, #fff);
  border: 1px solid var(--wk-border-section, #e5eaf4);
  border-radius: 12px;
  box-shadow: var(--wk-card-shadow);
}

.wk-provider-page .wk-jumpbar > span {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--wk-muted, #64748b);
  margin-right: auto;
  text-transform: uppercase;
}

.wk-provider-page .wk-jumpbar a {
  color: var(--wk-blue-500, #2563eb);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.wk-provider-page .wk-jumpbar a:hover {
  color: var(--wk-blue-600, #1d4ed8);
}

@media (max-width: 767px) {
  .wk-provider-page .wk-provider-lp-hero .wk-breadcrumbs {
    margin: 0 0 0.35rem;
    font-size: 12px;
    text-align: center;
  }

  .wk-provider-page .wk-provider-lp-hero .wk-breadcrumbs ol {
    justify-content: center;
  }

  .wk-provider-page .wk-provider-lp-hero .lp-hero-content {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  /* Brand profiles: same ZIP-first mobile lp-hero as hub (lp.css); belt if lp.min is stale. */
  .wk-provider-page.lp-page .wk-provider-lp-hero {
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-height: 0;
  }

  .wk-provider-page.lp-page .wk-provider-lp-hero::before {
    display: none;
  }

  .wk-provider-page.lp-page .wk-provider-lp-hero .lp-hero-content {
    order: 1;
    text-align: center;
  }

  .wk-provider-page.lp-page .wk-provider-lp-hero .lp-hero-content > * {
    max-width: none;
  }

  .wk-provider-page.lp-page .wk-provider-lp-hero .lp-hero-content .pp-hero-eyebrow {
    justify-content: center;
  }

  .wk-provider-page.lp-page .wk-provider-lp-hero .lp-hero-content .zip-form--hero {
    margin: 0 auto;
    max-width: 320px;
  }

  .wk-provider-page.lp-page .wk-provider-lp-hero .lp-hero-visual {
    position: relative;
    order: 2;
    width: 100%;
    height: 46vw;
    min-height: 180px;
    max-height: 260px;
  }

  .wk-provider-page.lp-page .wk-provider-lp-hero .lp-hero-mascot {
    right: 6%;
    height: 96%;
    max-height: none;
  }

  .wk-provider-hub-jump {
    padding: 0.35rem 16px 0;
  }

  .wk-provider-page .wk-jumpbar {
    gap: 13px;
    padding: 18px 16px;
  }

  .wk-provider-page .wk-jumpbar > span {
    width: 100%;
    margin-right: 0;
  }
}

.wk-provider-page .wk-provider-rates.biz-section {
  padding-top: 2rem;
}

.wk-provider-page .wk-provider-intro-defer.biz-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.wk-breadcrumbs {
  margin: 0 0 0.75rem;
  font-size: 13px;
  line-height: 1.4;
  color: var(--wk-muted, #64748b);
}

.wk-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wk-breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.wk-breadcrumbs li + li::before {
  content: '›';
  margin-right: 0.35rem;
  color: var(--wk-muted, #94a3b8);
  font-weight: 500;
}

.wk-breadcrumbs a {
  color: var(--wk-muted, #64748b);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wk-breadcrumbs a:hover {
  color: var(--wk-blue-600, #2563eb);
}

.wk-breadcrumbs [aria-current='page'] {
  color: var(--wk-near-black, #0f172a);
}

.wk-provider-h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--wk-near-black, #0f172a);
  margin: 0 0 0.75rem;
}

@media (min-width: 768px) {
  .wk-provider-h1 {
    font-size: 2.5rem;
  }
}

.wk-provider-lede {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  max-width: 38rem;
  color: var(--wk-near-black, #0f172a);
}

.wk-provider-page .biz-section p a,
.wk-provider-page .biz-section li a,
.wk-provider-page .biz-faq-answer-inner a,
.wk-provider-page .as-industry-pills a.as-industry-pill,
.wk-provider-page .wk-city-pill-grid a.as-industry-pill,
.wk-provider-page .wk-provider-table a {
  color: var(--wk-blue-600, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wk-provider-page .as-industry-pills a.as-industry-pill {
  color: var(--wk-blue-600, #2563eb);
}

.wk-provider-compare-intro {
  margin-bottom: 1.25rem;
}

.wk-provider-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.wk-provider-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.wk-provider-table-note {
  margin: 0.75rem 0 0;
  max-width: 52rem;
}

.wk-provider-page .wk-list-note {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--wk-muted, #64748b);
  margin: 0.5rem 0 0;
}

.wk-provider-table th,
.wk-provider-table td {
  border: 1px solid #e2e8f0;
  padding: 0.55rem 0.65rem;
  vertical-align: top;
}

.wk-provider-table th[scope='row'] {
  font-weight: 500;
  min-width: 9rem;
}

.wk-provider-table th[scope='row'] img {
  display: block;
  margin-bottom: 0.35rem;
}

.wk-th-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--wk-muted, #64748b);
}

.wk-muted {
  color: var(--wk-muted, #64748b);
}

.wk-city-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-electric--sm {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
}

.wk-rate-stack {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wk-rate-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  line-height: 1.35;
}

.wk-rate-line-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--wk-muted, #64748b);
}

.wk-rate-line-value {
  font-weight: 500;
  text-align: right;
}

@media (max-width: 640px) {
  .wk-provider-page .wk-provider-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wk-provider-table--hub {
    min-width: 56rem;
    font-size: 0.82rem;
  }

  .wk-provider-table--city {
    min-width: 0;
    width: max-content;
    font-size: 0.82rem;
  }

  .wk-provider-table--hub th:not(:first-child),
  .wk-provider-table--hub td:not(:first-child),
  .wk-provider-table--city th:not(:first-child),
  .wk-provider-table--city td:not(:first-child) {
    white-space: nowrap;
  }

  .wk-provider-table--hub th:first-child,
  .wk-provider-table--hub td:first-child,
  .wk-provider-table--city thead th:first-child,
  .wk-provider-table--city tbody th[scope='row'] {
    position: sticky;
    left: -1px;
    z-index: 2;
    width: 8.5rem;
    min-width: 8.5rem;
    max-width: 8.5rem;
    white-space: normal;
    box-sizing: border-box;
    background: var(--wk-white, #fff);
    box-shadow: 2px 0 4px rgba(15, 23, 42, 0.06);
  }

  .wk-provider-table--hub thead th:first-child,
  .wk-provider-table--city thead th:first-child {
    z-index: 3;
  }
}

@media (min-width: 641px) {
  .wk-provider-table caption {
    display: none;
  }
}

.wk-provider-page .wk-provider-plan-list {
  margin: 1.25rem 0 1.5rem;
}

/* Single-column list; cards.css swaps fv-card vs plan-card-horizontal at 470px */
.wk-provider-page .wk-provider-plan-list .business-card.fv-card {
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
  box-sizing: border-box;
}

.wk-provider-page .plan-card-horizontal .wk-provider-horiz-profile {
  display: block;
  margin-top: 0.35rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--wk-blue-600, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-align: center;
}

.wk-provider-page .plan-card-horizontal .wk-provider-horiz-profile:hover {
  color: var(--wk-blue-500, #3b82f6);
}

/* Provider horizontal list: flex middle column; keep metrics + CTA widths from cards.css */
.wk-provider-page .wk-provider-plan-list .plan-card-horizontal-wrapper {
  max-width: 100%;
  box-sizing: border-box;
}

.wk-provider-page .wk-provider-plan-list .plan-card-horizontal {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.wk-provider-page .wk-provider-plan-list .plan-info {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.wk-provider-page .wk-provider-plan-list .plan-card-horizontal .metrics-group,
.wk-provider-page .wk-provider-plan-list .plan-card-horizontal .cta-section {
  flex-shrink: 0 !important;
}

/* City catalog cards: no plan-info column — pin CTA to the card’s right edge (product-results behavior). */
@media (min-width: 470px) {
  .wk-provider-page .wk-provider-horiz-card--city .plan-card-horizontal .metrics-group {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .wk-provider-page .wk-provider-horiz-card--city .plan-card-horizontal .metrics-row {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .wk-provider-page .wk-provider-horiz-card--city .plan-card-horizontal .term-section,
  .wk-provider-page .wk-provider-horiz-card--city .plan-card-horizontal .price-section {
    flex: 1 1 110px !important;
    width: auto !important;
    max-width: 148px !important;
  }

  .wk-provider-page .wk-provider-horiz-card--city .plan-card-horizontal .cta-section {
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
}

.wk-provider-page .wk-provider-plan-list .wk-provider-horiz-profile {
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
  word-break: break-word;
}

@media (min-width: 470px) and (max-width: 560px) {
  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal {
    gap: 4px !important;
    padding: 8px 6px !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .provider-section {
    width: 58px !important;
    padding: 0 4px !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .metrics-row {
    gap: 4px !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .term-section,
  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .price-section {
    width: 50px !important;
    padding: 4px 2px !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .price-label {
    font-size: 7px !important;
    line-height: 1.15 !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .term-value,
  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .price-value {
    font-size: 14px !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .cta-section {
    width: 82px !important;
    padding-left: 4px !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .start-saving-btn {
    padding: 6px 6px !important;
    font-size: 11px !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-description {
    -webkit-line-clamp: 2 !important;
  }
}

@media (min-width: 470px) and (max-width: 900px) {
  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .cta-section {
    width: 118px !important;
    padding-left: 10px !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .start-saving-btn {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  .wk-provider-page .wk-provider-plan-list .plan-card-horizontal .phone-link {
    font-size: 10px !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.2;
  }
}

.wk-provider-compare-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
  color: var(--wk-near-black, #0f172a);
}

.wk-provider-empty-rate-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 1.5rem 0 0.35rem;
  color: var(--wk-near-black, #0f172a);
}

.wk-provider-empty-rate-note {
  margin-top: 0;
}

@media (max-width: 767px) {
  .wk-provider-table-note.wk-list-note + .wk-provider-compare-heading {
    margin-top: 2.5rem;
  }
}

.wk-fv-card--city .fv-body-left .fv-logo {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .wk-provider-compare-heading {
    font-size: 1.5rem;
  }
}

.wk-provider-city-table-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 2rem 0 0.5rem;
}
