
/* ===== FINAL RESPONSIVE LAYOUT OVERRIDES ===== */
@media (max-width: 991.98px) {
  .xt-g-08fb8977,
.xt-g-12e7984d,
.xt-g-1c8a99c5,
.xt-g-20d20849,
.xt-g-3cfb7b5f,
.xt-g-46e4e402,
.xt-g-52e0d9d5,
.xt-g-5461ad00,
.xt-g-54a67f52,
.xt-g-5d92af02,
.xt-g-6640f0a7,
.xt-g-6b001ac9,
.xt-g-6bc9534f,
.xt-g-70c0f976,
.xt-g-72ea99d4,
.xt-g-74ec72d7,
.xt-g-7946faf2,
.xt-g-7ee8cad0,
.xt-g-82ac4df4,
.xt-g-8d9b3e8b,
.xt-g-9223e8eb,
.xt-g-96cbe7e7,
.xt-g-98130e47,
.xt-g-990b1304,
.xt-g-a2fc7be4,
.xt-g-b11fb596,
.xt-g-bde208cd,
.xt-g-cc270bbb,
.xt-g-d177e268,
.xt-g-d5792c60,
.xt-g-e3654515,
.xt-g-ebae85b3,
.xt-g-ec3e2019,
.xt-g-ede3e604,
.xt-g-fe0401b0 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767.98px) {
  .xt-g-08fb8977,
.xt-g-12e7984d,
.xt-g-1c8a99c5,
.xt-g-20d20849,
.xt-g-3cfb7b5f,
.xt-g-46e4e402,
.xt-g-52e0d9d5,
.xt-g-5461ad00,
.xt-g-54a67f52,
.xt-g-5d92af02,
.xt-g-6640f0a7,
.xt-g-6b001ac9,
.xt-g-6bc9534f,
.xt-g-70c0f976,
.xt-g-72ea99d4,
.xt-g-74ec72d7,
.xt-g-7946faf2,
.xt-g-7ee8cad0,
.xt-g-82ac4df4,
.xt-g-8d9b3e8b,
.xt-g-9223e8eb,
.xt-g-96cbe7e7,
.xt-g-98130e47,
.xt-g-990b1304,
.xt-g-a2fc7be4,
.xt-g-b11fb596,
.xt-g-bde208cd,
.xt-g-cc270bbb,
.xt-g-d177e268,
.xt-g-d5792c60,
.xt-g-e3654515,
.xt-g-ebae85b3,
.xt-g-ec3e2019,
.xt-g-ede3e604,
.xt-g-fe0401b0 { grid-template-columns: 1fr !important; }
  img, video, iframe { max-width: 100%; height: auto; }
  input, textarea, select, button { max-width: 100%; box-sizing: border-box; }
  table { width: 100%; max-width: 100%; }
  .xt-g-b5913c1d, .xt-g-9073530c, .xt-g-34decd09 { min-width: 0 !important; width: 100%; max-width: 100%; }
}
@media (max-width: 575.98px) {
  section { overflow-x: clip; }
  .xt-g-9899b5de { font-size: 32px !important; line-height: 1.15; }
  .xt-g-39ff18d6 { font-size: 15px !important; }
}

/* Content split layouts: stack side-by-side panels on phones */
@media (max-width: 767.98px) {
  .xt-g-f5c7ac4b,
  .xt-g-0f995321 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
  }
  .xt-g-49c10fea,
  .xt-g-4fb16b9a,
  .xt-g-89bd09bd,
  .xt-g-4e6b187f {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .xt-g-0b80c680,
  .xt-g-6063eb27 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .xt-g-013a3029,
  .xt-g-c0c5f941 {
    max-width: 100% !important;
  }
}

/* FINAL: red-background buttons keep white text on hover */
.xt-h-1dce37bf:hover, .xt-h-1dce37bf:focus, .xt-h-1dce37bf:focus-visible, .xt-h-1dce37bf:active { color:#fff !important; }
.xt-h-78b9bcd0:hover, .xt-h-78b9bcd0:focus, .xt-h-78b9bcd0:focus-visible, .xt-h-78b9bcd0:active { color:#fff !important; }
.xt-h-a8e2df9c:hover, .xt-h-a8e2df9c:focus, .xt-h-a8e2df9c:focus-visible, .xt-h-a8e2df9c:active { color:#fff !important; }

/* ===== Mobile / tablet typography + long-word wrapping ===== */
@media (max-width: 991.98px){
  body h1,
  body h2,
  body h3,
  body h4,
  body h5,
  body h6{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
  }

  body h1{font-size:34px;line-height:1.15;}
  body h2{font-size:28px;line-height:1.2;}
  body h3{font-size:23px;line-height:1.25;}
  body h4{font-size:19px;line-height:1.3;}
  body h5{font-size:17px;line-height:1.35;}
  body h6{font-size:15px;line-height:1.4;}

  /* Long XBRL taxonomy/tag names must wrap inside narrow screens. */
  body .xt-g-4ccfe905,
  body .xt-g-ef9c268c{
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
    max-width:100%;
  }
}

@media (max-width: 650px){
  body h1{font-size:30px;}
  body h2{font-size:25px;}
  body h3{font-size:21px;}
  body h4{font-size:18px;}
  body h5{font-size:16px;}
  body h6{font-size:15px;}
}

/* FINAL HERO/TITLE RESPONSIVE FIX */
@media (max-width: 991.98px) {
  h1,
  .xt-hero-grid h1,
  .hero-section h1 {
    font-size: 36px !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767.98px) {
  h1,
  .xt-hero-grid h1,
  .hero-section h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

/* Prevent long XBRL/IFRS identifiers from creating horizontal overflow */
@media (max-width: 991.98px) {
  .xt-hero-grid,
  .xt-hero-grid > *,
  .xt-hero-grid h1,
  section {
    min-width: 0 !important;
    max-width: 100%;
  }
}
