/* ==============================================
   Ataz Labs — Custom Visual Enhancements
   ============================================== */

/* --- Headings --- */

.blog-post h2 {
  border-left: 4px solid #8B5E3C;
  padding-left: 0.8rem;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

.blog-post h3 {
  color: #5A3E28;
  margin-top: 2rem;
}

/* --- Blockquote --- */

.blog-post blockquote {
  background-color: #F0E8DC;
  border-left: 5px solid #8B5E3C;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.5rem;
  color: #4A3A2A;
  font-style: italic;
  font-size: 1.05rem;
}

/* --- SVG / Image Figure Container --- */

.post-figure {
  text-align: center;
  margin: 2.5rem auto;
  max-width: 100%;
}

.post-figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #E0D4C7;
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(100, 65, 30, 0.12);
}

.post-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #7A6A5A;
  font-style: italic;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

/* --- Inline code --- */

code {
  background-color: #F0E8DC;
  color: #7A3E2A;
  border: 1px solid #E0D4C7;
  border-radius: 4px;
}

pre code {
  background-color: transparent;
  color: inherit;
  border: none;
  border-radius: 0;
}

/* --- Tags --- */

.blog-tags a {
  background-color: #F0E8DC;
  border: 1px solid #C4A882;
  border-radius: 20px;
  padding: 0.1rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
  opacity: 1 !important;
}

.blog-tags a:hover {
  background-color: #8B5E3C !important;
  border-color: #8B5E3C !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
}

/* --- Post preview cards --- */

.post-preview {
  border-radius: 6px;
  padding: 1.5rem 1rem !important;
  margin: 0 -1rem;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #E8DDD3 !important;
}

.post-preview:hover {
  background-color: #F0E8DC;
}

/* --- Horizontal rules in posts --- */

.blog-post hr {
  border-color: #C4A882;
  border-width: 0.125rem;
}

/* --- Code blocks --- */

.highlight > pre {
  border-left-color: #8B5E3C;
  border-radius: 6px;
}
