/* ============================================================
   SYSNOT Master Theme — blog.css
   Blog Archive, Single Post, Comments & Sidebar Styles
   ============================================================ */


/* ==========================================================================
   1. BLOG SECTION WRAPPER
   ========================================================================== */

.blog-section {
  padding: 10rem 0 6rem;
}


/* ==========================================================================
   2. BLOG HEADER
   ========================================================================== */

.blog-header {
  text-align: center;
  margin-bottom: 4rem;
}

.blog-header .slbl {
  justify-content: center;
  margin-bottom: 1rem;
}

.blog-header .stitle {
  text-align: center;
  margin-bottom: 1rem;
}

.blog-header__desc {
  max-width: 500px;
  margin: 0 auto;
}

.blog-header__count {
  font-size: .9rem;
  color: var(--mut);
  margin-top: .5rem;
}

.search-query {
  color: var(--a1);
}


/* ==========================================================================
   3. BLOG LAYOUT (with optional sidebar)
   ========================================================================== */

.blog-layout {
  display: grid;
  gap: 3rem;
}

.blog-layout--has-sidebar.blog-layout--droite {
  grid-template-columns: 1fr 300px;
}

.blog-layout--has-sidebar.blog-layout--gauche {
  grid-template-columns: 300px 1fr;
}

.blog-layout--has-sidebar.blog-layout--gauche .blog-sidebar {
  order: -1;
}


/* ==========================================================================
   4. BLOG GRID LAYOUTS
   ========================================================================== */

.blog-grid {
  display: grid;
  gap: 2rem;
}

/* Grille (default) — 3 columns */
.blog-grid--grille {
  grid-template-columns: repeat(3, 1fr);
}

/* Liste — single column, cards go horizontal */
.blog-grid--liste {
  grid-template-columns: 1fr;
}


/* ==========================================================================
   5. BLOG CARD
   ========================================================================== */

.blog-card {
  background: var(--sur);
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform .45s var(--e1),
    border-color .45s var(--e1),
    box-shadow .45s var(--e1);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(123, 94, 167, .3);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .5);
}

[data-theme="light"] .blog-card:hover {
  box-shadow: 0 32px 80px rgba(0, 0, 0, .1);
}

/* Radial hover glow (inherited from .card in components.css, but explicit here) */
.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(123, 94, 167, .08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity .45s var(--e1);
  pointer-events: none;
  z-index: 1;
}

.blog-card:hover::before {
  opacity: 1;
}

/* Bottom accent line */
.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--a1), var(--a2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--e1);
  z-index: 2;
}

.blog-card:hover::after {
  transform: scaleX(1);
}

/* ---- Thumbnail ---- */

.blog-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--e1);
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
}

/* ---- Body ---- */

.blog-card__body {
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;
}

/* ---- Category tags ---- */

.blog-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .6rem;
}

/* ---- Title ---- */

.blog-card__title {
  font-family: var(--head);
  font-size: 1.3rem;
  line-height: 1.1;
  margin-bottom: .5rem;
}

.blog-card__title a {
  color: var(--txt);
  transition: color .3s var(--e1);
}

.blog-card__title a:hover {
  color: var(--a1);
}

/* ---- Excerpt ---- */

.blog-card__excerpt {
  font-size: .86rem;
  color: var(--mut);
  line-height: 1.75;
}

/* ---- Meta ---- */

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  color: var(--mut);
  margin-top: 1rem;
}

.blog-card__sep {
  color: var(--brd);
}

/* ---- Read more ---- */

.blog-card__more {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--a1);
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* ---- Liste layout — horizontal card ---- */

.blog-grid--liste .blog-card {
  flex-direction: row;
}

.blog-grid--liste .blog-card__thumb {
  flex: 0 0 280px;
  aspect-ratio: auto;
  min-height: 100%;
}

.blog-grid--liste .blog-card__body {
  padding: 2rem 2.5rem;
  justify-content: center;
}


/* ==========================================================================
   6. SINGLE POST
   ========================================================================== */

.single-post {
  padding-bottom: 2rem;
}

/* ---- Shared single header elements ---- */

.single-cats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.single-title {
  font-family: var(--head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: .95;
  color: var(--txt);
  margin-bottom: 1rem;
  letter-spacing: .01em;
}

.single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: var(--mut);
  margin-bottom: 2rem;
}

.single-meta a {
  color: var(--a1);
  transition: color .3s;
}

.single-meta a:hover {
  color: var(--txt);
}

.single-meta__sep {
  color: var(--brd);
}

.single-meta--light {
  color: rgba(255, 255, 255, .6);
}

.single-meta--light a {
  color: var(--a3);
}

.single-meta--light .single-meta__sep {
  color: rgba(255, 255, 255, .2);
}


/* ==========================================================================
   6a. SINGLE — CLASSIQUE LAYOUT
   ========================================================================== */

.single-hero--classique {
  padding: 10rem 0 3rem;
}

.single-hero--classique .single-hero__img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  border-radius: var(--radius);
}

.single-inner--classique {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 3rem;
}

.single-inner--classique .single-header {
  margin-bottom: 2rem;
}


/* ==========================================================================
   6b. SINGLE — MAGAZINE LAYOUT
   ========================================================================== */

.single-hero--magazine {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.single-hero--magazine .single-hero__bg {
  position: absolute;
  inset: 0;
}

.single-hero--magazine .single-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-hero--magazine .single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 10, .85) 0%, transparent 60%);
}

[data-theme="light"] .single-hero--magazine .single-hero__overlay {
  background: linear-gradient(to top, rgba(245, 244, 255, .9) 0%, transparent 60%);
}

.single-hero--magazine .single-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}

.single-title--magazine {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: #fff;
}

[data-theme="light"] .single-title--magazine {
  color: var(--txt);
}

.single-inner--magazine {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 4rem;
}


/* ==========================================================================
   6c. SINGLE — FULLBLEED LAYOUT
   ========================================================================== */

.single-hero--fullbleed {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.single-hero__bg--full {
  position: absolute;
  inset: 0;
}

.single-hero__bg--full .single-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-hero__overlay--full {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 4, 10, .9) 0%,
    rgba(4, 4, 10, .4) 50%,
    rgba(4, 4, 10, .2) 100%
  );
}

[data-theme="light"] .single-hero__overlay--full {
  background: linear-gradient(
    to top,
    rgba(245, 244, 255, .95) 0%,
    rgba(245, 244, 255, .4) 50%,
    rgba(245, 244, 255, .2) 100%
  );
}

.single-hero__center {
  position: relative;
  z-index: 2;
  padding-bottom: 5rem;
  width: 100%;
  text-align: center;
}

.single-title--fullbleed {
  font-size: clamp(3rem, 7vw, 6rem);
  color: #fff;
}

[data-theme="light"] .single-title--fullbleed {
  color: var(--txt);
}

.single-inner--fullbleed {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 4rem;
}


/* ==========================================================================
   7. ENTRY CONTENT (Post body / WordPress editor output)
   ========================================================================== */

.entry-content {
  max-width: 720px;
  margin: 0 auto;
}

.entry-content h2 {
  font-family: var(--head);
  font-size: 2rem;
  margin: 3rem 0 1rem;
  line-height: 1.05;
}

.entry-content h3 {
  font-family: var(--head);
  font-size: 1.5rem;
  margin: 2.5rem 0 .8rem;
  line-height: 1.1;
}

.entry-content h4 {
  font-family: var(--head);
  font-size: 1.25rem;
  margin: 2rem 0 .6rem;
  line-height: 1.15;
}

.entry-content p {
  margin-bottom: 1.5rem;
  line-height: 1.85;
  color: color-mix(in srgb, var(--mut) 70%, var(--txt));
}

.entry-content a {
  color: var(--a1);
  border-bottom: 1px solid var(--a1);
  transition: opacity .3s;
}

.entry-content a:hover {
  opacity: .7;
}

.entry-content img {
  border-radius: var(--radius-sm);
  margin: 2rem 0;
  max-width: 100%;
  height: auto;
}

.entry-content blockquote {
  border-left: 3px solid var(--a1);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--mut);
  font-size: 1.05rem;
  line-height: 1.8;
}

.entry-content blockquote p {
  color: inherit;
  margin-bottom: .5rem;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: revert;
}

.entry-content li {
  margin-bottom: .5rem;
  color: var(--mut);
  line-height: 1.75;
}

.entry-content pre {
  background: var(--sur);
  border: 1px solid var(--brd);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  overflow-x: auto;
  font-size: .85rem;
  margin: 2rem 0;
}

.entry-content code {
  background: var(--sur);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-size: .88rem;
}

.entry-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.entry-content th,
.entry-content td {
  padding: .8rem;
  border-bottom: 1px solid var(--brd);
  text-align: left;
}

.entry-content th {
  font-weight: 600;
  color: var(--txt);
}

.entry-content td {
  color: var(--mut);
}

.entry-content hr {
  border: none;
  height: 1px;
  background: var(--brd);
  margin: 3rem 0;
}

/* ---- Page links (multi-page posts) ---- */

.page-links {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 3rem;
  font-size: .9rem;
}

.page-links__label {
  color: var(--mut);
  font-weight: 600;
  margin-right: .5rem;
}

.page-links__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--sur);
  border: 1px solid var(--brd);
  color: var(--mut);
  font-size: .86rem;
  transition: all .3s var(--e1);
}

.page-links__num:hover {
  background: var(--a1);
  color: #fff;
  border-color: var(--a1);
}


/* ==========================================================================
   8. SINGLE TAGS
   ========================================================================== */

.single-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.single-tags__label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mut);
  margin-right: .3rem;
}


/* ==========================================================================
   9. POST NAVIGATION
   ========================================================================== */

.post-nav {
  display: flex;
  justify-content: space-between;
  padding: 3rem 0;
  border-top: 1px solid var(--brd);
  margin-top: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  max-width: 45%;
  transition: opacity .3s;
}

.post-nav__link:hover {
  opacity: .8;
}

.post-nav__link--next {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
}

.post-nav__dir {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--mut);
}

.post-nav__title {
  font-family: var(--head);
  font-size: 1.1rem;
  color: var(--txt);
  line-height: 1.1;
  transition: color .3s var(--e1);
}

.post-nav__link:hover .post-nav__title {
  color: var(--a1);
}


/* ==========================================================================
   10. RELATED POSTS
   ========================================================================== */

.related-posts {
  padding: 5rem 0;
  border-top: 1px solid var(--brd);
}

.related-posts__header {
  margin-bottom: 3rem;
}

.related-posts .blog-grid--grille {
  grid-template-columns: repeat(3, 1fr);
}


/* ==========================================================================
   11. PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.pagination__list {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.pagination__item a,
.pagination__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 .5rem;
  border-radius: 12px;
  font-size: .86rem;
  transition: all .3s var(--e1);
}

.pagination__item a {
  background: var(--sur);
  border: 1px solid var(--brd);
  color: var(--mut);
}

.pagination__item a:hover {
  background: var(--a1);
  border-color: var(--a1);
  color: #fff;
}

.pagination__item .current {
  background: var(--a1);
  border: 1px solid var(--a1);
  color: #fff;
}

.pagination__item .dots {
  color: var(--mut);
  border: none;
  background: none;
}

.pagination__item .prev,
.pagination__item .next {
  background: var(--sur);
  border: 1px solid var(--brd);
  color: var(--mut);
}

.pagination__item .prev:hover,
.pagination__item .next:hover {
  background: var(--a1);
  border-color: var(--a1);
  color: #fff;
}


/* ==========================================================================
   12. SIDEBAR
   ========================================================================== */

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.widget {
  margin-bottom: 2rem;
  background: var(--sur);
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  padding: 2rem;
}

.widget-title,
.widget h2 {
  font-family: var(--head);
  font-size: 1.1rem;
  color: var(--txt);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--brd);
}

.widget li:last-child {
  border-bottom: none;
}

.widget li a {
  font-size: .86rem;
  color: var(--mut);
  transition: color .3s var(--e1);
}

.widget li a:hover {
  color: var(--txt);
}

/* Search widget */
.widget .search-form {
  display: flex;
  gap: 0;
}

.widget .search-field {
  flex: 1;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.widget .search-submit {
  padding: 0 1.2rem;
  background: var(--a1);
  color: #fff;
  border: 1px solid var(--a1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s;
}

.widget .search-submit:hover {
  background: color-mix(in srgb, var(--a1) 80%, white);
}


/* ==========================================================================
   13. COMMENTS
   ========================================================================== */

.comments-area {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 0;
}

.comments-header {
  margin-bottom: 2rem;
}

.comments-title {
  font-family: var(--head);
  font-size: 1.6rem;
  color: var(--txt);
}

/* ---- Comment list ---- */

.comment-list {
  list-style: none;
}

.comment-list .children {
  list-style: none;
  padding-left: 2rem;
}

.comment-item {
  margin-bottom: 1.5rem;
}

.comment-body {
  background: var(--sur);
  border: 1px solid var(--brd);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.comment-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.comment-meta__info {
  display: flex;
  flex-direction: column;
}

.comment-author {
  font-weight: 600;
  font-size: .9rem;
  font-style: normal;
  color: var(--txt);
}

.comment-author__link {
  color: var(--txt);
  transition: color .3s;
}

.comment-author__link:hover {
  color: var(--a1);
}

.comment-date {
  font-size: .75rem;
  color: var(--mut);
}

.comment-content {
  font-size: .9rem;
  color: var(--mut);
  line-height: 1.8;
}

.comment-content p {
  color: inherit;
  margin-bottom: .5rem;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-awaiting {
  font-size: .85rem;
  color: var(--a4);
  margin-bottom: .5rem;
}

.comment-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.comment-reply a,
.comment-edit a {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--a1);
  transition: opacity .3s;
}

.comment-reply a:hover,
.comment-edit a:hover {
  opacity: .7;
}

.comments-closed {
  font-size: .9rem;
  color: var(--mut);
  font-style: italic;
  margin-top: 2rem;
}

/* ---- Comment form ---- */

.comment-form {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.comment-form .form-group {
  flex: 1 1 calc(50% - .75rem);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.comment-form .form-group label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--mut);
}

.comment-form-comment {
  flex: 1 1 100%;
}

.comment-form .required {
  color: var(--a2);
}

.comment-form .form-submit {
  flex: 1 1 100%;
}

.comment-respond h3 {
  font-family: var(--head);
  font-size: 1.6rem;
  color: var(--txt);
  margin-bottom: 1.5rem;
}

.comment-respond .cancel-comment-reply-link {
  font-size: .75rem;
  color: var(--a2);
  margin-left: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.comment-form-cookies label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--mut);
  cursor: pointer;
}

.comment-form-cookies input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--a1);
}

/* ---- Comments pagination ---- */

.comments-pagination {
  margin-top: 2rem;
}


/* ==========================================================================
   14. SEARCH RESULTS
   ========================================================================== */

.search-section .blog-header {
  margin-bottom: 3rem;
}

.search-again {
  max-width: 500px;
  margin: 2rem auto 0;
}

.search-again .search-form {
  display: flex;
  gap: 0;
}

.search-again .search-field {
  flex: 1;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.search-again .search-submit {
  padding: .8rem 1.8rem;
  background: linear-gradient(135deg, var(--a1), color-mix(in srgb, var(--a1) 65%, white));
  color: #fff;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .3s;
}

.search-again .search-submit:hover {
  opacity: .85;
}


/* ==========================================================================
   15. NO RESULTS
   ========================================================================== */

.no-results {
  text-align: center;
  padding: 4rem 0;
}

.no-results h2 {
  font-family: var(--head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.no-results p {
  color: var(--mut);
  font-size: .95rem;
  max-width: 400px;
  margin: 0 auto;
}

.no-results__search {
  max-width: 500px;
  margin: 2rem auto 0;
}

.no-results__search .search-form {
  display: flex;
  gap: 0;
}

.no-results__search .search-field {
  flex: 1;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.no-results__search .search-submit {
  padding: .8rem 1.8rem;
  background: linear-gradient(135deg, var(--a1), color-mix(in srgb, var(--a1) 65%, white));
  color: #fff;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .3s;
}

.no-results__search .search-submit:hover {
  opacity: .85;
}


/* ==========================================================================
   16. RESPONSIVE — TABLET (max-width: 1100px)
   ========================================================================== */

@media (max-width: 1100px) {

  /* Related posts */
  .related-posts .blog-grid--grille {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Sidebar layout collapses */
  .blog-layout--has-sidebar.blog-layout--droite,
  .blog-layout--has-sidebar.blog-layout--gauche {
    grid-template-columns: 1fr;
  }

  .blog-layout--has-sidebar.blog-layout--gauche .blog-sidebar {
    order: 0;
  }

  .blog-sidebar {
    position: relative;
    top: auto;
  }

  /* Grid 3 cols becomes 2 */
  .blog-grid--grille {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================================================================
   17. RESPONSIVE — MOBILE (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {

  .blog-section {
    padding: 8rem 0 4rem;
  }

  /* Grid 2 cols becomes 1 on smaller devices */
  .blog-grid--grille {
    grid-template-columns: 1fr;
  }

  /* Liste layout stacks */
  .blog-grid--liste .blog-card {
    flex-direction: column;
  }

  .blog-grid--liste .blog-card__thumb {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: auto;
  }

  /* Related posts */
  .related-posts .blog-grid--grille {
    grid-template-columns: 1fr;
  }

  /* Single hero */
  .single-hero--magazine {
    min-height: 50vh;
  }

  .single-hero--fullbleed {
    min-height: 55vh;
  }

  .single-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .single-title--magazine,
  .single-title--fullbleed {
    font-size: clamp(2.2rem, 9vw, 4rem);
  }

  /* Post nav */
  .post-nav {
    flex-direction: column;
    gap: 2rem;
  }

  .post-nav__link {
    max-width: 100%;
  }

  .post-nav__link--next {
    align-items: flex-start;
    text-align: left;
  }

  /* Section padding */
  .related-posts {
    padding: 4rem 0;
  }

  .comments-area {
    padding: 3rem 0;
  }

  /* Comments threading */
  .comment-list .children {
    padding-left: 1rem;
  }
}


/* ==========================================================================
   18. RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {

  .blog-card__body {
    padding: 1.3rem 1.5rem;
  }

  .blog-card__title {
    font-size: 1.1rem;
  }

  /* Single meta wraps */
  .single-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
  }

  .single-meta__sep {
    display: none;
  }

  /* Comment form fields stack */
  .comment-form .form-group {
    flex: 1 1 100%;
  }
}
