/* Built from tasks/APK2-T66/tools/css/announcement-bar.src.css (APK2-T66). */
/* Site-wide announcement bar (APK2-T66, Figma 4414:9210). Loaded only while the bar is switched on.
   Mobile (Figma 375 x 97) below 1024px, desktop (Figma 1920 x 72) from 1024px. */
.tr-bar {
    position: relative; overflow: hidden; display: flex; align-items: center;
    padding: 14px 44px 14px 17px; background: #00431D; color: #fff; font-family: Lato, Arial, sans-serif;
}
.tr-bar[hidden] { display: none; }
/* One bar at a time (Robin, 17 Nov 2026; Figma stacks the bar above the ticker): while the bar is visible it replaces
   the "Trusted by" ticker (the next element after the bar's inline script) and takes the ticker's 20px bottom margin.
   Closed (X, applied before paint by the inline script) or switched off -> the ticker shows as before. */
.tr-bar:not([hidden]) { margin-bottom: 20px; }
.tr-bar:not([hidden]) + script + .bg-brand-surface-darker { display: none; }
.tr-bar__swoosh { position: absolute; max-width: none; pointer-events: none; }
.tr-bar__swoosh--desktop { display: none; top: -60px; right: -200px; width: 700px; height: 266px; }
.tr-bar__swoosh--mobile { top: -40px; right: -185px; width: 380px; height: 144.4px; }
.tr-bar__inner { position: relative; display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.tr-bar__avatars { flex: none; display: block; width: 78px; height: 32px; }
.tr-bar__content { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1 1 auto; min-width: 0; }
.tr-bar__headline { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
.tr-bar__badge {
    display: inline-block; padding: 4px 8px; border-radius: 4px; background: #6BC14C; color: #00431D;
    font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: 0.08em;
}
.tr-bar__msg { color: #fff; line-height: 1.2; }
.tr-bar__msg--desktop { display: none; font-size: 16px; font-weight: 500; white-space: nowrap; }
.tr-bar__msg--desktop strong, .tr-bar__msg--desktop b { font-weight: 700; }
.tr-bar__msg--mobile { font-size: 15px; font-weight: 700; }
.tr-bar__link {
    display: inline-flex; align-items: center; gap: 6px; color: #6BC14C; font-size: 13px; line-height: 1.2; font-weight: 700;
    letter-spacing: 0.02em; white-space: nowrap; text-decoration: none;
}
.tr-bar__link span { text-decoration: underline; text-decoration-thickness: from-font; text-underline-position: from-font; }
.tr-bar__link:hover, .tr-bar__link:focus-visible { color: #fff; }
.tr-bar__arrow { flex: none; width: 17px; height: 17px; }
.tr-bar__close {
    position: absolute; top: 14px; right: 17px; display: flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; padding: 0; border: 0; background: none; color: #fff; opacity: .75; cursor: pointer;
}
.tr-bar__close::before { content: ''; position: absolute; inset: -12px; } /* bigger tap target */
.tr-bar__close:hover, .tr-bar__close:focus-visible { opacity: 1; }
.tr-bar__close svg { width: 100%; height: 100%; }

/* Small phones (< 360px): smaller avatars and message so "Introducing the Tech Range" stays on one line (97px bar). */
@media (max-width: 359.98px) {
    .tr-bar { padding-left: 14px; padding-right: 40px; }
    .tr-bar__inner { gap: 10px; }
    .tr-bar__avatars { width: 64px; height: 26px; }
    .tr-bar__msg--mobile { font-size: 14px; }
    .tr-bar__close { right: 14px; }
}
/* Tablets (640-1023px): one centred row with the short message, 72px tall like desktop (Janty 17/11: more responsive). */
@media (min-width: 640px) and (max-width: 1023.98px) {
    .tr-bar { justify-content: center; height: 72px; padding: 0 52px; }
    .tr-bar__swoosh--desktop { display: block; }
    .tr-bar__swoosh--mobile { display: none; }
    .tr-bar__inner, .tr-bar__content, .tr-bar__headline { flex-direction: row; align-items: center; gap: 12px; }
    .tr-bar__inner, .tr-bar__content { flex: none; }
    .tr-bar__close { top: 27px; right: 18px; }
}
@media (min-width: 1024px) {
    .tr-bar { justify-content: center; height: 72px; padding: 0 56px; }
    .tr-bar__swoosh--desktop { display: block; }
    .tr-bar__swoosh--mobile { display: none; }
    .tr-bar__inner, .tr-bar__content, .tr-bar__headline { flex-direction: row; align-items: center; gap: 16px; }
    .tr-bar__inner, .tr-bar__content { flex: none; }
    .tr-bar__avatars { width: 98px; height: 40px; }
    .tr-bar__msg--desktop { display: inline; }
    .tr-bar__msg--mobile { display: none; }
    .tr-bar__link { font-size: 14px; }
    .tr-bar__arrow { width: 18px; height: 18px; }
    .tr-bar__close { top: 26px; right: max(18px, calc((100% - 1478px) / 2 - 1px)); width: 20px; height: 20px; }
}
