.text-bold {
     font-weight: 700;
}

.text-semibold {
     font-weight: 600;
}

.vucar-blog-container {
     width: 100%;
     padding: 0;
}
 .vucar-category-section {
     margin-bottom: 60px;
}
 .vucar-category-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 24px;
     flex-wrap: wrap;
     gap: 16px;
}
 .vucar-see-all-link {
     text-decoration: none;
     font-size: 15px;
     font-weight: 500;
     transition: opacity 0.3s ease;
}
 .vucar-see-all-link:hover {
     opacity: 0.8;
     text-decoration: underline;
}
 .vucar-posts-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
     gap: 24px;
}
 .vucar-post-card {
     background: #fff;
     border-radius: 12px;
     overflow: hidden;
     transition: all 0.3s ease;
     cursor: pointer;
     text-decoration: none;
     color: inherit;
     display: block;
}
 .vucar-post-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
     text-decoration: none;
}
 .vucar-post-thumbnail {
     position: relative;
     width: 100%;
     padding-bottom: 56.25%;
     background: var(--vucar-bg-gray);
     overflow: hidden;
}
 .vucar-post-thumbnail img {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.3s ease;
}
 .vucar-post-card:hover .vucar-post-thumbnail img {
     transform: scale(1.05);
}
 .vucar-post-content {
     padding: 20px;
}
 .vucar-post-tags {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     margin-bottom: 12px;
}
 .vucar-post-title {
     font-size: 20px;
     font-weight: 600;
     line-height: 1.4;
     color: #000!important;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     text-overflow: ellipsis;
	 min-height: 52px;
}
 .vucar-post-description {
     font-size: 14px;
     color: #000!important;
     line-height: 1.6;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
     overflow: hidden;
     text-overflow: ellipsis;
}
 @keyframes vucarFadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
    }
     to {
         opacity: 1;
         transform: translateY(0);
    }
}
 .vucar-post-card {
     animation: vucarFadeInUp 0.5s ease forwards;
     opacity: 0;
}
 .vucar-post-card:nth-child(1) {
     animation-delay: 0.1s;
}
 .vucar-post-card:nth-child(2) {
     animation-delay: 0.2s;
}
 .vucar-post-card:nth-child(3) {
     animation-delay: 0.3s;
}
.custom-tag {
	  display: inline-flex;
	  align-items: center;
	  border-radius: 200px;
	  padding: 0.375rem 0.5rem;
	  font-weight: 700;
	  font-size: 0.75rem;
	  line-height: 1rem;
	  border-color: transparent;
	  background-color: #9b1f25;
	  color: #fff;
}
/* Responsive adjustments for sidebar layouts */
 .sidebar-type-2 .vucar-posts-grid, .sidebar-type-3 .vucar-posts-grid {
     grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
 .sidebar-type-1 .vucar-posts-grid {
     grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

/* Fix for sticky sidebar */
.sticky-sidebar-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .sticky-sidebar-container {
        grid-template-columns: 2fr 1fr;
    }
}

/* Ensure sticky works properly */
aside.sticky {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

 @media (max-width: 1024px) {
     .vucar-posts-grid {
         grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    }
}
 @media (max-width: 768px) {
     .vucar-blog-container {
         padding: 0;
    }
     .vucar-posts-grid {
         grid-template-columns: 1fr !important;
         gap: 20px;
    }
     .vucar-category-section {
         margin-bottom: 50px;
    }
     .vucar-category-title {
         font-size: 20px;
    }
     .vucar-post-title {
         font-size: 18px;
		 min-height: 36px;
    }
     .vucar-post-description {
         font-size: 13px;
    }
}
 @media (max-width: 480px) {
     .vucar-category-header {
         flex-direction: column;
         align-items: flex-start;
    }
     .vucar-post-content {
         padding: 16px;
    }
     .vucar-post-tags {
         gap: 6px;
    }
     .vucar-post-tag {
         font-size: 11px;
         padding: 3px 10px;
    }
}

/* ==========================================================================
   Base Article Container
   ========================================================================== */

.custom-article-content {
    font-size: 1.125rem; /* 18px */
    line-height: 1.75;
    color: #fff;
    max-width: 100%;
}

/* ==========================================================================
   Typography - Headings
   ========================================================================== */

.custom-article-content h1:not([class*="wp-"]):not([class*="aioseo"]),
.custom-article-content h2:not([class*="wp-"]):not([class*="aioseo"]),
.custom-article-content h3:not([class*="wp-"]):not([class*="aioseo"]),
.custom-article-content h4:not([class*="wp-"]):not([class*="aioseo"]),
.custom-article-content h5:not([class*="wp-"]):not([class*="aioseo"]),
.custom-article-content h6:not([class*="wp-"]):not([class*="aioseo"]) {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.75em;
    scroll-margin-top: 100px; /* For anchor links with fixed header */
}

.custom-article-content h1:not([class*="wp-"]):not([class*="aioseo"]) {
    font-size: 2.5rem; /* 40px */
    margin-top: 0;
    letter-spacing: -0.02em;
}

.custom-article-content h2:not([class*="wp-"]):not([class*="aioseo"]) {
    font-size: 2rem; /* 32px */
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.custom-article-content h3:not([class*="wp-"]):not([class*="aioseo"]) {
    font-size: 1.5rem; /* 24px */
    color: #1f2937;
}

.custom-article-content h4:not([class*="wp-"]):not([class*="aioseo"]) {
    font-size: 1.25rem; /* 20px */
    color: #374151;
}

.custom-article-content h5:not([class*="wp-"]):not([class*="aioseo"]) {
    font-size: 1.125rem; /* 18px */
    color: #374151;
}

.custom-article-content h6:not([class*="wp-"]):not([class*="aioseo"]) {
    font-size: 1rem; /* 16px */
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Typography - Paragraphs
   ========================================================================== */

.custom-article-content p:not([class*="wp-"]):not([class*="aioseo"]) {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #fff;
}

.custom-article-content p:not([class*="wp-"]):not([class*="aioseo"]):first-of-type {
    font-size: 1.25rem; /* Larger first paragraph */
    color: #fff;
}

/* ==========================================================================
   Links
   ========================================================================== */

.custom-article-content a:not([class*="wp-"]):not([class*="aioseo"]):not(.btn):not([class*="button"]) {
    color: var(--pix-main-color, #0EA5E9);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}

.custom-article-content a:not([class*="wp-"]):not([class*="aioseo"]):not(.btn):not([class*="button"]):hover {
    border-bottom-color: var(--pix-main-color, #0EA5E9);
    color: #0284c7;
}

/* External links indicator */
.custom-article-content a[href^="http"]:not([href*="yourdomain.com"]):not([class*="wp-"])::after {
    content: " ↗";
    font-size: 0.875em;
    opacity: 0.6;
}

/* ==========================================================================
   Lists
   ========================================================================== */

.custom-article-content ul:not([class*="wp-"]):not([class*="aioseo"]),
.custom-article-content ol:not([class*="wp-"]):not([class*="aioseo"]) {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.custom-article-content ul:not([class*="wp-"]):not([class*="aioseo"]) {
    list-style-type: disc;
}

.custom-article-content ol:not([class*="wp-"]):not([class*="aioseo"]) {
    list-style-type: decimal;
}

.custom-article-content li:not([class*="wp-"]):not([class*="aioseo"]) {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding-left: 0.5rem;
}

.custom-article-content li:not([class*="wp-"]):not([class*="aioseo"]) > ul,
.custom-article-content li:not([class*="wp-"]):not([class*="aioseo"]) > ol {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

/* Nested lists */
.custom-article-content ul ul {
    list-style-type: circle;
}

.custom-article-content ul ul ul {
    list-style-type: square;
}

/* Custom styled lists */
.custom-article-content ul:not([class*="wp-"]) li {
    position: relative;
}

.custom-article-content ul:not([class*="wp-"]) li::marker {
    color: var(--pix-main-color, #0EA5E9);
}

/* ==========================================================================
   Blockquotes
   ========================================================================== */

.custom-article-content blockquote:not([class*="wp-"]) {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 4px solid var(--pix-main-color, #0EA5E9);
    background: linear-gradient(to right, #f0f9ff 0%, transparent 100%);
    font-style: italic;
    color: #4b5563;
    border-radius: 0 0.5rem 0.5rem 0;
    position: relative;
}

.custom-article-content blockquote:not([class*="wp-"])::before {
    content: '"';
    font-size: 4rem;
    color: var(--pix-main-color, #0EA5E9);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

.custom-article-content blockquote:not([class*="wp-"]) p {
    margin-bottom: 0.5rem;
}

.custom-article-content blockquote:not([class*="wp-"]) p:last-child {
    margin-bottom: 0;
}

.custom-article-content blockquote:not([class*="wp-"]) cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.875rem;
    color: #6b7280;
}

.custom-article-content blockquote:not([class*="wp-"]) cite::before {
    content: "— ";
}

/* ==========================================================================
   Code & Pre
   ========================================================================== */

.custom-article-content code:not([class*="wp-"]) {
    background: #f3f4f6;
    color: #dc2626;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    border: 1px solid #e5e7eb;
}

.custom-article-content pre:not([class*="wp-"]) {
    background: #1f2937;
    color: #e5e7eb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.custom-article-content pre:not([class*="wp-"]) code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ==========================================================================
   Images & Figures
   ========================================================================== */

.custom-article-content img:not([class*="wp-"]):not([class*="aioseo"]) {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.custom-article-content figure:not([class*="wp-"]) {
    margin: 2rem 0;
}

.custom-article-content figcaption:not([class*="wp-"]) {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    font-style: italic;
}

/* ==========================================================================
   Tables
   ========================================================================== */

.custom-article-content table:not([class*="wp-"]) {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9375rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.custom-article-content thead:not([class*="wp-"]) {
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
}

.custom-article-content th:not([class*="wp-"]) {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}

.custom-article-content td:not([class*="wp-"]) {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.custom-article-content tbody:not([class*="wp-"]) tr:nth-child(even) {
    background-color: #f9fafb;
}

.custom-article-content tbody:not([class*="wp-"]) tr:hover {
    background-color: #f3f4f6;
    transition: background-color 0.2s ease;
}

/* ==========================================================================
   Horizontal Rule
   ========================================================================== */

.custom-article-content hr:not([class*="wp-"]) {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #e5e7eb 50%, transparent);
    margin: 3rem 0;
}

/* Decorative HR variant */
.custom-article-content hr.decorative:not([class*="wp-"]) {
    position: relative;
    height: 1px;
    background: #e5e7eb;
}

.custom-article-content hr.decorative:not([class*="wp-"])::after {
    content: "***";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 1rem;
    color: #9ca3af;
    letter-spacing: 0.5em;
}

/* ==========================================================================
   Strong & Emphasis
   ========================================================================== */

.custom-article-content strong:not([class*="wp-"]) {
    font-weight: 700;
}

.custom-article-content em:not([class*="wp-"]) {
    font-style: italic;
    color: #1f2937;
}

.custom-article-content mark:not([class*="wp-"]) {
    background: linear-gradient(to bottom, transparent 50%, #fef3c7 50%);
    padding: 0 0.2em;
}

/* ==========================================================================
   Subscript & Superscript
   ========================================================================== */

.custom-article-content sub:not([class*="wp-"]),
.custom-article-content sup:not([class*="wp-"]) {
    font-size: 0.75em;
    line-height: 0;
}

/* ==========================================================================
   Keyboard & Variables
   ========================================================================== */

.custom-article-content kbd:not([class*="wp-"]) {
    background: #374151;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: monospace;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.custom-article-content var:not([class*="wp-"]) {
    font-family: monospace;
    font-style: italic;
    color: #7c3aed;
}

/* ==========================================================================
   Definition Lists
   ========================================================================== */

.custom-article-content dl:not([class*="wp-"]) {
    margin: 1.5rem 0;
}

.custom-article-content dt:not([class*="wp-"]) {
    font-weight: 700;
    margin-top: 1rem;
}

.custom-article-content dd:not([class*="wp-"]) {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

/* ==========================================================================
   Special Content Boxes
   ========================================================================== */

/* Info box */
.custom-article-content .info-box:not([class*="wp-"]) {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Warning box */
.custom-article-content .warning-box:not([class*="wp-"]) {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Success box */
.custom-article-content .success-box:not([class*="wp-"]) {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
    .custom-article-content {
        font-size: 1rem;
    }
    
    .custom-article-content h1:not([class*="wp-"]):not([class*="aioseo"]) {
        font-size: 2rem;
    }
    
    .custom-article-content h2:not([class*="wp-"]):not([class*="aioseo"]) {
        font-size: 1.75rem;
    }
    
    .custom-article-content h3:not([class*="wp-"]):not([class*="aioseo"]) {
        font-size: 1.5rem;
    }
    
    .custom-article-content h4:not([class*="wp-"]):not([class*="aioseo"]) {
        font-size: 1.25rem;
    }
    
    .custom-article-content pre:not([class*="wp-"]) {
        padding: 1rem;
        font-size: 0.8125rem;
    }
    
    .custom-article-content table:not([class*="wp-"]) {
        font-size: 0.875rem;
    }
    
    .custom-article-content blockquote:not([class*="wp-"]) {
        padding: 1rem 1rem 1rem 1.5rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .custom-article-content {
        font-size: 12pt;
        color: black;
    }
    
    .custom-article-content a:not([class*="wp-"]) {
        color: black;
        text-decoration: underline;
    }
    
    .custom-article-content pre:not([class*="wp-"]) {
        background: white;
        color: black;
        border: 1px solid black;
    }
}