/* ==========================================================================
   Announcement Bar
   Figma desktop: 2193:7966 | mobile: 2198:3317
   Units: px | Layout: flex (no grid)
   ========================================================================== */

.lg-announcement-bar__wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Desktop / XL — Figma 2193:7966 */
.lg-announcement-bar__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 16px;
  border-radius: 4px;
  background: #dee3ff;
  color: #000000;
  text-decoration: none;
}

.lg-announcement-bar__link--static {
  cursor: default;
}

/* Badge + text + arrow row */
.lg-announcement-bar__message {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.lg-announcement-bar__badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  height: 20px;
  padding: 0 10px;
  border-radius: 4px;
  background: #0027d6;
  color: #ffffff;
  font-family: var(--wp--preset--font-family--archivo, "Archivo", sans-serif);
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
}

.lg-announcement-bar__text {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #000000;
  white-space: nowrap;
}


.lg-announcement-bar__arrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 14px;
  height: 10px;
  color: #0027d6;
}

.lg-announcement-bar__arrow-icon {
  display: block;
  width: 14px;
  height: 10px;
}

.lg-announcement-bar__hint {
  box-sizing: border-box;
  padding: 8px 16px;
  border: 1px dashed #cccccc;
  border-radius: 4px;
  color: #666666;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

@media (min-width: 1200px) {
  .lg-announcement-bar__link:hover,
  .lg-announcement-bar__link:focus-visible {
    color: #000000;
    text-decoration: none;
  }

  .lg-announcement-bar__link:focus-visible {
    outline: 2px solid #0027d6;
    outline-offset: 2px;
  }
}

/* Portrait and Landscape — Figma 2198:3317
   Badge floats into first text line; text wraps under badge;
   arrow stays inline at the end of the last line. */
@media (min-width: 0) and (max-width: 767.98px) {
  .lg-announcement-bar__link {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
  }

  .lg-announcement-bar__message {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0;
  }

  .lg-announcement-bar__message::after {
    content: "";
    display: table;
    clear: both;
  }

  .lg-announcement-bar__badge {
    float: left;
    height: 12px;
    margin: 2px 8px 0px 0;
    padding: 0 6px;
    border-radius: 2px;
    font-size: 10px;
    line-height: 12px;
  }

  .lg-announcement-bar__text {
    display: block;
    white-space: normal;
    font-size: 10px;
    line-height: 16px;
    vertical-align: top;
  }

  .lg-announcement-bar__arrow {
    display: inline-block;
    width: 14px;
    height: 10px;
    margin-left: 8px;
    margin-top: 3px;
  }

  .lg-announcement-bar__arrow-icon {
    width: 14px;
    height: 10px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .lg-announcement-bar__link {
    padding: 8px 14px;
  }

  .lg-announcement-bar__message {
    flex-wrap: wrap;
  }

  .lg-announcement-bar__text {
    white-space: normal;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .lg-announcement-bar__text {
    white-space: normal;
  }

  .lg-announcement-bar__message {
    flex-wrap: wrap;
  }
}
