/* ==========================================================================
   Blog Page Component Styles — DISONESTA Theme
   ========================================================================== */

.blog-page {
  box-sizing: border-box;
  padding-bottom: 64px;
}

/* Hero Header */
.blog-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 36px;
  padding-bottom: 28px;
  text-align: left;
}

.blog-hero__eyebrow {
  align-items: center;
  color: var(--home-pink, #fb5d80);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.blog-hero__eyebrow i {
  background: var(--home-pink, #fb5d80);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(251, 93, 128, 0.6);
  height: 6px;
  width: 6px;
}

.blog-hero__title {
  color: #ffffff;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 12px;
}

.blog-hero__subtitle {
  color: #d8cde0;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  max-width: 70ch;
}

/* 4-Column Minimal Grid Layout */
.blog-editorial-layout {
  box-sizing: border-box;
  display: block;
  margin-top: 24px;
  width: 100%;
}

.blog-feed-wrap {
  width: 100%;
}

/* Blog Cards 4-Column Grid */
.blog-grid {
  display: grid;
  gap: clamp(16px, 1.5vw, 24px);
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

/* Minimal Blog Card Item (Only Image + Title - Taller Card Height) */
.blog-card {
  background: #18161a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  border-color: rgba(251, 93, 128, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(251, 93, 128, 0.15);
  transform: translateY(-4px);
}

.blog-card__thumb-link {
  aspect-ratio: 16 / 11;
  background: #111013;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.blog-card__img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

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

.blog-card__placeholder {
  align-items: center;
  background: linear-gradient(135deg, #241a28 0%, #16121a 100%);
  display: flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.blog-card__placeholder-icon {
  background-color: #fb5d80;
  display: block;
  height: 52px;
  width: 52px;
  -webkit-mask: url("/wp-content/uploads/2026/08/devil.png") no-repeat center / contain;
  mask: url("/wp-content/uploads/2026/08/devil.png") no-repeat center / contain;
  opacity: 0.75;
  filter: drop-shadow(0 0 10px rgba(251, 93, 128, 0.5));
}

.blog-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px 28px;
}

.blog-card__title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0;
}

.blog-card__title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: var(--home-pink, #fb5d80);
}

/* Pagination */
.blog-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 42px;
}

.blog-pagination .page-numbers {
  align-items: center;
  background: #18161a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0 14px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--home-pink, #fb5d80);
  border-color: var(--home-pink, #fb5d80);
  color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Single Blog Post Typography & Format Overrides
   ========================================================================== */

.single-post .editorial-main {
  background: var(--cd-canvas, #f8f6f8);
}

.single-post .editorial-article--post {
  color: #211923;
}

.single-post .entry-content p {
  color: #211923 !important;
  font-size: 1.125rem !important;
  line-height: 1.85 !important;
  margin-bottom: 1.5rem !important;
}

.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6 {
  color: #110c13 !important;
  font-family: var(--cd-font-heading, "Poppins", ui-sans-serif, system-ui, sans-serif) !important;
}

.single-post .entry-content h2 {
  border-left: 4px solid var(--home-pink, #ff6584) !important;
  font-size: clamp(1.65rem, 3vw, 2.2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.25 !important;
  margin-bottom: 0.85rem !important;
  margin-top: 2rem !important;
  padding-left: 14px !important;
}

.single-post .entry-content h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
  margin-bottom: 0.6rem !important;
  margin-top: 1.6rem !important;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  color: #211923 !important;
  font-size: 1.08rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.5rem !important;
}

.single-post .entry-content li {
  color: #211923 !important;
}

.single-post .entry-content ul > li::before {
  background: var(--home-pink, #ff6584) !important;
}

.single-post .entry-content blockquote {
  background: #ffffff !important;
  border: 1px solid var(--cd-border, #e4dde5) !important;
  border-left: 4px solid var(--home-pink, #ff6584) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  color: #211923 !important;
  font-size: 1.1rem !important;
  font-style: italic !important;
  line-height: 1.75 !important;
  margin: 1.8rem 0 !important;
  padding: 1.25rem 1.5rem !important;
}

.single-post .entry-content blockquote p {
  color: #211923 !important;
  margin-bottom: 0 !important;
}

.single-post .editorial-article__footer {
  border-top: 1px solid var(--cd-border, #e4dde5);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.single-post .editorial-post-nav a {
  background: #ffffff;
  border: 1px solid var(--cd-border, #e4dde5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  color: #110c13;
  font-weight: 700;
}

.single-post .editorial-post-nav a:hover {
  border-color: var(--home-pink, #ff6584);
  box-shadow: 0 6px 16px rgba(255, 101, 132, 0.12);
  color: var(--home-pink, #ff6584);
}

