/* =====================================================
   GENERAL NEWS SECTION - 2 Column Grid Layout
   ===================================================== */

.glamzn-general-section {
    padding: 10px 0 40px 0;
    background: #fff;
}

.dark .glamzn-general-section {
    background: #0f172a;
}

/* Header */
.glamzn-general-header {
    padding: 0 16px;
    margin-bottom: 24px;
}

.glamzn-general-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid #3b82f6;
}

.glamzn-general-title-bar i {
    font-size: 20px;
    color: #3b82f6;
}

.glamzn-general-title-bar h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.glamzn-general-title-bar a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.glamzn-general-title-bar a:hover {
    color: #3b82f6;
}

.dark .glamzn-general-title-bar a {
    color: #fff;
}

/* Grid Container - 2 Columns */
.glamzn-general-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 16px;
}

/* Remove old timeline styles */
.glamzn-general-item {
    width: 100%;
    margin-bottom: 0;
}

/* Remove left/right specific styles */
.glamzn-general-item.left,
.glamzn-general-item.right {
    margin: 0;
    padding: 0;
}

/* Date badge - now positioned on card */
.glamzn-general-date-circle {
    position: absolute;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    min-width: 60px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    border: none;
}

.dark .glamzn-general-date-circle {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.glamzn-general-date-text {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

/* Article Card */
.glamzn-general-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    width: 100%;
    height: 100%;
}

.glamzn-general-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.2);
}

.dark .glamzn-general-card {
    background: #1e293b;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dark .glamzn-general-card:hover {
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.3);
}

.glamzn-general-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Card Image */
.glamzn-general-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.glamzn-general-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.glamzn-general-card:hover .glamzn-general-card-img img {
    transform: scale(1.1);
}

/* Badge */
.glamzn-general-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Card Content */
.glamzn-general-card-content {
    padding: 16px;
}

.glamzn-general-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.glamzn-general-card:hover h3 {
    color: #3b82f6;
}

.dark .glamzn-general-card-content h3 {
    color: #fff;
}

.glamzn-general-card-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .glamzn-general-card-content p {
    color: #94a3b8;
}

/* Meta */
.glamzn-general-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.dark .glamzn-general-meta {
    color: #94a3b8;
}

.glamzn-general-meta i {
    font-size: 11px;
    margin-right: 3px;
}

.glamzn-general-time,
.glamzn-general-views {
    display: flex;
    align-items: center;
}

.glamzn-general-time {
    color: #3b82f6 !important;
    font-weight: 600;
}

.dark .glamzn-general-time {
    color: #60a5fa !important;
}

/* =====================================================
   RESPONSIVE - Tablet
   ===================================================== */

@media (max-width: 1024px) {
    .glamzn-general-timeline {
        gap: 16px;
    }

    .glamzn-general-card-img {
        height: 180px;
    }

    .glamzn-general-date-circle {
        min-width: 55px;
        padding: 6px 10px;
    }

    .glamzn-general-date-text {
        font-size: 10px;
    }
}

/* =====================================================
   RESPONSIVE - Mobile
   ===================================================== */

@media (max-width: 768px) {
    .glamzn-general-section {
        padding: 16px 0 30px 0;
    }

    .glamzn-general-header {
        padding: 0 12px;
        margin-bottom: 20px;
    }

    .glamzn-general-title-bar h2 {
        font-size: 18px;
    }

    .glamzn-general-title-bar i {
        font-size: 18px;
    }

    .glamzn-general-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 12px;
    }

    .glamzn-general-card-img {
        height: 160px;
    }

    .glamzn-general-card-content {
        padding: 12px;
    }

    .glamzn-general-card-content h3 {
        font-size: 14px;
    }

    .glamzn-general-card-content p {
        font-size: 12px;
    }

    .glamzn-general-meta {
        font-size: 10px;
        gap: 10px;
    }

    .glamzn-general-date-circle {
        min-width: 50px;
        padding: 5px 8px;
    }

    .glamzn-general-date-text {
        font-size: 9px;
    }
}

/* =====================================================
   RESPONSIVE - Small Mobile
   ===================================================== */

@media (max-width: 480px) {
    .glamzn-general-section {
        padding: 14px 0 24px 0;
    }

    .glamzn-general-header {
        padding: 0 10px;
        margin-bottom: 16px;
    }

    .glamzn-general-timeline {
        padding: 0 10px;
        gap: 10px;
    }

    .glamzn-general-card-img {
        height: 140px;
    }

    .glamzn-general-card-content h3 {
        font-size: 13px;
    }
}
