@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 24px;
  background-color: #F0F4FA;
  letter-spacing: 0.4px;
}

.wrap {
  max-width: 1080px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.head {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sitename {
  font-size: 20px;
  font-weight: 600;
}

.cards a {
  text-decoration: none;
}

.card {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #fff;
  border-radius: 20px;
  color: #4b4b4b;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}
.card:hover {
  cursor: pointer;
}
.card_title {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
}
.card_img {
  border-radius: 13px;
  background-position: center;
  background-size: cover;
}

.fixed {
  background-color: #9575CD;
  color: #fff;
}

.categ {
  padding: 30px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  position: sticky;
  top: 30px;
}
.categ a {
  color: #4b4b4b;
  text-decoration: none;
  line-height: 28px;
}
.categ a:hover {
  color: #9575CD;
}

.category_top {
  margin: 60px 0;
}

.page_top {
  background-color: #fff;
  border-radius: 20px;
}
.page_top_text {
  padding: 10px 30px 30px 30px;
}
.page_cover {
  border-radius: 20px 20px 0 0;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}
.page_content {
  padding: 30px;
  background-color: #fff;
  border-radius: 20px;
  margin-top: 30px;
}
.page_content p {
  margin: 0 0 20px 0;
}
.page_content a {
  text-decoration: none;
  border-bottom: 2px solid #9575CD;
  color: #9575CD;
}

.hlib {
  margin-bottom: 20px;
  padding-left: 20px;
}
.hlib a {
  text-decoration: none;
  color: #9575CD;
}

.paginator {
  display: flex;
  justify-content: space-between;
}

.paginator a {
  text-decoration: none;
  color: #9575CD;
  border-bottom: 2px solid #9575CD;
  padding-bottom: 2px;
}

@media screen and (max-width: 1100px) {
  .wrap {
    padding: 0 20px;
  }
}
@media screen and (max-width: 920px) {
  .wrap {
    display: flex;
    flex-direction: column;
    max-width: 720px;
  }
}
@media screen and (max-width: 720px) {
  .card {
    display: flex;
    flex-direction: column;
  }
  .card_img {
    min-height: 250px;
  }
}