/* The original 1500px desktop export is intentionally left intact. */
#id3ea-mobile { display: none; }

@media screen and (max-width: 1023px) {
  html, body {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background: #faf9f5 !important;
  }
  #xr_xrii { display: none !important; }
  #id3ea-mobile, #id3ea-mobile * { box-sizing: border-box; }
  #id3ea-mobile {
    display: block !important;
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: visible;
    color: #252321;
    background: #faf9f5;
    font: 400 16px/1.65 'Open Sans', Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
  }
  #id3ea-mobile a { color: #775e04; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  #id3ea-mobile a:focus-visible, #id3ea-mobile summary:focus-visible {
    outline: 3px solid #d8b839; outline-offset: 3px;
  }
  .id3m-skip { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 8px 12px; background: #fff; }
  .id3m-skip:focus { top: 10px; }
  .id3m-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 8px clamp(16px, 5vw, 28px);
    background: #322a27;
    border-bottom: 2px solid #bb9b20;
  }
  .id3m-brand { display: inline-flex; gap: 5px; align-items: center; flex-shrink: 0; }
  .id3m-brand img { display: block; max-width: none; object-fit: contain; }
  .id3m-menu { position: relative; color: #fff; }
  .id3m-menu > summary {
    list-style: none; cursor: pointer; border: 1px solid #d6bc55; border-radius: 5px;
    padding: 9px 13px; color: #fff; font: 600 15px/1.4 Arial, sans-serif;
    min-width: 84px; text-align: center;
  }
  .id3m-menu > summary::-webkit-details-marker { display: none; }
  .id3m-menu > summary::before { content: '☰'; margin-right: 8px; font-size: 17px; }
  .id3m-menu-panel {
    position: absolute; right: -10px; top: calc(100% + 12px);
    width: min(340px, calc(100vw - 22px)); max-height: min(78vh, 650px);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 10px 15px 18px; background: #322a27;
    border: 1px solid #937c2a; border-radius: 8px;
    box-shadow: 0 10px 26px rgba(0,0,0,.24);
  }
  .id3m-menu-panel a { display: block; padding: 10px 6px; color: #fff !important; text-decoration: none; }
  .id3m-menu-panel a[aria-current="page"] { color: #ead58a !important; font-weight: 700; }
  .id3m-nav-group { border-top: 1px solid rgba(255,255,255,.18); }
  .id3m-nav-group > summary { cursor: pointer; padding: 11px 4px; font-weight: 700; }
  .id3m-nav-group > summary::marker { color: #d6bc55; }
  .id3m-nav-group ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 13px; }
  .id3m-nav-group li + li { border-top: 1px solid rgba(255,255,255,.07); }
  .id3m-nav-group li a { line-height: 1.3; font-size: 15px; }
  .id3m-hero {
    min-height: clamp(265px, 70vw, 390px);
    display: flex; align-items: end;
    padding: 58px clamp(20px, 5vw, 36px) 34px;
    background-color: #322a27;
    background-position: center;
    background-size: cover;
  }
  .id3m-hero-inner { width: min(100%, 730px); margin: 0 auto; }
  .id3m-eyebrow { color: #edcf61; text-transform: uppercase; letter-spacing: .17em; font-size: 12px; font-weight: 700; }
  .id3m-hero h1 {
    margin: 10px 0 0; color: #fff;
    font: 700 clamp(29px, 7vw, 46px)/1.16 'Open Sans', Arial, sans-serif;
    overflow-wrap: anywhere;
  }
  .id3m-hero p { margin: 14px 0 0; color: #f3ede3; font-size: 17px; line-height: 1.45; }
  .id3m-content {
    width: min(100%, 790px); margin: 0 auto;
    padding: 28px clamp(20px, 5vw, 36px) 52px;
  }
  .id3m-content h2 { margin: 40px 0 12px; font-size: clamp(23px, 5.4vw, 30px); line-height: 1.23; color: #302a24; }
  .id3m-content h2:first-child { margin-top: 6px; }
  .id3m-content h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.35; color: #302a24; }
  .id3m-content p { margin: 0 0 19px; overflow-wrap: anywhere; }
  .id3m-intro { border-left: 4px solid #c3a226; padding: 3px 0 3px 17px; font-size: 18px; color: #39332b; }
  .id3m-intro p { margin: 0 0 12px; }
  .id3m-feature {
    margin: 15px 0; padding: 19px 19px 17px;
    border: 1px solid #ece4d4; border-left: 3px solid #c3a226;
    border-radius: 6px; background: #fff;
    box-shadow: 0 3px 15px rgba(44,36,26,.04);
  }
  .id3m-feature p { margin-bottom: 0; }
  .id3m-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 38px; }
  .id3m-stat { padding: 20px 10px; background: #322a27; color: #fff; border-radius: 6px; text-align: center; }
  .id3m-stat strong { display: block; color: #e5c458; font-size: clamp(25px, 5.5vw, 37px); line-height: 1.1; }
  .id3m-stat span { display: block; margin-top: 9px; font-size: 13px; line-height: 1.45; }
  .id3m-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 25px 0 36px; }
  .id3m-person { background: #322a27; border-radius: 7px; overflow: hidden; color: #f5f0e8; padding: 0 13px 15px; }
  .id3m-person img { display: block; width: 100%; max-width: 180px; height: auto; margin: 12px auto; border-radius: 50%; }
  .id3m-person h3 { color: #f4d26d; text-align: center; }
  .id3m-person p { font-size: 13px; line-height: 1.55; }
  .id3m-person .id3m-role { color: #ead58a; text-align: center; }
  .id3m-list { list-style: none; margin: 15px 0 28px; padding: 0; }
  .id3m-list li { margin: 0 0 11px; padding: 11px 13px 12px 17px; border-left: 3px solid #c3a226; background: #fff; border-radius: 3px; }
  .id3m-awards { display: grid; grid-template-columns: 1fr; gap: 1px; }
  .id3m-awards .id3m-feature { margin: 5px 0; }
  .id3m-button {
    display: inline-block; max-width: 100%; margin: 5px 0 9px;
    padding: 10px 17px; background: #322a27; color: #fff !important;
    border-radius: 5px; font-weight: 700; text-decoration: none !important;
  }
  .id3m-figure { margin: 27px 0; }
  .id3m-image-link { display: block; border-radius: 7px; }
  .id3m-figure img { display: block; max-width: 100%; width: 100%; height: auto; border-radius: 7px; }
  .id3m-csr-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 30px; }
  .id3m-csr-gallery .id3m-figure { min-width: 0; margin: 0; }
  .id3m-csr-gallery .id3m-figure:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .id3m-footer { padding: 33px 20px 38px; background: #322a27; color: #f4eee1; text-align: center; }
  .id3m-footer > img { display: block; margin: 0 auto 9px; }
  .id3m-footer strong { display: block; color: #e5c458; font-size: 20px; }
  .id3m-footer p { margin: 3px 0 12px; font-size: 14px; }
  .id3m-footer a { color: #f1d577 !important; overflow-wrap: anywhere; }
  .id3m-footer small { display: block; margin-top: 24px; opacity: .77; }
  @media (max-width: 600px) {
    .id3m-team { grid-template-columns: 1fr; }
    .id3m-person { padding: 14px 18px 18px; }
    .id3m-stats { grid-template-columns: 1fr; }
    .id3m-stat { padding: 14px 17px; }
  }
}
