

/* Start:/bitrix/templates/university_default/components/bitrix/news.list/photogallery-preview/dist/style.css?17434165404481*/
.gallery-preview-grid {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem; }
  .gallery-preview-grid__col {
    position: relative;
    grid-column-end: span 3;
    grid-row-end: span 1;
    height: auto;
    padding-bottom: 100%; }
    .gallery-preview-grid__col > .gallery-preview-item {
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0; }
  @media (max-width: 575.98px) {
    .gallery-preview-grid--odd .gallery-preview-grid__col:nth-last-child(-n + 3) {
      height: 6.25rem;
      grid-column-end: span 2; }
    .gallery-preview-grid .gallery-preview-item__caption {
      line-height: 1.125rem;
      font-size: 0.75rem; } }
  @media (min-width: 576px) {
    .gallery-preview-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem; }
      .gallery-preview-grid__col {
        grid-column-end: span 2;
        grid-row-end: span 2; }
      .gallery-preview-grid__col:nth-last-child(-n + 4) {
        height: auto;
        grid-column-end: span 1;
        grid-row-end: span 1; }
        .gallery-preview-grid__col:nth-last-child(-n + 4) .gallery-preview-item__caption {
          line-height: 1.125rem;
          font-size: 0.75rem; } }

.gallery-preview-item {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  color: var(--bs-light); }
  .gallery-preview-item:not(.gallery-preview-item--detail):before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.25rem;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    opacity: 0;
    z-index: 1; }
  .gallery-preview-item__image {
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 100%;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transform: translateZ(0);
            transform: translateZ(0); }
    .gallery-preview-item__image.icon-svg {
      font-size: 8rem;
      color: #dee2e6; }
  .gallery-preview-item__caption {
    position: absolute;
    bottom: 0;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transform: translateY(0.75rem);
        -ms-transform: translateY(0.75rem);
            transform: translateY(0.75rem); }
  .gallery-preview-item:hover {
    color: var(--bs-light);
    text-decoration: none; }
  .gallery-preview-item:hover .gallery-preview-item__caption {
    opacity: 1;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0); }
  .gallery-preview-item:hover .gallery-preview-item__image {
    -webkit-filter: blur(1px);
            filter: blur(1px); }
  .gallery-preview-item:not(.gallery-preview-item--detail):hover:before {
    opacity: 1; }
  .gallery-preview-item--detail {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background: var(--bs-white);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    color: var(--bs-primary);
    padding: 0.5rem 0;
    font-size: 0.75rem; }
    .gallery-preview-item--detail svg {
      margin-bottom: 0.25rem;
      width: 2.5rem;
      height: 2.5rem;
      color: var(--bs-primary); }
    .gallery-preview-item--detail:hover {
      border-color: var(--bs-primary-rgb);
      color: var(--bs-primary); }
  @media (min-width: 576px) {
    .gallery-preview-item--detail svg {
      width: 4rem;
      height: 4rem;
      margin-bottom: 1rem; }
    .gallery-preview-item--detail {
      font-size: 1rem; } }

/* End */
/* /bitrix/templates/university_default/components/bitrix/news.list/photogallery-preview/dist/style.css?17434165404481 */
