/* ================================================
   MY Tattoo Studio — blog.css
   ================================================ */

/* ── Share кнопки ── */
.blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #1e1e1e;
  flex-wrap: wrap;
}

.blog-share-label {
  font-size: 0.82rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  color: #fff;
}

.blog-share-btn:hover { opacity: 0.85; color: #fff; }
.blog-share-btn--tg   { background: #229ED9; }
.blog-share-btn--copy { background: #333; cursor: pointer; border: none; font-family: inherit; }
.blog-share-btn--copy.copied { background: #2a7a4b; }

/* ── Лічильник переглядів ── */
.blog-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #555;
  margin-left: auto;
}

.blog-views svg { opacity: 0.6; }

/* ── Teaser footer (дата + читати) ── */
.blog-teaser-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.blog-teaser-date {
  font-size: 0.78rem;
  color: #555;
}

/* ── Google відгуки footer ── */
.reviews-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.reviews-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  color: #222;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.reviews-google-btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.35); color: #222; }

.reviews-all-link {
  font-size: 0.85rem;
  color: #888;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews-all-link:hover { color: #fff; }

/* ── Фільтри блогу ── */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.blog-filter-btn {
  padding: 8px 20px;
  border: 1.5px solid #333;
  background: transparent;
  color: #aaa;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 0.04em;
}

.blog-filter-btn:hover {
  border-color: #b30000;
  color: #fff;
}

.blog-filter-btn.active {
  background: #b30000;
  border-color: #b30000;
  color: #fff;
}

/* Sticky footer */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.blog-article,
.blog-index {
  flex: 1;
}

.footer {
  margin-top: auto;
}

.blog-article {
  max-width: 780px;
  padding-top: 40px;
  padding-bottom: 60px;
  color: #ddd;
}

.blog-breadcrumb {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 28px;
}
.blog-breadcrumb a {
  color: #888;
  text-decoration: none;
}
.blog-breadcrumb a:hover { color: #fff; }

.blog-header {
  margin-bottom: 36px;
  border-bottom: 1px solid #1e1e1e;
  padding-bottom: 24px;
}

.blog-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c10000;
  margin-bottom: 10px;
}

.blog-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.blog-meta {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
}

/* ── Зображення в статтях блогу ── */
.blog-cover-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 36px;
}

.blog-article-img {
  margin: 32px 0;
}

.blog-article-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 10px;
}

.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-top: 36px;
  margin-bottom: 12px;
}

.blog-body p {
  line-height: 1.8;
  margin-bottom: 16px;
  color: #bbb;
}

.blog-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.blog-body ul li {
  line-height: 1.8;
  margin-bottom: 6px;
  color: #bbb;
}

.blog-body a {
  color: #e05050;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-body a:hover { color: #ff6060; }

.blog-cta {
  background: linear-gradient(145deg, #111, #0c0c0c);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  margin-top: 40px;
}
.blog-cta p {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 16px;
}

.blog-nav-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #1e1e1e;
}
.blog-nav-links a {
  color: #888;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-nav-links a:hover { color: #fff; }

/* Blog index page */
.blog-index {
  padding-top: 48px;
  padding-bottom: 60px;
}

.blog-card {
  display: block;
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
  height: 100%;
}
.blog-card:hover {
  border-color: #444;
  transform: translateY(-3px);
}
.blog-card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c10000;
  margin-bottom: 8px;
}
.blog-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card p {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

/* ── Значок NEW ── */
.blog-card {
  position: relative;
}
.badge-new {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #c10000;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 576px) {
  .blog-article {
    padding-top: 24px;
  }
  .blog-header h1 {
    font-size: 1.45rem;
  }
}
