/* ================================
   MODERN HOMEPAGE DESIGN
   Color Palette: Blue (#2872fa) & Green (#27a844)
   ================================ */

:root {
    --blue-primary: #2872fa;
    --blue-light: #b6cffd;
    --blue-dark: #1e5dd1;
    --green-primary: #27a844;
    --green-light: #b2f6bb;
    --green-dark: #1e7c34;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ================================
   HOMEPAGE CONTAINER
   ================================ */

.wg-homepage {
    background: #f5f5f5;
    padding: 80px 0;
    min-height: 100vh;
}

.wg-section {
    margin-bottom: 100px;
}

.wg-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   SECTION HEADER - MODERN
   ================================ */

.wg-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
}

.wg-section-title {
    font-size: 2.5em;
    font-weight: 800;
    color: #000;
    margin: 0;
    letter-spacing: -0.02em;
}

.wg-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #27a844, #1e7c34);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95em;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 var(--green-light);
    position: relative;
    overflow: hidden;
}

.wg-view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #27a844, transparent);
    transition: left 0.5s;
}

.wg-view-all-btn:hover::before {
    left: 100%;
}

.wg-view-all-btn:hover {
    transform: translateY(-2px) scale(1.02);
    /*box-shadow: 0 8px 20px 0 var(--green-dark);*/
    color: #fff !important;
}

/* ================================
   CARD GRID - MODERN RESPONSIVE
   ================================ */

.wg-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

@media (max-width: 768px) {
    .wg-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .wg-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   CARD COMPONENT - PREMIUM DESIGN
   ================================ */

.wg-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--gray-100);
}

.wg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-primary), var(--green-primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wg-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-light);
}

.wg-card:hover::before {
    opacity: 1;
}

.wg-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ================================
   CARD IMAGE - MODERN OVERLAY
   ================================ */

.wg-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.wg-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wg-card:hover .wg-card-image::after {
    opacity: 1;
}

.wg-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wg-card:hover .wg-card-image img {
    transform: scale(1.1);
}

/* ================================
   PLATFORM BADGE - GLASSMORPHISM
   ================================ */

.wg-platform-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.wg-card:hover .wg-platform-badge {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.wg-platform-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.wg-platform-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Platform Colors - Vibrant */
.wg-platform-whatsapp { color: #25D366; }
.wg-platform-facebook { color: #1877F2; }
.wg-platform-telegram { color: #0088cc; }
.wg-platform-discord { color: #5865F2; }

/* ================================
   CATEGORY BADGE - MODERN PILL
   ================================ */

.wg-category-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--blue-primary);
    font-size: 0.8em;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 10;
}

.wg-card:hover .wg-category-badge {
    background: var(--blue-primary);
    color: white;
    transform: translateY(-2px);
}

/* ================================
   CARD BODY - MODERN SPACING
   ================================ */

.wg-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wg-card-title {
    font-size: 1.25em;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.wg-card:hover .wg-card-title {
    color: var(--blue-primary);
}

.wg-card-excerpt {
    font-size: 0.95em;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================
   CARD FOOTER - MODERN STATS
   ================================ */

.wg-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.wg-card-stats {
    display: flex;
    gap: 20px;
}

.wg-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.wg-card:hover .wg-stat {
    color: var(--gray-900);
}

.wg-stat .wg-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.wg-card:hover .wg-stat .wg-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* ================================
   UPVOTE BUTTON - MODERN GRADIENT
   ================================ */

.wg-upvote-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(39, 168, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.wg-upvote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.wg-upvote-btn:hover::before {
    left: 100%;
}

.wg-upvote-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(39, 168, 68, 0.4);
}

.wg-upvote-btn:active {
    transform: scale(0.98);
}

.wg-upvote-btn .wg-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.wg-upvote-btn:hover .wg-icon {
    transform: translateY(-2px);
}

/* ================================
   NO RESULTS - MODERN EMPTY STATE
   ================================ */

.wg-no-results {
    text-align: center;
    padding: 80px 40px;
    color: var(--gray-600);
    font-size: 1.1em;
    grid-column: 1 / -1;
    background: var(--gray-50);
    border-radius: 16px;
    border: 2px dashed var(--gray-300);
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wg-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.wg-card:nth-child(1) { animation-delay: 0.1s; }
.wg-card:nth-child(2) { animation-delay: 0.2s; }
.wg-card:nth-child(3) { animation-delay: 0.3s; }
.wg-card:nth-child(4) { animation-delay: 0.4s; }

/* ================================
   RESPONSIVE REFINEMENTS
   ================================ */

@media (max-width: 768px) {
    .wg-homepage {
        padding: 60px 0;
    }
    
    .wg-section {
        margin-bottom: 60px;
    }
    
    .wg-section-title {
        font-size: 2em;
    }
    
    .wg-view-all-btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    
    .wg-card-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .wg-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .wg-section-title {
        font-size: 1.75em;
    }
}

/* ================================
   TRENDING SECTION - HORIZONTAL CARDS
   ================================ */

.wg-section-subtitle {
    font-size: 1em;
    color: var(--gray-600);
    margin: 8px 0 0 0;
    font-weight: 500;
}

.wg-trending-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .wg-trending-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ================================
   TRENDING CARD - HORIZONTAL LAYOUT
   ================================ */

.wg-trending-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-100);
    position: relative;
}

.wg-trending-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #f5f5f5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wg-trending-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-xl);
    border-color: #000;
}

.wg-trending-card:hover::before {
    opacity: 1;
}

.wg-trending-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    padding: 16px;
}

.wg-view-all-btn {
    color: #fff;
}

/* ================================
   TRENDING IMAGE (LEFT SIDE)
   ================================ */

.wg-trending-image {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.wg-trending-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wg-trending-card:hover .wg-trending-image img {
    transform: scale(1.1);
}

/* Platform Icon (Top-Left of Image) */
.wg-trending-platform {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.wg-trending-platform .wg-platform-icon {
    width: 18px;
    height: 18px;
}

/* Trending Fire Badge (Top-Right of Image) */
.wg-trending-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: pulse-fire 2s ease-in-out infinite;
    z-index: 10;
}

.wg-trending-badge svg {
    width: 18px;
    height: 18px;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

@keyframes pulse-fire {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6);
    }
}

/* ================================
   TRENDING CONTENT (RIGHT SIDE)
   ================================ */

.wg-trending-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.wg-trending-title {
    font-size: 1.15em;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.wg-trending-card:hover .wg-trending-title {
    color: #000;
}

/* ================================
   TRENDING STATS (UPVOTES + VIEWS)
   ================================ */

.wg-trending-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.wg-trending-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--green-primary);
    transition: all 0.3s ease;
    background: var(--green-light);
    border-radius: 30px;
    padding: .2rem 1rem;
}

.wg-trending-stat.wg-trending-views {
    color: var(--blue-primary);
    background: var(--blue-light);
}

.wg-trending-card:hover .wg-trending-stat {
    transform: translateX(2px);
}

.wg-trending-stat .wg-icon {
    width: 18px;
    height: 18px;
}

/* ================================
   RESPONSIVE - TRENDING CARDS
   ================================ */

@media (max-width: 768px) {
    .wg-trending-link {
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    
    .wg-trending-image {
        width: 30%;
        height: 100px;
    }
    
    .wg-trending-card:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .wg-trending-stats {
        gap: 12px;
    }
    
    .wg-trending-upvote {
        display: none;
    }
}

/* Archive Styles */
/* ================================
   TAXONOMY ARCHIVE PAGES
   ================================ */

.wg-archive-page {
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    padding: 80px 0;
    min-height: 100vh;
}

/* ================================
   ARCHIVE HEADER
   ================================ */

.wg-archive-header {
    margin-bottom: 60px;
    padding: 60px 0;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.wg-archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--blue-primary), var(--green-primary));
}

.wg-archive-meta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.wg-archive-type {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-light));
    color: var(--blue-primary);
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 20px;
}

.wg-archive-title {
    font-size: 3em;
    font-weight: 800;
    color: var(--gray-900);
    margin: 20px 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--green-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wg-archive-description {
    font-size: 1.15em;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 20px 0 30px 0;
}

.wg-archive-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--gray-100);
}

.wg-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--gray-900);
}

.wg-stat-item .wg-icon {
    width: 24px;
    height: 24px;
    color: var(--blue-primary);
}

/* ================================
   PAGINATION - MODERN
   ================================ */

.wg-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid var(--gray-100);
}

.wg-pagination .nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wg-pagination a,
.wg-pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: white;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.wg-pagination a:hover {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 114, 250, 0.3);
}

.wg-pagination .current {
    background: linear-gradient(135deg, var(--blue-primary), var(--green-primary));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(40, 114, 250, 0.3);
}

.wg-pagination .prev,
.wg-pagination .next {
    padding: 0 20px;
    font-weight: 700;
}

/* ================================
   RESPONSIVE - ARCHIVE
   ================================ */

@media (max-width: 768px) {
    .wg-archive-page {
        padding: 60px 0;
    }
    
    .wg-archive-header {
        margin-bottom: 40px;
        padding: 40px 0;
    }
    
    .wg-archive-meta {
        padding: 0 24px;
    }
    
    .wg-archive-title {
        font-size: 2em;
    }
    
    .wg-archive-description {
        font-size: 1em;
    }
    
    .wg-archive-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .wg-pagination {
        margin-top: 60px;
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    .wg-archive-title {
        font-size: 1.75em;
    }
    
    .wg-pagination a,
    .wg-pagination .current {
        min-width: 40px;
        height: 40px;
        font-size: 0.9em;
    }
}

/* ================================
   BLOG CARDS (reuse grid)
   ================================ */

.wg-card-blog {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 10px rgba(15, 23, 42, 0.08));
    border: 1px solid var(--gray-100, #e5e7eb);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.wg-card-blog::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(40, 114, 250, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(39, 168, 68, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.wg-card-blog:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(15, 23, 42, 0.18));
    border-color: var(--blue-light, #b6cffd);
}

.wg-card-blog:hover::before {
    opacity: 1;
}

/* Image */
.wg-card-blog .wg-card-image {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7eb, #f9fafb);
}

.wg-card-blog .wg-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wg-card-blog:hover .wg-card-image img {
    transform: scale(1.06);
}

/* Blog badge */
.wg-card-blog .wg-blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #f9fafb;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Body */
.wg-card-blog .wg-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Meta row */
.wg-blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.wg-blog-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #d1d5db;
}

/* Title */
.wg-card-blog .wg-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.wg-card-blog:hover .wg-card-title {
    color: var(--blue-primary, #2872fa);
}

/* Excerpt */
.wg-card-blog .wg-card-excerpt {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer meta (read time, category) */
.wg-blog-footer {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6b7280;
}

.wg-blog-read-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wg-blog-read-time svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.wg-blog-category-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(40, 114, 250, 0.08);
    color: var(--blue-primary, #2872fa);
    font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .wg-card-blog .wg-card-image {
        height: 180px;
    }
}


/* ================================
   SINGLE BLOG PAGE
   ================================ */

.wg-single-blog {
    max-width: 800px;
    margin: 0 auto 80px;
}

.wg-single-blog-hero {
    padding-top: 40px;
    padding-bottom: 30px;
}

.wg-single-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.wg-single-blog-dot {
    opacity: 0.5;
}

.wg-single-blog-date,
.wg-single-blog-cat {
    color: #6b7280;
}

.wg-single-blog-image {
    margin-top: 24px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.wg-single-blog-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.wg-single-blog-content {
    margin-top: 32px;
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

.wg-single-blog-content h2,
.wg-single-blog-content h3,
.wg-single-blog-content h4 {
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    font-weight: 700;
    color: #111827;
}

.wg-single-blog-content p {
    margin-bottom: 1.2em;
}

.wg-single-blog-content ul,
.wg-single-blog-content ol {
    margin: 0 0 1.2em 1.5em;
}

/* Comments */
.wg-single-blog-comments {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
    .wg-single-blog {
        margin-bottom: 60px;
    }
    .wg-single-blog-hero {
        padding-top: 24px;
    }
}



