/* Blog page wrapper and horizontal editorial cards layout. */
.blog-grid-page {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.blog-grid-card {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
  align-items: stretch;
  min-height: 320px;
  background: linear-gradient(135deg, #150B0F 0%, #1d0f13 52%, #241218 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
  position: relative;
}

.blog-grid-card::after {
  content: "";
  position: absolute;
  left: 2rem;
  top: 2rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 25, 57, 0.12) 0%, rgba(204, 25, 57, 0) 72%);
  pointer-events: none;
}

.blog-grid-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.9rem 1.9rem 2rem;
}

.blog-grid-card__thumb {
  display: block;
  height: 100%;
  order: 2;
  background: #150B0F;
}

.blog-grid-card__thumb img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #150B0F;
  padding: 0;
}

.blog-grid-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: #decfc9;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.blog-grid-card__meta .dot {
  margin: 0;
  color: #cc1939;
}

.blog-grid-card h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.55rem, 2vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.blog-grid-card h2 a {
  color: #ffffff;
}

.blog-grid-card h2 a:hover,
.blog-grid-card h2 a:focus {
  color: #cc1939;
}

.blog-grid-card__excerpt {
  max-width: 40ch;
  color: #decfc9;
  font-size: 1rem;
  line-height: 1.75;
}

.blog-grid-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  margin-top: auto;
  border-radius: 999px;
  background: #cc1939;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 18px 34px rgba(204, 25, 57, 0.22);
}

.blog-grid-card__button:hover,
.blog-grid-card__button:focus {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(204, 25, 57, 0.28);
}

.blog-grid-page .navigation.pagination {
  margin-top: 2rem;
}

.blog-grid-page .nav-links {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.blog-grid-page .nav-links .page-numbers {
  color: #f7f1ee;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.04);
}

.blog-grid-page .nav-links .current {
  background: #cc1939;
  border-color: #cc1939;
  color: #ffffff;
}

@media (max-width: 1150px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-grid-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-grid-card__content {
    order: 2;
    padding: 1.6rem 1.35rem 1.8rem;
  }

  .blog-grid-card__thumb {
    order: 1;
  }

  .blog-grid-card__thumb img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .blog-grid-card {
    min-height: 0;
    border-radius: 22px;
  }

  .blog-grid-card__content {
    gap: 1rem;
    padding: 1.4rem 1.2rem 1.6rem;
  }

  .blog-grid-card__meta {
    flex-wrap: wrap;
  }

  .blog-grid-card h2 {
    max-width: 100%;
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .blog-grid-card__thumb img {
    min-height: 220px;
  }
}

/* Single post page (light layout with right sidebar). */
.single-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: start;
}

.single-post-article {
  background: transparent;
  padding-right: 0.5rem;
}

.single-post-hero-image {
  margin: 0;
}

.single-post-hero-image img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.single-post-meta {
  margin: 1.35rem 0 0;
  color: #decfc9;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.single-post-meta a {
  color: #cc1939;
}

.single-post-meta .dot {
  margin: 0;
}

.single-post-content {
  margin-top: 1.2rem;
  color: #decfc9;
  font-size: 1.02rem;
  line-height: 1.8;
  padding: 1.8rem 1.9rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #150B0F 0%, #1d0f13 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.single-post-content p {
  margin: 0 0 1.25rem;
}

.single-post-content blockquote {
  margin: 1.5rem 0;
  background: linear-gradient(135deg, #2b1119 0%, #cc1939 100%);
  color: #ffffff;
  padding: 2rem 2.2rem;
  border-radius: 6px;
  border-left: 0;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6,
.single-post-content strong {
  color: #ffffff;
}

.single-post-content a {
  color: #cc1939;
}

.single-post-content blockquote p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  line-height: 1.45;
}

.single-post-content blockquote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
}

.single-post-sidebar {
  display: grid;
  gap: 2rem;
}

.single-side-widget {
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #150B0F 0%, #1d0f13 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.single-side-widget__head {
  margin-bottom: 1.15rem;
}

.single-side-widget__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  color: #cc1939;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.single-side-widget h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.9rem;
  line-height: 1.06;
}

.single-recent-list {
  display: grid;
  gap: 1.1rem;
}

.single-recent-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.45rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single-recent-item:hover,
.single-recent-item:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.single-recent-item .thumb {
  position: relative;
  display: block;
}

.single-recent-item .thumb img {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  object-fit: cover;
}

.single-recent-item__badge {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(21, 11, 15, 0.92);
  color: #cc1939;
  font-size: 1.15rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.single-recent-item .meta h4 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.22;
}

.single-recent-item .meta h4 a {
  color: #ffffff;
}

.single-recent-item .meta p {
  margin: 0.45rem 0 0;
  color: #decfc9;
  font-size: 0.95rem;
}

.single-recent-item .meta .cat {
  color: #cc1939;
}

.single-recent-item .meta .dot {
  margin: 0 0.45rem;
}

.single-category-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.single-category-list li {
  position: relative;
}

.single-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #decfc9;
}

.single-category-list a span {
  color: #ffffff;
  font-weight: 600;
}

.single-category-list a strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: rgba(204, 25, 57, 0.1);
  color: #cc1939;
  font-size: 0.86rem;
  font-weight: 700;
}

.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.single-tags a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #decfc9;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
}

.single-tags a:hover,
.single-tags a:focus {
  background: rgba(204, 25, 57, 0.14);
  border-color: rgba(204, 25, 57, 0.3);
  color: #ffffff;
}

.single-post-layout #comments,
.single-post-layout .comment-respond {
  background: linear-gradient(180deg, #150B0F 0%, #1d0f13 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.2rem;
  margin-top: 1rem;
}

.single-post-layout #comments h2,
.single-post-layout .comment-reply-title {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.single-post-layout .comment-notes,
.single-post-layout .logged-in-as,
.single-post-layout .comment-form-cookies-consent label,
.single-post-layout .comment-metadata,
.single-post-layout .comment-awaiting-moderation {
  color: #decfc9;
  font-size: 0.95rem;
}

.single-post-layout .comment-form p {
  margin: 0 0 0.95rem;
}

.single-post-layout .comment-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-weight: 600;
}

.single-post-layout .comment-form input[type="text"],
.single-post-layout .comment-form input[type="email"],
.single-post-layout .comment-form input[type="url"],
.single-post-layout .comment-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #f7f1ee;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-post-layout .comment-form textarea {
  min-height: 180px;
  resize: vertical;
}

.single-post-layout .comment-form input:focus,
.single-post-layout .comment-form textarea:focus {
  border-color: #cc1939;
  box-shadow: 0 0 0 3px rgba(204, 25, 57, 0.14);
}

.single-post-layout .comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.single-post-layout .comment-form .comment-form-cookies-consent input {
  margin-top: 0.22rem;
}

.single-post-layout .comment-form .form-submit {
  margin-top: 0.9rem;
}

.single-post-layout .comment-form .submit {
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.72rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.single-post-layout .comment-form .submit:hover,
.single-post-layout .comment-form .submit:focus {
  background: #cc1939;
  transform: translateY(-1px);
}

.single-post-layout .comment-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.single-post-layout .comment-list li.comment {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: 1rem;
}

.single-post-layout .comment-author {
  color: #ffffff;
  font-weight: 700;
}

.single-post-layout .comment-content {
  color: #decfc9;
}

@media (max-width: 1080px) {
  .single-post-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-recent-item {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .single-recent-item .thumb img {
    width: 86px;
    height: 86px;
  }

  .single-recent-item .meta h4 {
    font-size: 1.15rem;
  }

  .single-side-widget h3 {
    font-size: 1.4rem;
  }
}
