.certificates-twelve-block .block-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
  width: 100%; }
.certificates-twelve-block h2.block-title {
  margin-bottom: 0; }
  .certificates-twelve-block h2.block-title span {
    font-weight: inherit;
    color: var(--colors-main); }
.certificates-twelve-block .block-desc {
  margin-top: 20px; }
.certificates-twelve-block .block-tag {
  margin-left: auto;
  background: var(--bg-primary-second);
  border-radius: 100px;
  padding: 10px 20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: fit-content; }
  .certificates-twelve-block .block-tag__icon {
    width: 24px;
    height: 24px;
    object-fit: contain; }
  .certificates-twelve-block .block-tag__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: var(--text-primary-main); }
.certificates-twelve-block .block-bot {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
}
.certificates-twelve-block .certificates {
  overflow: hidden; }
.certificates-twelve-block .certificate {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: auto;
  border-radius: 20px;
  padding: 30px 30px 0;
  background: var(--bg-primary-second);
  overflow: hidden; }
  .certificates-twelve-block .certificate__title {
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    text-align: center;
    color: var(--bg-alt-main); }
  .certificates-twelve-block .certificate__desc {
    margin-top: 10px;
    margin-bottom: 20px; }
    .certificates-twelve-block .certificate__desc * {
      color: var(--text-primary-main); }
  .certificates-twelve-block .certificate__image-holder {
    width: 100%;
    position: relative;
    display: flex;
    margin-top: 40px;
    max-height: 250px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    outline: none; }
    .certificates-twelve-block .certificate__image-holder:after {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.2);
      z-index: 1;
      opacity: 0;
      transition: opacity .3s ease-in;
      pointer-events: none; }
    .certificates-twelve-block .certificate__image-holder .hover {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: var(--bg-primary-second);
      border-radius: 50%;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s ease-in;
      z-index: 2; }
      .certificates-twelve-block .certificate__image-holder .hover svg,
      .certificates-twelve-block .certificate__image-holder .hover img {
        width: 24px;
        height: 24px;
        object-fit: contain; }
    .certificates-twelve-block .certificate__image-holder:hover {
      transform: translateY(20px); }
      .certificates-twelve-block .certificate__image-holder:hover:after {
        opacity: 1; }
      .certificates-twelve-block .certificate__image-holder:hover .hover {
        opacity: 1; }
  .certificates-twelve-block .certificate__image {
    width: 100%;
    object-fit: cover;
    height: auto;
    aspect-ratio: 22/32;
    object-position: top; }
.certificates-twelve-block .certificates-bot {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px; }
.certificates-twelve-block .nav-holder {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px; }

@media (max-width: 1025px) {
  .certificates-twelve-block .certificate {
    padding: 20px; } }
@media (max-width: 769px) {
  .certificates-twelve-block .block-top {
    flex-wrap: wrap; } }

/*# sourceMappingURL=block.css.map */
