/* FE-ADSENSE-17 — always-on runtime a11y / CLS primitives (flags-independent) */
.fe-media-figure {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  background: transparent;
}
.fe-media-figure__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.fe-media-figure__img--broken {
  min-height: 4rem;
  background: #e2e8f0;
}
.fe-tool-result-shell {
  min-height: 8rem;
  contain: layout;
}
.fe-tool-result-shell.hidden {
  min-height: 0;
}
:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only.focus\:not-sr-only:focus,
.sr-only.focus\:not-sr-only:focus-visible {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Shared newsletter form (no Tailwind dependency) */
.fe-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
}
.fe-newsletter-form__label {
  display: block;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: inherit;
}
.fe-newsletter-form__label--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fe-newsletter-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
@media (min-width: 640px) {
  .fe-newsletter-form:not(.fe-newsletter-form--compact) .fe-newsletter-form__row {
    flex-direction: row;
    align-items: stretch;
  }
  .fe-newsletter-form:not(.fe-newsletter-form--compact) .fe-newsletter-form__input {
    flex: 1 1 auto;
  }
  .fe-newsletter-form:not(.fe-newsletter-form--compact) .fe-newsletter-form__submit {
    flex: 0 0 auto;
    width: auto;
  }
}
.fe-newsletter-form__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.625rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.9375rem;
  background: #fff;
  color: #111;
}
.fe-newsletter-form__input:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
}
.fe-newsletter-form__submit {
  width: 100%;
  box-sizing: border-box;
  padding: 0.625rem 1rem;
  border: 1px solid #111;
  border-radius: 0.5rem;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.fe-newsletter-form__submit:hover,
.fe-newsletter-form__submit:focus-visible {
  background: #000;
}
.fe-newsletter-form__note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #6b7280;
}
.fe-newsletter-form--compact .fe-newsletter-form__row {
  flex-direction: column;
}
.fe-newsletter-form--compact .fe-newsletter-form__submit {
  width: 100%;
}
