.space-y-2 > * + * {
  margin-top: .5rem;
}

.rounded-xl {
  border-radius: 1rem;
}

.rounded-md {
  border-radius: .5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  border-radius: .5rem;
}

.page-heading {
  border-radius: .5rem;
}

.card-xl {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(92, 130, 82, 0.08);
  border: 1px solid rgba(92, 130, 82, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;

  transition: all 0.2s ease;
}

.card-xl:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .card-xl {
    flex-direction: row;
  }
}

.card-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icon-wrapper {
  width: 4rem;
  height: 4rem;
  background-color: rgba(92, 130, 82, 0.08);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.25rem;
  box-shadow: inset 0 2px 4px rgba(92, 130, 82, 0.08);
}

.icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-xl .title {
  color: #5c8252;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.card-xl .subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0;
}

.golova .team {
  flex-direction: row
}

.object-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-brand-dark  {
    color: #90a1b9;
    font-size: 1.25rem;
    background: #1e293b;
    text-align: center;
    padding: 16px;
    border-radius: 1em;
}

.bg-brand-dark h1 {
    color: #fff;
    text-transform: uppercase;
}

.sub-menu .dark > a, .main-menu .dark > a {
    background: #1e293b;
    color: red;
    max-height: 56px;
}

.mm-menu .dark a {
  color: red;
}

.team {
  display: flex;
  flex-direction: column;
}

.team .inner-team {
  display: flex;
  flex-direction: column;
  
}

.heroes a.team {
  border-radius: 1em;
  overflow: hidden;
}

.profile-body .profile-header {
  align-items: flex-start;
  border-radius: 1rem;
  overflow: hidden;
}

.profile-body .profile-header > img {
  border-radius: 1rem;
}

.biography {
  border-radius: 1rem;
}

.heroes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 576px) {
  .heroes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .heroes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .heroes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1570px) {
  .heroes {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.child-list li {
  min-width: 320px;
}

.award-list {
    gap: .5em;
    flex-wrap: wrap;
}

.award-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  cursor: default;
  font-family: sans-serif; /* Или ваш основной шрифт */
}

.award-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.award-icon-container {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 193, 7, 0.1); /* Цвет brand-yellow с прозрачностью */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.award-icon {
  width: 20px;
  height: 20px;
  stroke: #ffc107; /* Основной цвет иконки */
}

.award-text {
  font-size: 14px;
  font-weight: 700;
  color: #334155; /* Цвет slate-700 */
}

.memorial-footer {
  margin-top: 2rem;      
  padding-top: 1rem;  
  border-top: 1px solid #f4f4f5; 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;               /* gap-6 */
}

/* Медиа-запрос для горизонтального вида (sm:flex-row) */
@media (min-width: 640px) {
  .memorial-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.line-container {
  display: flex;
  gap: 0.5rem;               /* gap-2 */
}

.line {
  width: 3rem;               /* w-12 */
  height: 0.375rem;          /* h-1.5 */
  border-radius: 9999px;     /* rounded-full */
}

.blue { background-color: #2563eb; }   /* bg-blue-600 */
.yellow { background-color: #facc15; } /* bg-yellow-400 */

.text-container {
  text-align: center;
}

@media (min-width: 640px) {
  .text-container {
    text-align: right;       /* sm:text-right */
  }
}

.memorial-title {
  margin: 0;
  font-size: 1.25rem;        /* text-xl */
  font-weight: bold; 
  color: #004a99;
  text-transform: uppercase; /* uppercase */
  letter-spacing: -0.05em;   /* tracking-tighter */
  font-style: italic;        /* italic */
}

@media (min-width: 768px) {
  .memorial-title {
    font-size: 1.5rem;       /* md:text-2xl */
  }
}

.memorial-subtitle {
  display: block;
  margin-top: 0.25rem;       /* mt-1 */
  font-size: 10px;           /* text-[10px] */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;     /* tracking-widest */
  color: #d4d4d8;            /* text-zinc-300 */
}


.hero-memorial {
  position: relative;
  padding: 1rem 0; 
  overflow: hidden;
  border-radius: 1em;
}

/* Фоновое изображение и градиент */
.background-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gradient-fade {
  position: absolute;
  inset: 0;
  background: 
  linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
  url('../images/texture.webp');
  background-blend-mode: multiply;
  background-size: contain;
}

/* Контентная часть */
.content-container {
  position: relative;
  z-index: 10;
  max-width: 1200px; /* Стандартный container */
  margin: 0 auto;
  padding: 0 1rem;
}

.content-wrapper {
  max-width: 48rem; /* max-w-3xl */
}

.main-title {
  font-size: 2.25rem; 
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.03)) drop-shadow(0 8px 5px rgba(0, 0, 0, 0.08)); 
}

@media (min-width: 768px) {
  .main-title {
    font-size: 3rem; 
  }
}

.highlight {
  color: #facc15;
}

.bottom-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.375rem; 
  display: flex;
  z-index: 20;
}

.stripe-blue {
  width: 50%;
  background-color: #0057b7;
}

.stripe-yellow {
  width: 50%;
  background-color: #ffd700;
}

.primary-banner {
  border-radius: .5rem;
  overflow: hidden;
}

.primary-banner.bg {
  border-radius: .5rem;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .primary-banner.bg {
    max-width: max-content;
  }
  .primary-banner img {
    object-fit: cover;
  }
}

.primary-banner.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-commission {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(92, 130, 82, 0.18);
  box-shadow: 0 2px 8px rgba(92, 130, 82, 0.06);
}

.card-header {
  background-color: #5c8252;
  padding: 1.25rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header-icon {
  color: #fff;
  font-size: 1.25rem;
}

.card-header-title {
  margin: 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
}

.card-body {
  padding: 1.5rem;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(92, 130, 82, 0.1);
}

.card-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.card-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: #7a8f73;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2f3e2b;
  line-height: 1.4;
}

.intro ul {
  gap: .5rem;
}

.intro ul li {
  line-height: 1.1;
}

.hamburger {
  padding: 12px 6px;
  position: static;
}

.header-top-line .social-block {
  margin-bottom: 0;
}

.sub-menu li a {
  padding: 10px 0;
  font-size: 14px;
}

.doc-lists {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.doc-lists li {
  margin-bottom: 0;
  border-radius: .25rem;
  overflow: hidden;
}

.post-list .post-item {
  border-radius: .5rem;
  overflow: hidden;
}

.img-responsive {
  height: 100%;
  object-fit: cover;
}

.team .img-responsive {
  height: auto;
}

details {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    background: #fff;
}

details summary {
    cursor: pointer;
    
}

details[open] {
    background: #f8f9fa;
}

@media (max-width: 1599.98px) {
  .intro ul {
    flex-wrap: wrap;
    justify-content: space-between;

  }
  .intro ul li:first-child {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .sub-menu-cont li a i {
    font-size: 26px;
  }
  aside .navbar-nav {
    margin-left: 0;
    margin-right: 0;
    gap: .5rem;
  }

  aside .navbar-nav li {
    padding: 0;
    margin-bottom: 0;
  }

  /*.child-list a {
    hyphens: auto;
  }*/
}

@media (max-width: 767.98px) {
  .header-top-line .link {
    margin-top: .5rem;
  }
}

@media (max-width: 575.98px) {
  .intro ul .title {
    font-size: 1.5em;
  }
  .header-top-line .list-inline.link {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .header-top-line .search {
    width: 100%;
    display: flex;
    justify-content: end;
  }
  .search .form-wrap {
    position: static;
  }
}

@media (max-width: 479.98px) {
  .logo img {
    width: 46px;
  }
  .logo span {
    display: none;
  }
  .card-xl {
    padding: 1rem;
  }
  .card-xl .title {
    font-size: 1.5em;
  }
}

@media (min-width: 576px) {
  .sm-ms-auto {
    margin-left: auto !important;
  }
}