/* ===========================
   Blog Detail Page
   =========================== */

.blog-detail-section {
  padding: 80px 0 120px;
  background: #080808;
  color: #ffffff;
}

.blog-detail-main {
  max-width: 850px;
}

.blog-detail-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #171717;
  border-radius: 8px;
}

.blog-detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0 18px;
  color: #c89a3f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-detail-meta span,
.blog-detail-meta time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
}

.blog-detail-meta i {
  color: rgba(255, 255, 255, 0.55);
}

.blog-detail-title {
  max-width: 100%;
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 1px;
}

.blog-detail-content {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.9;
}

.blog-detail-content p {
  margin: 0 0 23px;
  letter-spacing: 1px;
}

.blog-detail-content .blog-detail-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: 1px;
}

.blog-detail-content h2 {
  margin: 42px 0 16px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 1px;
}

.blog-detail-sidebar {
  position: sticky;
  top: 35px;
}

.blog-sidebar-widget {
  padding: 27px 28px;
  margin-bottom: 22px;
  background: #111111;
  border: 1px solid rgba(200, 154, 63, 0.18);
  border-radius: 8px;
}

.blog-sidebar-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 21px;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 500;
}

.blog-sidebar-title::before {
  width: 22px;
  height: 2px;
  content: '';
  background: #c89a3f;
}

.blog-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.blog-category-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(200, 154, 63, 0.25);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  letter-spacing: 1px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.blog-category-list a:hover {
  background: rgba(200, 154, 63, 0.12);
  border-color: #c89a3f;
  color: #c89a3f;
}

.blog-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.blog-tag-list a {
  padding: 8px 12px;
  border: 1px solid rgba(200, 154, 63, 0.25);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.blog-tag-list a:hover {
  background: rgba(200, 154, 63, 0.12);
  border-color: #c89a3f;
  color: #c89a3f;
}

.blog-recent-list {
  display: grid;
  gap: 18px;
}

.blog-recent-item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.blog-recent-item img {
  width: 72px;
  height: 58px;
  flex: 0 0 72px;
  object-fit: cover;
  border-radius: 4px;
}

.blog-recent-item span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.blog-recent-item strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

.blog-recent-item small {
  color: #c89a3f;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-recent-item:hover strong {
  color: #c89a3f;
}

.blog-sidebar-cta {
  position: relative;
  overflow: hidden;
  padding: 31px 28px;
  background: #c89a3f;
  border-radius: 8px;
  color: #080808;
}

.blog-sidebar-cta::after {
  position: absolute;
  right: -32px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  content: '';
  border: 1px solid rgba(8, 8, 8, 0.22);
  border-radius: 50%;
}

.blog-sidebar-cta p {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-sidebar-cta h3 {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 0 24px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 1px;
}

.blog-sidebar-cta a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #080808;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-sidebar-cta a i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.blog-sidebar-cta a:hover i {
  transform: translate(3px, -3px);
}

@media (max-width: 991px) {
  .blog-detail-section {
    padding-bottom: 85px;
  }

  .blog-detail-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .blog-detail-section {
    padding-top: 15px;
  }

  .blog-detail-meta {
    gap: 13px 20px;
    font-size: 10px;
  }

  .blog-detail-title {
    font-size: 38px;
  }

  .blog-detail-content {
    font-size: 15px;
    line-height: 1.8;
  }

  .blog-detail-content .blog-detail-lead {
    font-size: 18px;
  }

  .blog-detail-content h2 {
    font-size: 25px;
  }

  .blog-sidebar-widget,
  .blog-sidebar-cta {
    padding: 23px 20px;
  }
}
/* Blog Content Wrapper - Prevent CSS Conflicts */
.blog-content-wrapper {
  max-width: 100%;
  overflow-wrap: anywhere;
	line-height: 1.8;
	font-size: 16px;
	color: #5c5e61;
  word-break: break-word;
}

.blog-content-wrapper > * {
  max-width: 100%;
}

.blog-content-wrapper p {
	margin-bottom: 1.5rem;
	line-height: 1.8;
	font-size: 15px;
	color: #cacaca;
	letter-spacing: 1px;
}

.blog-content-wrapper h1,
.blog-content-wrapper h2,
.blog-content-wrapper h3,
.blog-content-wrapper h4,
.blog-content-wrapper h5,
.blog-content-wrapper h6 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #2c2e33;
	font-weight: 600;
}

.blog-content-wrapper h2 {
	font-size: 28px;
	color: #cacaca;
	letter-spacing: 1px;
	font-weight: 500;
}

.blog-content-wrapper h3 {
	font-size: 24px;
}

.blog-content-wrapper h4 {
	font-size: 20px;
}

.blog-content-wrapper h5 {
	font-size: 18px;
}

.blog-content-wrapper h6 {
	font-size: 16px;
}

.blog-content-wrapper ul,
.blog-content-wrapper ol {
	margin-bottom: 1.5rem;
	margin-left: 2rem;
}

.blog-content-wrapper ul li,
.blog-content-wrapper ol li {
	margin-bottom: 0.5rem;
	line-height: 1.8;
	list-style: circle;
}

.blog-content-wrapper img {
	max-width: 100%;
	height: auto;
	margin: 1.5rem 0;
	border-radius: 8px;
}

.blog-content-wrapper video,
.blog-content-wrapper iframe,
.blog-content-wrapper embed,
.blog-content-wrapper object {
  max-width: 100%;
}

.blog-content-wrapper blockquote {
	border-left: 4px solid #c01e2e;
	padding-left: 1.5rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: #8e8e93;
}

.blog-content-wrapper a {
	color: #c01e2e;
	text-decoration: none;
	transition: 0.3s ease;
}

.blog-content-wrapper a:hover {
	text-decoration: underline;
}

.blog-content-wrapper table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
  white-space: normal;
}

.blog-content-wrapper table th,
.blog-content-wrapper table td {
  word-break: break-word;
	padding: 12px;
	border: 1px solid #ececec;
	text-align: left;
}

.blog-content-wrapper table th {
	background-color: #f5f5f5;
	font-weight: 600;
}