/* =====================================================
   TECHNOLOGY SECTION - Compact & Modern
   ===================================================== */

.glamzn-tech-section {
    padding: 10px 0 30px 0;
    background: #fff;
}

.dark .glamzn-tech-section {
    background: #0f172a;
}

/* Header */
.glamzn-tech-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 16px;
    gap: 20px;
}

.glamzn-tech-header-left {
    flex: 1;
}

.glamzn-tech-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid #8b5cf6;
}

.glamzn-tech-title-bar i {
    font-size: 20px;
    color: #8b5cf6;
}

.glamzn-tech-title-bar h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.glamzn-tech-title-bar a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.glamzn-tech-title-bar a:hover {
    color: #8b5cf6;
}

.dark .glamzn-tech-title-bar a {
    color: #fff;
}

/* Subcategories */
.glamzn-tech-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.glamzn-tech-subcat {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f1f5f9;
    transition: all 0.3s;
    cursor: pointer;
}

.glamzn-tech-subcat:hover {
    background: #8b5cf6;
    color: #fff;
}

.glamzn-tech-subcat.active {
    background: #8b5cf6;
    color: #fff;
    font-weight: 600;
}

.dark .glamzn-tech-subcat {
    background: #1e293b;
    color: #94a3b8;
}

.dark .glamzn-tech-subcat:hover {
    background: #8b5cf6;
    color: #fff;
}

.dark .glamzn-tech-subcat.active {
    background: #8b5cf6;
    color: #fff;
    font-weight: 600;
}

.glamzn-tech-subcat-more {
    font-size: 12px;
    font-weight: 600;
    color: #8b5cf6;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f3e8ff;
    transition: all 0.3s;
}

.glamzn-tech-subcat-more:hover {
    background: #8b5cf6;
    color: #fff;
}

.dark .glamzn-tech-subcat-more {
    background: #2e1065;
    color: #a78bfa;
}

/* Posts Layout */
.glamzn-tech-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 16px;
}

/* Featured Post (Left) */
.glamzn-tech-featured {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.glamzn-tech-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.dark .glamzn-tech-featured {
    background: #1e293b;
}

.glamzn-tech-featured a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.glamzn-tech-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.glamzn-tech-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.glamzn-tech-featured:hover .glamzn-tech-img img {
    transform: scale(1.05);
}

.glamzn-tech-info {
    padding: 18px;
}

.glamzn-tech-info h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: #1e293b;
    transition: color 0.3s;
}

.glamzn-tech-featured:hover h3 {
    color: #8b5cf6;
}

.dark .glamzn-tech-info h3 {
    color: #fff;
}

.glamzn-tech-info p {
    font-size: 14px;
    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-tech-info p {
    color: #94a3b8;
}

/* Other Posts (Right) */
.glamzn-tech-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.glamzn-tech-item {
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.glamzn-tech-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.dark .glamzn-tech-item {
    background: #1e293b;
}

.glamzn-tech-item a {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
}

.glamzn-tech-thumb {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.glamzn-tech-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.glamzn-tech-item:hover .glamzn-tech-thumb img {
    transform: scale(1.08);
}

.glamzn-tech-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.glamzn-tech-data h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.glamzn-tech-item:hover h4 {
    color: #8b5cf6;
}

.dark .glamzn-tech-data h4 {
    color: #fff;
}

.glamzn-tech-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .glamzn-tech-excerpt {
    color: #94a3b8;
}

/* Meta */
.glamzn-tech-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.dark .glamzn-tech-meta {
    color: #94a3b8;
}

.glamzn-tech-meta i {
    font-size: 11px;
    margin-right: 3px;
}

.glamzn-tech-meta span {
    display: flex;
    align-items: center;
}

.glamzn-tech-time {
    color: #8b5cf6 !important;
    font-weight: 600;
}

.dark .glamzn-tech-time {
    color: #a78bfa !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .glamzn-tech-img {
        height: 220px;
    }

    .glamzn-tech-thumb {
        width: 110px;
        height: 80px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .glamzn-tech-section {
        padding: 16px 0 24px 0;
    }

    .glamzn-tech-header {
        flex-direction: column;
        gap: 12px;
        padding: 0 12px;
        margin-bottom: 14px;
    }

    .glamzn-tech-title-bar {
        margin-bottom: 10px;
    }

    .glamzn-tech-title-bar h2 {
        font-size: 18px;
    }

    .glamzn-tech-title-bar i {
        font-size: 18px;
    }

    .glamzn-tech-subcats {
        gap: 6px;
    }

    .glamzn-tech-subcat,
    .glamzn-tech-subcat-more {
        font-size: 11px;
        padding: 3px 10px;
    }

    .glamzn-tech-posts {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }

    .glamzn-tech-img {
        height: 200px;
    }

    .glamzn-tech-info {
        padding: 14px;
    }

    .glamzn-tech-info h3 {
        font-size: 16px;
    }

    .glamzn-tech-info p {
        font-size: 13px;
    }

    .glamzn-tech-item a {
        gap: 12px;
        padding: 10px;
    }

    .glamzn-tech-thumb {
        width: 100px;
        height: 75px;
    }

    .glamzn-tech-data h4 {
        font-size: 14px;
    }

    .glamzn-tech-excerpt {
        font-size: 12px;
    }

    .glamzn-tech-meta {
        font-size: 10px;
        gap: 10px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .glamzn-tech-section {
        padding: 14px 0 20px 0;
    }

    .glamzn-tech-header {
        padding: 0 10px;
        margin-bottom: 12px;
    }

    .glamzn-tech-posts {
        padding: 0 10px;
        gap: 14px;
    }

    .glamzn-tech-img {
        height: 180px;
    }

    .glamzn-tech-info {
        padding: 12px;
    }

    .glamzn-tech-info h3 {
        font-size: 15px;
    }

    .glamzn-tech-item a {
        gap: 10px;
        padding: 8px;
    }

    .glamzn-tech-thumb {
        width: 90px;
        height: 70px;
    }

    .glamzn-tech-data h4 {
        font-size: 13px;
    }

    .glamzn-tech-excerpt {
        font-size: 11px;
    }

    .glamzn-tech-subcats {
        gap: 4px;
    }

    .glamzn-tech-subcat {
        font-size: 10px;
        padding: 3px 8px;
    }
}
