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

   Variants covered:
     - default  (col-6)  chairman message card

   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, .float-sm-start,
       .text-center, .mt-0, .mb-0, .w-100, .rounded-circle) -> Bootstrap

   KEPT (widget-specific — needed for fidelity), all scoped:
     btn overrides, card overrides, custom spacing (.mt-8/.mt-16/
     .mt-48), .d-flex-h-100, all .chairman rules, .hide-on-large.

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

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

/* ----- widget-scoped custom spacing (8pt scale, override Bootstrap) ----- */
.stk-chairman-statement .mt-8 { margin-top: 8px; }
.stk-chairman-statement .mt-16 { margin-top: 16px; }
.stk-chairman-statement .mt-48 { margin-top: 48px; }

/* ----- Button (widget-specific pill) ----- */
.stk-chairman-statement .btn {
  padding: 8px 24px;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  white-space: nowrap;
}
.stk-chairman-statement .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-chairman-statement .btn-primary:hover {
  background-color: var(--bg-color-primary);
  border-color: var(--bg-color-primary);
}
.stk-chairman-statement .btn-primary:active,
.stk-chairman-statement .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-chairman-statement .card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-header);
}
.stk-chairman-statement .card {
  padding: 24px;
  background-color: var(--bg-card);
  border-radius: var(--border-radius-medium);
  border: none;
}
.stk-chairman-statement .card-header {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-medium);
  border: none;
  padding: 0;
  margin-bottom: 24px;
}
.stk-chairman-statement .card-header:first-child {
  border-radius: var(--border-radius-medium);
}
.stk-chairman-statement .card-body {
  padding: 0;
}

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

/* ============================================================
   Variant: default (col-6) — chairman-specific
   ============================================================ */
.stk-chairman-statement .d-flex-h-100 {
  display: flex;
  height: 100%;
}

.stk-chairman-statement .chairman {}

.stk-chairman-statement .chairman .chairman-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.stk-chairman-statement .chairman .quoat {
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  color: var(--text-header);
}

.stk-chairman-statement .chairman .signature .signature-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-header);
}

.stk-chairman-statement .chairman .card-body {
  background-image: url(./images/line-object.png);
  background-repeat: no-repeat;
  background-position: bottom;
}

@media (max-width: 1366px) {
  .stk-chairman-statement .hide-on-large {
    display: none;
  }
}

@media (max-width: 991px) {
  .stk-chairman-statement .chairman {
    height: 100%;
    display: flex;
  }
}

@media (max-width: 767px) {
  .stk-chairman-statement .chairman {
    height: 100%;
    display: block;
  }
}

