
 div.col-card-case div.card a,
  div.card-back-text a {
    text-decoration: none;
    color: #fff;
  }

  div.col-card-case div.card a:hover,
  div.card-back-text a:hover {
    color: #fff;
    text-decoration: none;
  }

  a.case-name,
  a.case-term {
    text-decoration: none;
    color: #fff;
  }

  a.case-name:hover,
  a.case-term:hover {
    text-decoration: none;
    color: #fff;
  }

  a.flashing-card div.card-img-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  div.card-front,
  div.card-back {
    background-color: #233039;
    border-radius: 8px;
    border: none;
    color: #fff;
    height: 100%;
  }

  div.card-back {
    color: #A6B1B9;
    font-size: 20px;
    padding: 16px;
  }

  .card-case-badge {
    padding: 5px 20px;
    border-radius: 8px;
    border: 1px solid #00A849;
  }

  .card-img-top {
    width: 100%;
    min-height: 230px;
  }

  .card-case-body {
    height: auto;
    padding: 16px;
  }

  .card-case-text {
    margin-top: 24px;
    font-size: 20px;
  }

  div.card-back-text {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
  }

  .col-сard-case {
    margin-bottom: 32px;
    min-height: 450px;
  }

  .point-card {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  div.card.portfolio-wrapper {
    box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0px 0 1px rgb(10 10 10 / 2%);
  }

  .wrapper-block {
    border-style: solid;
    border-width: 3px;
    border-radius: 8px;
    margin: 12px 10px 18px 10px;
    padding: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    justify-content: center;
  }

  @media(max-width: 480px) {
    .wrapper-block {
      border-width: 1px;
    }
  }

  div.title-wrapper-block {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
  }

  .wrapper-block div.wrapper-svg {
    padding: 10px 30px 0 30px;
    width: 145px;
    margin: 0 auto;
    margin-bottom: -50px;
  }

  .wallpaper-badge {
    font-size: 12px;
  }

  .logo-article {
    width: 100%;
    height: auto;
  }

  .article-data {
    display: flex;
    justify-content: space-between;
    align-items: start;
  }

  .article-creators {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .article-creators-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .author-img {
    width: 35px;
    margin-right: 8px;
  }

  a.flashing-card {
    color: var(--primary-dark-100);
  }

  a.flashing-card:hover {
    color: var(--primary-dark-100);
    text-decoration: none;
  }

  .card.portfolio-wrapper.portfolio-title {
    border-radius: 7px 7px 0 0;

  }

  div.card-front,
  div.card-black {
    min-height: 100%;
  }


/* статья в тренде */

.trending-article-block {
    background-color: #233039;
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
    border-left: 4px solid #00A849;
    width: 100%;
    box-sizing: border-box;
}

.trending-article-block:hover {
    box-shadow: 0 4px 15px rgba(0, 168, 73, 0.2);
    border-left-color: #00D15C;
}

.trending-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.trending-icon {
    color: #00A849;
    font-size: 18px;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.trending-badge {
    background-color: #00A849;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.trending-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    margin-top: 0;
}

.trending-description {
    color: #A6B1B9;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
    margin-top: 0;
}

.trending-link {
    color: #00A849;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.trending-link:hover {
    color: #00D15C;
    text-decoration: none;
}

.trending-link svg {
    transition: none;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .trending-article-block {
        padding: 20px;
        margin: 16px 0;
    }
    
    .trending-title {
        font-size: 16px;
    }
    
    .trending-description {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .trending-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .trending-article-block {
        padding: 16px;
        margin: 12px 0;
    }
    
    .trending-header {
        gap: 8px;
        margin-bottom: 12px;
    }

    .trending-badge {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .trending-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .trending-description {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .trending-link {
        font-size: 13px;
        gap: 6px;
    }
}
