﻿/* Template7 Custom Styles */
/* This template uses Tailwind CSS - most styles are inline in templates */

/* ============================================
   Sidebar Banner Centering
   ============================================ */

.sidebar-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-banner .ntvk-frame,
.sidebar-banner .ntvk-container,
.sidebar-banner iframe {
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

.sidebar-banner .ntvk-container iframe {
  margin: 0 auto !important;
}

/* ============================================
   Article Text Formatting Styles
   ============================================ */

/*
 * Added formatting for articles:
 * - text-align: justify for paragraphs
 * - line-height for better readability
 * - margins between headings, images and paragraphs
 */

/* ============================================
   Post Detail Page - Extended Article Styles
   ============================================ */

/* Article Header Styles */
.article-header {
  margin-bottom: 2rem;
}

.article-content {
    text-align: justify;
}

.article-header .category-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.article-header .category-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.article-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2937;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.article-meta .material-icons-round {
  font-size: 1rem;
}

/* Featured Image */
.featured-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.featured-image:hover img {
  transform: scale(1.05);
}

.featured-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  font-size: 0.875rem;
  font-style: italic;
}

/* Extended Article Content Styles */
.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
}

/* Text Formatting - Justify and Line Spacing */
.article-content p {
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: #111827;
  text-align: left;
}


.article-content h1 + *,
.article-content h2 + *,
.article-content h3 + *,
.article-content h4 + *,
.article-content h5 + *,
.article-content h6 + * {
  margin-top: 0.5rem;
}

/* Heading spacing with lists */
.article-content h1 + ul,
.article-content h1 + ol,
.article-content h2 + ul,
.article-content h2 + ol,
.article-content h3 + ul,
.article-content h3 + ol,
.article-content h4 + ul,
.article-content h4 + ol,
.article-content h5 + ul,
.article-content h5 + ol,
.article-content h6 + ul,
.article-content h6 + ol {
  margin-top: 0.5rem;
}

/* Heading spacing with blockquotes */
.article-content h1 + blockquote,
.article-content h2 + blockquote,
.article-content h3 + blockquote,
.article-content h4 + blockquote,
.article-content h5 + blockquote,
.article-content h6 + blockquote {
  margin-top: 1rem;
}

.article-content h2 {
  font-size: 1.875rem;
  border-bottom: 2px solid #f97316;
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-size: 1.5rem;
}

.article-content h4 {
  font-size: 1.25rem;
}

.article-content h5 {
  font-size: 1.125rem;
}

.article-content h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Spacing between paragraphs */
.article-content p + p {
  margin-top: 1rem;
}

/* Drop cap for first letter */
.article-content > p:first-of-type::first-letter {
  font-size: 3rem;
  font-weight: 700;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  color: #f97316;
}

/* Text Formatting */
.article-content strong,
.article-content b {
  font-weight: 700;
  color: #111827;
}

.article-content em,
.article-content i {
  font-style: italic;
}

.article-content del {
  text-decoration: line-through;
  color: #9ca3af;
}

.article-content ins {
  text-decoration: underline;
  background-color: #d1fae5;
  padding: 0.125rem 0.25rem;
}

.article-content mark {
  background-color: #fef3c7;
  color: #92400e;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

.article-content small {
  font-size: 0.875rem;
  color: #6b7280;
}

.article-content sub {
  vertical-align: sub;
  font-size: smaller;
}

.article-content sup {
  vertical-align: super;
  font-size: smaller;
}

.article-content abbr {
  border-bottom: 1px dotted #6b7280;
  cursor: help;
}

.article-content cite {
  font-style: italic;
  color: #6b7280;
}

.article-content dfn {
  font-style: italic;
  font-weight: 700;
}

/* Images in Article */
.article-content figure {
  margin: 2rem 0;
}

/* Spacing after images */
.article-content figure + *,
.article-content img + p,
.article-content p + img,
.article-content img + h1,
.article-content img + h2,
.article-content img + h3,
.article-content img + h4,
.article-content img + h5,
.article-content img + h6 {
  margin-top: 1.5rem;
}

/* Image with caption spacing */
.article-content figure figcaption + * {
  margin-top: 1rem;
}

.article-content figure img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.article-content figure:hover img {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.article-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 0.75rem;
  padding: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Images alignment */
.article-content img.align-left {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
  max-width: 50%;
}

.article-content img.align-right {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  max-width: 50%;
}

.article-content img.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.article-content iframe {
  width: 100%;
  border: none;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

/* ============================================
   List Styles
   ============================================ */

/* Unordered List */
.article-content ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.article-content ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #f97316;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Ordered List */
.article-content ol {
  list-style: none;
  counter-reset: list-counter;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
  counter-increment: list-counter;
}

.article-content ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  color: #f97316;
  font-weight: 700;
  font-size: 1rem;
}

/* Nested Unordered Lists */
.article-content ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.article-content ul ul li::before {
  content: "\25CB";
  color: #9ca3af;
  font-size: 0.75rem;
}

/* Nested Ordered Lists */
.article-content ol ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.article-content ol ol li::before {
  content: counter(list-counter) ".";
  color: #9ca3af;
}

/* Third Level Nested Lists */
.article-content ul ul ul li::before {
  content: "\25A0";
  color: #6b7280;
  font-size: 0.5rem;
}

.article-content ol ol ol li::before {
  content: counter(list-counter) ".";
  color: #6b7280;
  font-size: 0.875rem;
}

/* List with custom bullet icon (using Font Awesome or Material Icons) */
.article-content ul.list-check li::before {
  content: "\2713";
  color: #10b981;
  font-size: 1rem;
  font-weight: 700;
}

.article-content ul.list-arrow li::before {
  content: "\2192";
  color: #3b82f6;
  font-size: 1rem;
}

.article-content ul.list-star li::before {
  content: "\2605";
  color: #fbbf24;
  font-size: 1rem;
}

/* List without bullets */
.article-content ul.no-bullets,
.article-content ol.no-bullets {
  list-style: none;
  padding-left: 0;
}

.article-content ul.no-bullets li,
.article-content ol.no-bullets li {
  padding-left: 0;
}

.article-content ul.no-bullets li::before,
.article-content ol.no-bullets li::before {
  display: none;
}

/* Inline list */
.article-content ul.inline-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-content ul.inline-list li {
  padding-left: 0;
  margin-bottom: 0;
}

.article-content ul.inline-list li::before {
  display: none;
}

/* Description List */
.article-content dl {
  margin-bottom: 1.5rem;
}

.article-content dl dt {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.article-content dl dd {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: #374151;
  line-height: 1.7;
}

/* List with border */
.article-content ul.bordered-list,
.article-content ol.bordered-list {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem 1rem 1rem 2.5rem;
  background-color: #f9fafb;
}

.article-content ul.bordered-list li,
.article-content ol.bordered-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.article-content ul.bordered-list li:last-child,
.article-content ol.bordered-list li:last-child {
  border-bottom: none;
}

/* Hover effect for list items */
.article-content ul li:hover::before,
.article-content ol li:hover::before {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

/* List item link styling */
.article-content li a {
  color: #3b82f6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.article-content li a:hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}
.z-n-full {
  z-index: 99999999;
}