/* ============================================================
   StackUI Widget: investor-information  (scoped styles — ALL variants)
   ------------------------------------------------------------
   Everything is scoped under .stk-investor-information so it can never
   leak into other widgets or fight the core.

   Variants covered:
     - col12 (.investor-information)  full-width card, 4 image tiles
                                      with hover-zoom + gradient overlay

   REMOVED vs the original ref-template (now provided by core):
     - Google-font @import, * reset, base body/p/a       -> core + tokens
     - .container + media queries                         -> Bootstrap
     - .row / .col-* grid                                 -> Bootstrap grid
     - generic utils (.d-flex, .justify-content-between,
       .align-items-center, .float-end, .mt-0, .mb-0, .w-100) -> Bootstrap

   KEPT (widget-specific — needed for fidelity), all scoped:
     card / btn overrides, card-white, swiper base (from original —
     shared with the v2 pattern), card-image / effect-image / zoom,
     and every investor-information rule.

   Brand green (#57CC33) -> central token var(--stk-primary).
   ============================================================ */

.stk-investor-information {
  /* original :root tokens, moved onto the widget scope */
  --text-header: #000000;
  --text-overlay-image: #ffffff;
  --text-white: #ffffff;
  --button-primary-bg: #000000;
  --button-primary-text: #ffffff;
  --bg-color-primary: var(--stk-primary);   /* was #57CC33 */
  --bg-color-black: #000000;
  --bg-card: #FAFBFD;
  --bg-card-inner: #ffffff;
  --border-radius-medium: 8px;
  --border-radius-xl: 100px;
}

/* ----- widget-scoped utilities (kept from original) ----- */
.stk-investor-information .p-0 { padding: 0; }
.stk-investor-information .d-flex-h-100 {
  display: flex;
  height: 100%;
}

@media (max-width: 991px) {
  .stk-investor-information .mb-md-24 { margin-bottom: 24px; }
}
@media (max-width: 575px) {
  .stk-investor-information .mb-md-24 { margin-bottom: 16px; }
}

/* ----- Spacing (custom scale kept from original) ----- */
.stk-investor-information .mb-16 { margin-bottom: 16px; }

/* ----- Button (widget-specific pill) ----- */
.stk-investor-information .btn {
  padding: 8px 24px;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  white-space: nowrap;
}
.stk-investor-information .btn-primary {
  color: var(--button-primary-text);
  background-color: var(--button-primary-bg);
  border-color: var(--button-primary-bg);
  width: max-content;
  cursor: pointer;
  transition: 0.35s;
}
.stk-investor-information .btn-primary:hover {
  background-color: var(--bg-color-primary);
  border-color: var(--bg-color-primary);
}
.stk-investor-information .btn-primary:active,
.stk-investor-information .btn-primary:focus {
  background-color: var(--bg-color-primary) !important;
  border-color: var(--bg-color-primary) !important;
}

/* ----- Card (custom in the original style.css) ----- */
.stk-investor-information .card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-header);
}
.stk-investor-information .card {
  padding: 24px;
  background-color: var(--bg-card);
  border-radius: var(--border-radius-medium);
  border: none;
}
.stk-investor-information .card-header {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-medium);
  border: none;
  padding: 0;
  margin-bottom: 24px;
}
.stk-investor-information .card-header:first-child {
  border-radius: var(--border-radius-medium);
}
.stk-investor-information .card-body { padding: 0; }

@media (max-width: 575px) {
  .stk-investor-information .card { padding: 20px; }
  .stk-investor-information .card-header { margin-bottom: 12px; }
  .stk-investor-information .card-title { font-size: 20px; }
  .stk-investor-information .btn { font-size: 14px; padding: 6px 18px; }
}

/* ----- card-white (used by the v2/swiper pattern, kept per no-prune rule) ----- */
.stk-investor-information .card-white {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--bg-card-inner);
  background-clip: border-box;
  border: 0 solid #eaedf1;
  border-radius: var(--border-radius-medium);
  flex: 1;
  padding: 18px;
}

/* ============================================================
   Swiper base (shared from original — kept per no-prune rule)
   ============================================================ */
.stk-investor-information .swiper-container { width: 100%; }
.stk-investor-information .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stk-investor-information .swiper-pagination {
  position: relative !important;
  padding-top: 20px;
}
.stk-investor-information .swiper-pagination-bullet { background: var(--bg-color-black); }
.stk-investor-information .swiper-pagination-bullet-active { background: var(--bg-color-black) !important; }

/* ============================================================
   Card hover / card-image (shared pattern)
   ============================================================ */
.stk-investor-information .card-image {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  width: 100%;
  color: var(--text-white) !important;
  text-align: left;
  line-height: 1.4em;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.35s ease;
}
.stk-investor-information .card-image .text-card {
  position: absolute;
  bottom: 18px;
  left: 18px;
  color: var(--text-white) !important;
}
.stk-investor-information .card-image .text-card:before {
  position: absolute;
  content: '';
  z-index: 2;
  bottom: 100%;
  left: 0;
  height: 80px;
  color: var(--text-white) !important;
}
.stk-investor-information .card-image h3,
.stk-investor-information .card-image p {
  margin: 0 0 12px;
}
.stk-investor-information .card-image h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.2em;
  color: var(--text-overlay-image);
}
.stk-investor-information .card-image p {
  font-size: 12px;
  color: var(--text-white);
}

@media (max-width: 1536px) {
  .stk-investor-information .card-image h3 { font-size: 16px; }
}
@media (max-width: 575px) {
  .stk-investor-information .card-image h3 { font-size: 18px; }
}
@media (max-width: 425px) {
  .stk-investor-information .card-image h3 { font-size: 16px; }
}

/* ----- Effect image / zoom (shared) ----- */
.stk-investor-information .effect-image-1 {
  overflow: hidden;
  border-radius: var(--border-radius-medium);
}
.stk-investor-information .zoom-effect-1 img {
  transform: scale(1);
  transition: all .4s linear;
}
.stk-investor-information .zoom-effect-1:hover img {
  transform: scale(1.1);
}

/* ============================================================
   Investor Information (component-specific)
   ============================================================ */
.stk-investor-information .investor-information .row {
  row-gap: 24px;
}
.stk-investor-information .investor-information .card-image {
  height: 180px;
  position: relative;
}
.stk-investor-information .investor-information .card-image .text-card {
  z-index: 2;
}
.stk-investor-information .investor-information .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(47, 47, 47, 0.00) 25%, rgba(47, 47, 47, 0.80) 100%);
  pointer-events: none;
}

@media (max-width: 1399px) {
  .stk-investor-information .investor-information .card-image { height: 155px; }
}
@media (max-width: 1199px) {
  .stk-investor-information .investor-information .card-image { height: 140px; }
}
@media (max-width: 991px) {
  .stk-investor-information .investor-information .card-image { height: 180px; }
  .stk-investor-information .card-image img { width: 100%; }
}
@media (max-width: 575px) {
  .stk-investor-information .investor-information .card-image .text-card {
    top: calc(83%);
    left: 18px;
  }
}

