/* Next.js compatibility only. Design values and layout remain sourced from AWPT. */
.awpt-blog-page h1,
.awpt-blog-page h2,
.awpt-blog-page h3,
.awpt-blog-page h4,
.awpt-blog-page h5,
.awpt-blog-page h6 {
  letter-spacing: normal;
}

.awpt-blog-page .breadcrumbs {
  display: block;
  min-width: initial;
  align-items: initial;
  gap: 0;
  line-height: normal;
}

.awpt-blog-page .breadcrumbs a:hover {
  color: #fff;
}

.awpt-blog-page .header__burger:focus-visible,
.awpt-blog-page a:focus-visible,
.awpt-blog-page button:focus-visible,
.awpt-blog-page .item__header:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.awpt-blog-page .post-content a:focus-visible,
.awpt-blog-page .post-content button:focus-visible,
.awpt-blog-page .post-content .item__header:focus-visible {
  outline-color: #e80128;
}

.awpt-blog-page .header__burger {
  -webkit-tap-highlight-color: transparent;
}

.awpt-blog-page .search__btn:focus-visible {
  border-radius: 50%;
  outline-color: #e80128;
}

/* Restore the browser metrics used by the WordPress theme before Tailwind's
   preflight reset. These values determine the search icon's exact position. */
.awpt-blog-page .blog__search .search__btn {
  -webkit-appearance: auto;
  appearance: auto;
  padding: 1px 6px;
  font: 13.3333px Arial;
}

.awpt-blog-page .blog__search .search__btn svg {
  display: inline;
  vertical-align: baseline;
}

.awpt-blog-page .blog__search input {
  color: #000;
  font-family: Arial;
}

.awpt-blog-page .post__image .image {
  width: 100%;
}

/* Tailwind preflight makes every image block-level, while the safe importer adds
   intrinsic dimensions. WordPress has neither override on article images. */
.awpt-blog-page .post-content .post__content img {
  display: inline;
  width: auto;
}

/* WordPress allows the decorative pepper to extend beyond its container. */
.awpt-blog-page .pitchili {
  max-width: none;
}

.awpt-blog-page .lead-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.awpt-blog-page .subscribe__form_input:disabled,
.awpt-blog-page .subscribe__form_btn:disabled {
  opacity: 1;
}

.awpt-blog-page .subscribe__form_btn:disabled {
  cursor: default;
}

.awpt-blog-page .subscribe__form_input--static {
  display: flex;
  align-items: center;
  color: #c8cbe3;
}

.awpt-blog-page .subscribe__form_btn--static {
  cursor: default;
}

.awpt-blog-page .newsletter-status-error {
  color: #b00020;
}

.awpt-blog-page .article-youtube-facade,
.awpt-blog-page .post-content iframe {
  position: relative;
  display: inline-block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0;
  overflow: hidden;
  border: 0;
  background-color: #282828;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  vertical-align: baseline;
}

.awpt-blog-page .article-youtube-load {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
}

.awpt-blog-page .article-youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: #f03;
  opacity: .92;
}

.awpt-blog-page .article-youtube-play::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-42%, -50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #fff;
  content: "";
}

.awpt-blog-page .article-youtube-load:hover .article-youtube-play,
.awpt-blog-page .article-youtube-load:focus-visible .article-youtube-play {
  background: red;
}
