/* ===== BLOG CSS — Strawberry Marketing Digital ===== */

/* ---- Blog Index ---- */
.blog-hero {
  background: var(--dark);
  padding: 120px 48px 80px;
  text-align: center;
}
.blog-hero .hero-label {
  display: inline-block;
  background: rgba(255,52,52,0.15);
  color: var(--red);
  border: 1px solid rgba(255,52,52,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.blog-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.blog-hero h1 span { color: var(--red); }
.blog-hero p {
  color: #aaa;
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Blog Grid ---- */
.blog-section {
  padding: 80px 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border-color: var(--red);
}
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-tag {
  display: inline-block;
  background: rgba(255,52,52,0.1);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.blog-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.blog-card p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.blog-card-meta span { display: flex; align-items: center; gap: 6px; }
.read-more {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.blog-card:hover .read-more { gap: 8px; }

/* ---- Article Page ---- */
.article-hero {
  background: var(--dark);
  padding: 120px 48px 0;
}
.article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}
.article-breadcrumb a { color: #888; text-decoration: none; }
.article-breadcrumb a:hover { color: var(--red); }
.article-breadcrumb span { color: #555; }
.article-tag {
  display: inline-block;
  background: rgba(255,52,52,0.15);
  color: var(--red);
  border: 1px solid rgba(255,52,52,0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.article-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.article-hero h1 span { color: var(--red); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #888;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-cover-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px;
  transform: translateY(-40px);
}
.article-cover {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

/* ---- Article Content ---- */
.article-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px 100px;
}
.article-body {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}
.article-body h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--heading);
  margin: 52px 0 16px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.article-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin: 36px 0 12px;
}
.article-body p { margin-bottom: 24px; }
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--heading); font-weight: 700; }
.article-body a { color: var(--red); text-decoration: underline; }

.article-highlight {
  background: var(--off-white);
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 32px 0;
  font-size: 17px;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.6;
}

/* ---- Article CTA ---- */
.article-cta {
  background: var(--dark);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin: 60px 0;
}
.article-cta h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.article-cta p {
  color: #aaa;
  margin-bottom: 28px;
  font-size: 16px;
}

/* ---- Related Posts ---- */
.related-section {
  padding: 80px 48px;
  background: var(--off-white);
}
.related-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* ---- Schema FAQ ---- */
.faq-section {
  padding: 0 0 60px;
}
.faq-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
}
.faq-q svg { flex-shrink: 0; transition: transform .3s; color: var(--red); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: var(--white);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  margin: 0;
}

/* ---- Author Box ---- */
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--off-white);
  border-radius: 16px;
  padding: 28px;
  margin: 48px 0;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
}
.author-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 4px;
}
.author-info p { font-size: 14px; color: var(--grey); margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .blog-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-hero, .article-hero { padding: 100px 24px 60px; }
  .blog-section, .article-content-wrap, .article-cover-wrap { padding-left: 24px; padding-right: 24px; }
  .blog-grid, .related-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-cta { padding: 32px 24px; }
  .author-box { flex-direction: column; text-align: center; }
  .related-section { padding: 60px 24px; }
}
@media (max-width: 480px) {
  .blog-hero h1 { font-size: 28px; }
  .article-hero h1 { font-size: 26px; }
  .article-body { font-size: 16px; }
}
