/*
Theme Name: WSOP V2
Author: Elevate
Text Domain: wsop
Description: WSOP Theme V2 with Gutenberg blocks and Tailwind CSS
Version: 2.0.0
*/

.button:hover {
  background-color: #12E119;
  box-shadow: inset -0.625rem -0.75rem 0.375rem #099510;
  -webkit-box-shadow: inset -0.625rem -0.75rem 0.375rem #099510;
}

.player-info-wrapper{
  width: 100%;
  text-align: center;
  font-size: 12px;
  margin: 40px 0;
}

.player-info-wrapper span:not(:last-child){
  margin-right: 2em;
}

.footer__nav:has(+ .player-info-wrapper){
  margin-bottom: 0;
}
.faq__button:before{
  display: none;
}
.faq__content a{
  text-decoration: underline;
}

/* ─── Article content: typography for Gutenberg block output ─────────────────
   After migration posts render wp:heading and wp:html blocks as direct children
   of .article-content (no .article-item wrapper). These rules mirror the styles
   in .article-content .article-item so text looks correct in both states.
   ─────────────────────────────────────────────────────────────────────────── */
.article-content > p,
.article-content > span,
.article-content > li {
  line-height: 1.5;
  font-weight: 300;
  font-size: clamp(1rem, 1.875vw, 1.5rem);
}
.article-content > p:not(:last-child),
.article-content > span:not(:last-child) {
  margin-bottom: clamp(0.8125rem, 2vw, 2rem);
}
.article-content > p:empty { display: none; }
.article-content > strong { font-weight: 500; }
.article-content > a {
  line-height: 1.5;
  font-weight: 300;
  font-size: clamp(1rem, 1.875vw, 1.5rem);
  text-decoration: underline;
  color: #04aaf8;
}
.article-content > h1,
.article-content > h2,
.article-content > h3,
.article-content > h4,
.article-content > h5,
.article-content > h6 {
  line-height: 1.5;
  font-weight: 500;
}
.article-content > h1,
.article-content > h2 { font-size: clamp(1.375rem, 2.375vw, 2.375rem); }
.article-content > h3,
.article-content > h4 { font-size: clamp(1.25rem, 2vw, 2rem); }
.article-content > h5,
.article-content > h6 { font-size: clamp(1.125rem, 1.75vw, 1.75rem); }
.article-content > h2:not(:first-child),
.article-content > h3:not(:first-child) {
  margin-top: clamp(3.25rem, 4.125vw, 4.125rem);
}
.article-content > h2:not(:last-child),
.article-content > h3:not(:last-child) {
  margin-bottom: clamp(1rem, 1.25vw, 1.25rem);
}
.article-content > ul {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}
.article-content > ul:not(:last-child) { margin-bottom: 1.625rem; }
.article-content > ul:not(:first-child) { margin-top: clamp(1rem, 5.0625vw, 5.0625rem); }
.article-content > ul li {
  line-height: 1.5;
  font-weight: 300;
  padding-inline-start: clamp(3.5rem, 3.8125vw, 3.8125rem);
  position: relative;
}
.article-content > ul li::before {
  content: "";
  position: absolute;
  top: 0.375rem;
  inset-inline-start: 0;
  background-image: url("https://www.playwsop.com/wp-content/themes/wsop-theme-v2/assets/img/academy/list-icon.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: clamp(2.5rem, 2.8125vw, 2.8125rem);
  height: clamp(2.5rem, 2.8125vw, 2.8125rem);
}
.article-content > ol {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  list-style: decimal;
  margin-block: clamp(2.25rem, 3.1875vw, 3.1875rem);
}
.article-content > ol li { margin-inline-start: 1em; }
.article-content > ol li::marker { font-weight: 500; }
.article-content > figure,
.article-content > .wp-caption {
  width: 100% !important;
  margin-bottom: clamp(1.9375rem, 3.5vw, 3.5rem);
}
.article-content > figure img,
.article-content > .wp-caption img,
.article-content > img {
  border-radius: clamp(0.625rem, 1.125vw, 1.125rem);
  height: 28vw;
  width: 100%;
  object-fit: cover;
}

/* ─── FAQ block (acf/faq) inside article content ─────────────────────────────
   The acf/faq block is designed as a full-page section. When placed inside the
   narrow article column, strip the section chrome so it looks compact.
   ─────────────────────────────────────────────────────────────────────────── */
.article-content > .faq.section {
  padding-block: 0;
  background: transparent;
  color: inherit;
  margin-top: clamp(3.25rem, 4.125vw, 4.125rem);
}
.article-content > .faq.section .parallax,
.article-content > .faq.section .background {
  display: none;
}
.article-content > .faq.section .container {
  padding-inline: 0;
  max-width: none;
  width: 100%;
}
.article-content > .faq.section .section__title._small {
  font-size: clamp(1.25rem, 2vw, 2rem) !important;
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  margin-bottom: 1.25rem;
}
