/* Layout: Main + Sidebar */
.pcgs-review-container {
  max-width: 1296px !important;
  margin: 40px auto !important;
  background: #1a1a1a !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 32px rgba(0,0,0,0.25) !important;
  padding: 34px 22px 38px 22px !important;
  display: flex !important;
  gap: 34px !important;
}
.pcgs-main-content {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}
.pcgs-review-sidebar {
  width: 300px;
  min-width: 260px;
  max-width: 300px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
}

/* Description Line */
.pcgs-single-intro {
  font-size: 1.05rem !important;
  font-weight: 300 !important;
}

/* Intro Row */
.pcgs-intro-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 32px !important;
  margin-bottom: 28px !important;
}
.pcgs-review-body-intro {
  flex: 0 1 70% !important;
  min-width: 0 !important;
  max-width: 70% !important;
  font-size: 1.13rem !important;
  color: #e2e2e2 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}
.pcgs-review-intro {
  flex: 2 1 0% !important;
  min-width: 0 !important;
  line-height: 1.7 !important;
  font-size: 1.12rem !important;
  color: #e2e2e2 !important;
  margin-right: -15px !important;
}

/* Header image */
.pcgs-header-image-full {
  text-align: center !important;
  margin-bottom: 10px !important;
}
.pcgs-header-img-full {
  max-width: 100% !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 14px #0007 !important;
  height: auto !important;
}

/* Byline */
.pcgs-review-header {
  margin-bottom: 10px !important;
}
.pcgs-byline {
  font-size: .85rem !important;
  color: #b6b6b6 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 30px !important;
}
.pcgs-byline-author {
  font-size: .85rem !important;
  color: #b6b6b6 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.pcgs-author-gravatar img,
.pcgs-author-gravatar .avatar {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  margin-right: 8px !important;
  border: 2px solid #222 !important;
  box-shadow: 0 1px 5px #0007 !important;
  object-fit: cover !important;
}

/* At a Glance Box */
.pcgs-quote-float {
  flex: 1 1 280px !important;
  max-width: 280px !important;
  min-width: 220px !important;
  background: #212326 !important;
  border-left: 6px solid #B01616 !important;
  border-radius: 8px !important;
  box-shadow:
    0 10px 36px 0 #000c,
    0 1.5px 8px 0 #2228,
    0 0 0 2px #23252a !important;
  transition: box-shadow 0.22s;
  padding: 16px 20px !important;
  font-size: 1rem !important;
  color: #f5f5f5 !important;
  margin: 15px 0 !important;
  position: relative !important;
}
.pcgs-quote-title {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  color: #FFD800 !important;
}
.pcgs-glance-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pcgs-glance-list li {
  margin-bottom: 7px !important;
}

/* Galleries */
.pcgs-foogallery-section,
.pcgs-screenshot-gallery {
  margin: 34px 0 28px 0 !important;
}
.pcgs-screenshot-gallery h2 {
  margin-bottom: 15px !important;
  font-size: 1.2rem !important;
  color: #D81818 !important;
  font-weight: 600 !important;
}
.pcgs-review-body {
  line-height: 1.7 !important;
  font-size: 1.12rem !important;
  color: #e2e2e2 !important;
}

/* Scorebox */
.pcgs-review-scorebox {
  width: 100% !important;
  background: linear-gradient(110deg, #1d1d1e 85%, #36363b 100%) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 44px #000a, 0 2px 14px #B0161677 !important;
  padding: 28px 0 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 350px !important;
  margin-top: 54px !important;
  overflow: hidden !important;
}
.pcgs-scorebox-imgcol {
  flex: 0 0 64% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  min-width: 200px !important;
  padding-right: 1.5vw !important;
}
.pcgs-score-img-el {
  width: 100% !important;
  aspect-ratio: 3/2 !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 14px #0009 !important;
  background: #191a1d;
  display: block !important;
  margin: 0 !important;
}
.pcgs-scorebox-ratingcol {
  flex: 1 1 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
}
.pcgs-rating-circle {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -5px;
}
.pcgs-progress {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.pcgs-rating-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  font-size: 2.7rem;
  font-weight: bold;
  color: #ffd800;
  pointer-events: none;
}
.pcgs-rating-label {
  font-size: 1.45rem;
  font-weight: bold;
  color: #ffde63;
  margin-top: 10px !important;
  text-align: center;
}
.pcgs-score-author {
  margin-top: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: rgba(30,30,34,0.85);
  border-radius: 22px !important;
  box-shadow: 0 2px 6px #0005;
  padding: 7px 16px 7px 12px !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
}
.pcgs-score-author img,
.pcgs-score-author .avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50%;
  margin-right: 8px;
  border: 2px solid #222;
}

/* Floating quote box */
.pcgs-floating-quote {
  float: right !important;
  width: 280px !important;
  margin: 5px 0 0 20px !important;
  background: #2b2b32 !important;
  color: #fff !important;
  box-shadow:
    0 10px 36px 0 #000c,
    0 1.5px 8px 0 #2228,
    0 0 0 2px #23252a !important;
  padding: 18px !important;
  font-size: 1.08rem !important;
  font-style: italic !important;
}
@media (max-width: 800px) {
  .pcgs-floating-quote {
    float: none !important;
    width: 100% !important;
    margin: 16px 0 !important;
  }
}

/* Full-width quote box */
.pcgs-full-quote {
  width: 100%;
  margin: 38px auto;
  background: rgba(20,20,22,0.65);
  color: #fff !important;
  border-radius: 14px;
  padding: 36px 20px;
  font-size: 2rem;
  font-weight: 850;
  text-align: center;
  letter-spacing: .015em;
  line-height: 1.18;
  font-family: 'Montserrat','Segoe UI',Arial,sans-serif;
  box-shadow:
    0 10px 36px 0 #000c,
    0 1.5px 8px 0 #2228,
    0 0 0 2px #23252a !important;
  backdrop-filter: blur(2px);
}
@media (max-width: 600px) {
  .pcgs-full-quote {
    font-size: 1.15rem;
    padding: 18px 6vw;
  }
}

/* Only tighten padding on image figures, not embeds */
.pcgs-review-body figure.wp-block-image,
.pcgs-review-intro figure.wp-block-image {
  padding-bottom: 4px !important;
}
.pcgs-review-body img,
.pcgs-review-intro img {
  border-radius: 8px !important;
  display: block !important;
  background: #18181c !important;
  margin: 0 !important;
  width: 100% !important;
  height: auto !important;
}

/* Responsive YouTube / Gutenberg embed blocks */
figure.wp-block-embed,
.wp-block-embed-youtube,
.wp-block-embed,
.wp-block-embed__wrapper {
  width: 100% !important;
  max-width: 900px !important;
  margin: 32px auto !important;
  border-radius: 8px !important;
  background: #18181c !important;
  box-shadow: 0 4px 18px #0007 !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  /* set container height via bottom padding: */
  padding-bottom: 56.25% !important; /* 16:9 aspect */
  height: 0 !important;
}

/* Remove default WP embed max-width */
.wp-block-embed.is-type-video {
  max-width: 100% !important;
}
/* Clear out the old “height:56vw” rule on the iframe: */
.wp-block-embed-youtube iframe,
.wp-block-embed iframe {
  height: auto !important;
  max-height: none !important;
}

/* Give the container a 16:9 aspect‐ratio via padding-bottom hack: */
figure.wp-block-embed,
.wp-block-embed-youtube,
.wp-block-embed {
  padding: 0 !important;            /* remove your old padding:0 */
  padding-bottom: 56.25% !important;/* 9/16 = 0.5625 */
  height: 0 !important;             /* content height comes from padding */
  position: relative !important;
  overflow: hidden !important;
}

/* Absolutely fill the container and center/crop via object‐fit */
figure.wp-block-embed iframe,
.wp-block-embed-youtube iframe,
.wp-block-embed iframe {
  position: absolute !important;
  top:    0 !important;
  left:   0 !important;
  width:  100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
/* 1) Remove any margin/padding on the inner .wp-block-embed__wrapper */
.wp-block-embed__wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

/* 2) Pin the wrapper full-bleed into the figure (which is your 16∶9 box) */
figure.wp-block-embed .wp-block-embed__wrapper {
  position: absolute !important;
  top:      0 !important;
  left:     0 !important;
  width:   100% !important;
  height:  100% !important;
}

/* 3) Have the iframe fill that wrapper, and crop via object-fit */
figure.wp-block-embed iframe,
.wp-block-embed-youtube iframe,
.wp-block-embed iframe {
  position: absolute !important;
  top:      0 !important;
  left:     0 !important;
  width:   100% !important;
  height:  100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
/* ─────────────────────────────────────────────────────────────────────────────
   Embed wrapper: force a true full-bleed 16∶9 fill
   ─────────────────────────────────────────────────────────────────────────────*/
/* 1) Reset any of the old wrapper sizing/margins */
.wp-block-embed__wrapper {
  margin:     0 !important;
  padding:    0 !important;
  max-width: none !important;
}

/* 2) Absolutely fill the 16:9 <figure> with that wrapper */
figure.wp-block-embed {
  position: relative !important;
  overflow: hidden !important; /* ensure we crop to the figure’s rounded corners */
}
figure.wp-block-embed .wp-block-embed__wrapper {
  position: absolute !important;
  inset:    0 !important;       /* top/right/bottom/left = 0 */
  width:   100% !important;
  height:  100% !important;
}

/* 3) Stretch the iframe to cover the wrapper */
figure.wp-block-embed .wp-block-embed__wrapper iframe {
  position: absolute !important;
  inset:    0 !important;
  width:   100% !important;
  height:  100% !important;
  /* object-fit may improve poster centering if your browser supports it */
  object-fit: cover !important;
  object-position: center center !important;
}
/*--------- ADDITIONAL CSS 06-28-2025 --------*/

/*-- Slick Slider White Arrows --*/
.fa-chevron-left, .fa-chevron-right {
	color: #fff !important;
}

/*-- Red Load More Button */
#load-more-posts.load-more-button {
	background-color: #B01616 !important;
	color: #fff !important;
	border: none !important;
	margin-bottom: 20px !important;
	padding-bottom: 12px !important;
	box-shadow: 0 0 7px #D05858
}

/*-- Category Dropdown Left Margin --*/
.pcgs-category-filter #pcgs-category-select {
	margin-left: 12px
}


/* Mobile scorebox & layout tweaks */

@media (max-width: 900px) {
  .pcgs-review-sidebar { display: none !important; }
  .pcgs-scorebox-imgcol { display: none !important; }

  .pcgs-review-scorebox {
    width: 90vw !important;
    max-width: 380px !important;
    aspect-ratio: 1/1 !important;
    margin: 0 auto 24px auto !important;
    padding: 22px 0 16px 0 !important;
    border-radius: 18px !important;
    flex-direction: column !important;
  }
  .pcgs-scorebox-ratingcol {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .pcgs-rating-circle,
  .pcgs-rating-circle svg {
    width: 230px !important;
    height: 230px !important;
    max-width: 85vw !important;
    max-height: 85vw !important;
  }
  .pcgs-rating-value {
    width: 100% !important;
    font-size: 2.6rem !important;
    left: 0; right: 0;
    top: 50%;
    transform: translateY(-56%);
    text-align: center !important;
    margin: 0 !important;
  }
  .pcgs-rating-label {
    margin-top: -15px !important;
    margin-bottom: 0 !important;
    font-size: 1.18em !important;
  }
  .pcgs-score-author {
    margin-top: 20px !important;
  }
  .pcgs-intro-row {
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .pcgs-quote-float {
    margin: 18px 0 0 0 !important;
    width: 100% !important;
    float: none !important;
    align-self: center !important;
  }
  .pcgs-review-intro {
    width: 100% !important;
  }
  .pcgs-review-body-intro {
    max-width: 100% !important;
  }
}
