@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to bottom, #ffbb00, #ff3c00);
  color: #2a1200;
  font-family: "Bebas Neue", sans-serif;
}

header {
  background: #2a1200;
  color: #fffbe6;
  padding: 2rem 1rem;
  text-align: center;
}

header .logo {
  font-size: 4rem;
  letter-spacing: 2px;
  text-decoration: none;
  color: inherit;
}

nav {
  background: #ff6600;
  padding: 1rem;
  text-align: center;
}
a {
  transition: color 0.3s ease;
}
nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.3rem;
}

nav a:hover {
  color: #2a1200;
}

main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}
.related {
   max-width: 1200px;
  margin: auto;
  padding: 2rem;
}
section.content {
  flex: 3;
}

aside.sidebar {
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 10px;
  color: #2a1200;
}

article.post {
  background: #fff7e6;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-left: 6px solid #ff3c00;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

article.post h2 {
  font-size: 2rem;
  color: #ff3c00;
  margin-bottom: 0.5rem;
}

article.post h2 a {
  text-decoration: none;
  color: inherit;
}
article.post p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.tagline {
  text-align: center;
  font-size: 1.6rem;
  color: #2a1200;
  padding: 1.5rem 1rem;
  background: #ffe399;
}

footer {
  text-align: center;
  padding: 2rem;
  background: #2a1200;
  color: #fff;
  font-size: 0.9rem;
}
.post-content {
  display: flex;
  gap: 20px;
}
.more {
  color: #ff3c00;
}
.post-content > img {
  min-width: 90px;
  height: 75px;
  object-fit: cover;
}
aside.sidebar ul {
  padding: 10px 0 0 18px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
}
.pagination a {
  text-decoration: none;
  color: #fff;
}
.pagination a:hover {
  color: #2a1200;
}

.single-post {
  line-height: 1.7;
  font-size: 16px;
}

/* Заголовки */
.single-post h1,
.single-post h2,
.single-post h3,
.single-post h4,
.single-post h5,
.single-post h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
}

.single-post h1 {
  font-size: 2em;
}
.single-post h2 {
  font-size: 1.75em;
}
.single-post h3 {
  font-size: 1.5em;
}
.single-post h4 {
  font-size: 1.25em;
}
.single-post h5 {
  font-size: 1.1em;
}
.single-post h6 {
  font-size: 1em;
}

/* Параграфы */
.single-post p {
  margin-bottom: 1em;
}

/* Списки */
.single-post ul,
.single-post ol {
  margin: 1em 0 1em 2em;
}

.single-post li {
  margin-bottom: 0.5em;
}

/* Ссылки */
.single-post a {
  color: #0073e6;
  text-decoration: none;
  transition: color 0.2s;
}

.single-post a:hover {
  color: #005bb5;
  text-decoration: underline;
}

/* Изображения */
.single-post img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
  border-radius: 6px;
}

/* Цитаты */
.single-post blockquote {
  border-left: 4px solid #ddd;
  padding-left: 1em;
  color: #555;
  font-style: italic;
  margin: 1.5em 0;
}

/* Код */
.single-post pre,
.single-post code {
  font-family: "Courier New", monospace;
  background: #f6f6f6;
  padding: 4px 8px;
  border-radius: 4px;
}

.single-post pre {
  overflow-x: auto;
  padding: 12px;
  line-height: 1.5;
}

/* Таблицы */
.single-post table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.single-post th,
.single-post td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
}

.single-post th {
  background: #f2f2f2;
  font-weight: bold;
}

/* Видео / iframe */
.single-post iframe {
  max-width: 100%;
  border: none;
  display: block;
  margin: 1.5em auto;
}
.single-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 1em;
}
.single-title > img {
  height: 40px;
}
.single-title > .name {
  font-size: 20px;
}
.website {
  display: flex;
  width: max-content;
  margin-bottom: 1em;
  text-decoration: none;
  background: #2a1200;
  padding: 10px 20px;
  color: #fffbe6;
  border-radius: 10px;
  cursor: pointer;
}
.short {
  margin-bottom: 1em;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1em;
}
.grid-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 10px;
  color: #2a1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.grid-item .label {
  font-size: 130%;
}
nav.yoast-breadcrumbs,
nav.yoast-breadcrumbs a {
  font-size: 1rem;
  color: inherit;
  margin: 0;
}
.widget {
  margin-bottom: 1em;
}
.post-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
}
.title-post-info {
  display: flex;
  gap: 1em;
}
.title-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.title-post-author img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.read-more-title {
  font-size: 2.5rem;
  margin: 40px 0 20px 0;
  text-align: center;
}
@media (max-width: 767px) {
  .post-info {
    flex-direction: column;
    gap: 10px;
  }
  nav a {
    margin: 1rem;
    display: inline-block;
  }
  .post-content {
    flex-direction: column;
  }
  .info-grid {
    grid-template-columns: none;
  }
}
