/* Slim dismissible bar shown to visitors who look like they are in Ireland.
   Injected as the first child of <body> by /ie-locale.js. Scrolls away
   naturally; the sticky site header takes over from there. */

.ie-nudge {
  background: #0f2f2c;
  color: #f4faf9;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
}

.ie-nudge-inner {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding: .7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ie-nudge-text {
  margin: 0;
  flex: 1 1 auto;
  font-size: .87rem;
  line-height: 1.45;
  color: rgba(244, 250, 249, .82);
}

.ie-nudge-text strong {
  color: #fff;
  font-weight: 700;
}

.ie-nudge-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  background: var(--accent, #0d9488);
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: filter .15s ease;
}

.ie-nudge-cta::after { content: "→"; }
.ie-nudge-cta:hover { filter: brightness(1.12); }

.ie-nudge-close {
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(244, 250, 249, .55);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.ie-nudge-close:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.ie-nudge-close:focus-visible,
.ie-nudge-cta:focus-visible {
  outline: 2px solid var(--accent, #0d9488);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .ie-nudge-inner {
    padding: .65rem 1.1rem;
    gap: .75rem;
    flex-wrap: wrap;
  }
  .ie-nudge-text { flex: 1 1 100%; font-size: .82rem; }
  .ie-nudge-cta { font-size: .78rem; padding: .45rem .8rem; }
  .ie-nudge-close { position: absolute; top: .45rem; right: .6rem; }
  .ie-nudge { position: relative; }
}

@media print { .ie-nudge { display: none; } }
