/* ==========================
   Общие стили
========================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  color: #222;
  background-color: #f8f8f8;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* .container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
} */

/* ==========================
   Хедер
========================== */
.site-header {
  background-color: #111;
  color: #fff;
  padding: 15px 0;
}

.site-header .logo {
  font-size: 28px;
  font-weight: bold;
  color: #ff3b3b; /* красный акцент граффити */
}

.main-nav {
  float: right;
}

.main-nav a {
  color: #ddd;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ff3b3b;
}

/* ==========================
   Hero / заголовок страницы
========================== */
.page-hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #fff;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.page-hero .page-title {
  font-size: 42px;
  margin-bottom: 10px;
}

.page-hero .page-subtitle {
	font-size: 20px;
	background: linear-gradient(90deg, #ff3c3c, #ffb347);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;

  color: #ff3c3c;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 5px #ff3c3c;
  }
  50% {
    text-shadow: 0 0 15px #ff0000;
  }
}

/* ==========================
   Список постов (Главная блог-страница)
========================== */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 40px 0;
}

.blog-post {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-title a {
  color: #111;
  font-size: 20px;
  font-weight: normal;
  display: block;
  margin-bottom: 10px;
}

.post-excerpt {
  color: #555;
  font-size: 16px;
  margin-bottom: 15px;
}

.read-more {
  color: #ff3b3b;
  font-weight: bold;
line-height: 26px;
}

/* ==========================
   Страница статьи
========================== */
.blog-post-page {
  background-color: #fff;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  margin: 40px 0;
}

.blog-post-page h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.blog-post-page em {
  color: #888;
  font-size: 14px;
}

/* .blog-post-page img {
  border-radius: 10px;
} */

.blog-post-page p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
}

/* ==========================
   Футер
========================== */
.site-footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 25px 20px;
  font-size: 14px;
  margin-top: 20px; /* Добавляет место сверху */
}

.site-footer a {
  color: #ff3b3b;
  margin-left: 10px;
}

/* ==========================
   Псевдо-граффити эффекты
========================== */
h1, h2 {
  font-family: 'candara', Arial, sans-serif;
}

h2 a:hover {
  color: #0000F7;
  text-shadow: 2px 2px 5px #ff3b3b;
}

/* ==========================
   Адаптивность
========================== */
@media (max-width: 768px) {
  .main-nav {
    float: none;
    text-align: center;
    margin-top: 10px;
  }

  .main-nav a {
    display: inline-block;
    margin: 5px 10px;
  }

  .page-hero .page-title {
    font-size: 32px;
  }

  .page-hero .page-subtitle {
    font-size: 16px;
  }
   .blog-post-page {
	padding: 20px;  /* чуть меньше отступов */
    width: 100%;       /* занимает всю ширину контейнера */
    height: auto;      /* сохраняет пропорции */
    max-width: 100%;   /* не выходит за пределы экрана */
    border-radius: 10px; /* если хочешь скругление */
    display: block;
    margin: 0 auto 20px auto; /* центрирование и отступ снизу */
	
  }
}
.container {
  max-width: 1100px; /* максимум для десктопа */
  width: 100%;       /* на мобильных занимает всю ширину экрана */
  margin: auto;
  padding: 0 15px;   /* внутренние отступы */
  box-sizing: border-box; /* чтобы padding не ломал ширину */
}

.blog-post-page img {
  width: 100%;      /* занимает всю ширину контейнера */
  height: auto;     /* сохраняет пропорции */
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 10px;

}
.t182__title.t-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ----Что бы не было горизонтальной прокрутки---- */

/* Убираем фиксированные высоты блоков */
.t-records,
.t-section,
.t-cover,
.t-container {
    height: auto !important;
    min-height: auto !important;
}

/* Чтобы не было горизонтальной прокрутки */
html, body {
    overflow-x: hidden;
}

/* Контейнер на 100% ширины */
.t-container {
    max-width: 100% !important;
}