* {
  box-sizing: border-box;
  margin: 0;
}
body {
  width: 100%;
  overflow-x: hidden; 
  overflow-y: auto; 
  font-family: var(--font-instrument-sans);
  letter-spacing: -0.01em;
  color: var(--color-white);
}
.lookbook-web {
  display: block;
  width: 100%;
  padding: 0;
  font-size: 20px;
  line-height: 25px;
  background-color: #fff;
  color: #000;
}
h1 {
  letter-spacing: -0.98px;
  line-height: 21px;
  font-size: 70px;
  font-weight: 600;
}
/* h2 {
  letter-spacing: -0.01em;
  line-height: 55px;
  font-size: 50px;
  font-weight: 600;
} */
h3 {
  letter-spacing: -0.56px;
  line-height: 40px;
  font-size: 40px;
  font-weight: 400;
}
/* h4 {
  letter-spacing: -0.01em;
  line-height: 35px;
  font-size: 30px;
  font-weight: 400;
} */
p {
  line-height: 25px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  gap: 40px;
  padding: 252px 198px 0;
}
.tag-txt {
  line-height: 25px;
  font-weight: 500;
  position: relative;
  letter-spacing: -0.01em;
}
.tag-w-outline {
  border-radius: 20px;
  border: 2px solid var(--color-whitesmoke);
  box-sizing: border-box;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.tag-w-outline.inverted {
  background-color: var(--color-whitesmoke);
  color: #000
}
.tag-o-outline {
  border-radius: 20px;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  border: 2px solid #F27B13;
}
.tag-o-outline.inverted {
  background-color: #F27B13;
}
.tag-g-outline {
  border-radius: 20px;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  border: 2px solid #567568;
}
.tag-g-outline.inverted {
  background-color: #567568;
}
.tag-b-filled {
  border-radius: 20px;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  /* background-color: var(--color-blue); */
  border: 2px solid var(--color-blue);
}
.tag-b-filled.inverted {
  background-color: var(--color-blue);
}
.tag-y-filled {
  border-radius: 20px;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  background-color: #e3ffca;
  color: var(--color-black);
}
.tag-y-filled.inverted {
  background-color: #e3ffca;
}
.topics-tabs {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex: 1;
  align-items: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 16px;
}
.loop-nav-bar {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-self: stretch;
  align-items: flex-start;
  padding: 40px 100px;
  gap: 20px;
}
.search-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 400px;
  border: 2px solid var(--color-black);
  box-sizing: border-box;
  height: 42px;
  align-items: center;
  padding: 0 12px;
  margin-left:auto;
}
.search-input{
    background: transparent;
    width: 100%;
    height: 100%;
    outline: none;
    color: #000000;
    border: none;
    font-size: 18px;
}
.articles {
  width: 100%;
  padding: 0;
  margin: 0;
}
.article-row-wrap{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 80px;
  margin: 0;
  box-sizing: border-box;
}
.articles .article {
  display: flex;
  width: 100%;
  height: 100%;
}
.article {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  align-items: center;
  /* gap: 24px; */
}
.article-item {
  padding: 20px;
}
.article-row-wrap.row-black {
  background:#000;
  color:#fff;
}
.article-row-wrap.row-white {
  background:#fff;
  color:#000;
}

/* 图片父容器 相对定位基准 */
.post-prev-img{
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    height: 100%;
    width: 100%;
}
.post-prev-img img{
    width:100%;
    height: auto;
    display:block;
}

/* 遮罩层：和图片宽高完全一致 */
.img-mask{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    /* background-color:rgba(0,0,0,0.6); 黑色半透明遮罩，可自行改透明度 */
    background: #577568E5 0% 0% no-repeat padding-box;
    color:#fff;
    /* 三栏垂直布局 上中下均分 */
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 10px;
}

/* 鼠标滑过图片显示遮罩 */
.post-prev-img:hover .img-mask{
    opacity: 1;
    visibility: visible;
}

/* 上区域文字 */
.mask-top{
    text-align:center;
    padding: 12px 8px;
}

/* 中间区域：按钮居中 */
.mask-center{
    display:flex;
    flex-direction: column;
    align-items:center;
    text-align: center;
    justify-content:center;
    gap:30px;
    font-size: 20px;
    padding:0 37px;
}

.mask-btn{
  padding: 13px 15px;
  height: 50px;
  color:#fff;
  cursor:pointer;
  border-radius: 100px;
  /* 消除按钮默认轮廓 */
  outline: none;
  /* 禁止按钮文字选中 */
  user-select: none;
  /* 增加过渡hover动画 */
  transition: 0.3s ease;
  font-size: 20px;
  background:#F27B14;
}
.mask-btn:hover{
    background:#DD6600;
    /* color:#000; */
}

/* 底部文字 */
.mask-bottom{
    text-align:center;
    padding: 20px;
    font-size: 16px;
}

.article-img {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  /* height: 544px; */
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
}
.article-title {
  align-self: stretch;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  text-align: left;
}
.close_icon {
  position: relative;
  width: 18px;
  height: 18px;
  overflow: hidden;
  margin-right: 12px;
  display: none;
}
.search_icon {
  position: relative;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

/* tablet */
@media (max-width: 1920px) {
  h1 {
    line-height: 21px;
    font-size: 40px;
    letter-spacing: -0.56px;
  }
  h3 {
    line-height: 24px;
    font-size: 22px;
    letter-spacing: -0.31px;
  }
  .intro {
    gap: 40px;
    padding: 252px 62px 0;
  }
  .article-row-wrap {
    padding-left: 95px;
    padding-right: 95px;
  }
  /* .article-img {
    height: 408px;
  } */
}

@media (max-width: 1280px) {
  h1 {
    line-height: 21px;
    font-size: 36px;
    letter-spacing: -0.5px;
  }
  h3 {
    line-height: 19px;
    font-size: 18px;
    letter-spacing: -0.25px;
  }
  .intro {
    gap: 40px;
    padding: 252px 62px 0;
  }
  .article-row-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 80px;
    padding-right: 80px;
  }
  /* .article-img {
    height: 706px;
  } */
  .mask-center{
    font-size: 18px;
  }
  .mask-btn{
    font-size: 18px;
  }
  .mask-bottom{
      font-size: 14px;
  }
}

@media (max-width: 1024px) {
  h1 {
    line-height: 21px;
    font-size: 30px;
    letter-spacing: -0.42px;
  }
  h3 {
    line-height: 24px;
    font-size: 16px;
    letter-spacing: -0.22px;
  }
  .search-input{
    font-size: 16px;
  }
  .intro {
    gap: 35px;
    padding: 252px 62px 0;
  }
  .article-row-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 80px;
    padding-right: 80px;
  }
  /* .article-img {
    height: 358px;
  } */
  .mask-center{
    font-size: 16px;
  }
  .mask-btn{
    font-size: 16px;
  }
  .mask-bottom{
      font-size: 14px;
  }
  .loop-nav-bar {
    padding: 40px 62px;
  }
  .search-bar {
    width: 100%;
  }
}
@media (max-width: 768px) {
  h1 {
    line-height: 33px;
    font-size: 26px;
    letter-spacing: -0.36px;
  }
  h3 {
    line-height: 19px;
    font-size: 14px;
    letter-spacing: -0.2px;
  }
  .search-input{
    font-size: 14px;
  }
  .intro {
    gap: 35px;
    padding: 171px 40px 0;
  }
  .article-row-wrap {
    grid-template-columns: 1fr;
    padding:40px;
  }
  .article {
    padding: 0;
  }
  /* .article-img {
    height: 452px;
  } */
  .mask-center{
    font-size: 14px;
  }
  .mask-btn{
    font-size: 14px;
  }
  .mask-bottom{
      font-size: 12px;
  }
  
  .loop-nav-bar {
    padding: 40px 40px;
  }
  .search-bar {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .article-row-wrap {
    grid-template-columns: 1fr;
    padding:40px;
  }
  .lookbook-web{
    width: 320px !important;
  }
  .articles{
    width: 320px !important;
  }
  .article {
    width: 240px !important;
  }
  .article-img {
    width: 240px !important;
    height: 325px !important;
  }
  .mask-center{
    font-size: 8px;
    padding:0;
    gap:10px;
  }
  .mask-btn{
    font-size: 8px;
    padding:5px 8px;
  }
  .mask-bottom{
      font-size: 6px;
  }

  .loop-nav-bar {
    padding: 40px 0;
  }
  .search-bar {
    width: 100%;
  }
}

/* @media (max-width: 960px) {
  .lookbook-mobile {
    display: block;
  }
  .lookbook-web {
    display: none;
  }
} */