:root {
  --primary: #721953;
  --accent: #341e4a;
  --dark: #1d2350;
  --light-bg: #f6f7fb;
  --muted: #69708f;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background: var(--light-bg);
}

.blog-single-page {
  padding-bottom: 3.5rem;
}

.blog-single-top .container,
.blog-single-main .container,
.related-section .container {
  max-width: 980px;
}

.blog-single-top {
  padding: 2.75rem 0 1.25rem;
  background:
    radial-gradient(circle at 12% 22%, rgba(114, 25, 83, 0.06), transparent 35%),
    radial-gradient(circle at 86% 8%, rgba(29, 35, 80, 0.05), transparent 28%);
}

.blog-breadcrumb {
  display: flex;
  gap: .45rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.blog-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.blog-breadcrumb .current {
  color: var(--dark);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: .92rem;
}

.author-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.1rem;
  background: #fff;
  border: 1px solid rgba(29, 35, 80, 0.1);
  border-radius: 14px;
  padding: .75rem .9rem;
  width: fit-content;
  box-shadow: 0 8px 22px rgba(29, 35, 80, 0.06);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(114, 25, 83, 0.15);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-meta p {
  line-height: 1.3;
}

.author-label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
}

.author-name {
  font-size: .9rem;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--dark);
}

.post-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: .75rem;
  max-width: 980px;
}

.post-meta {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: .95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(114, 25, 83, 0.08);
  border: 1px solid rgba(114, 25, 83, 0.12);
  padding: .4rem .8rem;
  border-radius: 999px;
}

.post-excerpt {
  font-size: 1.08rem;
  color: #4f5677;
  max-width: 880px;
  line-height: 1.75;
  border-left: 4px solid rgba(114, 25, 83, 0.35);
  padding-left: 1rem;
}

.blog-single-main {
  padding-top: 1.2rem;
}

.cover-wrap {
  margin-bottom: 2rem;
}

.cover-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 24px 60px rgba(21, 28, 70, 0.16);
}

.article-content {
  background: #fff;
  border-radius: 1.2rem;
  padding: 2.3rem;
  box-shadow: 0 14px 34px rgba(29, 35, 80, 0.1);
  border: 1px solid rgba(29, 35, 80, 0.06);
  position: relative;
  overflow: hidden;
}

.article-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #721953 0%, #341e4a 100%);
}

.prose {
  line-height: 1.95;
  font-size: 1.06rem;
  max-width: 860px;
  margin: 0 auto;
  color: #2d3358;
  text-align: justify;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2rem;
  margin-bottom: .9rem;
  font-weight: 700;
  color: #202754;
  line-height: 1.3;
}

.prose p {
  margin-bottom: 1.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
  margin-bottom: 1.2rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
}

.prose table th,
.prose table td {
  border: 1px solid #e6e8f2;
  padding: .7rem;
  vertical-align: top;
}

.prose blockquote {
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--primary);
  background: rgba(114, 25, 83, 0.06);
  border-radius: .5rem;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: .8rem;
  margin: 1.2rem auto;
  display: block;
  box-shadow: 0 12px 26px rgba(29, 35, 80, 0.12);
}

.share-block {
  margin-top: 1.8rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.share-block h3 {
  font-size: 1.05rem;
  margin-bottom: .85rem;
  font-weight: 700;
}

.share-links {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.share-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  background: #fff;
  border: 1px solid rgba(114, 25, 83, 0.15);
  border-radius: 999px;
  padding: .45rem .95rem;
  transition: all .2s ease;
}

.share-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.appointment-box {
  margin-top: 1.7rem;
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.6rem;
  border: 1px solid #eceef6;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 26px rgba(29, 35, 80, 0.06);
}

.appointment-box h3 {
  font-size: 1.22rem;
  margin-bottom: .35rem;
  font-weight: 700;
}

.appointment-box p {
  color: var(--muted);
  margin-bottom: .9rem;
}

.appointment-box .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  border-radius: 999px;
  padding: .65rem 1.3rem;
  font-weight: 600;
  transition: all .2s ease;
}

.appointment-box .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(114, 25, 83, 0.25);
}

.related-section {
  padding-top: 2.5rem;
}

.related-section h2 {
  font-weight: 700;
  margin-bottom: .25rem;
}

.related-subtitle {
  color: var(--muted);
  margin-bottom: 1rem;
}

.related-card {
  display: block;
  text-decoration: none;
  color: var(--dark);
  background: #fff;
  border-radius: 1.05rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(29, 35, 80, 0.08);
  height: 100%;
  border: 1px solid rgba(29, 35, 80, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(29, 35, 80, 0.14);
}

.related-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.related-tag {
  display: inline-block;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .45rem;
}

.related-card h3 {
  font-size: 1.03rem;
  margin: 0 0 .6rem;
  font-weight: 600;
  line-height: 1.45;
}

.read-link {
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
}

.back-wrapper {
  margin-top: 1.3rem;
}

.back-to-blog {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

@media (max-width: 767.98px) {
  .blog-single-top {
    padding-top: 1.8rem;
  }

  .article-content {
    padding: 1.25rem;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .post-meta {
    font-size: .85rem;
    padding: .35rem .65rem;
  }

  .post-excerpt {
    font-size: 1rem;
    padding-left: .75rem;
  }
}
