/* **************** */
/* *** GENERAL ***** */
/* **************** */

* {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
}
header,
header * {
  background-color: #e6f4ff;
}

.overview *,
.basic-info *,
.cast * {
  background-color: #fff;
}

.overview,
.basic-info,
.cast {
  background-color: #fff;
  box-shadow: 0px 0px 1px 0px rgba(168, 168, 168, 1);
  border-radius: 1px;
  padding: 30px 20px;
  margin: 0 15% 15px;
}

/* **************** */
/* *** HEADER ***** */
/* **************** */

header {
  padding: 30px 15%;
}

.description {
  color: #626675;
  margin: 6px 0;
}

/* Gallery */

.gallery {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.gallery li:nth-child(1),
.gallery li:nth-child(2),
.gallery li:nth-child(3) {
  width: 100%;
  /* padding-bottom: 64.5%; */
  padding-bottom: 20%;
  overflow: hidden;
  border-radius: 8px;

  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
}
.gallery li:nth-child(1) {
  background-image: url(./img/overview-image1.jpeg);
}
.gallery li:nth-child(2) {
  background-image: url(./img/overview-image2.jpeg);
}
.gallery li:nth-child(3) {
  background-image: url(./img/overview-image3.jpeg);
}

/* **************** */
/* *** OVERVIEW ***** */
/* **************** */

.overview {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

/* 海报 */
.poster {
  overflow: hidden;
  width: 40rem;
}
.poster img {
  width: 100%;
}

/* 文字部分 */
.text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* 转赞评 */
.c-l-r {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  font-size: 12px;
  margin-bottom: 20px;
}
.c-l-r div {
  color: #519cea;
  padding-left: 10px;
}
.c-l-r span {
  color: #888;
}
.c-l-r div:nth-child(1),
.c-l-r div:nth-child(2) {
  padding-right: 10px;
  position: relative;
}
.c-l-r div:nth-child(1) span::after,
.c-l-r div:nth-child(2) span::after {
  position: absolute;
  content: '';
  width: 1px;
  height: 70%;

  top: 20%;
  right: 0;
  background: #626675;
}

.brief p {
  /* 汉字缩进2字符 | 两端对齐 */
  text-indent: 2em;
  text-align: justify;
  font-size: 14px;
  line-height: 200%;
}

/* Tags */

.tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 20px;
  font-size: 14px;
}
.tags div span:nth-child(1) {
  display: inline-block;
  width: 25%;
}
.tags div span:nth-child(2) {
  color: #747474;
}
.director a {
  color: purple;
}

/* ********************************** */
/* *** BASIC-INFO && slice Cast ***** */
/* ********************************** */

.basic-info h2,
.cast h2 {
  position: relative;
  margin-bottom: 20px;
  display: flex;
}
.basic-info span::before,
.cast span::before {
  position: absolute;
  content: '';
  width: 1px;
  height: 75%;

  top: 5px;
  left: -20px;
  width: 10px;
  background-color: #003eb3;
}
.line {
  background-color: #eee;
  color: #999;
  /* 占据所有剩余空间 */
  flex-grow: 1;
  height: 1px;
  margin-left: 10px;
  margin-top: 16px;
}
.info-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* row-gap: 20px; */
  font-size: 12px;
}
.cell {
  display: flex;
  border-bottom: 1px dotted #999;
  height: 36px;
  line-height: 36px;
}
.subtitle {
  width: 25%;
  color: #999;
}

/* **************** */
/* *** CAST ***** */
/* **************** */
.actors {
  display: flex;
  padding: 1.2rem 0;
  gap: 10px;
  font-size: 14px;
}
.actors img {
  width: 6rem;
}
.txy,
.bzt {
  border-bottom: 1px solid #e4e4e4;
}
.role-name {
  color: #003eb3;
  margin-bottom: 10px;
}

.actor-name span {
  color: #999;
}
.role-brief {
  margin-top: 10px;
}
