/* ================== hero ================== */

.hero {
  margin-top: 124px;
  padding-top: 80px;
}

.hero__inner {
  display: flex;
  gap: 32px;
}

.hero__img {
  width: 50%;
  border-radius: 16px;
  max-width: 664px;
  object-fit: cover;
}

.hero__text-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__tag {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #000;
  border-radius: 999px;
  width: min-content;
}

.hero__tag::before {
  content: '';
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 100%;
}

.hero__tag::after {
  content: 'post';
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__title {
  font-weight: 400;
  font-size: 80px;
  line-height: 1;
  font-family: "Baskervville", serif;
}

.hero__date {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === */
.hero--news .hero__tag {
  border: 1px solid #DD6249;
}

.hero--news .hero__tag::before {
  background: #DD6249;
}

.hero--news .hero__tag::after {
  content: 'news';
}

/* === */

.hero--products .hero__tag {
  border: 1px solid #ABB249;
}

.hero--products .hero__tag::before {
  background: #ABB249;
}

.hero--products .hero__tag::after {
  content: 'PRODUCTS';
}

/* === */

.hero--company .hero__tag {
  border: 1px solid #E8A94C;
}

.hero--company .hero__tag::before {
  background: #E8A94C;
}

.hero--company .hero__tag::after {
  content: 'company';
}

/* ================== post ================== */

.post {
  margin: 80px 0;
}

.post__inner {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.post__title {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
}

.post__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}

.post__text q {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
}

.post__text span {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;

}

.post__img {
  border-radius: 16px;
  width: 100%;
  max-width: 768px;
}

.post__list {}

.post__list ul,
.post__list ol {
  padding-left: 24px;
}

.post__list ul li {
  position: relative;
}

.post__list ul li::before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  left: -11px;
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background: #000;
}

/* ================== blog ================== */
.blog {
  margin-bottom: 80px;
}

.blog__list {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px 32px;
}

.blog__item {
  width: 100%;
  max-width: 432px;
}

.blog__item--news {}

.blog__item--products {}

.blog__item--company {}

.blog__link {
  height: 100%;
  max-height: 384px;
}

.blog__link img {
  width: 100%;
  border-radius: 16px;
  filter: brightness(1);

  transition: filter 0.2s;
}

.blog__tag {
  margin-top: 32px;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #000;
  border-radius: 999px;
  width: min-content;
}

.blog__tag::before {
  content: '';
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 100%;
}

.blog__tag::after {
  content: 'post';
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === */
.blog__item--news .blog__tag {
  border: 1px solid #DD6249;
}

.blog__item--news .blog__tag::before {
  background: #DD6249;
}

.blog__item--news .blog__tag::after {
  content: 'news';
}

/* === */

.blog__item--products .blog__tag {
  border: 1px solid #ABB249;
}

.blog__item--products .blog__tag::before {
  background: #ABB249;
}

.blog__item--products .blog__tag::after {
  content: 'PRODUCTS';
}

/* === */

.blog__item--company .blog__tag {
  border: 1px solid #E8A94C;
}

.blog__item--company .blog__tag::before {
  background: #E8A94C;
}

.blog__item--company .blog__tag::after {
  content: 'company';
}

/* === */

.blog__subtitle {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.blog__info {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================== */
/* =========================== */
/* =========================== */

@media (min-width: 800px) {
  .blog__link img:hover {
    filter: brightness(0.7);
  }
}

@media (max-width: 1400px) {
  .hero__title {
    font-size: 5vw;
  }
}

@media (max-width: 800px) {
  .blog__subtitle {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .hero {
    margin-top: 74px;
  }

  .post__title {
    font-size: 30px;
  }

  .blog__list {
    margin-top: 40px;
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .blog__tag {
    margin-top: 16px;
  }

  .blog__subtitle {
    font-size: 18px;
  }
}

@media (max-width: 500px) {

  .post__text q,
  .post__text span {
    font-size: 24px;
  }
}

@media (max-width: 400px) {

  .hero__title {
    font-size: 18px;
  }

  .blog__list {
    grid-template-columns: 1fr;
  }

  .blog__title {
    font-size: 50px;
  }
}