/**
 * wc-health-conditions.css
 * Styles for the Find a Takeda Clinical Trial section.
 * Two-column layout: left panel + Swiper card slider.
 */

/* ============================================================
   SECTION SHELL
   ============================================================ */
.hc-section {
  background: var(--white);
  overflow: hidden;
}

.hc-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

@media (max-width: 900px) {
  .hc-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LEFT PANEL
   ============================================================ */
.hc-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding-top: var(--sp-sm);
}

.hc-eyebrow {
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-mid);
}

.hc-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--t-h2);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hc-body {
  font-size: var(--t-small);
  color: var(--body-text);
  line-height: 1.7;
}

.hc-cta {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  background: var(--red-bright);
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s;
  margin-top: var(--sp-xs);
}

.hc-cta:hover {
  background: var(--red-mid);
}

/* ============================================================
   RIGHT PANEL
   ============================================================ */
.hc-right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  min-width: 0;
}

/* Counter + nav row */
.hc-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hc-counter {
  font-size: var(--t-small);
  color: var(--body-text);
  font-weight: 500;
}

/* Navigation arrows */
.hc-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: var(--sp-xs);
}

.hc-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--grey-light);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  color: var(--dark);
  flex-shrink: 0;
}

.hc-nav-btn svg {
  width: 16px;
  height: 16px;
}

.hc-nav-btn:hover {
  border-color: var(--red-mid);
  color: var(--red-mid);
}

.hc-nav-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ============================================================
   SWIPER OVERRIDES
   ============================================================ */
.hc-swiper {
  width: 100%;
  overflow: visible;
}

.hc-swiper .swiper-wrapper {
  align-items: stretch;
}

.hc-slide {
  height: auto;
  width: 280px !important;
}

/* Scrollbar */
.hc-scrollbar {
  margin-top: var(--sp-sm);
}

.hc-swiper-scrollbar {
  height: 3px;
  border-radius: 2px;
  background: var(--grey-light);
}

.hc-swiper-scrollbar .swiper-scrollbar-drag {
  background: var(--salmon);
  border-radius: 2px;
}

/* ============================================================
   HEALTH CONDITION CARD
   ============================================================ */
.hc-card {
  border: 1px solid var(--grey-light);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s;
}

.hc-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Thumbnail */
.hc-card__thumb {
  height: 200px;
  overflow: hidden;
}

.hc-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hc-card:hover .hc-card__thumb img {
  transform: scale(1.04);
}

/* Body */
.hc-card__body {
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Category */
.hc-card__category {
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-mid);
  margin-bottom: 6px;
}

/* Title */
.hc-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--t-body);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: var(--sp-xs);
}

.hc-card__title-link {
  color: inherit;
  text-decoration: none;
}

.hc-card__title-link:hover {
  color: var(--red-mid);
}

/* Teaser */
.hc-card__teaser {
  font-size: var(--t-small);
  color: var(--body-text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-sm);
}

/* CTA text link */
.hc-card__cta {
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-mid);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: auto;
}

.hc-card__cta:hover {
  color: var(--red-bright);
}

/* ============================================================
   COMPONENT: INDICATION CARD SCROLL STRIP
   wc-health-conditions.css
   Source: WeConnect-Homepage_v3-02MAR2026.html lines 222–251
   ============================================================ */

.ind-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--sp-md);
  padding: var(--sp-xs) 0 var(--sp-md);
  scrollbar-width: thin;
  scrollbar-color: var(--salmon) var(--grey-light);
  min-width: 0;
  max-width: 100%;
}
.ind-scroll-wrap::-webkit-scrollbar { height: 6px; }
.ind-scroll-wrap::-webkit-scrollbar-track {
  background: var(--grey-light);
  border-radius: 3px;
}
.ind-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--salmon);
  border-radius: 3px;
}

.ind-scroll-track {
  display: flex;
  gap: var(--sp-sm);
  padding: 0 var(--sp-md);
}

.ind-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border: 1px solid var(--grey-light);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.ind-card:hover {
  border-color: var(--salmon);
  box-shadow: 0 4px 16px rgba(69, 10, 10, .08);
}

.ind-card-thumb {
  height: 140px;
  overflow: hidden;
}
.ind-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.ind-card-body { padding: var(--sp-sm); }

.ind-card-ta {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 4px;
}

.ind-card-name {
  font-size: var(--t-body);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.ind-card-desc {
  font-size: var(--t-small);
  color: var(--body-text);
  line-height: 1.55;
  margin-bottom: var(--sp-sm);
  overflow-wrap: break-word;
}

.ind-card-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red-mid);
  text-decoration: none;
  transition: color .2s;
}
.ind-card-cta:hover { color: var(--red-bright); }

/* Trials section layout */
.trials-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: var(--sp-lg);
  align-items: start;
}
.trials-layout > * {
  min-width: 0;
  overflow: hidden;
}
@media (max-width: 768px) {
  .trials-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Scroll navigation controls */
.ind-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-sm);
  padding: 0 var(--sp-md);
}
.ind-nav-arrows { display: flex; gap: 8px; }

.ind-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-light);
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}
.ind-nav-btn:hover {
  border-color: var(--salmon);
  color: var(--red-mid);
  background: var(--blush);
}
.ind-nav-btn:disabled {
  opacity: .3;
  cursor: default;
  border-color: var(--grey-light);
  background: var(--white);
  color: var(--body-text);
}
.ind-nav-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ind-nav-count {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--body-text);
}