@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap');
html, body {
  margin: 0;
  padding: 0; }
  html *, body * {
    box-sizing: border-box;
    font-family: 'Roboto Slab', serif; }
  html img, body img {
    max-width: 100%; }

.site_wrapper__inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px; }
  @media (max-width: 1023px) {
    .site_wrapper__inner {
      padding: 20px; } }

.red_blocks {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px; }
  @media (max-width: 640px) {
  .red_blocks {
    margin: 0; } }
  .red_blocks__item {
    width: calc(50% - 20px);
    margin: 0 10px 20px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    position: relative;
    transition: all 0.3s ease; }
  .red_blocks__item:hover {
    border-color: #000; }
  @media (max-width: 640px) {
    .red_blocks__item {
      width: 100%;
      margin: 0 0 20px; } }
  .red_blocks__item > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-decoration: none;
    z-index: 1; }
  .red_blocks__item-image {
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    padding-top: 50%; }
  .red_blocks__item-image img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; }
  .red_blocks__item-body {
    width: 100%;
    padding: 0; }
  .red_blocks__item-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px; }
  .red_blocks__item-text {
    font-size: 16px;
    font-weight: normal;
    color: #000; }
  .red_blocks__item-btn a {
    font-size: 14px;
    padding: 10px 30px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    color: #000; }
    .red_blocks__item-btn a:hover {
      border-color: #000; }
