.eba-tags-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.eba-tags-icon {
    display: inline-flex;
    align-items: center;
}

.eba-tags-list {
    display: flex;
    flex-wrap: wrap;
}

.eba-tags-layout-block .eba-tags-list {
    display: block;
}

.eba-tag {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.eba-tag:hover {
    transform: translateY(-1px);
}

.eba-categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.eba-category {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.eba-category:hover {
    transform: translateY(-1px);
}

/* Table of Contents Styles */
.eba-toc-container {
    padding: 20px;
    margin-bottom: 20px;
}

.eba-toc-title {
    margin-top: 0;
    margin-bottom: 15px;
}

.eba-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eba-toc-item {
    margin-bottom: 8px;
    line-height: 1.4;
}

.eba-toc-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.eba-toc-item a:hover {
    text-decoration: underline;
}

.eba-toc-h2 {
    font-weight: bold;
    padding-left: 0;
}

.eba-toc-h3 {
    padding-left: 15px;
}

/* Picture Ad Styles */
.eba-pic-ad {
    text-align: center;
}

.eba-pic-ad img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* TOC Styles */
.eba-toc-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 15px;
    border-radius: 6px;
    position: sticky;
    top: 80px;
    max-width: 320px;
    margin-left: auto;
    float: right;
    clear: both;
    z-index: 100;
}

@media (max-width: 768px) {
    .eba-toc-container {
        display: none;
    }
}

.eba-toc-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.eba-toc-content ul {
    list-style: none;
    padding-left: 10px;
    margin: 0;
}

.eba-toc-content li {
    margin-bottom: 6px;
}

.eba-toc-content a {
    text-decoration: none;
    color: #0073aa;
    display: block;
    transition: color 0.2s ease;
}

.eba-toc-content a:hover,
.eba-toc-content a.active {
    color: #005177;
    font-weight: bold;
}

/* Toggle Styles */
/* Main Grid Container */
.eba-post-grid {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.eba-post-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.eba-post-grid-title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.eba-post-grid-view-more {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #2271b1;
    transition: color 0.3s ease;
}

.eba-post-grid-view-more:hover {
    color: #135e96;
}

/* Grid Layout */
.eba-post-grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Posts Grid - 2 columns */
.eba-post-grid-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Individual Posts */
.eba-post-grid-post {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

/* Featured Posts (first two) */
.eba-post-grid-featured-post {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    grid-column: span 1;
}

.eba-post-grid-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.eba-post-grid-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

/* Post Content */
.eba-post-grid-content {
    flex: 1;
}

.eba-post-grid-post-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
}

.eba-post-grid-post-title a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.eba-post-grid-post-title a:hover {
    color: #2271b1;
}

.eba-post-grid-meta {
    margin: 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Promo Box */
.eba-post-grid-promo {
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.eba-post-grid-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.eba-post-grid-promo-content-wrap {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    width: 100%;
}

/* Promo Title with Angle and Underline */
.eba-post-grid-promo-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #ffffff;
    display: inline-block;
    position: relative;
    transform-origin: left center;
    line-height: 1.3;
}

.eba-post-grid-promo-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: #ffffff;
    transform: skewX(-2deg);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.eba-post-grid-promo-title:hover:after {
    opacity: 1;
    bottom: -10px;
}

/* Promo Subtitle */
.eba-post-grid-promo-subtitle {
    margin: 25px 0 15px 0;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Promo Content */
.eba-post-grid-promo-content {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/* Promo Button */
.eba-post-grid-promo-button {
    display: inline-block;
    padding: 10px 20px;
    background: #ffffff;
    color: #1a1a1a !important;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.eba-post-grid-promo-button:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .eba-post-grid-main {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .eba-post-grid-container {
        grid-template-columns: 1fr;
    }
    
    .eba-post-grid-main {
        grid-template-columns: 1fr;
    }
    
    .eba-post-grid-promo {
        order: -1;
        margin-bottom: 30px;
        min-height: 300px;
    }
    
    .eba-post-grid-title {
        font-size: 24px;
    }
    
    .eba-post-grid-promo-title {
        font-size: 20px;
    }
    
    .eba-post-grid-promo-content-wrap {
        padding: 30px 20px;
    }
}/* Header with View More on same line */
.eba-post-grid-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.eba-post-grid-title {
    margin: 0;
    font-size: 28px;
    flex-grow: 1;
}

/* Image Zoom Effect - whole container */
.eba-post-grid-image {
    transition: transform 0.3s ease;
    transform-origin: center center;
    overflow: hidden;
    border-radius: 5px;
}

.eba-post-grid-featured-post:hover .eba-post-grid-image {
    transform: scale(1.05);
}

/* Promo Box Layout */
.eba-post-grid-promo-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.eba-post-grid-promo-title {
    margin: 0;
    position: relative;
}

.eba-post-grid-promo-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.eba-post-grid-promo-title:hover:after {
    width: 100%;
}

.eba-post-grid-promo-subtitle {
    margin: 15px 0 20px;
    font-size: 16px;
    font-weight: normal;
}

/* Icon Styling */
.eba-post-grid-promo-title i {
    margin-right: 10px;
}
/* View More Button inline with title */
.eba-post-grid-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.eba-post-grid-title {
    margin: 0;
}

.eba-post-grid-view-more {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Promo Box Title with Icon */
.eba-post-grid-promo-title-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 20px;
}

.eba-post-grid-promo-title-wrapper:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.2);
}

.eba-post-grid-promo-title {
    margin: 0;
    position: relative;
}

.eba-post-grid-promo-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.eba-post-grid-promo-title:hover:after {
    width: 100%;
}

/* Post Title Styling */
.eba-post-grid-post-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.eba-post-grid-post-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Post Meta Styling */
.eba-post-grid-meta {
    margin: 0;
    font-size: 13px;
    font-style: italic;
}



.eba-featured-post {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.eba-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.eba-featured-image:hover img {
    transform: scale(1.02);
}

.eba-featured-badge {
    background-color: #0073aa;
    color: white;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    margin: 10px 0;
}

.eba-featured-title {
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 10px;
    color:#e9ecef !important;
}
a:hover{
    color:#e9ecef !important;
}
.eba-featured-excerpt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.eba-featured-meta {
    font-size: 0.9rem;
    color: #777;
}
a {
    text-decoration: none;
    color:#e9ecef !important;
}
.dark-bg a{
   color:#040404 !important; 
}