/* Featured section */
.featured {
  padding: 0;
}

@media (min-width: 1300px) {
  .featured {
    padding: 20px 0;
  }
}

.featured .featured-image {
  width: 100%;
  height: 56.25%;
  max-width: 1140px;
  display: block;
  margin: auto;
}

/* Post content section */
.post-content {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60% 40%;
}

.post-content > article {
  padding: 0 20px;
}

h4 {
  color: #000000;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.post-content > aside {
  padding: 0 20px;
}

.choose_option, .note_list {
  padding-top: 10px;
  padding-bottom: 10px;
}

.note_list h6 {
  font-family: 'poppins';
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1rem;
  line-height: 24px;
}

.note_list h6 a {
  color: #000;
}

ul.choosen_social {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-left: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
}

ul.choosen_social li {
  list-style-type: none;
}

ul.choosen_social li span {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #000;
  padding: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

/* an 18px Font Awesome glyph; tag-icons.css supplies the image and width */
ul.choosen_social li span::before {
  content: "";
  width: calc(18px * var(--tag-aspect));
  height: 18px;
  background-repeat: no-repeat;
  background-size: auto 18px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  ul.choosen_social {
    flex-direction: column;
    width: fit-content;
  }

  .post-content {
    padding-top: 16px;
  }
}

.urls_link img {
  width: 1em;
  height: 1em;
  margin: 0 0.07em;
  vertical-align: -0.1em;
  display: inline;
}

.urls_link a {
  text-decoration: underline;
  line-height: 0px;
  letter-spacing: 0px;
  color: #000;
}

.urls_link a:hover {
  text-decoration-style: dotted;
}

h4.feature_title {
  margin-top: 10px;
  padding-top: 10px;
}

.feature_content p {
  font-size: 16px;
  line-height: 24px;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
  color: #000000a6;
}

.feature_list ul,
.feature_content ul,
.note_list ul {
  padding-left: 50px;
}

.feature_list ul li,
.feature_content ul li,
.note_list ul li {
  font-size: 16px;
  line-height: 24px;
  color: #000000a6;
}

h4.developers, h4.Player, h4.languages {
  margin-top: 10px;
}

.image_rating {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

h4.feature_heading, h4.developers, .image_rating {
  padding-top: 10px;
}

/* the live site's breakpoint for these is a pixel off from the rest */
@media (max-width: 766px) {
  .image_rating {
    padding-top: 0;
  }

  .choose_option, .note_list {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Sidebar styles */
.iframe_video {
  position: relative;
  z-index: 999;
}

/* The iframe sits on a line of text, whose height shows below it: the live
   theme's 20px/34px in the sidebar, the article's 16px/24px once the script
   moves the video into the article on narrow screens. */
.iframe_video p {
  font-size: 20px;
  line-height: 1.7;
}

article .iframe_video p {
  font-size: 16px;
  line-height: 24px;
}

.iframe_video:before {
  left: 21px;
  content: '';
  position: absolute;
  width: 95%;
  height: 94%;
  border: 4px solid #db2731;
  bottom: -5px;
  z-index: -99;
  box-sizing: border-box;
}

.iframe_video iframe {
  max-height: 235px !important;
  padding-right: 15px;
  padding-left: 15px;
}

.right_screenshot_box {
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #e5e5e5;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 15px;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.right_screenshot_box > img:not(:last-child) {
  padding-bottom: 15px;
}

.licences {
  text-align: center;
  font-family: 'Poppins';
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.licences a {
  color: #000;
}

h2.title_singe {
  display: none;
}

@media screen and (max-width: 767px) {
  h2.title_singe {
    display: block;
    margin-top: 15px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    color: #de2933;
    font-family: 'Poppins';
    order: -10;
  }

  .choose_option {
    display: none;
  }

  .post-content > article {
    display: flex;
    flex-direction: column;
  }

  .post-content {
    grid-template-columns: 1fr;
  }

  .image_rating {
    margin-top: 10px;
    flex-direction: column;
    align-items: center;
  }

  .iframe_video iframe {
    padding-left: 0px;
  }
  
  h4.feature_title {
    order: -8;
  }
  
  .feature_content {
    order: -7;
  }

  h4.feature_heading {
    order: -6;
  }

  .feature_list {
    order: -5;
  }

  .iframe_video {
    order: -4;
    padding-top: 10px;
    margin-bottom: 10px;
  }
  
  h4.release_date {
    order: -3;
    margin-top: 10px;
  }

  h4.price_point {
    order: -2;
    padding-top: 10px;
  }

  .urls_link {
    order: -1;
  }
  
  .note_list {
    order: 0;
  }

  .right_screenshot_box {
    order: 1;
    margin-top: 15px;
  }

  .image_rating {
    order: 2;
  }
  
  h4.developers, h4.Player, h4.languages {
    display: none;
  }
}

/* Ratings: one height for every badge in a row. Plain badges show at their
   own 138px, as on the live site; a row with content descriptors is drawn
   smaller so it fits the column. An ESRB rating with descriptors is the icon
   plus an HTML box, like the official artwork. */
.image_rating img {
  height: 138px;
  width: auto;
}

.image_rating:has(.esrb_box, .pegi_descriptor) img {
  height: 100px;
}

.image_rating_second {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.image_rating img.pegi_descriptor {
  height: 74px;
  align-self: flex-start;
}

.esrb_box {
  display: flex;
  height: 100px;
}

.esrb_box ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
  border: 3px solid #000;
  border-left: none;
  padding: 0 12px;
  min-width: 140px;
  background: #fff;
}

.esrb_box li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: #000;
}
