/* Blog Armadeira — mesmo sistema visual do site */
.blog-page,
.blog-single,
.blog-home-teaser {
  background: var(--cream, #faf9f7);
}

/* Hero */
.blog-hero {
  background: var(--black, #0a0a0a);
  color: #f5f5f5;
  padding: 2rem 0 1.85rem;
  border-bottom: 4px solid var(--orange, #ff6a00);
  margin-bottom: 1.75rem;
}

.blog-hero .eyebrow {
  color: var(--orange, #ff6a00);
  margin: 0 0 0.35rem;
}

.blog-hero h1 {
  font-family: var(--display, "Barlow Condensed", sans-serif);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.55rem;
  color: #fff;
}

.blog-hero .lede,
.blog-hero .archive-desc {
  margin: 0;
  max-width: 38rem;
  color: rgba(245, 245, 245, 0.82);
  font-size: 0.98rem;
}

.blog-hero--archive {
  padding-bottom: 1.5rem;
}

/* Breadcrumb */
.blog-breadcrumb {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.65);
}

.blog-single .blog-breadcrumb {
  color: var(--muted, #5a5a5a);
}

.blog-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  align-items: center;
}

.blog-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.4rem;
  opacity: 0.5;
}

.blog-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-hero .blog-breadcrumb a {
  color: rgba(245, 245, 245, 0.85);
}

/* Layout */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 1.75rem;
  align-items: start;
  padding-bottom: 3rem;
}

.blog-layout__main {
  min-width: 0;
}

/* Grid cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #e8e4de;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #3a2a1a 50%, #ff6a00 140%);
  opacity: 0.9;
}

.blog-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.blog-card__meta {
  font-size: 0.75rem;
  color: var(--muted, #5a5a5a);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
}

.blog-card__meta .sep {
  opacity: 0.45;
}

.blog-card__cat {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange-deep, #e05a00);
  font-size: 0.7rem;
}

.blog-card__title {
  font-family: var(--display, "Barlow Condensed", sans-serif);
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0;
}

.blog-card__title a:hover {
  color: var(--red, #e30613);
}

.blog-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted, #5a5a5a);
  line-height: 1.45;
  flex: 1;
}

.blog-card__more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red, #e30613);
  margin-top: 0.25rem;
}

/* Sidebar */
.blog-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: calc(var(--header-h, 76px) + 0.75rem);
}

.blog-sidebar__box {
  background: #fff;
  border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
}

.blog-sidebar__box h2 {
  font-family: var(--display, "Barlow Condensed", sans-serif);
  text-transform: uppercase;
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  letter-spacing: 0.03em;
}

.blog-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.blog-cat-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.06));
  padding-bottom: 0.35rem;
}

.blog-cat-list a:hover {
  color: var(--red, #e30613);
}

/* CTA */
.blog-cta {
  background: #111;
  color: #f5f5f5;
  border-radius: 14px;
  padding: 1.25rem 1.3rem 1.4rem;
  border-left: 4px solid var(--orange, #ff6a00);
  margin-top: 1.5rem;
}

.blog-cta__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--orange, #ff6a00);
}

.blog-cta__title {
  font-family: var(--display, "Barlow Condensed", sans-serif);
  text-transform: uppercase;
  font-size: 1.45rem;
  margin: 0 0 0.45rem;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.1;
}

.blog-cta__text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: rgba(245, 245, 245, 0.8);
}

.blog-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.blog-sidebar .blog-cta {
  margin-top: 0;
}

/* Pagination */
.blog-pagination {
  margin-top: 1.75rem;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line, rgba(0, 0, 0, 0.12));
  background: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--black, #0a0a0a);
  color: #fff;
  border-color: var(--black, #0a0a0a);
}

.blog-empty {
  background: #fff;
  border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  border-radius: 14px;
  padding: 1.5rem;
}

.blog-empty h2 {
  font-family: var(--display, "Barlow Condensed", sans-serif);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

/* ===== Single post ===== */
.blog-single__hero {
  padding: 1.5rem 0 0.5rem;
}

.blog-single__hero-inner {
  max-width: 760px;
}

.blog-single__cats {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange-deep, #e05a00);
}

.blog-single__cats a:hover {
  text-decoration: underline;
}

.blog-single__hero h1 {
  font-family: var(--display, "Barlow Condensed", sans-serif);
  text-transform: uppercase;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.blog-single__meta {
  font-size: 0.88rem;
  color: var(--muted, #5a5a5a);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-single__meta .sep {
  opacity: 0.4;
}

.blog-single__cover {
  margin-bottom: 1.5rem;
}

.blog-single__cover-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
  background: #e8e4de;
}

.blog-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}

.blog-single__content {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.blog-single__content > *:first-child {
  margin-top: 0;
}

.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
  font-family: var(--display, "Barlow Condensed", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 1.75rem 0 0.65rem;
}

.blog-single__content h2 {
  font-size: 1.65rem;
  border-left: 4px solid var(--orange, #ff6a00);
  padding-left: 0.65rem;
}

.blog-single__content h3 {
  font-size: 1.3rem;
}

.blog-single__content p {
  margin: 0 0 1rem;
}

.blog-single__content a {
  color: var(--red, #e30613);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-single__content ul,
.blog-single__content ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.blog-single__content li {
  margin-bottom: 0.35rem;
}

.blog-single__content img {
  border-radius: 12px;
  margin: 1rem 0;
}

.blog-single__content blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--orange, #ff6a00);
  background: #fff;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--ink, #141414);
}

.blog-single__content figure {
  margin: 1.25rem 0;
}

.blog-single__content figcaption {
  font-size: 0.85rem;
  color: var(--muted, #5a5a5a);
  margin-top: 0.35rem;
}

.blog-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  font-size: 0.88rem;
}

.blog-single__tags a {
  background: rgba(255, 106, 0, 0.12);
  color: var(--orange-deep, #e05a00) !important;
  text-decoration: none !important;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.blog-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-post-nav a:hover {
  color: var(--red, #e30613);
}

.blog-post-nav__next {
  text-align: right;
}

/* Aside single */
.blog-aside-sticky {
  position: sticky;
  top: calc(var(--header-h, 76px) + 0.75rem);
  display: grid;
  gap: 0.85rem;
}

.blog-aside-card {
  background: #fff;
  border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.blog-aside-card .eyebrow {
  margin: 0;
}

.blog-aside-card h2 {
  font-family: var(--display, "Barlow Condensed", sans-serif);
  text-transform: uppercase;
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.blog-aside-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted, #5a5a5a);
}

.blog-aside-card .btn {
  width: 100%;
  justify-content: center;
}

.blog-aside-card--dark {
  background: #111;
  color: #f5f5f5;
  border-color: #111;
}

.blog-aside-card--dark .eyebrow {
  color: var(--orange, #ff6a00);
}

.blog-aside-link {
  color: #fff !important;
  font-weight: 700;
  text-decoration: underline !important;
}

/* Related */
.blog-related {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line, rgba(0, 0, 0, 0.08));
  background: #fff;
}

.blog-related .section-head {
  margin-bottom: 1.25rem;
}

/* Home teaser */
.blog-home-teaser {
  padding: 2.5rem 0 3rem;
}

.blog-home-teaser__more {
  margin: 1.5rem 0 0;
  text-align: center;
}

@media (max-width: 900px) {
  .blog-layout,
  .blog-single__grid {
    grid-template-columns: 1fr;
  }

  .blog-sidebar,
  .blog-aside-sticky {
    position: static;
  }

  .blog-post-nav {
    grid-template-columns: 1fr;
  }

  .blog-post-nav__next {
    text-align: left;
  }
}
