/* stylelint-disable @stylistic/selector-list-comma-newline-after */

.blog-header-logo {
  font-size: 2.25rem;
}
a {color: rgb(18 50 98);}

.blog-header-logo:hover {
  text-decoration: none;
}
.btn-block-custom-blue {
  background-color: #003366;   /* тёмно-синий */
  color: #fff;                 /* белый текст */
  padding: 15px 20px;          /* высота */
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0;            /* прямоугольная форма */
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-block-custom-blue:hover {
  background-color: #004c99;   /* чуть светлее при наведении */
  color: #fff;
}
.square {
    aspect-ratio: 1 / 1;       /* квадрат */
    width: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;    /* картинка покрывает весь квадрат */
    background-position: center;
    transition: transform 0.3s ease;
}

.square:hover {
    transform: scale(1.05);    /* увеличение при наведении */
}

.square a {
    position: absolute;
    inset: 0;background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center; 
    text-transform: uppercase;
    text-decoration: none; 
}
.btn-block-custom-grey {
  display: inline-block;        /* Чтобы работало масштабирование блока */
  background-color: rgba(239, 239, 239, 0.9);
  color: #000;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0;
  cursor: pointer;

  transition: background-color 0.5s ease,
              color 0.5s ease,
              transform 0.25s ease;
}
.btn-block-custom-grey-solid {
  display: inline-block;        /* Чтобы работало масштабирование блока */
  background-color: rgb(193 188 188 / 90%);
  color: #000;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0;
  cursor: pointer;

  transition: background-color 0.5s ease,
              color 0.5s ease,
              transform 0.25s ease;
}
.btn-block-custom-grey-solid:hover {
  background-color: rgb(18 50 98);
  color: #fff;
  transform: scale(1.08); /* Увеличивается весь прямоугольник */
}
.btn-block-custom-grey:hover {
  background-color: rgb(193 188 188 / 90%);
  color: #fff;
  transform: scale(1.08); /* Увеличивается весь прямоугольник */
}
.icon-xl {
  font-size: 60px;        /* размер иконки */
  color: #000;         /* синий Bootstrap по умолчанию */
  line-height: 1;
}
h1, h2, h3, h4, h5, h6 {

}

.flex-auto {
  flex: 0 0 auto;
}

.h-250 { height: 250px; }
@media (min-width: 768px) {
  .h-md-250 { height: 250px; }
}

/* Pagination */
.blog-pagination {
  margin-bottom: 4rem;
}

/*
 * Blog posts
 */
.blog-post {
  margin-bottom: 4rem;
}
.blog-post-meta {
  margin-bottom: 1.25rem;
  color: #727272;
}

@media (max-width: 768px) {
  .navbar-brand img {width: 120px; }
  .nav-link, .dropdown-item {font-size:1.5em; padding: 5px 0px}
  .dropdown-menu {
    border: 0;
}
}