.page-template-template-blog .blog-card-image img {
    height: 100% !important;
}
.page-template-template-blog .popular-post-image img {
    height: 100% !important;
}
.single-post .blog-detail-featured-image img {
    height: 100% !important;
}
.single-post .popular-post-image img {
    height: 100% !important;
}
.blog-hero {
  position: relative;
  background: linear-gradient(135deg,
    #0d1117 0%,
    #1a1a1a 30%,
    #201e1a 60%,
    #141417 100%);
  padding: 180px 0 120px;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(171, 150, 108, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(171, 150, 108, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(139, 122, 90, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.blog-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(20, 20, 23, 0.4) 0%,
    transparent 50%,
    rgba(171, 150, 108, 0.06) 100%);
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero-title {
  font-size: 56px;
  line-height: 1.2;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.blog-hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* Decorative gold line under hero title */
.blog-hero-content::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #AB966C, transparent);
  margin: 24px auto 0;
}

/* Blog Main Section */
.blog-main-section {
  padding: 80px 0 100px;
  background: linear-gradient(to bottom, #f9f8f6 0%, #ffffff 100%);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.04);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-color: rgba(171, 150, 108, 0.2);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.blog-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(20, 20, 23, 0.88);
  color: #AB966C;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Open Sans', sans-serif;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(171, 150, 108, 0.3);
}

.blog-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.blog-date,
.blog-read-time {
  font-size: 12px;
  color: #9a9a9a;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-date i,
.blog-read-time i {
  color: #AB966C;
}

.blog-card-title {
  font-size: 22px;
  line-height: 1.4;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #141417;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

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

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.8;
  color: #7a7a7a;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #f0ede8;
  margin-top: auto;
}

.blog-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #141417 0%, #AB966C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.blog-author-info {
  display: flex;
  flex-direction: column;
}

.blog-author-name {
  font-size: 13px;
  font-weight: 600;
  color: #141417;
  font-family: 'Open Sans', sans-serif;
}

.blog-author-role {
  font-size: 11px;
  color: #AB966C;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}

.pagination-btn {
  padding: 12px 28px;
  background: #fff;
  border: 1px solid #e0dbd3;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #141417;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pagination-btn:hover:not(:disabled) {
  background: #141417;
  color: #fff;
  border-color: #141417;
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
}

.pagination-number {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e0dbd3;
  font-size: 14px;
  font-weight: 600;
  color: #141417;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
  background: #AB966C;
  color: #fff;
  border-color: #AB966C;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.widget-title {
  font-size: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #141417;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8e0d0;
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #AB966C;
}

/* Search Widget */
.search-form {
  display: flex;
  gap: 8px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e0dbd3;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  transition: all 0.3s ease;
  background: #faf9f7;
  color: #141417;
}

.search-input:focus {
  outline: none;
  border-color: #AB966C;
  box-shadow: 0 0 0 3px rgba(171, 150, 108, 0.12);
  background: #fff;
}

.search-btn {
  padding: 12px 20px;
  background: #141417;
  color: #AB966C;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: #AB966C;
  color: #fff;
}

/* Categories Widget */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  margin-bottom: 6px;
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  background: #faf9f7;
  border-radius: 4px;
  text-decoration: none;
  color: #141417;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.category-item.active .category-link,
.category-link:hover {
  background: #141417;
  color: #fff;
  border-color: #141417;
}

.category-item.active .category-link .category-name,
.category-link:hover .category-name {
  color: #fff;
}

.category-name {
  font-weight: 500;
}

.category-count {
  background: rgba(171, 150, 108, 0.2);
  color: #AB966C;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.category-item.active .category-count,
.category-link:hover .category-count {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Popular Posts Widget */
.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popular-post-item {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  padding: 12px 8px;
  border-radius: 6px;
  border-bottom: 1px solid #f5f2ee;
}

.popular-post-item:last-child {
  border-bottom: none;
}

.popular-post-item:hover {
  background: #faf9f7;
}

.popular-post-image {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.popular-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.popular-post-item:hover .popular-post-image img {
  transform: scale(1.05);
}

.popular-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.popular-post-title {
  font-size: 13px;
  line-height: 1.5;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: #141417;
  margin: 0;
  transition: color 0.3s ease;
}

.popular-post-item:hover .popular-post-title {
  color: #AB966C;
}

.popular-post-date {
  font-size: 11px;
  color: #9a9a9a;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Newsletter Widget */
.newsletter-text {
  font-size: 13px;
  line-height: 1.7;
  color: #7a7a7a;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  padding: 12px 16px;
  border: 1px solid #e0dbd3;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  background: #faf9f7;
  color: #141417;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #AB966C;
  box-shadow: 0 0 0 3px rgba(171, 150, 108, 0.12);
  background: #fff;
}

.newsletter-btn {
  padding: 13px;
  background: #AB966C;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newsletter-btn:hover {
  background: #8B7A5A;
}

/* Tags Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  padding: 7px 16px;
  background: #f5f2ee;
  border-radius: 3px;
  font-size: 12px;
  color: #141417;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.tag-item:hover {
  background: #141417;
  color: #AB966C;
  border-color: #141417;
}

/* ========================================
   BLOG DETAIL PAGE STYLES
   ======================================== */

/* Blog Detail Hero */
.blog-detail-hero {
  position: relative;
  background: linear-gradient(135deg,
    #0d1117 0%,
    #1a1a1a 30%,
    #201e1a 60%,
    #141417 100%);
  padding: 160px 0 80px;
  overflow: hidden;
}

.blog-detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 70% 15%, rgba(171, 150, 108, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 25% 85%, rgba(171, 150, 108, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.blog-detail-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(20, 20, 23, 0.5) 0%,
    transparent 60%,
    rgba(171, 150, 108, 0.05) 100%);
}

.blog-detail-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-detail-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.blog-detail-breadcrumb i {
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
}

.blog-detail-breadcrumb span {
  color: #AB966C;
  font-weight: 600;
}

.blog-detail-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.blog-detail-category {
  display: inline-block;
  background: rgba(171, 150, 108, 0.15);
  color: #AB966C;
  padding: 7px 18px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  border: 1px solid rgba(171, 150, 108, 0.35);
}

.blog-detail-title {
  font-size: 48px;
  line-height: 1.25;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.blog-detail-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #AB966C 0%, #8B7A5A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  border: 2px solid rgba(171, 150, 108, 0.3);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

.author-role {
  font-size: 12px;
  color: rgba(171, 150, 108, 0.9);
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-detail-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.detail-date,
.detail-read-time {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Open Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.detail-date i,
.detail-read-time i {
  color: #AB966C;
}

/* Blog Detail Section */
.blog-detail-section {
  padding: 80px 0 100px;
  background: #fff;
}

.blog-detail-content {
  background: #fff;
}

.blog-detail-featured-image {
  width: 100%;
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.blog-detail-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Body */
.blog-detail-body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #3a3a3a;
}

.blog-detail-body .lead-paragraph {
  font-size: 19px;
  line-height: 1.75;
  color: #141417;
  font-weight: 400;
  margin-bottom: 36px;
  padding-left: 22px;
  border-left: 3px solid #AB966C;
  font-family: 'Cormorant Garamond', serif;
}

.blog-detail-body h2 {
  font-size: 36px;
  line-height: 1.3;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #141417;
  margin-top: 54px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0ede8;
}

.blog-detail-body h3 {
  font-size: 26px;
  line-height: 1.4;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #AB966C;
  margin-top: 40px;
  margin-bottom: 16px;
}

.blog-detail-body h4 {
  font-size: 18px;
  line-height: 1.4;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: #141417;
  margin-top: 30px;
  margin-bottom: 12px;
}

.blog-detail-body p {
  margin-bottom: 22px;
}

.blog-detail-body ul.blog-list,
.blog-detail-body ol {
  margin: 24px 0;
  padding-left: 24px;
}

.blog-detail-body ul.blog-list li,
.blog-detail-body ol li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.blog-quote {
  background: #faf9f7;
  border-left: 3px solid #AB966C;
  padding: 32px 40px;
  margin: 44px 0;
  border-radius: 0 8px 8px 0;
  font-size: 21px;
  line-height: 1.6;
  font-style: italic;
  color: #141417;
  font-family: 'Cormorant Garamond', serif;
}

.blog-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-style: normal;
  color: #AB966C;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-box {
  background: #faf9f7;
  border: 1px solid #e8e0d0;
  border-radius: 10px;
  padding: 28px;
  margin: 32px 0;
}

.info-box h4 {
  color: #141417;
  margin-top: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
}

.info-box h4 i {
  color: #AB966C;
}

.info-box ul {
  margin: 0;
  padding-left: 20px;
}

.info-box ul li {
  margin-bottom: 10px;
}

.cta-box {
  background: linear-gradient(135deg, #141417 0%, #0d1117 100%);
  color: #fff;
  border-radius: 12px;
  padding: 50px 40px;
  text-align: center;
  margin: 54px 0;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(171, 150, 108, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box h3 {
  font-size: 32px;
  font-family: 'Cormorant Garamond', serif;
  margin-top: 0;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
}

.cta-box p {
  font-size: 15px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #AB966C;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
}

.cta-btn:hover {
  background: #8B7A5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(171, 150, 108, 0.35);
  color: #fff;
}

/* Tags & Share */
.blog-detail-tags,
.blog-detail-share {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid #f0ede8;
}

.blog-detail-tags h4,
.blog-detail-share h4 {
  font-size: 13px;
  font-weight: 600;
  color: #9a9a9a;
  margin-bottom: 16px;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-facebook { background: #141417; }
.share-twitter { background: #141417; }
.share-linkedin { background: #141417; }
.share-email { background: #141417; }

.share-btn:hover {
  background: #AB966C;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(171, 150, 108, 0.3);
  color: #fff;
}

/* Author Bio */
.author-bio-box {
  background: #faf9f7;
  border: 1px solid #e8e0d0;
  border-radius: 12px;
  padding: 36px;
  margin-top: 54px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #141417 0%, #AB966C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  flex-shrink: 0;
}

.author-bio-content {
  flex: 1;
}

.author-bio-name {
  font-size: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #141417;
  margin-bottom: 4px;
}

.author-bio-role {
  font-size: 11px;
  color: #AB966C;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 14px;
}

.author-bio-description {
  font-size: 14px;
  line-height: 1.8;
  color: #7a7a7a;
  margin: 0;
}

/* Related Posts */
.related-posts-section {
  margin-top: 64px;
  padding-top: 54px;
  border-top: 1px solid #f0ede8;
}

.related-posts-title {
  font-size: 32px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #141417;
  margin-bottom: 32px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.related-post-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: block;
}

.related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: rgba(171, 150, 108, 0.2);
}

.related-post-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-post-card:hover .related-post-image img {
  transform: scale(1.05);
}

.related-post-content {
  padding: 20px;
}

.related-post-category {
  display: inline-block;
  background: #f5f2ee;
  color: #AB966C;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.related-post-title {
  font-size: 17px;
  line-height: 1.4;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #141417;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.related-post-card:hover .related-post-title {
  color: #AB966C;
}

.related-post-date {
  font-size: 11px;
  color: #9a9a9a;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Table of Contents Widget */
.toc-widget .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.toc-widget .toc-list li {
  margin-bottom: 6px;
  counter-increment: toc-counter;
}

.toc-widget .toc-list a {
  color: #7a7a7a;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 4px;
}

.toc-widget .toc-list a::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-size: 11px;
  color: #AB966C;
  font-weight: 600;
  flex-shrink: 0;
}

.toc-widget .toc-list a:hover {
  color: #141417;
  background: #faf9f7;
  padding-left: 16px;
}

/* CTA Widget */
.cta-widget {
  background: linear-gradient(135deg, #141417 0%, #0d1117 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(171, 150, 108, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-widget .widget-title {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  position: relative;
}

.cta-widget .widget-title::after {
  background: #AB966C;
}

.cta-widget p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
}

.widget-cta-btn {
  display: block;
  text-align: center;
  padding: 13px;
  background: #AB966C;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.widget-cta-btn:hover {
  background: #8B7A5A;
  transform: translateY(-2px);
  color: #fff;
}

/* ========================================
   RESPONSIVE
   ======================================== */

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

@media (max-width: 991px) {
  .blog-hero-title {
    font-size: 44px;
  }

  .blog-detail-title {
    font-size: 38px;
  }

  .blog-sidebar {
    position: static;
    margin-top: 56px;
  }

  .author-bio-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .blog-hero {
    padding: 130px 0 70px;
  }

  .blog-hero-title {
    font-size: 34px;
  }

  .blog-hero-subtitle {
    font-size: 15px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-detail-hero {
    padding: 120px 0 60px;
  }

  .blog-detail-title {
    font-size: 28px;
  }

  .blog-detail-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .blog-detail-featured-image {
    height: 240px;
    border-radius: 8px;
    margin-bottom: 32px;
  }

  .blog-detail-body {
    font-size: 15px;
  }

  .blog-detail-body .lead-paragraph {
    font-size: 17px;
  }

  .blog-detail-body h2 {
    font-size: 28px;
    margin-top: 40px;
  }

  .blog-detail-body h3 {
    font-size: 22px;
  }

  .blog-quote {
    padding: 22px 24px;
    font-size: 19px;
  }

  .cta-box {
    padding: 36px 24px;
  }

  .cta-box h3 {
    font-size: 26px;
  }

  .author-bio-box {
    padding: 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pagination-numbers {
    display: none;
  }

  .blog-detail-breadcrumb {
    font-size: 11px;
    gap: 8px;
  }

  .share-buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .blog-hero-title {
    font-size: 28px;
  }

  .blog-detail-title {
    font-size: 24px;
  }

  .blog-detail-info {
    flex-direction: column;
    gap: 10px;
  }

  .sidebar-widget {
    padding: 20px;
  }

  .blog-pagination {
    gap: 8px;
  }

  .pagination-btn {
    padding: 10px 16px;
    font-size: 12px;
  }
}
