/* ==========================================================================
   SHB Star 2026 – Common
   ========================================================================== */

:root {
  /* --- Blue / SE ------------------------------------------------------------- */
  --se-100: #32327f;
  --se-70: #5c6b9e;
  --se-40: #a2aac8;
  --se-5: #f3f4f8;

  /* --- Orange / PR ----------------------------------------------------------- */
  --pr-100: #f37021;
  --pr-70: #f7a163;
  --pr-40: #fbc9a6;
  --pr-17: #fed7aa;
  --pr-11: #fef0e6;
  --pr-5: #fef8f4;

  /* --- Màu raw trong file ---------------------------------------------------- */
  --raw-navy: #272771;
  --raw-navy-2: #2a3f8f;
  --raw-orange-dark: #d46516;
  --raw-orange-light: #fb9448;
  --raw-orange-mid: #f68138;
  --raw-orange-bright: #ff7b1b;
  --raw-navy-3: #162b75;
  --raw-tan: #c4a086;

  --rank-1: #f47920;
  --rank-2: #ff9548;
  --rank-3: #f6a66d;
  --raw-cream: #f6e3d5;
  --raw-grey: #efefef;
  --raw-grey-dark: #cdcccc;
  --raw-off-white: #fafafa;

  /* --- Gradient (stop lấy từ ------------------------------------------------- */
  --grad-orange: linear-gradient(180deg, #ff8b37 0%, #e3772b 30%, #f37021 100%);
  --grad-navy: linear-gradient(180deg, #2f2f94 0%, #32327f 100%);
  --grad-cream: linear-gradient(180deg, #ffe9da 20%, #f5c9aa 100%);

  /* --- Neutral --------------------------------------------------------------- */
  --star-white: #ffffff;
  --star-cream: #fffcfa;

  /* --- Alias dùng trong code ------------------------------------------------- */
  --star-text: var(--se-100);
  --star-text-muted: var(--se-70);
  --star-blue: var(--se-100);
  --star-navy: var(--raw-navy);
  --star-orange: var(--pr-100);
  --star-orange-dark: var(--raw-orange-dark);

  /* --- Layout ---------------------------------------------------------------- */
  --star-frame: 1440px;
  --star-container: 1280px;
  --star-gutter: 80px;
  --star-header-height: 98px;

  /* --- Radius ---------------------------------------------------------------- */
  --star-radius: 16px;
  --star-radius-lg: 48px;
  --star-radius-pill: 999px;

  /* --- Typography ------------------------------------------------------------ */

  --star-font-heading: "SHB Sans", "Inter", Arial, Helvetica, sans-serif;
  --star-font-body: "Inter", "SHB Sans", Arial, Helvetica, sans-serif;
  --star-font: var(--star-font-body);

  --h2-size: 48px;
  --h2-line: 52px;
  --h3-size: 40px;
  --h3-line: 44px;
  --h6-size: 20px;
  --h6-line: 26px;
  --body-size: 16px;
  --body-line: 24px;
  --font-semibold: 600;
}

/* ==========================================================================
   Breakpoint (bám theo Bootstrap 4.0 để .col-* vẫn khớp)
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--star-font-body);
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--star-text);
  background: var(--star-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.star-font-heading {
  font-family: var(--star-font-heading);
  font-weight: var(--font-semibold);
}

/* --------------------------------------------------------------------------
   Container 1280px
   Đè .container của Bootstrap 4 (mặc định bậc thang 540/720/960/1140).
   File này load SAU bootstrap.min.css nên override có hiệu lực.

   Tại viewport 1440: (1440 - 1280) / 2 = 80px  -> đúng lề trong Figma.
   Padding 15px ở desktop để triệt tiêu margin -15px của .row, giữ mép cột
   trùng khít mốc 80px. Mobile/tablet nới rộng cho thoáng.
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--star-container);
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 1280px) {
  .star-flush {
    margin-right: -15px;
    margin-left: -15px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a,
a:hover,
a:focus,
a:active {
  color: inherit;
  text-decoration: none;
}

.star-wrapper {
  overflow-x: hidden;
  padding-top: var(--star-header-height);
}

html.star-nav-open .star-wrapper {
  overflow: visible;
}

@media (max-width: 1279.98px) {
  :root {
    --star-header-height: 76px;
  }
}

.star-section {
  padding: 64px 0;
}

.star-section__title {
  font-family: var(--star-font-heading);
  font-size: 32px;
  font-weight: var(--font-semibold);
  text-align: center;
  margin: 0 0 40px;
}

.star-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 0;
  border-radius: var(--star-radius-pill);
  background: var(--star-orange);
  color: var(--star-white);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.star-btn:hover {
  background: var(--star-orange-dark);
  color: var(--star-white);
}

/* --- Tablet ---------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .star-section {
    padding: 48px 0;
  }

  .star-section__title {
    font-size: 28px;
    margin-bottom: 32px;
  }
}

/* --- Mobile ---------------------------------------------------------------- */
@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }

  .star-section {
    padding: 40px 0;
  }

  .star-section__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .star-btn {
    width: 100%;
    padding: 12px 20px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Tab animation – pill trượt + panel fade
   -------------------------------------------------------------------------- */
.star-tabs {
  position: relative;
  --star-tab-pill: var(--raw-orange-light);
  --star-tab-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.star-tabs__pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 32px;
  background: var(--star-tab-pill);
  pointer-events: none;
  opacity: 0;
  will-change: transform, width;
}

.star-tabs__pill.is-ready {
  opacity: 1;
  transition: transform 0.35s var(--star-tab-ease), width 0.35s var(--star-tab-ease),
    height 0.35s var(--star-tab-ease), opacity 0.2s ease;
}

.star-tabs .star-awards__tab,
.star-tabs .star-bxh__tab {
  position: relative;
  z-index: 1;
  background: transparent;
  transition: color 0.25s ease;
}

.star-tabs .star-awards__tab.active,
.star-tabs .star-bxh__tab.active {
  background: transparent;
  color: var(--star-white);
}

.star-awards__panel,
[data-star-bxh-panel],
[data-star-podium-panel] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s var(--star-tab-ease, ease),
    transform 0.32s var(--star-tab-ease, ease);
}

.star-awards__panel.is-active,
[data-star-bxh-panel].is-active,
[data-star-podium-panel].is-active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .star-tabs__pill,
  .star-tabs__pill.is-ready,
  .star-awards__panel,
  [data-star-bxh-panel],
  [data-star-podium-panel],
  .star-tabs .star-awards__tab,
  .star-tabs .star-bxh__tab {
    transition: none;
  }

  .star-awards__panel,
  [data-star-bxh-panel],
  [data-star-podium-panel] {
    transform: none;
  }
}
