/* START KOL Blog Cards Styling - Light Mode */

html.light-mode .kol_user_blogs_card_widget {
    background: transparent;
}

html.light-mode .kol-user-blogs-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

html.light-mode .kol-user-blogs-card-item {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f5f5f5 0%, #f9f9f9 100%);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: visible;
    transition: all 0.3s ease;
    height: 100%;
}

html.light-mode .kol-user-blogs-card-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

html.light-mode .kol-user-blogs-card-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

html.light-mode .kol-user-blogs-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

html.light-mode .kol-user-blogs-card-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

html.light-mode .kol-user-blogs-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

html.light-mode .kol-user-blogs-card-avatar-link {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

html.light-mode .kol-user-blogs-card-avatar-link:hover {
    transform: scale(1.1);
}

html.light-mode .kol-user-blogs-card-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

html.light-mode .kol-user-blogs-card-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

html.light-mode .kol-user-blogs-card-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.light-mode .kol-user-blogs-card-link:hover {
    color: #059669;
}

html.light-mode .kol-user-blogs-card-author {
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}

html.light-mode .kol-user-blogs-card-date {
    color: #6b7280;
    font-size: 12px;
    margin-top: auto;
}

html.light-mode .kol-user-blogs-card-empty {
    color: #4b5563;
    text-align: center;
    padding: 20px;
}

/* END KOL Blog Cards Styling - Light Mode */

/* START KOL Blog Horizontal List Styling - Light Mode */

html.light-mode .kol-user-blogs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
}

html.light-mode .kol-user-blogs-horizontal-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f5f5f5 0%, #f9f9f9 100%);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: visible;
    padding: 12px;
    transition: all 0.3s ease;
}

html.light-mode .kol-user-blogs-horizontal-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

html.light-mode .kol-user-blogs-horizontal-image-wrapper {
    width: 100px;
    min-width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
}

html.light-mode .kol-user-blogs-horizontal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

html.light-mode .kol-user-blogs-horizontal-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

html.light-mode .kol-user-blogs-horizontal-avatar-link {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

html.light-mode .kol-user-blogs-horizontal-avatar-link:hover {
    transform: scale(1.1);
}

html.light-mode .kol-user-blogs-horizontal-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

html.light-mode .kol-user-blogs-horizontal-author {
    color: #6b7280;
    font-size: 12px;
    text-align: center;
}

html.light-mode .kol-user-blogs-horizontal-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

html.light-mode .kol-user-blogs-horizontal-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

html.light-mode .kol-user-blogs-horizontal-link:hover {
    color: #059669;
}

html.light-mode .kol-user-blogs-horizontal-separator {
    color: #d1d5db;
    font-weight: 300;
}

html.light-mode .kol-user-blogs-horizontal-date {
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
}

/* END KOL Blog Horizontal List Styling - Light Mode */

/* START KOL Blog Cards Styling - Dark Mode */

html.dark-mode .kol_user_blogs_card_widget {
    background: transparent;
}

html.dark-mode .kol-user-blogs-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

html.dark-mode .kol-user-blogs-card-item {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    overflow: visible;
    transition: all 0.3s ease;
    height: 100%;
}

html.dark-mode .kol-user-blogs-card-item:hover {
    border-color: #4a4a4a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

html.dark-mode .kol-user-blogs-card-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

html.dark-mode .kol-user-blogs-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

html.dark-mode .kol-user-blogs-card-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

html.dark-mode .kol-user-blogs-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

html.dark-mode .kol-user-blogs-card-avatar-link {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

html.dark-mode .kol-user-blogs-card-avatar-link:hover {
    transform: scale(1.1);
}

html.dark-mode .kol-user-blogs-card-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

html.dark-mode .kol-user-blogs-card-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

html.dark-mode .kol-user-blogs-card-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.dark-mode .kol-user-blogs-card-link:hover {
    color: #4da3ff;
}

html.dark-mode .kol-user-blogs-card-author {
    color: #b0b0b0;
    font-size: 12px;
    margin-top: 2px;
}

html.dark-mode .kol-user-blogs-card-date {
    color: #b0b0b0;
    font-size: 12px;
    margin-top: auto;
}

html.dark-mode .kol-user-blogs-card-empty {
    color: #b0b0b0;
    text-align: center;
    padding: 20px;
}

/* END KOL Blog Cards Styling - Dark Mode */

/* START KOL Blog Horizontal List Styling - Dark Mode */

html.dark-mode .kol-user-blogs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
}

html.dark-mode .kol-user-blogs-horizontal-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    overflow: visible;
    padding: 12px;
    transition: all 0.3s ease;
}

html.dark-mode .kol-user-blogs-horizontal-item:hover {
    border-color: #4a4a4a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

html.dark-mode .kol-user-blogs-horizontal-image-wrapper {
    width: 100px;
    min-width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
}

html.dark-mode .kol-user-blogs-horizontal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

html.dark-mode .kol-user-blogs-horizontal-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

html.dark-mode .kol-user-blogs-horizontal-avatar-link {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

html.dark-mode .kol-user-blogs-horizontal-avatar-link:hover {
    transform: scale(1.1);
}

html.dark-mode .kol-user-blogs-horizontal-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

html.dark-mode .kol-user-blogs-horizontal-author {
    color: #b0b0b0;
    font-size: 12px;
    text-align: center;
}

html.dark-mode .kol-user-blogs-horizontal-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

html.dark-mode .kol-user-blogs-horizontal-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

html.dark-mode .kol-user-blogs-horizontal-link:hover {
    color: #4da3ff;
}

html.dark-mode .kol-user-blogs-horizontal-separator {
    color: #555555;
    font-weight: 300;
}

html.dark-mode .kol-user-blogs-horizontal-date {
    color: #b0b0b0;
    font-size: 13px;
    white-space: nowrap;
}

/* END KOL Blog Horizontal List Styling - Dark Mode */

/* Responsive adjustments */
@media (max-width: 1024px) {
    html.light-mode .kol-user-blogs-card-grid,
    html.dark-mode .kol-user-blogs-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    html.light-mode .kol-user-blogs-card-grid,
    html.dark-mode .kol-user-blogs-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    html.light-mode .kol-user-blogs-card-content,
    html.dark-mode .kol-user-blogs-card-content {
        padding: 12px;
    }

    html.light-mode .kol-user-blogs-card-link,
    html.dark-mode .kol-user-blogs-card-link {
        font-size: 14px;
        margin-bottom: 6px;
    }

    html.light-mode .kol-user-blogs-card-date,
    html.dark-mode .kol-user-blogs-card-date {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    html.light-mode .kol-user-blogs-card-grid,
    html.dark-mode .kol-user-blogs-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    html.light-mode .kol-user-blogs-card-content,
    html.dark-mode .kol-user-blogs-card-content {
        padding: 10px;
    }

    html.light-mode .kol-user-blogs-card-link,
    html.dark-mode .kol-user-blogs-card-link {
        font-size: 13px;
        margin-bottom: 4px;
    }

    html.light-mode .kol-user-blogs-horizontal-item,
    html.dark-mode .kol-user-blogs-horizontal-item {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    html.light-mode .kol-user-blogs-horizontal-image-wrapper,
    html.dark-mode .kol-user-blogs-horizontal-image-wrapper {
        width: 100%;
        min-width: 100%;
    }

    html.light-mode .kol-user-blogs-horizontal-content,
    html.dark-mode .kol-user-blogs-horizontal-content {
        flex-direction: column;
        gap: 4px;
    }

    html.light-mode .kol-user-blogs-horizontal-link,
    html.dark-mode .kol-user-blogs-horizontal-link {
        font-size: 14px;
    }
}
