/* ============================================
   Blog folder — long-form articles + archive
   Load after /css/style.css (uses site variables)
   ============================================ */

body.blog-article-page,
body.blog-folder-index {
  padding-top: 0;
}

/* ——— Article layout ——— */
.blog-hero {
  padding: 8rem 5rem 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 860px;
  margin: 0 auto;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  min-height: 1.5rem;
}

.blog-cat {
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.2);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.blog-date,
.blog-read {
  font-size: 0.82rem;
  color: rgba(245, 242, 238, 0.35);
  font-weight: 300;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.blog-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 242, 238, 0.2);
  flex-shrink: 0;
  align-self: center;
}

.blog-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.blog-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.blog-intro {
  font-size: 1.08rem;
  color: rgba(245, 242, 238, 0.55);
  line-height: 1.8;
  font-weight: 300;
  max-width: 680px;
}

.blog-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 5rem 6rem;
}

.blog-content h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.blog-content h2:first-child {
  margin-top: 0;
}

.blog-content h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 0.7rem;
  color: var(--accent);
}

.blog-content p {
  font-size: 0.97rem;
  color: rgba(245, 242, 238, 0.6);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1.3rem;
}

.blog-content strong {
  color: var(--white);
  font-weight: 500;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.3rem;
}

.blog-content li {
  font-size: 0.97rem;
  color: rgba(245, 242, 238, 0.6);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.blog-content li strong {
  color: var(--white);
  font-weight: 500;
}

.highlight-box {
  background: rgba(200, 255, 0, 0.05);
  border: 1px solid rgba(200, 255, 0, 0.15);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
}

.highlight-box p {
  color: rgba(245, 242, 238, 0.7);
  margin: 0;
  font-size: 0.95rem;
}

.highlight-box p strong {
  color: var(--accent);
}

/* SEO article */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.2rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  align-items: start;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
}

.step-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.step-desc {
  font-size: 0.85rem;
  color: rgba(245, 242, 238, 0.45);
  font-weight: 300;
  line-height: 1.55;
}

.keyword-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.88rem;
}

.keyword-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(200, 255, 0, 0.06);
  border-bottom: 1px solid rgba(200, 255, 0, 0.15);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.keyword-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(245, 242, 238, 0.6);
  font-weight: 300;
  line-height: 1.4;
}

.keyword-table tr:last-child td {
  border-bottom: none;
}

.diff-easy {
  color: var(--accent);
  font-weight: 500;
}

.diff-med {
  color: #f5a623;
  font-weight: 500;
}

.diff-hard {
  color: #ff8080;
  font-weight: 500;
}

/* Digital marketing article */
.channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.channel-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1.3rem;
}

.channel-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.channel-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.channel-desc {
  font-size: 0.82rem;
  color: rgba(245, 242, 238, 0.4);
  font-weight: 300;
  line-height: 1.5;
}

.channel-verdict {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 0.6rem;
  display: inline-block;
}

.v-high {
  background: rgba(200, 255, 0, 0.1);
  color: var(--accent);
  border: 1px solid rgba(200, 255, 0, 0.2);
}

.v-med {
  background: rgba(245, 166, 35, 0.1);
  color: #f5a623;
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.v-low {
  background: rgba(255, 85, 85, 0.08);
  color: #ff8080;
  border: 1px solid rgba(255, 85, 85, 0.15);
}

/* Web design article */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1.4rem;
  text-align: center;
}

.stat-val {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-lbl {
  font-size: 0.78rem;
  color: rgba(245, 242, 238, 0.35);
  font-weight: 300;
}

/* Shared CTA + author */
.blog-cta {
  background: var(--accent);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3.5rem;
}

.blog-cta h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.blog-cta p {
  color: rgba(8, 8, 8, 0.55);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
  font-weight: 300;
}

.blog-cta a {
  background: var(--black);
  color: var(--accent);
  border-radius: 50px;
  padding: 0.9rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-head);
  text-decoration: none;
  display: inline-block;
}

.blog-cta a:hover {
  opacity: 0.92;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-top: 3rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--black);
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 2px;
}

.author-title {
  font-size: 0.8rem;
  color: rgba(245, 242, 238, 0.35);
  font-weight: 300;
}

.related {
  padding: 4rem 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 860px;
  margin: 0 auto;
}

.related h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.related-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1.2rem;
  text-decoration: none;
  transition: border-color 0.2s;
}

.related-card:hover {
  border-color: rgba(200, 255, 0, 0.25);
}

.related-cat {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.related-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

/* ——— Blog/archive index (Blog/index.html) ——— */
.blog-folder-index .blog-archive-hero {
  padding: 8.5rem 5rem 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 5rem;
}

.blog-folder-index .blog-archive-hero .section-label {
  margin-bottom: 0.85rem;
}

.blog-folder-index .blog-archive-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--white);
}

.blog-folder-index .blog-archive-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.blog-folder-index .blog-archive-hero p {
  color: rgba(245, 242, 238, 0.45);
  font-size: 0.98rem;
  max-width: 500px;
  line-height: 1.75;
  font-weight: 300;
}

.blog-folder-index .blog-archive-back {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(245, 242, 238, 0.35);
  font-weight: 300;
}

.blog-folder-index .blog-archive-back a {
  color: inherit;
  text-decoration: none;
}

.blog-folder-index .blog-archive-back a:hover {
  color: var(--accent);
}

.blog-folder-index .blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 4rem 5rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.blog-folder-index .blog-archive-card-cover {
  position: relative;
  height: 160px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--gray);
}

.blog-folder-index .blog-archive-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-folder-index a.blog-archive-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
  color: inherit;
}

.blog-folder-index a.blog-archive-card:hover {
  border-color: rgba(200, 255, 0, 0.25);
  transform: translateY(-3px);
}

.blog-folder-index .blog-archive-card-top {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-folder-index .blog-archive-card-cat {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.blog-folder-index .blog-archive-card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}

.blog-folder-index .blog-archive-card-excerpt {
  font-size: 0.85rem;
  color: rgba(245, 242, 238, 0.4);
  font-weight: 300;
  line-height: 1.65;
}

.blog-folder-index .blog-archive-card-bottom {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.blog-folder-index .blog-archive-card-meta {
  font-size: 0.78rem;
  color: rgba(245, 242, 238, 0.25);
  font-weight: 300;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.blog-folder-index .blog-archive-card-read {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

@media (max-width: 768px) {
  .blog-hero {
    padding-top: 8.35rem;
  }

  .blog-hero,
  .blog-content,
  .related {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .keyword-table {
    font-size: 0.78rem;
  }

  .channel-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .blog-folder-index .blog-archive-hero,
  .blog-folder-index .blog-archive-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .blog-folder-index .blog-archive-hero {
    padding-top: 9rem;
  }

  .blog-folder-index .blog-archive-grid {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}

/* Inline link in blog hub intro */
.blog-hub-lead .blog-inline-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.blog-hub-lead .blog-inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
