/* ==========================================================================
   TERAPİYLE - BLOG & EDITORIAL DESIGN SYSTEM (blog.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL BLOG TOKENS & HERO SECTION
   -------------------------------------------------------------------------- */
.blog-page-body {
  padding-top: 140px;
  background-color: #f8fafc;
  color: #1e293b;
}

.blog-hero-section {
  padding: 0 0 40px;
  position: relative;
}

.blog-hero-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.blog-hero-highlight {
  color: var(--primary);
}

.blog-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 130, 253, 0.1);
  color: #0e82fd;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.blog-hero-desc {
  font-size: 1.12rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   2. SEARCH & CATEGORY FILTER BAR
   -------------------------------------------------------------------------- */
.blog-search-wrap {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}

.blog-search-input {
  width: 100%;
  height: 56px;
  padding: 12px 50px 12px 52px;
  font-size: 1rem;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
  outline: none;
}

.blog-search-input:focus {
  border-color: #0e82fd;
  box-shadow: 0 0 0 4px rgba(14, 130, 253, 0.15);
}

.blog-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: #94a3b8;
  pointer-events: none;
}

.blog-search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  z-index: 2;
}

.blog-search-clear:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-50%) scale(1.05);
}

.blog-categories-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.blog-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.blog-cat-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.blog-cat-btn.active {
  background: #0e82fd;
  color: #ffffff;
  border-color: #0e82fd;
  box-shadow: 0 4px 14px rgba(14, 130, 253, 0.25);
}

/* --------------------------------------------------------------------------
   3. FEATURED ARTICLE HERO CARD
   -------------------------------------------------------------------------- */
.blog-featured-section {
  padding: 40px 0 20px;
}

.featured-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: row;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(14, 130, 253, 0.12);
  border-color: #93c5fd;
}

.featured-img-box {
  width: 50%;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.featured-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover .featured-img-box img {
  transform: scale(1.04);
}

.featured-content-box {
  width: 50%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0e82fd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.featured-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.featured-card:hover .featured-title {
  color: #0e82fd;
}

.featured-excerpt {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 24px;
}

.featured-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.featured-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  padding: 4px;
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  box-shadow: 0 2px 8px rgba(14, 130, 253, 0.1);
  flex-shrink: 0;
}

.featured-author-info-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.featured-author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.blog-author-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
}

.blog-author-verified i {
  font-size: 0.74rem;
  color: #0284c7;
}

.featured-meta-info {
  margin-left: auto;
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 991px) {
  .featured-card {
    flex-direction: column;
  }
  .featured-img-box,
  .featured-content-box {
    width: 100%;
  }
  .featured-content-box {
    padding: 30px 24px;
  }
  .featured-img-box {
    min-height: 260px;
  }
}

/* --------------------------------------------------------------------------
   4. BLOG CARD GRID & SECTION HEADER
   -------------------------------------------------------------------------- */
.blog-grid-section {
  padding: 30px 0 70px;
}

.blog-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.blog-section-header-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-section-title-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(14, 130, 253, 0.12) 0%,
    rgba(14, 130, 253, 0.04) 100%
  );
  color: #0e82fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(14, 130, 253, 0.18);
  flex-shrink: 0;
}

.blog-section-title-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}

.blog-section-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
  margin: 3px 0 0;
  line-height: 1.4;
}

.blog-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  color: #475569;
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid #e2e8f0;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.blog-count-pill i {
  color: #0e82fd;
}

.blog-count-pill strong {
  color: #0f172a;
  font-weight: 800;
}

@media (max-width: 768px) {
  .blog-section-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 14px;
  }
  .blog-count-pill {
    align-self: flex-start;
  }
}

.blog-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

.blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(14, 130, 253, 0.1);
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.blog-card-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  z-index: 2;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 12px;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card-title {
  color: #0e82fd;
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  padding: 3px;
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  flex-shrink: 0;
}

.blog-card-author-info {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.blog-card-author-name {
  font-size: 0.86rem;
  font-weight: 750;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.blog-card-author-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  padding: 2px 7px;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
}

.blog-card-author-verified i {
  font-size: 0.68rem;
  color: #0284c7;
}

.blog-card-read-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0e82fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.blog-card:hover .blog-card-read-arrow {
  background: #0e82fd;
  color: #ffffff;
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   5. LOAD MORE / PAGINATION
   -------------------------------------------------------------------------- */
.blog-load-more-wrap {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.btn-blog-load-more {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  padding: 13px 34px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-blog-load-more:hover {
  background: #0e82fd;
  color: #ffffff;
  border-color: #0e82fd;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(14, 130, 253, 0.25);
}

.btn-blog-load-more:active {
  transform: translateY(0);
}

.blog-load-more-status {
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 500;
}

.blog-load-more-status span {
  font-weight: 700;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   5. NEWSLETTER / BÜLTEN BANNER
   -------------------------------------------------------------------------- */
.blog-newsletter-section {
  background: linear-gradient(135deg, #0e82fd 0%, #0369a1 100%);
  border-radius: 28px;
  padding: 50px 40px;
  color: #ffffff;
  margin: 20px auto 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(14, 130, 253, 0.25);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.newsletter-text h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.newsletter-text p {
  font-size: 1.05rem;
  color: #e0f2fe;
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  min-width: 400px;
}

.newsletter-input {
  flex: 1;
  height: 52px;
  padding: 12px 20px;
  border-radius: 9999px;
  border: none;
  font-size: 0.95rem;
  outline: none;
}

.newsletter-btn {
  height: 52px;
  padding: 0 24px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    width: 100%;
    min-width: auto;
    flex-direction: column;
  }
}

/* ==========================================================================
   6. BLOG DETAIL PAGE (blog-detay.php)
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #0e82fd 0%, #38bdf8 100%);
  z-index: 99999;
  transition: width 0.1s ease-out;
}

/* Detail Breadcrumb */
.blog-detail-breadcrumb {
  padding: 24px 0 10px;
  font-size: 0.88rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-detail-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-detail-breadcrumb a:hover {
  color: #0e82fd;
}

.blog-detail-breadcrumb .current {
  color: #0f172a;
  font-weight: 600;
}

/* Article Hero Header */
.article-header {
  padding: 20px 0 32px;
  margin: 0 auto;
}

.article-category-badge {
  display: inline-block;
  background: rgba(14, 130, 253, 0.1);
  color: #0e82fd;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.article-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  gap: 16px;
  flex-wrap: wrap;
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.article-author-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.article-author-name i {
  color: #0e82fd;
  font-size: 0.9rem;
}

.article-date-meta {
  font-size: 0.84rem;
  color: #64748b;
  display: flex;
  gap: 12px;
}

.article-share-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.share-btn:hover {
  background: #0e82fd;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Detail Main Layout (Article + Sticky Sidebar) */
.article-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding-bottom: 80px;
  align-items: start;
}

@media (max-width: 991px) {
  .article-main-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Main Article Content */
.article-content-body {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}

@media (max-width: 768px) {
  .article-content-body {
    padding: 24px 18px;
    border-radius: 18px;
  }
}

.article-featured-image-box {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 32px;
}

.article-featured-image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.article-img-caption {
  font-size: 0.84rem;
  color: #64748b;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Key Takeaways Box */
.key-takeaways-box {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 36px;
}

.key-takeaways-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #15803d;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.key-takeaways-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.key-takeaways-box li {
  font-size: 0.96rem;
  color: #166534;
  line-height: 1.55;
  position: relative;
  padding-left: 24px;
}

.key-takeaways-box li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
  font-weight: bold;
}

/* Article Prose Typography */
.article-prose {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.78;
}

.article-prose .lead-paragraph {
  font-size: 1.18rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.75;
  margin-bottom: 28px;
  border-left: 4px solid #0e82fd;
  padding-left: 18px;
}

.article-prose h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 42px;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.article-prose h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 28px;
  margin-bottom: 14px;
}

.article-prose p {
  margin-bottom: 22px;
}

.article-prose ul,
.article-prose ol {
  margin-bottom: 24px;
  padding-left: 22px;
}

.article-prose li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* Quotes in Prose */
.blog-quote-box {
  background: #f8fafc;
  border-left: 4px solid #0e82fd;
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin: 32px 0;
  position: relative;
}

.blog-quote-box .quote-icon {
  font-size: 1.8rem;
  color: rgba(14, 130, 253, 0.25);
  margin-bottom: 10px;
  display: block;
}

.blog-quote-box blockquote {
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.6;
  margin: 0 0 10px;
}

.blog-quote-box cite {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

/* Features Grid in Prose */
.blog-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

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

.feature-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
}

.feature-icon {
  font-size: 1.5rem;
  color: #0e82fd;
  margin-bottom: 12px;
}

.feature-box h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.feature-box ul {
  padding-left: 18px;
  margin: 0;
  font-size: 0.94rem;
  color: #475569;
}

/* In-Article CTA Widget for Psychological Test */
.blog-cta-widget {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1.5px solid rgba(14, 130, 253, 0.25);
  border-radius: 20px;
  padding: 30px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .blog-cta-widget {
    flex-direction: column;
    text-align: center;
  }
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0e82fd;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.cta-text {
  font-size: 0.95rem;
  color: #334155;
  margin: 0;
  line-height: 1.55;
}

.btn-cta-test {
  background: #0e82fd;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(14, 130, 253, 0.25);
}

.btn-cta-test:hover {
  background: #0b6bc7;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Article Tags & Feedback Row */
.article-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-top: 36px;
}

.article-tag-item {
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 5px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
}

.article-tag-item:hover {
  background: #0e82fd;
  color: #ffffff;
}

/* Helpful Feedback Widget */
.article-feedback-widget {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 36px;
}

.feedback-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.feedback-btns {
  display: flex;
  gap: 10px;
}

.feedback-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.feedback-btn:hover,
.feedback-btn.active {
  background: #0e82fd;
  color: #ffffff;
  border-color: #0e82fd;
}

/* Author Full Profile Box */
.author-profile-box {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
}

@media (max-width: 640px) {
  .author-profile-box {
    flex-direction: column;
    text-align: center;
  }
}

.author-editorial-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.author-big-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: contain;
  padding: 10px;
  background: #ffffff;
  border: 2px solid #bfdbfe;
  box-shadow: 0 4px 16px rgba(14, 130, 253, 0.12);
  flex-shrink: 0;
}

.author-editorial-check {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0e82fd;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.author-profile-info {
  flex: 1;
}

.author-profile-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.author-profile-role {
  font-size: 0.88rem;
  color: #0e82fd;
  font-weight: 700;
  margin-bottom: 10px;
}

.author-profile-bio {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 14px;
}

.author-profile-actions {
  display: flex;
  gap: 12px;
}

@media (max-width: 640px) {
  .author-profile-actions {
    justify-content: center;
  }
}

.btn-author-book {
  background: #0e82fd;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-author-book:hover {
  background: #0b6bc7;
  color: #ffffff;
}

.btn-author-profile {
  background: #ffffff;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.2s;
}

.btn-author-profile:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   7. STICKY SIDEBAR (DETAIL PAGE)
   -------------------------------------------------------------------------- */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.sidebar-widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget-title i {
  color: #0e82fd;
}

/* Sidebar Expert Mini Card */
.sidebar-expert-card {
  text-align: center;
}

.sidebar-expert-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin: 0 auto 12px;
}

.sidebar-expert-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.sidebar-expert-role {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 12px;
}

.sidebar-expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-bottom: 16px;
}

.sidebar-expert-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
}

.btn-sidebar-book {
  width: 100%;
  background: #0e82fd;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sidebar-book:hover {
  background: #0b6bc7;
  color: #ffffff;
}

/* Sidebar Test Widget */
.sidebar-test-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.sidebar-test-icon {
  font-size: 2rem;
  color: #0e82fd;
  margin-bottom: 10px;
}

.sidebar-test-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.sidebar-test-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;
}

.btn-sidebar-test {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-sidebar-test:hover {
  background: #0e82fd;
  color: #ffffff;
}

/* Sidebar Popular Articles List */
.sidebar-popular-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-popular-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.sidebar-popular-item:hover {
  transform: translateX(4px);
}

.popular-item-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  font-family: monospace;
}

.popular-item-content h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.sidebar-popular-item:hover h5 {
  color: #0e82fd;
}

.popular-item-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   8. RELATED ARTICLES BOTTOM SECTION
   -------------------------------------------------------------------------- */
.related-articles-section {
  padding: 60px 0 80px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.related-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: 40px;
}

.featured-author-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
}
